HNHacker News
TopNewBestAskShowJobs

legends2k

527 karma · joined June 7, 2016

submissionscomments
legends2k··on I wrote a ray tracer in Brainfuck
Thanks for posting something interesting without uttering LLM, AI, agents, etc. I thought you're going to explain your experience doing it in CMake but then it's true to the title.
legends2k··on Canada's only watchmaking school still ticking after 80 years
It's promising and I'm glad to hear such a depth-oriented study of making things, taking time is still a thing in a fast world. People are paying to study this, nice
legends2k··on How to ask for help from people who don't know you
I'm surprised no one posted Eric S Raymond's treatise on the whole thing in a lot more detail!

https://www.catb.org/esr/faqs/smart-questions.html

It reads a bit harsh in some places but well warranted IMHO.

legends2k··on What to learn to be a graphics programmer
Here's my created list I maintain: https://legends2k.github.io/note/cg_resources/ Do learn if it piques your curiosity and have the time. You're in for a blast and a lot of learning, that'll make you a better engineer, in many other fields of computer science too (you understand hardware, system programming, programmer's machine model, etc.).

Don't learn if you do it with a monetary end goal as it's fleeting, ephemeral and not guaranteed in this day and age.

legends2k··on What to learn to be a graphics programmer
Two if you're lucky, and work full time on it. More like 5+ plus if you are inexperienced/part time.
legends2k··on Goodbye Visa and Mastercard: 130M Europeans switching to sovereign payment
Yes, every user just gets a handle with no personal or bank info revealed and off you go. User keys in a UPI ID in any merchant site/app, get a push notification for approval in mobile app. Can associate multiple bank accounts to a UPI ID underneath. Approval will ask which account to debit from too. Can't get simpler than this.
legends2k··on Goodbye Visa and Mastercard: 130M Europeans switching to sovereign payment
This is exactly what India's UPI (Unified Payments Interface) works. No PII, just a UPI ID is given and the user gets a push notification in Android/iOS app for approval (with PIN or security enclave like fingerprint).
legends2k··on Advent of Code 2025
By the same token, AI came along and we all still have intelligence, needless, eh? I mean people reading and writing stuff has nothing to do with AI. I don't see how some people see everything as a zero-sum game.
legends2k··on Advent of Code 2025
I'm not sure I understand this. Most puzzles are number-crunching but very little to do with graphics (maybe one or two), so no usually OpenGL isn't used AFAIK.

Of course, folks may use it to visualise the puzzles but not to solve them.

legends2k··on Blender 5.0
Not sure about FreeCAD but got a lot done with Gimp, Inkscape and LibreOffice in my personal projects. Totally worth my time!
legends2k··on Go's Sweet 16
Sorry, hard disagree. Try to understand what `this` means in JS in its entirety and you'll agree it's by no stretch of the imagination a simple language. It's more mind-bending and hence _The Good Parts_.
legends2k··on Software Rot
My comment didn't convey it, but I'm with you on using the right tool for the right job. Just that I always don't have the luxury to do so. And yes like the other comment I'd use it for throw away scripts and glue code, instead of installing a new toolchain. Longevity and importance should warrant doing it. Cheers!
legends2k··on Software Rot
While there are other parameters I would consider like maintainability, ergonomics, mind share, ease of deployment, etc. The ubiquitous availability point triumphs most others though. Installation of new toolchain is usually a hassle when the same task can be done with existing tools. Also when I present it in a company setting installing new software and broadening the security attack surface is the first pushback I get.
legends2k··on Sign in with Google in Chrome
I haven't signed in to my Google account since browser install but I still see it in StackOveflow.
legends2k··on Rust running on every GPU
Even games, epitome of performance, have 5 levels of abstraction (including your 4, 5, 6 + an engine layer + game code). This isn't new in GPU/Graphics programming IMHO.
legends2k··on Microsoft Edit
Huge +1, same for me, but with GNU Emacs instead of neovim but can completely appreciate the philosophy.
legends2k··on Microsoft Edit
I don't think a sentence in a big report page is counted as touting.
legends2k··on Microsoft Edit
Sure, there are always exceptions but they're only that, exceptions.
legends2k··on Git Notes: Git's coolest, most unloved­ feature (2022)
I discovered notes from the man pages around 2020 but didn't use them as it was primarily a local repo feature. By default they don't get pushed or fetched. If course, one can configure it such that it's pushed and fetched, but that's a team decision and mine didn't vote for it.
legends2k··on Mbake – A Makefile formatter and linter, that only took 50 years
Why not Python? I primarily program in C++ but I see it as a decent choice as Python is available in almost all recent machines. Of course Windows is a notable exception but given it's a tool for developers I guess Python should be present.
legends2k··on The Grug Brained Developer (2022)
This! Also my guess would be Kernighan or Pike aren't (weren't?) deployed into some random codebase every now and then, while most grugs are. When you build something from scratch then you can get by without debuggers, sure, but foreign codebase, a stupid grug like I can do much better with tools.
legends2k··on Good Writing
Paul clearly excludes non-native writers. I know excellent thinkers who struggle to express an idea in a given language that they're not fluent in.

Another related point: I've seen geeks who're solid in thinking but terrible at explaining what they think.

legends2k··on I Built My Own Audio Player
Even if we agree on a format I don't want someone to quietly say a song I like is gone from my library while I wasn't looking due to some reason.
legends2k··on Project Verona: Fearless Concurrency for Python
Isn't this so common in computer science, haven't you heard of Worse is Better [1]?

[1]: https://en.m.wikipedia.org/wiki/Worse_is_better

legends2k··on Show HN: Lux – A luxurious package manager for Lua
I see no problem though. Most package managers support binary-only package installations.
legends2k··on FFmpeg by Example
I thought FFmpeg is pipeline based too; graph of filters. Am I missing something? You can set up a complex graph of source, sink and transform filters.
legends2k··on The C23 edition of Modern C
That's besides the point. The book's author has a valid point. Being pedantic should be applied at all levels if you're going that route.
legends2k··on The C23 edition of Modern C
Arm is bi-endian and is alive in most phones.

I agree with another GP's comment that modern doesn't mean popular/widely used.

legends2k··on Project Euler #912: Where are the Odds?
Exercism.io does what you want? It has language tracks and each track has questions geared to seal your understanding of some language concept. It also has it gamified by building a community around it and folks comparing their solutions.
legends2k··on Project Euler #912: Where are the Odds?
Exercism.io does what you want? It has language tracks and each track has questions geared to seal your understanding of some language concept. It also has it gamified by building a community around it and folks comparing their solutions.
Page 1 of 8Next →