skysight-inc/HackerNews huggingface dataset:
To be fair, SpaceX hasn't had any manned flights yet so it's a bit unfair to say that they have not killed anyone. However, at this point I trust SpaceX software more than Boeing software.
They do- most of them connected to the company's WiFi :)
> Chinese social media has been awash with anger over the death of the whistle-blower

How about going out to protest? Oh wait, you can't...bravo for your virtue signalling.
That would be a horrible idea. Software developers should be encouraged to think about and discuss ethical issues by other software developers, employers, universities, and people in general.

We need increased awareness of ethics but we don't need more government involvement or any other form of coercion. Governments are already far less ethical then pretty much any other organisation or institution.
The only thing you lost was your humanity?
> This is more the classic “brand X is now bloated and failing because it forgot its roots when going mainstream” argument. Nothing to do with capitalism

I'm not sure I'd say nothing to do with capitalism. Underneath many of these "bloated" brands you find the same pattern. A niche or well-respected brand purchased by a private equity firm. They proceed to hollow out the brand (move production, cut warranties and customer support, etc.) while simultaneously playing financial tricks to extract money (saddle the company with debt/management fees).

This pattern may or may not be one unique to capitalism, but it's surely one which occurs frequently in the US implementation.
Don't forget that GPL software is banned from the App Store.
Well, there's https://www.reddit.com/r/FirefoxCSS/
From Creativity Inc, by Pixar cofounder Ed Catmull:

“My door had always been open! I’d assumed that that would guarantee me a place in the loop, at least when it came to major sources of tension like this.

Not a single production manager had dropped by to express frustration or make a suggestion in the five years we worked on Toy Story.

…Being on the lookout for problems was not the same as seeing problems.”

Source: https://getlighthouse.com/blog/ed-catmull-quotes-leadership-...
Cafe Life Disappearing in France
Only their batteries and EV tech are best in class, their cars are actually quite badly made and plasticy compared to most luxury cars in the same price range as the Model S.

If everyone starts to go full electric I think Tesla will become "just another car brand that was once first at something" similar to how Audi was champion of four-wheel drive at some point. I guess at that point they'll change their policies to better fit with the general public buying cars and used cars. Or the others will see an opportunity and go the Tesla-route and we as consumers end up worse off than before.
> I am certain that Android devs are at least aware of Rust and it's benefits.

There is still not a single Android ROM component that's written in Rust. Cuttlefish uses crosvm which is Rust based, but it's a VM for Android testing rather than a ROM component. So they aren't even ready yet to experiment with shipping small components in Rust. Same goes for Chrome btw, it currently has a "no Rust allowed" policy, which is IMO very sad.

So yeah I think it's worthwhile to talk about why AOSP doesn't have Rust components yet, especially as patching is sadly not available (yet) for most deployed devices. Large fleets of devices will have the bug for eternity. Therefore, prevention of vulnerabilities becomes even more important, which Rust helps doing. Your program won't be free of them, but as I pointed out above, these bluetooth vulns fall into the class that safe Rust eliminates.
If I could reverse any 3 decisions
> have people just gotten lazy and only bother looking at JavaScript generated analytics logs and not actual server logs?

Yes.

On the other hand, if you're running adblock, many sites probably don't care how and if the site works for you.
I’ve found htop becomes less useful after about an 8 core count. Is there a reason you’d run htop over top in a normal use case?
Thanks—we'll move the discussion there.

This isn't just a dupe, it's a ripoff of the original source. I feel like this is the third or fourth ripoff article from The Verge that we've had to merge or change the URL on lately.
This is just not true. Anyone who owns a Tesla car can go to their owner's page at tesla.com and see exactly what features the car was sold with.
I am part of a group that runs a small "private internet" -- that is, a tcp/ip network that adheres to most internet RFCs and provides most of the same services as are available on the internet, but operates independently of the internet itself.

Right now, we don't run a DNS -- we go old-school with a master hosts file as was done before DNS existed on the internet. For our situation, it's the easiest solution and is entirely manageable, since there aren't a ton of domain names and the hosts file rarely needs updating.

But it's clear that eventually this will no longer be sustainable. Kudos and thanks to the author for blazing this trail for us. It will make the eventual shift to a private DNS much easier.
> owning a Tesla one of my medium-term life goals for the environmental benefits.

Besides the fact that owning a Tesla is barely going to do anything for "environmental benefits" (but it will make you feel good), why not considering other EV makes? Tesla is all over the news but other models are available with almost the same performance and lower prices.
Photographer Francois Brunelle has a photo series on people who look like they could be twins/related but aren't. Genetics is an odd thing.

https://www.chasejarvis.com/blog/me-myself-and-i-francois-br...
It basically has been via: https://github.com/IsmaelMartinez/teams-for-linux
On a couple of occasions I have actually seen such ancient game boards in different places in Italy. Here's one from the Baths of Caracalla in Rome: https://commons.wikimedia.org/wiki/File:Gaming_Board_in_the_...

I especially like the thought that countless people have played on the same board for whole generations. It was a public pass-time that brought people together.
Do you remember what the factory default was? I expect most people who aren't au fait with pickup patterns will either leave it on the factory default or put it in stereo (which looks very similar to omni).
I own a Samsung phone from 2012 that runs fine, and has okay battery life.
You made me smile, here's my best attempt at something similar:

"My biggest weakness is probably job interviews, compared to anything else I do my interviewing skills are really bad..."

More realistically: honestly explaining that some of my greatest strengths are weaknesses in other settings.
> Boeing is doing EXACTLY the right thing to increase shareholder value.

Boeing stock is down 25% since this time last year. This would seem to be a failure to increase shareholder value.
Call me cynical, but to me the entire post just reads like an advertisment for the companies in the $1000 column that they've invested in...
Devtools are great, performance is great, battery life on MacBook 16in

That's a powerful machine most users don't have, you are less likely to notice the difference than most.
What if half of Switzerland's rooftops produced electricity?
“Abrupt thaw” of Arctic permafrost releasing more CO2 than predicted
> After 7 years I paid $32,062 for the car and earned ~$30,000 from investing (at 8%).

Nitpicking, but you didn't earn $30k from investing. You contributed $22,680, and ended up with $28,910, assuming dollar-cost averaging contributions monthly (bulk contributions at the beginning of the year would get you $31,223). So your total return, assuming 8% annual growth, is $6,230.
That would work better mobile phones were anywhere in the vicinity of an efficient market. It's not.

* The barrier of entry is very high: You need a top-tier manufacturing system and supply chain. An operating system. An entire suite and market of applications. All of the apps users expect and rely on (mail, navigation, Facebook, chat, Instagram, etc.) must be supported. The hardware is only profitable if you manufacture at very high scale.

* Information asymmetry is very high. Users have almost no insight into how secure one platform is versus another. In fact, they have access to paradoxical information. The most secure platforms are the ones with the most transparent security flaw handling, but those are also the ones that appear the least secure because the vulnerabilities are more widely reported.

* Products are nowhere near commoditized. A phone is a very large constellation of hardware, operating system, and software features. There is no apples to apples comparison between phones. Maybe you like the camera on one but not the screen on the other. One has better apps but the other a more stable OS.

This is not a market where consumer choice will effectively drive solutions to diffuse problems.
Old school Linux-based wargame
Case 100
Psu 100
Mobo 100
16gb RAM 60
AMD 3600 200
SSD 60
AMD 580 100

Total 720

If you already own a case, psu, storage, gpu, you can upgrade for like $400.

You could even get a 1600AF or 2600X for $80 or $140 respectively
> Options add value, in luxury cars, a sunroof and alloy wheels are pretty much essential, not getting one means negative value on resale.

I've heard the opposite, that options don't retain their value as much as the core of the car itself. It probably depends on the timeframe though.

