@whitequark longjmp2 allocates a new branch on the forked stack and jumps there, copying the current stack frame as it may get modifed later. Use regular setjmp and longjmp to jump back to the adjacent stack frame on the sibbling branch. This allows for green threads. Returning from the callee calls the continuation point passed to longjmp2.

@mntmn "It is now safe to turn off your computer"

@whitequark I initially thought of that monster from the beheneko anime. But it turns out that one was called roper rather than grouper...

@mhoye It says "any other any other" somewhere in there. Looks like a small mistake.

re: what, chemistry, bodily harm, nsfl 

@whitequark images can't harm me anymore – I've seen the goatse.

re: weapons 

@whitequark Like all software, it's a tool. You can use it for good and bad things. The tool is not at fault. The one using it is.

@whitequark Why are the eyes of evil or angry people in anime always red and never green?

@datenwolf You can simply bind mount /usr/, /bin/ and so on, or even /, at the same location as in the host, so you can use those without issue.

The point of doing this is just so you can mount the USB stick at an unknown location, but can have gcc find it's files at a known location. I didn't suggest it for the sake of isolation.

I can't help you much with building gcc, though, that's indeed difficult. You may need to deal with that like you would for a completely different platform.

@datenwolf You could use mount namespaces with a tmpfs and a bind mount. You can make those without root in a wrapper script. All you need is unshare & mount in the right order. Then you won't have to hook open, nor need a unique prefix.
Take a look at this for how to do such things: gist.github.com/Daniel-Abrecht

@whitequark Do you ever think about how XML elements are usually really some:namespace:uri#element encoded as prefix:element or element in current namespace, but most developers pretend the namespaces don't exist, strip off the prefix, and only care about the element name, and how most xml libraries really don't help getting a unique element identifier?
I mean, it usually works, and different prefixes are often the same NS, but the same named element could still be different / of a different NS

@foone USB is just really bad. It's also the only thing that used to cause me issues with my dock setup. But since I switched some of my USB cables from USB3 to cheap USB2, and replaced all my power supplies with a single one, it got a lot better.

@whitequark Also, if you ever have the opportunity to see into the future, be prepared to fight it even if it is futile. Otherwise, why would you not see a bad ourcome you have already accepted?

@whitequark Let's suppose you had a habit of gambling or something like that. Let's suppose you know everything is predetermined. Let's suppose because of that, you change noting, and loose everything.

Let's suppose instead, you try to change anyway. The outcome may be a different if you are like this.
You see, it doesn't matter if things are pre-determined at all. The future follows from the past, and your belives are part of the path you are going to take.

@foone Did you map it as private / CoW when you wrote to it, thus only wtiting to a copy instead the original?

@foone We have that on unix / linux too. _DEFAULT_SOURCE, _GNU_SOURCE, _BSD_SOURCE, etc.

Just one example. Want the BYTE_ORDER‎ macro the POSIX standard says has to be in endian.h, but you use glibc? Define one of the magic macros! Also, that's not POSIX requiring it, and the man page doesn't even mention the existence of the BYTE_ORDER‎ macro!

@mhoye @mcc
There is no better way to do ABIs, and there can be no one perfect ABI. Not even in theory can a better world exist. Stop blaiming C, this is just how reality works.

@mhoye @mcc This really isn't about C at all. It's just about ABIs. You want your language to have it's own ABI? Just do it, add one more to the giant pile. You want to describe an ABI in terns of your own language? Just do it. You want to change an ABI, but you use proprietary software you can't compile yourself? Well, fuck proprietary shit, not my problem!

@foone You can make the js even nicer!

info.y ?? ligature_default.y ?? defaultInfo.y ?? fontOriginY

@Klotzkie Man kann BlueSky Instanzen doch immernoch selbst hosten, oder? Und das Mastodon Problem, das manche Instanzen nicht föderieren, gibt es doch auch noch nicht, oder?
Da haben halt einige - wie oft auch bei Mastodon - die falsche Instanz gewählt.

Show older
Awoo Space

Awoo.space is a Mastodon instance where members can rely on a team of moderators to help resolve conflict, and limits federation with other instances using a specific access list to minimize abuse.

While mature content is allowed here, we strongly believe in being able to choose to engage with content on your own terms, so please make sure to put mature and potentially sensitive content behind the CW feature with enough description that people know what it's about.

Before signing up, please read our community guidelines. While it's a very broad swath of topics it covers, please do your best! We believe that as long as you're putting forth genuine effort to limit harm you might cause – even if you haven't read the document – you'll be okay!