skysight-inc/HackerNews huggingface dataset:
If you're willing to go all-in, get a big technic set which has the most "power functions" components (motors, remotes, battery box). These are the parts that are harder to come-by unless you order them individually (which is more expensive).

When I looked >= 1-2 years ago, the best single set for spare parts I found was the Volvo L350F wheel loader aka. "42030" [1] (each lego set is uniquely identified by a numeric id). It had the most power functions parts I could find, and probably gives you all the beams, wheels, gears, and other parts you need.

You can supplement your collection with specific parts from places like BrickLink [2] or even the lego.com store [3].

NOTE: Be warned that LEGO is changing their Power Functions plug shape. Most current sets are still on Power Functions 1.0, and new sets will eventually become 2.0

[1] https://www.amazon.com/technic-Volvo-L350F-wheel-loader/dp/B...

[2] https://www.bricklink.com/

[3] https://shop.lego.com/
That and the “MongoDB Is Web Scale” always get a kick out of me. Server-side-JS has some weird ideas about performance.
I just had to chuckle at the name of the interview prep course name, of course it would be that.
I don't do FP or Haskell but did do FSM's in imperative languages. Looking up Haskell's event-driven FSM's...

https://wiki.haskell.org/Real_World_Applications/Event_Drive...

https://accu.org/index.php/journals/2199

...gives me code that looks weird since I did imperative but straight-forward. The second link even shows some simplicity and less tangling vs imperative examples. I wonder what makes you think FSM's in Haskell turn into disasters if these examples were so easy.

Besides, you shouldn't be hand-coding FSM's to begin with. The various sub-fields of programming and IT I've studied all came from different directions to same best practice for FSM's: DSL's that generate them. LISP people did it forever. iMatix did it for reliable, distributed apps in C. Haskell embeddings go from stuff like that up to hard real-time C. Theres also open-source projects that compile easy descriptions of them to about any language. The DSL can be included in repo right next to resultant code for documentation purposes. Hardware designers also synthesize and transform them with automated tools.

Given that, the difficulty of doing FSM's by hand should never be a problem for any language. Just don't do it by hand. Automate the tedious stuff machines are good at. Hand-code the stuff humans are good at.
I don't disagree with your follow up. Thanks for the post.
The lack of federation is unnerving, but the main server-less alternative I know of is PGP or maybe OTR, and PGP is way too hard for most people IMO. Also, OTR doesn't trust the fingerprint from first messages, so even that introduces an extra hoop to jump through.
According to the article, though:

> Life expectancy at age 65 did not fall, another indication that the diseases behind the lower life expectancy occur in middle age or younger.
Any communication tool that runs on a closed-source OS like Windows or iOS can certainly not be trusted.
I interned at Amazon in 2014 and in 2015. I have not worked there since.

The non-compete and non-solicit for customers & business partners lasted for 9 months from when my internship ended and the non-solicit (titled "Non-Interference") for Amazon employees, contractors & consultants lasted 6 months from when my internship ended.

The interview process was two back-to-back phone screens. I heard from other interns the following summer that it had changed to an online coding test and one phone screen. I had never heard of anything so invasive as what is mentioned here before this article (and the precursor a week or two ago) hit HN.

I was working at Amazon when the NYT hit piece broke. It read like it was about the business/sales/marketing side of the company and it did not at all reflect what I experienced at Amazon.

I have met a few interns who had bad experiences at Amazon but most had good experiences and were invited back. I can only think of one who was invited back but had such a bad experience that they refuse to ever work for Amazon again.

When it comes to things like this, the variation between teams within large companies is much much greater than the variation between large companies.
Introducing Windows Server Premium Assurance and SQL Server Premium Assurance
The most pointed quote in the article is “No one wants to face the reality that this is an advertising company with a bunch of hobbies.”

