Better HN
topnewbestaskshowjobs
Log inSign up

dm3

379 karma · joined Nov 26, 2010 (16y ago) · 147 submissions

Submissions

comment 3mo ago · link · parent

Monthly payment depends on Kanton as well - in the German part you can still get basic insurance for 250 USD/month.

comment 1y ago · link · parent

I'm very surprised you find this workflow more efficient than just writing the code. I find constructing the mental model of the solution and how it fits into existing system and codebase to be 90% of effort, then actually writing the code is 10%. Admittedly, I don't have to write any boilerplate due to the problem domain and tech choices. Coding agents definitely help with the last 10% and also all the adjacent work - one-off scripts where I don't care about code quality.

comment 1y ago · link · parent

Disadvantages don't list performance hit for proxying every operation through another indirection layer. Can this sort of interface be implemented with zero overhead in Rust?

comment 1y ago · link · parent

That's why you see such a difference in time saved using LLMs for programming across the population. If you have all the domain knowledge and the problem is generic enough it's a 100x multiplier. Otherwise your experience can easily range from 0.1x to 10x.

comment 1y ago · link · parent

This approach to security is backwards. It's way harder to find security issues than to never include them in the first place. This approach might work for another webapp but I highly doubt a retroactive security analysis is practical for a more involved system.

comment 1y ago · link · parent

Looks like we're in a similar situation. What is your current go-to for setting up lean incremental data pipelines?

For me the core of the solution - parquet in object store at rest and arrow for IPC - haven't changed in years, but I'm tired of re-building the whole metadata layer and job dependency graphs at every new place. Of course the building blocks get smarter with time (SlateDB, DuckDB, etc.) but it's all so tiresome.

comment 1y ago · link · parent

What would be the largest difference to Kurrent (former EventStore)?

comment 2y ago · link · parent

I find LLMs via Aider great for:

* code translation - e.g. convert a self-contained implementation of a numerical algorithm from one language to another and generate test cases and property tests which make sure the implementations are equivalent. The goal is to avoid having to proof read the generated code.

* one-off scripts - any task where code design doesn't matter, the amount of code is limited to couple hundred lines (GPT-4o) and the result will be thrown away after use.

* API exploration - producing examples for APIs and languages I'm not fluent in. Reading reference documentation gives a better understanding, LLMs get the results out faster.

comment 3y ago · link · parent

> I think it's a bit of a myth that (ignoring FPGAs) that writing a low-latency software trading system is a time/cost expensive process.

This depends a lot on the complexity of the trading system and the trading venue specifics. A system to trade single stocks or futures can be built, certified and running in 3 months. A system for options market making will take a lot longer.

comment 3y ago · link · parent

Interesting that this is Clojure and it doesn't mention Hoplon/Javelin[0] as prior work. I've used Hoplon/UI[1] to implement a moderately complex web app ~6 years ago. The library is practically a prototype, pretty much dead by now. However, I found the ideas interesting.

I find the biggest benefit of using a fringe library like this is the ability to read and understand the whole implementation. It's really simple compared to something like React.

[0]: https://github.com/hoplon

[1]: https://github.com/hoplon/ui

comment 3y ago · link · parent

People are already making progress on this, e.g. the H3 project[1].

[1] https://arxiv.org/abs/2212.14052

comment 4y ago · link · parent

I wonder if HdrHistogram[1] could have done the job. Didn't find any references to that one in the post.

[1]: http://hdrhistogram.org/

13.

Climate reality check – an alarming summary(climaterealitycheck.net ↗)

2 points · by dm3 · 4y ago · discuss

14.

Climate change framed as an immediate military threat (Marine Corps University)(usmcu.edu ↗)

4 points · by dm3 · 4y ago · 1 comment

comment 4y ago · link · parent

Oh wow, do you find this sort of a career fulfilling?

comment 4y ago · link · parent

Had to do the same. However, I do handstand push ups on small parallettes[0] which keeps the wrist in the similar position as doing fist push ups, but doesn't hurt my knuckles.

