skysight-inc/HackerNews huggingface dataset:
Most people in the industry will concede that Tesla forced everyone else to up their game. Tesla were unreasonably ambitious, but that ambition lit a fire under the established players.

Between 2010 and 2015, the Leaf had a 24kWh battery. They added a 30kWh option in 2016, then launched an all-new model in 2017 with a 40kWh battery. At this year's CES, Nissan announced a 64kWh model. There's a clear inflection point that coincides with the announcement of the Model 3, which is matched by several other manufacturers. The huge amount of media attention and customer interest convinced the motor industry that there is a substantial latent demand for affordable EVs with >200mi range.

It's perfectly reasonable to argue that established manufacturers are making better EVs because the technology improved, but Tesla drove a lot of that improvement. They were the first manufacturer to grasp the significance of battery thermal management, something that Nissan is still struggling with. They were the first to demonstrate the improvements in interior capacity and comfort that come from a purpose-built EV platform rather than retrofitting electric propulsion to an ICE platform. The threat posed by the Gigafactory persuaded/forced LG, Samsung and Panasonic to seriously ramp up production of 21700 cells.

Tesla aren't a great car company in my opinion, I think they're hugely over-valued, I think there's a real chance that they'll be bankrupt within the next five years, but they did something very important by taking a moonshot on a truly modern EV.
I agree. I have decided not to employ people on the basis of a final on-site interview, with no hard feelings. If that isn't a realistic prospect, I struggle to see what that interview is for.

But there is a difference between a dud and a con man. There is a reason I only sought legal advice over one of them. In the end I did assume the risk and learn from it.

But if I had to pay out of pocket an additional payment at that point I would've refused. For that individual only.
I've also found the common-person use and valuation of tech to be nowhere near as informed as HN's.
This is one reason why I probably will not get a car with touchscreen controls for stuff.
I can't remember if it was haveibeenpwned.com or some other site, but I seem to recall once a few years ago checking my email on a site which also showed you the first two characters of the password which had been compromised. Maybe it has since been discontinued because of security concerns, but I found it really useful at the time because it let me know that the leaked password was an old one that I hadn't used in years.

I know best practice is to immediately change your password regardless, but with the increasing frequency of these kinds of breaches and the reuse and recombination of old lists, how long will it be before emails from leak notification sites like haveibeenpwned start becoming so frequent that people start ignoring them? I am already more guilty of that than I'd like to admit, even though I should know better.

I know there are various places you can check a given password against known leak lists, but it makes me really uncomfortable typing my password into anyplace which is not a password manager or the site it's used for - enough that I want to change it afterwards anyway.

I already hear the arguments that none of this matters if you follow best practices, which are not wrong, but I've always gone with the option which is as secure as possible without being overly burdensome, and I'm sure I'm not the only one.
Very constructive indeed. For cross-platform GUI I have investigated flutter(among others, flutter at the moment is really just mobile only, so does Kivy)

It appears to produce a commercial quality cross-platform GUI, with not-so-bad looking, your only choice is Qt, be it Pyside2 or Qt/C++. For me I decide to use Pyside2.
Going to get downvoted harshly for this, and I deserve some of it.

But let me say, is anyone else just slightly suspicious (don’t have to change your minds though and I agree with the science here) that investing billionaires, people who give truth to the saying “behind every great fortune is a great crime”, would actually be interested in the best possible thing for the world? Doesn’t that sound a little bit suspicious, like a hint from a life that something is afoot?

I think it might be healthy to introduce some doubt into the claims of billionaires no matter what they might be.
The river quite literally brings life to that 'thin strip'. Without the Nile it would be desert.
> 2 & 3. According to me, the volume button seems off in mobile. I think I'll remove it completely on mobile devices, people are used to lowering the volume with the physical buttons (assumption). What do you think?

To facilitate mobile development of the library its probably the best approach, at least for now and you can revisit the issues later on :)
I've received the same emails, for livejournal accounts. They seem to reuse bitcoin addresses. Bitcoin blockchain explorers show that the addresses are recently created, and that people have sent them money.
That all makes sense, but it's disappointing to see that Dart is no better than Java in type safety. Every type is nullable (the billion dollar mistake), and the type system is too weak to support mildly advanced data modeling without requiring heavy OOP.

Dart is a pain to work with. But to be honest, Flutter makes it worth putting up with.
+1 for conditionally removing the volume bar.

Mobile is (typically) a single mode application situation, as in, there's no need to control volumes of simultaneous applications separately. It would also be easy to argue that almost no-one needs that feature.
Rent a vps, digital ocean, linode...
buy a desktop computer. My mac broke recently and while in the shop I bought a crappy new desktop for less than 200€. It's running linux and would happily run all this software. it becames cheaper than buying lots of raspberry pi's cases and sdcards and it's easier to mantain.