But without search, without Gmail, without Chrome, without Android, without the moonshots and all the "hobbies" Google's brand would wither, and its access to data at massive scale would be crippled, and its access to eyeballs would be curtailed, and the talent would walk. Others have built advertising businesses, but Google's dominance in advertising couldn't occur without the product mix.
The generic was part of the appeal. It seems to have peaked in the 90s, now LEGO is milking dedicated shapes. Expected, that's how "progress" evolve. Even my father complains.
Federation does not require things to be transmitted in cleartext by default. Don't know where you're pulling that from.
Did.

https://github.com/pklausler/aoeui
But many others may disagree with you, and decide to invest that 10 years in really learning it. There is no problem with this.

Just wait until you invest ten years of your life to master a language, only for everyone else to move on to the next new trend, with you stuck holding the bag.

AngularJS, Rust, and node.js, is it? I can't wait to ask you how you're feeling about all that time you invested into all of those, when all the kids move on to something else and they're no longer popular, for no reason other than the newcomers' ignorance, or because something shinier came along, but didn't actually add any value, just re-implemented the old thing in a worse way.

We can then have a discussion about how you're feeling, having wasted a decade or more of your life away on what will then be perceived irrelevant. That's of course under the (optimistic) assumption that HN is still going to be popular in ten years...
How to get a piece of the $7B IoT market
See also Raganwald's Why Why Functional Programming Matters Matters: http://weblog.raganwald.com/2007/03/why-why-functional-progr...
I don't have any insider knowledge, but here's a good account : http://www.businessinsider.com.au/how-mark-zuckerberg-booted...

In a nutshell: when Zuck & friends moved to Palo Alto for the summer to work on Facebook, Saverin decided to take an internship at Lehman Brothers in NYC instead. It became increasingly hard to get his attention, even as his approval was required for a crucial funding step.
Worse still, Saverin then ran unauthorized ads on the platform for a side project of his. He kept asking about parties in Palo Alto.
That's when Zuck decided that enough was enough and started to cut him off.

So it's fair to say, at the very least, that the culture fit wasn't there and that the Social Network movie didn't paint the whole picture.

I think it's also fair to say that Saverin brought all this upon himself by repeatedly failing to show commitment in the company, and that he still got a sweet deal in the end because Facebook wouldn't have been anywhere near as valuable had he remained involved.
but wouldn't you still require [Stack size] * [num concurrent connections] space? pooling just means that there won't be the cost of creating a new thread on all/most connections.
Ask HN: Amazon smile vs. www urls
when someone sends me an amazon url with smile.amazon vs www.amazon I change the smile to www before sending it to someone else because I think the "smile" looks unprofessional. Agree or disagree?
> I'm worried about the freedom of dissenting opinion in civil society from surveillance

A good reason to support Wikileaks.
It's definitely not, see my link above.
This is the right answer. I will also point out that as a result of this property collaboration becomes easier.
You also see this behavior in FOSS, where all too often someone will decide to rewrite a piece of software from scratch essentially because they are bored of maintaining the existing implementation.
The author is not well informed and wrongly states "Alzheimer’s research has faced a number of major setbacks – most recently the failure of Eli Lilly's drug trial — after promising results in rodents did not translate into clinical improvements for patients."

