this post was submitted on 06 Mar 2024
250 points (96.3% liked)

Programmer Humor

19589 readers
578 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 21 points 8 months ago (4 children)
[–] [email protected] 2 points 8 months ago* (last edited 8 months ago) (1 children)

~~Neat idea but it needs the ape loader to be installed.~~

[–] [email protected] 3 points 8 months ago (1 children)

It comes with the launcher embedded.

Now you may be asking, what happens if the APE loader isn't installed on my system? In that case, it'll try to dd the 4kb copy of the APE loader that's embedded within the host executable, out to the safest folder that's guaranteed to work, namely ${TMPDIR:-${HOME:-.}}/.ape. If your operating system defines the POSIX-specified $TMPDIR variable, then the ape loader will become $TMPDIR/.ape. Otherwise if $HOME is defined, it's dropped in in $HOME/.ape. Then, if neither is defined, ./.ape is created in the current directory

[–] [email protected] 1 points 8 months ago

Thanks, I missed it.

load more comments (2 replies)