@bugaevc@floss.social avatar

bugaevc

@bugaevc@floss.social

Unix hacker. I do obscure and cursed things.

I hack on Darling, SerenityOS / Ladybird, GNU Hurd / glibc, wl-clipboard, Owl, etc.

I use GNOME, and contribute to freedesktop / GNOME projects sometimes (systemd, PipeWire, GLib, GTK, etc).

I like Rust and dislike Docker.

This profile is from a federated server and may be incomplete. Browse more on the original instance.

bugaevc, to random
@bugaevc@floss.social avatar

Remember to hydrate, fellow humans 💧

bugaevc, to random
@bugaevc@floss.social avatar

Let's look into C++ 20 coroutines 🧵

I assume you're already familiar with general ideas of coroutines, async/await, and CPS / state machine transformation from other languages.

bugaevc, to random
@bugaevc@floss.social avatar

New display name, let's see how long this one lasts :D

bugaevc, to random
@bugaevc@floss.social avatar

Mutter is the Metacity window manager, rewritten in Dart using Google's Flutter toolkit, primarily targeting tablets and mobile phones.

bugaevc, to random
@bugaevc@floss.social avatar

GNU #Mach on AArch64 now boots up and runs a simple userspace hello world on ✨ real hardware ✨ , booted from U-Boot! 🎉

Kudos to Manolo De Medici for testing & helping track down issues!

If you want to help with Mach / #Hurd on AArch64 and know anything about writing drivers and/or have an AArch64 board, please get in touch :)

bugaevc, to random
@bugaevc@floss.social avatar

Let's look into virtualization on ARM

🧵

bugaevc, to rust
@bugaevc@floss.social avatar

Looks like the "break rust" easter egg that I added last year is being removed from GCC over being "bloat" and "insulting the GCC users"

Oh well

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114629

bugaevc, to random
@bugaevc@floss.social avatar

Updated to F40 for a laugh. Now I'm unable to log in, since SDDM crashes on startup.

Qt upstream sounds pretty clueless about how distros work: "GCC 14 isn't officially supported by Qt yet. Are you able to build with GCC 11?"

The root cause is apparently a GCC regression https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114576

this is fine.jpg

bugaevc, to random
@bugaevc@floss.social avatar

I need 'git commit --llm' that would ask me a bunch of questions and then write a commit message for me based on my explanations.

Like, I fixed this complicated issue, and even though the patch itself is quite small, it takes 6 paragraphs of prose to explain what the issue even was and how it could happen.

bugaevc, to random
@bugaevc@floss.social avatar

I implemented support for copying send-once port rights for GNU (MACH_MSG_TYPE_COPY_SEND_ONCE) 😉
The patches have already been applied by Samuel.

https://mail.gnu.org/archive/html/bug-hurd/2024-04/msg00001.html

bugaevc, to random
@bugaevc@floss.social avatar

XKCD 2347, but the person in Nebraska who's been thanklessly maintaining the project since 2003 has developed long-term mental health issues and is only glad to add a co-maintainer when another interested person shows up.

bugaevc, to random
@bugaevc@floss.social avatar

Is Linux secure?

Let me rephrase, is a huge pile of C code, running in privileged mode in a shared address space, highly concurrent, using its own homegrown memory model based on volatile instead of the one the language spec defines and the compilers implement, dealing with untrusted data, implementing many complex protocols, data formats, & functionality, managing a bunch of "objects" with complex ownership and lifetime semantics, embedding its own JIT — secure?

bugaevc, to random
@bugaevc@floss.social avatar

https://inbox.sourceware.org/libc-alpha/20240323173301.151066-1-bugaevc@gmail.com/

aarch64-gnu port of glibc v2 & an update on the GNU/Hurd on AArch64 progress 🚀

:gnu:

bugaevc, to random
@bugaevc@floss.social avatar

GNOME Software: a critical system update is available! Stop what you're doing and reboot to install it at once!
Me: what, another buffer overflow in glibc?
GNOME Software: it's firefox-langpacks

bugaevc, to random
@bugaevc@floss.social avatar

So basically memory unsafety vulnerabilities, at scale, are a given, as long as a process runs non-trivial C code; they're always going to happen. It makes no sense to blame particular instances of vulnerabilities being accidentally introduced, that's just how things are. And it's on hardware designers, and us, systems designers, to introduce mitigations to try and protect against the vulnerabilities in ways other than just not writing them.

Or, we could RiiR 🙂

bugaevc, to random
@bugaevc@floss.social avatar

Alan Wake (1, not 2) first impressions:

It starts by referencing Stephen King! And in general seems to be quite King-ian. It references The Shining too (though the terrible 1980 movie, not the book).

The graphics are meh, but then again, it's a 2010/2012 game.

I am getting the Control vibes from the eerie sounds. Dr Hartman is also a familiar name.

It is structured like a TV series, with distinct episodes, titles at the end of an episode, and "previously on Alan Wake" recap at the beginning.

bugaevc, to random
@bugaevc@floss.social avatar

In this day and age, does it still make sense to lazily load and restore "floating point" (read: SIMD) state on context switch?

With the baseline ISAs guaranteeing SIMD support and compilers making use of it unconditionally, it's no longer an occasional app that "does math", it's everywhere.

bugaevc, to random
@bugaevc@floss.social avatar

Note to self, to insert ^L aka form feed aka \f:

in Emacs, C-q C-l
in Nano, M-Shift-V ^L

(both of these are enabling raw/verbatim input mode and then entering Control-L)

bugaevc, to random
@bugaevc@floss.social avatar

That's not quite what I was looking for...

bugaevc, to random
@bugaevc@floss.social avatar

"The X Window System was basically the wrong bet on how GUIs and computer hardware would evolve. <...> The history of Linux GUI is a series of heroic workarounds to hide the misaligned X underpinnings."

(From the orange site thread on the recent GTK blog post)

bugaevc, to random
@bugaevc@floss.social avatar

I cannot overstate just how important the GCC Rust project is for, like, the future of computing, and everything.

And yet, under any post on LWN / HN / Reddit, 90% of discussion is people demanding justification for the project's existence. Because how dare they develop a compiler that someone doesn't see a use case for?!

bugaevc, to random
@bugaevc@floss.social avatar

Misreading subtitles as subtleties

bugaevc, to random
@bugaevc@floss.social avatar

Why do Linux, GRUB (and others?) use ET_REL (object files) and not ET_DYN (shared objects) for their loadable modules?

Is it just that they want non-PIC, since linking the relocatable object into its place once is cheaper than paying the runtime overhead of PIC?

bugaevc, to random
@bugaevc@floss.social avatar

/* Come on GCC, just give me the code. */

asm ("/");
void
foo (void)
{
asm volatile ("
/");
...

bugaevc, to random
@bugaevc@floss.social avatar

git: 'git' is not a git command

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • mdbf
  • ngwrru68w68
  • tester
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • InstantRegret
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • DreamBathrooms
  • megavids
  • tacticalgear
  • osvaldo12
  • normalnudes
  • cubers
  • cisconetworking
  • everett
  • GTA5RPClips
  • ethstaker
  • Leos
  • provamag3
  • anitta
  • modclub
  • lostlight
  • All magazines