Conversation
we need to educate the masses on the beauty of CGI websites and that not everything has to be PHP
2
1
5
https://en.wikipedia.org/wiki/Common_Gateway_Interface
they just let you execute random shit on http requests!
https://fortunes.pinkro.se just executes fortune! its banger!!
1
0
2
@fiore @rose its an uh uh uh https://en.wikipedia.org/wiki/Common_Gateway_Interface its this you can use it to let any program you want serve html and stuff. its the way fossild serves my repos
1
0
2
@rose @fiore it redirected me to 4get whats up with that

also you host a 4get and i didnt know???
3
0
0
@rose @fiore ive been looking for a new instance since the bunny one stopped working
0
0
1
ye typo i meant to link to fortunes.pinkro.se
also yeah i host 4get, i never really advertised it because i dont wanna get rate limited, feel free to use it tho

CC: @fiore@brain.worm.pink
2
0
2
thats what im saying!!
and doing!!!! https://pinkro.se is a C program!!!
2
0
0
@rose @fiore fun fact: on openbsd cgi serving applications need to be statically compiled and placed in /var/www/bin because httpd is isolated to var/www
2
0
2
@fiore @rose already like halfway here already crossed the alps incredible what a powerhouse
1
0
0

@rose @coolbean rose why are you not a puffycel yet

1
0
1
@fiore @rose oh come on rose probably uses libressl on her gentoo desktop thats like halfway there
2
0
1
@fiore @rose i get wanting to fencesit on this matter openbsd lowk kinda sucks (performance is... not great and neither is battery life. i still love it but openbsd software is really best experienced on a different kernel lmao)
0
0
2
@rose @emneo i need to make a website so there's more than one working page in your webring
1
0
1
actually i dont because libressl doesnt always work
im not puffycel and i will never be a puffycel because i like gentoo much much more and id use gentoo bsd if that ever were to exist again
or gentoo id never use hurd even if that gets stable quickly enough

CC: @fiore@brain.worm.pink
2
1
2
oh my god i didnt even notice that lmao

CC: @emneo@fosstodon.org
0
0
2
@rose @fiore i honestly forgot gentoo bsd existed but honestly yea thatd go hard as fuck lmao

really my main thing with openbsd is just that networking tooling is really well designed and it handles wpa authentication properly unlike literally every other open source operating system which all rely on FUCKING WPA SUPPLICANT I HATE THAT FUCKING PIECE OF SHIT SOFTWARE OH MY GOD
2
0
2
@rose @fiore i dont believe in gentoo hurd though. i dont want the gnu kernel. you know why we all know why l4 was right there and has been for decades write drivers for that the gnu project is a dump
1
0
3
@rose @fiore god i wish i was at roses house too thatd be a fun day
0
0
1
@fiore @rose i wanna make an sel4 distro someday. thatd be the dream. just gotta get s6-rc to run and figure out how the fuck you make a multi user operating system and uh... i dont know how to make a unix would you believe that

i will say im unsure about execline. ska makes some ok points in its favor but its just a pain to write scripts with it and id rather use a minimalist scheme implementation or smth
1
0
2
oh i've dealt with sel4 on embedded one time
its pretty cool, but i cant imagine it being used on a desktop system

CC: @coolbean@brain.worm.pink @fiore@brain.worm.pink
1
0
4
@rose @fiore thats definitely the challenge lol. the drivers are straight up not present
2
0
1
@rose @fiore but i want a microkernel and i dont want hurd
2
0
2
@fiore @rose also l4 is just a fucking awesome name for a kernel tbh
0
0
1
@coolbean @fiore @rose maybe make it compatible with rump drivers?
1
0
0
@coolbean @fiore @rose i haven't looked into their apis but that doesn't seem unreasonable
1
0
0
@fiore @rose they were actually looking into porting hurd to l4 (instead of gnu mach) in the mid 2000s but then someone suggested the coyotos kernel instead and they looked into that but decided against it by which time l4 progress had stalled

its a shame because honestly architecturally hurd is interesting actually i just dont like the gnu project
1
0
1
@fiore @rose i shouldnt have lookd a microkernel unix is way too cool architecturally
0
0
0
@coolbean @rose @fiore i wish i knew, openbsd doenst have drivers for any of the 6 wifi card i have nynPensive
1
0
2

@coolbean @rose @tisanae guys is theo a weirdo chud or is he cool whats the verdict

3
0
1
@fiore @rose @tisanae like the "lives in the sewers of new york" kind
1
0
2
@fiore @rose @tisanae no hes canadian, im saving my green card for someone that really needs it
0
0
2


CC: @emneo@fosstodon.org

it's a bloody web server, and reverse proxy both which are C programs
0
0
0
@fiore @rose @tisanae hes my favorite chud he crawls up your sewer pipes, grabs you by the dick and drags you down into the sewers
1
0
2

@coolbean @rose @tisanae linus aint got shit on him honestly . hes a chudlet compared to theo

1
0
2

@fiore @coolbean @tisanae @rose adj

https://man.9front.org/1/fortune

     NAME
          fortune, theo, troll - sample lines from a file

     SYNOPSIS
          fortune [ file ]
          theo
          troll

     DESCRIPTION
          Fortune prints a one-line aphorism chosen at random.  If a
          file is specified, the saying is taken from that file; oth-
          erwise it is selected from /sys/games/lib/fortunes.

          Troll is more specific than fortune; it specializes in
          inflammatory rhetoric.

          Theo is more specific than troll; it presents insults from
          OpenBSD founder Theo de Raadt.

(and https://man.9front.org/1/nietzsche)

1
2
5
@aeweyrose @fiore @tisanae @rose the fact theo and troll arent in the openbsd games set is legitimately infuriating. WE EARNED THIS GIVE IT TO ME
1
0
3

@SRAZKVT @Misofist @rose @lunareclipse @navi I think it makes sense for the two to be separated, specially as "check if path exist" has to be something where you get a file descriptor to avoid TOCTOU issues afterwards.

And reminds me that what I'd more want in modern languages is types for a path query (stuff like ../ goes there, maybe also globbing), a path (relative or absolute), and a filename.

1
0
0
@lanodan @rose @SRAZKVT

i wish posix would add RESOLVE_IN_ROOT and RESOLVE_BENEATH (from linux's openat2) as flags to openat (i honestly i have no idea why linux *didn't* make them O_* flags and instead gave it an extra field in a new syscall)

those would make so useful for a bunch of things, one of them making `../` path traversal impossible
1
0
1

@navi @rose @SRAZKVT Interestingly I feel like I've seen that one before in a POSIX meeting (so in the last 12+ months) but might be misremembering as I can't find it in the bugtracker.

Might be worth it to look at what other implementations have, maybe they did it with an O_* flag which would likely be easier to standardize.

0
0
0
@SRAZKVT @natty @Misofist @rose @lunareclipse

"javascript has frameworks that work via http" is valid to say

"$language has $framework that works via the cgi" same thing
0
0
0