HNHacker News
TopNewBestAskShowJobs

alabhyajindal

1,045 karma · joined December 20, 2021

https://alabhya.me, alabhya10@gmail.com
submissionscomments
alabhyajindal··on This map is not upside down
First time seeing this and it feels so offensive. I'm somewhat okay with the term developed and developing countries, though not too much [1]. But this just feels discriminatory.

1. https://en.wikipedia.org/wiki/Factfulness

alabhyajindal··on KDE is now my favorite desktop
Love KDE. Can others share their experience of using the same desktop environment across distributions? Is there a difference? I have only used KDE on Fedora and it's great but getting the itch to try out something new. Void Linux maybe.
alabhyajindal··on WASM 3.0 Completed
Validation errors were bit of an issue. Especially because Binaryen constructs an internal IR that remains opaque until we emit the Wasm text. I did consider Wizard for my project but settled on Wasmtime because I needed WASI support.

My major pain point was the documentation. The binaryen.js API reference¹ is a list of function signatures. Maybe this makes sense to someone more experienced but I found it hard to understand initially. There are no explanation of what the parameters mean. For example, the following is the only information the reference provides for compiling an `if` statement:

  Module#if(condition: Expression, ifTrue: Expression, ifFalse?: Expression): Expression
In contrast, the Wasm instruction reference on MDN² is amazing. WASI again suffers from the same documentation issues. I didn't find any official resource on how to use `fd_write` for example. Thankfully I found this blog post³.

Wasm feels more inaccessible that other projects. The everyday programmer shouldn't be expected to understand PL research topics when they are trying to do something with it. I understand that's not the intention but this is what it feels like.

1. https://github.com/WebAssembly/binaryen/wiki/binaryen.js-API

2. https://developer.mozilla.org/en-US/docs/WebAssembly/Referen...

3. https://tty4.dev/development/wasi-load-fd-write/

alabhyajindal··on WASM 3.0 Completed
Isn't wasm-tools for working with Wasm modules? Maybe I'm missing something. I was using Binaryen to compile an AST to WebAssembly text. Also worth mentioning that Binaryen is the official compiler/toolchain for this purpose which is why I expected more from it.
alabhyajindal··on WASM 3.0 Completed
The WebAssembly community should really focus more the developer experience of using it. I recently completed a project where I wrote a compiler¹ targeting it and found the experience to be rather frustrating.

Given that Wasm is designed with formal semantics in mind, why is the DX of using it as a target so bad? I used binaryen.js to emit Wasm in my compiler and didn't get a feeling that I am targeting a well designed instruction set. Maybe this is a criticism of Binaryen and its poor documentation because I liked writing short snippets of Wasm text very much.

1. https://git.sr.ht/~alabhyajindal/jasmine

alabhyajindal··on KDE launches its own distribution
When was the last time you tried Wayland? I switched to KDE Plasma a couple years ago not knowing anything about display server protocols and haven't had a single issue.
alabhyajindal··on KDE launches its own distribution
I love using KDE Plasma. All the best to the team!
alabhyajindal··on Forty-Four Esolangs: The Art of Esoteric Code
> I try to write everything in JavaScript when I can and have it run in the browser.

Question for the author if they are here: why not use one of the many languages that compile to Wasm to write compilers for esoteric languages?

alabhyajindal··on Evolving the OCaml Programming Language (2025) [pdf]
Thank you - I appreciate it!
alabhyajindal··on Evolving the OCaml Programming Language (2025) [pdf]
This is not a direct comment on compiler development but on industrial projects in general: how do you begin contributing to something that is so large?

What should a beginner in compiler development, someone who has written a few compilers of their own, do to get involved in a project such as OCaml? I understand this issue is not specific to compilers, but is faced by any sufficiently large project. Still, I think it's an important issue. I believe there are many resources for people to get up and running in a field but not enough for them to make the next jump into industrial projects.

alabhyajindal··on Jujutsu for everyone
Thanks for your reply! I wasn't trying to be dismissive in my original comment. Just making an observation as someone new to Jujutsu.
alabhyajindal··on Jujutsu for everyone
I don't know anything about Jujutsu but the Git equivalents for some of these commands are more readable:

  jj bookmark move main --to @-
  git add . 

  jj git init --colocate
  git init
