skysight-inc/HackerNews huggingface dataset:
I wish they'd publish USER_AGENT strings used by browsers within these devices.

That would be nice piece of reference data for all kinds of analytics.
Correct me if I'm wrong but does this feel pretty expensive?

> Pricing is based on device minutes, which are determined by the number of devices you use and the duration of your tests. AWS Device Farm comes with a free tier of 250 device minutes. After that you are charged $0.17 per device minute. As your testing needs grow, you can opt for our unmetered testing plan, which allows unlimited testing for a flat monthly fee of $250 per device.
SQL Database Developer  iMatchative
I'm a bit of a fanboy for all the shiny Apple products, but wasn't entirely excited about the watch. Still, I pre-ordered the sport version and waited.

Then, the stores had personal fittings. I went in to take a look, and came out changing my preorder to the stainless watch with the link bracelet. It's a nice watch, looks great, and I figured it'd be kinda cool to play with.

Fast forward a month, and it's become a part of my everyday activity. I don't miss messages anymore because of the haptic taps --- I used to miss messages all the time because I frequently don't feel my phone's vibration in my pocket.

I used it to check in last time I took a flight. Barcode goes to screen via Passbook. Just like the Starbucks app. And ApplePay is great where you can use it. I have an iPhone 5S, so it opened that world to me.

Every day, I use the activity monitor to keep me motivated. I use a bluetooth heartrate monitor as a more accurate HR measure while working out, and pair it to the watch. Works great. (The watch is not a reliable HR monitor when you're moving around a lot -- it's not designed to be).

I control my music via the watch, use bluetooth headphones all day now.

When driving, the watch guides me -- no more holding my phone to see the map...the haptic + just in time directions are great.

I've taken the occassional call through the watch (you use it as a speakerphone).

It's a winner, and will only get better from here. It's a great fitness companion that lets you keep your phone in your pocket for all kinds of things, which feels remarkably more convenient.

No one NEEDS one. It's useful jewelry. That's compelling enough for me.
Just discovered that. What a shame.
aewhite covered most points, but I'd also point out that a simple use case of a cluster with multiple indices of varying sizes (such as using ES as part of the ELK stack to store logs - a new index is created every day) will run into many of the same problems with the default balancer. Since the number of shards per index isn't configurable after index creation, shard size growth and disparity is unavoidable.
Each one is a separate post, about a separate service, which would logically generate separate, product-specific discussions.
At least two of them are posted by the same guy. And at least some, if not all of them, are being posted by Amazon employees.

So again, I say, the AWS team is spamming HN and it's in poor form. It should all be one submission.
I don't think it's fair to assume that this is spam from the AWS team. Many of us use AWS services daily and like to keep up with new offerings.
How do you sell ads on open source code ? I know about ubuntu and firefox but was wondering if there are startups doing open source work and generating revenue. I know about core os but have no clue on how they generate revenue.
For me, I need either socket support or go support.
Friction will prevent that, similar to the self-locking behavior of a worm gear. Even if you could get it started, it would take as much energy to spin the output shaft once as it takes to spin the input shaft 11 million times. If you tried to quickly spin the output shaft, the forces exerted on the gears would shred the materials almost instantly.
Please explain why public spending for public benefit counts as "moral hazard", while public spending on bank bailouts, corporate welfare, and the opportunity costs of chimerical QE lending is a moral necessity?

Or why the IMF is perfectly happy to lend money it will never recover to the bankrupt Ukraine, but considers Greece to be beyond the pale?

Or why Germany - which has actually had more debt forgiven than any other country in Europe - has somehow managed to persuade everyone that it's a unique model of fiscal probity?
1. Greece needs reform, this not disputed. However, corruption and the size of their welfare system are not the cause of this crisis. The conservative parties in Europe want to dismantle the welfare system and they're simply exploiting the crisis for this purpose.

2. The banks got a huge bailout as a reward for crashing the economy. How's that for a moral hazard? But when it comes to funding for schools, hospitals, and the rest of the population who got stuck in this depression through no fault of their own a bailout is suddenly a moral hazard? Your view is morally abhorrent.
I think for the needs of front end, the recruiting world would be better off targeting back end people heavy programmers, maybe .net or java and their migration to the front end frameworks will be much easier than the designers will be. It sounds awesome for a designer to pick up javascript and just run with it, but I personally see a pretty thick wall between focusing on design, graphics, presentation and then solving all the programming problems to go with it. Again personal experience, it's been easier for me to shut off the valve of code completely, so I'm not distracted by consequences of how it will be built. I know that sounds counter intuitive but just knowing some of the avid javascripters, those who can build apps with it, they don't really have the ability to get out of that mode to design something, they are always living the framework. They will make something nice, but alone their work rarely surpasses the level of beauty or refinement of a really good designer artist.

