HNHacker News
TopNewBestAskShowJobs

wudangmonk

624 karma · joined March 24, 2015

submissionscomments
wudangmonk··on I write games in C (yes, C) (2016)
If he doesn't use C++ features then there's no point of bothering with C++ at all. C++ is kinda but not really a superset of C. There are some nice features that are lacking in C++.

The fixie example wants to make the comparison that using C instead of C++ is deliverately done just to brag about doing something in a way that is more difficult than in should be. In reality the issue is that C++ might not offer you any benefit at all and it could potentially bring you issues later on for things such as interfacing with other languages.

I personally do not see the point of using C++ if you do not use any of its features.

wudangmonk··on Japan to revise romanization rules for first time in 70 years
Roman letters works somewhat with English because they are both phonetic. Japanese is phonetic too, they have an entire different hiragana alphanet with all the sounds of their language. There is no word in Japanese that you cannot sound out with that alphabet. In Chinese every symbol has a sound, a Chinese sound. Not sure how much you understand about Japanese but you can't just derive the pronunciation of a new word just from looking the components.

I do agree that English is terrible too. English is a mess of Latin, German, French words which is why spelling bee competitions are a thing in English but it would be stupid to have them in other languages such as Spanish and in fact Japanese too. In Spanish you can spell any word regardless of how long and confusing it might seem. Japanese too, using hiragana you can spell the sound of any Japanese word regardless of how how long or rare it is, good luck writing it though, a Japanese spelling bee is not possible but a written one is.

My argument is that the Japanese writing system is a big mess but spoken Japanese is not. Spoken English is a mess too. Any language were you have competitions about who can spell and write the words of the language is a big mess of a language.

wudangmonk··on Japan to revise romanization rules for first time in 70 years
The issue is that its not theirs and that is exactly the problem. You can't just use China's writing system and try to make it fit to your language. Japan might have a high literacy rate but that is despite their horrible system and not because of it. Plus you can argue that they're not really literate, they just limit themselves to using a small portion of their 'kanji' and write little hiragana hints that tell you how to pronounce the written symbols for all the rest.
wudangmonk··on Zeteo Scoured 26,000 Epstein Docs. Here’s What We Found
First one to snitch gets the best deal. Question is do you honestly think Trump wouldn't do something like that?. I don't need Epstein to tell me what type of person Trump is. Or should I stop believing my lying eyes?.
wudangmonk··on How the Mayans were able to accurately predict solar eclipses for centuries
I guess that is implied since these things always happen this way, its not like book burners are just having a nice campfire and the books they dislike just happen to be close by.
wudangmonk··on U.S. bombs Iranian nuclear sites
I agree which is why we need to get all these evangelical nuts actively trying to destroy the world so that Jesus come back out of power. No more death cults!.
wudangmonk··on Poor Foundations in Geometric Algebra
The author has books on Geometric Algebra so it makes no sense to assume that he is going against GA as a whole.
wudangmonk··on Man versus Horse Marathon
In order to make the race interesting it needs to have a balance between the two, make it too short and the horses will always win, make it too long and the humans will always win.
wudangmonk··on Devs need system design tools, not diagramming tools
Honestly ALL diagrams are a dead end, any system where there is no single source of truth will be a big hassle to maintain and therefore will not be updated which makes the whole thing useless.

The only which I can see working as it has already proven itself for certain tasks is something like the blueprints from the unreal engine but where each node represents something big enough to warrant its own node without any no low level details like variables, conditionals, loops etc. Otherwise you end up with literally spaghetti code.

wudangmonk··on A Deal with the Devil
The problem is omniscience. With that, not only do you need a villain to take the blame, you also need a special ability called free-will that gets around the omniscience issue. Otherwise the only conclusion is that your god is both good and evil and chooses who gets to experience which.
wudangmonk··on Writing GUI apps for Windows is painful
So much time spent on creating many different web frameworks to try and replicate the snapiness of native applications when the solution was to make native applications use web-tech so that both are equally slow. Mission accomplished! Genius!.
wudangmonk··on My experience crafting an interpreter with Rust (2021)
I know nothing about rust but if you are struggling against the borrow checker because you want to implement something like linked lists or anything it doesn't want you the obvious solution is to allocate all your memory upfront and create your own allocator where you pass around indexes and thus bypass the borrow checker completely. I think this is what the author does? not really clear as he seemed to be constantly struggling with the language even after that.

I gotta say its not selling me on rust if bypassing the borrow checker with my own allocations still results in having to jump through so many hoops and struggle against the language.

wudangmonk··on Experts vs. Imitators
I got a chuckle out of having the 'expert' be Buffet and the subject be finance. I don't think there is a worse example of a subject that lacks first principles and where vocabulary is used to obfuscate and give it a veneer or credibility. Why not pick astrology? those guys will give insight and agree with each other at a higher rate than anyone in economics.
wudangmonk··on Mexico’s anti-avocado militias
It doesn't really make sense to compare it to something in the U.S where both parties fight over meaningless stuff like who can go into which bathrooms and which books you can burn.

In Mexico the local government is the problem since they are often part of the cartels so the only way to change things is for these communities to setup a local milita, kick out the goverment/police and put a very utilitarian government in its place.

wudangmonk··on AI Hype is completely out of control – especially since ChatGPT-4o [video]
Its useful for small trivia answers, stuff you might ask google about and read a short paragraph about it as long as it the answer seems reasonable enough.

For coding I have long given up on it. I only see it useful for people that want to do small scripts in languages they are not familiar with or to write toy examples of web/mobile apps.

For art I can sort of see a workflow in adding details to textures and using existing images and 3d assets to guide the generation of images. This is all just my speculation so I could be completely wrong just like the person that knowns very little to no programming thinking they will be able to code whatever they want with it.

wudangmonk··on I learned Vulkan and wrote a small game engine with it
Its great to have more Vulkan resources but unfortunately this one too suffers from the same problem as every other resource I've found on getting something on the screen with Vulkan.

They all introduce another layer of abstraction on top of Vulkan even before giving you the simple case without it. Its always use vk-bootstrap, volk, vma or someother library.

Is there a single resource anywhere that gives an example of doing the memory management manually because I havent found one, it seems like its either use vma or go figure out the spec are the only choices you are given. Is it too much to ask to just get the most basic example without having to add any libraries other than the Vulkan sdk itself?.

wudangmonk··on Rust Is for the Engine, Not the Game
Unreal was designed for the Unreal games, the others I have no clue but I doubt Unity has had any guiding game from my experience using it. Unity was built with the unity-store as its guide imho.
wudangmonk··on Rust Is for the Engine, Not the Game
When designing anything like a language or library you always create the use cases first and then work backwards. Any game engine not created side by side with a game will be crap. Any 'cool feature' programming language without a decently sized codebase so serve as a beacon to guide you will expose all the flaws in the language that the creators never anticipated because they never created anything sufficiently complex.

Unless you are dogfooding whatever you create, it will be crap and you are better off not creating in the first place, don't waste everyone's time with stuff you yourself couldn't be bothered to actually use.

wudangmonk··on Jury finds Boeing stole technology from electric airplane startup Zunum
MBAs really is just a cult or I guess based on the amount of people it can be considered a religion?. They got a bunch of little equations they threat as universal laws of science all in an effort to 'maximize' profits in the short term and ruin the whole company in the medium/long term.

They are a plague that infects every business. Remember that spot you used to visit that was good but now it's shitty and expensive?. Where instead of going back to what used to sell they double down on making it shittier and or smaller. They employ any and all cost cutting strategies imginable, they have less staff, go cashless, etc.. yet they will keep charging the same or more than before.

wudangmonk··on Why No Roman Industrial Revolution? (2022)
TLDR, it was cannons. Improvements in cannons so they wouldn't explode on you led to advanced metallurgy required for things like engines. Everything else about the right society, the right conditions, the right time seems unnecessary to me.

Give the Romans fireworks, then someone might notice that putting on bigger shows can be quite dangerous, what if we shoot it sideways at someone instead of up in the air?. You then get better cannons, as you get better cannons you can make them smaller, then you get guns and your metallurgy knowledge allows you to create things such as engines that operate at high heat and pressure.

wudangmonk··on X is justifiably slow (2022)
Its easy to see how people would become used to expect everything to be slow. Python is the most popular programming langauge both in schools and in general.

I can't think of a slower language. Then all your IPC is done through json as if everything was a website hundreds or thousands of miles away instead of something more sensible such as a shared memory.

wudangmonk··on What I think about Lua after shipping a project with 60k lines of code
Was a lot of the functionality of Quake done in QuakeC or was that scripting language added for the sole purpose of allowing for mods to the game?.

I think scripting languages are a very bad idea for the core functionality of a game and I see no benefit to them. If its done after you have nailed down all your core mechanics and just want to add mod support for things such as player created maps then I think that's fine.

That means that a scripting language should only be added towards the very end of a project. Adding it towards the beginning when you don't even know your core mechanics yet seems crazy to me since I see no benefit to it.

wudangmonk··on The AI Revolution Is Already Losing Steam
I can see the use of image-gen integrated into photoshop and krita. Codepilot and other code specific llms have not been useful at all.

That said I do find stuff like ChatGPT and Gemini useful enough to always be running a client I can send prompts to. It works great as a guide for things you know nothing about and can guide you on what resources to actually look for when you do actually care about having correct information.

I can see it being useful for things like self study and writing. For writing not in the same sense as copilot, I think it will be equally useless for anyone that is doing anything serious but it can help in exploration.

To me we have already reached the peak of what this type of 'AI' can do. Don't expect things to get much better. My mind is not going wild with the possibilities. Useful yes, revolutionary? no.

wudangmonk··on Helldivers 2 has caused over 20k Steam accounts to be banned
What law?, if there is a law you have to follow it, it being a law by definition forces you to follow it. Whether anything is done to those that do not follow it is another question. The issue is that there is absolutely no legal reason to ban Russians from buying games.

This seems like an arbitrary 'moral' choice, an honestly after the bs we've seen from Israel and the U.S, they have no moral high ground to stand on and criticize the Russians. Losing all your games is a massive issue, they are effectively holding your games hostage in an effort to exert politically motivated influence.

wudangmonk··on Helldivers 2 has caused over 20k Steam accounts to be banned
What was the logic behind Sony banning the purchase of games?, was Sony compelled by U.S law?. Was this done as a way to try and try to win brownie points and free pr from those reporting on it?.

I can understand valve enforcing the discounted price difference among countries but I don't like the idea of not being able to purchase a game at full price and play it because a company wants to virtue signal. All valve has is its reputation, bad move for them to shake people's confidence in their game collection.

wudangmonk··on Cyber house of cards – Politicians' personal details exposed online
The password says it all, they forgot to include an uppercase letter.
wudangmonk··on A Devil's Bargain with OpenAI
The 'clear reason no to trust their output' the author uses as an argument against it, is the reason all want it. People know not to trust llms completely but right now these 'news' institutions are trusted too much when in reality they are mouth pieces to special interest or governments, they have no obligation to tell the truth either.
wudangmonk··on Helix-gpui: A simple GUI for the Helix editor
it also has many terminals to choose from and dirvish which sits on top of dired is the best file editor I've used.
wudangmonk··on Helen Keller on her life before self-consciousness (1908)
What I was initially imagining was a complete lack on sensory information and was trying to image what type of mind would emerge from that.

Inside a sensory deprivation chamber I have experienced losing your sense of time, space has no meaning, therefore your mind just assumes that you take up all the space. But you don't keep spiraling down into unconsciousness only to awaken later. The mind eventually settles down and you are very much conscious except any concerns relating to your body and others quickly become distant memories of long forgotten dreams.

That's the reaction of a mind used to sensory input being cut off. How would a mind with not sensory input from the start evolve?. That would more closely resemble what Helen Keller first talks about about not knowing what she was. I'm both fascinated to know and terrified and hope I never do.

wudangmonk··on Zellij: A terminal workspace with batteries included
I like terminals as much as the next guy but I think terminals are obsolete. We just keep writing the same thing with the same capabilities in different languages, very little if anything is added to it.

Projects such as nushell aim to add a bit more but I think that is too conservative. Something like the jupyter or the slime/sly repl are much better. Something with a real language instead of bash and where all the little programs that make a currently terminal work are libraries that can be used as a function or as a standalone program.

Something like that would be much nicer to work with.

Page 1 of 7Next →