skysight-inc/HackerNews huggingface dataset:
I'm a Sr Dev here at Datarank in charge of our ES architecture. Maybe I can shed some light on your points.

"I was under the impression that shards are kept uniform in size as ES will try and equally spread data to all shards in an index, so that there aren't imbalances."

This is true by default and it's fine for simple document retrieval but it doesn't scale well if you want to do complex aggregations on arbitrary filters of large datasets. For that you need document clustering. In our case (and probably others), the clustering can't be done uniformally, see http://engineering.datarank.com/2015/06/30/analysis-of-hotsp....

"Writes initially only happen on primary shards, and then propagate to replicas." - also true but you still want this to be as distributed as possible. In some cases we are bulk loading millions of documents. We want the load to be equally distributed as possible while still allowing for clustering as mentioned above. Also, we want to minimize heap usage per node for GC and buffering performance.

"At some point you'll have to redesign your ES architecture." - Perhaps but this system scales to 100s nodes easily and maybe 1000s. We allow our customers to perform very complex aggregates on some pretty large datasets with 50ms response times. All other architectures we tried failed to scale well.

Clustering of comments is vital to our use case for performance. Our data is distributed log-normally. We must be able to scale quickly and easily. The default setup didn't scale well with our volume. All of these factors lead us to this solution.
Not entirely aligned since it's a % of assets and not the % of gain. They will make money even if they're losing you money.
> A few days ago, I attempted to e-mail a company regarding an online e-commerce order I had placed, from my personal address.

What? How does e-mailing a company end up with a bounce from ... Google Groups? (See attached screenshot of the bounce.)

Maybe the original outbound message had something funny in the To: or Cc: recipient lists.
Before React: to make a transition, let's change this, this and then that, mutating state on every step.
After React: have one pure function, which takes as input the current state and produces the desired output.

This is the main shift. It's very similar to how imperative programming is done in Java vs Haskell.
Blatant copy of an app released one month ago.

http://techcrunch.com/2015/06/11/get-free/
> What you're forced to do is distinguish pure from impure computations somehow.

Imperative languages can do that very, very easily. The definition of PFP, though, is that it is referentially transparent, i.e. no effects whatsoever (other than monads that are returned to the runtime at the top level).

> I need a purely functional algorithm.

Good luck finding one with the same performance... But the imperative one is now proven to be correct with no need for PFP. Writing a similar provably correct PFP one would have been harder (so it seems to me at least).

> but equational reasoning is so simple that programmers can do it manually anyway.

That's a nice claim. What we know for a fact is that programmers are able to write programs that are as correct as they're required to be with imperative reasoning.

> IT's too complicated for humans to verify too. If it weren't, more people would be doing it casually.

I don't understand exactly what you're referring to, but most programs as correct as people want them to be. The correctness crisis is over, mostly thanks to automated testing.

> If you give me a proof

Who says we want correction proofs to begin with? Most projects require some evidence of some measure of correctness. Certainly not proof of total correctness or even proof of partial correctness.
> This seems generally positive, though there's a risk of other people seeing the computer and asking "why are you getting ads for rehab centers?"

"This seems generally positive apart from the risk of occasionally ruining someone's life."
The bit you don't cover is where you repeatedly submit patches (in my case, for example, to fix documentation and improve testing) which are ignored.
Sure! Built the app in January, concept was to just let your friend now you are up for a drink, eat, sport or hang out in just a tap to avoid texting all your friends one by one - or just texting overall. Been using it with friends for a while and is pretty useful for us, thought I would share it here and maybe get other feedbacks too. :)
One criteria I now use to evaluate framework choice is: will using this framework make me a better developer or a better user of the framework?

There are many other dimensions to it, but having to learn internals of a framework to use it well is an immediate signal to be cautious.
Hello World – Comparing React and Angular
I was seeing this a while back until I disabled a plugin I had installed. I can't remember which one it was. Try disabling your Chrome plugins and try again.
Ireland's debt to GDP peaked 4x fold from it's longtime "norm" of 30%, while Greek was long at over 100% to begin with.
Money Aside, Here’s How You Should Define Your Startup’s Value
colour me shocked.
I learned to fight my depression by keeping a log
tl;dr: NSC can resume mass collection of phone records using their own data centers and in about five months, they have to move the data to a different data center.

Yeah, that's a big win for privacy.
As a relative newcomer jo JS frontend development, is there a canonical JS REST client library that works well with React / Flux, or do I have to write that myself?
I think you vastly underestimate other tools a state had to influence behavior. Education for example is a ridiculously powerful tool that's underused in the US. Don't assume you need to fix things in a week states can have 100+ year time horizons.

Also, if you have 10 equally valid issues at a national level. Then 100% fixing one of them almost impossible and probably extremely expensive where making a 20% dent in all 10 of them is more valuable and probably far less costly.
It has the words React AND Angular in the title. Instant upvote for folks I suppose.
This is linked to orbit around Lagrangian points but it's more surprising: https://en.wikipedia.org/wiki/Horseshoe_orbit
Do you have published metrics showing that your model is better for the workers?
Sensationalist title (to say the least). They weren't even able to make a reliable AND gate.
Email Marketing Strategies for Small Business Owners
There are different considerations for the problem: the orbiting masses involved (what is orbiting what?), orbital period (how long for the objects to complete an orbit around their center of mass), the distance of the objects to our measurement device (eg, a telescope on earth), the relative luminosity of the two objects (if they're close together, how do you resolve the darker of the two?), etc.

From all these considerations, there are two problems:
1. Measurement technique (getting the data)
2. System dynamics calculations (analyzing the data)

For measurement, the article mentions both visual and spectroscopic (wavelength) measurements; overviews of these and other techniques are discussed in [1]. You are correct, distance from the measurement device makes things interesting, especially in the presence of atmospheric distortion, but there are lots of tricks that can improve the effective resolution (eg, speckle imaging, which uses a bunch of images taken in rapid succession [2]).

As for the orbital period, think of it like measurements of a line. You don't need every point, just two. If you have several measurements of a celestial body, you can plot them on one of the (MANY) celestial coordinate systems [3] and do some estimates. Longer periods mean more observations for better accuracy, but you don't need to wait for a complete orbital period to get a decent estimate.

Hope this at least gives some useful keywords for your searches!

[1] https://en.wikipedia.org/wiki/Binary_star#Methods_of_observa...
[2] https://en.wikipedia.org/wiki/Speckle_imaging
[3] http://csep10.phys.utk.edu/astr161/lect/time/coordinates.htm...
The server cannot know if an event is coming from a browser or not, and anyone can make it look like coming from a browser while making it from another program, although you can't do it inside a proper browser.
We just ran into a problem with Google Analytics trying to track opening clicks by sending an event to GA. Turns out when you click a link to open it, the browser page would load before the event to GA could be sent.

Screwed up a huge amount of our click tracking data on GA.
You could argue it's beneficial to open source and make it public since it would raise awareness and probably get the root problem fixed rather quickly, as opposed to keeping it to yourself.
I understand you're supposed to whitelist in GA which pages are allowed to send a given tracking ID?
Show HN: Weleet – Subscription-based coworking spaces
You can't know. GA spam is rampant, more so via referer spam than anything else.
> It is common practice to give yourself a few upvotes in the early minutes after a post so we did.

No it's not. And it doesn't even work.

I would have flagged it if I saw that submission in the Top 5 on the front page due to suspected manipulation.
Shameless plug: my web-analytics-as-a-couchapp https://www.smileupps.com/store/apps/microanalytics

Also vulnerable, but at least there are so few users that no one would bother to fake its events.
This sounds really familiar to the old IE bug that didn't check the CA flag - http://www.thoughtcrime.org/ie-ssl-chain.txt
> having to declare types everywhere hardly make a
> language more "verbose".

Of course it does?
>And even then, for this attack to be meaningful you'd need to have active MITM between the server and PyPI or rubygems

Yeah. Which is pretty much the thing (or one of the things anyway) that TLS is supposed to prevent!

>These are activities usually triggered by developers or administrators, not by web servers remotely and they have to do with a web application, not a web server.

Some strange distinctions. A server running a web application may well want to make requests to PyPI when being provisioned.
Come up with π ideas a day?
There is one case where the benefit would be evident: if the code in question is another Javascript framework.
I didn't look through the listings in that much detail, but I did notice that the one listing in Canada is on the wrong place on the map.
/kb carries very little long-term stigma. "Was kicked out of project X for violating their code of conduct" might do.
Not really justifying history modification. But, if don't know, you can long click back button and press some random page in history stack to go to.
>Memory overhead: A non-copying GC has none

Do you have any idea what could make the Go folks ask for "in-memory heap sizes twice as large as reachable memory"? This seems to be completely at odds with what you are saying.
I didn't read it like that. The point was only that from an external perspective the act of open sourcing doesn't have any cost to be given code.
Show HN: AI Planning for Starcraft in the Browser with STRIPS-Fiddle
I found this tutorial series to be pretty good, demoing React with Ampersand as the model/controller: http://learn.humanjavascript.com/react-ampersand/introductio...

There's also a library to hook up React views directly to a Firebase (real-time JSON streaming) backend: https://www.firebase.com/blog/2014-05-01-using-firebase-with...
Why the Guy Who Coined “Machinima” Is Now Making Live-Action Films
Haha yeah well...I released on April 29th in the Apple store and 10days before in the Play Store. Last update to the app was on July 2nd.

I'll leave it up to you to guess who was first but that's not the point I think ~
My feelings are happier when you get to the point quickly and don't waste my time.
Pie R Two. I am so pumped to see this I could toss a pie or two right now.
I just want to point out that "FISA" is the word for "fart" in swedish
So since I'm completely over my head here : Will you name the simulator Don Quixote or Sancho Panza?

( And... tails, so I have to submit this. Sorry! )
The bug is subtle. It does not arise out of engineering failure, but rather is a byproduct of engineering success manifesting itself as a durable solution being used beyond any time frame anticipated in the specification. It's of a kind with Y2k or Y2038.
I am very interested in peoples processes. How do you start on an idea, how do you validate, what tools do you work with, what would you do to get your first customers, what would you change to get the ones after that etc It is really helpful to get an insight into how people think and work. If I find a moment later I will try and elaborate a bit more.
Vanguard definitely led the way, but Fidelity (maybe others) has low fee funds similar to Vanguard. Last time I checked, Fidelity looked like they priced their funds by doing Vanguard price minus .01 point.
Protecting Roof in Hurricane Season – All Roofing Solutions
I am surprised to see Russ Cox called "veritably (at times) acidic".

Although I suppose it is possible it has changed, his behavior over the 1990s and 2000s on the mailing list for Plan 9 was consistently polite and kindly. He was much more ready than most to help with a bug fix or with information.

The reason I continued to read that mailing list for all those years is how much I was learning from his posts (and to a lesser extent those of a few other participants).

The same readiness to help and politeness was on display when as a complete stranger I wrote to him a few years ago.
It's one of those games which shows some pictures like a group of people, a will smith and a stone + a you which means we will rock you.
there wasn't such a thing in Iran but they made good money with this game and they've got famous as well!
What Is Host Card Emulation?
> OpenGL is an open standard, and has an open-source implementation by the name of [Mesa](http://www.mesa3d.org/).

I think that's kind of misleading. Mesa lags years behind any current OpenGL standard.
I worked at IBM research for a bit (TJ Watson center Yorktown), when Gerstner was the CEO. They had PHDs chemists and physicists and mathematicians working on all sorts of things chip related. They had a mini fab in the building. I remember them testing building vibration levels.

Turning technology into something that can me manufactured and sold was something was something definetely on the mind of research. IBM was spending 6 Billion a year on research and they were looking for more results out of it.

They knew that an discovery/invention was good, but one that could be brought to market was better. The licensed a lot of their tech to the chip machine manufacturers if I remember correctly. Plus back in those days IBM had chip making facilities.
Yes, did you read the linked Data Sheet PDF from the article?

> Improved Huge Range of Guest Platforms – including the very latest Windows 10, Windows Server 2012 R2 and leading edge Linux platforms too.

http://www.oracle.com/us/technologies/virtualization/oraclev...
>It doesn't seem like the company we started and that moved the world forward.

When was the last time Apple was like the company Woz founded? It seems that conspicuous consumption has been their main gameplan since at least Job returned. Its interesting where Woz draws the line. I don't see the Watch as any different than their other products.

I'm a bit surprised Apple didn't have some kind of licensing agreement with all the hot watchmakers to embed a smartwatch 'core' into their existing designs, instead of having something of a 'one size fits all' Apple design. I'd rather pick through a dozen tag heuer's and pick one that fits my style and have then shove in smartwatch guts than pretend the Apple Watch or the Moto 360 is enough for me. If anything, these items aren't conspicuous enough.

I think overly-geeky people don't understand that consumers will see watches as fashion items first and things like different styles and brands will be important if you want to be successful in the watch game, smart or not.

Lastly, Woz as some kind of canary in the coalmine for Apple has always been questionable. He probably has little to nothing in common with the demographics Apple is actually tageting. This is like asking John McAfee what he thinks of the current version of Endpoint Advanced. Or Paul Allen about the new cheap Lumia.
I've been using W10 on v4 fine for the past few weeks. Planning to update right now though.. anything you are concerned about specifically?
ISRO has come a long way. It does not function like a typical govt organization.
Pluto Heart?
It's an interesting comparison but not something I would put much weight into when it comes to making a decision for my next project. Both React and AngularJS can be introduced progressively so as a 20% time project introducing either of them into existing projects wouldn't be too bad and you can make your own informed opinion then.
You could use Piwik, it's Open Source and you can self-host it. http://piwik.org/
> It is common practice to give yourself a few upvotes in the early minutes after a post so we did. [...] Then however, we made a rookie mistake.

Perhaps it's useful in other sites, but each site has it's own uses and customs. I'll quote partially a few comments from dang (read the complete version in the links):

* Sockpuppet votes and comments aren't allowed on HN. [...]— it's bad for HN and gets accounts flagged and/or banned. https://news.ycombinator.com/item?id=9672368

* We ban sites for repeated sockpuppet voting. https://news.ycombinator.com/item?id=9834751

* Votes and comments for promotional reasons are against HN's rules and tend to get accounts and sites banned. https://news.ycombinator.com/item?id=9853578
Compute Midwest to Bring Self Driving Cars to Kansas City
A lack of education could be just as dangerous as smoking, study says
Only if he's the top search result for "SEO consultant".
> (2) What python framework are they using? App should not fail in this case.

from the stacktrace and the cookie name, they are using trac[0][1]

[0] http://trac.edgewall.org/

[1] http://trac.edgewall.org/wiki/TracDev/TracSession
Google mail's spam filter delivers spams to users; it just classifies it into a different folder.

In this case, the mail was bounced at the SMTP level, and the bounce is (strangely) identified as coming from Google Groups.

"Mark as safe" will not SMTP non-delivery problems, I think, just the mis-classification of e-mail as spam at the folder delivery level.
BTW, if you use Backbone you can simply use React as a View.
500,000 Android Users Targeted by Facebook Phishing on Google Play
This is the correct answer. You may be able to filter data to some extent in the dashboard using special views, but if you want a 100% guarantee that your data stays reliable, currently your best bet is not to use GA, or at least complement it with another tool.
Show HN: HTTP Security Report - Analyzer for HTTP best practices
Yes they have, everything is gearing towards component-based architecture in the more recent versions of Angular, and 2.0 is going to be all about components. This is a good read - http://teropa.info/blog/2014/10/24/how-ive-improved-my-angul...
That's harsh but perhaps fair. My little blog post does represent a fair amount of ignorance on my part and I too wonder why it got to the HN front page.

I do appreciate the education I received :-)
in Iran not so many young people do these and they don't make that money. It's a lot of money in Iran!Think about it They made 40 times more than an average salary in 3 months
> unless what web devs had before was really that horrible

As a big fan of react, I think that this isn't really a fair thing to say. I feel as though this statement implies that front end dev is not complex and therefore it surprises you that there is room for significant improvement. I'm sure that's not what you were thinking, but really, building complex imperative UIs with state can be very difficult, and react does represent a new step in the paradigm shift away from imperative development. Whether React is the future or not, components and composition are here to stay, and I think a increasingly large portion of the community is interested in writing web applications with immutability--all of which suites flux (and react) very well, and does not suite jquery very well.

React doesn't enable anything that you simply couldn't do with jquery and backbone, but it does make a lot of it way easier and reduces overall complexity by a ton, especially if you're developing with component structure and immutability in mind.
Yes, that is absolutely what it means. Works beautifully on my Retina Macbook Pro.
Thanks Marcelo!
I get that but there's a sort of value to a monolith that gives you most of what you'd need to build an SPA with a "guarantee" that all the components are reasonably good too.
You can use a GA Filter based on your domain name. It solved my problem.
You need to keep yourself marketable. There are plenty of interviewers who expect most good JS devs to have React knowledge. It's the hot framework right now.
This is a good tutorial for people who think the React way is weird.

http://courseweb.lis.illinois.edu/~hkim214/lis514/img/Dr_Seu...
What I've also noticed is that pricing at stores is 'adjusted' to the market in a particular area. For example, the cost of a set of tires for your car varies by zip code.
If you search for tires, a lot of store websites ask for your zip code before presenting a price. If one has a second home in a low cost of living area like the South or the Midwest, and a main residence in a High Cost of living area such as the east or west coast, a lot of money can be saved by purchasing goods in at your low cost residence, then moving them to your high cost residence.
I agree on 90% of your post and detailed description.

However, on the conclusion, I am fairly convinced that the process is necessary but not enough to produce reliable system. I would say the most important parameter is "People".

If you have a team where people trust each other, where you can report odd issues without fear of reprisal, where people really want to deliver something safe, it will work, otherwise, with a dysfunctional team, using the exact same process, you'll get a terrible mess.
ACREPLACEMENT Baird Mechanical Give us a call now Call 480-233-7942
Unfortunately, I suspect this feature may be necessary in practice in order to actually expire old, insecure CA certificates that are still in widespread use.
> Imperative languages can do that [distinguish pure from impure computations] very, very easily.

In an imperative language, can I write a map or filter whose argument is guaranteed to be pure? [Note that my notion of "pure" is stronger than Haskell's: I consider nontermination an effect.] Can you easily convince the type system that an imperative loop will indeed terminate? [Without supplying anything even vaguely resembling a proof.] With pattern matching and recursion, the compiler can check whether recursive calls are always passed smaller arguments.

> Good luck finding one with the same performance...

I'm pretty sure that, with substructural types, it's possible to update a single array element in O(1) in a referentially transparent manner. Conceptually, you're destroying the old array, and creating a new one with the same contents, except for the updated element. But, because the old array won't be used anymore, this can be done in-place. As far as I can tell, no other imperative facilities are needed to sort an array.

> as correct as they're required to be

What does this even mean?
piwik? https://piwik.org/
Jim the minimal Tcl dialect that your link points to is a pretty interesting animal, notable in its own right. I believe its one of the few Tcls to have lambda and tail call elimination. Its author would be a familiar figure to HN readers but perhaps associated with a different tool he wrote, redis. I for one knew about Jim and knew about Redis but made the connection that they were written by the same person much later.