[0]: https://woodpower.com/products/woodpower-parallettes-push-up...

comment 4y ago · link · parent

How did it work out? Very curious, as such granularity of deployable units seems absurd unless it's deployed into a single runtime...

comment 4y ago · link · parent

Very good points. Agree with most of them - especially the lack of interfaces. I'm currently working on a ~30k LOC Julia codebase which was mostly written by myself. This is split into ~80 packages within a monorepo. I've never ran into problems with tests taking too long as tests for a single module take a reasonable amount of time to run.

I'd really love a PackageCompiler that would "just work" though. Julia 1.6+ made a lot of progress in pre-compile times. However, nothing beats being able to easily release a binary...

comment 4y ago · link · parent

It's using a standard-year/month/day convention which might be what's required in that particular case. It's definitely not a generic solution.

comment 4y ago · link · parent

I think this is completely OK. We treat our physical valuables with care. Why would we treat our digital valuables otherwise?

comment 4y ago · link · parent

They were probably also sourcing their state from the events. However most of their problems come from sharing the events between the modules/services which is not a part of Event Sourcing.

comment 4y ago · link · parent

> I think one major problem is that "Event Sourcing" can mean subtly different things to different people.

You're right. Here's a list of posts[1] about Event Streaming which claim to be about Event Sourcing. The discussed article is in the list.

[1]: https://github.com/oskardudycz/EventSourcing.NetCore#1319-th...

comment 5y ago · link · parent

I'll answer for Switzerland which also has a strong bicycling culture. People cycle while they're physically able. I have a neighbour couple who are around 70 and cycle everywhere in the city limits.

comment 5y ago · link · parent

Don't worry! I gave it as an example of a behaviour we learn as kids which is easily explained because we know about microbes and the process of teeth decay.

However, people have been cleaning teeth for thousands of years. My (naive) belief is that people associated the procedure with good health but weren't able to explain why it works. It was mostly tradition or good habit passed on through generations. Citing Wikipedia[1]:

> The Indian method of using wood for brushing was presented by the Chinese Monk Yijing (635–713 CE) when he described the rules for monks in his book:

> Every day in the morning, a monk must chew a piece of tooth wood to brush his teeth and scrape his tongue, and this must be done in the proper way. Only after one has washed one's hands and mouth may one make salutations. Otherwise both the saluter and the saluted are at fault.

[1]https://en.wikipedia.org/wiki/Tooth_brushing

comment 5y ago · link · parent

I understood the "traditions" GP mentioned as cargo-culted practices tied to the decision a single person makes going through his life. Like not eating pork, brushing teeth or boiling pasta uncovered.

I agree that you can easily find abstract ideas people hold true about the world which would require serious re-education in order for the opinions to change.

comment 5y ago · link · parent

How would a person follow a tradition of economic growth?

Do you mean consumerism? I don't think that one fits either as it's something people choose to do because it provides satisfaction.

comment 5y ago · link · parent

Could you give some examples of traditions that an average American follows which are beneficial and would be hard to explain? I honestly couldn't come up with anything...

comment 5y ago · link · parent

This is very interesting. Are there any books you'd recommend on the topic which would explain the directions pharmaceutical science is heading towards to a layman?

comment 5y ago · link · parent

I understand this thread is about dumping on ES... However, I must notice in your case it was an audit log. An ES system wouldn't work at all without access to events.

comment 5y ago · link · parent

This is a bit different. You are talking about a domain where the developer is usually the domain expert. You know very well what "procedurally generated terrain", "3D renderer", "database", "screen" and "framebuffer" are. Even if you don't - good and unambiguous definitions are usually just a couple internet searches away.

Now imagine you need to encode behaviours for a system where domain experts use terms and jargon you've never heard before. Even worse, users of the same system coming from different departments use the same terms to mean different things. How do you draw the boundaries there? That's what the GP finds disappointing - there is no single guide or reliable process to jump into a new domain and get the boundaries right.

12345