Yes I know those hybrids exist, but unfortunately there aren't nearly enough of them to fill all the positions. Not only that, but I'd argue that a lot of them who are hybrids, you're not going to get their best work from both areas if they are expected to deliver from both disciplines on projects. Not on the deadlines that employers will set at least.

And I suspect a similar problem exists in actual building architecture. Yeah some building designers are good at accomodating for all the variables of planning codes, but they aren't going to be (nearly as often) fantastic at aesthetics that somebody who works outside those constraints might be capable of. There's a lot of value in designing first, then put those styles of thinking together (designers and architects) separate people and from that point later in the process of creation you start solving the challenges like plumbing codes, metallurgy afterwards. Part of this is me complaining, but it's my attempt at experience of always being a crossover person and how you never really feel like you're honing a craft, you just feel like you're being left behind and not properly cultivating what you enjoy most.
This guy installed Windows 7 on Asus Zenfone 2 smartphone
Most writing out there competing for your attention doesn't deserve it, and in writing that does deserve your attention, there are actually only small "hot spots" which do, not everything.

I don't know if digital reading is shrinking my reading attention span, but "long form journalism" sure is. The utility of the journalism in day to day life is already quite low, and the utility is usually correlated with boring and dry. Reading articles written by people who think so highly of their storytelling to waste my time by padding it out made me realize I don't give a fuck. Now I can't help but notice regular news is padded out as well. There is still room in my heart for in depth reporting, but "long form" is a trick to be engaging, just like clickbait but with a fake air of importance.
We have a soft 2 GB limit: https://help.github.com/articles/what-is-my-disk-quota/

In reality this has been very much a non-issue. Users we contact are generally okay with not bloating repos, and we point out Releases / Git LFS as alternative places to store binaries / large assets.
> The primary UIs are the API and CLI interfaces.

This used to be the case - new features usually launched API-only and console came later - but I think Amazon has woken up to the fact that many customers want to play with it easily before they go automating everything using the API.
If you look at the profiles of the submitters, at least one admits to being an Amazon employee.

Yes, lots of us are interested in AWS (I am too), but that doesn't mean each separate announcement should be its own post. And I don't think the nearly uniform submissions we see would have happened organically.
> If that's so... and I generally agree it is... then why do people keep lending them money? Or perhaps rather, "lending" them money?

Most of the money that's being lent is for repaying existing debts that come due. Like any bankruptcy (which is what this is, formally declared or not), the ECB is trying to smooth out the process and ensure creditors are treated equitably. As for "keeping lending them money", the bailout loans are tied to political reforms intended to fix the problems. How else would you do it?

If you're asking why creditors lent them money in the first place, a lot of that predates the financial crisis. A lot of it was before rampant fraud in Greek governmental accounting became apparent. And perhaps people had more faith in European integration and expected Germany to pay Greece's debts if they ever get into trouble.
This is a good read, but I'm wondering:

The Microservice architecture pattern significantly impacts the relationship between the application and the database. Rather than sharing a single database schema with other services, each service has its own database schema.

Is this a necessary prerequisite? One of the problems I'm dealing with now (and have been in the past) is the tyranny of multiple data stores. At any reasonable scale, this quickly leads to a lack of consistency, no matter how much you'd like to try.

It feels like most of the gain in a microservices architecture is from functional decomposition of code, with limited benefit from discarding the 'Canonical Schema' of SOA. I'd be interested to hear others' experiences with this, though.
You can't work for free for a startup. Federal law requires you be put on payroll and paid at least minimum wage. No employment contract can supersede that law. Silicon Valley has to be one of the more challenging places to live without a high-paying job: the average rent for a 1-bedroom apartment around San Francisco is over $3000/month. Why don't you want to be compensated for this labor you're looking to provide to a startup?
"Very smart" probably means different things to different people, but, for me, it means proactive laziness: the ability to foresee anything that might create repetitive work in the future, and work now to prevent that from happening.

So I can't regard a programmer as being "very smart" if he or she doesn't have the ability to abstract over every recurring pattern in his code, and turn it into a nice reusable library. And I also can't regard a programmer as being "very smart" if he or she designs abstractions that leak: in my experience, abstraction leaks create more work than anything else.
Re: fat margins

A lot of that margin goes to the front line troops (whatever you want to call them-- brokers, advisers, planners, etc.) These are and have traditionally been charismatic people who were relatively high touch. If you think of them as providing a service to customers than they look like a massive cost center and the businesses that employ them ripe for disruption. But if you look at them as a sales force the picture becomes much clearer. Morgan Stanley wealth management has Bob who plays pickup basketball on the weekend with a bunch of doctors. What does Wealthfront have -- an ad on Yahoo finance?

