skysight-inc/HackerNews huggingface dataset:
I tried to sign up for a private account with Hetzner some 4 or 5 years ago, and they requested a scanned copy of my ID card or passport to proceed. I can understand it as they get legally entangled in any eventual abuse that may occur on their systems, but also, I can't understand it. Additionally, scanning and digitally sharing personal identification documents is illegal in some European countries under anti-forgery laws concerning important documents and banknotes etc.
Traffic jams and limited road infrastructure (with no space for more, so use needs to be optimized) are a PITA in Asia. It isn't really the cost of the taxi drivers (who are increasingly becoming scarce as young people choose better careers). Coupled with authoritarian governments that can push changes more readily than western governments, and Beijing, Shanghai, Singapore, Tokyo are easily on their way in this direction.
Yeah, sorry, I meant just CS. (Other fields get a lot more complicated pretty quickly, but most everything boils down to "stem phd students get paid an almost living wage".)
yea but a major battery maker now has sodium ion batteries that are comparable to the lithium ones that Tesla uses in China and will be using in future cars from now on.
I assume “out of the box” is the distinction.
Superdeterminism also gets rid of the need for photons etc. If you’re instruments are running a predetermined script they can just as easily be playing back a movie as having an actual detector.

Really though it’s just another flavor of non-localism that gets around FTL.
Integers are not often expressive enough for a lot of applications, so we use floats. I'm sure for a lot of things, doubles are good enough, but a better safe than sorry approach will lead you to use 128bit floats.

The case study that I learned in my Numerical Analysis course was the patriot missile incident, which lead to 28 death in the early 90s. Essentially, there was a timer implemented that used floats, and due to the inherent rounding error of floats, after enough iterations this caused the missile to miss its target by miles. There were some operational errors involved, such as leaving the missile "turned on" for longer than was suggested by the manufacturer, but still, these types of incidents should not happen.

Even with double precision, there are errors. For instance, 0.3 is actually represented as:

0.299999999999999988897769753748434595763683319091796875
If you're using reflection or storing a bare interface{}, you should probably instead try using generics.

If you're using real interfaces, you should keep using interfaces.

If you care about performance, you should not try to write Java-Streams / FP-like code in a language with no JIT and a non-generational non-compacting GC.
And if a client asks why you are recommending an SPA, are you going to tell them the ignorance of your employees requires it?
Maybe. Same time last year they launched the Detect (cordless vacuum with a laser) and I thought it was an April Fools.

I think timing product launches to cause such speculation may be a deliberate tactic.
I think you drastically over-estimate what percentage of income the rich spend on luxury goods. People don't stay rich by buying things.

I consider myself pretty high income. If I was just taxed on consumption, I would bet I'd pay probably half as much tax as I do now.
The transition will not be slow. As soon as there's an addon to an existing truck or a taxi, they will be switched over very quickly. Businesses aren't stupid, they understand human drivers are expensive and get tired and cause accidents.

Millions of jobs will be lost within a few years.

And your comment didn't address of where these drivers will go in any way. "Adapt" is not an answer. Your average 46 year old truck driver will not be learning Javascript.
No, it doesn't come with Raspberry Pi. Someone made a clone of it (probably reverse engineered, or from original source, because its functionality is exact), and I compiled it for RPi and put it on github with the manual I got from archive.org.

Here's the link. You might get some mileage from the phoneme tables in the manual. https://github.com/ksaj/pi-sam The executable size is so tiny, given what it does. There's a link to the source in the README so you can see how that was pulled off.

You can use the .sh scripts to see what they look like in practice.

PS: This is genuine spaghetti code. The gratuitous use of goto is almost alarming. But it totally works, so who am I to judge?
With a human I try to make eye contact. At least that way if I get run over I know it's intentional :)

Maybe they were on to something with the Jonny Cab mannequin in Total Recall.
Biden could sign defense production authority for battery minerals
Pay is ok, working hours are not ok. In 2019 I was offered a 42h contract (Überstunden abgeholten) which I of course declined. Almost 0 mobile working possibilities back then. That changed with Corona, but it tells a good picture imo.
So if you don't touch the lever on the trolley you aren't responsible for the millions of people it plows through on the default track? Uh-huh. Keep telling yourself that.

Look, I invest in companies that stand to benefit in this transition and I want my stonks to go up -- but I'm horrified by the apathetic excuses people toss out to rationalize ignoring the externalities. Strengthening the safety net is the least we can do. "What if we get it wrong?" sounds an awful lot like "it's gonna cost money and I don't want to pay" to my ears.
How so? The comment clearly states that they aren't doing any formal calculations, not using numerical methods, and just getting approximate insights.

If I'm wrong, show me I'm wrong and post a substantive comment. Snarky comments like that are not inline with HN guidelines.
"washed"

Have you seen people in the real world?
They're pretty limited by the number of vehicles they have available and resources to support them. Even employees have trouble accessing the program due to the lack of vehicles and the waitlist is in the tens of thousands of people. I imagine they prioritized influencers or actual users since they can't possibly meet total demand.
Sergey might have said it, I don't think the people actually working on it ever thought that or said it?
Is anyone thinking about "road neutrality" issues, such as:
- Tiered priority: can people pay up to give their autonomous ride priority over others?
- Differential access: can certain neighborhoods be made inaccessible to Avs originating in certain other neighborhoods? Or only accessible to friends and families of residents? (virtual gated community / virtual redlining)
I think about all the times during winter when my car's traction control straight up gives up as I try to accelerate through an intersection or when I need to start slowing down an extra two blocks away because the ABS goes on every time I try to stop. I have no idea how AVs will nail that stuff, it's so much harder than keeping the car between the lanes and sussing out road signs.
I quit Facebook in 2016 because my news feed became filled with politics. Washington Post was among the biggest offenders as news producers trying to stir up controversy and being heavily politically slanted while acting like they're neutral (I'll never forget that they ran 16 anti-Bernie Sanders stories in one day). If this kind of article is making it to the front of HN then I may quit HN too.
Looks like CRA and Hydra are doing this too:

- https://opencollective.com/create-react-app

- https://opencollective.com/hydra
Madison Cawthorn's orgy and cocaine comments rankle House Republicans
Design of Experiments + ANOVA for characterizing and optimizing systems

Edit for typo
Please explain how fossil fuel companies can keep auto manufacturers from selling electric cars? The reality is that the biggest obstacle continues to be the high cost of battery raw materials.
I cannot even count all the times when I went to use these dryers at always-packed IKEA and immediately got a mouthful of water droplets. No idea if they came from my hands or somebody else’s. TBH I don’t want to know. I just dry my hands on my clothing now.
> 6 degrees of termination.

I died.

This should be the term.
awesome - was thinking of doing something similar but for an ARG
Vim Mode for macOS. Paid app but source is open. Vim in most situations
BMI was always intended to be used at a population level because because you get lean and jacked outliers who have an obese BMI. I wonder if it has issues at the population level as lifestyles change and people engage in less strenuous physical activity.
It absolutely is.

distribution of signals within smaller systems (microcontrollers, ASICs, FPGAs, etc) are all distributed systems.
Ask anyone doing any kind of circuit design about distributing clocks and clock skew, etc.
Raise your hand if you're surprised.

No one?

;)
The Washington Post (a media organisation) malign Meta/Facebook (a media organisation) who were maligning TikTok (a media organisation).

Perhaps the most blatant case of "Always accuse your enemy of exactly what you are doing yourself."
Kids seem to be far more vulnerable to become addicted to video-based social media than text-based. I say this as a mid-30s person who saw how obssessed teens and 20-somethings were with Youtubers. For them, all they knew about video was from Youtube, so they accepted the lack of polish that an older person like could not.

I have distraction issues with doomscrolling text feeds, but none whatsoever w/ TT because I dont' find super short videos entertaining. But it's probably very different for those who're exposed to it from a young age.
We need to distinguish between the server where EnvKey's API is running, which contains EnvKey's back-end logic, and 'client' servers (or user devices) that are connecting to EnvKey to fetch config for a particular app/environment. (It's possible I misunderstood the distinction the parent comment was getting at.)

EnvKey's API server has no access to secrets data. But you're right that a server pulling secrets via an ENVKEY access key would still have to expose those secrets in RAM to the process that needs them. We don't claim to protect user devices or connected servers from endpoint compromise.

We do offer some features to help mitigate this though:

- You can limit access to an ENVKEY to specific IPs or CIDR ranges.

- On a user device, secrets are periodically removed from RAM if they haven't been accessed recently.

- On a user device, only encrypted data is stored on disk, and the OS keychain is used on Mac and Windows.

- If an ENVKEY's access it cut off, envkey-source can immediately kill the process, making the secrets harder to access from RAM.

- Audit logs can help you track exactly what was exposed and when in the event of an incident.

- Access to secrets is 'pushed' as far down the stack as possible... so your secrets at least wouldn't be accessible in some cloud provider database--they would need to get access to the running process itself or the machine's RAM.
People sue big companies over bullshit all the time, sometimes it works and sometimes it doesn't. I called a lawyer and they threatened my bank with litigation a year ago, and the bank remedied their mistake (this is a company on par with Twitter).

It's more head scratching to me that people think it's going to be easier to pass legislation than to go through the existing legal channels when a company's policies are causing damages. You sue them.
Premature optimization is a bad thing.

Just implement naively, then if you have performance issues identify the bottleneck.
Does anyone know of good low cost mine detection and disabling solutions?
Right now Russia has been mining a lot of Ukrainian territory and I can already see this becoming a huge issue after the conflict as my understanding is the standard process of de-mining is slow and dangerous. Any good tech ideas to solve this?
I think many of the problems come down to the different world executives live in. Different people in many ways. Most executives have little experience at the core operations of a business in a technical manner. They tend to climb from Sales and Marketing teams, or Accounting. So they may understand who they sell to, and what the markets/competition are like, but they rarely are good at understanding the fundamentals of managing and motivating people.

And when they hire managers to take care of these details, they hire people they can identify with. People who are like them, but lower in status and experience. Yet people with the same goals towards climbing the corporate ladder. These managers (I lump anyone below C-Level Officer in this group) also lack hands on experience in the current environment, but they know how to play the game. They quickly find out who the decision makers are, what they want, and their vulnerabilities. This allows them to advance.

Then these executives higher and promote people who do have current experience. They expect them to manage the workers/ICs. They base their hiring decisions on the same fallacious ideas that they believe in. And when a manager presents them with differing opinions, that challenge their world view, they both resent and dismiss these opinions. One because they don't understand the technical side of business, and two because they are threatened. So they try to exert control.

For them, it's all about status and schmoozing; cronyism, nepotism, corrupting vendor relations, all cloaked in talk of "culture, collaboration, cooperation." When they reach out to employees with a satisfaction survey, bad results (less than high approval ratings) means that the lower status managers failed to impart the company line effectively. The parallels to the Soviet Union are unmistakable.

When you view it in terms of Managers are from Mars, Workers are from Venus, you'll start to understand how status, power and privilege play a huge role in how workplaces are designed and managed.
This is really interesting!

Encapsulation might be a more appropriate word in most cases, since abstraction doesn't tell you what specifically you're abstracting away from.

Coming from OOP, I've always thought of abstraction as just "A thing that hides the real nature of something and presents it as a standard and simplified model, and lets you ignore more things than the non-abstract truth allows".

drawImage(file, x, y) is an abstraction, because I don't need to know how it works or how it knows what decoder to use.

One might even say a toilet is an abstraction because what goes into it is(Presumably) dealt with in a sanitary manner by professionals.

Things like monads and composition are abstractions in the colloquial sense, objects far from some concrete thing like a car or a pen, but using them effectively requires understanding the logic, so in a sense they are leaky, because the act of using them "leaks" the mathematical logic, and subjectively nothing like that comes to mind when I think of abstractions in programming.

They're definitely abstractions, but they are used to reveal and illuminate a program's structure, not to hide it in a black box.
Don't worry, that number hasn't changed
The making of a PCB: Part 2
I highly recommend Victor Skvortsov's exhaustive, 12-part series, "Python Behind the Scenes," a deep dive into the implementation details of just about every Python language feature one could possibly take for granted. There isn't a single one I haven't learned something from, but some of my personal favorites include:

* Part 2, How the CPython compiler works: https://tenthousandmeters.com/blog/python-behind-the-scenes-...

* Part 6, How Python's object system works: https://tenthousandmeters.com/blog/python-behind-the-scenes-...

* Part 10, How Python dictionaries work: https://tenthousandmeters.com/blog/python-behind-the-scenes-...

* Part 13: The GIL and its effects on Python multithreading: https://tenthousandmeters.com/blog/python-behind-the-scenes-...

The whole series can be found here: https://tenthousandmeters.com/tag/python-behind-the-scenes/

For a slightly higher-level (i.e., no macabre, low-level C code), but still incredibly enlightening dive into the "dark side" of Python, in particular various abuses and hexes for manipulating control flow, have a look at David Beazley's smorgasboard of keynote presentations like "Generators: The Final Frontier" (https://www.dabeaz.com/finalgenerator/), "Python Concurrency From The Ground Up" (https://www.youtube.com/watch?v=MCs5OvhV9S4), and "Build Your Own Async" (https://www.youtube.com/watch?v=Y4Gt3Xjd7G8&t=2045s).
Worse: You take whole wheat, bleach it, then add some of the nutrients back in, and you call it "enriched".
Shitty or not, they are jobs. You failed to address what will happen to these drivers. Average age: 46.
CBC is suddenly interested in the violations of the fundamental principles of justice? Fyi CBC is the media organ of Canada's public service (and by extension the liberal party) and not an unbiased news source, be careful how you read any conclusion drawn about who is in the wrong politically.
For a long while my PDA was a bulldog binder and a stack of index cards. I even used them as business cards for a period.
>There is an American view of vacations as speedruns

What's your evidence that there is an "American" view of this? Can you link to a study showing different views of vacations by country? What's a Belizean view? How about Djiboutian?

It's weird how common it is on the internet to immediately claim things are uniquely American. It's essentially American exceptionalism with a cynical twist.
I have a small notebook I carry around sometimes. When it's full my next notebook is going to follow the Bullet Journaling method.
How Proprietary Social-Media Is Shaping the Future of Pepper and Carrot
Hackers turn crypto’s strength into Achilles heel
Yes, but since we live in a bootstrappy wonderland, the current holders of those shitty jobs will be ~destroyed as well.
Glad to see this is getting thoroughly downvoted.

-> Tesla is actively killing people.
-> Tesla has much higher rate of requiring driver intervention, and mostly drives in safer environments.

I really struggle w/ how to communicate to non-industry people how deeply wrong-misleading the Tesla pitch is.
I find Quebec is the heart of corruption in Canada ... maybe the hells Angels, maybe the ports, maybe the old money? who knows...but it's bad.
In case you think this is some esoteric issue involving kids’ stuff — keep in mind that the founder of TikTok was one of the most balanced voices within China, who argued that the country needed to engage with the West in a healthier manner. Zuckerberg et al and their incessant lobbying for that TikTok ban basically vaporized that guy’s pull within China, which eliminated a super-valuable asset for the West.

So, yeah, Facebook continues to be the single greatest threat to Western society outside of Russia. These are serious issues with serious consequences.
Reflections on the Ukrainian Refugees
The Current State of AI in Medicine
If you are relying on everybody who reads code that uses your type to have thoroughly scoured all the documentation, you are Doing It Wrong.

Programmers understand pointers and pointer semantics: when they see a pointer, they know what is required of them. An opaque type that has pointer semantics you can't tell without reading up on documentation is, exactly, an abstraction that costs more than it delivers.
Definitely agree that getting good at Regex over the years and more recently AWK/SED has helped me significantly.
Key tldr from me:

> Ah well. Overall, this may have been a bit of a disappointment to those who expected to use Generics as a powerful option to optimize Go code, as it is done in other systems languages. We have learned (I hope!) a lot of interesting details about the way the Go compiler deals with Generics. Unfortunately, we have also learned that the implementation shipped in 1.18, more often than not, makes Generic code slower than whatever it was replacing. But as we’ve seen in several examples, it needn’t be this way. Regardless of whether we consider Go as a “systems-oriented” language, it feels like runtime dictionaries was not the right technical implementation choice for a compiled language at all. Despite the low complexity of the Go compiler, it’s clear and measurable that its generated code has been steadily getting better on every release since 1.0, with very few regressions, up until now.

And remember:

> DO NOT despair and/or weep profusely, as there is no technical limitation in the language design for Go Generics that prevents an (eventual) implementation that uses monomorphization more aggressively to inline or de-virtualize method calls.
+1, ideally, it should only decrypt (and fetch?) the when it needs to use the key. So 99% of the time, the key isn't sitting decrypted in memory.

Having to trigger a network call each time the key needs to be used (like to sign a transaction) isn't great though :-/.
https://archive.is/yqiOh
The problem appears to be that the health and popularity of Object Pascal is intertwined with Delphi/Embarcadero. The better of a job that Embarcadero does at promoting their Delphi product, the more likely people are to find out about Object Pascal being still viable and open-source projects like Lazarus/Free Pascal. And it works in reverse too, where those that use Lazarus/Free Pascal will get more professional opportunities because of companies that use Delphi.
>because they've automated away a ton of tasks which normally require hiring a lot of employees

Or they've simply removed those tasks under the rubric of automation.
Ukraine Captured Part of One of Russia's Most Capable Electronic Warfare Systems
> I was going to reply to your comment with the best introduction to Bézier curves I've read (and I'm a math guy), before realizing that it was you who wrote it.