But if one's doing it for the fun of it as the original author appear to have done, then I have no moral complains to present. :)
There will be blood: The Future of Asset Management
In principle I agree that companies should always get rid of people who are not working up to some defined standard. I disagree that a company should stack rank and get rid of the lowest performers for no other reason than 'because'. Hiring and firing is hard, and very disruptive. If the whole team is better than the standard set by the company, the company should consider itself lucky and not screw it up.

With that said, in large companies it can be very hard to determine just who is below whatever standard is set. Instead it becomes more of a game to be liked by your manager or claim credit for work.

By the way, part of working at or above a standard also includes not being an asshole.
Is it private? I might be dumb but slack doesn’t seem to give me a signup option.
Though it is anecdotal information and relevant to AMD drivers from several years ago, but when AMD driver crashed (about once a year) it did so without affecting the system and restarted itself correctly, I only saw error message and windows going briefly to "basic" theme and back to aero. When Nvidia driver crashed (again, about once a year) it takes down entire system, it actually freezed Windows so completely that even ctrl-alt-del didn't work, and I had to power cycle the PC.
I agree completely for day-to-day use, but the benchmark game is specifically to test implementations. If you're offloading to C, then you're testing the C implementation and the FFI implementation instead of the language implementation. If you want to test those, then come up with a specific test for that.
Best K8s operator for ScyllaDB?
Knowledge tranfer, getting people up to speed and hiring people also cost money
The seller may be using a VPN to mitigate this.
I've been using cfoellmann's fork [1] ; and have updated the "Applies to" to URLs matching the regexp `https:\/\/github\.com\/.+\/.+` so it gets applied only to any content within a repository; I remember changing it when having this style (or mdo's?) enabled broke profile views.

[1] https://userstyles.org/styles/108591/github-wide
Came here to say almost exactly this. C++ is fast. All the things mentioned in the article are very specific replacements of C++ standard library implementations. C++ is a zero cost abstraction language, all these things could have been replaced with idiomatic C++. The fact that they were implemented in C is more of an authors language preference. Reimplementing some things might be easier in C because C is a simpler (and often more familiar) language. Idiomatic C++ may require knowledge of pretty arcane feature of already complicated language, like placement new and judicious use of references and move operators.
At this point I feel like it's almost a philosophical argument but:

- printf is a standard function in C's stdlib.

- Because of the nature of the function (using a special purpose format strings and varargs instead of some kind of generic system) the function can't really be aggressively optimized and inlined without compiler magic. This limitation is caused by C's own limitations when it comes to generic programming and type introspection, printf needs to be told explicitly through a "side-channel" (the format string) what types to expect because C lacks the infrastructure to do that by itself. It also means that you can't extend the function for custom types and that you can't type-check the parameters without compiler magic.

- Even though some compilers do implement special magic around printf to perform more aggressive optimizations (like replacing it with "puts" if there's no formatting going on for instance) it's still generally trivial to beat its performance in non-trivial case with handwritten code.

Given all of the above I would say that makes this particular corner of C rather slow indeed. Or at least slower than it might be compared to an hypothetical language that made it easier to optimize string formatting.
REMChain proof-of-service consensus for PKI (d)
>Intellectuals in Antioch (in ancient Syria) were tortured and beheaded, as were the statues around them.

And you use this as an example of religious oppression in medieval Europe (?)

Here is a good critical review of the book you're citing:

https://historyforatheists.com/2017/11/review-catherine-nixe...
Another suggestion:

- Add possibility to watch the player on landscape mode even when this option is disabled in the device settings, I'm not sure it is possible but if so it would be a great feature :P
If the content owners are sane at all they are going to license content on a "per seat" basis, that is, $X per sub.

If Netflix produces its own content, it is going to pay $Y to produce the content, and that quantity does not depend on the number of subs.

If the number of subs increases, eventually (subs) * $X is going to be more than $Y and in that case it makes more sense for Netflix to own rather than to rent.

Now content owners might have wanted to increase $X when they saw that Netflix was a good business, but I think the real driver behind the change was the increasing number of subs.
> You also seemed to have missed the recursive pattern in her statement. "I'll probably be on the streets," infers - to me at least - that she'll be homeless and/or without the prospect of any employability. This facet, right here, explains the recursive nature of repeat offenders.

It wasn't a direct quote — I paraphrased from memory. As I recall, she wasn't homeless. By being "on the streets", I think she meant she'll be consorting with other common criminals, possibly dealing in drugs and sex. She gets in with the wrong crowd, offends, is incarcerated, gets out, rejoins the same crowd, etc.

I don't have any grand answers to this big complex problem. My point is I still believe in punishing criminals (proportionately).

If you have an unruly kid in the class and you send him outside, if he is able to pull faces at the other students or in any way undermine the teacher's authority, he will endure the punishment and then continue to be unruly because his spirit is not broken.

I don't think adults are any different. The key difference between cultures (at least what I could glean from these documentaries, so this is totally unscientific) is that the Russian authorities do not give an inch, so the inmates have no choice but to surrender their pride and learn their place.

Empathy doesn't work with everyone. Anders Behring Breivik is an example; he commits a truly terrible crime, and now he is mocking us from the comfort of his cell which has more amenities than in the homes of many innocent and hard-working people in Eastern Europe or South-East Asia.
> Bitcoin blockchain explorers show that the addresses are recently created, and that people have sent them money.

I find it difficult to reconcile someone tech savey enough to use bitcoin falling for a scam of this nature.

On the otherhand, it might explain a lot about the crypto space!
I had exactly that email. I can't remember where the password was from, but it seems to be in old format that I used to use maybe 10 years back, if not more.
!remindme 2 months (would be nice to have this kind of features through a HN extension)
Another way to do true cross-platform Desktop GUI will be leveraging browser on MacOS/Linux/Win, you put your core logic in GO which runs as a local http-server on your Desktop that talks to your OS underneath, and use browser/html/css/javascript to do the UI. You only need ship the GO binary, users install it and then starting to use your program via a browser.
Secret UFO Program Funded Research on Wormholes, Extra Dimensions
First of all, the Nile basin covers 32% of the area of Egypt (330 000 km²), which is a bit more than the size of Italy who supports a population of 60 million.

Secondly, due to the climate they also get two-three harvests per year.
Do you mean something like: "force the player in landscape mode when you hit the fullscreen button on a mobile device?". I like it, YouTube does that with it's mobile apps and I find it practical.
In the screenshot [0] there is also a tab viewing someone's Disqus profile, and you can also see the time and date. I think the suggestion was there may be ways to track down who the hacker is based on this. Of course he could very well be using a VPN (highly likely). Or at the very least a public/free WiFi, although in Russia you have to register with a phone number to access them.

[0] https://krebsonsecurity.com/wp-content/uploads/2019/01/sanix...
Is the USA the best car country in the world?
Floated alongside the Enterprise in the 70's on a nuclear cruiser. In engineering we didn't change watch getting underway on entering port until past the sea marker or tied up.
Do you have any specifics on what you doubt about this? Your comment came across as vague to me
This just isn't being talked about enough. Educating people is one way to help the individual combat deceptive media practices, dark patterns in games and UIs, and much more. Luckily, my parents taught me to loathe commercials, and later political ideals led me to read a lot on the topic of the interaction between media and advertising and ideas, and how propaganda actually works (hint: effective propaganda isn't about lies, it's about showing some truths and not talking about others).

And this was all before the Internet boom and the terrible ad-tech hell we find ourselves in.

Anyway, kudos to your high school.
That's why you measure first, and only if necessary go to these extreme measures if you find that this is the place that really costs you performance.

Or if performance is basically your only goal (HFT) then you just need to spend this time on a lot of parts of your code.

But then in 99% of code it's a waste of time.
When a SQL implementation is built on a KV storage engine, how do tables, rows, and columns typically map to the underlying KV data model?
It addresses that in the article: "...notice the open Web browser tab behind his purloined password trove (which is apparently stored at Mega.nz): Troy Hunt’s published research on this 773 million Collection #1"
That's completely unrealistic and unsafe. Even with widespread 5G deployment the cellular network will still lack the reliability necessary to make real-time remote driving feasible. When happens when the network drops packets during a critical maneuver?

Furthermore you can't expect a remote operator to suddenly take over with no context of preceding events and immediately control the vehicle in a safe manner. It takes a little time for anyone to understand what's actually going on.
While giving away $1 billion, Grantham’s planning to make even more money, and he’s hoping climate change offers the opportunity.

The key sentence, buried halfway through the article...
Wealth concentration reduces liquidity. When more of the wealth that exists is in the hands of those with less, they spend it, and it's circulating in the economy. Indeed, it's circulating in the parts of the economy that need circulating money the most—the poorest parts.

Inequality leads to large amounts of the money in the economy being locked away doing very little.

So if we reduce the amount the very richest can siphon out of the active economy and pack away for a rainy day that'll never come (seriously, when is it going to be rainy enough for it to matter to someone making $20 million/yr whether they get to keep $16 million of it or $13 million of it?), we help stimulate the entire economy, almost by definition.

Furthermore, the more people who have enough money to take opportunities for education and entrepreneurship, the more likely we are to have good new small businesses and innovative ideas.
You should also give Sublime Merge a go. I'm mostly a CLI git user, but Sublime Merge is so lightweight (and intuitive to someone who knows git), it's had me using it quite a bit.
Well we are back to square one: people grow discontent with social media (addiction, privacy violations, fake news), some guy suggests that the old tech from the 20th century can cover their actual needs pretty well.

I personally believe people should transition out from social-media-everything because social media are to society what pollution is to climate.
This seems like a lot to ask for something that pays substantially less than McDonalds.

Kind of feels like someone should be able to give non dog walking references to walk your dog. Like if people regularly trust their children with person foo person foo can probably be trusted with pets?
Global numbers look fine, US and EU numbers don’t.

US:
2017	305.685	1,77%
2016	313.174	1,79%
2015	346.023	1,98%
2014	339.738	2,06%

Looks like 2018 numbers are up slightly in the US, though still below 2016 sales.

2018	311.014	1,79%

http://carsalesbase.com/us-car-sales-data/bmw/
Do you need quantum mechanics to see that a photon would fall in or eject? Presumably a little movement from the black hole would do the trick too.
Sorry, should be better using https://scylladb-users-slackin.herokuapp.com/
In a US county jail I saw young kids get fleeced by cons constantly. They'd buddy up with them and take whatever commissary funds they could by stealing their account password and selling phone calls. Predation works best when it can be sustained with minimal risk. Only heard of one sexual assault in another pod (was locked up for a year) but saw numerous instances of people kiting out with debts.
Depends on the class sizes - I would expect variation in there. With 25-30 in the 90s I recall there being at least 4-5 in a class commonly. Without context that doesn't say much other than it stood out.

That isn't reliable - statistical literacy and especially /native/ staristical literacy is shockingly rare and this is exploited constantly by people with agendas. People think crime is on the rise when it is at historic lows and 1st World Pollution in the toxin sense is getting worse when it has gotten better in many ways.

(The Environment is always a multifaceted thing. Is it better or worse for a vast desert to turn into a monoculture forest? Nonbiodegradability is a bad thing but it technically does sequester some carbon. Still air without lead in it is far better.)
I was so sure it was haveibeenpwned.com that showed the password as well, but alas they do not, at least not for the last two years.

The way I use to recognize which service has been compromised is using unique email addresses. Most providers let you do either a catchall address, or xyz+alias@provider.com, meaning you should have a user+hn@domain.com for your Hacker News user account. Makes both knowing which services has been hacked easy, but also who sells your contact information to spammers easy! :)

Edit: actually, using random passwords from a manager, you should be able to identify it through https://haveibeenpwned.com/Passwords
Excellent question. There's a CockroachDB blog post about that: https://www.cockroachlabs.com/blog/sql-in-cockroachdb-mappin...
> Release performance also slightly increased across the board - this is because for many of our arrays, the default initialization performed by std::vector’s constructor is redundant as we’re going to fill the array anyway. With std::vector, you can either resize a large array and then compute the items (which requires default-initializing every item redundantly), or reserve and push_back repeatedly (which requires a bit more code for adding each item, and this overhead can also add up). With a custom container it’s easy to have an option to skip initialization - in fact, in our replacement that’s the only option since it’s easy to memset the array manually if necessary.

I have a hard time to get the rationale here. Is the author implying that using memset is inherently better than initializing an std::vector with the constructor that takes a count and a default value, or resetting it with the same variant of .assign()? Skimming through the code that's linked in the article, it looks like there's no use case where either the former or the latter wouldn't fit.
What is everyone's take on the future of Flutter for Desktop? It's exciting to think that it could be a viable alternative to Electron or Qt but the fact that this is enabled entirely by third-party projects concerns me. Is Flutter for Desktop something that has a future? Will apps built with these tools be maintainable a year from now? At what point would you say it's safe to invest time building and deploying projects built with it?
Maybe Now Google Can Stop Dragging Its Dang Feet on a Pixel Watch
That depends on the powerbank. Many powerbanks with Quick Charge 3.0 support will supply over 4A at 5V without power delivery negotiation. It's a hack, but so is the Raspberry Pi - I wouldn't trust a powerbank for anything critical, but I wouldn't trust a Raspberry Pi either.
Can't believe you naive people who put your trust in apps and these types of services. The responsibility is entirely yours. You have to understand what responsibility means.
Under the premise that wealth == power, a democracy cannot accept that wealth is too unevenly distributed.

If wealth is (more or less) equally distributed, everyone has the same leverage on influencing the necessary democratic vote. If the distribution favors one group of people, they will in turn have greater leverage on the vote.

Note: I am not implying here that wealth must be distributed evenly, to the contrary. I am not even sure that the concentration of wealth onto a small number of people is the core problem. We might be able to live with it, _if_ the legal framework is robust enough and this concentration would be time limited, meaning there is basically no way to create family "empires" existing for decades or even centuries.
"While giving away $1 billion, Grantham’s planning to make even more money, and he’s hoping climate change offers the opportunity. "

I think that you might be on to something...
Datagrip looks ugly on my gnome3 with 4k and 2.0 scaling. Fonts are way small. Also, it's a bit on the heavy side.
Thank goodness for reader mode...