skysight-inc/HackerNews huggingface dataset:
I'm sure you could make a userland tun/tap decently fast, but Tinc isn't it. Back when I was testing it, it was about 40% slower than IPsec.
It's always nice to see the papers that come out of Tiark Rompf's group. For background, here are some other great ones:

Lightweight Modular Staging: A Pragmatic Approach to
Runtime Code Generation and Compiled DSLs
https://infoscience.epfl.ch/record/150347/files/gpce63-rompf...

Collapsing Towers of Interpreters: https://www.cs.purdue.edu/homes/rompf/papers/amin-popl18.pdf

LMS-Verify: Abstraction Without Regret for Verified Systems Programming: http://lampwww.epfl.ch/~amin/pub/lms-verify.pdf

There's a ton more. Nada Amin's talks on the last two papers are excellent also:

https://www.youtube.com/watch?v=QuJ-cEvH_oI
https://www.youtube.com/watch?v=Ywy_eSzCLi8

Oh, and I forgot my favorite:
Functional Pearl: A SQL to C Compiler in 500 Lines of Code
https://www.cs.purdue.edu/homes/rompf/papers/rompf-icfp15.pd...

Some really mind-blowing stuff.
Clicking on a Discord message notification on the mobile app doesn't redirect you to the relevant chat, it just opens Discord at your last location. On the Linux desktop app there used to be many times it would get stuck on the loading spinner. It just feels less polished than Slack.
Please put the market rate.

And how is this Ask post? This is more apt for the jobs section.
Discord is bigger than Slack, so I’d say that may already be true.

The secret to their app’s speed is using native components inside their React Native app. The chat UI (messages and input) for instance (IIRC) is native.
Writing Documentation When You Aren't a Technical Writer – Part Two
> say "We will only print X number of dollars, every Y number of months"

Easily said. Not so easily verified. Verifiable emission remains a big advantage of cryptocurrencies.
That's known nowadays as AutoML. Google recently released AutoML products for image and text classification. https://cloud.google.com/automl/
Oh, our manager _and_ our CTO lived 2 states away and were flown in every tuesday through thursday.
What's the worst thing that can happen? We just finished hailing a borderline criminal/traitor Senator whose entire career seemed to be predicated on endless war with the entire world. I'm pretty sure the average antivax Kardashian fan is less evil than that. Maybe we'd even manage to withdraw from Afghanistan after 18 years.
Russian Abbyy leaked 203,000 sensitive customer documents in server lapse
IMHO basic income runs up against two problems: 0. People are primarily self serving and will likely not use the money as proponents intent, and 1. If you give everyone a basic monthly income, what’s stopping everyone else who provides services (i.e. housing) from just increasing prices by however much the income is, thus negating the free money in the first place. What would make more sense are price controls to bring down costs, like housing and utilities.
I like this one for some things: https://realitone.com/realivox/
And maybe my OCD is actually Obsessive Compulsive Order.
To the extent that deliciousness is a physiologically measurable phenomenon, or there are proxy measures that correlated with it, yes, there is an objective way. You give large numbers of people cookies and have them rate it. Tastes vary but generally if you make something with umami, crunch, fat, and sugar, people will say it is delicious.
Wow, 17000 visitors and only 100 installs.

With a web app, and a link directly to it, all 17000 visitors would have tried it. That's 170 times more. Staggering.

One of the reasons I prefer web apps and recently started adding the benefits of progressive web apps to my sites.
So many initiatives are currently in development to make it easy to accept crypto. Just wait 2 or 3 years...
Slack's messaging backend is Java (at least it was in 2014): https://twitter.com/SlackHQ/status/426469205005705217
As an interviewer, I try to ask a consistent question in a consistent way, so that I can calibrate my feedback against all of the people I've interviewed before. It's nice that you claim to have some previous code, but most of my candidates aren't able to share their code, and some hopefully small number of my candidates are going to submit someone else's code and claim it as their own. I have worked with and interviewed people that can discuss all the things, and run through other people's code as if it's their own, but are unable to write their own code.

That said, exceptional candidates are exceptions and maybe should be handled outside the normal process.
What really bugs me is the self-righteousness of the early riser. There's definitely some kind of power dynamic going on. Perhaps the joke should be: How do you know if someone gets up at 5am? Because they tell you.
I don't know why there are not more code analysis and refactoring engines for dynamic languages. Sure, it takes more guessing on part of the tool, but I see no reason why they can't identify and help with a large portion of such tasks. It shouldn't be an all-or-nothing thing. Sure, the more "meta" your programming, the harder it is to automate analysis, but only a portion of an application typically requires high meta.
Dogmatism, maybe, but I think maybe it's more symptomatic of just having too much book knowledge and not enough hands-on experience.

I'm starting to have this experience where I'll advise a more junior programmer to exercise caution about $THING_FROM_BLOGOSPHERE because, while the code examples from the blog post certainly do make things look nice, I can see where it might develop XYZ problem when you try to use it in production code. Typically I'm ignored, because I'm clearly just old-fashioned, and possibly even starting to go senile. Typically, after 6 months or so, you'll see that developer discovering that they're running int XYZ problem.

This is all cranked up to 11 with functional programming, because what a lot of newcomers to FP don't fully appreciate is, avid functional programmers are people who love to play with abstractions. Emphasis on the word play. My sense is that a lot of the stuff that people are putting out there is a mix of spitballing new ideas and stuff done in the spirit of RFC 1149.

see also: https://www.willamette.edu/~fruehr/haskell/evolution.html
Greater cycling actually reduces traffic and wait times for drivers. Combined with the CO2, toxic exhaust, and other negative externalities, as well as the positive health effects of cycling, it makes sense to discourage driving and encourage cycling. At any rate, bikes are usually faster than cars in dense city environments, especially when you take parking into account.

Also, wouldn't large rickshaws be slower than normal bikes?
Three AMD Ryzen devices added to Chromium OS build repository
Do you feel like your "new" schedule is more beneficial than it was before?
That would make sense if you could meaningfully recycle filters, like you can glass bottles. This would end up being a false economy subsidy more than likely. No thanks.
Although the content is audio, I'd like to point out that this page is quite badly designed, particularly that giant fixed-position header.

https://i.imgur.com/H0VSndS.png
You wouldn't be wrong. My favorite are the smokers who put out their cigarette on a wooden fence and throw it into the desert brush.

Hasn't caught fire yet somehow
Right, I was thinking about the wrong relationship.
Advanced Aircraft Maneuvering Program (1997)
I was looking at OpenCL support first:

https://github.com/tensorflow/tensorflow/issues/22

Anyone using ROCm? Is is stable enough/does it support everything in TF 1.8? How is the performance comparing to 1080Ti? Their port of TF doesn't seem to have many users, only 6 issues in TF upstream:

https://github.com/ROCmSoftwarePlatform/tensorflow-upstream

If it were comparable with 1080/Ti and working flawlessly, 32GB would be very enticing!
To Improve Your Sense of Direction, Lose the Technology	(2017)
A leaky abstraction is one that mostly works, but details and assumptions leak through.

For example, many languages attempt to provide a cross-platform API for filesystems; they give you an algebra that lets you construct and manipulate paths.

So if you have a Path, the `/` abstract operator might join path parts, and "basename" and "dirname" are functions that extract parts of the pathname.

Typically, the API designer makes some intentional (and some unintentional) design decisions to keep the API comprehensible but at the expense of being inconsistent with the underlying reality being abstracted.

As an example, some filesystems are case-insensitive, others aren't, so to know if two paths refer to the same file, e.g. if you want to use paths as keys, you need to determine what volume each is on. This gets complicated in Unix due to symlinks (which can be any component of a path) and mounts that can be anywhere in the tree. You could resolve a path to an inode, but then other filesystems might not provide an inode.
What's different now is that everything is running out of steam, not just one component of the process. Lithography is getting exponentially more complicated: the cost of a mask set for a 7nm-class process is obscene. Materials are getting exotic: the serious discussion around use of ruthenium, which is notoriously difficult to work with at nanoscale, tells you how desperate people are getting. Even the fundamental structures are getting bizarre: FinFETs got us to ~5nm, but nanosheet or gate-all-around structures are going to be necessary to go further. And all of this exoticism is expensive, so chips just aren't getting cheaper to make like they used to. Plus reliability is going to hell and costs are out of control....

Basically, the stars are aligning to spell the end of traditional CMOS scaling. 7nm nodes are in early production now; 5nm is on the way; 3nm is likely to happen; 2nm may or may not depending on the economics; 1nm is unlikely but you never know; and sub-nm CMOS nodes are probably just not going to happen. (Don't confuse actual nodes with what happens when marketing gets involved. Some twat sticking a "2nm" label on a 20nm-class process doesn't actually make it any better!) This isn't to say that semiconductors will stop improving, just that it sure won't be classic CMOS any more.

One under-explored area I think we're going to see a lot more of is backfill of older processes. Very few things actually need the latest and greatest digital process: main processors (CPUs, APUs, GPUs) are about it. I think there's plenty of room for improving cost on older processes to make them more widely deployable. To some extent we're seeing that now with SOI processes like 22FDX, but I think that trend will continue. (Unfortunately, there's a lot of stuff that just doesn't shrink, period: some analog stuff, all HV I/O cells, and just about all power management.) So the potential upsides aren't universal, but I think there's a big market out there for stuff that can benefit from smaller processes but can't afford the obscene cost of a multipatterning mask set.
Matthew Walker's excerpt on biphasic sleep:
https://delanceyplace.com/view-archives.php?p=3524
TL;DR: There's evidence of cultures untouched by electricity sleeping 7 hours at night with a 30-60min afternoon nap, which he calls biphasic sleep, with some tribes switching to monophasic in cooler months. All humans have a hardwired dip in midafternoon alertness.
Everything You Need to Know About Cryptocurrency Regulation
This is the usual amount of whitespace. A couple of examples

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/lin...

https://github.com/apple/darwin-xnu/blob/master/libsyscall/m...
In the long run, they ended up with their own FS that they can scale from all of their platforms (tvOS, iOS, macOS, watchOS) and pulled it off without any serious issues, which is impressive on its own.

It's going to be interesting to see how well they optimize APFS in the following years since the current performance level isn't that much better.
Different risk assessments. DTrace is a non-critical tool, and a totally standalone one. If it suddenly had to be yanked out of macOS because of licensing issues, there would be gnashing of teeth but life would ultimately go on. The filesystem is a different story: if something happened and it had to be immediately removed, Apple would be up shit creek.
Its just the beginning of decentralized. These articles are so easy to write.
I read somewhere the other week that fishing gear was the biggest source of ocean trash. Which is it?
Online Prediction Markets Know If Psychology Studies Will Replicate
Links to the two talks mentioned (I think...):

https://www.youtube.com/watch?v=Xpf7Ua3UqOA

https://www.youtube.com/watch?v=u9KNtnCZDMI
Only up to 64 variables? Why such small problems? And why are their results are averaged across all of the different test functions? I'd like to see the performance difference between Rosenbrock and Rastrigin, thank you very much. And they have a weird fixation on stopping rules, when in general your stopping rule is how many evaluations you can afford. Was this written by interns? There's no discussion of the retrogression by CMAES on small problems? What parameters does their algorithm have and how sensitive is it to its parameterization? What parameters did they use for the competing algorithms? If I were reviewing this paper I'd have these and other pointed questions for them. It's as if they did a cursory lit review and then decided to reinvent the entire field. Their one contribution seems to be not allowing you to run it on your own hardware.
Data management best practices 2018
I had a similar experience getting Dependabot onto the front page of HN as a "Show HN"[1], all be it with less attention than this post (congrats on that!).

- Made it to #10 or thereabouts, and hung around on the front page for ~2 hours

- Got around 10 (free) signups directly from it on the day. At the time we were averaging 10 signups a day, so it doubled that day's attention

- Lots of encouraging feedback, which was great, and a good gauge of what (very) prospective customers might be interested in. No substitute for the learning from direct "sales", though (even when giving the product away for free)

- Harder to measure the long-term awareness effect, but people very rarely mention they saw Dependabot on HN (they're much more likely to have seen it working on an open source repo)

- Getting onto the front page was hard work! You can see from my submissions[2] how many times I tried!

Overall my advice to anyone with an indie app would be to do the hard work of selling / building word-of-mouth referrals. Working on marketing-style blog posts looks easy and effective when you see others doing it, but very few people talk about the numbers that come out of it, and all of the "misses" where your content isn't picked up at all.

-----

[1] Original post: https://news.ycombinator.com/item?id=15953694

[2] My submissions: https://news.ycombinator.com/submitted?id=greysteil
It wasn't hindsight: we've been publishing and describing these risks along with techniques to mitigate them for decades.

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

Mainstream security ignores it for political reasons. They're like a cliche that pretend all prior work that's not like theirs or are outside their social groups didn't happen. Enterprise ignores it since management gets rewarded for either high-growth or low-cost deployments. Those tend to favor insecure deployments. The consumers don't care enough for I guess psychological reasons. They don't even adopt usable, free stuff like Signal most of the time. Much less paid options.

The high-assurance, security field has steadily done their part producing secure versions of hardware and software to address these risks. They usually knock out entire classes of attack. Almost nobody uses them outside of aerospace and defense. For hardware, few companies will build the secure prototypes since prior examples went bankrupt. The Spectre/Meltdown situation gives potential to use it as a buzzword pushing new hardware. That hardware needs to be totally compatible with existing OS's/RTOS's and C language, though, with almost no performance or cost hit. I think secure ARM's or MIPS's are best start. CoreGuard is example targeting them plus RISC-V. We'll see what happens.
How do all these things end up in the ocean in the first place? Plastic straws or cigarette butts, seems like we have a garbage collection problem.

Rather than banning the item of the day that we find in the ocean, can we fix garbage collection so that none of or crap ends up there?
PHP does not because it is dyamanic but because the language and ecosystem are geared to getting things.
Love this project to train crows to pick cigarette butts. https://news.ycombinator.com/item?id=15486368

I had hoped that the vaping trend would mean fewer cigarette butts, but now I'm seeing plastic Juul capsules littered here and there. So much for ecological millennials…
The Rascal Metaprogramming Language
Was there not a spawn version of Starcraft for Classic Mac OS?
> First, you never specified that it was about sick leave while not actually being sick.

Which could have been clear from the context.

> Either way, it is not an immediate termination, there is a long procedure to follow

Which would be? Have you read the court decisions I quoted, especially the one from the BAG? The lengthy process was as follows: The employee threatened to call in sick if holiday was not granted on May 25th. He did not show up for work on May 27th. The first immediate termination on June 1st had a formal error and was rejected. The second immediate termination from June 7th was formally upheld. The only reason that the case was sent back to the previous court is that the previous court did not confirm whether the employee was indeed ill.

That's not exactly "lengthy". It's not always easy to prove that the employee was not sick, but legal literature is full of examples.

> I have to repeat again, there are very few circumstances where an employee can be immediately terminated.

That's true and I never pretended otherwise. Most cases for immediate termination are based in the fact that the employee knowingly attempts to defraud the employer. Trying not to show up for work if you've been fired or quit on your own is a prime example of that. The fraud is in trying to get a wage that you haven't worked for.
Your reasoning only works for valid statements. That is, statements that have a truth value. As you’ve demonstrated P does not have one. For no admissible statement is P equal to not P.
The punchline:

> Multiple notifications can be consumed without the need to enter the kernel at all, and polling for multiple file descriptors can be re-established with a single io_submit() call. The result, Hellwig said in the patch posting, is an up-to-10% improvement in the performance of the Seastar I/O framework. More recently, he noted that the improvement grows to 16% on kernels with page-table isolation turned on.
I'm the only person I've encountered that naturally runs on a 25 hour clock. I get the same amount of sleep per day (~8 hours) but I follow it with 17 hours of wakefulness so my clock moves forward by an hour every day. To my knowledge there are no adverse health effects, but it's certainly out of the ordinary. I often wonder if more people are like me since sleep problems are so common, but they cannot follow their natural rhythm since it does not fit into the traditional 9-5 work week.
Backpedaling: Why China’s bike-sharing startups are pulling out everywhere
Understanding the IoT Journey to design your serverless architecture
I like the idea.. it is tricky to get right though. Cigarette butts smell a lot, so if smokers started carrying around 20 butts in their pack at work/home, non-smokers would not like it. Its hard to imagine modifying a pack cheaply enough to contain the smell.
It will still go some way toward them ending up in the sea.
How is something made of plant matter and paper not biodegradable anyway?
Hmmm, cigarette packs that are modified to allow for easy storage? That sounds gross enough to disincentivize any shot at people redeeming deposit funds.

Even more gross: homeless people scrambling for cigarette butts as a side grift. Which, you know, is sure to happen. More profitable than beer and soda cans, and smaller too?

The thing with cans and bottles is that they aren’t absorbant in the same way that cigarette stubs are. People put their mouth on both, but it’s way easier to avoid saliva touching a can or bottle, than a lipstick stained cigarette.

So those packs would have to be water tight, slotted for 20 stubs, and translucent so no one has to open up or guess at how many stubs are inside, for redemption.

Also, redeeming by weight would require standardized tare weights, and approximates for paper/fiberglass mix by volume. Redeeming a ten pound garbage bag, at 20 cents a butt? What’s that worth? Enough to start a street fight?

It could work. But let’s not give tuberculosis another reason to spread.
https://github.com/kensanata/mastodon-backup/ allows you to backup your mastodon data.

It also allows you to expire your toots, boosts, etc. The idea is that you don't want people searching your timeline to find gotcha's.
By this logic though, aren't all abstractions leaky in the end?

edit: not arguing, just curious. I haven't thought much about abstraction but it seems like it could be a truism that every conceivable abstraction could succumb to this problem in some way.
Why do you need to recycle them? A deposit requires no subsidy- the purchaser pays an extra $0.20 per cig, and recoups that when they return the butts. The accomplished function is the recovery of the butts.

Caveat, all the old butts pre-deposit could probably still get returned for $0.20, which would require some money from somewhere.
Ask HN: Evaluate my CV
I've submitted my CV to multiple positions requiring the exact same skills I already have, but got either denial or no response. I think I can cope with anything in the job listings I applied for, but maybe I am not conveying the information in a good way? Perhaps I am not good enough? What would you say if you were looking for someone with similar skills to mine?

CV: https://drive.google.com/file/d/1TFSHaD3D1ZzLrjN-CMlROleoiMiBfkui/view
Isn't using "performance" and "python" in the same sentence an oxymoron?
Whetlab, a startup founded by some former colleagues of mine, provided a service just like this 4 years ago (in fact, it's referenced in the Vizier paper as its open-source variant Spearmint), but unfortunately, it was acquired and shut down by Twitter: https://venturebeat.com/2015/06/17/twitter-acquires-machine-...

Black-box optimization is a hugely important problem to solve, especially when experiments require real wet-work (i.e. medicine, chemistry, etc.). Kudos to Google for commercializing this - I expect it will see a lot of use in those fields. But it's bittersweet to know that it's taken this long for this type of application to be promoted like this.
One could say that bootcamps were the first to pave the software development track.
>According to Dr. Walker, about 40 percent of the population are morning people, 30 percent are evening people, and the remainder land somewhere in between.

I'm not a sleep expert or a neuroscientist, but I take issue with being branded into a sleep-band that is "hard-written" into my DNA. I perform at my worst when I wake at times other than my current habit allows for - whether that is early or late.

I don't believe this leaves me in the 30% of in-between people. It just means that my habits are most telling of my performance. Don't assume my chronotype.
Not half-assing anything at all. The China Development Bank underwrites foreign loan investment in infrastructure by 50%, so there's money flying everywhere.
There's also an asymmetry: the person who works late can't rub it in, because the early person has already left the building.
Very related open source project from the RISE Lab at UC Berkeley: http://ray.readthedocs.io/en/latest/tune.html
Not that surprising. Lumber doesn't catch fire that easily (hence fire starters).