News for hackers. Stuff that matters.

F-W-M

Re:What Async Promised and What It Delivered on Sunday April 26, 2026 @12:56AM (#47907500)
I know what a vtable is, but what is vtable-based effect programming?
Re:Pushing and Pulling: Three Reactivity Algorithms on Monday March 09, 2026 @07:06AM (#47307473)
How does this relate to e.g. the research around https://docs.rs/adapton/latest/adapton/ or https://github.com/janestreet/incremental?
Thanks alot.

How easy one can debug such a systems easily outweighs the costs, if you have a low number of separate services.

Re:Time-Travel Debugging: Replaying Production Bugs Locally on Saturday February 28, 2026 @05:17AM (#47193210)
How do you structure your program to do this?

I had huge success writing a trading system where everything went through the same `on_event(Inputs) -> Outputs` function of the core and a thin shell was translating everything to inputs and the outputs to actions. I actually had a handful of these components communicating via message passing.

This worked rather well as most of the input is async messages anyway, but building anything else this way feels very tiresome.

I think I read here on hackernews that the Mona Lisa doesn't look at all like it did when it was freshly made. If I look at the restored copy https://en.wikipedia.org/wiki/Mona_Lisa_(Prado)#, I at least find the silk very nice.
Re:Hetzner Prices increase 30-40% on Monday February 23, 2026 @05:39AM (#47120522)
I guess it's just a bad translation and means IT sector. German word: "IT-Branche"
Re:Trunk Based Development on Saturday February 21, 2026 @04:32AM (#47099035)
If you need to support multiple versions at the same time, you need to extend TBD in some way.

We just cherry-picked stuff back to release branches, if we needed a fix.

Re:Human writers have always used the em dash on Monday September 15, 2025 @04:25PM (#45254503)
I have all of it on my keyboard: neo-layout.org
Re:Demystifying decorators: They don't need to be cryptic on Wednesday April 23, 2025 @10:40AM (#43772771)
They implement the design pattern.
It's not useless in promoting UBI given the uncritical news coverage in Germany.
Re:The Frontend Treadmill on Friday March 21, 2025 @06:23PM (#43441374)
Doesn't help. I just cannot center that div or make it look pretty.
Re:Tech terms I was pronouncing wrong on Friday March 21, 2025 @05:50PM (#43441158)
I'd say it's e-dem-po-tent. Not eye, but eagle.
Re:Breaking Up with On-Call on Tuesday March 18, 2025 @03:20PM (#43403736)
I am on-call for a week every ~8 weeks. I get 500 € and two additional days of vacation for it. If I do get a call, the additional hours go to my time account.

Fair deal, I'd say. Only problem is that most of the applications are from vendors, so getting problems fixed is an ordeal.

Re:But how to get to that European cloud? on Tuesday March 18, 2025 @03:03AM (#43396465)
I have been working for large European utilities and even within AWS/Azure deploying something takes weeks.
Re:Zelensky leaves White House after angry meeting on Saturday March 01, 2025 @06:21AM (#43218226)
Wehrmacht was mostly supplied by horses.
Re:I don't do Domain Driven Design on Sunday December 29, 2024 @12:59PM (#42541570)
> DDD is against the idea of having a single unified model; instead it divides a large system into bounded contexts, each of which have their own model.

If you have a large system it makes sense to divide it into smaller independent pieces. If you have a (micro)-service architecture you have distinct services, in a monolith you might have modules.

It is a hard problem to know where exactly the boundaries between services or modules should be, in any case DDD calls the things that make sense to decouple bounded contexts.

Re:Cognitive load is what matters on Wednesday December 25, 2024 @06:24PM (#42511917)
It does not matter if function foo is reused, only if the code inside foo that is to be pulled into new function bar is.
Re:Cognitive load is what matters on Wednesday December 25, 2024 @06:17PM (#42511858)
Define that function directly in the place where it is used (e.g. as a lambda, if nesting of function definitions is not allowed). Keeps the locality and makes it obvious that you could just have put a comment instead.
Re:Cognitive load is what matters on Wednesday December 25, 2024 @06:12PM (#42511832)
A PR with self-contained smaller commits would be possible as well.
Re:Cognitive load is what matters on Wednesday December 25, 2024 @06:10PM (#42511827)
I good process would be to just push the proposal to the branch in review.
I work for a large european power utility. We are moving away from buying to in-house development. LLMs have nothing to do with it.
Modding her favorite game could proof a entry drug to the industry.
Re:Meetup has been acquired by Bending Spoons on Thursday January 11, 2024 @11:36AM (#38954549)
I visited more events post-covid than pre-covid.
Re:Meetup has been acquired by Bending Spoons on Thursday January 11, 2024 @10:44AM (#38953765)
What did reality do to meetup?
Re:The biggest losers: Metabolic damage or constrained energy? on Thursday January 11, 2024 @06:56AM (#38951061)
Putting on muscle surely takes way more energy than maintaining it.
Re:Polars on Tuesday January 09, 2024 @02:50AM (#38923504)
Is there a good book/overview on how dataframes and OLAP query engines work under the hood?
Re:Git Things on Monday January 01, 2024 @05:41AM (#38830951)
In one of the best teams I worked with we started doing that on our own. I still do it (not always, but often) on my projects.
Re:Desalination Can Beat Out Batteries for Excess Energy on Tuesday December 19, 2023 @11:11AM (#38697381)
Do you have a auction + continuous market as well? With same or with different granularity?

Europe has an day-ahead auction with 1h products and continuous trading with quarter hours as the smallest product (still varying from country to country).

Re:Desalination Can Beat Out Batteries for Excess Energy on Monday December 18, 2023 @02:55PM (#38687333)
Energy costs vary not only over the day but per quarter hour in each hour, e.g. during the morning the last quarter is cheaper than the first for each hour. So you don't necessarily have to shut down the machines, maybe you can just move the most energy expensive phase into another quarter.

If you are brewing beer you have times where you have to heat it and times where it needs to sit at a given temperature. Try to optimize the process to heat during cheaper quarter hours.

Re:What if an SQL statement returned a database? on Monday December 11, 2023 @06:22PM (#38606871)
Long time ago I learned that a database is any kind of structured, machine readable data. A database management system is the software that manages these databases and databases + database management system = database system. Dunno if recalled correctly.

Directly afterwards I got told that no one ever uses these words correctly, but the professor felt obliged to at least tell us the academic definition once.

Since this was a German lecture, some time was spent on the correct plural of schema (german: Schema). The options presented were Schema, Schemas, Schemata and everything was allowed as long as it is not Schemen (multiple shadowy figures).

Dunno why I remember this. It's the only part of the lecture I really remember.

Older »