klange changed the topic of #osdev to: Operating System Development || Don't ask to ask---just ask! || For 3+ LoC, use a pastebin (for example https://gist.github.com/) || Stats + Old logs: http://osdev-logs.qzx.com New Logs: https://libera.irclog.whitequark.org/osdev || Visit https://wiki.osdev.org and https://forum.osdev.org || Books: https://wiki.osdev.org/Books
<mcrod> gog
<mcrod> i scratched your head and you didn't purr :(
<nikolapdp> sad
* heat_ scratches mcrod
<gorgonical> Intermittent memory bugs
<gorgonical> Make me real sad
* mcrod cries
<heat_> YOUD IDN'T ASNWER ME ON DISCORD MCROD
<mcrod> now i will
<heat_> i'll stop sending you dua lipa gifs if you don't
<nikolapdp> lol
<heat_> oh shit
<heat_> >albanian singer
<heat_> >serbian
<Mondenkind> heat_:
<Mondenkind> i'm sad
<gorgonical> everyone knows albania is just bunker serbia
* heat_ patten mondenkinden
<nikolapdp> everyone knows albania is serbia :p
<Mondenkind> i don't have anyone to send me dua lipa gifs
<gorgonical> you know nikolapdp if you keep it up I'll eventually be convinced to actually learn serbian
<gorgonical> What's another language to learn?
<gog> mcrod: prrr
<nikolapdp> gorgonical: lol my mission is going well then
<gorgonical> German, Finnish, Serbian
<gorgonical> A good mosaic
<bslsk05> ​tenor.com: Dualipa Dualipagifs GIF - Dualipa Dualipagifs Dua - Discover & Share GIFs
<heat_> dualipa dualipagifs
<heat_> gog goggifs
<nikolapdp> howdy
<heat_> yeehaw
<nikolapdp> gorgonical: yeah very varied
<gorgonical> I learned french for a while but it wasn't weird enough
pretty_dumm_guy has quit [Ping timeout: 255 seconds]
<gorgonical> Too many shared words and constructs to German
<gorgonical> Euro sprachbund and all that
<nikolapdp> doesn't french have some crazy verb conjugations
<Mondenkind> heat_: :3
<gorgonical> It does, but I didn't get far enough to study the grammar in that complexity. Finnish has crazier verb conjugations
<nortti> does it?
<nikolapdp> makes sense
<gorgonical> nortti: I mean, the fact that "no" conjugates based on number is pretty interesting
<gorgonical> en/et/ei/jne. I'm just learning imperative and the fact that imperative has a whole different "no" is wild
<heat_> jne is an instruction
<nikolapdp> lol
<gorgonical> lol
<heat_> lol
<nikolapdp> grogonical: greek has a different no for imperative and subjunctive i think
<nikolapdp> i am learning on duolingo so pardon my grammar lol
<gorgonical> ja niin edelleen in finnish is etc
<gorgonical> I love each language's "etc" equivalents
<nikolar> serbian is и тако даље (and so on)
<heat_> that's not etc, that's "and so on"
<gorgonical> do people abbreviate it?
<gorgonical> sure, but it's used as etc
<nikolar> yeah итд.
<gorgonical> German's is und so weiter, usw
<nikolapdp> again literally the same
<gorgonical> It's great
<gorgonical> what's the serbian equivalent for "does a bear shit in the woods"
<nikolapdp> like for something obvious?
<gorgonical> yes
<zid> There's trouble in the gypsie village
<gorgonical> please zid tell me you say that in your neck of the uk
<zid> no, serbians do
<gorgonical> Is there a british version to that phrase? "does the queen eat beans" or something like that
<zid> yes, does a serb die if you bomb him
<nikolapdp> gorgonical: huh nothing comes to mind for that one
<gorgonical> surprising
<gorgonical> German uses the same phrase of shitting bears
<zid> The does the beast that shall not be named shit in the woods.
<nikolapdp> interesting
<zid> PIE joke, woo!
<gorgonical> lmao
<nikolapdp> slavic languages call bears like honey eaters
<zid> (There's a suspicion we don't know what the PIE word for bear is because they refered to it like that)
<gorgonical> yep yep
<gorgonical> germanic languages all call bears "the brown ones"
<nikolapdp> and germanic is jut brown lol
<gorgonical> wait medved is honey
<gorgonical> Does that mean the russian guy medvedev is "of honey" or something like that?
<zid> medvedev
<nikolar> мед - honey; медвед - bear
<heat_> medved is ber
<gorgonical> oh you are right
<heat_> bear
<zid> meA, meBeA
<gorgonical> I misread the wiktionary
<heat_> there's the medved meme
<nikolar> what meme heat_
<gorgonical> then medvedev is like how some scandinavians are called bjorn now huh
<bslsk05> ​knowyourmeme.com: Preved Medved (ПРЕВЕД МЕДВЕД) | Know Your Meme
<heat_> this is peak 2000s russian funny
<nikolapdp> gorgonical: could be yeah
<nikolapdp> medvedev is a last name right
<heat_> yes
<nikolapdp> eh close enough
<gorgonical> I think so
<nikolar> latin: Inherited from Proto-Indo-European *h₂ŕ̥tḱos (“bear”). The initial u- is unexpected, and may have arisen as a tabuistic distortion
<heat_> everybody gangsta until #osdev starts talking about proto-indo-european
<nikolapdp> on-topic channel btw
<gorgonical> lies
<nikolapdp> which one gorgonical
<gorgonical> on-topic
<nikolapdp> shh don't tell anoyne
<gorgonical> I remember years ago when geist would intervene and try to encourage us to be on top
<gorgonical> sorry man, lol
<nikolapdp> lol didn't he join us in an off-topic discussion a couple of days ago
<gorgonical> only if VLIW/itanium counts as off-topic
<nikolapdp> technically it does, it's not an os :p
<gorgonical> it's also #historicalcomputing because it's dead
<heat_> >encourage us to be on top
<nikolapdp> lol
<gorgonical> OF THE TOPIC
* gog vliws
<gorgonical> i didn't know you spoke dutch, gog
* heat_ tops
<bslsk05> ​tenor.com: Dua Lipa GIF - Dua Lipa Dua Lipa - Discover & Share GIFs
<gog> ja een
<heat_> DUA LIPA WANTS YOU TO BE ON TOPIC
<nikolapdp> another reason to stay off-topic
<gorgonical> but only karly kloss knows how to kode
<heat_> do you think taylor swift is a kernel hacker
<nikolapdp> *kernal
<zid> is dua lipa the shortie porn star
<gorgonical> theo de raadt is just swift's pseudonym
<nikolapdp> zid: why would she be
<zid> idk the name seems familiar
<gorgonical> zid sometimes I'm convinced you have a connection to the future from the 1930s
<nikolapdp> lol
<zid> because I don't know who some.. spanish? person is?
<gorgonical> she's an english-albanian pop star
<heat_> Dua Lipa is an English and Albanian singer and songwriter.
<nikolapdp> albanian actually
<nikolapdp> gross
<heat_> unspanishest person ever
<nikolapdp> heat_ could be even more unspanish
<nikolapdp> imagine if she were nepalese or soemthing
<zid> okay then, that's an easy anwer, I don't listen to modern music
<nikolapdp> what do you listen to zid
<gorgonical> right, because you only own billie holliday and fats waller records
<zid> the same albums I've been listening to since I was 16
<zid> like a normal person
<nikolapdp> kek
<gorgonical> zid: I had that realization last week that I do this
<nikolapdp> if i did that, it could still be dua lipa
<zid> everyone does
<nikolapdp> more like i am listening to albums my dad listened to when he was 16 lol
<heat_> hey google, play russian doomer music vol 1
<gorgonical> nikolapdp: exactly. I was listening to Helloween's "I want out" and was wondering when I started liking this kind of music
<gorgonical> Then I remembered it's what my dad liked
<nikolapdp> gorgonical: no way i listened to that today lol
<gorgonical> incredible
<heat_> just kidding let's listen to https://www.youtube.com/watch?v=wcaZcbain2s
<bslsk05> ​'Russian Doomer Music vol.3 (Superior)' by JustMyFavStrangeMusic (00:41:48)
<heat_> it has kino!
<gorgonical> the only acceptable russian music is phonk and hardbass
<nikolapdp> real
<heat_> you clearly haven't tried anti-war and mid-war music
<zid> When are we listening to the matrix soundtrack
<heat_> "don't tell mom i'm in chechnya" goes hard
<gorgonical> zid: I listen to rob dougan all the time
<zid> clubbed to death <3
<gorgonical> A really interesting artist with lots of strange influences
<gorgonical> I buy all his albums
<zid> Fat of the Land afterwards
<bslsk05> ​'Russian soldiers sings: Just don't tell mom that I'm going to Bakhmut' by Vologda Mapping (00:02:55)
<heat_> oh shit new version just dropped
<nikolapdp> heat_ that song is too chill to be a war song lol
<nikolapdp> the checnya
nikolapdp has quit [Remote host closed the connection]
<heat_> it used to be about afghanistan btw
<heat_> then chechnya, now bakhmut
<gorgonical> and possibly before, about finland
<gorgonical> But the soviets hadn't invented music at that point
divine has quit [Quit: Lost terminal]
nikolapdp has joined #osdev
<heat_> screams in KATYUSHA
<nikolapdp> katyusha was their music
<heat_> whose
<nikolapdp> soviet
<heat_> well yeah
<heat_> that's the point
gorgonical has left #osdev [Killed buffer]
gorgonical has joined #osdev
<nikolapdp> hello gorgonical
<gorgonical> emacs does this thing occasionally where it fucks up the window and grays everything out
<bslsk05> ​'Привет Сестрёнка - Hello Sister (Don't tell mom I'm in Afghan)' by Omnistar East (00:03:11)
<heat_> these are all soviet/russian
<nikolapdp> heat_ oh i was talking about the rocket artillery lol
<nikolapdp> as a joke
<heat_> katyusha top 10 songs btw
<nikolapdp> yeah good song
<heat_> far better than kalinka
<heat_> dont @ me
<nikolapdp> kalinka is just a classic though
<heat_> katyusha inspired rocket-powered artillery
<nikolapdp> ok the best russian music: korobeiniki
<heat_> that one's good too
<gorgonical> I remember that video, "I am the man who arranges the blocks"
<nikolapdp> hilarously, the soviet and now russian national anthem goes hard too
<heat_> nikolapdp, https://www.youtube.com/watch?v=aZGsHeAaLJ4 this one SLAPS
<bslsk05> ​'Red Army Choir - Legendary Sevastopol' by Premier Rik Latyeskov (00:03:27)
<nikolapdp> gorgonical: have you ever played tetris lol
<gorgonical> Of course, but the song now reminds me of the video
<nikolapdp> fair enough
<gorgonical> My grandmother loved to play tetris on the gameboy lol. I played it a lot growing up
<nikolapdp> i played it the most on a gbc emulator for some reason
<clever> gorgonical: stop, your making me feel old, lol
<nikolapdp> lol
<heat_> i have a gameboy colour
<heat_> suck it
<gorgonical> clever: I have bad news. I'm 29
<nikolapdp> gorgonical: i am 23 lol
<clever> gorgonical: and i'm 37!
<heat_> nikolapdp: i am 21 lol
<nikolapdp> heat_: no need to be rude
<heat_> quick someone younger pop up
<nikolapdp> you can play tetris on real hardware
<nikolapdp> i don't think there are many of those aroung heat_
<nikolapdp> you're the youngest it seems
<heat_> 302 Found osdev discord
<nikolapdp> kek
<zid> heat_: gb and gbc worth good money now for some reason
<nikolapdp> guess they are getting rarer
<heat_> HODL
<nikolapdp> i have a broken gb just chilling on a shelf
divine has joined #osdev
<zid> broken broken, or just missing the lcd cover or whatever?
<gog> i had a game boy pocket
<zid> pocket is for noobs sorry
<zid> not worth anything
<nikolapdp> zid: broken as in doesn't turn on
<zid> have you tried putting batteries in it
<gog> i liked it
<nikolapdp> and the cover fell of but it's there still lol
<gog> it fit in my pocket
<gorgonical> I had a gameboy micro and unironically loved it
<nikolapdp> yes zid thanks for the help
<zid> I liked those gb micros
<zid> I wanted one but I already had a gb/gba/etc so it was kinda pointless, just fashionable
<gorgonical> I got one when my gba died on me and they were pretty cheap at that point
<gorgonical> I almost exclusively played pokemon emerald so having that in my pocket all the time was a very appealing proposition
nikolapdp has left #osdev [sic - 250 LOC are too much!]
<zid> I still play my DS
<heat_> zid plays nintendogs all day
<zid> fuck yea
thinkpol has quit [Remote host closed the connection]
nikolapdp has joined #osdev
thinkpol has joined #osdev
<heat_> btw
<heat_> i never got the fun of the pokemon games
<heat_> they were always boring to me
<nikolapdp> same
<zid> it's a fun rpg with a combat battle system, with a collectathon element
<zid> sounds good to me
<zid> combat? turned based*
<nikolapdp> BASED?
<zid> bear in mind there are only 151 pokemon
<heat_> turn BASED
<Mondenkind> so shitty nethack
<zid> all the others are fanfic
<nikolapdp> lol
<Mondenkind> i'm pretty sure you can have more than 151 pets in nethack
<zid> you could indeed
<nikolapdp> have you played nethack zid
<zid> I can reliably beat 3.4 as a valk
<zid> and I had like, the third highest score on the multiplayer server at one point
<nikolapdp> nice
<zid> I can teach you for £10/hr
<nikolapdp> and how long does the average game last
<zid> few hours
<zid> Or like, 15 mins, if you suck
<Mondenkind> i was almost the first person to beat nethack 3.6.2
<Mondenkind> but then i died
<zid> aka me playing crawl
<Mondenkind> it was quite tragic
<zid> I have a 100% ascention rate in nethack4, I played 1 game of it in a junethack and ascended :P
<Mondenkind> crawl is for losers
<nikolapdp> lol
<zid> I got a rune once
<zid> died in Zot:5
<gorgonical> the only one I got into is the very loosely descended tales of maj eyal
<zid> I had rElec: +++ and just got oneshot anyway by an electric golem due to some mega high roll bounces
<nikolapdp> don't get attached to runs/characters is the conclusion i am getting lol
<gorgonical> correct
<zid> until you stop sucking, anyway
<nikolar> Yeah
vdamewood has quit [Quit: Life beckons]
vdamewood has joined #osdev
Turn_Left has quit [Read error: Connection reset by peer]
navi has quit [Quit: WeeChat 4.1.2]
heat_ has quit [Remote host closed the connection]
heat_ has joined #osdev
<kof123> gorgonical: What's another language to learn? hold on....
<kof123> https://0x0.st/s/viVQXnwb0PZ-KeaVUV7ZdA/Hd-h.jpg that one is easy because the top mainly ;)
<heat_> yo
<heat_> why are UNIX v6 buffers 514-byte sized?
<zid> My inability to count
<zid> 512 + nul + 1 for luck
<heat_> 2 bytes can make an int, or a pointer
<heat_> but i can't find any uses for it?
<kof123> > the Samruk lays its golden egg in the Baiterek or poplar tree and when the Samruk flies away, a snake eats the egg… The bird returns a year later, lays another, and the snake eats it and so on it is inside the sulphur triangle there, black like ashes :D anyhow...
* kof123 points at bslsk05
skipwich has quit [Quit: DISCONNECT]
skipwich has joined #osdev
heat_ has quit [Ping timeout: 276 seconds]
sbalmos has quit [Ping timeout: 268 seconds]
sbalmos has joined #osdev
Extern has joined #osdev
Matt|home has joined #osdev
Extern has quit [Quit: Client closed]
pretty_dumm_guy has joined #osdev
dhs has quit [Quit: leaving]
CutieMelo has quit [Ping timeout: 252 seconds]
CutieMelo has joined #osdev
JTL has quit [Ping timeout: 272 seconds]
JTL has joined #osdev
xenos1984 has quit [Read error: Connection reset by peer]
xenos1984 has joined #osdev
netbsduser` has joined #osdev
<Ermine> did unix v6 run on 16bit machines?
<netbsduser`> Ermine: it was PDP-11 native
<Ermine> so answer is 'yes'?
<netbsduser`> that's right
netbsduser` has quit [Ping timeout: 260 seconds]
gog has quit [Ping timeout: 276 seconds]
qubasa has joined #osdev
<Ermine> Is android recovery menu based on lk?
<kazinsal> iirc it's linux-based
goliath has joined #osdev
vdamewood has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
vdamewood has joined #osdev
gbowne1 has quit [Read error: Connection reset by peer]
Matt|home has quit [Quit: Leaving]
<ptrc> it's usually the boot partition that's lk, if anything
<ptrc> the recovery is just a very slimmed down android partition, with the same init/adbd/other random shit, but without half the userspace
GeDaMo has joined #osdev
gog has joined #osdev
<geist> yah
<geist> also depending on the device, the trust zone OS running in secure mode may be LK based
<clever> i sort of want to make a "its turtles all the way down" situation
<clever> run LK at EL3, EL2, and EL1!
rustyy has quit [Ping timeout: 260 seconds]
[itchyjunk] has joined #osdev
CutieMelo has quit [Ping timeout: 268 seconds]
CutieMelo has joined #osdev
kof123 has quit [Ping timeout: 252 seconds]
kof123 has joined #osdev
Left_Turn has joined #osdev
xvmt has quit [Remote host closed the connection]
xvmt has joined #osdev
Gurkenglas has joined #osdev
<pitust> clever: what about LK at EL0 :^)
gdd has quit [Ping timeout: 276 seconds]
Arsen has quit [Ping timeout: 264 seconds]
Arsen has joined #osdev
gdd has joined #osdev
<clever> pitust: the threading system isnt really designed for that
<clever> and irq handlers
<pitust> just do IRQs in userspace :^)
navi has joined #osdev
rustyy has joined #osdev
navi has quit [Ping timeout: 276 seconds]
navi has joined #osdev
zetef has joined #osdev
zetef has quit [Remote host closed the connection]
Turn_Left has joined #osdev
Left_Turn has quit [Ping timeout: 260 seconds]
divine has quit [Ping timeout: 268 seconds]
divine has joined #osdev
m3a has quit [Ping timeout: 264 seconds]
edr has joined #osdev
Left_Turn has joined #osdev
vdamewood has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Turn_Left has quit [Ping timeout: 272 seconds]
Gurkenglas has quit [Ping timeout: 250 seconds]
Nixkernal has joined #osdev
heat_ has joined #osdev
<heat_> you could run lkuser at EL0
Gurkenglas has joined #osdev
Left_Turn has quit [Ping timeout: 255 seconds]
kristinam has quit [Quit: leaving]
kristinam has joined #osdev
Left_Turn has joined #osdev
sbalmos has quit [Quit: WeeChat 4.2.1]
zetef has joined #osdev
Gurkenglas has quit [Ping timeout: 250 seconds]
Gurkenglas has joined #osdev
sbalmos has joined #osdev
goliath has quit [Quit: SIGSEGV]
zetef has quit [Remote host closed the connection]
mavhq has quit [Ping timeout: 268 seconds]
goliath has joined #osdev
Gurkenglas has quit [Quit: Client closed]
pounce has quit [Remote host closed the connection]
pounce has joined #osdev
Matt|home has joined #osdev
Nixkernal has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
stolen has joined #osdev
xenos1984 has quit [Ping timeout: 276 seconds]
xenos1984 has joined #osdev
pounce has quit [Remote host closed the connection]
pounce has joined #osdev
goliath has quit [Quit: SIGSEGV]
CutieMelo has quit [Read error: Connection reset by peer]
cow321 has quit [Remote host closed the connection]
CutieMelo has joined #osdev
dude12312414 has joined #osdev
xenos1984 has quit [Ping timeout: 264 seconds]
cow321 has joined #osdev
netbsduser` has joined #osdev
xenos1984 has joined #osdev
<zid> Good news, my rice came out perfect
<zid> The trick is to fall asleep and let it stay on warm in the rice cooker for a few hours apparently
<acidx> yeah, that steams the rice
sortie has quit [Ping timeout: 240 seconds]
[itchyjunk] has quit [Remote host closed the connection]
<zid> It had steamed after the first 20 minutes I am sure, but for some reason 4 hours was even better
<zid> it also somehow didn't go super dry, it's a mystery
neo|desktop is now known as Neo
sortie has joined #osdev
goliath has joined #osdev
rustyy has quit [Ping timeout: 276 seconds]
rustyy has joined #osdev
<geist> trusy (trust zone OS that is based on LK) runs apps at EL0
<geist> they basically added something akin to lkuser, but just has a completely different app model
zetef has joined #osdev
zetef has quit [Remote host closed the connection]
<heat_> littlekernal
<zid> Get you some of that trussy
<heat_> hahahahaha
<clever> geist: i was reading one of the pi5 interviews on the blog recently, and discovered that they are using pcie vendor specific messaging between the RP1 and 2712, for axi priority and panic stuff
<clever> so if there is important messages in the RP1's outgoing fifo, the pcie root controller can increase its own priority, and force things thru the 2712 axi
<heat_> ok, new project now that i'm free
<heat_> port drm to onyx
<zid> silverlight when
<zid> netflix 4k when
<heat_> not that drm
<heat_> the graphics drm
<zid> the other netflix dr
<zid> drm
<heat_> rendering
<zid> got to drm so you can drm
<zid> your netflix
<heat_> oh absolutely
<nortti> do you have mesa running already?
<heat_> no
<heat_> but first the kernel stuff, then mesa and its deps
<heat_> but really just a base kernel driver that drives display and i'm relatively happy
<heat_> i need to be able to pretend i'm linux enough for drm
<zid> does what I have count as drm heat
<heat_> guess what? i've been pretending i'm linux for 9 years
<zid> you do a syscall and it maps the entire framebuffer into your process.
<heat_> no, thats more fbdev-like
<zid> shit
<zid> what do I need to add
<heat_> fbdev is actually pretty simple to emulate, and xorg can run on top of it
<gorgonical> Sorry to inject another question into this conversation -- can I put the gcc ubsan stuff into the kernel?
<zid> yea
<gorgonical> There's an osdev wiki article that says I can but it makes the linker angry
<heat_> wdym ubsan stuff
<gorgonical> -fsanitize=undefined
<zid> it's a challenge
<heat_> you cannot use libubsan
<zid> you need to port some stuff
<zid> but you *can* do it
<zid> similar to like, writing your own libgcc
<heat_> no, you can't do it because it's probably not even mcmodel=kernel
<gorgonical> hmm
<zid> people have literally done it heat
<bslsk05> ​github.com: Onyx/kernel/kernel/ubsan.cpp at master · heatd/Onyx · GitHub
<zid> like heat
<nortti> heat quite famously does not use libubsan there
<zid> right but you can make gcc generate the instrumentation for a kernel
<zid> then you write a little libgcc type impl. to make it actually do the thing
<gorgonical> I don't understand then, is heat using fsanitize or not?
<heat_> gorgonical, btw that depends on basic integer types, printk, snprintf and some compiler macros
<heat_> yes
<gorgonical> I'm getting mixed signals
<heat_> your problem is that you're linking against the gcc libubsan
<heat_> which you *cannot* use
<heat_> all of the sanitizer options need to somehow link against a "runtime"
<gorgonical> Reasonable. ld says I'm not allowed to use -fsanitize without -shared. I'm guessing that's suggesting it wants to link against libubsan or whatever
<heat_> the toolchains provide such a runtime (libubsan, libasan, etc)
<heat_> ld says that?
<gorgonical> yes
<heat_> what options are you passing?
<zid> how can you tell what he's linking against heat
<heat_> you must pass -nostdlib
<gorgonical> Well just says "-f may not be used" but all I have changed is adding fsanitize=undefined and fsanitize=address
<heat_> do you have a log?
dude12312414 has quit [Quit: THE RAM IS TOO DAMN HIGH]
<zid> -static -ffreestanding -nostdlib -fsanitize=undefined does exactly what I'd expect
<zid> generates an .o with callouts to __ubsan
<zid> that I can then provide via ubsan.o at link time or whatever
<heat_> yeah i'm not aware of any ld behavior that rejects -fsanitize=undefined without -shared
<heat_> unless it depends on e.g -nostdlib or -ffreestanding not being passed
<gorgonical> oh so then it *will* actually link but then break at runtime?
<gorgonical> that's what you expect without porting?
<heat_> it will not link
<zid> i expect it to not link cus I don't have libubsan.so
<zid> or whatever
<zid> for boros-gcc
<gorgonical> Okay
<heat_> 1) you probably can't link your kernel against libubsan.so
<heat_> 2) i forgot what i was going to say
<heat_> (can't = the linker will not do it)
<gorgonical> Well whatever the linker problem with this specific command, it's irrelevant if I can't use the ubsan/asan stuff without porting it
<heat_> I LINKED YOU MY IMPLEMENTATION
<heat_> DID YOU CLICK IT
<gorgonical> Yes yes I mean it's an orthogonal problem
<zid> gorgonical
<gorgonical> Of course I am going to use your code. Thank you for providing it
<zid> do you get .o files
<zid> with __ubsan references
<heat_> you can't use the asan/ubsan without porting a runtime or writing your own
<heat_> i wrote my own
<gorgonical> zid: yes
<nikolar> heat_ you're really writing a shitty linux
<zid> then you're d one
<gorgonical> I can get the linker to be angry about undef references
<zid> link in some __ubsan code you wrote/stole
<zid> perfect, you're done
<zid> That's literally the goal
<zid> Now you need to implement those functions, see heat's code for an example
<zid> treat it like.. ncurses or something, idk
<heat_> you could try and rip my asan from kernel/mm/asan but ASAN is by-nature a lot more intertwined with the actual kernel to be easily used "as a module"
<gorgonical> Yeah I'll have to take a look at this. I have an intermittent memory corruption bug that's driving me nuts
<gorgonical> It's either subtle or being dragged in from some other code because I've done some binary style searching to eliminate code paths, looked at those paths for any allocs, array accesses, etc. and I don't find anything. So I'm hoping to use some analysis/sanitizers and catch something I missed
<zid> qemu-valgrind would be funny
<zid> fuck knows how you'd interfaceit
<nikolar> Lol
<zid> niko how goes the honzuki
<nikolar> Slowly
<nikolar> Might actually speed up now that the exam season is done lol
<zid> woo
<nikolar> Lol
<heat_> nikolar, yes i really am
<heat_> gorgonical, if you want to implement your own ASAN, i can help
<heat_> but it takes time
<nikolar> How goes the drm (the good one)
<heat_> atm it goes nowhere because i just got home and started thinking about it
<heat_> and now we're talking about sanitizers
<nikolar> Well I might actually have some time to work on my fs now so that should be fun
gbowne1 has joined #osdev
[itchyjunk] has joined #osdev
<zid> gog: https://cdn.discordapp.com/attachments/1118192192440250368/1205605455573946449/image.png Just need prod modules now and I have 10 science per day!
<zid> wtf discord
<zid> I *have* to include the shitty tracking now?
<zid> Fuck you discord.
stolen has quit [Quit: Connection closed for inactivity]
<nikolar> Indeed
<puck> zid: it's an expiry time, and a hmac
<zid> indeed it is
<nikolar> Ie tracking
<puck> technically? yes. practically? they probably have too many requests to care
<puck> (ex is expiry, is is issued time, hm is an hmac)
<heat_> THE DICORDS ARE TRACKING US
<heat_> OH NO
<zid> it's literally tracking, puck
<zid> we don't mean like
<zid> cloak and dagger
<heat_> lets move to GNU social
<zid> we mean "info to help you find a thing"
<zid> or look after a thing, etc
<nikolar> heat_: we're already on irc
<heat_> you can't upload anything to irc
<heat_> we need GNU social for that
<puck> not with that additude
<puck> attitude*
<zid> This is khaled mardam-bey social, nikolar
<heat_> and then GNU radio
<nikolar> I think I missed a few messages there lol
<heat_> what's your GNU name?
<zid> gnu/zid
<heat_> i'll look you up on the GNU name system
* Ermine looks at discord api
<heat_> REST is shit
<heat_> where's sun rpc
<nikolar> S U N
<Ermine> I've read some write-ups, but I didn't get the point of REST and how it differs from json-rpc or xml-rpc
<Ermine> In all three cases, you basically send shit over http
<nikolar> Some crap about crud and representing server objects
<nikolar> But yeah, in practice it's just json rpc with extra steps
<zid> depends if you mean REST or REST
<zid> aka, what the guy who designed rest says it is, or the literal opposite thing, that people actually do
<nikolar> Probably the second one
<zid> yea
<zid> The guy who designed REST was like "URLs should point to urls that tell you what they're for"
<nikolar> The first one is kind of cool actually
<Ermine> first == crud?
<zid> no, people just ignroed him
<zid> and stole his term
<nikolar> Yeah I have no idea why though
<nortti> the term originates from a paper describing how the web (as in, html, http, hypertext) works
<zid> Basically, "Get thing, thing contains sub-links for performing operation on thing"
<zid> so you GET admin.php, and it contains POST admin.php?newpassword=bob
<nikolar> The original rest was about http being the state of the websites
<zid> so that you can you know, navigate the web
<nikolar> No json in sight
<zid> and update things
<zid> Literally the opposite of what people do
<nikolar> Lol exac
<Ermine> Sometimes I have a feeling that almost every web app is about crud, and 99% of everything could be based on laravel
<zid> which is hidden endpoints on unknown paths, taking bizzare json blobs nobody can parse
<nikolar> zid i kind of hate that I know exactly what the second rest is
<nikolar> But I worked as a webdev :(
<zid> nikolapdp: some web dev people on a discord I am on say some really fucked up stuff
<zid> like how their code doesn't work because they accessed some 'api' and got an xml in a json in an xml in a json
<zid> that's been quadruple escaped the wrong way
<nikolar> Oh that's cursed
<zid> that's WEBSCALE
<nikolar> I had to work with an 'api' which had both XML and json endpoints
<nikolar> Json was just a cursed translation of the original xml
<nikolar> Luckily that subproject at the $job went nowhere loll
<zid> found it
<zid> Having gotten hold of actual data from it (rather than test data from the documentation) I can reveal that at the heart of the response is a SOAP response encoded as a value in an XML document which is encoded as a value in an XML document which is encoded as a value in a SOAP document.
<zid> The innermost SOAP response....is a perfectly sane SOAP response from a completely different third party that we already use elsewhere in our system.
<nikolar> Ok I want to know what kind of cursed code lead to that
<zid> web developers
<zid> That's all you need to know
<nikolar> Yeah trueb
<nikolar> Luckily I am on the infrastructure side now so I don't have to touch anyone's dirty code lol
<zid> 1. SOAP envelope
<zid> 4. One of which, in the API's response, is a copy of the original request's <fields> structure.
<zid> 2. Containing a CDATA escaped XML doc.
<zid> Can you say <![CDATA[...&amp;amp;amp;...]]>?
<zid> 3. Containing a <fields> <field>...</field> ... </fields> structure where each <field> value is itself an XML fragment
<nikolar> Gross
SunClonus has joined #osdev
<puck> hmm. could be worse. SOAP response inside a password-protected ZIP file, hex-encoded into another soap response
<nikolar> Kek actually downloaded a zipped tarball yesterday from GitHub
SunClonus has quit [Quit: Leaving]
<clever> puck: ive seen a SOAP based server, where the http body was encrypted, and the hmac's are in the http headers
<clever> but all of the headers are in plaintext
<clever> ever heard of https? lol
<puck> hey at least that's sensible enough
<puck> this was pre-https
<puck> or well, was over https, but existed pre-https
<clever> this was a cable box, for fiber tv
<clever> it wasnt pre-https, lol
<puck> this was a school grade/calendar system
<puck> written in silverlight :)
<clever> ah
<zid> silverlight woo
GeDaMo has quit [Quit: That's it, you people have stood in my way long enough! I'm going to clown college!]
eck has quit [Quit: PIRCH98:WIN 95/98/WIN NT:1.0 (build 1.0.1.1190)]
eck has joined #osdev
mantahydra1 has left #osdev [To be back, eventually]
<heat_> SOAP
<heat_> i mean LINUX
<zid> LAMP
<zid> was my favourite
<zid> sadly it attracts MOTH so you're not allowed to mention it anymore
gildasio has joined #osdev
[_] has joined #osdev
[itchyjunk] has quit [Ping timeout: 272 seconds]
<nikolar> zid you just did
<bslsk05> ​learnbchs.org: BCHS: BSD, C, httpd, SQLite
<heat_> BCHS
<heat_> BCHS
<heat_> BCHS
<heat_> BCHS
<heat_> BCHS
<heat_> BCHS
<Ermine> wuut
<zid> nikolar: I'm prepared.
<zid> Can I do LCHS
<nikolar> Yes
<nikolar> I'll join you
<zid> good, cus I already do that
<nikolar> Lol what for
<zid> my webserver isn't set up atm cus it's on a vmware disk image I can't extract
<Mondenkind> BB
<zid> cus w10 is shit and can't do nested virt on amd
<Mondenkind> S
<Mondenkind> D
<Mondenkind> C
<Mondenkind> httpd
<Mondenkind> S
<Mondenkind> Q
<zid> Mondenkind shut up
<Mondenkind> L
<Mondenkind> ite
<Mondenkind> zid: B
<Mondenkind> zid: S
<zid> but I wrote a thing to let you upload save games for TGM3 and it'd decrypt and dump them, and spit out pretty statistics
<Mondenkind> zid: D
<zid> Mondenkind: Ask heat next month if you want to be unignored
<zid> maybe I have a picture
<nikolar> zid I have to figure out what to write for LCHS
<nikolar> I might just spin up a bsd VM and do a proper bchs
<nikolar> Lol
netbsduser` has quit [Ping timeout: 252 seconds]
<zid> eww a bsd
<nikolar> Got to commit right
<mjg> assholes making fun of bsd
<zid> found it!
<nikolar> Sick
<zid> lemme look up how to open vmware vmdk
<heat_> mjg, your freebsd hobby os
<heat_> is it good yet?
<mjg> idk beats onyx
<mjg> so you tell me
<heat_> WHAT
<heat_> no way
<nikolar> Kek
<gog> hi
<mjg> ask gog
<heat_> how could onyx amass twice the number of freebsd users without being better?
<mjg> ask Bill Gates
<heat_> onyx users: me and ermine
<nikolar> Hello gog
<heat_> freebsd users: richard stallman's evil twin
<gog> gnu/konyx
<mjg> gnu/kurwa
<gog> KURWA
<mjg> now i have to write a kernel named urwa
<mjg> :X
<nikolar> Do it
<heat_> gog that's all fun and games until i finally finish up my glibc port
<mjg> wut
<heat_> i have a local glibc port
<heat_> for onyx
<heat_> turns out glibc is nicely structured and portable
<nikolar> No way
<mjg> noice
<mjg> nthen you will officialy just be worse linux
<heat_> i mean i'm writing an OS for 9 years
<mjg> lmao
<heat_> but i guess the glibc port is the surprising part
<mjg> do you have binary compat with templeos yet
<nikolar> You're 21 and you've been writing an os for 9 year
<heat_> yeah yeah kernel whatever no one cares about your shit linu-WHAT YOU HAVE A GLIBC PORT
<zid> I can map virtual drive if vmware is installed
<Ermine> glibc was designed to run on different OSen, wasn't it?
<zid> but it's ext4
<zid> so windows doesn't know what the fuck
<heat_> Ermine, yesen
<zid> how the fuck I do this
<nikolar> Can't you mount it in wsl or something
<zid> how
<heat_> glibc has supported hurd, linux, sunos (IIRC), freebsd
<heat_> and maybe more
<zid> I think maybe virtualbox understands vmdk actually?
<heat_> also haiku downstream
<zid> but does virtualbox n eed kvm?
<nikolar> Yes it does
<Ermine> sysv and sco probably
<heat_> i don't remember
\Test_User has quit [Quit: \Test_User]
<nikolar> zid no but it requires its own kernel modules
<nikolar> And it does understand vmdk
<Ermine> if it was started before linux became a thing
<heat_> here's a secret: most of these UNIXes are relatively similar
<zid> building virtualbox, let's see why this doesn't work
<heat_> in a weekend i could probably port musl to freebsd
<zid> *wait*
<zid> 7-zip!?
<nikolar> What about it
<zid> apparently it can understand vmdk
<bslsk05> ​elixir.bootlin.com: README - Glibc source code (glibc-1.09) - Bootlin
<Ermine> Ultra Fast Crypt
<nikolar> zid how does that work, does it just give you a drive image or something
<zid> no idea, let's find out
<heat_> i'm michael glad it runs ultra fast crypt
\Test_User has joined #osdev
<zid> erm, even better?
<nikolar> Sick
<nikolar> Didn't know that
<heat_> wait it can read ext4?
<nortti> < zid> apparently it can understand vmdk ← honestly after reading https://fasterthanli.me/articles/cracking-electron-apps-open I've started trying 7-zip by default for any "I have data in there and I want to get at it, but it's not tar or zip" situations
<bslsk05> ​fasterthanli.me: Cracking Electron apps open
<heat_> that's nuts
<nikolar> Even windows can't do that lol
<nikolar> But seriously, how has no one written a ext4
<heat_> there are ext4 drivers for windows out there
<nikolar> Driver for windows but btrfs for windows exists
<zid> nikolapdp: https://gist.github.com/zid/2d1d5628c321379b0d0487ced1e0780d Okay so here's the source to one of the tgm3 tools I made, keeps track of your games so you know when a special game is going to happen
<bslsk05> ​gist.github.com: ti_history.c · GitHub
<bslsk05> ​bobranten/Ext4Fsd - Ext4 file system driver for Windows (42 forks/446 stargazers)
<zid> sqlite3 + C + httpd
<Ermine> windows on btrfs works through efi i guess
<nikolar> To be fair it's been a while since I looked into windows drivers of any kind
<nikolar> zid: sick
<nikolar> Not even that long
<zid> The highscore one is significantly longer
<bslsk05> ​gist.github.com: dump.c · GitHub
<zid> I had to reverse engineer the decryption and file format for thislol
<nikolar> Heh nice
<nikolar> Doesn't look too bad
<zid> I got my .htaccess back, which is nice
<zid> RewriteRule "^history/(.*)$" "bin/history.cgi?$1" [E=NOHAX]
<zid> then in bin/
<zid> Options -indexes +ExecCGI
<zid> Require env REDIRECT_NOHAX
<zid> saves me having to look it up every time
<zid> It rewrites the request to have an environment variable set, then passes it along to bin/.htaccess which checks that the env var is indeed set, without it it won't serve files
<zid> so you can completely hide an entire dir
<nikolar> Nice
<nikolar> Who needs unveil right
<heat_> bchs
<nikolar> bchs
<Ermine> Weren't here a guy with this nickname?
<heat_> that would be bnchs
<heat_> not bchs
<nikolar> What would the n stand for
<Ermine> net
<Ermine> so it's bsd net = netbsd
<nikolar> Lol
<mjg> cykabsd
<heat_> the world needs more mediocre bsd forks
<nortti> mjg: is that gonna use the urwa kernel?
<heat_> the world does not need more mediocre linuxes, we already have onyx and freebsd
<mjg> nortti: no it's onyx + bsd userland
<heat_> you know
<heat_> i don't understand why they named it GNU/kFreeBSD and not GNU/FreeBSD
<mjg> cause GNU/FreeBSD is the original
<heat_> just like GNU/Linux and not GNU/kLinux
<mjg> LoL
<heat_> what original
<heat_> was there a glibc freebsd i missed
<Ermine> Linuks*
<mjg> there was a bunch of gnu in freebsd
<heat_> enhanced by the GNU coreutils
<mjg> liek grep
<Ermine> Linukx
<Ermine> and gnu corelibs
<mjg> linuKKKz is the racist fork
<mjg> literally fails to boot on black laptops
[_] has quit [Remote host closed the connection]
<heat_> oh, is that what linux youtubers use?
<heat_> *cuts to bryan lunduke*
[itchyjunk] has joined #osdev
<heat_> https://i.imgur.com/ptqaLz4.png future tip, do not visit bryan lunduke's channel
<bslsk05> ​i.imgur.com <no title>
<heat_> even in a "what is that crackhead doing at this moment in time"
[itchyjunk] has quit [Remote host closed the connection]
[itchyjunk] has joined #osdev
pitust has quit [Ping timeout: 256 seconds]
staceee has quit [Ping timeout: 256 seconds]
tommybomb has quit [Ping timeout: 256 seconds]
xtex has quit [Ping timeout: 264 seconds]
alethkit has quit [Ping timeout: 256 seconds]
whereiseveryone has quit [Ping timeout: 256 seconds]
exec64 has quit [Ping timeout: 256 seconds]
patwid has quit [Ping timeout: 256 seconds]
rselim has quit [Ping timeout: 264 seconds]
asymptotically has quit [Ping timeout: 264 seconds]
staceee has joined #osdev
pitust has joined #osdev
tommybomb has joined #osdev
xtex has joined #osdev
patwid has joined #osdev
exec64 has joined #osdev
whereiseveryone has joined #osdev
alethkit has joined #osdev
rselim has joined #osdev
asymptotically has joined #osdev
rselim has quit [Ping timeout: 255 seconds]
exec64 has quit [Ping timeout: 255 seconds]
asymptotically has quit [Ping timeout: 255 seconds]
alethkit has quit [Ping timeout: 255 seconds]
whereiseveryone has quit [Ping timeout: 255 seconds]
SunClonus has joined #osdev
<zid> whjat's unveil
<heat_> cant believe im linking an openbsd manpage
<zid> that.. won't help at all?
<zid> I'm trying to hide it from the *web*, not from *apache*
<zid> hiding it from apache would defeat the entire point
Left_Turn has quit [Read error: Connection reset by peer]
goliath has quit [Quit: SIGSEGV]
<Ermine> heat_: how tf did you find this youtuber
<Ermine> And how tf they are actually youtubers if youtube is BAD and GOOGLE and PROPRIETARY
<heat_> he used to do these yearly "linux sucks" presentations (+vid) that i found interesting and insightful and funny