HNHacker News
TopNewBestAskShowJobs

cardanome

3,801 karma · joined January 20, 2021

submissionscomments
cardanome··on D Programming Language
> The fact that C# is becoming the GC language in game dev is proving my point.

That is just the Unity effect. Godot adopted C# because they get paid to do so by Microsoft.

C# allows for far lees control over the garbage collection compared to D. The decision to use C# is partly responsible for the bad reputation of Unity games as it causes a lot of stutters when people are not very careful about how to manage the memory.

The creator of the Mono runtime actually calls using C# his Multi-million dollar mistake and instead works on swift bindings for Godot: https://www.youtube.com/watch?v=tzt36EGKEZo

cardanome··on Why is Singapore no longer "cool"?
Reality:

> This trial marks the first attempt in Britain to treat political property damage as equivalent to terrorism - an unprecedented and dangerous expansion of state power. Under the current Labour government, many defendants will have spent nearly two years behind bars before even standing trial.

https://www.cage.ngo/articles/trial-begins-for-first-six-of-...

cardanome··on Why is Singapore no longer "cool"?
Detention without trial is also a thing in the UK. Legally limited to 6 months but extended in practice if you are Irish or advocate against the genocide in Palestine. Ask the people of Palestine Action UK.

With the growing fascism all over the world we will see that kind of thing more often.

cardanome··on Show HN: I created a Mars colony RPG based on Kim Stanley Robinson’s Mars books
> The last part is why all the most socially realistic depictions of societies like this are post-scarcity where they've mastered some kind of sci-fi energy source (cheap easy fusion, antimatter, tapping the zero point, etc.).

Yeah, Marx already had these kind of discussions in the 19th century.

It is very interesting that you arrived to similar conclusions while employing a very different methodology.

Marxism evolved out of a criticism of what they call utopian socialism. Marx realized that socialism could only be build upon the massive development of productivity forces that would lead towards a post scarcity society.

Which is also why actually existing socialism struggled so hard. A revolution is more likely to occur in the least developed parts of the world but that also means it will be one of the hardest places to implement socialism in. Especially while having to defend itself against the rest of the world.

Many Marxists didn't even believe it could be possible to build socialism in such a condition but the Soviet Union proved otherwise. It brought many millions of people out of poverty but also had to make some hard and maybe sometimes wrong choices.

The good news is that these days even the least developed parts of the world are vastly more developed than they were in the 19th or 20th century. Modern actually existing socialism will look vastly different. Plus the rot of the latest stage of capitalism is showing more and more.

So socialism might be closer than we might think.

cardanome··on We tasked Opus 4.6 using agent teams to build a C Compiler
If will write you an C compiler by hand for 19k and it will be better than what Claude made.

Writing a toy C compiler isn't that hard. Any decent programmer can write one in a few weeks or months. The optimizations are the actually interesting part and Claude fails hard at that.

cardanome··on A new bill in New York would require disclaimers on AI-generated news content
> Don't let the AI lobby insist on anything that's touched an LLM getting labelled, because if it gets slapped on anything that's even passed through a spell-checker or saved in Notepad

People have been writing articles without the help of an LLM for decades.

You don't need an LLM for grammar and spell checking, arguably an LLM is less efficient and currently worse at it anyway.

The biggest help a LLM can provide is with research but that is only because search engines have been artificially enshitified these day. But even here the usefulness is very limited because of hallucinations. So you might be better off without.

There is no proof that LLMs can significantly improve the workflow of a professional journalist when it comes to creating high quality content.

So no, don't believe the hype. There will still be enough journalists not using LLMs at all.

cardanome··on A new bill in New York would require disclaimers on AI-generated news content
Obviously people mean LLMs these days when talking about AI. Don't be obtuse.
cardanome··on European Commission Trials Matrix to Replace Teams
I mean German police is using Palantir.

There is nothing magic about Palantir, especially not about the subset of Palantir that the German police uses as we have stricter data privacy laws.

You might think that would be a strategic risk not worth taking especially with the US getting more hostile towards Europe but here we are.

Why? Honestly I don't have a good answer other than well the whole system is rotten, corruption, lobbyism, take your pick.

cardanome··on Godot 4.6 Release: It's all about your flow
This exporter works really well for getting Unreal assets into Godot: https://relativegames.gumroad.com/l/unrealtogodot?a=29048984...
cardanome··on Godot 4.6 Release: It's all about your flow
The Godot devs tried bindings to other languages first and it sucked: https://docs.godotengine.org/en/stable/about/faq.html#what-w...

GDScript might be a bad general purpose language but it is a good language for Godot.

You say Python is a "normal" language for me while I love Python, modern Python has gotten way too complicated and clunky with lots of new features added. For me GDScript feels much closer to the original pythonic ideal. Plus it is much easier to learn for people that are not professional programmers.

Maybe you don't enjoy using GDScript and that is fine but saying it is a "objectively bad" language is really uncalled for. For many devs it is the right fit.

cardanome··on Godot 4.6 Release: It's all about your flow
You can use C#. It is well supported except for the (currently) missing web target and Microsoft is funding C# support so it will not get abandoned.

You can also use other garbage collected languages. I once tried the Lua bindings and they worked fine.

The problem with C# is that its garbadge collection is not really suited for game dev. The creator of the Mono runtime actually calls using C# his Multi-million dollar mistake and instead works on swift bindings for Godot: https://www.youtube.com/watch?v=tzt36EGKEZo

But if you really love C# nothing is stopping you. I prefer GDScript.

cardanome··on Godot 4.6 Release: It's all about your flow
> Exactly which part of my comment seems dogmatic

I never said that any part of your comment is dogmatic. This is not private conversation where I am talking to you directly.

I wrote

> People that are dogmatic about static typing show their immaturity

Referring to the people like eatsyourtacos who started this discussion.

cardanome··on GOG: Linux "the next major frontier" for gaming as it works on a native client
I never understood why glibc needs to break ABI. It should not be allowed to. Ever.

You are not reinventing the wheel. Just maintain the damn thing and keep it running as is. As Linus once said "If there's a bug that people rely on, it's not a bug, it's a feature.".

cardanome··on Godot 4.6 Release: It's all about your flow
It has support for typing Arrays and Dictionaries these days. Yes, nested Arrays are still a problem but I am sure they will get to it.

As for performance well the GDExtension support has also gotten much better. You can always go down to C++, Rust, Nim, Zig or whatever. It is really easy to set up.

cardanome··on Godot 4.6 Release: It's all about your flow
The other side of the argument is that dynamic typing is great for prototyping and can allow for more compact code.

The discussion is exhausting because many people don't understand the difference between weak typing and dynamic typing. You basically never want weak typing but dynamic typing has legit uses. Yes JS is both weakly and dynamically typed and that sucks but Common Lisp shows you can have very strong typing and dynamic types.

Lots of very complex software has been writing in dynamically typed languages. The whole Erlang/Elixir world is dynamically typed though Elixir is getting gradual typing.

There is a good reason gradual typing is getting popular, you get the best of both world. You can prototype quickly and then add types and make everything more solid later.

(Which also why you want to always use a statically typed language in the corporate world because there is never a "later" and the bigger the team the more important it is to have the lang enforcing discipline. But not every programming is corporate.)

People that are dogmatic about static typing show their immaturity. The older I get the more I realize that there is no right or wrong way to program, everything it tradeoffs and "it depends".

cardanome··on Godot 4.6 Release: It's all about your flow
> I'm not going to waste my time with GDScript.

The GDScript hate is so odd.

If you know any scripting language you know GDScript. How much time are you wasting when it takes one afternoon to learn? And nowadays it even has gradual typing support for those that are scared of dynamic types.

I have seen C# devs coming to Godot being super prejudiced against GDScript and then end up using GDScript anyway because it is just more pleasant to use.

cardanome··on Vitamin D and Omega-3 have a larger effect on depression than antidepressants
Objectively in the sense that there are actual causes in you life that distress you and cause your symptoms instead of thinking your life is shitty because you are depressed. Of course being able to determine if it is your depression talking or if things are objectively bad isn't easy and people often need outside help from a therapist for that. Plus it isn't really clear cut in practice.

On a sidenote, I know that knowing that it is "just your depression talking" is also a pretty hard pill to swallow and not always helpful. Personally I have a lot of fears that I know are irrational but that doesn't make them any less real.

And even if your problems are external, sometimes you need to focus and your inner self first, find some strength and help so you can tackle the external problems later. But for other people "working on yourself" can be avoiding the actual problems they need to work on.

And yes happiness is always relative.

cardanome··on Vitamin D and Omega-3 have a larger effect on depression than antidepressants
With depression it is important to find the cause of it.

You might be depressed because you life objectively sucks. Then you symptoms are good and healthy and a signal to make changes in your circumstances.

You might actually have a good life but still feel depressed because there is a chemical imbalance in your brain. (Very simplified). That is when drugs come in.

It might be just a seasonal thing and you need to go outside more and take some supplements.

You might have some other undiagnosed issue. You might have ADHD, autism and other things that cause you to struggle and develop depression as a side effect.

So find out what works and what doesn't work for you.

cardanome··on Deutsche Telekom is throttling the internet
It is independent in the sense of not being partial to any specific political party. Still the media is very biased towards the status quo and the state. For example you will not find any serious criticism of Israel in any public or private mainstream media in Germany.
cardanome··on The spectrum of isolation: From bare metal to WebAssembly
The easiest solution is to simply self host your fonts.
cardanome··on Why senior engineers let bad projects fail
The paycheck?

The vast majority of software projects fail. Honestly, I can't remember ever in my career working on a project I really believed in.

Sometimes I do enjoy the challenge of doing the impossible. Turning a doomed project around or at least minimizing damage. I had some where I thought "this worked out but if anyone but me had been in charge, yeah this would have been a disaster". That feeds my ego. Though I never ever get any thanks from management or any praise. Though this is more of a German culture thing.

There is a reason why burn out is so high in software dev. You are set up to constantly fail. If you succeed against all odds you get more and harder work until you fail.

You got to focus on yourself and find joy in the little challenges. Don't fret over things that you can't change.

cardanome··on Is Rust faster than C?
For release builds yes. For debug builds slow compile times kill productivity.
cardanome··on Ask HN: ADHD – How do you manage the constant stream of thoughts and ideas?
First of all if you have the money get an official diagnosis. While self diagnosis is often right, ADHD symptoms can have overlap with many other things so it is better to be sure.

Now want a quick fix? If you can, get medication. It doesn't work for all people with ADHD but for those that it does it will give you the most bang for the buck.

Now there is coping strategies. Therapists can help a lot. There is also people offering ADHD coaching. This is great because the coaches tend to have ADHD themselves and understand you. It helped me personally a lot but be warned that everyone can offer coaching so quality may wary.

Last part is lifestyle. Sport. It is not optional. Running is amazing and will help you a lot but if you are not fit enough yet, walk. Walk every day for at least 30min. You need to. Also personally for me reading a physical book for at least 30min a day makes a huge, huge difference. Diet is important but what works varies from ADHD person to person. For me cutting out processed sugar was a good step.

Also no caffeine. This may also vary but completely cutting it helped me personally a lot. Yes, it helps somewhat with executive function but only in the short term and does more harm than good in the long term. Generally any form form of self medication be it alcohol, weed and so on, cut it out. Again get proper medication if you can.

Honestly accepting that you have ADHD or well at least some form of neurodivergency is already the biggest step. It gets so much easier once you learn how to properly manage it.

cardanome··on AI generated music barred from Bandcamp
They are free to use AI and they are free to post their music on other sides that allow AI.

I think you need hard rules to make it not completely subjective.

cardanome··on AI generated music barred from Bandcamp
There is no shared appreciation for vibe coding.

If it solves a problem, good for you but I don't think people should put their vibe coded projects online. They don't have any value.

There are delusional people who create vibe coded pull requests to open source projects and they believe they are actually contributing value. No they only create work for the maintainers that have to review the subpar code.

As for your use case, are there really no royalty free drum beats that you could use? Not to mention you could probably learn to create your own beats in Ableton in one weekend. You are cheating yourself.

cardanome··on LLVM: The bad parts
QBE might be more to your liking: https://c9x.me/compile/

It is used in the Hare language

cardanome··on BasiliskII Macintosh 68k Emulator Ported to ESP32-P4 / M5Stack Tab5
Especially as there is a decent working BasiliskII port for the PlayStation Portable with its 333MHz single-core MIPS CPU.

So this should be much easier.

cardanome··on Gentoo Linux 2025 Review
Red Hat pushing for the disaster that is Wayland has set the Linux Desktop back decades.

It is the Microsoft of the Linux world.

cardanome··on Google AI Studio is now sponsoring Tailwind CSS
Or like 10 senior engineers in mid sized companies in Europe.

I wish every engineer were paid FAANG money.

cardanome··on The C3 Programming Language
It is called OCaml. Fast compilation and state of the art statically typed functional programming.

Sure it is a bit more complex than Gleam and the syntax is different but you can manage.

← PreviousPage 4 of 34Next →