Readit News logoReadit News
tauchunfall commented on Why Koreans ask what year you were born   bryanhogan.com/blog/korea... · Posted by u/bryanhogan
varjag · 3 months ago
This is remarkable because from my outsider glimpse German culture puts an emphasis on formality and credentials. If someone has a signature like "Dr. Ing. Prof. Anselm Schultz" am sure not opening my email with "Hi Anselm".
tauchunfall · 3 months ago
It changed a lot in the last 25 years. But it can depend from place to place. One of my friends has a Master of Engineering and he was a bit surprised when somebody in Austria addressed him with "Oh, Herr Ingenieur!"
tauchunfall commented on Why Koreans ask what year you were born   bryanhogan.com/blog/korea... · Posted by u/bryanhogan
benediktwerner · 3 months ago
Interesting, as a German (which also has a similar system), I am the complete opposite, I find it super irritating when people address me by my last name. And the worst part is having to figure out how to address others, especially people you've known for a while but aren't really close to, e.g. say long-time neighbors I rarely meet.

Luckily, in the IT industry, it's common to just use first names with everybody.

tauchunfall · 3 months ago
>I find it super irritating when people address me by my last name.

Me too. There are still German companies where coworkers address others with Herr or Frau followed by their last name.

I find it also interesting how people that learn German understand the difference between the "you" in formal ("sie") and informal ("du") version, but often don't understand in which context du use them. In most cases you can use the informal "du" nowadays, especially when you are out with somebody for a beer.

After elementary school we had this interesting shift form addressing the other children with first name to addressing them with last name. We were circa 11 years old.

tauchunfall commented on Zod 4   zod.dev/v4... · Posted by u/bpierre
myflash13 · 3 months ago
Basecamp and Hey are $100m+ software companies that use Ruby on Rails without an SPA.
tauchunfall · 3 months ago
Yes, and it actually works. I use something like htmx or fixi [1] for my frontends of side-projects. Alternatively, I could also use laravel livewire, I even argue you could use them for large-scale projects like ERP systems. I even re-build small parts of a large ERP system including the design system implemention using htmx. No need for react or similar things, if you know HTML and CSS well and are a bit disciplined.

But once you don't use ORMs or have a non-monolithic architecture, you need something to validate your schema.

[1] https://github.com/bigskysoftware/fixi

tauchunfall commented on Zod 4   zod.dev/v4... · Posted by u/bpierre
ramon156 · 3 months ago
Well zod is for typescript, not laravel/livewire
tauchunfall · 3 months ago
Yeah, it's very useful to validate schemas at compile-time and runtime. It prevents several different problems to occur.

Lately, I used code agents a lot, and having typescripts types infered from Zod schemas allows me to catch errors when the large-language model generated slightly wrong code.

tauchunfall commented on Zod 4   zod.dev/v4... · Posted by u/bpierre
myflash13 · 3 months ago
If it’s backend only why do JSON shapes need to be continually checked? Can’t you serialize higher level classes or use the database?
tauchunfall · 3 months ago
If a JSON shape is maintained by another team, e.g. how can you know they did not change the shape without speaking with them? You could instead validate the schema and log the errors and get notified by the errors and then change your client code. This also means your client code does not need to know about the details of the database.
tauchunfall commented on Zod 4   zod.dev/v4... · Posted by u/bpierre
myflash13 · 3 months ago
As a full stack dev that runs their own SaaS with thousands of users in production, sometimes I get a very pleasant reminder of how many problems I am blissfully unaware of just because I decided not to build an SPA or use JS frontend frameworks. It never occurred to me that I need such a thing as Zod/ArkType - first time hearing of it, and I have no use for it.

It boggles my mind how much effort and complexity and tooling goes into building an SPA. Entire classes of problems simply don't exist if you choose not to build an SPA. Meanwhile, I use the browser as designed: with full page reloads, backend development only, and occasional reactivity using a backend-only framework like Laravel Livewire. Everything is so simple: from access control to validation to state management. And yes, my app is fast, reactive, modern, SEO friendly, and serves thousands of users in production.

tauchunfall · 3 months ago
I worked on two large projects that use Zod and Protobuf to ensure schema evolution goes well with 5+ teams. Even if you have a lightweight frontend, it makes sense to use something that validates the schemas in the backend.

In the end you'll have a schema somewhere. Maybe defined in the database system, maybe defined in the models of an object-relational mapper. Since defining the schemas in database system or using object-relational mappers can cause very difficult problems in large projects we do not use it and use Zod and Protobuf instead. While I think you could even replace Protobuf completely with Zod or something similar.

There is the British Post Office scandal [1] around an IT system called Horizon (the legacy system in this case). After reading about the details I'm pretty sure something like Zod (I mean any schema validation) would have contributed to prevent this scandal. They even mentioned the lack of using a schema in the technical appendices in the court documents of the group legal action [2].

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

[2] https://en.wikipedia.org/wiki/Bates_%26_Others_v_Post_Office...

tauchunfall commented on I stopped using AI code editors   lucianonooijen.com/blog/w... · Posted by u/kiyanwang
acron0 · 5 months ago
This feels similar to articles with titles such as "Why every developer should learn Assembly" or "Relying on NPM packages considered harmful". I appreciate the core of truth inside the sentiment, and the author isn't _wrong_, but it won't matter over time. AI coding ability will improve, whether it's writing, debugging or planning. It will be good enough to produce 90% of the solution with very little input, and 90% is more than enough to go to market, so it will. And yes, it won't be optimal or totally secure, or the abstractions might be questionable but...how is that really different than most real software projects anyway?
tauchunfall · 5 months ago
>It will be good enough to produce 90% of the solution with very little input, and 90% is more than enough to go to market, so it will.

What backs up this claim? And when will it reach it?

We could be very well reached a plateau right now, which means looking at previous trends in improvements does not allow us to predict future improvements. If I understand it correctly.

tauchunfall commented on We rewrote The NYT text editing library. Then we OSSd it. Then rewrote it again   smoores.dev/post/we_rewro... · Posted by u/antics
antics · 7 months ago
I really love this article. I made the transition in the opposite direction: I am a distributed systems engineer who found himself working on a collaborative text editor, and initially it was very unintuitive to me that text editors were not a completely solved problem.

One of the most confusing things about the space is that you only learn after using every high-level editing library (Lexical, etc.) that ProseMirror really is the right abstraction, a masterpiece of engineering and architecture. The reason this is unintuitive is because ProseMirror is essentially the same level of abstraction as a compiler middle-end, and it's surprising that there are no higher-level abstractions that seem to work better in practice. If you are doing something remotely non-trivial, you will need the customization that only ProseMirror provides, and you will learn that the hard way. You will need the decade of bug-fixes for various touch devices and old browsers, you'll need the careful work that has gone into performance, and so on.

For a long time the missing piece was that (1) PM defaults are not what the vast, vast majority of users want, and (2) it is nearly impossible to get it to work cleanly with React. react-prosemirror, in my view, is the solution. Every day I am happy that I get to work with it, and I am not sure what we'd do without it.

tauchunfall · 7 months ago
>If you are doing something remotely non-trivial, you will need the customization that only ProseMirror provides, and you will learn that the hard way.

As far as I know Meta's Lexical [1] (used by Facebook, Whatsapp, and Instagram) is goes also a similar direction: customizable, but it takes time to get used to it.

[1] https://github.com/facebook/lexical

tauchunfall commented on Ask HN: Dense Tree Layout Algorithms    · Posted by u/bwestergard
atzeus · 8 months ago
This is a great index of algorithms for drawing trees:

https://treevis.net/

tauchunfall · 8 months ago
The paper for "Space-Reclaiming Icicle Plot (2020)" looks like it's going into the right direction. A space-reclaiming tree layout would be even better.
tauchunfall commented on The Boo Programming Language   github.com/boo-lang/boo... · Posted by u/luismedel
ur-whale · a year ago
Reading the first few paragraphs, I note

    - heavy dependence on large (Mono) and/or unusual tools (nmake ... in 2024 ... really?)

    - worse than that, dependence on specific (older) versions of exotic, non-standard things

    - not much in the way of "this is what the language looks like" or "this is what this language is good at"

    - the windows world smell surrounding the project is pungent, to say the least
Not too appealing to have to install that much crap on one's system just to play with a new language.

I hope for the sake of the project this is a temporary state of affairs.

[EDIT]: a maybe slightly better intro to the language than the github page:

https://boo-language.github.io/

tauchunfall · a year ago
There is a lot to read in their wiki, https://github.com/boo-lang/boo/wiki

>Not too appealing to have to install that much crap on one's system just to play with a new language.

Ironically, this is what I thought about C# and Visual Studio when I used it 20 years ago. Boo was much easier to get started with back then, when you just wanted to try out .NET 2.0. It took me a few minutes to download and install .NET Framework (~20 MB) and SharpDevelop (~15 MB) versus five CDs of Visual Studio 2002 which took an hour or so to install on the machines of that time. And yes, I already skipped the installation of the Microsoft Developer Network (MSDN) documentation which as far as I remember already took an hour alone.

For some reason the installation of a development environment for Java was also much easier than Visual Studio, i.e. one had to download Java Runtime Environment (~100 MB) and unpack it, and then download Eclipse IDE (~100 MB) and unpack it. When you downloaded both archive files already it took a few seconds to unpack it and double-click on the eclipse.exe.

u/tauchunfall

KarmaCake day203May 6, 2015View Original