skysight-inc/HackerNews huggingface dataset:
The principle reason Python flourishes is because it's highly expressive and readable. (There are things it misses, such as sensible lambda, any reasonable multi-threading model, etc.)

I can't see Rust competing on similar merits. Swift however (like Kotlin to which it is extremely similar) seem to be in the right sweet spot in terms of languages designed for usability, with a lot of useful f.p. constructs.
Well, you gotta write about what you know! /s
You can turn off overcommit.

The basic idea isn’t that having malloc return NULL on failure is worse than killing a random process when any process runs out of memory. The idea is that programs often ask for memory that they don’t need, or don’t need right away.

When a program actually uses too much memory, there isn’t a way to signal failure, so the OOM gets involved. If this is wrong, turn off overcommit. Unfortunately, overcommit is a system-wide setting, so individual programs can’t opt in or out.
Quack Overflow - What's with the duck?
You can do this:

vm.overcommit_memory=2

And then the kernel will no longer do overcommit.
all existing links will continue to redirect to the intended destination.

It would be a PR nightmare for Google if they stopped redirecting existing links, but they won't do that as they're a huge user of the web graph as well.
"While most features of goo.gl will eventually sunset, all existing links will continue to redirect to the intended destination."
https://developers.googleblog.com/2018/03/transitioning-goog...
I live in LA right now, so I guess I haven't really experienced an "efficient city."
I find myself working on plans to move more suburban or rural, somewhere near a national park or a European village.

Why?
Because nature and quiet make me happy. With Amazon's delivery network, I can live in a remote area and get all sorts of knick knacks delivered on demand. It's not the fastest, but that stops being important when you have trees for friends.

While I find cities interesting, I wouldn't choose to live in one. Almost everyone moves to a city for work, not because cities are better to live in.

As millennials start to retire, make babehs, or WFH-tire, I think we'll see cities be less favorable.

Two words: air quality.
It's the only place where I got honked at by a car on the sidewalk while walking on the sidewalk, and when I didn't get out of the way fast enough he proceeded to attempt to nudge me with his car.
Even using anonymization such as this you should not keep logs for longer than necessary to debug and delete after a month or two
I've recently came across a use case for an URL shortener (Entering long API calls on mobile devices) and was looking for a self-hosted solution. Any recommendations?

(No public shortening service, only admins can create new shortcuts.)
>So why do you think there's a difference?

I think I s unarguably true that having our data online and backed up is a risk that needs to be weighed up against the very real advantages we get. That applies to both Apple and Facebook. However only one of those companies has explicitly built a business model around selling that data. Let’s not set up any false moral equivalencies.

By itself having data we have chosen to entrust to them isn’t a problem. It’s what they choose to do with it that matters, alongside the gathering of information we have chosen not to entrust to them regardless of our choice.
Indeed. But the fact that the kernel does it at all is mysterious, and that on most systems the misfeature is enabled by default...
The simplest argument here is that Tesla's are new vehicles, the total US fleet average age is much older than any Tesla on the road today and driver/passenger fatalities tend to be higher in older cars because they have fewer safety features.
Ben Feringa's Missing Nobel Prize
Oh, for duck's sake ...

I'm going to have to go dark for the next 48 hours or so to avoid the inanity people think is funny, and quite simply isn't. Still, I suppose an enforced break from the internet once a year isn't a bad thing.
After Google Reader went away I was actively looking for a reader where, by giving the creator money, I was ensuring it would stick around. And also where I was the customer rather than the product. There's a free version you can use to try it out but it's limited in the number of feeds. And $24 a year isn't a high price for what I'm getting.
I've found across the whole of Asia, its perfectly safe to eat in independent restaurants, from hole-in-the wall places, street stalls and even old women frying chicken using portable burners on pavements in Indonesia.

I've always gone to places that are popular with locals - think about it, they wouldn't be popular if they gave customers the raging shits.

I can only assume that this holds true across other parts of the world. You don't make money without returning customers.
Easter, Ishtar, Eostre and Eggs
Yeah, it's a bit odd for me to realize that this is not a normal thing everywhere. I've spent quite a bit of my student years showing up at a restaurant/cafe at around 10:00, hanging out until 18:00 or so, friends of mine coming and going, and deciding to stay for dinner and possibly some singer-songwriter performance.

While cost kept me from doing it on a daily basis, I quite regularly ended up spending entire days (8+) hours at the hotspot-du-jour, only leaving for brief periods for some errands nearby.
Multiple sources in one place, no new account, no giving away your email, no re-skimming over read/skipped articles (across sorces if your reader is any good), filters for known garbage (domains with pay/sign-up walls, blog spam, etc.).

My frustration with YouTube subscription mechanics is what resparked my interest in RSS years ago, that's when I found out most channels have a hidden RSS feed. Reddit has them, but the way they're delivered makes them difficult/impossible to filter. Most blogs have them, even if they don't display a link.
Many websites which rely on paid adds put only the title and first paragraph in the RSS feed with a link to the article. But that notification is pretty convenient, so I'm still willing to use those sites' RSS feeds.
If you can still run Java applets, this is a nice intro: http://www.cs.mcgill.ca/~sqrt/dimr/dimreduction.html
I assume Twitter, Facebook, Tumblr, email subscriptions or simply visiting the site regularly.
The reason it is there is that the C memory allocation model tends to ask for rather more memory than the program actually needs. This leads to inefficiency if all that unused memory is backed by physical memory. So this overcommit trick was created to allow other processes to 'steal pages' from processes that have allocated memory but have decided not to use them for now. In practice this works reasonably well, but there are some nasty edge cases when one or more of those programs wake up and then decide to actually use the memory they think they already have.

For systems where deterministic behavior is more important than flexibility (for me: all of them, for others: their choice) you're better off disabling overcommit.
Sports could happen in the morning if school started later, they tend to be more free daycare than the root cause here. Sports have become a priority in schools, which will cause teachers to become resentful and blame them for everything.
Yeah yeah, I get the argument. The point was that you can't ding Tesla for "bad statistics" by using an argument that asserts "tend to be" without evidence.

In fact I personally doubt (i.e. I have no evidence and am not actually making this argument because it would be "bad statistics") this is true if you compare Tesla's to the BMWs being sold into the same demographic. Those "safe new vehicles" you're positing include a whole lot of crossovers and minivans driven in much safer ways.
That does sound a bit extreme. (I freely admit I went by this description and never looked at the parser code myself, though some other portions I did read were pretty normal Python.)
This is a thread about how CA acquired and used data from Facebook, so I assume the parent comment was trying to make an apples-to-apples comparison. The alternative is that the poster was disingenuously trying to imply a false equivalence.
I think it’s the other way around. Assets are loaded at initialization anyhow.
Under Armour Says 150M MyFitnessPal Accounts Hacked
Does anyone know of something that could help maintain OPML files? I would like to keep a long list of categorized RSS feeds in a simple YAML file and generate a OPML feed out of that.
Caltech 101 image classification Dataset
Same here, although I use a self-hosted TinyTinyRSS server rather than a third-party service.
Thanks for clarifying this: personal information does not mean personally identifiable information. Personal information can be sold without uniquely identifying individuals and this is exactly what Facebook's core business model is.
Yeah, but it seems that they may be, statistically speaking, right. The fears that surround self driving cars may be unfounded, and if they are unfounded, then it would be a shame to throw the baby out with the bathwater.

They're right when they say we don't speak of the accidents that didn't happen, and I bet there's a ton of them.

As someone who's been in multiple car crashes, as a passenger, I really on longer want to be at the mercy of human drivers.

Brief reminder of the same discussion, in a different context.

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

Yet on one, and I really mean no one complains about computer assisted landings and takeoffs. I'm not sure why. Lots of passengers even sleep through them.

I guess we've come to realise that the man machine symbiosis works well for flight. But it might take time for this to get engrained into our culture when it comes to driving.
80's archive footage from the Atari arcade factory floor:
That’s not how it works in my limited understanding. Radars don’t just detect the positions of object, but also their relative speed. For this, they take advantage of the Doppler effect. When a pulse gets reflected, its frequency rises if the object is moving towards the radar, and falls if it’s moving away.
I never stopped using an RSS reader, or writing on my own blog, hosted on my setup, with my domain for that matter.

For its purpose an RSS reader is a much better experience than everything else.

The only thing that comes close is Twitter, but it’s too noisy, you can lose really good, but less popular articles, between all the other shit happening on Twitter. It’s also addictive and time consuming.

Sure, go back to RSS, but some of us never left it and we’ve been enjoying it.
Lots of data here:

http://www.iihs.org/iihs/sr/statusreport/article/42/4/1
John Gruber (daringfireball.com) charges around $7000 a week for one sponsored RSS article on Sunday and a follow up post thanking the sponsor on Friday. It can be done for small publishers in a tasteful way.
Yeah, I think ActivityPub support could be nice.
Also the Do The Math blog -- https://dothemath.ucsd.edu -- which does the math of many environmental ideas by a UC San Diego physicist who got his degree at Caltech.
The barrier does have a crumpling structure but someone else had collided with it shortly before the Tesla crash and it hadn't been replaced yet.
> Maybe what prevented RSS from reaching the same level of development is that RSS is only composed by “creators”, while email has no target audience.

I blame social media. It's basically their agenda to offer everything within there walled garden. And so it was only natural that FB at some point disabled RSS.

Fortunately, wordpress generates RSS per default so many will keep providing rss feeds (without even knowing about it)
There are many examples of products that are much worse due to lack of diversity.

For example, every website with tiny font and low contrast text (like this one!). Older people tend to have much worse eyesight, and so suffer much more from these problems, but are missing from many teams.
C++'s type system has always been stricter than C's. Even the following, totally valid C program, is ill-formed C++

int* x = malloc(5 * sizeof (int));

because in C++ you cannot implicitly cast a void pointer.
Tech designers should be licensed, says Silicon Valley designer Mike Monteiro
It all depends on what the public interest angle is. In the case of Facebook the hypocrisy on display borders on the unbelievable. Facebook arguably infringes in the worst way possible on the privacy of a very large chunk of humanity but is highly offended when its own 'private' communications are exposed.

If it's good for the goose it is good for the gander and companies with this much influence on the world should welcome transparency, not oppose it. And if they do not welcome transparency then we'll have to help them along a bit every now and then.
And if it was carbon-neutral, it would also be energy neutral, at best (realistically: much worse). But there is a time-shift opportunity in there, capture the CO2 when renewable output is lower than demand, recycle the CO2 into fuel when renewable energy is abundant. Retrofitting existing gas peaker plants into giant flow batteries would be the holy grail of grid scale energy storage.
I use TinyTinyRSS. Works pretty well. Fully free unlike services such as Feedly, just like Reader was back in the day.

Works well on any shared hosting or VPS etc. as long as you've got PHP/MySQL/Postgres and the ability to setup a CRON job (CPanel/Plesk give you this) or the daemon.
I'm sorry to hear that, the idea is to create a community around snippet sharing. But with creating an account you are still anonymous and you don't have to make snippets public?
Does anybody read Hacker News outside their RSS-Reader?
Working a proper 9-5 job in software is extremely tiring. I compare it to athletes; you can't expect an athlete to work 8 hours a day of intense training without collapsing. Often they work a certain amount of hard hours and a few softer ones. They cycle it.

One should do the same for programming as well. It's all energy management. I find I can only work 3 hours on a tough problem, and the rest would be something lighter like refactoring or writing tests.

A lot of people who wake up at 5 and sleep at 11 PM are managers, which isn't as energy intensive.
To some extent I agree. Many of the problems that are going to become increasingly serious over the next few decades are caused or amplified by previous solutions to problems. Maybe in some cases the new problems are far worse than the original problems.

> course, our population has grown much too large for everyone to go into the forests, so we've kind of screwed ourselves already by burning that bridge

Yeah, that's the ugly part of it. I think we've roughly got the choice of consciously trying to damp population and affluence (the resource & pollution cost per unit of population) , or maintaining the status quo of growth and accelerating into a pretty hard population crash.

My mental model for continued climate change, as a reasonably predictable consequence of continued human "business as usual" is +4 degrees C or higher global warming with billions of people dying.
Yourls is pretty good, I use it with Sharex (and Nextcloud) to quickly upload images to the internet.
Yet another instance where lots of smart, knowledgeable people rationalized away a problem, only to have actual tests show that there is one. When will people learn that hand waving is not proper science?
They do, but that's not such a bad idea. For an exhaustive read, I wrote this[1] a while back, but I'll try to make the point here too:

1. Are all your passwords unique?

2. If I discovered some of your passwords, will the rest of your passwords stay secure?

3. Were all your passwords created using at least 32 bits of entropy?

4. Are your passwords stored only in encrypted form?

5. Do you perfectly remember every single password you’ve used when signing up?

6. Do you turn up positive for a password leak at this website?

If you answer "no" to any of these questions, you'll benefit from a password manager.

About storing passwords, I use LastPass and they use client-side encryption[1], which means even they don't have the decryption key to read my passwords. So, you'll be fine as long as you have a secure passphrase and 2FA :)

https://lastpass.com/support.php?cmd=showfaq&id=6926

[1]: Please skip to "Strategy No. 1: Proper Password Management" @ https://www.toptal.com/remote/best-security-practices-for-re...
RSS have been my main source for consuming web content for the last 15 years.

Social feeds? Ads? Trackers? I don't know what you guys are talking about :)
No it won't. You'll get a compile time error, as T could either deduce to int or double. Unless you explicitly specify it as max<int>(1, 2.0) or max<double>(1, 2.0).
I still read tonnes of RSS feeds, including HN. It never went away.
That's a great start! Haven't yet looked seriously at the details of GDPR - good to see it going that way.
Google is not an alternative to Facebook.

I think it is going to be very hard to create an alternative to Facebook that will not in the long term morph into something just as bad as Facebook is today.
> In the US, there is one automotive fatality every 86 million miles across all vehicles from all manufacturers. For Tesla, there is one fatality, including known pedestrian fatalities, every 320 million miles in vehicles equipped with Autopilot hardware. If you are driving a Tesla equipped with Autopilot hardware, you are 3.7 times less likely to be involved in a fatal accident.

"Equipped with Autopilot" is different than running with Autopilot. As far as I know, all model S fatal accidents except one was with Autopilot engaged. Making Autopilot far more dangerous than manual driving from a statistical standpoint.
I for one will certainly not type any real-world password in Troy's site and this has nothing to do with Troy's reputation.

Entering your password on this site effectively reduces the strength of your encryption (or whatever you use the password for) to the strength of the SSL encryption used, plus all possible side channel attacks you can mount against browsers and network protocols like DNS, plus the security or insecurity of Troy's own machines, and the guy is already a viable target for dozens of intelligence agencies. Note that a man-in-the-middle attack on this site is almost impossible to detect and there is no way for you to tell whether Troy Hunt's servers and developer machines are compromised or not.

So in a nutshell, it's a big No No. But it makes sense for a company like 1Password to cooperate with him, since these companies are in the business of storing all your passwords "in the cloud" anyway.
Oh god. You can check any C-code with Polyspace, I've done that. Most of the warnings Polyspace generates (at the time I did it) are not more significant than style - like checking for MISRA compliance doesn't guarantee a lack of bugs.

To me formal verification has always meant proving correctness in a mathematical sense against some sort of formal specification.

None of that really matters though because AFAIK you can't prove a neural net has been trained "correctly" and doesn't contain errors.
According to insurance adjusters, age correlates with lower accident rates.
I just wouldn’t buy a Tesla at this point because: 1) the autopilot is not reliable. The accident shows clearly that it can dive straight into wrong path without giving warning. This is unacceptable, however small the probability. 2) the battery explosion is making the accident ever so dangerous. 3) Tesla’s response is disgusting. It may be true that statistically or on the average it is safer, but I am not a number. If I drive responsibly I can beat the statistic. Plus, relying too much on the comfort of statistics may be attributing to the lack of human intervention. 4) price is also a factor but the least important one compared to the above three.
They did have comments and other social elements [0]. It was possible to follow people and share articles with or without adding your own note to it. They had a bookmarklet that allowed you to share any article, even if it didn't have an RSS feed. Their move to Google+ sharing wasn't exactly an improvement though [1].

I never got why people moved to Twitter, it wasn't, and isn't, as good at consuming or sharing content as Reader was. It's just one more step towards the more centralized web we have today, and hopefully we will move back to a more decentralized experience soon.

[0] http://googlereader.blogspot.se/2009/03/google-reader-is-you...
[1] http://googlereader.blogspot.se/2011/10/new-in-reader-fresh-...
Most of the information I consume is through RSS. I use Feedly for that.
Strong culture = less process
Does anyone have any data of % of accidents of autopilot vs drivers that don't speed? I am wondering, because I recently say some statistics that showed that a majority of drivers normally speed by at least 10mph, and that the majority of crashes occur when people are driving over the speed limit.
Aluminum-Induced Entropy in Biological Systems Implications Neurological Disease
Mike Montiero is quite a character, but requiring designers to go through some sort of licensing is absolutely ridiculous. As a commenter said, this will only create a protectionist racket.

Also, what about product managers, engineers and others that make feature decisions? What does it mean to be a licensed designer?
The cynic in me thinks google wants you to watch illegal streams on youtube.
Emmanuel Macron Q&A: France's President Discusses AI Strategy
Chrome extension to alert and block IDN/Unicode websites
You could be right, either in this case or other cases. I'm entirely inferring what autos are doing based on their failure case (not detecting stationary cars when the car in front of you swerves around them); that sounds a helluva lot like mistaking the new car for the old.

Again, not saying it's a limitation of RADAR; it sounds like a deficiency in the way they're using it.
"tend NOT to", did you mean?
I don't think there is no such thing as a "C memory allocation model". There are various ways of requesting memory from the OS. But not requesting anything in advance is going to be very slow in any setting that requires a context switch or virtual memory.
I hope this doesn't change too. Felt I had to use it to link a humongous wikidata SPARQL query in a (software) research paper recently.
I agree with the lack of compassion bit -- I think the messaging could have been far more empathetic. However...

> Uber made sure to point out that the victim of their incident was homeless. Tesla is pointing out how the driver received unrelated cues earlier in the journey. None of this information is relevant.

I don't understand how you can equate those first two lines. Uber's observation is clearly irrelevant, but the fact that the Tesla driver received multiple "get your hands back on the wheel" notifications, as close as six seconds before the accident seems very relevant to me.