someguy1233
Mongo is a bad choice for 99% of projects. Unless you're 100% sure your data is unstructured and will never ever relate to anything else, it's probably bad.
Mongo is designed for unstructured data. That is data which has a very loose relationship to any other object, and data which changes often or is unpredictable. To top it off, Mongo doesn't have transactions. Without transactions, you have to implement them by hand with something like Redis, which is rather iffy.
You almost always have structured data. A wish list would probably relate to products, which relate to merchants such as Amazon, Newegg, Ebay, etc.
Those relationships are a pain to express in Mongo. In-fact it even ends up being slower to express them in mongo, because of it's lack of JOINs, since they don't expect you to have relations.
I personally recommend MariaDB (MySQL fork, included by default on most linux distros now to replace mysql-server). Despite it's poor reputation, it's used (in some form) by practically every big company, including Facebook and Google.
PostgreSQL is another great option. I've found it a bit more difficult to find guides for Postgres, which is why I recommend it second to MariaDB/MySQL.
Postgres is not flawless, it has awkward quirks, like the fact you cannot sanely upgrade postgres versions without exporting all of your data, and then re-loading it again. However, it is regarded as the most powerful open source database, and possibly the most reliable database.
Show HN: HiddenEverywhere
Small warning: avoid actually doing a chargeback at all costs. If you do it without permission from Steam, expect your account to be permanently banned, and with their already awful support you're probably never going to get it back.
If you have ever used snapchat, they have these strange face-tracking filters, for example one of the most known is the "barf rainbows", where if it detects you've opened your mouth, it aligns rainbows coming out of it, and enlarges your eyes.
On those types of networks, MITM attacks are extremely easy, and there are tools to do it in seconds. It may be more likely for you to get MITM'd and have them modify the signature, than for the actual website to get hacked. Combined with the fact that some people would try to download Tails across these types of network for the added anonymity.
Why would this behaviour happen? I don't understand why it does the initial session in HTTP/2 but then drops to SPDY upon further requests
Tell HN: Cloudflare has started rolling out HTTP/2 support
Check your own sites. Some bigger sites like HN haven't got it, but most of my smaller ones have suddenly gotten the blue HTTP/2 lightning bolt out of nowhere. I'm not on any of their paid plans, just the normal free plan.Note: The CEO said the rollout would happen this week on twitter https://twitter.com/eastdakota/status/670703144276365312
Ask HN: Your favourite React plugins/components?
Currently I make good use of:* React Bootstrap (https://react-bootstrap.github.io/introduction.html) - allows use of ready-to-go Bootstrap components such as tabs without having to deal with any of the JQuery initialisation normally required, and makes them feel like first-class citizens in React.* tcomb-form (https://gcanti.github.io/tcomb-form/) - allows you to quickly build forms that can...
OS X El Capitan: Worst OS Release Yet
Windows 10 upgrade nags become more aggressive, offer no opt-out
When I went to the MetroCentre the other week, I did about 5-6 contactless transactions in a day (probably somewhere around £100 spent total), by the end of the day my card got declined and I had to use Chip&Pin, so it does definitely happen in the UK, though the limits may be quite high (wonder if this may also vary based on the bank, I'm with a certain bank which refused to give me a contactless card until I had a credit check).
This is the first time since I got the card (quite a few months ago) that it was actually declined however, so it's quite a rare occurrence.
As for the EMV spec, It sounds like the terminal is the one that decides whether or not to request Chip&PIN:
During kernel processing, the kernel will determine from the acceptance environment and issuer settings in the card whether a cardholder verification is needed for the transaction. Methods that may be supported are online PIN and signature – offline PIN is not suitable due to the “card in field” timing issues.
what is the kernel?
The kernel contains interface routines, security and control functions, and logic to manage a set of commands and responses to retrieve the necessary data from a card to complete a transaction.
At least they're nowhere near as bad as Outlook. I have one of my domains on their free Live Domains (grandfathered plan, can't get it for free anymore, similar to google apps) - and 90% of my emails end up in spam, even if they're from a reputable company with sane mail setups such as Digital Ocean, Github or even Google.
To make it worse, with Outlook you can't turn off the spam filter, and it's known that Microsoft sometimes SILENTLY drops emails for various reasons so they never even make it to your spam box...
Sadly I've yet to find any decent replacement mail service for my domains that's free (or very cheap) and of decent quality.
Can I Use Clipboard (JS API)
This is important because Microsoft seems to use a lot of Flash advertisements without checking them (I've had plenty of "MICROSOFT VERIFIED DRIVER FIXING" ads come up inside of Skype, so I'm sure some zero day could slip though their ad system)
Ask HN: What is the actual purpose of Docker?
I'm hearing about Docker every other day, but when I look into it, I don't understand the purpose of it.I run many websites/applications that need isolation from each other on a single server, but I just use the pretty-standard OpenVZ containers to deal with that (yes I know I could use KVM servers instead, but I haven't ran into any issues with VZ so far).What's the difference between Docker...
(resolution is 1080x1920, using Firefox on my Android 4.4.4 OnePlus One)
You're right about the criticism though, it's hard to find any quality comparison on the internet, that's why I've posted here, in hopes of finding a lesser biased comparison, especially from those who've changed their go-to framework (e.g. from Laravel to Rails, from Express to Django etc.)
I might look at it again, this time staying far away from Akka. What's the performance like? Considering it's Java I would assume pretty good, but I'm not sure how bulky Play is
Ask HN: What web languages and frameworks would you recommend learning today?
I've been wanting to try out some new server-side web frameworks to expand my knowledge (Currently use the Laravel PHP Framework, and ExpressJS), but I've been struggling to find any consistent information about how relevant each framework/language is going to be right now, and in the future.There is currently a lot of material on the internet saying how "Node.JS is dying use this", "Rails is...
Middleman is much easier than Jekyll if you want to build any kind-of normal non-blog website.
What's new in LiteVault
Ask HN: What's the problem with AngularJS?
Seems a lot of people here are starting to push it away for other technologies, mostly ReactJS which I struggle to see how the two frameworks are even alike.
TypeScript is pretty good at giving you a taste of ES6, it brings in a lot of features from ES6, such as the new classes, default arguments, generics, as well as a few of it's own features (interfaces, optional static type checking).
They ship it as a node module, so you can just "npm install -g typescript" and it's ready to go. As much as I dislike Microsoft, Typescript is something that seems to work well, and unlike Coffeescript, I can quite happily paste in standard Javascript code (even most ES6 code) and it won't break my source.
"Gateway: Unable to connect to host."
AFAIK, Norway offers this privilege even to international students, while Sweden gives it to any EU citizen