Would you link it anyway, please, for the benefit of those of us who didn't write it? :-)
Agreed...

I was thinking about this other day with my 4 month old. We were looking at four or so houses to purchase with a real estate agent. We were having to load her in and out of her car seat in the car repeatedly which is not fun (she cries when you set her in the thing). One of the houses was 1/2 a mile or so away and it crossed my mind that I could just hold her in the back seat while we coast through a few intersections. I then pictured the outcome of a minor accident and decided that it was worth the additional effort to ensure that my kid wouldn't be ejected.

Everything we do is a risk calculation and some people have decided that the risk is worth the convenience or cost.

I suppose my thought was illegal while toting your child around in a bike trailer isn't so there is that factor too...

Those kid trailers seem very dangerous, I ride my bike in cities all the time (NYC and SF) and get very close to reckless drivers. I have to imagine being a passenger in a bike trailer, in a city, is quite a risk
Any day there AQI is below 100 in any of the Indian metros is a good day.
Tesla tech is much less mature than either Waymo or Cruise.
Let me rephrase:

If you take one of Dhaka's best and brightest and remove him/her...Dhaka gets nothing.
Any other package manager has config files which are essentially a domain-specific declarative language.

Sometimes to do a whole new thing, you have to learn a whole new language.

What would the Debian way to do this be? I bet it would take more than six lines of code.

Edit: I was wrong, the patching part at least is not too bad on Debian: https://unix.stackexchange.com/questions/324680/how-to-apply...
Some of the innovation indeed happens at the edges of what we know, and we learn as human species collectively. But most innovation is about combining multiple fields, and cross pollinate new ideas.
Especially in the business world, where there is no unsolved problem, everything has been seen before, and most of us are just paid to get to the solution fastest. Applying knowledge from other fields, can be a great benefit.