Better HN
topnewbestaskshowjobs
Log inSign up

herbstein

1,407 karma · joined Jan 14, 2015 (11y ago) · 321 submissions

Submissions

comment 2mo ago · link · parent

If we imagine a third observer in a space craft traveling close to he speed of light, it's possible to construct the scenario in such a way that the pilot of the space craft would observe the two events happening at the same moment. Time is relative

comment 2mo ago · link · parent

Depending on your feelings on being spoiled on the general techniques, and an approach to implement them, Sebastian Lague made a great two-part series on building a chess engine. It's specific enough that you have an idea of the techniques involved, without dwelling enough with the details to make implementing your own futile.

https://youtu.be/U4ogK0MIzqk

comment 5mo ago · link · parent

You can. But ammunition and the guns have to be stored in separate safes. And it's essentially impossible to get off with a self defense claim if you have time to gather your legal guns

comment 8mo ago · link · parent

> I tell every hire new and old “Hey do your thing, we trust you. Btw we have your phone number. Thanks”

That's cool. Expect to pay me for the availability outside work hours. And extra when I'm actually called

comment 1y ago · link · parent

I hope you don't mind being a bit curious about this, as a hobby driver.

At what level of motorsports are you working? It sounds like you both semi-regularly work with new teams. And are you working with them as a programmer? I'd be curious to know what kind of applications you're then working on, if so.

comment 1y ago · link · parent

Much more egregious is the fact that the API allows returning both an error and a valid file handle. That may be documented to not happen. But look at the Read method instead. It will return both errors and a length you need to handle at the same time.

comment 1y ago · link · parent

The Nordics also have instant C2C with Vipps/MobilePay. In Denmark it's $630 to a specific person per day. Send+receive $47k per year.

comment 1y ago · link · parent

Seeing reduced use partially because only a few banks support using it in Apple Pay. And Google Pay can't support it at all currently

comment 1y ago · link · parent

Interestingly, isn't that almost exactly what Garmin has done with their wearable ecosystem? A massive data collection people willingly agree to because of the perceived benefits.

10.

Migration to rust-coreutils in [Ubuntu] 25.10(discourse.ubuntu.com ↗)

7 points · by herbstein · 1y ago · 3 comments

comment 1y ago · link · parent

You mean Chromecast? Which does work from iPhones?

comment 2y ago · link · parent

> I believe there are people who want results sooner rather than later

In Denmark all ballots are hand-counted. It takes about 6 hours from polls close to every precinct reporting a preliminary result. Wanting it faster isn't really necessary, other than to feed the 24/7 news machine.

comment 2y ago · link · parent

MaxDB is already developed by SAP, weirdly enough, No relation tho

https://en.m.wikipedia.org/wiki/MaxDB

comment 2y ago · link · parent

In Denmark, I don't even lock up my helmet. My bike, sure. But the helmet just casually hangs on the handlebars. I've never experienced, nor heard of, anyone losing their helmet when doing this.

comment 2y ago · link · parent

> My belief is that retribution is the immune system of civilization.

Have you engaged with any justice system that isn't based on retribution? Have you seen the results they achieve? Norway is the classic example. They give more lenient punishment for crimes, their prisons are vastly more comfortable, and actively try to educate their prison population. All things Americans (as a general point) would scoff at.

The result? Norway has a vastly lower recidivism rate. 20% vs 75+% in the US. Norway is a uniquely good example, but similar results play out across Northern Europe.

comment 2y ago · link · parent

> On June 12, 2014, Tesla announced that it will not initiate patent lawsuits against anyone who, in good faith, wants to use its technology.

with the following definition:

> A party is "acting in good faith" for so long as such party and its related or affiliated companies have not:

> * asserted, helped others assert or had a financial stake in any assertion of (i) any patent or other intellectual property right against Tesla or (ii) any patent right against a third party for its use of technologies relating to electric vehicles or related equipment;

> * challenged, helped others challenge, or had a financial stake in any challenge to any Tesla patent; or

> * marketed or sold any knock-off product (e.g., a product created by imitating or copying the design or appearance of a Tesla product or which suggests an association with or endorsement by Tesla) or provided any material assistance to another party doing so.

In other words, Tesla is giving away all of their patents only to entities that grant Tesla access to all of _their_ patents. That is hardly open-source in the software development sense of the word.

