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
dude12312414 has joined #osdev
isaacwoods has quit [Quit: WeeChat 3.2]
gog has quit [Quit: bye]
gog has joined #osdev
<klange> Hm, I am at 4998 commits. I need to be careful, I don't want commit 5000 to be something stupid.
AssKoala has quit [Read error: Connection reset by peer]
AssKoala has joined #osdev
devcpu has quit [Quit: leaving]
devcpu has joined #osdev
gateway2000 has quit [Quit: Leaving]
gog has quit [Quit: byee]
<kazinsal> commit 9000: "fuck"
<kazinsal> 5000*
<klange> There are two instances of 'fuck' in my commit message history, one from 2011 and one from 2017, though they are both part of longer messages.
<klange> Also four 'shit's and one 'damn'. And there are also two 'shit's in comments and a 'damn' in the kernel.
<moon-child> I don't know if I have any profane commit messages, but my shell's rcfile has some colourful language above a 'ulimit -c unlimited'
crmur__ is now known as orthoplex64
AssKoala has quit [Ping timeout: 252 seconds]
nyah has quit [Ping timeout: 252 seconds]
regreg has joined #osdev
freakazoid333 has quit [Read error: Connection reset by peer]
freakazoid333 has joined #osdev
pretty_dumm_guy has quit [Quit: WeeChat 3.2]
<kazinsal> At a quick glance the best comment with a curse word in it is from my AP startup sequence: "This code is all hell of treacherous."
srjek has quit [Ping timeout: 240 seconds]
<Affliction> I'll just share this line of python, written as part of a gross hack after hours of trying to track down a particularly irritating bug: class AStupidFuckingShittyHackToGetMyDataOutOfTheGodDamnHTMLParserSeriouslyWhatTheFuckIsWrongWithThisThingIMeanSeriouslyButWhateverJustGetMyDataOutFromThisHTMLParserSoICanUseIt:
<Affliction> Part of the gross hack involved using exceptions as part of control flow... but it works
<Affliction> well, worked. It hasn't been used in years, thankfully, and with python 2 being dead, will never be used again!
diamondbond has joined #osdev
<klange> Now, I'm all in favor of descriptive symbol names and will happily put several words in a struct member name if it helps explain its purpose, but I think that's a bit too long.
<kingoffrance> well, i favor a_stupid_fucking_shitty_hack but to each their own :)
<kazinsal> RealTimeLogDataConsumerFactoryFactoryFactory
<kingoffrance> eh, should be DRY: 2nd level meta factory
* kingoffrance ducks and covers
<kingoffrance> i would also accept Factory2 Factory3 like attack spells
<Affliction> And now I'm going to relapse back into my factorio addiction. See yas in a decade.
sts-q has quit [Ping timeout: 244 seconds]
dude12312414 has quit [Quit: THE RAM IS TOO DAMN HIGH]
Lukapalooka has quit [Remote host closed the connection]
sts-q has joined #osdev
lTheCrow has quit [Quit: WeeChat 3.2]
diamondbond has quit [Ping timeout: 252 seconds]
regreg has quit [Ping timeout: 252 seconds]
Izem has joined #osdev
ElectronApps has joined #osdev
mahmutov has quit [Ping timeout: 240 seconds]
Izem has quit [Remote host closed the connection]
AssKoala has joined #osdev
NeoCron has joined #osdev
regreg has joined #osdev
NeoCron has quit [Remote host closed the connection]
dude12312414 has joined #osdev
dude12312414 has quit [Client Quit]
gateway2000 has joined #osdev
gateway2001 has joined #osdev
gateway2000 has quit [Ping timeout: 252 seconds]
ZombieChicken has joined #osdev
ElectronApps has quit [Remote host closed the connection]
hbag has joined #osdev
<hbag> man i love when my connection drops for days and i dont notice it
<geist> we're still here!
<klange> It's disappointing when you find out you weren't just enjoying a few days of peace and quiet...
AssKoala has quit [Ping timeout: 240 seconds]
regreg has quit [Ping timeout: 252 seconds]
fkrauthan has quit [Quit: ZNC - https://znc.in]
fkrauthan has joined #osdev
gateway2001 has quit [Quit: Leaving]
mctpyt has quit [Ping timeout: 252 seconds]
GeDaMo has joined #osdev
gog has joined #osdev
Belxjander has joined #osdev
basil has quit [Ping timeout: 240 seconds]
basil has joined #osdev
sortie has joined #osdev
Arthuria has joined #osdev
dennis95 has joined #osdev
rorx has quit [Ping timeout: 252 seconds]
rorx has joined #osdev
Arthuria has quit [Ping timeout: 252 seconds]
basil is now known as basil
pretty_dumm_guy has joined #osdev
regreg has joined #osdev
basil has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
basil has joined #osdev
basil is now known as basil
sortie has quit [Quit: Leaving]
ElectronApps has joined #osdev
AssKoala has joined #osdev
<klange> I could have sworn I fixed up my tlb flushing to only be called when things were unmapped but apparently 1) I did not. 2) It was in literally the opposite state.
<klange> Fixed that and now SMP seems to be as fast, if not also the expected "faster under load", as single-core operation, since everyone is no longer constantly spamming every one else with dumb shootdown IPIs...
<klange> Then I discovered a place where I was (oopsy) freeing a directory structure while it was still in use; little bit of pointer juggling and that's fixed.
<klange> There's still plenty of work to be done to make SMP scheduling better, I still need better userspace locks (lol I removed a yield() call from a spin lock in my dumb locks-make-ths-thread-safe malloc and it nearly doubled execution speed for one of my bytecode VM benchmarks)
<klange> 4999 commits. The next one better be something really cool.
<zid> ayame background
<klange> As much as I should explore a new theme for wallpapers for 2.x, I do not expect that theme to be "vtubers"
<zid> not vtubers, just ayame
<sham1> Use big cats
<j`ey> klange: commit 5000: rm x86; mkdir arm64
<klange> I have a good big cat wallpaper. I think I may have even already shipped it way back in the day when I had a package in 1.2.x with webp wallpapers.
<klange> The former already happened, the latter I have a branch for but just setting up skeleton project files is not a good choice for commit 5000, so it'll have to wait until there's something to actually boot
basil has quit [Quit: ZNC 1.8.2+deb2+b1 - https://znc.in]
<sham1> You could just bump the version number
<klange> `wallpapers-webp-1.0.0.msk` contains `/usr/share/wallpapers/serval.webp` so, yes, I have shipped the aforementioned big cat wallpaper before.
<sham1> And have that be the entire 5000th commit
<zid> idk why you keep suggesting thing, we already settled on ayame
<sham1> Maybe you have
<sham1> Darn weebs /s
<klange> it's only been two weeks since 1.99.4, though I did add a lot in those two weeks... groups, the calculator app, bunch of kernel fixes, unthreaded the compositor, reintroduced a bunch of old device drivers...
basil has joined #osdev
<klange> Yeah, let's just go with that...
basil is now known as basil
<bslsk05> ​en.wikipedia.org: Texas Instruments TI-99/4A - Wikipedia
<bslsk05> ​github.com: Release ToaruOS v1.99.5 · klange/toaruos · GitHub
AssKoala has quit [Ping timeout: 252 seconds]
ahalaney has joined #osdev
dragestil has joined #osdev
dude12312414 has joined #osdev
gateway2000 has joined #osdev
isaacwoods has joined #osdev
dennis95 has quit [Read error: Connection reset by peer]
dennis95 has joined #osdev
regreg has quit [Ping timeout: 252 seconds]
regreg has joined #osdev
dennis95 has quit [Ping timeout: 240 seconds]
dude12312414 has quit [Quit: THE RAM IS TOO DAMN HIGH]
dennis95 has joined #osdev
dutch has quit [Ping timeout: 252 seconds]
night has quit [Remote host closed the connection]
night has joined #osdev
dennis95_ has joined #osdev
nyah has joined #osdev
dennis95 has quit [Ping timeout: 252 seconds]
koolazer has quit [Ping timeout: 250 seconds]
dennis95_ has quit [Ping timeout: 252 seconds]
amj has quit [Ping timeout: 245 seconds]
dutch has joined #osdev
dennis95 has joined #osdev
ZombieChicken has quit [Ping timeout: 276 seconds]
srjek has joined #osdev
Marsh has joined #osdev
MiningMarsh has quit [Ping timeout: 250 seconds]
Marsh is now known as MiningMarsh
gxt has joined #osdev
<gxt> Hi, I'm looking for an online book/tutorial on logic gates/circuit design that takes the reader from newbie to designing a calculator circuit or something of similar complexity. I read that several years ago, but lost the bookmark and now wanted to recommend that to someone.
<gxt> Sorry for the not quite on-topic question, didn't know where better to ask.
<dzwdz> nand2tetris?
<gxt> dzwdz: I think that was it, thank you!
<dzwdz> np ^^
ElectronApps has quit [Remote host closed the connection]
gateway2000 has quit [Read error: Connection reset by peer]
gateway2000 has joined #osdev
Lukapalooka has joined #osdev
heat has joined #osdev
<Bitweasil> gxt, perhaps nandgame.com ?
dennis95 has quit [Quit: Leaving]
gateway2000 has quit [Read error: Connection reset by peer]
gateway2000 has joined #osdev
k0valski has joined #osdev
dennis95 has joined #osdev
AssKoala has joined #osdev
mctpyt has joined #osdev
heat has quit [Ping timeout: 252 seconds]
regreg has quit [Ping timeout: 252 seconds]
tacco has joined #osdev
Lukapalooka has quit [Quit: Leaving]
PapaFrog has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
regreg has joined #osdev
PapaFrog has joined #osdev
mahmutov has joined #osdev
gxt has quit [Remote host closed the connection]
gxt has joined #osdev
kaitsh has joined #osdev
kaitsh has quit [Quit: WeeChat 3.0]
dennis95 has quit [Quit: Leaving]
kaitsh has joined #osdev
Lukapalooka has joined #osdev
regreg has quit [Ping timeout: 245 seconds]
kaitsh has quit [Client Quit]
kaitsh has joined #osdev
gateway2000 has quit [Quit: Leaving]
<gxt> Bitweasil: That's really cool too and more approachable for someone new, thank you!
<Bitweasil> *nods*
<Bitweasil> Felt too much like college to me.
<Bitweasil> I didn't get very far.
<gxt> I also vaguely remember something similar that was based around the story of building the control circuit of a robot. The inputs in the higher levels where from its sensors like proximity, and then you could pull the "fire zapper" output high or something. Was more playful for sure.
gateway2000 has joined #osdev
<Bitweasil> I'm sure a variety of these thing exist.
srjek has quit [Ping timeout: 245 seconds]
CryptoDavid has joined #osdev
dutch has quit [Quit: WeeChat 3.2]
XgF has quit [Remote host closed the connection]
XgF has joined #osdev
dutch has joined #osdev
nvmd has quit [Ping timeout: 250 seconds]
AssKoala has quit [Ping timeout: 244 seconds]
AssKoala has joined #osdev
GeDaMo has quit [Quit: Leaving.]
gateway2000 has quit [Read error: Connection reset by peer]
gateway2000 has joined #osdev
elastic_dog has quit [Ping timeout: 240 seconds]
elastic_dog has joined #osdev
Oshawott has quit [Ping timeout: 245 seconds]
Lukapalooka has quit [Ping timeout: 240 seconds]
gog has quit [Ping timeout: 252 seconds]
dbana has joined #osdev
ahalaney has quit [Quit: Leaving]
vdamewood has quit [Quit: Life beckons]
gateway2000 has quit [Quit: Leaving]
AssKoala has quit [Ping timeout: 252 seconds]
tacco has quit []
gog has joined #osdev
dbana has quit [Quit: Lost terminal]
kaitsh has quit [Quit: WeeChat 3.0]
<j`ey> is there some way with sprintf to print an int as 4 chars?
<j`ey> (I guess printf(%c%c%c%c, int >> 24, int >> 16, int >> 8, int), but wondered if there was something simpler)
<gog> i think so actually
<moon-child> printf("%.*s", 4, &c)
<moon-child> err, just "%.4s", &c)
<gog> that's what i was about to put lol
<j`ey> interesting
<j`ey> hm actually it's a bit more complex cos I just remember it's bytes 1-5 of a 64bit int >_<
<gog> so change &c to ((char *)&c + 1) ?
<clever> j`ey: one sec
<bslsk05> ​github.com: rpi-open-firmware/hexdump.cc at master · librerpi/rpi-open-firmware · GitHub
<j`ey> which bit?
<clever> j`ey: line 5-11 deals with converting control chars into a . and 16 will emulate `hexdump -C`
flx-- is now known as flx
<clever> and 28 prints a 32bit quanity at once
<clever> because doing 8bit MMIO reads from a 32bit reg malfunctions
<j`ey> yeah, that just shifts it down
<clever> 39-42 then re-prints it, as ascii
<j`ey> that's what I have currently
<clever> yeah
<clever> just showing how ive done it
<j`ey> ok!
<j`ey> I'll probably stick with shifting, "%.4s", ((char *)&c + 1)), is kinda ugly
<clever> byte-order also impacts the %s variant
<gog> ah snap i forgot about byte order
<clever> the rpi also has char[4] encoded into 32bit ints, in every undefined register of nearly every peripheral
<clever> so if you just read at the right spit, you get the peripheral name
<clever> for some peripherals, a non-32bit aligned 8bit read, will also return a byte of that 4char code
<clever> even if you would expect it to be a fragment of a register
<clever> so if the constant was GPIO, and you read something as aligned+1, you always get the P
fwg has quit [Quit: .oO( zzZzZzz ...]
srjek has joined #osdev
Lukapalooka has joined #osdev