Recent submissions

Comment · 2 years ago
How in the world is your rant in linked file supposed to work?

* It seems you decide whether to execute a file by its extension, e.g. `.php`

* You are complaining that Windows is stripping away spaces, so `.php ` becomes `.php`

* And supposedly this could lead the file being served as static text if you didn't have a Windows workaround?

It rather seems to me that POSIX accepting `.php ` as a filename, and this not being picked up by a `.php` check is problematic here.

Comment · 4 years ago
I see, thanks for the insights.
Comment · 4 years ago
Just like Lua, hence their similarities.
Comment · 4 years ago
I can't use jpackage on Windows to build Mac binaries, but not having FX installed is what kind of problem? Just use jpackage to create an .app for Mac, an installer or portable build for Windows, and a .deb or executable binary for Linux. It bundles all dependencies and users can just click and run it.
Comment · 4 years ago
What's the problem with jpackage for, say, shipping Windows binaries?

I just let it package a "portable" (no need to install) directory of all dependencies and that's it. Users just download a ZIP and can use my programs.

Comment · 4 years ago
Can I scroll up to a thread to the first message without Javascript running to fetch previous posts? We had this in the 00-ties.

It would also be great if I can Ctrl+F to use my browser's search feature to look through all messages instead of relying on a dynamic JavaScript one.

Comment · 4 years ago
[flagged]
Comment · 4 years ago
I'm not the original poster. Anyway, the point is that Qing dynasty was also "foreign" because it was reigned by Manchu.
Comment · 4 years ago
You are cherry-picking the best experience one can have on macOS, and contrasting it with the worst experience on Windows. This way it just sounds like comparing in bad faith.

There is plenty of Mac software that requires an installer and Uninstaller, plenty of off-behaving applications that put stuff directly into ~ or ~/Documents, and even those that install some internal executables into /usr/local/bin.

You can have an equally pleasant experience on Windows (after all, this is about portable apps...). There is "mature" software whose installers will just override (update) the existing application (e.g. Anki, Affinity apps), %APPDATA% is your Application Support folder on Windows (if only more software would use it), and then there's also the slightly new .appx packaging with a clean way of uninstalling. No one hinders you to just download portable apps directly from the vendor and putting it into C:/Applications, if you want that.

If there is an odd one out, it would be Desktop Linux.

Comment · 4 years ago
Why are you counting Qing dynasty into that?
Comment · 4 years ago
I love Nim's syntax, but is there a specific reason why e.g. the SFML binding cannot imitate C++ RAII approach of handling resources? There is .close everywhere.
Comment · 5 years ago
You have no idea what you are talking about. You can install any kind of distribution by copying over their rootfs. For example, I am running Void Linux on WSL2.
Comment · 5 years ago
Hold shift while dropping.
Comment · 5 years ago
Comment · 6 years ago

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton