skysight-inc/HackerNews huggingface dataset:
You can just take the original Lua interpreter source code and compile that to asm.js or WebAssembly without changes. Loading dependencies from the web requires an asynchronous reimplementation of the "require" command though, but it's all quite trivial. The result is about 100 to 150 KByte compressed. The only downside (beside the added size) is that the Lua code is still running interpreted, not JITed. That's why I think that a combination of WebAssembly for performance critical code, and Typescript (compiled to Javascript) for the 'scripting part' makes more sense than WebAssembly+Lua, since this doesn't have those downside (no additional size overhead for the interpreter, and the JS will be JITed).
Most importantly I can't work out what the hell it means or what it has to do with Marx.
I type on glass without autocorrect. I use that bar of predictions above the keyboard, which occasionally suggests words that slightly differ from what I typed, and if I made a typo, I'll gladly accept the correction. But I'd never use a "feature" that changes what I typed after I already moved on to the next word. I wouldn't call it painful, but maybe I'm unusually good at hitting the intended key most of the time.
Show HN: Simulate a lifeform in the terminal
I feel like you'd look positively ghoulish if you pulled out of Germany because of the privacy laws after cooperating with Pakistani authorities who are executing people for making posts on Facebook they deem blasphemous. http://fortune.com/2017/07/07/facebook-pakistan-blasphemy-de...

Also, here's the LRB on Zuckerberg and China (https://www.lrb.co.uk/v39/n19/-huangyuan/national-trolls):

> FB would be pushed to outperform it, but Zuckerberg seems determined to get into China, and there’s no limit to his prostrations before the leadership. In 2016, in an attempt to win their hearts, he jogged with his entourage in Tiananmen Square in heavy smog (pollution index 300+) without a mask. In 2015 he humiliated himself by asking Xi to name his daughter: no luck. In 2014, when he hosted our former internet tsar Lu Wei at FB’s headquarters in Menlo Park, Xi’s book The Governance of China was conspicuous on his desk.
could you elaborate on this point? what you're saying sounds like dynamic programming, which does not reduce the state space at all, just saves on redundant computations (and is a favourite of programming interviews everywhere)
The article talks about how the chord was a mystery and the ways people tried to find it... but it doesn't tell us what the chord is!

I now know there's an F on a piano that's one part of it, but what about the other guitar parts?
This isn't Windows Phone that regular users are okay with being abused and know how to install the beta[0]. It's also kinda ridiculous that anyone is suggesting running something that Apple clearly doesn't think is ready for prime time to fix bugs.

[0] Believe me I wish it was. everyday.
I am a fan of contemporary localizations of old texts, since contexts change so much throughout the millenia.

Id think that in this globalized age much-traveled doeant have the same connotations of wisdom and adventure and loss as Homer’s word, and some other word might need to be used to bring it into context
Steve Jobs died.
Unless this has been changed, this only occurs if the app agrees to it, making it entirely pointless. A malicious app needs only to target Android 5 and gets free reign over the phone.
Your brain on psychedelics
Why does criticism of anything regarding Apple always start with "I love Apple but..."
Two billion people use Facebook a month. More than a quarter of humanity. https://techcrunch.com/2017/06/27/facebook-2-billion-users/
Record linkage is conceptually pretty simple--it's just deduplicating records (usually of people, in census or medical or commercial or other scenarios) that don't have unique identifiers. It's tough because it's O(N^2) and because you're trying to build a bunch of disparate information into your matching decision.

It's helpful to hear how confusing it is. I stumbled around for literally years trying to build my own solution until finally a kind soul on the Data Science board on Stack Exchange directed me to the Record Linkage Wikipedia page, and I figured out some of the right terms to search for.

I'll try adding some more examples up top and use case scenarios up top.

