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
zxrom has quit [Quit: Leaving]
Matt|home has quit [Quit: Leaving]
raykv423 has joined #osdev
<geist> having fun refactoring FDT parsing at boot
<geist> (not really)
<geist> but as a side note https://devicetree-specification.readthedocs.io/en/stable/devicetree-basics.html is a kinda nice little primer
<bslsk05> ​devicetree-specification.readthedocs.io: 2. The Devicetree — Devicetree Specification v0.3-dirty documentation
<geist> actually used it to grok the interrupt-map nodes you see sometimes
<mjg> :_
netbsduser has quit [Ping timeout: 252 seconds]
<mjg> i'm updating to ubuntu 24
<mjg> still in progress
<mjg> so far it killed off my firefox and it can't be started due to some funky error about cgroups
<mjg> hopefully it will clear itself after a reboot
<mjg> now i also lost sound
<gog> never upgrade
<mjg> i wish i knew
<mjg> i gotta say tho this update is making me a little uneasy
<Mondenkind> i use arch and never upgrade. somehow this seems like the worst of both worlds
<Mondenkind> .oO( what if. stuff worked? )
<mjg> with the antiquated freebsd+zfs combo i could take a snapshot and revert to it if shit went haywire with 0 difficulty
<mjg> on linux+ext4 one has to resort to backup
<Mondenkind> no zfsonlinux?
<kof673> > what if. stuff worked? " gold is for heroes" https://www.grimmstories.com/en/grimm_fairy-tales/the_gallant_tailor > The unicorn ran with all his might against the tree and stuck his horn so deep into the trunk that he could not get it out again, and so was taken. "Now I have you," said the tailor, coming out from behind the tree, and, putting the rope round the unicorn's neck, he took the axe, set free the horn
<mjg> Mondenkind: not on my laptop
<mjg> i'm rolling with the supposedly supported install
<Mondenkind> wasn't ubuntu shipping/supporting zol at one point?
<Mondenkind> like they had 'nonstandard' opinions on the licensing for some reason. forget
<mjg> i don't know
<mjg> i mean they did have a package and i dude use it for one disk few years back
<mjg> but there was some bullshit for installing the system on it
<mjg> Setting up python3 (3.12.2-0ubuntu2) ...
<mjg> running python rtupdate hooks for python3.12...
<mjg> /usr/lib/x86_64-linux-gnu/gedit/plugins/externaltools/library.py:212: SyntaxWarning: invalid escape sequence
<mjg> lol
<mjg> python is a rarely installed package so i see how this would slipped past testing
<mjg> (to be fair the new ubuntu is still in beta)
gog has quit [Quit: byee]
netbsduser has joined #osdev
gbowne1 has quit [Remote host closed the connection]
gbowne1 has joined #osdev
<mjg> i rebooted, things work fine
<mjg> login screen claims ubuntu 23.10 on the wallpaper
<mjg> but /etc/issue confirms 24.04
<mjg> mouse pointer got noticeably bigger
<mjg> it is a little distracting
netbsduser has quit [Ping timeout: 256 seconds]
<geist> ah interesting, well, be proud and beta for us!
gbowne1 has quit [Remote host closed the connection]
<mjg> geist: OH! i'm not a beta
<mjg> :X
<geist> looks like 24.04 isn't released yet thoguh
gbowne1 has joined #osdev
<mjg> 10 days
<mjg> i went for it because of some screen flicker issues on the previous release
gbowne1 has quit [Remote host closed the connection]
<mjg> time to sleep tho
<geist> nite nite!
<Mondenkind> <mjg> ... i'm ... a beta
<Mondenkind> i have the quote!
terrorjack has quit [Quit: The Lounge - https://thelounge.chat]
terrorjack has joined #osdev
gorgonical has quit [Ping timeout: 256 seconds]
netbsduser has joined #osdev
vdamewood has joined #osdev
carbonfiber has quit [Quit: Connection closed for inactivity]
Arthuria has joined #osdev
netbsduser has quit [Ping timeout: 255 seconds]
dude12312414 has joined #osdev
dude12312414 has quit [Client Quit]
Matt|home has joined #osdev
exit70 has quit [Read error: Connection reset by peer]
exit70 has joined #osdev
xal has quit []
xal has joined #osdev
Arthuria has quit [Ping timeout: 260 seconds]
vdamewood has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
netbsduser has joined #osdev
netbsduser has quit [Ping timeout: 268 seconds]
vai has joined #osdev
netbsduser has joined #osdev
zetef has joined #osdev
m3a has quit [Quit: leaving]
m3a has joined #osdev
masoudd has quit [Ping timeout: 272 seconds]
seasharp has joined #osdev
goliath has joined #osdev
netbsduser has quit [Ping timeout: 252 seconds]
netbsduser has joined #osdev
Gooberpatrol66 has quit [Remote host closed the connection]
zetef has quit [Ping timeout: 260 seconds]
netbsduser has quit [Ping timeout: 260 seconds]
bitoff__ has joined #osdev
bitoff_ has quit [Ping timeout: 255 seconds]
Gooberpatrol66 has joined #osdev
zxrom has joined #osdev
zetef has joined #osdev
bitoff_ has joined #osdev
bitoff__ has quit [Ping timeout: 256 seconds]
netbsduser has joined #osdev
leg7 has joined #osdev
craigo has quit [Quit: Leaving]
<zid> interesting, it decided to hail for 5 minutes
<zid> Left as suddenly as it started
bitoff__ has joined #osdev
bitoff_ has quit [Read error: Connection reset by peer]
spareproject has joined #osdev
<nikolapdp> zid no glowing orb in the sky at least
<kof673> :/ its on the sky of the other hemisphere
netbsduser has quit [Ping timeout: 260 seconds]
<kof673> or tunneling through the double earth with the 7 dwarves/etc. depending on how they represented this. or a vulture carries it around, or a crocodile swims around to the other side
<kof673> or a giant golden frog ;D
<kof673> quote: > Lets not forget Frog Flare is the ONLY attack in the game capable of breaking the 9999 damage limit
<zid> there is that
spareproject has quit [Remote host closed the connection]
bitoff_ has joined #osdev
netbsduser has joined #osdev
bitoff__ has quit [Ping timeout: 260 seconds]
op has joined #osdev
jjuran has quit [Ping timeout: 268 seconds]
jjuran has joined #osdev
bitoff_ has quit [Ping timeout: 268 seconds]
navi has joined #osdev
xenos1984 has quit [Read error: Connection reset by peer]
netbsduser has quit [Ping timeout: 272 seconds]
zxrom has quit [Quit: Leaving]
xenos1984 has joined #osdev
<kof673> it was basically like pac-man...goes off-screen then reappears on the other side
bauen1 has quit [Ping timeout: 260 seconds]
zetef has quit [Ping timeout: 272 seconds]
divine has quit [Ping timeout: 268 seconds]
gog has joined #osdev
jjuran has quit [Quit: Killing Colloquy first, before it kills me…]
zetef has joined #osdev
jjuran has joined #osdev
Left_Turn has joined #osdev
GeDaMo has joined #osdev
zxrom has joined #osdev
bauen1 has joined #osdev
bauen1 has quit [Ping timeout: 255 seconds]
bauen1 has joined #osdev
bauen1 has quit [Ping timeout: 256 seconds]
zetef has quit [Ping timeout: 268 seconds]
netbsduser has joined #osdev
bauen1 has joined #osdev
edr has joined #osdev
bauen1 has quit [Ping timeout: 256 seconds]
bauen1 has joined #osdev
Nixkernal has quit [Ping timeout: 252 seconds]
Nixkernal has joined #osdev
<mjg> thus i ask chatgpt: write a rust program which computes md5 sums of files in a directory tree in parallel
<mjg> the result is a program which spawns a thread for each file(!)
<mjg> and per the chatgpt/rust classic reads the entire content upfront
<mjg> lol
<gog> i did this like 10 years ago with a threadpool of ncpus
<gog> it's not that much faster
<gog> or i did it wrong idk
<gog> i'm a shit programmer
<mjg> aand it does not build
<mjg> lol
<gog> thankfully chatgpt is still a worse programmer than i am for now
<mjg> 53 | let results: io::Result<Vec<(String, String)>> = handles.into_iter().map(|h| h.join().unwrap()).collect(); | ^^^^ method not found in `()`
CryptoDavid has joined #osdev
nanobot567 has joined #osdev
<mcrod> hi losers
<mjg> heat is not here yert
netbsduser has quit [Ping timeout: 246 seconds]
Arthuria has joined #osdev
<mcrod> ok
<mcrod> hi lose*r*
<mjg> i got it to compile, then i noticed another rust classic: bad error handling
<mjg> namely a WalkDir loops which bails at first error
<mcrod> gnome is funny
<mjg> instead of reporting it and going forward
<mcrod> I have no idea what happened between whatever version is on ubuntu LTS 22.04 and whatever the latest one is
<mcrod> but I can't resize some windows via corners anymore
<mcrod> and if you double click in certain apps, they vanish
<mcrod> i complain a lot, but that's because i don't understand how anyone actually gets anything done without functionality that has been solved 30 years ago breaks regularly by some of the allegedly really good developers in the world.
<mcrod> it *simply* escapes me
<mcrod> this is why you can't do rolling release on a community driven project
<mcrod> and because I'm on an evil company NVIDIA card
<mcrod> everything blows for the sole reason of everyone wanting wayland
<mcrod> who the fuck wakes up in the morning and decides "i'm going to enforce something that doesn't work for the majority of people"
netbsduser has joined #osdev
<leg7> if I want to write my ISRs in C directly and I use the gcc "interrupt" attribute like this
<leg7> struct interrupt_frame;__attribute__ ((interrupt))voidf (struct interrupt_frame *frame){}
<leg7> what are the names of the members of `interrupt_frame`?
<leg7> It says it depends on your cpu so I assume should be what your cpu pushes
<leg7> But if there's a privilege change the handler stack will be different so how would it even work?
nanobot567 has quit [Remote host closed the connection]
<zid> you'd need to check the compiler docs
<zid> but it appears to be pretty easy to replicate without having to dive into compiler source though
op has quit [Remote host closed the connection]
<bslsk05> ​godbolt.org: Compiler Explorer
<zid> shouldn't be hard to figure out what's at rsp+88 given the manual
<leg7> I think I'll just write it all in assembly
<leg7> tbh
<zid> good
<Ermine> heat where
<zid> ded
<nikolapdp> heat is ded
<nikolapdp> no
Arthuria has quit [Ping timeout: 268 seconds]
Turn_Left has joined #osdev
qookie has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
Arsen has quit [Quit: Quit.]
Left_Turn has quit [Ping timeout: 255 seconds]
<GeDaMo> "That is not dead which can eternal lie, And with strange aeons even death may die."
<Ermine> noooooooo
<zid> Universe death of the heat
<zid> That's sadly what we ended up with, I think santa got confused
leg7 has quit [Ping timeout: 268 seconds]
sbalmos has quit [Quit: WeeChat 4.2.1]
heat has joined #osdev
<heat> reports of my death were greatly exaggerated
Left_Turn has joined #osdev
Turn_Left has quit [Ping timeout: 240 seconds]
npc has joined #osdev
sbalmos has joined #osdev
npc has quit [Remote host closed the connection]
qookie has joined #osdev
Arsen has joined #osdev
goliath has quit [Quit: SIGSEGV]
zetef has joined #osdev
qookie has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
Arsen has quit [Quit: Quit.]
qookie has joined #osdev
Arsen has joined #osdev
Fingel has joined #osdev
Fingel has quit [Client Quit]
Fingel has joined #osdev
bauen1 has quit [Ping timeout: 272 seconds]
k0valski18891621 has quit [Quit: Peace out !]
leg7 has joined #osdev
bauen1 has joined #osdev
xenos1984 has quit [Ping timeout: 268 seconds]
xenos1984 has joined #osdev
bauen1 has quit [Ping timeout: 240 seconds]
bauen1 has joined #osdev
bauen1 has quit [Ping timeout: 268 seconds]
bauen1 has joined #osdev
Left_Turn has quit [Remote host closed the connection]
Left_Turn has joined #osdev
gog has quit [Quit: Konversation terminated!]
Left_Turn has quit [Max SendQ exceeded]
Left_Turn has joined #osdev
zetef has quit [Ping timeout: 268 seconds]
bitoff has joined #osdev
gog has joined #osdev
xenos1984 has quit [Ping timeout: 256 seconds]
zetef has joined #osdev
xenos1984 has joined #osdev
<Ermine> oh, heat is warm, yay!
<heat> hi
<heat> did you need anything from me
<Ermine> I did need, but I forgor what
<heat> 💀
<bslsk05> ​github.com: setuptools/setuptools/_distutils/zosccompiler.py at main · pypa/setuptools · GitHub
<Mondenkind> personally i think heat is pretty cool actually😎
heat has quit [Read error: Connection reset by peer]
heat has joined #osdev
masoudd has joined #osdev
SGautam has joined #osdev
<Ermine> At this point setuptools could just embed meson
<leg7> is gnu assembler more powerful than nasm?
<heat> yes
<heat> id say that just because of the C preprocessor
<heat> but nasm people will stan nasm
<heat> i stan gas
<Ermine> nasm has its own macro stuff
<Ermine> But gas having c preprocessor makes it easier to integrate with c or c++ codebase
<gog> gas gas gas gas
<gog> clang
<Ermine> So everyone uses gas
<gog> clang gas driver
<gog> you can share constants with the other headers, and clang even generates deps for make
<Ermine> also nasm is x86 and x64 only afaik
<gog> yes
<gog> if you need to do real mode code tho i'd say just use nasm
<Ermine> firefox uses yasm btw
<gog> yaaaaaaaaaaasm, queen
<zid> what's wrong with .aSm
<zid> use the C preprocessor with nasm
<gog> i suppose there's nothing stopping you from doing that
<zid> bonus points, .pasm
<zid> use PHP as your preprocessor
<Ermine> MASM MASM MASM
gbowne1 has joined #osdev
zetef has quit [Remote host closed the connection]
Gooberpatrol66 has quit [Remote host closed the connection]
Gooberpatrol66 has joined #osdev
divine has joined #osdev
GeDaMo has quit [Quit: That's it, you people have stood in my way long enough! I'm going to clown college!]
<sham1> YASM YASM YASM
<zid> yasm kinda pointless now that nasm has a maintainer again
<zid> and it's a decent one, one of the famous kernel guys, I forget who
<kof673> > Imake is used to generate Makefiles from a template, a set of cpp macro functions, and a per-directory input file called an Imakefile
gorgonical has joined #osdev
<gorgonical> I got a sunburn yesterday and now I feel bad today. They really take it out of you
<nikolar> The glowing orb in the sky
<gorgonical> What's the weather like in serbia right now
Arthuria has joined #osdev
<nikolar> Getting colder actually
<nikolar> Refreshing right now
<gorgonical> Bright sun at 25C right now
<nikolar> What do you mean
<gorgonical> It's really sunny and its 25C here
<gorgonical> ?
<nikolar> Oh sorry yeah
<nikolar> It's windy here, 23C
<geist-sdf> the daystar was out yesterday too
<geist-sdf> full of fire and death
<geist-sdf> but the clouds have made it go away today, blessed rain
<geist-sdf> as it should be
<nikolar> Lol
<nikolar> You're north us right?
<geist-sdf> pacific northwest, where the rain is our friend
<nikolar> Heh nice
<gorgonical> We had the first proper thunderstorm last night. A midnight beer to enjoy some wild lightning and thunder
<gorgonical> Strong enough to wake up my partner who was wearing earplugs,, lol
<geist> oh nice!
<kof673> http://www.levity.com/alchemy/lambtext.html it does fire and death but also "life" ... you are supposed to build up a resistant lamb first... > The Body has become white by the process, the Spirit red by our Art
<bslsk05> ​www.levity.com: Book of Lambspring
<geist> one thing we dont really get here is thunderstorms, but when they do occasionally happen a beer and listening to the thunder is in order
<kof673> > IN A VENOMOUS DRAGON THERE SHOULD BE THE GREAT MEDICINE
<gorgonical> It's really the only thing I miss about living in the south. The summer's there are filled with raging storms and it's very nice
<gorgonical> kof673: I wonder how you do this. No matter the topic you always have some relevant quote from obscure, esoteric text. It's incredible
xenos1984 has quit [Read error: Connection reset by peer]
<kof673> :/ i'm not trying to be annoying, but that was the "double word" lol
<kof673> death AND life. always double...
<gorgonical> I don't think it's annoying
<kof673> so there is "good sun" and "bad sun" lol
<gorgonical> I meant what I said, it's very impressive the apparent depth of knowledge
<kof673> nah, it is just "old"
<kof673> i think rpgs are more like that...all depends on the type of enemy, what element you should use etc. whether it absorbs it or not etc. it is just from playing too many video games as a child lol
<gorgonical> This is only tangentially related but I really hope baldur's gate 3 inspires some similar design. The future of rpgs would be very bright if we had more bg3 in it
<geist> word.
<gorgonical> I have been playing the hell out of it and I simply cannot get enough
<gog> bg3 is amazing
<gorgonical> I hear people moaning that replay is low becuase the main storyline is the same each time, but that's not the amazing part. That the game reacts to all sorts of subtle changes and decisions is really incredible and for me has made all the runs feel quite different
<kof673> it is meant more that picture writing still lives in certain sectors, fairy tails, etc.
<kof673> even when it is written out...might still be "picture writing" that is being described
<kof673> *tales
<kof673> or in computer land, you can write language x in the style/vein/substance of language y somewhat. whether that is a good idea is another story :)
<gorgonical> Why wouldn't writing C in the style of Haskell be a good idea?
<gorgonical> I have seen such attempts before though
<gorgonical> Don't do it
<nikolar> Lol where
<nikolar> I want to see that
<gorgonical> I'll look for it, but it was some time ago. Let me see
<kof673> a transpiler does so i guess, somehow they have to "bridge" ...but not sure you would want to do it by hand
xenos1984 has joined #osdev
<gorgonical> I can't find the exact one I remember, but there's a whole book called "Functional C" that tries to do it, but I've seen preprocessor lambda macros that use gcc nested functions, closures using apple extensions, etc
<gorgonical> Curried functions in C, too
<nikolar> Oh that sounds very cursed
<nikolar> Perfect
<gorgonical> This in fact may be the one I remember. It sparks vague recollection
<nikolar> Nice
<gorgonical> I mean I guess the only thing currying needs to do is allocate sort of like a stackframe that you can re-use, and hand you the pointer to that stackframe+function pointer
<gorgonical> Plus some liberal abuse of types probably with the help of the preprocessor
<nikolar> We do love cpp spaghetti
<gorgonical> This is sort of like "include <curry.h> and do NOT create objects called struct block" in the same vein as errno
<nikolar> Heh
<gorgonical> I actually have kind of intrigued myself here. Shit
<nikolar> Lol what do you mean
<gorgonical> After saying "don't do this" and digging up the resources I actually want to dabble in it and write some toy programs just to do it
<nikolar> Yeah
<gorgonical> I have a sick fascination with "augmenting" C to do be better or do things it shouldn't. One of my favorites is this CPP library from INRIA (I think) from I think the early 2000s that did all sorts of wild things
<nikolar> Lol i made a hackintosh just so I can say I did it while it's still possible so I get it
<nikolar> Cpp is pretty powerful in the right hands
<bslsk05> ​gustedt.gitlabpages.inria.fr: P99: Macro programming with P99
<nikolar> Huh very nice
<gorgonical> p99 has some fun features. invariant checking, unwinding, etc
<heat> kernel baby wooooooo
<Mondenkind> gorgonical: see also https://github.com/rofl0r/order-pp
<bslsk05> ​rofl0r/order-pp - order-pp preprocessor library (standalone part of chaos-pp) (13 forks/102 stargazers/BSL-1.0)
<nikolar> KERNAL
<gorgonical> multi-index iterators, caserange. It's sort of like backporting c++ metaprogramming to c
<gorgonical> Mondenkind: you know it's gonna be good when there are github access times "20 years ago"
<nikolar> Lol
<nikolar> Ie when the commits predate git
* gog orders pp
<gorgonical> this code is wild
<nikolar> What code are we talking about
<nikolar> P99?
<gorgonical> the chaos-pp/order-pp
<gorgonical> p99 is just heaps of preprocessor black magic stuff
<gorgonical> but this order-pp has a lambda system embedded into it that's basically just a primitive lisp by the looks of ip
frkazoid333 has quit [Ping timeout: 260 seconds]
SGautam has quit [Quit: Connection closed for inactivity]
* pounce disorders your pp
Left_Turn has quit [Read error: Connection reset by peer]
Left_Turn has joined #osdev
<gog> >:o
bauen1 has quit [Ping timeout: 268 seconds]
<heat> LPVOID *ppLigma;
<Mondenkind> but that's the worst kind of ligma!
<heat> ligmapp
Gooberpatrol66 has quit [Ping timeout: 256 seconds]
<gog> builder.Services.AddScoped<ILigmaService, ILigmaBackend>();
<gog> i meant LigmaBackend
<gog> because it's not interface
<gog> it's impl
<gog> ligma backend
Gooberpatrol66 has joined #osdev
<heat> template <typename Balls> class CLigma
Gooberpatrol66 has quit [Client Quit]
Gooberpatrol66 has joined #osdev
CryptoDavid has quit [Quit: Connection closed for inactivity]
craigo has joined #osdev
Left_Turn has quit [Read error: Connection reset by peer]
linear_cannon has quit [Remote host closed the connection]
leg7 has quit [Ping timeout: 256 seconds]
navi has quit [Quit: WeeChat 4.2.1]
<Ermine> bofa