HN user

Sphax

482 karma

https://rischmann.fr

Posts14
Comments143
View on HN

That is some insane value. I've been using GLM Coding Plan Max with GLM 5.1 for a while and i've tested DeepSeek V4 Pro maybe for 3 weeks now and I found it to be better than GLM 5.1 for complex coding tasks. I've used 65m tokens and with that price it cost me $1.5, that's really cheap.

Love this. Great UI and straight to the point. Thank you for sharing.

One thing I'm curious about, is there a way to add a bookmark from a browser on iPhone ? When I'm browsing I often want to save an article in my reading list, right now I'm using Notion with the Share feature. Curious if you had the same need.

This is a cool idea. I also like the website, very clean looking, congrats.

I do have some questions: can the owner of a server split it any way they want ? For example if I have a 64 GB server with 16 cores (something OVH provides IIRC) can I split it into 32 2GB/0.5CPU VM ? (assuming firecracker can handle fractions of a CPU, I don’t know). This could make for some really cheap VM compared to even OVH’s offering.

For that matter do you only support certain types of server or can the owner choose any server they want from Hetzner or OVH ?

Yes. I have maintained my ledger with beancount for 5/6 years now. I don’t automate downloading from my bank, it’s not worth the hassle especially now that every login requires 2FA with my phone.

But I did write an importer for the csv files my bank provides and with smart_importer I don’t even have to categorize the statements anymore (although there are mistakes sometimes). I don’t gather metrics though , I use fava to have a visual view of my books.

I usually spend half an hour per month maintaining the ledger .

The UI looks nice but it doesn't look like there's CarPlay support unfortunately.

I don't use my car that often but when I do I want to be able to access my music library. Right now I'm stuck with Plex and Prism on iOS because other solutions are not good in that regard as far as I've seen in my testing.

Hardware wise I bought a TerraMaster F4-423 used last year for about 300€. It's a great device.

Software wise, I use Fedora Server, although if I had to reinstall now I would use AlmaLinux because I don't need the new stuff coming with Fedora Server on my NAS.

I write Go, tried Odin for about 3 weeks, decided it wasn't for me.

I appreciated some things, like the fact that the syntax is close to Go, the easy interop with C, the fast compilation, somewhat complete stdlib.

Other things I didn't like much: pointers have changed to '^', I'm sure there's a reasonable but I just don't like it, I'm used to '*'. Error handling is a PITA as far as I can remember. Meta programming felt clunky.

This is all subjective based on my limited experience, but I felt that Zig worked better for me.

I've been using Kafka professionally for more than 10 years, since 0.8 where consumer groups didn't even exist yet. In my opinion this post exagerates a lot of things to promote their product. We don't have giant clusters but we routinely do more than a million messages produced/s so it's not a completely trivial load.

Configuration complexity: there are a couple of things we had to tune over the years, mainly regarding the log cleaner once we started leveraging compacted topics, but other than that it's pretty much the default config. Is it the most optimal ? No but it's fast enough. Hardware choice in my opinion is not really an issue: we started on HDDs switching to SSDs later on, the cluster continued working just fine with the same configuration.

Scaling I'll grant can be a pain. We had to scale our clusters mainly for two reasons: 1) more services want to use Kafka therefore there are more topics and more data to serve. This is not that hard to scale: just add brokers to have more capacity. 2) is when you need more partitions for a topic; we had to do this a couple of times over the years and it's annoying because the default tooling to do data redistribution is bad. We ended up using a third party tool (today Cruise Control does this nicely).

Maintenance: yes, you need to monitor your stuff. Just like any other system you deploy on your own hardware. Thankfully monitoring Kafka is not _that_ hard, there are ready made solutions to export the JMX monitoring data. We use Prometheus (prometheus-jmx-exporter and node_exporter) almost since the beginning and it works fine. We're still using ZooKeeper but thankfully that's no longer necessary, I just have to say our zookeeper clusters have been rock solid over the years.

Development overheads: I really can't agree with that. Yes, the "main" ecosystem is Java based but it's not like librdkafka doesn't exist, and third party libraries are not all "sub par", that's just a mischaracterization. We use Go with sarama since 2014, recently switched to using franz-go: both work great. You do need to properly evaluate your options though (but that's part of your job). With that said, if I were to start from scratch I would absolutely suggest starting with Kafka Streams, even if your team doesn't hava java experience (I mean learning Java isn't that hard), just because it makes building a data pipeline super straightforward and handle a lot of the complexities mentioned.

I really dislike the attitude that open source maintainers should adapt their code to comply with any bullshit requirements from random companies just so they can use the code. Be grateful that someone wrote code for you to use freely.

We use VictoriaMetrics at work since I think 2019 or something. The tl;dr is that it works great.

When we migrated to it we replaced 6 prometheus servers with only 1 victoria metrics server, it was crazy efficient. We ran with a single node for all our metrics for 3 years while the number of data points observed kept growing. Today we run a 7 node cluster.

I have no idea if today Prometheus could serve our workload as efficiently but for information, a provider wanted to quote us like 300k€ per year to serve the same metrics; our setup doesn't cost anywhere near that.

Tree-Sitter 2 years ago

I use neovim, the tree-sitter support is great especially with nvim-treesitter which means I can just run `TSInstall <parser name>` and I'm done.

Writing a tree-sitter parser is not that easy though. I wrote tree-sitter-templ to parse templ files and I still have a hard time identifying some parsing errors, especially since I had to implement a custom external scanner which in my experience was the source of a lot of bugs.

[0] https://github.com/vrischmann/tree-sitter-templ

Charges applied by a PSP in respect to instant credit transfer transactions in euro cannot be higher than the charges applied to “non- instant” credit transfer transactions in euro.

does this mean instant SEPA transfers must now be free ? Because currently my french bank charges 1€ or something for instant SEPA transfers but doesn't charge anything for non-instant SEPA transfers.