I'm also hoping to add some info to help differentiate the software a bit more, but unfortunately most of them are barely past the proof-of-concept stage in terms of usability.
Only for certain values of "most". As the author mentions, kernels and embedded applications very often need to have tight control over memory layout.
I'm aware of it because it's the inspiration for the message system in _A Fire Upon The Deep_ (Vernor Vinge).
I wasn't trying to make it a superiority issue. I am very much aware that the same issues exist in the 'analog-world' and that it applies to big German conglomerates as well. It's just that in their case people are more sensible and at least try to hold them accountable. Very few people would argue that Volkswagen is supposed to stand above the law or operate outside of it.

In the case of digital companies or spaces like Facebook this has only recently reached public discourse. Which makes it so much more problematic because they already have two billion users on the planet. It took Volkswagen a hundred years to get where they are now and the way we manage them has naturally followed. We are not up to speed at all as far as internet giants are concerned.
I'm not suggesting that you install the beta. I'm just letting you know that this has been fixed by Apple and will be pushed out sometime in the near future.
These Are Twitter's New Rules for Preventing Abuse and Harassment
If you're automating and outsourcing all the work it would seem to be a choice between ubi or some form of genocide or mass incarceration, so far we are dealing with the shrinking need for human labor via mass incarceration of the former working class but Ubi is actually cheaper than locking up one in ten of the post working class in private prisons for poverty induced crimes
I am sad there are no other comments, the GMT is truly amazing.
Learning that itch.io is powered by Lua was pretty cool. There's a [write-up] about how they leveraged coroutines for async programming which is super nice to read.

iirc, Cloudflare uses mod_lua for a lot of its packet filtering stuff because Luajit is basically magic.

write-up: http://leafo.net/posts/itchio-and-coroutines.html
I don't agree with racism. But offense is irrelevant. What matters is ensuring that all people have equal access to all information so that truth may not be suppressed.

It is foolish, for anyone who cares about truth, to advocate suppression of information or opinions, by legal or other means. Because history demonstrates that, whenever such suppression is legitimized, it will be used by evil people to suppress truth.

Yesterday the cardinal sin was heresy against the church. Today the cardinal sin is racism. Tomorrow the cardinal sin will be something else. Someday the cardinal sin will be your own opinion. Only evil people and shortsighted fools advocate censorship of opposing views.
This requires that the "aging parents or young children" have a modern Android device, which they often do not. Often, they either have a low-cost outdated phone, or an old hand-me-down; neither of which will be running a new version of Android. Plus, it's not uncommon for people to tap through permissions lists. Android fundamentally allows for a lot more to go wrong than iOS does.
I cannot disagree more. The private market would choose to not service lower income neighborhoods. That may be an exercising of their liberty, but it comes at an expense of all the people living in those areas.
This article explains exactly nothing.

You can replace the word TrueTime, with "Magic" and learn exactly as much.
Once considered a boon to democracy, social media looks like its nemesis
Mageek, any reason why they haven't applied this to chess yet?
Several years ago I read [1] a proposal for internationalized domain names from DJ Bernstein from before puny-code took hold. The key observation was that there's nothing stopping you from just using UTF-8 in the existing DNS protocols, but it included a discussion of how to treat visually indistinguishable unicode characters to prevent fraud, which is why I bring it up now:

The proposal was that the TLD administrators should whitelist in non-ASCII characters and generally require that domains are either entirely ASCII or entirely in a subset of Unicode that made sense for their native languages - .ru could allow all-ASCII or all-Cyrillic, .gr could require all-ASCII or all-Greek, .de could allow ASCII plus eszett and the umlauts, and could further require normalized encoding (ü must be FC and not CC 88 75) and consider ö.de and oe.de to be collisions [2], and so on. Weird varieties of spaces, dashes, non-printing characters, accents that are only needed to type Klingon, and so on would never get whitelisted in.

I've always thought that was a great idea, and its a general principal App stores could use too. (Although I realize that app stores don't have as strong a concept of a native language as most TLDs do, which makes it a bit harder)

[1]: Its possible it was https://cr.yp.to/djbdns/idn.html, but I'm not convinced. Maybe it was an earlier revision.

[2]: In German, you spell "ö" as "oe" if you don't have an ö key. German speakers wouldn't necessarily need "ö" and "o" to be collisions.
Amazon Alexa can control multiple devices using routines
Interesting, a TD algorithm, developed by a Canadian AI researcher now working with Deepmind in the early 1990s, was previously used to beat expert players at Backgammon and advanced human understanding of the game:

> TD-Lambda is a learning algorithm invented by Richard S. Sutton based on earlier work on temporal difference learning by Arthur Samuel. This algorithm was famously applied by Gerald Tesauro to create TD-Gammon, a program that learned to play the game of backgammon at the level of expert human players.

> TD-Gammon achieved a level of play just slightly below that of the top human backgammon players of the time. It explored strategies that humans had not pursued and led to advances in the theory of correct backgammon play.

https://www.wikiwand.com/en/TD-Gammon
> Whatever helps people in those places is great!

What fraction of people in those places have access to reliable computing, connectivity and electricity?
It's not formally economically rational to be affected by history this way.

https://en.wikipedia.org/wiki/Sunk_cost
You may be thinking of Journey to the West, which Dragon Ball was inspired by.

https://en.wikipedia.org/wiki/Journey_to_the_West
Surprisingly, they haven't done it though. Wonder why. Is it because of the number of different state changes that can occur from a particular position? Maybe Go is easier to solve than chess.

It would be very interesting to see a computer improve on chess openings.
Yes. It reads gorgeously.
Another minor fix:

> A new paper was released a few days detailing a new neural net

I believe you mean "a few days ago"?
Solving trust 100% is hard. Having people review apps that have names which are within a short Levenshtein distance (accounting for Unicode tricks etc.) of a popular apps' names and banning those apps, the accounts that created them and their suppliers of fake votes is not that hard, especially for a company like Google. And look at those apps' descriptions, they are complete baloney, and any two-bit text classifier which a capable intern can mock up together in a weekend from off-the-shelf components can recognize that. These guys aren't even trying, and still aren't getting caught.

Yes, it may require some monetary investment, but we're talking about $700bn company. They could afford it if they wanted to. If they are not doing it, that means they do not want to.
The capital of "i" in the Turkish locale is "İ" (\u0130). I wonder if it's related to that?
Someone to love, something to do, something to hope for. I keep lists that I add to when I have inspiration because I know my memory is faulty. I meditate on the knowledge that most success is hereditary, the rest is luck, luck favours the hard-working only a little, but it also favours the lazy. We can't all be everything we want to be, and happiness = satisfaction / desire.
you can make one of these yourself now if you need highly accurate (but not completely accurate all the time) time stamps... https://learn.adafruit.com/arduino-clock/overview
Beware of False Hope Syndrome - if you don't break down your hopes/goals into realistic steps you won't know if they are achievable.
It a conspiracy theory. The gist of it is that the government, the media, academia, and any other institution with authority, have been infiltrated, and are now controlled by communists who use this power to brainwash the country with social liberalism and progressivism. And when I say "communists", I mean Jews, sometimes rich capitalist Jews, like George Soros, who, according to the originators of the conspiracy theory, are also secretly communists. The end goal of these supposed communists, is to sabotage Western society, by spreading these, according to them, cancerous ideas.
The recent paper on Spanner has some details of how it is used if you are interested.

https://static.googleusercontent.com/media/research.google.c...
I had a client ghost on me in this way. My contact at the company left and I had an outstanding invoice for four figures.

I sent them the late invoice every two weeks for four or five months (while I went on with other work). I always was courteous and asked if hey had any questions or concerns about the invoice. I also reminded them it was past due.

I did send them a Christmas gift (box of chocolates) and I think that is what finally pushed them over the edge.

They paid me.

It was a hassle and I wish I'd gotten a deposit upfront.
http://allafrica.com/stories/201704251054.html

THERE are currently 960 million mobile subscriptions across Africa - an 80 percent penetration rate among the continent's population. Internet penetration is at 18 percent with 216 million internet users, according to the latest Jumia mobile trend report for Africa.

I don't know if mobile subscription includes data but you have Wifi at cafes and such.
What may look like decoration to English readers e.g. the ä in häagen dasz or ö in Motörhead, are actually distinct letters in languages that have them. Disallowing display names because another one exists but without diacritics and the like is just asking for a ton of manual review. And how do you handle scripts that only use ASCII for English loan words, say Chinese, Japanese, Thai, Arabic, Russian and Indian scripts?
Privacy doesn't seem to be a real concern for people in first world countries (though I believe it should be.) There isn't a negative correlation between quality and using advertising. Online advertising is just outside of the Silicon Valley bubble where everyone burns VC capital instead of building a profitable business from the start.

As for the lucrative nature of advertising, and it's future - I see it being diminished, if for no other reason than people are increasingly using ad blockers. Why are they using ad blockers? I think for most people it's just about the visual clutter that ads create.

Online advertising is moving towards server based technology as the insanity of header bidding comes to a head. This will mean an increasing number of ads being served with less information about the end user (server based ads still allow for defining user information, and user cookies will continue to exist for users who aren't blocking ads.)

I think advertisers should focus more on native ads -- embedding ad content directly into the existing application's UI -- instead of building their own creatives, and develop some model for determining CPM partially based on how it looks in the app. Part of the reason why people hate ads today is because they look like ads. The more work publishers can put in to making ads look nice on their website (within the applicable regulations -- ads should still be labelled as such), the more likely I think people will be in accepting them.

As for subscription models.. yeah, they're gonna grow - but they're not a perfect solution either. Google has a backup, Google Contributor, which I think is a really interesting idea (and Google isn't the only company to execute on that idea) but it's still really hard to get people to assign value to a website visit.
Mushroom foraging is quite popular where I live. Free, organic, protein-rich nutrition in abundance from the local forest. But it's a delicate hobby: knowing between the species is a matter of life & death.

For example, destroying angel is a common, fatally hepatoxic all-white cap. So the rule is you never pick any white mushrooms at all; chance of misidentification is just not worth the risk.

But for example chanterelle is very delicious and there are really no toxic mushrooms that look even remotely like it. So anyone can forage for the chanterelle. It is heavenly in risottos and pastas.
You might find this interview with Fagles (who was acquainted with Fitzgerald, it turns out) as interesting as I did:

https://www.theparisreview.org/interviews/930/robert-fagles-...
I wasn't, having never read it. Anyway after the first 13 episodes Dragon Ball had little to do with Journey to the West other than sort of having an analogous cast of characters, most of whom eventually fell out of the spotlight.
2008: https://news.ycombinator.com/item?id=347231.

Pretty sure there have been other HN threads about this too...

Edit: 2014: https://news.ycombinator.com/item?id=8749450
I guess that explains the puzzling references I've seen to Marxist bankers.
Maybe because 99% of the world cannot afford even pre owned apple phones.
BIG BOOB Struggles Only Girls Understand – Annoying Things Girls with Big Boobs
I think I have miscommunicated. I'm saying that an ideal society should be one where mishaps and bad deeds are assured to result only in a temporary poor quality of life, and that good deeds result only in a temporary good quality of life. That is, there is negative feedback, or homeostasis.

Poorly-regulated capitalism doesn't provide that. Capital begets capital as capitalists become more able to invest in high-risk high-reward projects, leading to a positive feedback loop that is an anti-equalizing force.
Completely agree. My point is that readers should not stop reading at this source, and to keep digging, as this isn’t the “answer” to valuation.
Hah! Qarnot is a good name for this: https://en.wikipedia.org/wiki/Carnot_heat_engine
And also a relatively small product line, which should make quality control easier. Although the product line has grown a bit lately.

I find it interesting to note how the quality of some Apple and Google software products is declining lately. Google Hangouts is a total buggy mess. And Gmail is worse than it was some years ago. It seems that big organizations inevitably get more disordered as they grow and age.

I wonder if this can be avoided or mitigated.
It's not a direct answer for you, but here's a long (40m), popular, talk that seems relevant. Mike Monteiro: F*ck You, Pay Me (explicit language). If you're interested, I'm pretty sure its been posted here a few times with discussion. It's actually a good video to watch periodically.

https://creativemornings.com/talks/mike-monteiro--2/1

If you want a specific answer, skip to 11m20s
Please don't post generic ideological boilerplate here. Such discussions all lead to the same few black holes (whence no thread returns) and those are what we're hoping to avoid.
The significance of the distinction depends entirely on the use case.

Yes, they’re both created with clone, but with different levels of sharing. A pthread will share the virtual address space of its parent, which makes shared memory simple to implement; use the same pointer and you’re done. CoW is not “sharing” really, because you can’t communicate over it, it just saves some creation overhead.

With CoW, technically nothing gets copied initially, but as soon as the new process starts executing, it’s going to start copying the stack frame and any other regions it’s using. With a pthread you can be certain it will just copy the stack.

Context switches are usually cheaper when you don’t need to throw out the old virtual address space (and invalidate the Translation Lookaside Buffer). Pthreads share virtual address space, so there is no need to flush the TLB.

In a use case like Postgres, you don’t necessarily need to optimise for context switches. If you have a lot of concurrent connections, each of which has one process, then you’ll only hit limits with context switching overhead if very few of those connections are fighting over any locks or spending much time in IO at all. This is atypical, so usually those other factors hit you first.
That's one reason I love Clojure, really nice tooling through IntelliJ + Cursive.
>the days of mainframes

Those days aren't over. Mainframes are still in serious use, at least in banks, and (I didn't know this until going to find the following link) apparently also have Blockchain support: https://www.ibm.com/us-en/marketplace/z14
Should have a 2012 in it. Can someone clarify something for me. The GPS part gets talked about a lot in these articles, but it's never been clear why. Does Google go as far as putting a GPS receiver in every server? If not, what is so special about this? (People have been using GPS as a time source on networks for decades. But the way articles talk about it, this is super-duper novel.)
Taking to an internet forum to vent personal grievances is a shaky business. The audience is ever-eager for red meat, but that doesn't make it ok. There is also the question of how low you really want to go. And HN has rules that you need to abide by if you want to comment here.

Here you go below what's acceptable by HN's civility rule:

> The CEO of Freelancer.com is a complete jerk.

And here the bottom falls out altogether:

> gossip going round that the CEO had sex with a female employee and she got pregnant

Please don't sling mud like that here, regardless of how disgruntly you feel or how justified your grievances are.

https://news.ycombinator.com/newsguidelines.html
From the primary IPFS paper [1], which mentions "torrent" 26 times:

"In IPFS, data distribution happens by exchanging blocks with peers using a BitTorrent inspired protocol"

[1] https://github.com/ipfs/ipfs/tree/master/papers/ipfs-cap2pfs
The real problem, of course, is with the programming languages that don’t support proper quotation marks. ;)

In all seriousness—they look better, can be nested without escaping, and provide redundancy that makes for better error messages in the event of a runaway string literal. What’s not to love?
Herb Sutter: C++11 Atomic Weapons (Lock Free Basics) (2013)
If you would like to be really pedantic then the statement is true. There are many types of programming languages, and s language could be categorized into a "compiled language" category, an "interpreted language" category, or some other category. The statement did not claim that there are only two types of languages.
Most of the things you mention are already solved in several useful and applicable to different situations methods in JS anyhow.

Mega-frameworks are, in my experience, one of the biggest sources of encouraging Bad Practices just because their the favorite idiom of the developers.

Rails is infamous for this.

Node (and JavaScript) already has a big enough problem encouraging good code practices that a Rails framework would do untold damage.

The closest it has now is Express (obviously not the same) and that’s already pretty bad for doing what I mention (vastly superseded by Koa and Hapi anyhow).

These things create a very dangerously myopic gravity.

The micro module route Node, JS , and npm uses is - I feel - much much more flexible and beneficial long term.