<heat>
huh i think i know why grub-install is being so inconsistent... the page caches for the various partitions are fighting over themselves
<heat>
i think
<geist>
oh man i just got out my old ipod and am hanging out at the coffee shop
<geist>
i feel so retro man
<geist>
actually kinda curious how long the batteries last after having been charged for the first time in years
<heat>
lol
<heat>
i mean you have a VAX at home and the ipod makes you feel retro?
<geist>
i can't take the vax with me
<heat>
that sounds like a challenge
<geist>
now i just need a zune
<geist>
what's actually kinda interesting is the noise floor on these old ipods is not that great. somewhat surprisingly anything else i plug it into is totally clean
<geist>
with very sensitive in ear headphones i can hear it when the dac comes on and off, as i can on pretty much anything
<geist>
laptop and phone with one of the usb/audio jack things though are totally clean
<geist>
i guess modern tech really is better
<geist>
from poking around it seems the quality of the dacs on the ipod classics, especially around gen 5, was fairly variable
<geist>
that + some very sensitive earpods and you can really hear it
srjek has quit [Ping timeout: 268 seconds]
Arthuria has joined #osdev
Arthuria has quit [Ping timeout: 256 seconds]
heat has quit [Ping timeout: 268 seconds]
gorgonical has quit [Ping timeout: 256 seconds]
Gooberpatrol66 has joined #osdev
wgrant has joined #osdev
divine has joined #osdev
jjuran has quit [Ping timeout: 255 seconds]
jjuran has joined #osdev
<geist>
gcc 14.1 released
jjuran has quit [Remote host closed the connection]
jjuran has joined #osdev
goliath has joined #osdev
<kof673>
> if you see two people named max do you say they're maxen i just do it because it was egyptian...yes, that is how they saw it...equinoxes :D
<kof673>
that is ONE person, "spirit" and "matter" or whatever
<geist>
as a side note i think the -en part is leftover germanic stuff
<geist>
like it's supposed to be only used in old german stuff
<kof673>
whenever there is a full moon, it is imagined opposite sign wherever the sun is imagined to be. point: this opposite stuff goes year round, every month as well lol
<kof673>
they meet...they separate...over and over lol
Mach has joined #osdev
gbowne1 has quit [Quit: Leaving]
pebble has joined #osdev
pebble has quit [Remote host closed the connection]
pebble has joined #osdev
Mach has quit [Ping timeout: 252 seconds]
<zid`>
geist: -en stuff is old english
GeDaMo has joined #osdev
pebble has quit []
Mach has joined #osdev
agent314 has joined #osdev
Brnocrist has quit [Ping timeout: 268 seconds]
Brnocrist has joined #osdev
gog has joined #osdev
<geist>
yah, old germanic stuff
pebble has joined #osdev
<zid`>
no I think it's literally old english
<zid`>
but it could be germanic, I'll check
<nikolar>
It is Germanic as in the old English is Germanic
<nikolar>
I assume that's what geist means
<nikolar>
As opposed to non Germanic influences
<zid`>
right but 'les' is french not latin, despite french being modern modern latin
<nikolar>
Well Germanic != German
<nikolar>
Germanic refers to the language family English belongs to
<zid`>
yes
<nikolar>
So still works
<zid`>
but presumably it has a *meaning*
<zid`>
what would it ==?
<geist>
oh i was just some thing that google had returned that i had remembered seeing before
<geist>
basically old english used -en and some other archaic forms for plurals and it was directly out of old germanic stuff
<zid`>
seems the -en held on in middle english in the south
<geist>
but it got dropped in general later on
<zid`>
yea I really don't think it was from old germanic
<zid`>
I think it was an original english invention
<geist>
i think it was like -es too, also old
<zid`>
but it just fell out of use by late middle english
<geist>
like actor actress, etc
<geist>
steward stewardess
<zid`>
brethren is purely english at least (and thus children)
<nikolar>
zid` German itself has plurals ending in -en
<nikolar>
It's a pre English thing
<zid`>
says who?
<geist>
yah google says this too
<zid`>
I mean, says who is that relevent?
* geist
shrugs
<nikolar>
You say it's an English innovation?
<nikolar>
How's that not relevant
<zid`>
because.. as you noted, they're all germanic languages, you'd *expect* overlap in innovation
<zid`>
You have to prove one took the words from the other, or both had it while the language was still shared
<zid`>
not just say "they both have words ending in n"
<nikolar>
Not in innovation, if you see overlap, overwhelmingly it's because it was inherited
<nikolar>
Not innovated
<zid`>
Exept this is like, 4 words in english
<kazinsal>
one of the hazards of concocting languages by compiling bits of various other langauges
<zid`>
overlap is a *very* rich take
<geist>
vaxen!
<geist>
5 words
<zid`>
oxen, vaxen, children, brethren
<geist>
vaxen
<kazinsal>
boxen
<nikolar>
You said overlap first?
<geist>
this is a pretty silly thing to be arguing. there's probably whole papers written about the topic
<zid`>
I applied it to a different noun, I said that if I start with proto-germanic, and pick random mutations, some of them will be shared with someone else doing the same thing
<zid`>
arguing?
<zid`>
forgor how sensitive geist is
<zid`>
nikolapdp: wanna go discord instead?
<kazinsal>
and if there aren't papers on it, I'm sure the lot of us could concoct one in a few hours
<geist>
well, no i just mean it's probably easier to just go find the papers on it
<kazinsal>
A Non-Comprehensive Taxonomy Regarding Middle Germanic Influenced -en Suffixes for English X-Suffixed Nouns
<geist>
there are a few random linquistic sites that seem to imply that there were a lot more plural suffixes in old english, much as how german has, but over time they were generally dropped
<geist>
such that of the -ens only 4 words are left
<geist>
so presumably there are written records that showed the other forms in use and would be pretty easy to line up with the german versions
netbsduser has joined #osdev
pebble has quit []
<zid`>
geist: except they don't :p
<zid`>
kinder and children
<zid`>
but yea, english and german both had 20 rules for pluralization, that 1 suffix is shared says nothing, especially because the modern versions of the words don't even match each other
<zid`>
strongly points to them being co-incidental
bitoff has quit [Ping timeout: 252 seconds]
gildasio has quit [Remote host closed the connection]
gildasio has joined #osdev
navi has joined #osdev
heat has joined #osdev
<heat>
no one says boxen
<nikolapdp>
patchen
<heat>
zid`, whats your favourite dark souls character?
<heat>
mine is patchen
<heat>
what a devious mf that guy
<zid`>
heat: who, not what
<zid`>
And the answer is obvious, sieglinde
<nikolapdp>
sieglinden
<zid`>
no that's a bracketing issue
<zid`>
her name is siegli, and it's -n for plural and -de for feminine
<zid`>
(this is a real thing that happens constantly in german)
<zid`>
They confuse words that are already plural with stem words and end up double pluralizing them
<bslsk05>
en.wiktionary.org: children - Wiktionary, the free dictionary
<zid`>
bacterias
<zid`>
1 fish, 2 fishes, 3 fishest
<nikolapdp>
4 fishmost
<heat>
fishen
<heat>
okay grub-install seems to kind of work now, yay
<heat>
i'm happy
srjek has joined #osdev
netbsduser has quit [Read error: Connection reset by peer]
<nikolapdp>
gruben
<ddevault>
as expected implementing getcwd is a bitch
<ddevault>
I also found that my walk implementation cannot backtrack over mountpoints, which is cool
<nikolapdp>
finding bugs is cool
kof673 has quit [Ping timeout: 268 seconds]
<heat>
yep
<heat>
the worst part about getcwd is that it's a completely inverse operation to path walking
kof673 has joined #osdev
<heat>
so you get the typical lock inversion problems
<ddevault>
I might bullshit it for now, since this is just a toy project
<ddevault>
store the cwd as a string on the process node and update it whenever calling chdir
<ddevault>
with a comment: // TODO: rewrite your entire VFS layer you dumb fuck
<heat>
that doesn't /really/ work though
<ddevault>
I am aware
<heat>
i'm not sure if anything specifies it in POSIX, but most implementations return canonical names
<ddevault>
oh I'd canonicalize it
<heat>
i.e not /././././//.//./root, but /root
<ddevault>
I dropped in some code from the hard stdlib to canonicalize paths ages ago
<heat>
the same applies to symlinks
netbsduser has joined #osdev
<ddevault>
I also suspect that all of these refcounts I'm juggling have issues all over the place
<heat>
my refcounts are also a bit fucked, my locking is at times also a bit fucked
<heat>
keep calm and enjoy the ride
<netbsduser>
when refcounts/lifetime and locking interact things get really enjoyable
<netbsduser>
i think i can do getcwd quite easily with my new namecache though, open files are namecache handles (pair namecache pointer and vfs pointer; permits nullfs/"bind" mounts) and child namecache entries retain their parents
<ddevault>
yeah, that's the right solution
<ddevault>
but I painted myself into a bit of a corner so I have to rewrite a bunch of shit to accomodate that
<heat>
paint yourself into corners eh?
<heat>
congratulations you are now an official UNIX(r) kernel programmer
<heat>
i just did man fork, and it found a GNU AWK extension module man page for a fork extension
<heat>
i have many questions but the first one is "why"
<gog>
awk can do anything
<heat>
i know gawk is turing complete, that's not the problem. the problem is "fork, really?"
<zid`>
As you invest more time into a rust program, the more uses of unsafe will appear to make it not suck performance wise etc
<zid`>
As you invest more time into a C program, compiler warnings get better, static analyzers get smarter, etc
<nikolar>
Heh
<netbsduser>
GeDaMo: not a bad day here today
<GeDaMo>
The sun's trying to shine here but it's still overcast
<netbsduser>
well it feels warm enough to me
carbonfiber has joined #osdev
cryo_ has joined #osdev
cryo_ is now known as Guest8174
Guest8174 is now known as MrCryo
bauen1 has joined #osdev
frkazoid333 has quit [Ping timeout: 260 seconds]
foudfou has quit [Remote host closed the connection]
foudfou has joined #osdev
Mach has quit [Ping timeout: 256 seconds]
Arthuria has quit [Ping timeout: 260 seconds]
\Test_User has quit [Ping timeout: 255 seconds]
bauen1 has quit [Ping timeout: 264 seconds]
\Test_User has joined #osdev
bauen1 has joined #osdev
<heat>
its a hellish 28C here
<nikolapdp>
22C here
<acidx>
it's a nice 10C here :3
tjf has quit [Quit: l8r]
Matt|home has joined #osdev
<heat>
southern hemisphere moment
<acidx>
I'm in the northern hemisphere
tjf has joined #osdev
<heat>
weren't you in brazil?
<acidx>
I am brazilian, but I don't live in brazil. :)
<zid`>
southern portugal moment
<heat>
ah :)
<heat>
yes zid southern portugal moment indeed
<heat>
but not too south
<zid`>
wouldn't wanna get too close to the moors
<heat>
algarve is way worse cuz of the golf stream IIRC
<zid`>
the golf stream, it makes it warmer because the golf balls warm up in africa, and then get putted to portugal
<heat>
yes, then the brits come play golf
<nikolapdp>
great energy transfer
<zid`>
we hit all the cold balls back to africa, and drink all the cold beer
<zid`>
portugoose warming crisis
bauen1 has quit [Ping timeout: 268 seconds]
frkzoid has joined #osdev
bauen1 has joined #osdev
rustyy has quit [Ping timeout: 260 seconds]
rustyy has joined #osdev
brynet has quit [Quit: leaving]
Left_Turn has joined #osdev
brynet has joined #osdev
heat has quit [Read error: Connection reset by peer]
heat has joined #osdev
bauen1 has quit [Ping timeout: 252 seconds]
gog has quit [Quit: Konversation terminated!]
goliath has quit [Quit: SIGSEGV]
npc has quit [Remote host closed the connection]
* geist
yawns
gog has joined #osdev
agent314 has quit [Read error: Connection reset by peer]
<nikolar>
Hello geist
<geist>
hola
chiselfuse has quit [Remote host closed the connection]
chiselfuse has joined #osdev
<kof673>
i never read that, but thought i should mention a fox lol > Why's (Poignant) Guide to Ruby. Contents. 3. A Quick (and Hopefully Painless) Ride Through Ruby (with Cartoon Foxes)
bauen1 has joined #osdev
foudfou has quit [Remote host closed the connection]
foudfou has joined #osdev
<zid`>
nikolar powerlevel my sorc for me
foudfou has quit [Remote host closed the connection]
foudfou has joined #osdev
<nikolapdp>
:(
<zid`>
is that face because the answer is no
<nikolapdp>
yes
<zid`>
Ah so you're lamenting your future for when I become supreme overlord of serbia, understandable
MrCryo has quit [Remote host closed the connection]
gbowne1 has joined #osdev
<Ermine>
hm, modprobe -r btusb brings my wi-fi adapter back to life
FreeFull has quit []
<Ermine>
mt7921u in general seems to be problematic
Gooberpatrol66 has quit [Remote host closed the connection]
aejsmith has quit [Remote host closed the connection]
aejsmith has joined #osdev
GeDaMo has quit [Quit: 0wt 0f v0w3ls.]
<heat>
that wouldn't happen on onyx
carbonfiber has quit [Quit: Connection closed for inactivity]
goliath has joined #osdev
<zid`>
Agreed, modprobe -r would not infact, fix anything
<heat>
you can't fix what's not broken
<mjg>
what's crashed may never panic
<heat>
hi mjg, my operating system can install itself
<heat>
what can yours do?
* mjg
does not know whether to go for a linux joke, freebsd joke or take a cheap shot at onyx
<mjg>
so installation creates few enough files that your kernel does not panic?
<mjg>
did you trim it?
<heat>
file creation is Safe(tm)
<mjg>
onyx has fearless file creation?
<heat>
nothing i do is fearless
<heat>
because i know the internals
<heat>
i know what to be scared shitless of
<netbsduser>
some progress today on my m68k port
<netbsduser>
mlibc went from going nowhere (couldn't even relocate itself) to spitting out reputable-looking output and trying to make its first mmap (fails, i haven't made that available to m68k userland yet)
<geist>
woot
<netbsduser>
(with apologies to dennis for the highlight)
<zid`>
dennis is used to it, sortie did it the othjer day too
<heat>
mlibc mlibc mlibc
<geist>
hmm, who is being highlighted?
<geist>
i dont get it
<heat>
uhh i forgot
<heat>
one of the managarm guys gets highlighted on mlibc and other managarm terms
<netbsduser>
geist: the arch mlibcian, the managram agent, dennis bonke
<geist>
ah
<heat>
bonk
<mjg>
a m68k kernel is something which has my moral support
<zid`>
no heat, it's from the dennis region of france so it's a bonke, you're thinking of sparkling bonk from south africa
<mjg>
is there an end goal here?
<netbsduser>
that it become usable on my amiga 2000 for basic toying around with a shell and compiler
<kof673>
(is there an end goal?) port to jaguar one step at a time
<heat>
mjg, what does onyx need for your moral support?
<netbsduser>
heat: an m68k port i can fairly surmise
<heat>
i do not negotiate with m68k terrorists
<mjg>
heat: a sparc port
<heat>
now we're talkin
<nikolar>
A pdp11 port
<heat>
lol
<zid`>
it should deliver electric shocks until nikolar boots terraria
<heat>
kinky
<mjg>
a2000? do you have any extenders for that?
<netbsduser>
yes, a 68060 card
<zid`>
is uncle buck on youtbe, I wanna watch it but that's as much effort as I am prepared to spend obtaining it
<heat>
"(Remembering a page address requires only a few bytes (fewer than 10)."
<heat>
a very conservative estimation innit
<zid`>
fewer than 10 is reasonable FOR NOW
<heat>
sizeof(int) is small (fewer than 15)
gog has quit [Quit: byee]
<heat>
the LRU/2Q thing is interesting
<Mondenkind>
oh yea well _i_ can remember a page in fewer than _9_ bytes, so there
<Mondenkind>
another cache replacement algo? istr there were a few recent neat one
<Mondenkind>
oh it's old :p
<heat>
yes it's old af
<heat>
it's what linux uses more or less
<Mondenkind>
ohhh dennis shasha
<heat>
another dennis? it's joever
<Mondenkind>
😔
<Ermine>
heat: I'll install onyx that's for sure
<Ermine>
I guess I'll need to configure my grub manually
<heat>
actually no
<heat>
i'm such an arch linux user that you can kinda use arch linux-ish commands to install
<Ermine>
I mean, os-prober wouldn't detect it
<heat>
oh yes that is true
<heat>
i don't know how os-prober works, there's a chance it could work on my patched GRUB version
<heat>
in any case i would not recommend switching out your distro's GRUB, it's usually patched to shit
<heat>
basically: parted /dev/sda, do the stuff, mkfs.ext2, mount it, /sbin/copy-system /mnt, chroot /mnt, sync(*), grub-install /dev/sda
<heat>
and voila, it should work hopefully
<heat>
(*) some syncs are required because grub-install is bad and annoying and i can't yet deal with it the way linux does
<Ermine>
okay
<nikolar>
Why doesn't Linux need syncs
<Ermine>
os-prober is a big bunch of heuristics basically
<heat>
the underlying bit is that each partition has individual page caches, and they're not required to be consistent
<heat>
*EXCEPT* if GRUB starts poking at shit through the disk's block dev, at which point it's a cointoss whether things hit the disk or not
<heat>
the linux grub code deals with it by transparently opening the partition block device when accessing partitions
<heat>
it's annoying, but i've seen it bug out with "invalid filesystem" because the ext2 mkfs hadn't hit the disk
foudfou has quit [Remote host closed the connection]
foudfou has joined #osdev
Turn_Left has joined #osdev
Left_Turn has quit [Ping timeout: 255 seconds]
gog has joined #osdev
gog has quit [Client Quit]
gog has joined #osdev
Turn_Left has quit [Read error: Connection reset by peer]
<Ermine>
Why would it? The only case it needs to write directly to block device is bios to write boot sector
<Ermine>
in uefi case it just needs to drop .efi at ESP and add a boot entry through efivars
<heat>
i don't have efi
<heat>
that would entail a FAT driver i don't want to write just yet
<heat>
but this is not only about writes, GRUB reads from partitions (to e.g see what filesystem it's on and auto-load the correct module)
kline has quit [Quit: *.banana *.split]
kline has joined #osdev
<Matt|home>
im trying to find the article right now, but tl;dr quick question is it off topic/unwanted to ask if ppl are interested in potentially working on a project?
<Mondenkind>
it's not but the answer will be no :)
<heat>
c o n t r i b u t e
<Ermine>
heat wants YOU to contribute to Onyx!
<Matt|home>
no biggie, just trying to gauge reaction - if anyone might be interested in working on a project idea i have lemme know, it's similar to neural networking. i haven't thought about it past "could be interesting", so if anyone's got free time and is into circuitry or that sort of thing im curious
netbsduser has quit [Ping timeout: 272 seconds]
<Matt|home>
not strictly osdev but .. i guess theoretically it could be? hm. actually im not sure how it'd work in practice
<Matt|home>
hm. would it be accurate in any fashion to say the human brain is effectively an OS? or am i being way off base here.. for reference im studying up on neuroscience a bit
<Matt|home>
anyway the idea i had was basically building an AC circuit designed to mimic neural activity, thought it could be a cool project. not entirely sure how far i wanna go with it or if it's been done before, but im open to suggestions/interest in the idea
<heat>
yeah i'm not sure a brain is an OS
<heat>
if it is then we are truly living in the worst reality
<Matt|home>
ehhh. well the technical definition of an OS is a kernel that handles processes and memory management basically yeah, at it's most fundamental level? im being vague but
<Matt|home>
that's essentially what it is
<dostoyevsky2>
the brain seems mostly ux
<Ermine>
we had a guy on minix mailing list that wanted to incorporate ai into the kernel
<dostoyevsky2>
Ermine: sorting used to be ai...
<Matt|home>
i don't know enough about AI, but i assume the _main_ issue with that is it'd be hella slow?
<Matt|home>
like unusably so?
<Ermine>
that's the same guy who tried to persuade me that cross-compiler is not required to build an os
<dostoyevsky2>
Ermine: Did you gold-plate all the if-loops for performance as well?
<heat>
the minix mailing list sounds fun
<Matt|home>
alright well if i manage to get any work done on this crazy project i'll show what i've done, maybe it'll be useful somewhere someday
<Matt|home>
take it easy everyone o\
<dostoyevsky2>
heat: Probably lots of post like: "I just realized how Linus got it all wrong"
<dostoyevsky2>
The ESP32 runs micropython... if you could `import tensorflow' that would be so AI, right?
<Ermine>
dostoyevsky2: No, but there are other... interesting posts
<dostoyevsky2>
Ermine: sounds interesting
<Ermine>
I want to blame google groups for lowering the entry barrier so there are lots of people which don't have a single clue about osdev