HNHacker News
TopNewBestAskShowJobs

TheBrokenRail

744 karma · joined December 9, 2020

submissionscomments
TheBrokenRail··on IRCv3 2022 Spec round-up
This was a much better (and more accurate) description of my complaints about Matrix's permissions system. Thanks!
TheBrokenRail··on IRCv3 2022 Spec round-up
The issue I have with Matrix/IRC/IRCv3 compared to Discord is that they don't really work well with public communities.

Discord's server/channel/role system is amazing, and I don't know why everyone else isn't replicating it.

For instance, let's take the Pine64 Discord server. It has a grand total of 27 channels split into 10 categories (including top-level). Using Discord's permissions system, some of those channels are read-only like #announcements.

Pine64's server is also bridged to Matrix. Matrix requires every single channel to be bridged individually into their own Matrix chat, just look at this table (https://wiki.pine64.org/wiki/Main_Page#Chat_Platforms)! In fact, some of the channels aren't even bridged at all! Meanwhile on Discord, everything's all in one easy to use place. You just join the server, and that's it.

But what about Matrix spaces? Aren't those the equivalent of Discord servers? The issue is that rather than an integrated experience, Matrix servers are just a built-in version of the table I listed above. You still have to leave/join chats individually and it doesn't even have categories!

But that's all from a user's perspective, what about from a server admin's perspective? Discord's permission system is great and flexible, and Matrix's system is just kind of bad. In case you don't know Matrix's system from what i understand is basically: every user gets a permission level number, and users with certain levels can do certain things. That's it, no flexibility whatsoever.