I bought a 2011 Volvo C30 brand-new, with absolutely zero options. It was the cheapest car Volvo made that year - manual transmission, no extra-cost paint, nothing. I sold it last year and, looking at price guides, those nice options would have gotten me maybe an extra $1-2k. So sure, I could have spent an extra $5-7k to get a nicely equipped model, but there is no way I would have gotten an extra $5k back when I sold the car.

I'd concede that if you trade cars in while they're still quite fresh there might be some truth to this. If you have a really oddly configured 2-year-old luxury car, maybe it'd be "lot poison" without leather and a sunroof.
"If I disagree, it's propaganda."
You’re not going to get a certified used vehicle that is 10 years old. You might get one as old as 5 years, but I would expect most to be 2 or 3.

Certified used vehicles are also significantly more expensive than a used vehicle and a warranty, and Consumer Reports recommends the latter.
And re: extensions in the App store, it doesn't seem to have a search function...
Yep, same here. I planned to buy a Tesla for environmental reasons when my current 15-year-old car gives up the ghost, but I had no clue about the sort of shenanigans described here.

There is absolutely no way I'd knowingly "buy" a car [or other major product, for that matter] which was subject to this sort of postsale unilateral manipulation on the part of the manufacturer / seller.

To my way of thinking, it's similar, but much worse, than the situation with HOAs [which I also decline to support]

edit: I'd already started switching to bike for commute and errands; now I'm even more inclined to continue in that direction rather than look to EVs
Exactly this. The channels through which people an anonymously communicating (also a part of the problem) are biased towards sensational and controversial content, which sends dialog down this path no matter what.

An important consideration is that many different cultures are experiencing very similar radicalization / polarization trends. The facts on the ground are quite different but the tooling by which these conversations happen is the same.
Ha yeah, I literally attempted this and ran "a few steps" before face-planting.
uhm, what?
Python 3.4 is EOL anyway so there's no need to do this. Anybody running 3.4 is already unsupported.
> I don't know the real statistics, but typically buying a 10 year old Camry is rolling a 100-sided dice and unless you roll a 1 or a 2, you're fine. You just had a particularly unlucky roll.

Without concrete data to support this, it's absurd to suggest that any vehicle has a mean failure rate of just 1-2% after 10 years on the road. Years of being subjected to the elements (extreme elements in certain parts of the country), normal wear, etc. constantly cause failures in older vehicles.
Especially with the (lack of) change to sets I'm interested to benchmark some regular things before and after the change.

set(dict.keys())
set(dict.values())
thing1 = dict(...)
thing2 = copy.deepcopy(thing1)

I feel like there could be some other testcases. I'm wholly in support of the change (regardless of benchmarks) but depending on the results I could see some arguments against.
Speeduino: Open-Source Engine Management
i bought a cheap nokia 6.1 and the performance improved once upgraded to android 10
Great comment. Only thing I'd add is a bit of clarity on "Software engineer salaries are generally capped at around £150k if you're a lucky" -- in 20 years I've never met a software engineer on that figure. They exist, but I'd call that extremely lucky, and suggest a more realistic cap is not even half that. I welcome stats.
This is a much clearer timeline than I got from the article and it goes against what the GP seems to be claiming. It's very dubious that a fresh account would be in both threads about this event claiming they have the "inside scoop" and implying that the feature was added "illegally". Very shady.
Infantilizing babies helps them learn language
Maybe a better analogy isn't milk, but car seats? I was surprised to learn about car seat expiration when I became a parent, but it makes sense -- the materials themselves break down over time, and safety standards and research evolve. I don't think it's too big of a leap to see software in a similar way. Even if the code itself still runs just fine in ten years, likely the context it runs in has long changed.
> The dict is dead, long live the dict.

That’s like saying binary search tree is dead because the implementation uses a red-black tree.
Motorola Razr fold test results: We broke it long before 100k folds
I’m not either. But if Tesla is going to do this, they need to shift from “selling” the car to merely “leasing” the car.
There is nothing about zero const abstractions in this article, just basic compiler optimizations.
I'll never understand why they won't invest even a small amount to provide basic data export (make it a CSV!) of whatever customer data they have.

Most people won't use it, but for those who want it, they can have it..

