HackerTrans
TopNewTrendsCommentsPastAskShowJobs

g7r

no profile record

Submissions

[untitled]

1 points·by g7r·9 months ago·0 comments

Is Copilot useful for kernel patch review?

hansdegoede.dreamwidth.org
1 points·by g7r·last year·0 comments

comments

g7r
·10 days ago·discuss
It's car manufacturers who should be held responsible for this. I used to be the owner of a diesel car.

Diesel cars used to be really reliable. And then, in a moment, they got that ecology thing. They leaped from 500k+ kilometers until the first major expenses to just 100k+. From a consumer point of view, you were just buying the next version of the same diesel car. But in reality you get nothing even close. If that's not a deception, then I don't know what a deception is.

Many modern diesel cars require very expensive replacement parts after just 100k kilometers. I mean really expensive. I had Fiat Tipo and the particle filter would cost me €5000+. Which is more or less half the car market price. After trying "cheaper" approaches that mounted to the same €5k over the 1.5 years, without resolving the problem, I decided to sell the car.

On the other hand, this is just an ecology thing. Your car can perfectly live without it. You can turn it off for a fraction of that cost. After a year of trying different approaches, my mechanic even offered to do it for free. The temptation is very strong. You didn't plan financially for this kind of repair costs when you were buying a diesel car. You need your car to keep going for another 2-3 years at the very least to make the purchase feasible.

Of course, you can call it a customer mistake. After all, the manufacturer didn't provide a warranty beyond 100k kilometers. But nobody tells you that the car takes €5000+ in repairs per 100k kilometers.

I'm all hands for the ecology. Don't get me wrong. I didn't accept the offer to remove the insides of the particle filter. However, if I didn't have the money to buy a new car, I would certainly do that. With my conscience being clear, because I'm 100% sure that the manufacturer is the one who is responsible for this. And the governments who allowed this manufacturer to behave like that. I'm OK with paying the "ecology tax", but it should be clearly stated in the papers, and not shadily emerge after 100k kilometers.
g7r
·3 months ago·discuss
Technically, the methods with a queue drop up to an entire frame at the beginning of the window. Depending on how the averageProcessingTime() function is implemented, this can mean either faster recovery after a single heavy frame (if it divides by the sum of the durations of the frames in the window) or slightly lower than actual values overall (if it just divides by the duration of the window).

But that's just the nerd in me talking. The article is great!
g7r
·8 months ago·discuss
Ah, nice story!

This reminds me of another story with FPU involved. I was a game developer once. We were making a game that consistently triggered assertion failures related to FPU calculations, but only on a single PC in the whole office. The game was explicitly setting FPU precision to 32 bits at the start to make all calculations more consistent. However, on that particular PC, there was a fancy hand writing input software that injected its DLL into every process. As you've probably already guessed, that DLL did FPU mode reset to the default in the event handling loop (i.e., main thread). I had to shift FPU mode setting code from process initialization to the event handling loop to be able to deal with the damage that third party DLLs could inflict.
g7r
·11 months ago·discuss
Yes. The FAQ says that multilingual capabilities are in the works.
g7r
·last year·discuss
Maybe so. However, it is really really handy when you are assessing the completeness of your tests using code coverage, and can clearly see unhandled negative paths. And then you can decide whether some of them deserve dedicated tests or not.
g7r
·last year·discuss
I have experience using both MongoDB and PostgreSQL. While pretty much spoken here is true, there is one more scalability aspect. When a fast moving team builds its service, it tends to not care about scalability. And in PostgreSQL there are much much more features that prevent future scalability. It's so easy to use them when your DB cluster is young and small. It's so easy to wire them up into the service's DNA.

In MongoDB the situation is different. You have to deal with the bare minimum of a database. But in return your data design has much higher horizontal scalability survivability.

In the initial phase of your startup, choose MongoDB. It's easier to start and evolve in earlier stages. And later on, if you feel the need and have resources to scale PostgreSQL, move your data there.
g7r
·2 years ago·discuss
We use Cargo Cult to refer to this phenomenon: https://en.wikipedia.org/wiki/Cargo_cult_programming
g7r
·2 years ago·discuss
Can you please share a couple of examples on how you use Anki?