skysight-inc/HackerNews huggingface dataset:
> What is it about nutrition that makes people resort to ridiculous hyperbole like this?

A 2017 study published in the British Journal of Sports Medicine.

http://bjsm.bmj.com/content/early/2017/08/23/bjsports-2017-0...
Show HN: We just 3D printed a home for the developing world
4 Reasons Why Learning Beats Experience in Startups
Read it again.
Fantastic answer. In other words: learn to code yourself, first. At least, you will be able to pick a tech co-founder better.
When I saw what you were doing I thought "oh so you point your phone at the sky and it shows commercial planes around you as dots over the horizon" (or something). Then I saw the living room visualization and I realized that's not what you meant by AR. That could be a nice feature though (just a suggestion).
Agree with the sentiment, but there is a valid point to be made about the addictive qualities of sugar vs cocaine.

https://www.ncbi.nlm.nih.gov/pmc/articles/PMC1931610/
I forget what the term for this body type is, but basically; there is a type of person who's body turns food into calories extremely well. This is beneficial to the brain, as it is a huge consumer of calories.

The downside to this body type is that the brain is always very active; it always has lots of calories to draw from. Makes for great programmers and problem solvers, but also leads to poor attention span and insomnia.

So my theory is that marijuana is a dampener on the brain for these people. It doesn't improve insulin control, it's just that people who like to use marijuana tend to have fantastic insulin control. The logic being good insulin control = noisy brain = marijuana use.

I don't think you could prove this, you'd need some way to quantify noise in the brain.
Hey, if you're curious about anything else I wrote in that blog post, just ask me. I thought the concurrency was a big highlight, but there's lots of other parts of D that I would love to talk about.

As I said, the whole thing was very enjoyable. I had lots of fun using D.

:-)
You don't have to use .NET 4.7 to get that feature. What you can do is to add a reference to System.ValueTuple NuGet package. Once added, value tuples are there to bring the goodies to your code and business.
Or you know, maybe not have a WW3.

If we're still so behind as a species (a species which is supposed to be the most intelligent btw) that we're still fighting from behind our divisions (Geography, religion, ethnicity and so on) why do we even merit a do-over?

And yes, I'm being serious. Generation after generation we still live our lives buffeted about by "the way things are", led by saber-rattlers in a biggest nuke contest. If we all collectively can't get it together given all of the knowledge we have at our fingertips I think we might be done.
Important to point out Elixir as well, which is touted as a "more modern" way to write code that runs on the Erlang VM (so you get the same concurrency features, etc.)
> Why is the rural minority so special?

It's not about rural vs urban. It's about the assumption that the US is a union of separate _states_ with separate legal structures, cultures, etc, etc. So it's not the "rural minority" that's special; it's states that are special.

Now you may disagree with the premises there, of course. But if one accepts the premises, then one needs a way to prevent "big" states from just imposing their will on "small" ones.

(There are in fact people who argue that black Americans need disproportionate power, and some voting districts are set up to effectively produce that, but that has nothing to do with the setup of the US constitution per se.)
Ah, you mean "reticle". Thanks for clarifying. (A reticule is a cute little bag -- https://upload.wikimedia.org/wikipedia/commons/thumb/8/80/Re... )
The abandonment was triggered by the shogunate having a large amount of control over anyone wealthy enough to own a gun. Afterwards, the military certainly embraced gun culture, but civilian gun culture largely rises from colonialism.
Vacuum fill fountain pens can be safely carried in airplanes, like the Pilot Custom 823 (which is good but somewhat expensive for a travel pen) or the TWISBI Vac700R and Vac Mini.

My favourite ink is the Pilot Iroshizuku take-sumi, but it's not tamper proof if it matters.
I feel like I'm missing something really obvious here, but how to I get it to work without using the webcam? I'm guessing that white box in the top-left is supposed to show something other than a white box?
Hacking on Clang to demystify the temporary objects
This looks interesting! I'm going to take another look at this during my coming vacation and play around together with https://love2d.org/.
Where study sections go wrong: The Four Reviewers of the Apocalypse
Who will steal Android from Google?
It wasn't the day after, but it was less than 10 days after. The students had just started going back to school. https://twitter.com/snmrrw/status/967136708058927104 Also it wasn't an NRA event, but the NRA did speak at CPAC this year.
> I would consider that nobody legitimately uses Linux against Linus's will.

It's Free Software. As long as you adhere to the GPL2, you don't need to take Linus' will in consideration. It's nice if you do, but he can't take back the licence. If he could, it wouldn't be Free Software.
Sorry, I really don't see the "bait and switch" here. IRC/XMPP gateways were never a selling point of Slack. Bots were always supposed to use the proprietary WebSocket/HTTP APIs, and in all the companies I've worked in that use Slack, not a single person used the IRC or XMPP gateway.

Open-source project communities should not be using Slack, if for no reason other than the 10k message limit and the fact that it's annoying to be present in multiple Slacks. I prefer IRC or Gitter for those communities, as they're better designed around the flow of "drop in, drop out" than Slack.
Oh, that's amazing! I'm going to look into getting the kit and setting this up, thank you for all your work. My phone is a Xiaomi, so I don't know if it's going to have problems, but being able to navigate on a front-mounted display would be fantastic.

I guess I can just test it with my TV first, thanks again!

EDIT: Can you write some installation instructions somewhere prominently? I know I probably just need to burn the image to an SD card, but many others won't. I recommend https://etcher.io/, if you want to mention some piece of software, as that works quite well.
Ask HN: Product buying API
If you had an API, to buy products across the internet what would you use it for?
Except we also know that you should be eating strict vegan, paleo, or keto, and for God's sake man, don't touch sugar or cow's milk.
The IRC gateway was also available on the paid plans. Slack have not offered paying customers a discount for removing this feature.
> And yes, I'm fully aware of IRCCloud, a closed-source, proprietary 100% web-based product on top of IRC (all the things that people seem to hate about Slack. Go figure)

My understanding is that many of IRCCloud's Slack-like features are based on the open IRCv3 standard. If this standard ever takes off (fingers crossed...), IRCCloud will have a lot less vendor lock-in than Slack does.
Hubble's tech isn't particularly impressive any more. NRO having 2 spare is more a sign of just how much money is sloshing around over there than anything else I think.
All due respect to Rob Pike, but I think David Batley nails it in his response:

> tl;dr: they replaced a cryptic, undocumented implementation, which starts an entire bash shell just so it can exit, and replaced it by a fast ELF binary, which works like all the others.

/bin/true as an empty file may seem like an elegant implementation and lesson in UNIX, but it's actually slower, and I'd much rather have standardisation and documentation across all system commands.
I think the point is that the article is basing the title that "Intel is fighting for its future" on the idea that they might make a bid for Broadcom to survive. The idea that Qualcomm could invest in cloud and servers and maybe, if lots of things happen in Qualcomm's favor, threaten Intel's server business has little to do with that.

Wal-Mart is investing heavily in ecommerce which could threaten Amazon if they become successful. It's hardly accurate to say that Amazon is fighting for its survival.
In Seattle's underground tunnel, the TBM was delivered from Japan along the waterfront close to its starting point. It was assembled, then lowered into the pit. At the tunnel exit is a highly congested maze of streets. In order to remove the TBM, the 2000 ton cutter head needed to be cut into pieces that would not weigh more than the city's 20 ton weight limit for streets.

With Seattle's design/build contract, the construction company owned the TBM. To them it's just a tool whose cost is part of the construction package.
My guess is that we're simply overstimulating ourselves -- with food, caffeine, alcohol, drugs, sex, etc. In part to support our increased mental activity (work, video games, social media, etc). This would explain weight gain, increased inflammation and tendency to form clots (sympathetic nervous system arousal increases blood clotting, presumably for 'fight or flight' purposes). Hence the benefits of periodic fasting, observing the Sabbath, etc, -- to truly relax and allow the parasympathetic nervous system to kick back in. Hitherto our ideas of what is relaxing have been faulty e.g. watching TV
Absolutely this. Even the base dev environment is often an exercise in madness. I loathe every new iOS version because Xcode will break my code in new and interesting ways, requiring me to recheck every single library I've developed to make sure they still compile (often they don't) and run (almost always they don't).

And then, once I've got that headache handled, I update the version number, type 'pod lib lint', and watch all the new and interesting ways that cocoapods has broken things since I last used it.

Every 3rd party component you rely on is something that WILL break as soon as you need to rebuild your project.
Alternatively, just use Hashicorp vault (https://vaultproject.io)
> Certain companies have all of the power then make a minor miscalculation on the future of technology

It happens all the time, in matters big and small. A company takes a bet on something, it fails, and afterwards people (even on the inside) are scratching their heads and thinking "how did we ever think that was going to work?". Most of the time, nobody outside the company hears about it.

When companies are powerful, their power is generally concentrated in a very narrow domain. Stray just a little outside that domain, and they're just as clueless as anyone else (although perhaps with deeper pockets).
We dabble in Akka - a good option for Java / Scala shops
Ask HN: How important is parallel and concurrent programming?
Currently I'm taking a parallel programming course at school and its required. The course deals with open MP, is this common/useful outside of school? I've had a few internships and it was rare that I ever saw code that dealt with async, waits, sleeping, etc anything related to parallel programming. I'm about to graduate in May and will be working in a role that deals with cloud and Kubernetes and containers. How familiar should I be with parallel programming outside of open MP if any? It seems nowadays instead of spinning up multiple threads, its easier/cheaper? to spin up multiple instances instead.
How does it compare to Go channels? I only know actors from Scala, Go felt similar but more er, simple?
There is also GNU social; which is what Mastodon is based off of. I have been thinking about hosting a server for awhile. Pretty cool stuff.
The best usage I've seen for them so far is around intermediary LINQ query results. Usually you can use anonymous types, but sometimes you can't. It's a lot easier using tuples than having to add a little POCO class for something you don't really care about, or resorting to something ugly like the old Tuple type.
React Router and React Transition Group in Depth
The TPU is nowhere near the reticle limit, don't listen to OP.

193i immersion steppers have a reticle limit of 858mm^2, the TPU is nowhere near that.
Building an Honest Referral Program
"I always felt like getting a degree is such a huge waste of time" is a humblebrag.

There, I said it.
The paper is written by behavioral geneticists and thus merits some skepticism. As another commenter notes, many of their “top 10 findings” are basically statements about statistics.
If Snap is the world’s lens, can Pulse be its ears?
I wouldn't call it my day-to-day, but sure, here are some examples:

1. We have a client component that makes HTTP requests to a server component of ours. We've had production downtime issues in the server caused by filehandle exhaustion. Turns out the client was creating a new HTTP connection for every request rather than reusing connections, and it did that because Go expects you to read the response body in its entirety even if you don't need it, otherwise connections aren't reused. And in many of the cases we thought that we were reading the body in its entirety, for example in locations where the JSON decoder was reading and decoding the response, but sometimes it simply did not really read it in full, despite definitely parsing the entire JSON structure returned from the server. A "bad" net/http client can easily bring down a net/http server.

2. We've had several instances of severe memory leaks, with the Go garbage collector not releasing or reusing memory ever. These were sometimes very difficult to track down with the available Go profiling tools (pprof for example), and even more difficult to understand. And in some of these cases we're still not even sure we understand despite fixing the issues, mostly because our code is not different than examples in the Go documentation itself. For example, we had functions that read a stream of bytes into a byte slice, then cast that byte slice into a string and return it. We would intuitively think that the memory allocated for that byte slice would be released, but apparently the casting performed constitutes an active reference of the data (rather than a copy of it), so the data is not marked for garbage collection. But the most obscure part is that it was never released, even after the cast data had no more references to it. Memory management in Go is very hard for us to reason, despite the language claiming that developers needn't worry about this subject as it is handled for them.

This is just the top my head, I can bring more.
I had a bad interview experience with Oculus. This was fairly early on in their history, before the acquisition and before Carmack joined.

First interview was scheduled at a not-so-great time (I was in a different timezone, which they knew, but didn't seem to care enough to pick a less inconvenient time). My interviewer never showed up on skype. They apologized, rescheduled (I insisted on a more reasonable time). The interviewer showed up quite late, and only one of the two showed up. It went well, but had to schedule a follow up with the other one. That one went well also. We eventually got to the point where I was talking to HR about specifics of the offer, and everyone went completely silent. I tried to follow up a few times, but never heard back. I assume they found someone else, but have the respect to write back.

Years later, I watched one of Carmack's talk and one of his complaints was just how bad they (he had joined Oculus at this point) were at stores infrastructure, discovery
and payment and all of that. Seems pretty clear to me there's problem inside the non-core engineering aspect of the company.
Functional programming and immutable data structures in JavaScript
Hey everyone, thanks for reading. I started Joiner to solve a problem for data analyst: it takes too long to get a traditional data warehouse set up, and the other options for joining across databases isn't great.

Like I mentioned in the article, Joiner can connect Postgres, MySQL, SQL Server, and Redshift right now, plus CSV uploads.

If this sounds useful, you can sign up for the beta at www.getjoiner.com. If not, I'd love to hear your feedback!

- Michael
Nutanix Kubernetes Volume Plugin for On-Demand Choice
The halting problem indeed proves easily that no theory can be complete and sound, but proving that no theory can be complete and consistent is a bit harder. More details here: https://www.scottaaronson.com/blog/?p=710
/s

Some people might consider that a blessing in disguise with Slack.

I'm not sure what the behavior is, maybe best case Slack crashes and restarts itself. You could almost call that behavior a feature of 32bit Slack: "automatic garbage collection"
I was trying to be an infrequent user of OpenGL. People were totally not understanding why amn't I "just writing a shader".

Modern 3D environment is hostile to infrequent developers now that drawing a simple sphere suddently needs a page length blob of code. Or a "model". Exported from "3D editor".
Runes – Fast Go standard library-compatible Unicode functionality
How would the people walking around with cameras on their faces feeding facial recognition data to Facebook inform those who end up in their line of sight that they had unknowingly agreed to Facebook's privacy policy by being there?
WebGL has its share of issues but Unity's WebGL support is probably not great either. I have successfully implemented complex WebGL-based applications with https://www.blend4web.com/en/
Other WebGL solutions like https://playcanvas.com/ and https://www.soft8soft.com/ seem to be promising, as well.
Requires 4.6.1
Embrace

Extend

Extinguish <-- YOU ARE HERE
Can't speak for OP, but my progression went like this starting in 1995:

- Start wasting lots of time in MSN chatrooms

- Parents cancel MSN and switch to local ISP. Mourn loss of chatrooms.

- Discover IRC using the mIRC client

- Start playing around with mIRC scripting

- Get into Linux because that's what the crowd I hung out with on IRC was using

- Switch to epic and BitchX and start scripting on this clients

- Get into eggdrops and start scripting those and then start looking through the actual source code and making changes

- Start writing my own bots

Amazing how much my current career as a software dev is owed to things I learned because I liked "wasting" time chatting online.
Thanks for the link - it turns out it was also not a game where you

> play the part of a deranged mass shooter killing random people on a train platform

It's just a regular shooter game with some novel time-warp mechanics in it, that happens to take place in a futuristic train station.
Show HN: Amino – Like Protobuf3 but Better – Designed for Blockchains
> where you play the part of a deranged mass shooter killing random people on a train platform

It's robots[0] not "random people", but yeah lets not let facts get in the way of your editorialising.

[0] https://www.geeky-gadgets.com/wp-content/uploads/2015/09/Bul...
>Do you know anyone that does?

Surely do, both MS and Amazon.

>What are you basing this assumption on?

It takes a giant effort for ordinary managerial cadres to wrap their mind around of what a web company is and learn the whole model of behavior expected from them. The few who manage to learn some basic technical disciplines and go up in ranks tend to overestimate the importance of their experience.

You meet such people a lot in a dotcom setting. It takes great effort to persuade such person to bother to put efforts to understand yet another mentally voluminous subject that will break his idea of "cool" yet another time.

It is like trying to persuade a prideful child who just learned how to drive a tricycle to learn to drive a normal bike...

BTW, are you from Microsoft?
There actually was some activity in three different branches in january: https://github.com/kskyten/noteshrink/network
Helmet: Secure Express Apps with HTTP Headers
Idunno, Hell could have been a potential source of geothermal energy.

Or maybe it could aid in the discovery in previously unknown energy production methods.
I know people who literally argue that. Needless to say, I don't agree with them. :P
I have made some progress on this as my home project using same compression and scan. I call it DFA - digital file analytics where data/images/scanned documents are sent remotely using Kafka to Hadoop and then run OCR to extract text and compression. If the document is more then 10MB go to HBase otherwise HDFS. Near real-time streaming using Spark and Flink is done too. Visualization using Banana dashboard is not so cool as it shows word counts, storage location, images and tags. Analytics on top of extracted data using ML would like to do next.

More you can find at
https://medium.com/@mukeshkumar_46704/digital-files-ingestio...
Another major source of frustration for infrequent developers is tools & commands that cater to the 10% first and the 90% second (commands that require a bunch of flags/configuration to be set for the 90% use case).

If your tools/frameworks don't do the 90% use case by default, you're doing it wrong.
Coming Soon to a Front Porch Near You: Package Delivery via Drone
> One of the sad things that has come out of Slack's meteoric rise to success, has been how many free and open source projects have jumped over to using it (after previously using IRC or XMPP).

He's definitely honing in on a group of people who should support federated solutions and instead evangelized the opposite. Ironically there's a similar frustration with using the proprietary GitHub service rather than open source git sites like GitLab
I was helping a math undergrad (senior, graduating with honors) from a top 50 university study for the actuarial exam. They were stuck on a question that amounted to "what's the volume of this circular cylinder?"

As I walked them through that, it dawned on me that the problem wasn't recalling or applying the formula, but that they had no idea what x = cos theta, y = sin theta, theta ranges 0 to 2*pi, z ranges 0 to 2 would graph. No idea and no idea how to even begin...
why would [enough people] pay for slack if they didn't need information in a silo?
To be fair, we're on hacker news. There are hundreds of videos on Youtube that explain it better than I ever could in text if you know to actually look for them (and if no one ever told you to, why would you?), and this is not the crowd that would not be able to find those.
Pikka: The missing color picker for macOS
Without the additional text it reads like it's the fault of XMPP/IRC.
This Harvard study & Atlantic article by the study authors give the same 5% completion rate you cited, but give a completely opposite interpretation: basically, that the MOOC broadened access, allowing more people to get what they wanted out of the course.

https://www.theatlantic.com/education/archive/2014/01/the-tr...

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=2381263

"In these course[sic], “dropping out” is not a breach of expectations but the natural result of an open, free, and asynchronous registration process, where students get just as much as they wish out of a course and registering for a course does not imply a commitment to completing it."

...

Also the discussion of the "Colbert Bump", where increased publicity to less-motivated (just curious) students doubled completion but tripled registration (thus reducing completion rate).

Also the point about whether to allow or disallow registration after the course begins (late registrants are ineligible for certification, so they are automatically "failed").

"HarvardX could boost its certification rate by closing those courses to new registrants or restrict courses to those most likely to complete them. Instead, it keeps courses open to maximize the number of students who are learning something new."

I absolutely agree that (at least some) users can be helped by live instruction or supplemented online instruction, but I disagree that commonly cited, low completion rates measure students with the "same level of motivation".