Someone should start a "service shutdown customer data export as service" business.. :-)
Agree, but we're going to disagree on the solution. For example, I'm ready as a citizen voter activist to demand a combustion ban phase out schedule.

https://en.wikipedia.org/wiki/Phase-out_of_fossil_fuel_vehic... (Jurisdictions with planned fossil-fuel vehicle bans)
I don't have any criticism if the performance of this new dict stays the same as earlier and that's a huge if. Considering python3 is already a crawling language compared to peers like java and php, I think devs should focus more on that before handing out features.
Can't you give most of those status update-y things another way? Seems like most of that would be covered in a standup, or email.

Your 1 on 1 could be so much more: your career growth, situations you want help with, feedback and ideas for them, things you want coaching on, any issues they should know about (like say a sick/dying family member), etc
Came to say the same.. insertion order of dict has been here for years for 90+% of Python users (CPython implementation) and a part of the language spec also for almost as many years.

I guess it’s good to spread awareness to HN readers who apparently were unaware, but the headline is very misleading.
NASA Brings Voyager 2 fully back online, 11.5B miles from Earth
Well, you can convert any sorted dictionary to an insertion order dictionary by copying it over, but that does the make the original example pretty clunky.

I guess a better use case is if you needed some sort of priority/FIFO logic along with indexing. Hard to think of something that doesn’t feel contrived, but I guess imagine having a queue where determining membership or updating fields of an element based on ID can be done in O(1) for any element?
I tend to take these brands at face value. If North Face tells me their gear is for adventurers climbing K2, I'm certainly not going to wear that to the office. For many years Apple presented it as the purview of the cool and creative - as I'm neither, I assumed their products were for someone else.
The implementation doesn't matter to EGreg's point, which is that ES standardized that iterating over object keys are generally required to return keys in insertion order.

In the past (from before this standardization) Chrome had in fact changed the object iteration order due to an optimization, and had to revert it after lots of complaining on their bug tracker.

(To be precise, the spec still requires array index properties to be returned ahead of other properties regardless of insertion order. The behavior that Chrome "reverted" to is this new one, so not exactly the same as the original behavior.)
Idk, anecdotally my iPhone 6s (ok, it’s 6a not 6) is perfectly usable 4 years after the purchase. I have the throttling on.
Indeed they shouldn't, and it should be easy to flash a custom OS to give them a second life.
Bystanders have a responsibility to report, at least where I am. Even if they are not the only ones responsible, they are still responsible.
Wow, thanks for the analysis! I think it was very astute to pay attention to how Red Hat was supporting (or not) the language, it never occurred to me to look at the project from that POV, a really useful one.

I think the language is quirky in a lot of ways with the verbose syntax being one of them. I liked some aspects of the type system that made it look close to an ML flavor, although the language had heavy OOP syntax. In this way I thought it was similar to Scala.

There are a few nice write ups from the author on the process of coming up with the syntax. The one talking about constructors is a good example [1].

1: https://ceylon-lang.org/blog/2015/06/21/constructors/
Is the software upgrade tied to the car, or the individual? I think something like this will require legislation.
If I buy a car with a feature, and I am paying extra for that feature, then I expect it to still be part of the car when I sell it, since that was part of the value to begin with.

If Tesla wants to argue otherwise, that the software is tied to the individual, then I should be able to either:

1) Sell the software itself to whoever

2) Transfer the software to my next car

Both of these should be options, since in the case of #2, the next car may not have the same upgrade.
Out of curiosity, what other makes/models are equivalent to Tesla's lineup?
I might be one of the few, but I think it does warrant it. People buy devices and expect them to work and keep working. If the battery had an issue then it should have flagged up that the phone was saving battery life and that they should replace the battery. We can't keep throwing away devices like this; it isn't good for the environment.

Why do I think it is important to be told? My old iPad has almost overnight slowed right down and it is unusable - utterly pointless using it. Why do you think that it slowed down? A new update? Maybe. Or maybe it is the battery. Let me go check... yes, the battery has an issue. Only because I know where to check means that I know how to resolve the issue. And I know that the battery replacement cost will be ridiculously expensive. If I didn't know this then I would buy something else. That's pretty bad.
I recently jumped from a nice 2002 Subaru to a recent year Mazda. The Mazda is the 'top' trim, which I wanted, but lacks an autodimming mirror like my Subaru.

I get that simple cars are cheaper but I'm real disappointed that such a new car, top trim, is lacking such a basic feature (at least to me) from a car built almost 20 years ago.
You may find this helpful too then for you to get started on them and see where you may want to learn more deeply: https://getlighthouse.com/blog/one-on-one-meetings-template-...
Thank you. It seems that it isn't really a property of multiplication per se but simply an algorithm for solving multiplication equations.
> Imagine if ford started to detune your engine as you added miles to the car, but DIDNT TELL YOU. You lost X horsepower every 1,000 miles.

Would you guess, this is actually what's happening.

ECUs constantly adjusts for current conditions (EGR, variable gem turbo, o2/fuel ratio, fuel inlet timing, combustion timing, variable cam timing and phase, knock sensor...). As the engine is used, wear makes its performance degrade over time, and the ECU adjusts in real time for that. Maintenance such as timely oil change mitigate that, some parts may have to be replaced at some point (from spark plugs to turbo), and over time the engine itself wears out.

Here's a very specific example: all those cars with hypermiling downsized engines turbocharged to compensate perform brilliantly, but when the turbo is dead they can barely crawl themselves in 1st gear. In less extreme situations, turbo wear will put you relatedly anywhere within that [perfect, broken] range, and the ECU will do its best to compensate, unbeknownst to you.
The earlier transformations are actually more impressive. Constant folding is almost always has a good RoI, so lots of compilers do it, and it's simple because, well, it's a constant there is no variables or partial eval needed. The others require lots of inlining before the final rule fires, and so are more ambitious.

Seeing what

pub fn sum3(n: i32) -> i32 {
(1..n).sum() + (1..2*n).sum() + (1..(n + 2)).sum()
}

does would be more interesting to me.

Also, while all the inline is rustc, I assume the "triangle number trick" is LLVM.
Commercial Crew is explicitly not a cost-plus contract.
What model might help for people at the quarantined cruise ship?
I don't think it solves everything but it is why I like the concept of B-Corps. I think the growth at all costs concept is at odds often with other important factors but we can adjust. I think B-Corps are a good start at re-aligning our evolving needs and our existing systems.
Do you follow @nntaleb?
Are compiler optimizations like summing a series done on an ad-hoc basis? Certainly the compiler couldn’t have discovered or inferred (not sure what term to use) that formula, no?

Just generally curious.
The insertion order dict implementation actually comes from pypy
Oooh! I see my friend's book!
There is a quarantined cruise ship with 60 of 3700 people infected with nCoV in Japan.

What might be the right model to evacuate the healthy ones from the ship without extending the quarantine period?
This is neat but there is still cost in compile time
I thought Go made the change from undefined behaviour with an underlying implementation that was insertion order in a map with 8 or fewer entries, to similarly undefined behaviour with an implementation that randomised lookups in those cases. Any code that has ever relied on any kind of ordering in Go maps will almost certainly be wrong, even random ordering, because the distribution of the "random" ordering is biased.

See https://medium.com/i0exception/map-iteration-in-go-275abb76f...
Yeah I think this is probably my main issue. I don't think it's reasonable to ask users of your code to always use 3.7+ instead of 3.6 if they are usually expected to be compatible. And it's also unnecessary to break such compatibility for something like preferring dict over OrderedDict anyways. At least I would try to avoid any such issues by still using OrderedDict.

That said, I have no idea about the internals of dict. I assume no performance was sacrificed for this change.
Well, functions are abstractions too, but yes to me the interesting part of "zero const abstraction" is "zero cost data structure composition", and that indeed is not covered.
Golang map iteration is returned in random order specifically to make sure that people don't rely on the order.

I think this feature says a lot about the philosophy of Python vs Go.