Search logs:

channel logs for 2004 - 2010 are archived at http://tunes.org/~nef/logs/old/ ·· can't be searched

#osdev2 = #osdev @ Libera from 23may2021 to present

#osdev @ OPN/FreeNode from 3apr2001 to 23may2021

all other channels are on OPN/FreeNode from 2004 to present


http://bespin.org/~qz/search/?view=1&c=osdev2&y=24&m=4&d=15

Monday, 15 April 2024

01:09:00 <geist> having fun refactoring FDT parsing at boot
01:09:00 <geist> (not really)
01:10:00 <geist> but as a side note https://devicetree-specification.readthedocs.io/en/stable/devicetree-basics.html is a kinda nice little primer
01:10:00 <bslsk05> ​devicetree-specification.readthedocs.io: 2. The Devicetree — Devicetree Specification v0.3-dirty documentation
01:10:00 <geist> actually used it to grok the interrupt-map nodes you see sometimes
01:12:00 <mjg> :_
01:26:00 <mjg> i'm updating to ubuntu 24
01:26:00 <mjg> still in progress
01:26:00 <mjg> so far it killed off my firefox and it can't be started due to some funky error about cgroups
01:26:00 <mjg> hopefully it will clear itself after a reboot
01:33:00 <mjg> now i also lost sound
01:34:00 <gog> never upgrade
01:37:00 <mjg> i wish i knew
01:37:00 <mjg> i gotta say tho this update is making me a little uneasy
01:37:00 <Mondenkind> i use arch and never upgrade. somehow this seems like the worst of both worlds
01:38:00 <Mondenkind> .oO( what if. stuff worked? )
01:38:00 <mjg> with the antiquated freebsd+zfs combo i could take a snapshot and revert to it if shit went haywire with 0 difficulty
01:38:00 <mjg> on linux+ext4 one has to resort to backup
01:38:00 <Mondenkind> no zfsonlinux?
01:39:00 <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
01:39:00 <mjg> Mondenkind: not on my laptop
01:39:00 <mjg> i'm rolling with the supposedly supported install
01:40:00 <Mondenkind> wasn't ubuntu shipping/supporting zol at one point?
01:40:00 <Mondenkind> like they had 'nonstandard' opinions on the licensing for some reason. forget
01:40:00 <mjg> i don't know
01:43:00 <mjg> i mean they did have a package and i dude use it for one disk few years back
01:43:00 <mjg> but there was some bullshit for installing the system on it
01:46:00 <mjg> Setting up python3 (3.12.2-0ubuntu2) ...
01:46:00 <mjg> running python rtupdate hooks for python3.12...
01:46:00 <mjg> /usr/lib/x86_64-linux-gnu/gedit/plugins/externaltools/library.py:212: SyntaxWarning: invalid escape sequence
01:46:00 <mjg> lol
01:47:00 <mjg> python is a rarely installed package so i see how this would slipped past testing
01:47:00 <mjg> (to be fair the new ubuntu is still in beta)
02:06:00 <mjg> i rebooted, things work fine
02:06:00 <mjg> login screen claims ubuntu 23.10 on the wallpaper
02:07:00 <mjg> but /etc/issue confirms 24.04
02:14:00 <mjg> mouse pointer got noticeably bigger
02:15:00 <mjg> it is a little distracting
02:30:00 <geist> ah interesting, well, be proud and beta for us!
02:32:00 <mjg> geist: OH! i'm not a beta
02:32:00 <mjg> :X
02:32:00 <geist> looks like 24.04 isn't released yet thoguh
02:32:00 <mjg> 10 days
02:32:00 <mjg> i went for it because of some screen flicker issues on the previous release
02:34:00 <mjg> time to sleep tho
02:35:00 <geist> nite nite!
02:36:00 <Mondenkind> <mjg> ... i'm ... a beta
02:37:00 <Mondenkind> i have the quote!
08:05:00 <zid> interesting, it decided to hail for 5 minutes
08:05:00 <zid> Left as suddenly as it started
08:17:00 <nikolapdp> zid no glowing orb in the sky at least
08:18:00 <kof673> :/ its on the sky of the other hemisphere
08:19:00 <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
08:19:00 <kof673> or a giant golden frog ;D
08:20:00 <kof673> quote: > Lets not forget Frog Flare is the ONLY attack in the game capable of breaking the 9999 damage limit
08:23:00 <zid> there is that
09:05:00 <kof673> it was basically like pac-man...goes off-screen then reappears on the other side
12:40:00 <mjg> thus i ask chatgpt: write a rust program which computes md5 sums of files in a directory tree in parallel
12:40:00 <mjg> the result is a program which spawns a thread for each file(!)
12:40:00 <mjg> and per the chatgpt/rust classic reads the entire content upfront
12:40:00 <mjg> lol
12:46:00 <gog> i did this like 10 years ago with a threadpool of ncpus
12:46:00 <gog> it's not that much faster
12:46:00 <gog> or i did it wrong idk
12:46:00 <gog> i'm a shit programmer
12:47:00 <mjg> aand it does not build
12:47:00 <mjg> lol
12:47:00 <gog> thankfully chatgpt is still a worse programmer than i am for now
12:48:00 <mjg> 53 | let results: io::Result<Vec<(String, String)>> = handles.into_iter().map(|h| h.join().unwrap()).collect(); | ^^^^ method not found in `()`
12:57:00 <mcrod> hi losers
12:58:00 <mjg> heat is not here yert
13:03:00 <mcrod> ok
13:03:00 <mcrod> hi lose*r*
13:04:00 <mjg> i got it to compile, then i noticed another rust classic: bad error handling
13:04:00 <mjg> namely a WalkDir loops which bails at first error
13:04:00 <mcrod> gnome is funny
13:04:00 <mjg> instead of reporting it and going forward
13:04:00 <mcrod> I have no idea what happened between whatever version is on ubuntu LTS 22.04 and whatever the latest one is
13:05:00 <mcrod> but I can't resize some windows via corners anymore
13:05:00 <mcrod> and if you double click in certain apps, they vanish
13:06:00 <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.
13:06:00 <mcrod> it *simply* escapes me
13:07:00 <mcrod> this is why you can't do rolling release on a community driven project
13:10:00 <mcrod> and because I'm on an evil company NVIDIA card
13:11:00 <mcrod> everything blows for the sole reason of everyone wanting wayland
13:13:00 <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"
13:17:00 <leg7> if I want to write my ISRs in C directly and I use the gcc "interrupt" attribute like this
13:17:00 <leg7> struct interrupt_frame;__attribute__ ((interrupt))voidf (struct interrupt_frame *frame){}
13:17:00 <leg7> what are the names of the members of `interrupt_frame`?
13:35:00 <leg7> It says it depends on your cpu so I assume should be what your cpu pushes
13:38:00 <leg7> But if there's a privilege change the handler stack will be different so how would it even work?
13:56:00 <zid> you'd need to check the compiler docs
13:57:00 <zid> but it appears to be pretty easy to replicate without having to dive into compiler source though
14:00:00 <zid> https://godbolt.org/z/6nWje87n7
14:00:00 <bslsk05> ​godbolt.org: Compiler Explorer
14:00:00 <zid> shouldn't be hard to figure out what's at rsp+88 given the manual
14:11:00 <leg7> I think I'll just write it all in assembly
14:11:00 <leg7> tbh
14:13:00 <zid> good
14:13:00 <Ermine> heat where
14:13:00 <zid> ded
14:15:00 <nikolapdp> heat is ded
14:15:00 <nikolapdp> no
14:23:00 <GeDaMo> "That is not dead which can eternal lie, And with strange aeons even death may die."
14:23:00 <Ermine> noooooooo
14:24:00 <zid> Universe death of the heat
14:24:00 <zid> That's sadly what we ended up with, I think santa got confused
14:32:00 <heat> reports of my death were greatly exaggerated
17:58:00 <Ermine> oh, heat is warm, yay!
17:59:00 <heat> hi
17:59:00 <heat> did you need anything from me
18:00:00 <Ermine> I did need, but I forgor what
18:00:00 <heat> 💀
18:08:00 <Ermine> https://github.com/pypa/setuptools/blob/main/setuptools/_distutils/zosccompiler.py - they care for z/os
18:08:00 <bslsk05> ​github.com: setuptools/setuptools/_distutils/zosccompiler.py at main · pypa/setuptools · GitHub
18:10:00 <Mondenkind> personally i think heat is pretty cool actually😎
18:23:00 <Ermine> At this point setuptools could just embed meson
18:25:00 <leg7> is gnu assembler more powerful than nasm?
18:26:00 <heat> yes
18:26:00 <heat> id say that just because of the C preprocessor
18:27:00 <heat> but nasm people will stan nasm
18:27:00 <heat> i stan gas
18:28:00 <Ermine> nasm has its own macro stuff
18:30:00 <Ermine> But gas having c preprocessor makes it easier to integrate with c or c++ codebase
18:30:00 <gog> gas gas gas gas
18:30:00 <gog> clang
18:30:00 <Ermine> So everyone uses gas
18:30:00 <gog> clang gas driver
18:31:00 <gog> you can share constants with the other headers, and clang even generates deps for make
18:31:00 <Ermine> also nasm is x86 and x64 only afaik
18:31:00 <gog> yes
18:32:00 <gog> if you need to do real mode code tho i'd say just use nasm
18:32:00 <Ermine> firefox uses yasm btw
18:32:00 <gog> yaaaaaaaaaaasm, queen
18:33:00 <zid> what's wrong with .aSm
18:33:00 <zid> use the C preprocessor with nasm
18:33:00 <gog> i suppose there's nothing stopping you from doing that
18:34:00 <zid> bonus points, .pasm
18:34:00 <zid> use PHP as your preprocessor
18:37:00 <Ermine> MASM MASM MASM
19:34:00 <sham1> YASM YASM YASM
19:35:00 <zid> yasm kinda pointless now that nasm has a maintainer again
19:35:00 <zid> and it's a decent one, one of the famous kernel guys, I forget who
19:40:00 <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
19:45:00 <gorgonical> I got a sunburn yesterday and now I feel bad today. They really take it out of you
19:46:00 <nikolar> The glowing orb in the sky
19:46:00 <gorgonical> What's the weather like in serbia right now
19:47:00 <nikolar> Getting colder actually
19:47:00 <nikolar> Refreshing right now
19:47:00 <gorgonical> Bright sun at 25C right now
19:48:00 <nikolar> What do you mean
19:49:00 <gorgonical> It's really sunny and its 25C here
19:49:00 <gorgonical> ?
19:49:00 <nikolar> Oh sorry yeah
19:49:00 <nikolar> It's windy here, 23C
19:51:00 <geist-sdf> the daystar was out yesterday too
19:51:00 <geist-sdf> full of fire and death
19:51:00 <geist-sdf> but the clouds have made it go away today, blessed rain
19:51:00 <geist-sdf> as it should be
19:52:00 <nikolar> Lol
19:52:00 <nikolar> You're north us right?
19:52:00 <geist-sdf> pacific northwest, where the rain is our friend
19:54:00 <nikolar> Heh nice
19:58:00 <gorgonical> We had the first proper thunderstorm last night. A midnight beer to enjoy some wild lightning and thunder
19:58:00 <gorgonical> Strong enough to wake up my partner who was wearing earplugs,, lol
19:58:00 <geist> oh nice!
19:58:00 <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
19:58:00 <bslsk05> ​www.levity.com: Book of Lambspring
19:58:00 <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
19:59:00 <kof673> > IN A VENOMOUS DRAGON THERE SHOULD BE THE GREAT MEDICINE
19:59:00 <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
20:00:00 <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
20:01:00 <kof673> :/ i'm not trying to be annoying, but that was the "double word" lol
20:01:00 <kof673> death AND life. always double...
20:01:00 <gorgonical> I don't think it's annoying
20:02:00 <kof673> so there is "good sun" and "bad sun" lol
20:02:00 <gorgonical> I meant what I said, it's very impressive the apparent depth of knowledge
20:02:00 <kof673> nah, it is just "old"
20:04:00 <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
20:06:00 <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
20:06:00 <geist> word.
20:06:00 <gorgonical> I have been playing the hell out of it and I simply cannot get enough
20:06:00 <gog> bg3 is amazing
20:07:00 <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
20:08:00 <kof673> it is meant more that picture writing still lives in certain sectors, fairy tails, etc.
20:08:00 <kof673> even when it is written out...might still be "picture writing" that is being described
20:08:00 <kof673> *tales
20:10:00 <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 :)
20:11:00 <gorgonical> Why wouldn't writing C in the style of Haskell be a good idea?
20:11:00 <gorgonical> I have seen such attempts before though
20:11:00 <gorgonical> Don't do it
20:11:00 <nikolar> Lol where
20:11:00 <nikolar> I want to see that
20:11:00 <gorgonical> I'll look for it, but it was some time ago. Let me see
20:12:00 <kof673> a transpiler does so i guess, somehow they have to "bridge" ...but not sure you would want to do it by hand
20:20:00 <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
20:21:00 <gorgonical> Curried functions in C, too
20:21:00 <nikolar> Oh that sounds very cursed
20:21:00 <nikolar> Perfect
20:22:00 <gorgonical> https://citeseerx.ist.psu.edu/document?repid=rep1&type=pdf&doi=f3652505900f9475f526c8048fdc7dbc7ce25d4c
20:23:00 <gorgonical> This in fact may be the one I remember. It sparks vague recollection
20:23:00 <nikolar> Nice
20:24:00 <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
20:24:00 <gorgonical> Plus some liberal abuse of types probably with the help of the preprocessor
20:25:00 <nikolar> We do love cpp spaghetti
20:25:00 <gorgonical> This is sort of like "include <curry.h> and do NOT create objects called struct block" in the same vein as errno
20:26:00 <nikolar> Heh
20:26:00 <gorgonical> I actually have kind of intrigued myself here. Shit
20:27:00 <nikolar> Lol what do you mean
20:33:00 <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
20:34:00 <nikolar> Yeah
20:34:00 <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
20:34:00 <nikolar> Lol i made a hackintosh just so I can say I did it while it's still possible so I get it
20:35:00 <nikolar> Cpp is pretty powerful in the right hands
20:36:00 <gorgonical> called p99, that's it. https://gustedt.gitlabpages.inria.fr/p99/p99-html/programming.html
20:36:00 <bslsk05> ​gustedt.gitlabpages.inria.fr: P99: Macro programming with P99
20:37:00 <nikolar> Huh very nice
20:46:00 <gorgonical> p99 has some fun features. invariant checking, unwinding, etc
20:48:00 <heat> kernel baby wooooooo
20:49:00 <Mondenkind> gorgonical: see also https://github.com/rofl0r/order-pp
20:49:00 <bslsk05> ​rofl0r/order-pp - order-pp preprocessor library (standalone part of chaos-pp) (13 forks/102 stargazers/BSL-1.0)
20:49:00 <nikolar> KERNAL
20:50:00 <gorgonical> multi-index iterators, caserange. It's sort of like backporting c++ metaprogramming to c
20:50:00 <gorgonical> Mondenkind: you know it's gonna be good when there are github access times "20 years ago"
20:51:00 <nikolar> Lol
20:51:00 <nikolar> Ie when the commits predate git
20:52:00 * gog orders pp
20:52:00 <gorgonical> this code is wild
20:53:00 <nikolar> What code are we talking about
20:53:00 <nikolar> P99?
20:53:00 <gorgonical> the chaos-pp/order-pp
20:54:00 <gorgonical> p99 is just heaps of preprocessor black magic stuff
20:54:00 <gorgonical> but this order-pp has a lambda system embedded into it that's basically just a primitive lisp by the looks of ip
21:15:00 * pounce disorders your pp
21:23:00 <gog> >:o
21:24:00 <heat> LPVOID *ppLigma;
21:24:00 <Mondenkind> but that's the worst kind of ligma!
21:25:00 <heat> ligmapp
21:35:00 <gog> builder.Services.AddScoped<ILigmaService, ILigmaBackend>();
21:36:00 <gog> i meant LigmaBackend
21:36:00 <gog> because it's not interface
21:36:00 <gog> it's impl
21:36:00 <gog> ligma backend
21:42:00 <heat> template <typename Balls> class CLigma
23:50:00 <Ermine> bofa