My guess is that at some point these companies will pivot to trying to be the backend to a bunch of independents or small shops out there hitting the pavement. The customers will still end up with the 1-2% wrap, the robo-advisers will still end up with their .25% cut, but at least the customers won't be being put in high fee actively managed funds. So they'll be some improvement over the status quo.
Unfortunately, I took down their demo app. Sorry guys...
I think this is the first time I've really understood the differences between SOA and Microservices (and realized that my workplace's architecture is a flavor of Microservice).

"On the surface, the Microservice architecture pattern is similar to SOA. With both approaches, the architecture consists of a set of services. However, one way to think about the Microservice architecture pattern is that it’s SOA without the commercialization and perceived baggage of web service specifications (WS-) and an Enterprise Service Bus (ESB). Microservice-based applications favor simpler, lightweight protocols such as REST, rather than WS-. They also very much avoid using ESBs and instead implement ESB-like functionality in the microservices themselves. The Microservice architecture pattern also rejects other parts of SOA, such as the concept of a canonical schema."

So SOA implies the existence of some heavy enterprise tools like WSDL and SOAP or other RPC type systems. Microservices favor RESTful interfaces.
I tried React a year ago and was only using js, but jsx its a mix of js and html only, it feels almost normal to me, in my case was not so difficult to accomplish my goal with React, maybe it will take a few days but thats all, and there is a tons of documentation, tutorials, etc now that will be much easier to learn it.

Going to the latest features of javascript on the browser its hard, because it depends on each browser to implement those features, with Chrome, Firefox and Safari isn't an issue b/c the silent update on the first two and the annoying badge of updates for safari on the mac, the issue always was IE, b/c it doesn't update silently, don't know really the adoption of the browsers and which is the minimum IE that need to support your web app right now.
Show HN: Crisis PR Playbook – What to say when your startup screws up
This is interesting and it seems plausible. However, at the beginning of the article the author said they stumbled upon this image multiple times by manually entering random 5 character filenames. If it were an exploit prevention feature, I would hope it would be more difficult to trigger
Site author heard "don't use tables", but not the part "...for layout". Or decided that having the whole page be a table was table layout.
You also need to add regex filters for Campaign Source like:

"semalt\.|social.?buttons\.|hulfingtonpost\.|best-seo-(solution|offer|service)|free.traffic|buy-cheap-online|prodvigator|cenokos\.|ranksonic\.|adcash\.|share.?buttons\.|blackhatworth|buttons-for.?website|darodar\.|100dollars-seo"

To help keep down the spam.
> Except that there are use cases where you want to use boilerplate HTML in more than one component

In this case, you can split out that boilerplate into a separate, smaller component and reuse it inside as many other components as you need.

> By that logic we should be putting our data stores in the component, any translations required to internationalize the component, the database queries.

I respectfully disagree with your inference here - such functions can be abstracted and used by many components - in most cases there's no value in baking them directly into a component.

The exception to this is if the function is not abstract at all, makes no sense outside the context of the component, and therefore can't be reused. Then, it probably makes more sense to put it inside the component, rather than breaking it out into a separate file.

This is true of most if not all of the markup and styles used inside a component, which is why React encourages JSX and inline styles to be put directly inside the component as it's the only place they make sense, and the only place they'll be used. The markup, styles and component behaviour are intrinsically coupled, there is a lot of 1:1 referencing, and separating them out into separate files means you'll just be flicking between three files when working on a component, instead of one. Where there is 1:n referencing, well, that's when you should break your component into smaller, reusable pieces.
For example the baltic states http://www.theguardian.com/world/2015/jul/09/poorer-than-gre...
I-need
Unleash the Power of Storing JSON in Postgres
Think of it as Amazon validating your business! It's yet another selling point (specially for orgs that can't or don't want to use AWS mind-boggling myriad of products).
Django celebrating its 10th anniversary
I see this more of a replacement for parse which does a similar thing with cloud code both as far as I can tell there isn't a good place to keep the code / API layouts elsewhere.
Well, the image title would be different, and that's a significant difference. "Smiling guy" and "Justin Bieber at my sister's birthday party" are very different :-)

Also, the "author" and comments wouldn't want to be merged -- different comment streams for different audiences.
Bay Area Rust Meetup: Production Rust Users
JSX is syntactic aspartame: sweetish and toxic in large doses...
Dude, this is a site intended 100% for joke-based use. Don't worry about it.
Well ... I usually bang out HTML3-like markup that matches the initial wireframes, then hand it to somebody who's good at CSS to make it look decent. I also do a fair chunk of refactoring JS stuff that was thrown together to test a UI idea into something that's actually maintainable.

Plus on the rare occasions I try and do something involving prettiness, being able to ignore the JS and focus on HTML+CSS is nice for me, too.
It looks like a pretty rudimentary prototype. Many of those issues are addressed with better manufacturing tolerances, different materials, and tooth profiles. I'm not sure those features are inherent limitations as much as drawbacks to the prototype implementation.
The alternative to Microservices would be to get better at building boundaries in your application before resorting to creating physical boundaries to interact with code.

