Hacker News new | past | comments | ask | show | jobs | submit | vijaybritto's comments login

This is just beautiful artistry. I absolutely love it! Only thing missing is the click/clack sounds on those buttons

I have a naive question here.

Could this have been avoided if they had used Rust? Or is this a bug that can happen even in Rust code too?


The original bug was returning STATUS_SUCCESS to indicate that a function had succeeded without noticing that STATUS_SUCCESS is defined as 0 in a function that's expected to return a non-zero value on success. This specific error could have happened on any language - defining two different return types and using the wrong one could happen in any language.


> defining two different return types and using the wrong one could happen in any language

This specifically is the kind of bug that is avoided with strong typing. The compiler screams at you when using the wrong return type. For example, if a callback expects a Result type, you must return a Result type, not some random int-like value whose definition of success and failure is arbitrary.


It can be avoided in any compiled language that has a boolean type. That includes C these days. Unfortunately this functionality predates the existence of the boolean type.


Yet they've had astounding success and is the most widely used operating system. Maybe usability and ease of access are far more important than beautiful design


You can succeed despite poor taste, but that doesn't make your taste any less poor.


Design _is_ usability and ease of access.


I think it is marketing and sales muscle that leads to ease of access.


Shockingly, monopolies and entrenchment in software is SUPER EFFECTIVE.

While MS isn't utterly technically bereft obviously, and they had some correct choices like backward compatibility and usability relative to imbeciles like IBM, just look at the botched execution of Win8, their security disasters, and generally superior products that got nudged out by beta-ware quality releases.


Now that I'm older I agree with you, but I would have been furious hearing this ten years ago :)


Go for web components. It's guaranteed to last 30 years


Works fine on Brave


There begins the downfall. Any great product who jumps on a hype train always ends up crashing


Beaver dams are like step dams. The bad ones people talk about are the huge dams which alter the environment drastically often creating artificial lakes.

Beaver dams on the other hand slow down water flow to some extent and alter the direction of water flow slightly. These smaller natural dams are so good for little species to thrive.


Have y'all considered something like vscode's extension experience in sublime. The current one is not really intuitive or easier to setup


possibly restarting the System


Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: