Better HN
topnewbestaskshowjobs
Log inSign up

F-W-M

98 karma · joined Dec 16, 2022 (3y ago) · 80 submissions

Submissions

comment 7mo ago · link · parent

I know what a vtable is, but what is vtable-based effect programming?

comment 8mo ago · link · parent

How does this relate to e.g. the research around https://docs.rs/adapton/latest/adapton/ or https://github.com/janestreet/incremental?

comment 8mo ago · link · parent

Thanks alot.

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

comment 8mo ago · link · parent

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.

comment 9mo ago · link · parent

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.

comment 9mo ago · link · parent

I guess it's just a bad translation and means IT sector. German word: "IT-Branche"

comment 9mo ago · link · parent

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.

comment 1y ago · link · parent

I have all of it on my keyboard: neo-layout.org

comment 1y ago · link · parent

They implement the design pattern.

comment 1y ago · link · parent

It's not useless in promoting UBI given the uncritical news coverage in Germany.

comment 1y ago · link · parent

Doesn't help. I just cannot center that div or make it look pretty.

comment 1y ago · link · parent

I'd say it's e-dem-po-tent. Not eye, but eagle.

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

I have been working for large European utilities and even within AWS/Azure deploying something takes weeks.

comment 1y ago · link · parent

Wehrmacht was mostly supplied by horses.

comment 1y ago · link · parent

> 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.

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

A PR with self-contained smaller commits would be possible as well.

comment 1y ago · link · parent

I good process would be to just push the proposal to the branch in review.

comment 1y ago · link · parent

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.

comment 2y ago · link · parent

Modding her favorite game could proof a entry drug to the industry.

comment 2y ago · link · parent

I visited more events post-covid than pre-covid.

comment 2y ago · link · parent

What did reality do to meetup?

comment 2y ago · link · parent

Putting on muscle surely takes way more energy than maintaining it.

comment 2y ago · link · parent

Is there a good book/overview on how dataframes and OLAP query engines work under the hood?

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

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).

comment 2y ago · link · parent

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.

123