There are a lot of approaches to this. I've explored these ideas with Obvious Architecture (http://retromocha.com/obvious/) and the talk I gave at MWRC 2015 on Message Oriented Programming (http://brianknapp.me/message-oriented-programming/).

I think the big lesson is that the Erlang stuff was WAY ahead of its time and it already solved a lot of the problems of large networked systems decades ago. Now that we are all building networked systems, we are relearning the same lessons telcos did a long time ago.
I've always thought that flow-control in XML / templates is very messy. That's one of the things that I really like about JSX. It's a very simple, easy to understand transformation to function calls to make HTML generating code look more like HTML, but it's just JS. You don't need to invent flow control attributes on HTML that are really JS, because you are just using JS.

This completely removes that. I'm glad it works for you though and happy hacking!
> and all sorts of new, untested, un-vetted code injected.

What?
> Same thing applies to things like Yelp reviews. Maybe a user with close to a 5-star lifetime rating average should have his reviews "renormalized" to 3's because his standards are probably just lower than the guy with a 1-star average.

Another problem is the perception of star ratings. It seems like 5 (maybe 4 also) is the only "positive" rating for many people. Anything less and it might as well be a 1.
Yes, we've implemented this and are currently testing it. There are some technical reasons why it turned out to be tricky, so we're taking our time with it (https://news.ycombinator.com/item?id=9319224), but hope to roll it out soon.
move to other machines if I need to

Last time I tried that meant having to do a rather slow and disk hungry export followed by an import. Was I doing it wrong and is there no way to just copy the disk and machine definition, or are there other ways already?
I smell a browser parser bug in the making.
We already see this comeback of C++ instate of truing to build everything in managed languages, like writing OS in C# .
The CloudFlare x86-64 optimized version of the longest match algorithm is especially well documented.

https://github.com/cloudflare/zlib/blob/31043308c3d3edfb487d...

It's great material for anyone interested in these types of low level optimizations.
How to Get Startups in on the Military-Industrial Complex
Perhaps due to the privatization of prisons?
The blog post mentions that you can describe your API using Swagger and then import that. I suppose it means you can keep your Swagger definitions under version control.
Yes, but consider that is not a virtualization, is a proper device
Another day, another OpenSSL patch
Did you miss the part where I started my entire comment with "IMHO"?
I respectfully disagree. 50% of the impetus to "save Greece" has a lot to do with not letting Greece fall into Putin's sphere of influence and potentially losing a strategic NATO ally. Tsipras has visited the Russian embassy many times and has flown to Moscow a couple times as well. These weren't social calls and the agenda was kept secret for a reason. Greeks admire Marxism and the old USSR and probably wouldn't mind moving into a Russian sphere of influence, either, especially if Russian taxpayers foot the bill for their unaffordable social programs. EU negotiators are dealing with a lot more than just pensions and lack of tax collection here. They're dealing with a potential Russian base, missiles, AA, subs, warships, etc permanently on their border and aimed at their capitals and civillian centers. The Ukrainians are a good example of what happens when the Russian military is your neighbor.

Allowing Russia to trivially attack their borders and put up a Mediterranean blockade is unacceptable to the EU/NATO, but Tsipras is probably crazy enough to make this happen unless he gets the terms he demands. That said, the firing of Yanis Varoufakis probably means Tsipras is serious about cutting down the stupid Greek extremism that has made these talks impossible and probably wants to stay in the EU/Eurozone/NATO and will play ball on some level. I guess we will see.
> Misleading or overly-optimistic press releases written by university personal are also the source of much of it.

Whatever it takes to get those sweet, sweet grant dollars
I could grab a load of studies from the appendix of her book, but rather than swap PubMed links I'd recommend you read it: http://thebigfatsurprise.com/

It shows you the human factors that led to the distortion and exaggeration of the science to maintain the position of the originating scientists.
I didn't downvote, but I read a TL;DR, especially one directed at the commenter, as saying "my time is more important than yours; could you spend your time purely for my benefit, despite my not being willing to put in my time to read what you've said?" All else aside, it probably takes longer to ask for, and then complain about downvotes on, the request than it does to read 4 short paragraphs.
Because it's from Microsoft and they are EVIL!

Seriously though, I've worked on projects with Angular and Backbone and have messed around with React, but every project both big and small that I have started has ended up using KnockoutJS.

It is easy to learn, performs amazingly well even with tens of thousands of records, has extremely powerful custom bindings to extend its functionality and even has excellent templating to boot!

Of course in the end people (including myself) just go with what they know and/or want to learn - so which JS framework is "the best" is just a matter of opinion. Having said that, I'd love to hear from someone that has years of Knockout experience explain why they think it is inferior to any other library OR framework.
User stories improve work productivity and quality
The Evolution of Go