Also using `jj git` everytime feels repetitive.
alabhyajindal··on Bookmarks.txt is a concept of keeping URLs in plain text files
What's wrong with using the bookmarks features provided by the browser? The one in Firefox works very well for me, plus it's synced across devices.
alabhyajindal··on VIM Master
Tried the challenge mode - would like to see support for Ctrl + [, acting as escape!
alabhyajindal··on GitHub is no longer independent at Microsoft after CEO resignation
Doesn't GitLab suffer from the same problem of pushing AI? They have many AI features, and position themselves as "The most-comprehensive AI-powered DevSecOps platform".
alabhyajindal··on Celebrating 20 Years of MDN
I love MDN. Congratulations and thank you to all the contributors!
alabhyajindal··on Speeding up my ZSH shell
You should try fish shell. Great user experience out of the box, including history suggestions.

https://fishshell.com

alabhyajindal··on Master Foo and the Script Kiddie
This is beautiful and hilarious. Thanks!
alabhyajindal··on What the Fuck Python
Preach. We need more Python slander. It annoys me to no end when people trash JavaScript as if it was some exception in bad language design. Most languages have something bad that can be picked up and trashed on - some more than others.
alabhyajindal··on I want an iPhone Mini-sized Android phone (2022)
16e is not a small phone, it's about the same size as an iPhone 16.

https://phonesized.com/compare/#2552,2644,1975,1863

alabhyajindal··on Inside the box: Everything I did with an Arduino starter kit
Is getting a kit like this the recommended way to learn electronics? I don't know anything about it! I would like to get to the point where I can light up a LED bulb programmatically and understand how it's happening.
alabhyajindal··on I want an iPhone Mini-sized Android phone (2022)
Why does the cost need to be so high? Chinese markets have many small phone options like Soyes and Servo that cost less than $100. Unfortunately, these devices are potentially loaded with malware.

Can a similar device without malware not be made in small batches? At a selling price of $500 or less?

alabhyajindal··on Lost Chapter of Automate the Boring Stuff: Audio, Video, and Webcams in Python
I learned Python from your Udemy course of the same name. Congrats on the new edition of the book!
alabhyajindal··on Working through 'Writing A C Compiler'
You can choose to implement it differently based on your implementation language. Data Classes and If statements work really well for this in Python, for example.

Statement Data Classes: https://github.com/alabhyajindal/plox/blob/main/stmt.py

If statements in the parser matching against them: https://github.com/alabhyajindal/plox/blob/main/parser.py#L3...

alabhyajindal··on A software conference that advocates for quality
I hate talk titles of this form: "Most of your projects are stupid. Please make some actual games.". So annoying. I know it's not personal but I'm sure a better title exists for all talks that choose this form. Why do you have to insult the audience?
alabhyajindal··on Don’t use “click here” as link text (2001)
From the suggestion email¹:

> "Click here" assumes everyone has a computer and mouse. And it's not even needed: most users of the Web understand how to follow links.

1. https://lists.w3.org/Archives/Public/www-qa/2001Sep/0007.htm...

alabhyajindal··on I deleted my second brain
This matches my experience as well. I have been journalling on and off for 4-5 years. It's a way for me to process my thoughts. But I never look back it, I don't feel the need to. The writing is the important bit, not the resulting output.
alabhyajindal··on Show HN: I'm an airline pilot – I built interactive graphs/globes of my flights
Very cool! I didn't know pilots are required to maintain a logbook. What's the official recommendation for this - using a paper logbook?
alabhyajindal··on Typr – TUI typing test with a word selection algorithm inspired by keybr
Yes but the issue is those code snippets are generated artificially and are not coherent. Same issue as artificially generated prose.
alabhyajindal··on Typr – TUI typing test with a word selection algorithm inspired by keybr
https://typing.io ? I like it but feels outdated, and has many little QOL issues.
← PreviousPage 3 of 9Next →