Better HN
topnewbestaskshowjobs
Log inSign up

deterministic

2,859 karma · joined Feb 27, 2013 (13y ago) · 3,460 submissions

Submissions

comment 10mo ago · link · parent

It's interesting that some of the most successful programming languages (Turbo Pascal, C++, Delphi, Typescript) were designed by people born in Denmark.

comment 10mo ago · link · parent

I work with Linux every day at work writing large scale server applications.

However I choose Windows at home. It is just a much better user experience for me.

Also, Ubuntu often break badly when I try to upgrade. So I only do it as a last ditch effort when something breaks and I can't fix it. I never have that issue with Windows. It just works.

Not to mention that my favourite games are Windows only.

comment 10mo ago · link · parent

How detailed are the specs? Is it basically pseudo code? Can you please give an example of a spec point?

comment 10mo ago · link · parent

I used to develop for the N64 and I can confirm that it is true. It is crazy how much faster the CPU is compared with not-in-cache RAM access.

Optimizing for RAM access instead of CPU instruction speed can make your code magnitudes faster.

comment 10mo ago · link · parent

I have used custom code generators at work for 25+ years.

The generators typically generates about 90% of the code I need to write a biz app. Leaving the most important code to me: the biz logic.

No AI. Just code that takes a (simple) declarative spec file and generates Typescript/C++/Java/... code.

I am also using AI's daily. However the code generators are still generating more productivity for me than AI's ever have.

comment 10mo ago · link · parent

I am perfectly happy with Windows 10 and want to throw my work Linux PC out the nearest window almost every day because of Linux package dependency hell.

I work on different application and are pretty much forced to setup a specific Linux VM for each one to not have package dependency problems.

I never had that problem developing on Windows.

comment 10mo ago · link · parent

I work on Linux every day and wish it was Windows. Linux is package dependency hell. Switching to working on a different application I am often forced to setup a new VM to even build it without breaking other apps I am working on. I never had that problem on Windows.

comment 10mo ago · link · parent

It is unreasonable to expect that a tool built for proving correctness (a very hard problem) somehow should also be able to simulate performance and everything else somebody might need.

A hammer is great for certain things but I don't expect it to make good coffee. I use other tools for that. However that doesn't make hammers deficient.

comment 10mo ago · link · parent

Removing X from a distribution, and making it hard to switch from Wayland to X, makes things really difficult for developers such as myself who is maintaining 30+ year old X applications.

comment 1y ago · link · parent

Thanks. That sounds like a similar situation to me. I am mid 50s.

comment 1y ago · link · parent

Yeah I might have to accept that it is what it is. It is hard though.

comment 1y ago · link · parent

Yep I have seen an optician and an eye doctor. And I did a head/eye scan as well. Apparently my eye is otherwise perfectly fine and healthy.

403.

Ask HN: How do you deal with eye strain as a developer?

7 points · by deterministic · 1y ago · 10 comments

comment 1y ago · link · parent

I have friends in the games industry. Stunningly bad and arrogant leadership seems to be the norm.

Make a random dude (it is usually a dude) a manager in a games company and suddenly he thinks he is a brilliant game designer with all the right answers overruling more experienced people.

Until the game flops and he is fired (or not if a good friend of the CEO).

Rince and repeat until bankruptcy.

comment 1y ago · link · parent

"more affordable" but still very expensive.

comment 1y ago · link · parent

90% of the code I commit is code generated. No AI required.

comment 1y ago · link · parent

The problem is not generating worlds. The problem is generating interesting worlds.

comment 1y ago · link · parent

There are no solutions when it comes to types. Just trade-offs. And your values/experience decides which trade-offs you prefer.

comment 1y ago · link · parent

Rust is destined to become as complicated as C++.

comment 1y ago · link · parent

You are spot on. Most developers have no clue how powerful servers are nowadays.

comment 1y ago · link · parent

Assembly is not that hard. I taught myself to program Z80 assembly on the ZX Spectrum when I was 11 and wrote a small platform game with it.

comment 1y ago · link · parent

You are doing it wrong.

I dump highly complex modified code straight into production and haven't had a single production bug for 6+ years.

The reason why is automatic tests.

comment 1y ago · link · parent

And the result is that most new open source languages (and commercial companies) use LLVM instead of GCC as the backend => way more engineering resources are dedicated to LLVM.

comment 1y ago · link · parent

90% of my code is auto generated using custom code generation tools. No AI needed.

comment 1y ago · link · parent

I have never (in my 30+ years career) worked for a company that required formal code reviews. And yet have managed to deliver a ton of commercially successful software. I am pretty sure that adding a review step would have slowed me down tremendously. Without adding any commercial value.

However I can imagine that code reviews would work well for inexperienced developers being reviewed by more experienced developers?

comment 1y ago · link · parent

It’s rare to read an article where I agree 100% with everything written.

Bravo!

comment 1y ago · link · parent

I have noticed that most developers prefer to spend a month typing code without having to think hard, instead of thinking hard for a bit and then solving the problem in a day.

I don’t get it. It’s very strange.

comment 1y ago · link · parent

Lines of code is not a useful metric for anything. Especially not productivity.

The less code I write to solve a problem the happier I am.

comment 1y ago · link · parent

I am still way more productive using customer code generators than using AI.

However AI’s are great for quickly learning how to use external tools/libraries (like JasperReports) and for quickly writing parser functions.

It is like any other tool: good for some things bad for others.

comment 1y ago · link · parent

C++ developer here (30+ years). C++ is really missing support for sum types. The Haskell JSON example shows how useful it would be to have native support for it. Yes you can build your own but it’s pages of boiler plate code.
1
131415
116