Meanwhile on Discord, you can create roles which when given to users allow them to do certain things. Like anyone with a "Moderator" role can delete messages or ban people. But you could also make it so "moderators" can't delete messages, only ban people. And you can also make roles behave different on per-channel or per-category basis. You can even make it so users can't see a channel at all without a role (for instance, a server I'm an admin on has a #mod-chat channel and a #admin-chat channel).

Matrix's system just can't do that. And it really doesn't integrate with their Spaces system. There's no way to make it so only certain people can see certain channels in a Matrix Space. In fact, there's no way to manage permissions for an entire Matrix Space at all! It's limited to a per-chat basis.

And that long-winded rant is why I will stick with Discord.

TheBrokenRail··on Let's kill the universe
This is so silly. You hear about how entropy always increases.. and you response is to make it increase faster? All to spite a theoretical simulation creator? Sorry, but I don't want to kill the universe, that I live in mind you, out of spite.
TheBrokenRail··on Show HN: I made a free transcription service powered by Whisper AI
> I'm just wary about restarting the server because I haven't setup a way to be able to reboot without losing the websockets

Wait what. Not being able to safely restart the server sounds like a disaster waiting to happen.

TheBrokenRail··on Two weeks of dealing with Google as a developer
At least on Android you can install alternate app stores like F-Droid. All you have to do is allow apps to be installed from unknown sources.

If you use Apple, you're just out of luck unless you want to mess with whatever hacky workaround is popular this week.

TheBrokenRail··on Disney says it has more streaming customers than Netflix
Given just how important content is to streaming services and Netflix's reputation for canceling good shows, this doesn't seem that surprising to me. Especially since rather than focusing on content, Netflix is instead focusing on limiting password sharing, which was never going to give them good PR.
TheBrokenRail··on Disney says it has more streaming customers than Netflix
Paramount+ also allows you to this.
TheBrokenRail··on Searchable List of Mastodon Servers
100% this!

There doesn't seem to be many general servers that:

1. I can trust won't just shut down in a week.

2. Are accepting signups

3. And won't end up having a negative stigma a in year when the creator goes off a deep end. I know I can just switch to another instance, but I really don't want to have to do that frequently.

Matrix at least solves this by just having an official Matrix home-server. Matrix is still federated, but if you just want to just sign-up and join a chat room, you're not forced to pick a home-server that's specific to you or worry about the factors above.

TheBrokenRail··on Sudo: Heap-based overflow with small passwords
> sudo make install

Even ignoring security issues, all of make getting elevated privileges can cause other issues as well.

All it takes is the incremental build system being a little finicky, and "sudo make install" could rebuild an object as root, and now one or more of your ".o" files are owned by root and your build directory is broken.

TheBrokenRail··on Sudo: Heap-based overflow with small passwords
> sudo is almost 150k lines of code

I'd argue that's (at least part of) the problem. More code = more surface area for bugs, and sudo has a lot of code.

TheBrokenRail··on Sudo: Heap-based overflow with small passwords
> EDIT: Oops, apparently Alpine added that

This seems like a really weird thing for a distro to add themselves rather than upstream.

TheBrokenRail··on Sudo: Heap-based overflow with small passwords
Seriously, why is sudo so complicated? Most of the time, all sudo has to do is hash a password, check that hash against a file, and if successful, run a program as root.

Why can't we just have a minimal version of sudo that does just that and only that so the majority of smaller servers and home users can run sudo without fear of a security bug ever other month? Preferably using the same executable path so that everything else doesn't break.

It just seems like most of sudo's security bugs come from weird obscure features almost no one uses. Like that time sudoedit had a security issue. I didn't even know that command existed until it broke things, and it still seems pointless when you can just run "sudo nano" or "sudo vi".

TheBrokenRail··on Open source sustainment and the future of Gitea
For me this is a benefit, GitHub's UI in my opinion is really good and I'm glad I don't have to learn a new one for Gitea.

Whenever I need to report a bug on a GitLab instance, its UI is a big source of friction (especially since GitLab's UI is still annoyingly slow when loading things like issue comments).

TheBrokenRail··on Someday aliens will land and all will be fine until we explain our calendar
Silly reason, but I like that Sunday being the first day keeps the week symmetric. You have the first and last day of the week being days off (in most places), and you have Wednesday in the middle. It's not very logical, but neither is any part of our calendar system.
TheBrokenRail··on A script to allow installing unsigned extensions on Firefox
The extensions will just be disabled until the script is rerun.
TheBrokenRail··on A script to allow installing unsigned extensions on Firefox
It shouldn't be that hard to do manually.

The process is just extracting a ZIP file (omni.ja), editing modules/AppConstants.jsm to have MOZ_REQUIRE_SIGNING set to false, then put the ZIP file back together.

A quick Google search led me to https://udn.realityripple.com/docs/Mozilla/About_omni.ja_(fo..., which seems to have instructions for working with omni.ja on Windows.

TheBrokenRail··on A script to allow installing unsigned extensions on Firefox
Because Android is more locked down than desktop Linux, there unfortunately isn't an easy way to modify Firefox in-place.

If it helps, the biggest issue I had with setting up custom extensions on Firefox Nightly Android using spaces in the collection name.

TheBrokenRail··on A script to allow installing unsigned extensions on Firefox
It should work on any Linux as long as omni.ja is located at /usr/lib/firefox.
TheBrokenRail··on A script to allow installing unsigned extensions on Firefox
Most extensions that exist are on Mozilla's Addons site. And unsigned extensions aren't commonly distributed because you just can't install them on normal Firefox, only Nightly or Developer Edition builds.

The main use-case of this is so that Mozilla doesn't have total control over what extensions are allowed to be installed.

It can also be used so you can install extensions you built-from-source.

TheBrokenRail··on C23 is finished: Here is what is on the menu
I am so glad to see #embed.

I always thought it was silly that the best way to embed a resource in a binary using CMake was to either convert it to hexadecimal C array manually or use specific flags with ld to convert it into an object (and good luck getting that to work reliably with cross-compiling!).

TheBrokenRail··on Responsible stewardship of the UEFI Secure Boot ecosystem
I know my ThinkPad gives me a "self-healing BIOS" message whenever I update the firmware (on a side note, fwupd is amazing), which according to Lenovo's Twitter is a BIOS backup (https://twitter.com/lenovo/status/1297785406239514624?lang=e...).
TheBrokenRail··on Show HN: Get rid of Git submodules and never look back (now for GitHub users)
Just like others, I've never really had a problem with Git submodules apart from forgetting to recursive clone or or twice. So I don't personally see the point of this, epsiecally since the pricing page implies it will cost money once it's out of beta.

(On that note, are there any actual reasons to not just --recurse-submodules by default?)

TheBrokenRail··on A proposal to start “llvm-libc” (2020)
I see this as nothing but a good thing. Especially since this seems like it can delegate to a system libc for necessary functions.
TheBrokenRail··on Ghidra: A software reverse engineering suite of tools developed by the NSA
I haven't used Ghidra that extensively, but it worked well when I was using it to assist in modding Minecraft Pi. The big point in its favor for me is that its free and supports ARM32, while IDA's free version only supports x86.
TheBrokenRail··on Cyclic dependencies are evil (2013)
There are a few JS interpreters written in JS, don't know about Lua.
← PreviousPage 3 of 3