Hacker Newsnew | past | comments | ask | show | jobs | submit | nutjob123's commentslogin

Who is resizing logos and artwork like this in photoshop? I would never resize a corporate logo like that. If I needed a .png in a specific size it would usually be rendered for web straight from the svg or AI file.


Two factor authentication is a major improvement. Combined with a password manager is a pretty good combination.


> Combined with a password manager is a pretty good combination.

So 2FA combines something you have (your phone) with something your phone knows.


Exactly! And I use 1Password so I also have the tokens on my computer, together with my passwords. Replay attacks get harder though.


I think his point was that if your password is stored on your phone, two factor authentication doesn't actually add any security because it's no longer two factor.


not if you access the site from a laptop/desktop


2FA seems a modest improvement at best, especially when it boils down to a TOTP secret you can use anywhere. (I have a greasemonkey script that enters my required '2fa' token for me.) With a yubikey form factor it's much better... It's also relatively useless if you already have a strong password and don't re-use it, i.e. a password manager. Sure it may stop someone from logging in as you if they just have your (unique) password, but if you consider the ways they can just have your (unique) password that doesn't really matter.


Good point, forgot that one even though I use it.


I agree. Its quite distracting. I didn't get through it.


Results for “home” “ho” English: woman Direct match at start or end, potentially serious issue! 335 million native speakers, about 1.5 billion speakers in total.


Are there any current games using unreal engine 4? It seems this has been hyped for a long time but no real games have come out.


The engine is pretty new, so most games that use it are currently in development. The current #1 seller on Steam , ARK (http://www.playark.com/) is UE4 based and it's already generated $10 million in revenue after being in early access for 1 week (http://www.gamesindustry.biz/articles/2015-06-09-ark-surviva...).

Some high profile games that haven't shipped yet include Fable Legends, and the new Gears of War from Microsoft, Flood in the Flame, Street Fighter V, Tekken 7 and Eve Valkyrie. Epic is working on at least two games, the open source community driven Unreal Tournament and Fortnite. It's pretty successful for an engine that has only been widely available for a little over a year.

Wikipedia article with full list of notable games (http://en.wikipedia.org/wiki/List_of_Unreal_Engine_games#Unr...)


...but with trail blazing on a new engine, come some pain points, as this post about ARK's terrible performance points out: https://forums.unrealengine.com/showthread.php?72345-Ark-Sur...

To be fair; if you're not a AAA developer with a good team running a multi-year cycle, I'd be pretty hesitant to recommend UE4 for a project right now.


I don't agree with this argument. The sun doesn't shine at night, period. Any solar system which supplies energy after the sun is down relies on storing residual energy collected during the daytime. Solar thermal is storing energy in heat just as a lithium battery would using chemical reaction.


I appreciate this being open source but why on earth would you store this information in JSON rather than a relational DB?


Generally, if you have a relatively large chunks of non-relational data, you can use a document store.

I could imagine the data model for superheroes being a fit for documents - information on one super hero is not tightly coupled to another super hero. Sure you could normalize some of the abilities and what not, but the main chunk that you'll be searching by/storing is a Super Hero (or whatever you want to call that object).

Also, note that document stores support somethings that you would consider relational (ex. RethinkDB supports joins), so the lines are becoming blurred these days.


But what happens when you want to start associating them on when they appeared together or fought each other? What about the different iterations of an individual character in different continuities? (Captain America was like six different dudes right?)

I think a document store is the worst way to store this kind of stuff.

imho, ymmv.


What you've brought up is precisely where relational databases excel -- it's a tradeoff (as anything else, you have to decide when to use one or the other). How many relationships do you have/expect? How intermingled/related is your data? If the answer is "not much" , then maybe you should go with documents, if it's high maybe you should go with RDBMS.

Also, the lines are blurred, like I previously stated: - RethinkDB does joins - Postgres has good support for storing JSON documents


In reality, almost all interesting data has relationships. Even a two dimensional graph is expressing a relationship (and hopefully a correlation) between two sets of data.

I think whether or not there are relationships is the wrong way to consider the question of document vs relational. I think of a relational schema as a canonical way to store your data so that you can easily and efficiently project it in multiple different ways (queries).

A document schema stores your data as one possible projection of that data. Obviously you're right that if you can know for sure that one particular projection is the vast majority of queries then this is fine. The problem is that you have to be right about which projection of your data is most important, and normally before you write any code.

In my experience, for greenfield projects it's surprisingly hard to predict what kinds of projections are most important. Often what is interesting to users changes, or you didn't quite have the right projection or whatever.

To compound this, a lot of document stores often don't have good schema migration tools. Migrating schemas and data is actually a lot easier with SQL than anywhere else. Postgres can migrate the schema and the data transactionally and you can rollback if there is a problem in any of the steps. They are also type checked.

Basically, when starting a new project, you are probably better off doing a relational model of your data than anything else. Later, when you know your data access patterns, you can change to a document store and get the various benefits of them without the tradeoffs


Agree that how you plan to project the data is certainly important (SQL offers immense flexibility, assuming you're heavily normalized). But still, the point stands that you can use some document stores relationally. This makes this point a little duller.

Also, document stores' migration tools are the supported languages themselves... The only migration tool you need is a function from one document to another. RethinkDB actually supports almost arbitrary function input. Also, migrations are a little less important when it comes to document stores because a lot of the schema validation logic gets moved up one level (to the middle layer).

I strongly disagree about which one to start with. One of the biggest widely-noted benefits of a document store is that you don't have to think of your schema up front, you don't have to maintain constantly changing schema declarations, etc. Did you mix up the terms them by accident?

If you didn't mix them up, here's a concrete example of why document stores are often better to start with:

- I'm writing a chat service

- I am thinking about the message model, and decide a message has three fields, a message, sender, and timestamp.

- Three minutes later, while building the service, I realize that I also want to track the origin of the message (through some geolocation service or something), or the locale.

If I had used a relational database, I'd have to edit the schema, re-up/re-migrate the database, etc, when in a document store, I could just go on using it like the locale was there (and maybe add one line of code adding some default/null value for locale if it wasn't on objects I read from the database)


> What about the different iterations of an individual character in different continuities?

This has nothing to do with document vs relational data stores, and everything to do with natural vs surrogate keys.


Not sure if this is quite right... If you decided to add a "continuity" field that denoted which continuity a character was from, you'd probably want to use that data to relate characters -- in SQL land that would usually be a foreign key, in document stores, it's a little less clear how to do it (depending on which you pick) -- RethinkDB does (equi)joins, so you could just use a string. Can't say the same for other relational databases, I think the query would turn into a MapReduce.


Probably because the marvel comics API that this is likely pulled from gives it out that way.


I had to pull the data out of Marvel's API which returns JSON. Then the data was stored in Orchestrate.io as the database. The JSON data is included in the repo so other people don't have to scrape Marvel's API.


Did you get special permission to do this? It is against the generic terms:

http://developer.marvel.com/terms

Use of our Content. You may not change or edit the Content (e.g., modify, augment). You agree to follow Marvel's attribution and linking rules, as set forth here: http://developer.marvel.com/documentation/attribution. You also agree to delete any Content upon Marvel's request (or if Marvel disables the Marvel API (or upon termination, see below)). You agree to configure your Apps to request only Content that is needed by such App. You may not (except with Marvel's prior written approval): (i) use any Content, or the Marvel API or Tools for any commercial purpose; or (ii) redistribute the Content or Tools except within your Apps.

Storage. You may not indefinitely cache Content and further agree to follow the content retention rules, as set forth here: http://developer.marvel.com/documentation/attribution.*


Generally, you don't "scrape" an API.. the point is that you use the API. That way the information is always up to date.

You can do all of this and still stay within the terms of service.


SMS and voice call codes should still work.


Aren't you allowed to abstain from declaring race on college applications?


Why abstain if you can declare being African-american?

Instant bonus points + narrowing discrimination as a side benefit.


Maybe, but you certainly aren't allowed to abstain from declaring your name.


Which is why a lot of people have legal western names while using an ethnic name at home.


Generally no


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: