HNHacker News
TopNewBestAskShowJobs

Simran-B

283 karma · joined February 18, 2016

submissionscomments
Simran-B··on How Frogger 2’s source code was recovered from a destroyed tape [video]
Another entertaining piece by the Lego Island guy!

My takeaway is that you should choose a passion project as your hobby and put in the time to learn and do whatever is necessary to achieve your goal on your own or together with similarly motivated people rather than relying on anyone external you have to pay - things go downhill fairly often and quickly it seems. Is any business a scam to some degree nowadays?

Simran-B··on Self-hosted x86 back end is now default in debug mode
I would argue that it's not meaningful to do so for larger files with comptime as there doesn't seem to be a need for parsing JSON like the target platform would (comptime emulates it) - I expect it to be independent. You're also not supposed to do I/O using comptime, and @embedFile kind of falls under that. I suppose it would be better to write a build.zig for this particularly use case, which I think would then also be able to run fast native code?
Simran-B··on Low-Level Optimization with Zig
You're not providing extra information to the compiler, clarifying the intent, but merely follow the requirements of the language when writing . to infer the type or @ to use a built-in function.
Simran-B··on Low-Level Optimization with Zig
It's not annotation noise however, it's syntax noise.
Simran-B··on Zig, the Ideal C Replacement Or?
You can simply offer a function to create an object using positional arguments if you want that
Simran-B··on I spent 181 minutes waiting for the Zig compiler this week
The usingnamespace language feature isn't used much by Zig itself, and there is talk about removing it. I wonder how Bun as a heavy user of usingnamespace would be affected - is it trivially replaceable? Do the alternatives add bloat?
Simran-B··on What does this button do? – My new car has a mysterious and undocumented switch
> Most people would have probably driven around for years with a foreign GPS tracker.

So basically everyone with a smartphone? I'm not sure if it's really worse if the car has its own GPS and cell connectivity. How many people turn off their phone or leave it at home? And you can buy other people's location data, so...

Simran-B··on Why is it so hard to find a job now? Enter Ghost Jobs
The ones I encountered were purely German companies, so I doubt it had to do with salary ranges.
Simran-B··on Why is it so hard to find a job now? Enter Ghost Jobs
It's certain abused for below-the-line marketing, such as for appearing bigger than they are, but also to make them look more competent by adding ridiculous requirements such as fluency in at least five different languages.
Simran-B··on Why is it so hard to find a job now? Enter Ghost Jobs
Some IT service corporations that are known for a very high employee churn rates often post the same position a dozen times, for each of their office locations.

Sometimes it's a 100% remote job, and they still post it multiple times with different locations.

They probably litter job portals this way so that they can compensate for the frequent personell changes. They are impossible to miss.

Simran-B··on Large language models reduce public knowledge sharing on online Q&A platforms
Yes, it's sad. On the other hand, I think it's a good thing that people share knowledge less, publicly and free of charge on the web, because there is so much exploitation going on. Big corporations obviously capitalize on the good will of people with their LLMs, but there are also others who take advantage of the ones who want to help. A lot of users seemingly expect others to solve their problems for free and don't even put any effort into asking their questions. It's a massive drain for energy and enthusiasm, some even suffer from burnout (I assume more in open-source projects than on SO but still). I rather want it to be harder to connect with people sharing the same passion "in private" than having outsider who don't contribute anything profit off of activities happening in the open. This frustratingly appears to become the main reason for corporate open source these days.
Simran-B··on Internet Archive: Security breach alert
A decentralized solution, doesn't that scream internet archive on blockchain? What could go wrong.
Simran-B··on DirectX Adopting SPIR-V as the Interchange Format of the Future
What about WGSL though, the shader language of WebGPU? WebGPU is kind of Vulkan lite, but unlike with Vulkan, Apple is on board and actually the reason why WGSL exists as yet another shading language.
Simran-B··on Microsoft formally deprecates the Windows Control Panel
I have to disagree to a limited extent. I recently tried to boot multiple current Linux distros from a USB stick for evaluation and all of them had issues. Fedora wasn't usable at all due to lack of space because it lost the RAM partition in the boot process and had severe graphical glitches. Ubuntu had issues with the Intel iGPU and installing drivers for the dGPU isn't possible in a live boot without persistence (and Ubuntu showed a blank error message when using the GUI for switching drivers). It also somehow managed to trigger secure boot so that I had to use a recovery key to get my data back. Zorin can download Nvidia drivers during boot and thus worked decently but the system would randomly freeze and had graphical artifacts when using the desktop cube. There were also other issues on Ubuntu and Zorin like with the permissions for bubble wrap to make Flatpaks work and so on. If it already requires tinkering before installing or with a completely fresh OS, then I find it hard to believe that desktop Linux can be a daily driver.
Simran-B··on The UX of HTML (2023)
I once tried out a screen reader out of personal interest but gave up after an hour or so due to how frustrating the experience was. I couldn't find the right key combinations or had a hard time remembering them because there are so many and none of them seemed intuitive. I also accidentally toggled some option using the wrong keys and then other basic things stopped working with no apparent way to recover from that. My suggestion would be to improve the UX of screen readers for sighted developers, e.g. by adding a little bit of UI to access the most important features without having to study the tool for days.
Simran-B··on GPU-Friendly Stroke Expansion
There already is: https://github.com/linebender/vello

Also see the comment by the author of the paper and library: https://news.ycombinator.com/item?id=40890270

Simran-B··on Imhex: A hex editor for reverse engineers
You can download additional assets in the settings and then interpret data as encoded in various formats. I don't see CP437 in the list but the file format for encodings is straightforward, you can probably create a mapping easily.

https://github.com/WerWolv/ImHex-Patterns/tree/master/encodi...

Simran-B··on A man ordered to hide his boat painted the boat on his fence
For the international readers:

HOA = Homeowners' Association

Simran-B··on Rive Renderer for real-time vector graphics is now open source
Bevy is written in Rust and according to https://github.com/rive-app/rive-bevy/, the backend used for the integration uses Vello (also Rust), not the Rive renderer. Could be that integrating Vello into the C++-based Godot would be finicky. With the Rive renderer open-sourced, maybe both Rive and Godot will see an integration using the Rive renderer?
Simran-B··on Dev snapshot: Godot 4.3 dev 3
Which of the 800+ PRs do you think should have been mentioned but isn't?
Simran-B··on In 2024, please switch to Firefox
I can't comment on the Fairphone 5 specifically but some of the issues reported by the community sound similar to the two predecessors. My personal experience with two Fairphone 4 phones running Android 13 isn't great. Apps sporadically stop reacting to taps and auto-rotate in combination with standby somehow locks up the phone, usually with a black screen. The picture quality isn't good, the stock camera app misses half of the button presses and there's a 2-4 second delay until it actually takes a picture.
Simran-B··on In 2024, please switch to Firefox
Maybe not dying (yet) but it is technologically behind with a lot of things by now. This is annoying if you want to try out new web platform features. Sometimes, there isn't even a signal from Mozilla while Google marks a feature as stable.

Average people probably don't care about the latest features but Google pushes Chrome very aggressively, so they end up using it anyway.

What annoys me the most, however, is that several things simply don't work in Firefox and the associated report is over a decade old, so with close to zero chances of ever getting addressed. Copying the content of a canvas element as an image to the clipboard is one of these things. In Chrome, this takes a right and a left click. Firefox didn't have such a basic feature last time I checked. There used to be a workaround, opening a blob URL in a new tab and then copy that, but this got broken later, I believe by a stricter security policy.

Firefox is essentially the browser equivalent of Fairphone. It's the most ethical option but it inconveniences you left, right, and center.

Simran-B··on Show HN: I saw this mind-blowing experiment, so I made a simple version of it
If you like this, you might also enjoy WindowKill, a video game similar to Asteroids that cleverly uses windows that can overlap and interact with each other.

You need to shoot at the window boundaries, too, or the window shrinks. Additional windows appear later in the game with boss enemies.

Gameplay video: https://youtu.be/7iP68FZWVxM

Simran-B··on Researchers uncover the fastest semiconductor yet
They also seem to say that it cannot be used directly for improving CPUs as they are designed today:

> “[…] they are not necessarily compatible with current hardware used in the semiconductor industry,” […] the applications for these semiconductors “would likely be different than those for traditional semiconductors.”

Simran-B··on Omegle 2009-2023
Philanthropy? Humans are social creatures.
Simran-B··on The Frustration Loop
Instantly reminds me of the creative piracy protection from the early days of video games. Nice video about how Atari frustrated people with purposeful memory corruption while making it look like software bugs: https://youtu.be/ewoDLDDgHkI?si=aY29WK_lrZ4jR3bt
Simran-B··on Gojekyll: A fast, partially compatible Go clone of Jekyll
Hugo's documentation isn't good, no doubt. But compared to Jekyll's docs, there's at least a lot of (reference) content. Jekyll's docs feel like a beginner-friendly tutorial, but from there you have to figure out everything else yourself, often requiring you to scour the internet and read the source code.
Simran-B··on Gojekyll: A fast, partially compatible Go clone of Jekyll
Some aspects of it certainly are, but it's also one of the more limited templating languages out of the box IMO, and there are several sharp edges especially in conjunction with Jekyll, where it requires you to do all the parsing of what gets passed to a custom tag or filter.
Simran-B··on Gojekyll: A fast, partially compatible Go clone of Jekyll
It would require full compatibility to be useful. I suppose most users of GitHub Pages don't actually use customization. Gojekyll could be used for building these, otherwise fall back to standard Jekyll.

I believe GitHub Wikis are also rendered with Jekyll? Without customization capabilities on the user side, Gojekyll could be used here, too.

Simran-B··on Gojekyll: A fast, partially compatible Go clone of Jekyll
> With Jekyll I can write "_plugins/foo.rb" and put any code in there to add new Liquid template tags

To be fair, Hugo's shortcodes are similar to this without requiring a plugin. And with render hooks and `.Scratch` to temporarily store information, it gets you a long way. It takes some time and experimentation to understand these abilities, however, and the documentation is not always helpful, to say the least.

← PreviousPage 2 of 4Next →