skysight-inc/HackerNews huggingface dataset:
Cheesily copied-and-pasted from 99-bottles-of-beer.net (http://www.99-bottles-of-beer.net/language-mumps-415.html):

Mumps is now called M or cache but it was originally called Mumps.
See http://www.camta.net/aboutm.htm

; The following is a single line of code
beer ; Randy M. Hayman (haymanr@icefog.alaska.edu)
for i=99:-1:1 w !,i," bottle",$S(i=1:"",1:"s"),
" of beer on the wall, ",i," bottle",$S(i=1:"",1:"s"),
" of beer.",!,"Take one down, pass it around, ",
i-1," bottle",$S(i=2:"",1:"s")," of beer on the wall.",!

I've written compilers for GNU Make, and I've translated C into Perl, and that still makes my eyes bleed... so, as far as I can tell:

Commands can be abbreviated down to a single letter, so w = WRITE. Multiple commands can be glued together with whitespace. Strings are as normal, but ' is the not operator. There is no => or <= operators; use `< or `> respectively. There is Javascript-esque dodgy implicit type conversion from strings to ints, but dodgier ("aa1"+1 is 1; "1aa"+1 is 2). Commands can be suffixed with a colon and a boolean expression and they'll be executed conditionally. $ precedes a function call. ! is the OR operator, except in a WRITE command where it prints a newline. The @ expression is the equivalent of eval(), and yes, all your local variables are in scope when it runs. $test contains the value of the conditional in the IF command most recently in scope (as distinct from conditional execution). ELSE is a statement which executes the rest of the line only if $test is 0. Putting IF and ELSE on the same line doesn't work (imaginary cookie for anyone who can guess why). An extra space is required between commands if the first command takes no arguments. Variables are global unless declare local.

I believe $S(...) is the equivalent of switch; $S(i=1:"",1:"s") contains two conditions; if i=1, then ""; otherwise if 1, "s" (1 is boolean true).

The break statement is called QUIT. The return statement is also called QUIT. The BREAK statement actually drops out to the debugger. The quit statement is actually called HALT. the sleep statement is called HANG.

If a global variable is preceded with a ^, it is persisted by name to the database; some versions have transactions. Arrays are key/value sets with many indices. The docs say that trees are common, using a syntax like ^mytree(path,to,tree,node,from,root). ...which is actually quite cool.

I am torn between admiration for people who can get useful work done in this, and horror that such a thing really exists in a non-ironic sense.

All that's from: https://www.cs.uni.edu/~okane/source/MUMPS-MDH/MumpsTutorial...
Unless I missed something, none of these are capability-safe designs, whereas Sandstorm is capability-safe on the wire up to the edge of Capn Proto.
Hard numbers are ugly numbers. This is important stuff.
Ask HN: Data scientists, do your skills help you make decisions about your life?
As a person who has a really bad time when it comes to making important decisions (i.e. tons of pros/cons tables and spreadsheets only provide a marginal rational help) I was wondering if studing data science would help me apply the tools of the trade to my own life's decisions.
Ask HN: Do you keep track of personal growth? If so, how?
What does that have to do with the subject? I seem to have scored a critical miss on my reading check.

Do you mean that there is an immigration problem in Flint, Michigan?

This data answers a simple question: is immigration a net gain or loss for the economy? Data seems to indicate it is a net gain. Is it evenly distributed? It is indeed a real problem, with or without immigration.
What do you mean with personal growth?
> They claim to have forensic logs of his laptop of him downloading them and copying them to a memory card

Sounds like a farytale to me, unless those logs are captures and stored independently then otherwise anyone can claim having any kind of evidence against anyone involved.

Besides, there might be many reasons of him doing that, let the backup be one.
Only a small amount of that $647 million was going to Caltrain electrification. It was wrapped in a boondoggle of an omnibus transit spending bill. The real political battle here is to limit Federal spending on CA's ill-routed HSR.

The Democrats are free to introduce a clean bill with just the Caltrain electrification funds. A clean bill (funding ALL of it, even) would sail through Congress.
Interestingly, I'm transferring into the Software Engineering BS and opted not to transfer into the Computer Science BS because on top of a year of calculus, Computer Science BS requires a year of Chemistry, Biology and Physics. So...the Software Engineering degree is just calculus and programming.
Ultimately a cryptocurrency, like many things, is only worth what people are willing to pay for it. If people decide to stop using Old Etherium and switch to New Etherium that works the same and where everyone except the hacker get New Eth for their Old Eth, there is no way to stop them.
Berkeley lost a lawsuit saying their courses were not in compliance with the ADA. They're taking a lot down in response. The people over at /r/datahoarder were working on getting them archived on Archive.org, though.
The rate of rejections does not actually tell you anything about the effectiveness of the court.

Related fallacy: there is not a standard ratio of people who should fail school tests.
I don't really get this blog post.

Why couldn't his father self-teach some other languages? He doesn't need professionally taught courses, just a couple of books from Amazon and he would be able to get some projects up on Github to pad his resume. I can appreciate finding the time to do this while working shifts as a bus driver would be hard but why didn't he do this before it got to that situation?

Sorry if I come across as rude/uncaring but I have seen people working 2 jobs and still be able to self-learn web development with no programming background/education. I don't understand why his father couldn't have helped himself a bit more during his career.
Your comment is premised on the notion that immigration vs. locals is a zero-sum game. It is not uniformly so.

Restrictionists claim: "If fewer Mexicans, Indians, and Chinese came to the US, then American citizens would be better off."

There frankly isn't compelling evidence that this will happen. The number of immigrants using up social services is minuscule and the amount of tax coming from 100s of thousands of H1Bs (and illegals/undocumenteds) is all going into social services used by veterans, American seniors, etc.

On top of this, because immigrants are usually the cream of their own societies and/or have taken big risks coming to the US, themselves and their children contribute via starting new businesses, etc.

This notion that immigration is part of a zero-sum game is likely flawed.
I've been doing iOS and Android for about 6 years. My latest project uses React Native. We just finished an app for both iOS and Android that has over 100 screens and did it in only 3 months with a small team. So I'm a good authority on this subject.

I found React Native to be a mix of joy and frustration. I was amazed at how quickly our devs, who came from the web, could build polished screens that performed beautifully. Then I would become baffled at how, for example, you couldn't do a background upload in React Native. Here - it does is upload a file in the background: https://github.com/Vydia/react-native-background-upload

In RN, you have to connect JavaScript to native code with "bridges". If a bridge exists for, say, getting GPS data, you are fine. But if it doesn't, welcome to the club. I finally became relatively adept at writing these bridges, but I would have much rather have spent that time writing code for my app.

Their build system is weak. For example, the build scripts hardcode 'dev mode' unless you have a build scheme in iOS and Android called 'release'. It felt like nobody else had built RN apps that have beta and staging environments. Crash reporting sucks and we finally got it working with sentry.io and some custom build scripts to upload source maps so we could get decent JS error reports.

But that stuff will go away in time. I was blown away at the progress we made. It was painless for web devs to jump right in an be productive. So for us it's a net positive.

If you're starting something new, try it out. Make your platform choice carefully. RN isn't the only game in town. See what works for you. And don't get fooled into thinking that you don't need any native knowledge to make an app. Maybe hello world, but nothing industrial grade.
> It's a limitation of C++. The reason is to avoid breaking interoperability with C and the hosts' existing calling conventions.

Nothing to do with that. Stackful coroutines in C++ have existed for decades and are proven technology. In fact the push for stackless coroutines is because they are perceived to be better optimizable.

> They probably made the right decision.

no decision has been made, while MS proposal is in a more polished state, there is a lot of pushback and the other proposal is still under consideration.

> C++ is already heavy on dynamic allocation

what??
This article is from 2016.
It depends on your market power when negotiating your contract. Most employees don't have enough market power to negotiate anything more than a week severance pay.
Patterns of Software: Highlights
Ironically, there's now a backport of React Native back to the web, which renders the stock React Native components using vanilla <divs> and <spans>.

https://github.com/necolas/react-native-web

If you're doing cross-platform prototyping, it can actually be easier than writing the app in React (or vanilla JS) and then porting to React Native, because the React Native elements are at a slightly higher semantic level of abstraction than stock DOM elements. The markup it generates is pretty atrocious, but if you just want to get something up on the screen, you can work out your design compromises first and then optimize it.
Major releases in SemVer can break the API, yes. But the alternative a lot of people would like, which is what SemVer contemplates, is to have a distinction between releases that add features without breaking the API, and less frequent releases that break API. For example, following this 4.0.0 release, in the SemVer model there would then be a series of 4.1.x, 4.2.x, etc. releases that add new features with backwards compatibility, followed only sometime considerably later by a 5.x.x that breaks API.

However, this isn't how LLVM does things. Instead, there are pure bugfix releases (4.0.x) with no new features, followed by relatively frequent releases that both add features and break API (4.1.x, 4.2.x, etc.).
I would think COBOL jobs are probably secure, they are not going to get rid of you quickly with few people available to replace you, but they are not abundant.
There are a few communities that have a slightly similar spirit in some of the aspects, but I don't know of anything like Newgrounds (except maybe Newgrounds itself)

soundcloud and codepen.io are the only things I can think of that come even remotely close.

Edit: There're pico-8 and https://itch.io/ of course, these are coming a lot closer to Newgrounds. Neither have the same target audience as Newgrounds had though
U.S. State Department: Getting Paid $400M While Rejecting Visitors
Add Offline NLP to your Calendar/task manager app with new ApexNLP library
One thing no one seems to talk about: a large chunk of the Uber drivers I've encountered are also Lyft drivers.

If large chunks of people ditch Uber, Lyft could stand to grab the lion's share of the market.
He's storing both. Actually that's what I did in a system to store events. Clients sent both their local time and UTC. UTC was used to sort events and local time to display the event time to users, in the time zone the event was generated into, forever. I think I also stored the UTC timestamp of when the server received the event.
> He did eventually realize this and sought employers who would train him

I can't understand that. Modern programming is not like engineering nuclear reactors or driving mars rovers. All you need to learn is a cheap laptop, mediocre internet connection and passion to learn it.

Just apt-get python/R/whatever and start writing simple things, then more and more complicated, then your own projects (make your own home automated, after all), and after a year you'll be able to find an entry-level dev job.

> bought a book on Java but the life of the poor is hard, and erratic bus driving schedules coupled with living paycheck-to-paycheck makes learning programming hard, especially without a decent computer.

Oh cmon. It's the same bs as "girls don't become programmers, because of males/stigma/gender-language". If you have interest in programming, you'll learn it, and won't stop at some "it's enough for resume" level. I, personally, learned C++, being in army, with night shifts, drills, living for $150 a month, just because I loved it and used every hour of my spare time to explore it.
Contrast that with the problem for Sandstorm if they couldn't figure out how to fund the effort.
> It would be nice if all surveillance could be traced back to FISA warrants

However, there is an audit trail in the system. As an investigation will occur on this matter, I am sure that cleared representatives will have access to this for review.
It must be very confusing and frustrating for the guy. It's just like Enron: all that behavior is super wonderful and exciting and disruptive and rewarding, until suddenly it's not.

The kind of person who does this stuff, really doesn't understand even the concept of 'crossing a line', or indeed legality. Hence, it seems to them really offensive that anyone should get in their way, and up TO that point their self-confidence carries them and helps persuade others that they're the golden boy.

The real lesson is 'how did we get here in the first place'. It's easy to bust the biggest megastar and make a story of hubris and disastrous, Icarus-like fall, but isn't it the very same system that put them there at that valuation?

The rule seems to be 'Seem like the biggest monster around, but if we catch you actually BEING it, you're busted'.
In-App-Messaging vs. Push Notifications: What Are the Key Differences?
Thanks. Those are pretty significant advantages. These things should be on the home page of the project. That's how smaller projects gain share.
Why are you being mean?
Great question!

Until recently, Google Cloud didn't have reserved instances. Interestingly enough, last week they introduced their version of it called "Committed Use" pricing.

Here's what it looks like for 2 CPUs/8GB RAM (numbers below according to their documentation page):

AWS
On-demand = $69/month
1-year = $53/month
3-year = $47/month

GCP
On-demand = $52/month
1-year = $31/month
3-year = $22/month

So GCP is cheaper even considering the reserved instances!
For context, this is a special case of Haskell's monads, which was also adopted by languages like Swift.
Neat story.
It seems almost universally better? I can't think of any acquirer that would be more successful with Sandstorm than the founders themselves. Nobody I can think of is aligned with "users own their data" and big enough / cares enough to help Sandstorm gain adoption.

Even Sandstorm not gaining traction with their B2B strategy is likely a blessing in disguise: with enterprise money coming in they would have felt a hard pull to do more things that enterprises like. No matter how much conviction you have, making payroll often trumps that.

Now, they've proven that the enterprise route doesn't work. My hope is that the project can continue to improve and gain traction to the point where it sets up or joins a foundation, then potentially try to restart a complementary commercial venture on top of that.
BTW, GCJ was recently finally removed from the GCC code base. I think it hadn't been maintained in a while.
With off shore accounts, dark pools, HFT, and an excess of money, one can imagine there are loop holes.

https://www.bloomberg.com/news/articles/2014-07-23/don-t-tel...

http://www.npr.org/2013/04/09/176579895/to-find-insider-trad...
Sorry you feel that way, are there any points you disagree with?

I'm in no way affiliated with or remunerated by Google. I've just spent a lot of time in the past comparing both and wanted to share that with the community.
Definitions change over time.
Like Steffan said, this is old news. If it's easy for people to get physical access to your machine - which is the case for a laptop - then you should encrypt the disk. I don't know the reasons why Apple doesn't do this by default (legacy? performance?) but they don't.
Have they even started on Pacheco yet? All this talk about San Jose to the navel of the world in the CV is hot air without it.
Yes, well spotted, it's also the same argument you can use for literally anything else, until all you're left with is a state's right to decide on whether to enact a plastic bag tax or not.
And to engage with the community you use a throwaway account?
> What does this mean for iSmartAlarm? Not much probably. People will continue to purchase "Smart" devices as long as it is popular and trendy.

An interesting read but isn't it kind of missing the point? Most people running a home grown security system via one of the main IoT hubs just want basic security against your average smash and grab criminal. They aren't doing it because it's "popular and trendy" - it's a relatively easy way to monitor your home without the cost of traditional home security systems.

To be clear (i.e. avoid the usual negativity of IoT thread on HN - "No one should use IoT because it's so insecure!" etc), personally I think this type of breakdown is something that should be encouraged - hopefully it'll push device manufacturers towards making more secure products. iSmartAlarm is being sold specifically as a security system so they should be open to criticism if they aren't any more secure than a basic IoT hub with a few sensors...

It would also be interesting to see similar analysis against COTS/commercial grade security systems.
Because it became /r/The_Donald's de facto mascot and /r/The_Donald are all alt-right neo-nazis of course and the ADL classified it as antisemitic. Ignoring the very disclaimer they add that "not all Pepe images are symbols of hate speech".

Nevermind that outside of political circles and people who take The Internet way too seriously, Pepe is just a stupid meme that has transformed from "Sad Frog" to "Woznak's friend" to "Betrayer of Woznak" to "Smug Frog/Pepe" to "Rare Pepe". And due to its prevalence in Chan Culture became a stupid meme to tell Channers from Normies (REEEEEEE) with the red Pepe with the wavy tongue. Honestly that meme has transformed quite a bit over the years.

I'm convinced anyone who thinks Pepe is a symbol of the alt-right has no idea that The Internet has its own cultures and subcultures. It just so happens that 4chan and /r/The_Donald have a huge cross-section of users. No surprise that many 4chan memes are prominent there.

The worst defense I've seen are images of Pepe shopped to be Hitler/a Nazi. FFS, you can find the same for Mickey Mouse and Hello Kitty - or nearly anything actually. Shopping something into Hitler is common.

Makes me think if /r/The_Donald chose a Gay Pride or LGBT Flag as their "official flag" if it would cause people to second guess if someone supports LGBT or is an alt-right neo-nazi sympathizer. Talk about extremism.

E:

Just noticed your name and I feel you weren't asking your question seriously, but have a serious answer anyway, Mr. Jimmy Rustles
Linux Sucks 2017
The initial plan was to go from Stockton to Fresno. They only extended it to San Jose when people complained about how useless that would be.
Actually, it is -- it's interesting that many excited "users" of the software might not actually understand what it is.
If a user flags incorrectly it is up to the moderators to moderate. Not for other users. Note that I said 'as far as other users are concerned'.
> the Grauniad is hardly an unbiased source these days

The surveys in question were compiled by Markit.

>> Sure, and I'll bet it's possible to find statistics that prove the opposite if you look hard enough. Not to mention the fact that as things change, so the country will adapt.

> we can choose what low skilled workers we let in

You seem to have missed the point: they don't want in, they are already leaving:

The June 23 referendum vote to leave the EU has already affected Gorton’s business: About 10 of his Eastern European employees have gone home.

“They were coming to us the next day and saying, ‘Crikey, this is not good for us, we’re not wanted in the U.K.,”’ he said. “Within a week of the vote, we saw people leave and go back to Poland and Lithuania. Ever since then, it’s become a lot harder to find the people we need.”

>> So then we have to pay a little more for our fruit and veg. I'd be more than happy to do this if it means we are not sending billions in CAP money towards preserving the bucolic complacency of rural France.

> your third source contains only predictions about the return of Polish citizens

Based on trends already observed.

>> Oh no, the Poles are going! Well I suppose that means indigenous Brits will be able to see their doctor in a timely manner, and the first language in our school classes might revert to English again, etc.

> your fourth source reflects a mixed picture

Because it covers the period in the year to September, i.e. only 3 months after the referendum vs 9 preceding it. The trend break is quite visible in the chart:

https://interactive.guim.co.uk/charts/embed/feb/2017-02-23T1....

>> I wouldn't put my mortgage on it: 'Note: 2016 data is provisional'
Humane or inhumane behavior has nothing to do with economic circumstances.

You assume some people have a right to the infrastructure of a particular country, for example competing for certain jobs, while others don't. It's very hard or even impossible to make that case without referring to very subjective morality standards.
It seems to me that you're repeating the mistake that caused Java AWT and Swing applications to feel foreign on any mainstream desktop system.

https://news.ycombinator.com/item?id=8965349

A pure-JavaScript implementation of navigation might feel almost native on today's mobile platforms if you work hard enough at it. But will it feel native in the next release of the OS? And does it feel native for all users? For example, when a user of the VoiceOver screen reader on iOS navigates to a new page in your app, do they hear VoiceOver's "new screen" sound effect, as they do when using a real UINavigationController? Also, VOiceOver has a special gesture for going back. Will that work in your nav implementation?

My point is that when you start with cross-platform and try to tweak and tune it until it's native, you might miss some subtleties, and it might still not feel native to some users.
Let me rephrase your own statement from another perspective:

"I, personally, learned C++, being in the army at 20 something years old, with night shifts (for which I had incredible energy being 20 something years old, living for $150 a month (because I didn't have any kids), etc..."

I think you see where I'm going with this.
Working in the space (Disclaimer: I work for Honeywell) I can tell you this is one of the things that is really hard to communicate to customers in terms of IoT:

You get what you pay for in some respects.

Some of these products are more expensive than their counterparts because of the amount of time and effort put into security and overall design of the product.

But if I see a deal online for $200 home security DIY and my closest pro install costs $X over Y years, the actual technical security of the product doesn't come first in a consumer's mind. I know until I worked in the space, I can't say I thought of it either.
Why not just use Bitcoin? [0] [1]

[0]: https://en.bitcoin.it/wiki/Contract

[1]: https://curiosity-driven.org/bitcoin-contracts