https://www.tesla.com/legal/additional-resources#patent-pled...

comment 3y ago · link · parent

> It looked like about half of that time was spent compiling the coreutils multicall (Busybox-style) binary itself

Using a different linker (like mold) might change that, if most of the time is spent linking everything together.

comment 3y ago · link · parent

> The article mentions bounds checks, but gives no measurements. Have they ever measured?

Related, the prominent Rust community member "Shnatsel" wrote an article [1] about exactly that in January. It's a great look at the problem, and gives some actual data to evaluate with.

[1]: https://shnatsel.medium.com/how-to-avoid-bounds-checks-in-ru...

comment 3y ago · link · parent

> As such most ebikes give the same fitness benefit but let you go faster

This is simply not true. A pedal-assist bike will go faster with the same amount of W put into the pedals, yes. But will people put in the same amount of W if 60 % will get you to your "target speed"? I doubt it. And then you get less health benefits for the same distance traveled.

On my 8 kilometer commute I average 150 W. Not because I use it as exercise. That's just where I find my comfortable level of output. Every time I've ridden on ebikes I've put in much, much less effort. I'd be surprised if I put in even a third of the energy. That's great if you just need a mode of transport. Bikes are practical, efficient, and planning for them improves cities. Even ignoring the potential health benefits. But claiming that a pedalassist bike gives the same fitness benefits just doesn't pass the smell test.

comment 3y ago · link · parent

> At the end of the day the counter to this is starting and building companies with remote work forces.

You'd think so. CrowdStrike, a self-proclaimed remote-first company, instituted a return-to-office policy earlier this year. Despite never requiring office presence before the pandemic. They still have blog posts like [1] on their website.

[1]: https://www.crowdstrike.com/blog/the-perks-of-remote-work/

comment 3y ago · link · parent

Personally, my family owned a Peugeot 406 Estate when I was a kid/teenager. According to Wikipedia the that is L 4576 mm, W 1760 mm, and H 1396 mm. For comparison, the XC90 is L 4953 mm, W 2008 mm, and H 1776 mm. The 406 has 526 l of trunk space, while the XC90 has 680 l.

With the 406 we did yearly trips to Southern Europe (from Denmark) with 5 people and gear for 2 weeks of vacation. IME people REALLY overestimate how much space they actually need. Hell, a colleague of mine has two kids in strollers. They're leasing a V60. She thinks the car is way too big, and she's looking forward to get a smaller car when their contract runs out.

The plural of anecdote isn't data, but I firmly believe people use the space to justify

comment 3y ago · link · parent

While our car taxes are very high, the 150% is the top marginal rate and isn't applied to cheap economy boxes.

comment 3y ago · link · parent

> What specific data modeling can I not do in Go

You're getting into the Turing tar-pit. There's nothing you can do in Rust you can't also do in Go, technically. Hell, you can do it all in Brainfuck too, if you so desire.

The big thing, though, is ADTs. Being able to say "the value is one of 3 possible values" is a lot easier than saying "here are three values, you should use the non-zero one".

comment 3y ago · link · parent

Just FYI, `cargo doc` doesn't download the documentation. It re-generates the documentation from source. You only need the source code to generate documentation.

comment 3y ago · link · parent

> S3 API has become lingua franca

S3 API support sounds great until your costumer builds a system with an "S3 compatible object storage" product. Soon you discover that many "S3 compatible" solutions aren't actually that compatible when pushed.

comment 3y ago · link · parent

> Controversial opinion, but corporate landlords tend to be better than individual landlords because it's impersonal and it's harder to hide

Best of both worlds: cooperative rental companies. Renters control everything collectively as a non-profit. They employ the custodian(s) and vote on what to invest any excess capital into. With this it means you're only paying as much as needed to maintain the buildings, your utilities, and saving up for larger renovations.

I've lived in multiple apartments organized like that, and frankly it beats every corporate/individual landlord I've been attached to.

comment 3y ago · link · parent

> and six hours is a long time to be exposed to the elements even at the current levels of heat.

In the air-conditioned US. Much of the world gets as hot, if not hotter, without AC to help alleviate the heat.

comment 3y ago · link · parent

Trees are easy. It's the desire to have backreferences - making it a graph - that kills you.

comment 3y ago · link · parent

Just take a look at COINTELPRO. It's been way longer than Ruby Ridge. One might even say it's been like that since day 1.
12345
11