aloso
@aloso@programming.dev
- Comment on Monaspace - Microsoft presents a new font family for code 1 year ago:
It is well supported in all browsers and operating systems. At least VS Code and IntelliJ support it, and even some terminals.
- Comment on How I got robbed of my first kernel contribution 1 year ago:
Apparently the maintainer trusted the first-time contributor enough to propose tackling another bug.
There is no trust needed when asking someone to fix a bug. It’s not like the maintainer would lose anything if the contributor failed to fix the bug.
Besides, I think it is natural to want recognition when you do a lot of work for free. Many other people wouldn’t do this unpaid work at all; recognizing their contribution is the bare minimum of good manners. Even in a company where employees are paid for their work, it is customary to give credit to people who have helped you. Most people don’t like to work in places where they don’t feel appreciated, and that is also true in Open-Source.
- Comment on Java 21 makes me actually like Java again 1 year ago:
It’s not possible to instantiate or assign, which is more like a never type than a unit
Actually, this is because
void
is not a type, it is just a keyword, that is allowed only instead of the return type.If it were a bottom type, that would mean that a method returning
void
must diverge, which is simply not true.Also, even if it were a bottom type, it would be possible to write an “unreachable” method
void foo(void bottom) { return bottom; }
But it is not, because
void
isn’t a bottom type, it’s no type at all. - Comment on Java 21 makes me actually like Java again 1 year ago:
No it’s not, it is 100% a unit type (except it’s not really a type, since you can only use it as return type and nowhere else)
- Comment on Are we ready for javascript without a build step on the front end in 2023? 1 year ago:
- Svelte/Vue/React components need to be compiled
- JavaScript should be minified if the project has a significant size
- File names should have a content hash, so they can be cashed in the browser
- Even with HTTP/2, there’s still a case to be made for bundling hundreds or thousands of JS modules into a single file for better performance
- Bundlers give you a dev server with live reload and hot module replacement for great developer experience
- Setting up Vite is really easy and requires minimal configuration (compared to Webpack, for example)
- Comment on The creator of Pixelfed announced an upcoming encrypted messenger for the fediverse that will work across the fediverse 1 year ago:
“secure” is relative. They may not be e2e encrypted, but they are still encrypted via TLS, like any HTTPS traffic. It’s the same encryption used for online banking. If you care about your instance admin being able to read your messages, you should use Signal or a Matrix client though.
But remember that only a few years ago, almost nobody used e2e encryption, and it wasn’t much of an issue.