The fact is that Dr Dale Bredesen started a new therapy 4 years ago with very promising results: 9 out 10 patients reversed Alzheimer and are still free of Alzheimer four years later. Today the group of patients has grown to around 100 and all patients with early Alzheimer recover completely.
I still have my 80s space pieces (some still in boxed sets) from when I was a kid, so I really enjoyed it when The Lego Movie had the "80s space man" who always wanted to build a spaceship. When I got back from the theater, I built a space ship from those parts (of my own design, in the spirit of the movie.) I'll probably pass them down to grandkids some day. :)
Makes for a suspicious comparison when both the two other options, have no features that hyper doesn't or is better. I understand that this comparison comes from you, and it's not easy being completely fair when doing a comparison, but I can't find anywhere anything against using Hyper or even any tradeoffs.
Downvotes for saying this, really ?
Hamiltonian Paths in Antiquity (Knuth's 2016 Christmas Lecture) – 6pm
OP here. I’m curious on this question for a few reasons.
-- I have worked primarily from home the last ~6 years and I’m curious of others’ opinions.
-- I’ve been working on a new conferencing app (Locus, https://inthelocus.com) and am wondering both how to structure our team if we don’t end up in the startup graveyard, and how others like to work and might use similar products.

My perceived optimal: A geographically close team, with flexibility to work remotely whenever beneficial.

Why?: Remote work has a lot of well known benefits that speak to me: no commute, potentially less distractions when you really need to just work, potentially more flexibility on hours when you need to work around appointments or childcare, etc. BUT, there is a certain energy level when a team is really together that seems very hard to replicate remotely. How much time together is enough to replicate this? Would even a weekly beer night be enough?

My experience: For 8.5 yrs I worked at a semiconductor lithography tool manufacturer. 3 years in person, 4 years remotely but a ~3 hr drive from the office for important meetings, etc, and 1.5 yrs a plane ride away. The fact we were building hardware likely makes this fairly different from a SW only business. Having worked in person before going remote seemed really critical for work relationships. Coming in every few weeks seemed like barely enough to keep up with the energy level and the relationships. And an unexpected benefit was that traveling to the office frequently ended up as an excuse for the team to go out for drinks, or for me to spend much more time with visitors from our international headquarters than I might have if I was going home. The later time being a plane ride away felt like too infrequent of interactions and I slowly drifted away from the energy.

Now I’ve been working on a pure software project with 1 co-founder. We primarily work from home, but live close enough to meet whenever it seems helpful. And we already have a long history with each other. This works out well for 2 of us, but I’m not sure it can scale.
>It seems to me that speaking to a large number of people anonymously is not possible with any of the existing tools

NNTP, mixmaster remailers, and mail-to-news gateways.

Old school. Those were the days.
The Tox project is specifically designed to meet your usability requirements.

There were also forks of Signal which fixed the privacy issues, however Moxie Marlinspike (the founder of Open Whisper Systems) ordered them to cease and desist.
it's ok, test room was technically in the lab
Or just use something like startpage.com.
I prefer a slightly different translation of that Ancient Greek saying: nothing too much
The difference is you never know when Whatsapp may switch off that end-to-end encryption.

Second, Signal only stores account creation date and I believe account deletion, or some other super-basic info like that. But that's it. Meanwhile, not only does Whatsapp collect much more metadata, including the groups of which you're part, but it has also started sharing that data with Facebook recently.

I'm not saying you should stop using Whatsapp, though. I still think it's a better alternative to iMessage/Hangouts/Skype/Telegram. But at the same time you should slowly transition your most important contacts to Signal, too. One nice extra feature Signal has over Whatsapp now is Snapchat-like disappearing messages, so at least you may be able to convince some friends with that.
Not everyone's threat model is nation-state adversaries. Often times it is simple theft, coercion, snooping friends/family, etc.

What messaging system would your recommend instead? Riot? Tox? Last I checked, neither were nearly as polished and feature-complete as Signal. In my use case, unless it is good enough to become a daily driver, many people won't even bother with it. What good is a messaging system that nobody else uses?
First of all, there is no enormous complication. Clustering in node is super-easy, and file descriptors of requests are sent automatically to one of the processes in the process pool. This benchmark should have at least done that.

Secondly, the service presented there doesn't even need to take advantage of shared memory concurrency at all. This is the case for a vast majority of web service problems too: they either talk a lot to each other or do a bunch of cpu-intensive work, but rarely both.

Finally, when you use shared memory concurrency/parallelism to solve web service problems, there is a risk that the resources of a single machine will not be enough. And then you are back to serialising things and sending them through an even slower channel.

Haskell also has poor facilities for compute-intensive stuff, although they are different facilities. For example, laziness makes reasoning about performance more difficult. Space leaks are fairly easy to create unless you know the common gotchas. Most naive/idiomatic Haskell code performs several orders of magnitude worse than whats possible with optimized code. Etc etc.
I still look at most of the modern, themed Lego sets with a sense of sadness. They seem to inspire the "you have to follow the instructions" mentality so apply demonstrated in the father in the Lego movie. The older sets did include instructions, but the older blocks seemed more generic to building a wide variety of things, versus the "this is a piece for the Batmobile engine."
The immediate value encoding is still there. What's gone is the barrel shifter on arithmetic instructions, other than those that explicitly mention that they perform a shift.
Orchestrator at GitHub
> I must say that I'm surprised that MS didn't give up on Continuum after Intel hosed them by cancelling their Broxton smartphone x86 chip. MS might just be throwing good money after bad.

Intel didn't hose Microsoft, it hosed Intel.

Microsoft was already developing for ARM so nothing changed for Microsoft. Intel stopped developing for smartphones and tablets so something changed for Intel.

Windows 10 is free on small screen devices so Microsoft didn't even lose any revenue....
A Civilian at World of Watson Part Three: Philosophy
That Porat person is a serious contender for buzzkill of the year. Google makes tons of money with ads and spends it on geeky experiments to try to push a futuristic envelope (and create an environments where they can sell more ads, like a self-driving car) we'll all benefit from eventually and she gets to be the person that locks the toys away because "financial discipline".
I think it's medical/clinical. https://en.wikipedia.org/wiki/Informed_consent "Express permission" is also a little jargony but I think it avoids the problem you mentioned?
Aren't you obligated to make the highest returns for shareholders? In that case, wouldn't performing an action that slows down the ability of a company to innovate break that promise?
Also, Glass was Brin going off script.

I wonder if he bought into the press likening him to Tony Stark...
For me, I imagine a scenario like the movie GATTACA where in a future world an employer can base their entire hiring decision on what your genome says about you (theoretically, a lot). Imagine a world where business giants judge you by correlating huge amounts of data about you. "You shop for expensive purses and small dog toys, therefore statistically your personality is x, y, z"
Alright, so I had one HR smalltalk, a one technical over the phone with the manager, I am having onsite soon - none of these funny proctor stuff, but yeah your mileage may vary.
COGENT takes pretty much precisely the approach I described below: it uses domain-specific structures in a functional language to encode verified imperative code. If you look at pretty much any code in the ext2 pilot (here[1] is as good as any) you'll notice that a lot of the functions called are things like destroy_Ext2DirEnt (which unless they named things poorly, takes a clear action), as well as a lot of passing around of memory addresses to functions that write them (e.g. deserialise_Ext2DirEnt2).

It's not that they wrote the logic in a fundamentally different paradigm from C, it's that they take care to give their system the information it needs to both generate C code and most of the desired proofs simultaneously. The functional language is fufilling the role of metalanguage excellently, but little of that ends up in the generated code. The one functional thing that does is pattern matching, since the C equivalent (if statements and unions) are much harder to verify (and use).

[1]: https://github.com/NICTA/cogent/blob/master/impl/ext2/cogent...
Well, I think the only part of airlines that you can apply lean startup is the tech part. The rest is just too big a behemoth to move internally.
>> The difference here is stark because in Node.JS's execution model, the moment it receives a request on the slow route, it must fully complete the computation for that route before it can begin on a new request.

With this statement, the author acknowledges that the Node.js code in the slow route was not asynchronous. The test is therefore invalid; it's comparing apples and oranges.

Node.js is more than capable of handling different requests asynchronously (regardless of whether they are fast or slow); if you have any kind of blocking or waiting around happening; then you're doing it wrong.

I'm so tired of all the anti-Node.js propaganda; it's hurting people. If I walk into one more company where some zombie tells me that they're migrating away from Node.js because "the Node.js event loop starves the CPU", I'm going to have a stroke.

In reality all Node.js 'starvation' problems can be solved with the 'cluster' module or the 'child_process' module.

Since we've been talking a lot about 'Fake news' on Facebook recently. Maybe we should start talking about how fake news is affecting Hacker News. This anti-Node.js strain is particularly virulent.
It's crazy, I've totally missed the point at which these things stopped costing thousands of dollars and instead you can get them for $13.95 now.
I continue to be disappointed by headlines like, "Worried About the Privacy of Your Messages? Download Signal" which implies that only some people should be worried about privacy.

You'd think that the revelations about the NSA, things like the UK law that requires ISPs to collect and store your Internet browsing history would have more people "worried" but yet it's still pretty much a lost cause to try to explain to smart friends why this stuff matters.
> we are currently experimenting at HN with a week of no politics

Not any more: https://news.ycombinator.com/item?id=13131251.

I assume your post is sarcastic; that tends not to lead to substantive discussions here.
Haskell Programming From First Principals
I meant coward in a more technical sense of a leader who won't stand by their decision and caves to pressure against it, rather than actual argument, and supported that position within my comment -- no different than saying poor judgment. It certainly was not an ad hominem argument, and not the main thrust of my comment.

I think that many readers are simply being uncharitable in interpretation because they don't like the message.

That aside, Ill omit such language in the future (though Ill leave it here for posterity sake).
IANADoNTL (I am not a Dutch or Norwegian Tax Lawyer), but I bet there's a ridiculously complex set of rules governing what constitutes 'taxable food'.
I've interviewed twice with Amazon and came away both times with bizarre stories to tell. Some great people work there but I wouldn't want to with the folks that interviewed me!
It may end up that even Google can't afford to be unfocused - if they do end up losing their search engine ad revenue because it and standard websites become less relevant it'll probably be what's pointed at.

You can see their disorganization in their software and products - letting ideas like Google Voice that were ahead of their time languish until iMessage comes and takes over, lots of failed software launches etc.
It feels like this generation has never had to use Windows 3.1 Or maintain an event loop application long term.

There are good reasons we went to thread based models - developer productivity and safety. Event loops are fine for toy demo's, or very carefully managed products (trading systems, NGINX) but not for use as general purpose hammers.

Every single bit of extra friction and cognitive overhead costs you dearly a few years down the line. We scrambled away from this stuff as soon as we could, and there's no good reason to go back.
I went with a Xiaomi Mi Band 2. My main desire was for sleep tracking and Google Fit integration. It was dirt cheap and it's comfortable to wear while sleeping. The Xiaomi app integrates with Google Fit. I also have the Xiaomi smart scale, so I have been able to push all my info into Google Fit fairly seamlessly.
True. That said, Apple's phone was successful against established manufacturers, and Android won without having to build a phone at all.
What do you think can be a new business model for airlines?
Ok so name a few of the "OS on many platforms" in which one absolutely can't replace the standard library.
Dinosaur tail trapped in amber sheds light on evolution of feathers
Phage therapy is very promising but it's labor intensive and specific to each particular infection. That also poses a monetization problem for pharmaceutical companies who prefer to create a pill that can be universally applied to many patients, which is perhaps why it is not more widespread.

But, it is currently practiced in Poland and Russia.

https://en.wikipedia.org/wiki/Phage_therapy
In both ways at the same time.
I wish you could go on more :)
Well, there's vimshell: https://github.com/Shougo/vimshell.vim
Microsoft 2017 event lineup
I tried vimoutliner (and some other org-mode clones in vim) shortly after I switched to emacs and learned to use org-mode, and found that these clones weren't anywhere near as powerful as org. As far as I know, there really is no substitute.
I especially love the algebraic nature of LEGOs. Something the designers took care to respect over the years. Many things combine mathematically with so many other parts[1]. Sometimes in twisted ways, sometimes in absurd ways.

- http://www.htxt.co.za/2016/08/08/local-master-builder-shows-...

- http://www.themarysue.com/bendable-lego-geometry/ (tolerance based curvature?)

- http://brickset.com/article/23288/the-geometry-of-the-new-11...

There are a few pdfs listing the linear and angular ratios, can't find them right now. Enjoy your google fu.

ps: for the sheer epicness of it https://www.reddit.com/r/lego/comments/4gmsfp/finished_my_gi...

[1] and as programmers I'm sure you enjoy that ;)