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
goliath has quit [Quit: SIGSEGV]
netbsduser has joined #osdev
netbsduser has quit [Ping timeout: 260 seconds]
navi has quit [Quit: WeeChat 4.2.1]
netbsduser has joined #osdev
rustyy has quit [Ping timeout: 268 seconds]
rustyy has joined #osdev
zxrom has quit [Quit: Leaving]
netbsduser has quit [Ping timeout: 268 seconds]
heat has quit [Ping timeout: 268 seconds]
\Test_User has quit [Ping timeout: 252 seconds]
\Test_User has joined #osdev
vai has quit [Ping timeout: 268 seconds]
netbsduser has joined #osdev
gog has quit [Ping timeout: 256 seconds]
netbsduser has quit [Ping timeout: 256 seconds]
cloudowind has joined #osdev
<cloudowind> hello
* kof673 makes aloha hand sign
<cloudowind> it should come now
<cloudowind> hello kof673
timer has joined #osdev
<cloudowind> i wrote this pythong script with chatgp's help , i always wanted to steal this chatgp and bring it here :)
<timer> You: please introduce yourself to my friends in #osdev
<timer> Hey there #osdev crew! I'm ChatGPT, a language model designed to assist with all sorts of questions and discussions. Whether you're diving into operating system development, wrestling with tricky code, or just pondering the mysteries of computing, I'm here to lend a hand. Let's dive into some code and explore the depths of OS development together!
<cloudowind> i did it
<cloudowind> np api has been used , completly free
<cloudowind> ok i can take him to gurumeditation now before pissing of all the ops:)
<timer> You: please say goodbye to my friends in #osdev
<timer> Farewell, #osdev friends! It's been a pleasure chatting with you all. If you ever need assistance, whether it's tackling a tough bug or brainstorming new ideas, don't hesitate to reach out. Keep coding, keep exploring, and
<cloudowind> ok you can go now thanks
<timer> Farewell, #osdev friends! It's been a pleasure chatting with you all. If you ever need assistance, whether it's tackling a tough bug or brainstorming new ideas, don't hesitate to reach out. Keep coding, keep exploring, and may your OS adventures be fruitful and bug-free. Until next time!
timer has quit [Remote host closed the connection]
<cloudowind> that was little show for you my friends , hey geist :) i will see yous later
cloudowind has left #osdev [#osdev]
netbsduser has joined #osdev
chiselfuse has quit [Remote host closed the connection]
* geist waves
chiselfuse has joined #osdev
fkrauthan has quit [Quit: ZNC - https://znc.in]
fkrauthan has joined #osdev
fkrauthan has quit [Remote host closed the connection]
netbsduser has quit [Ping timeout: 268 seconds]
fkrauthan has joined #osdev
melonai has quit [Quit: Ping timeout (120 seconds)]
melonai has joined #osdev
zetef has joined #osdev
mahk has joined #osdev
craigo has joined #osdev
netbsduser has joined #osdev
<PapaFrog> The book was better...
netbsduser has quit [Ping timeout: 268 seconds]
op has joined #osdev
zetef has quit [Ping timeout: 256 seconds]
GeDaMo has joined #osdev
zetef has joined #osdev
bliminse has quit [Quit: leaving]
foudfou has joined #osdev
gbowne1 has quit [Quit: Leaving]
zetef has quit [Ping timeout: 260 seconds]
chiselfuse has quit [Remote host closed the connection]
chiselfuse has joined #osdev
<geist> wow ever have one of those days where you see the compiler just do something crazy clever?
<geist> lemme see if i can reproduce in godbolt
zetef has joined #osdev
<GeDaMo> I saw a compiler turn a loop into a closed form expression once
<bslsk05> ​blog.regehr.org: Comparing Compiler Optimizations – Embedded in Academia
<geist> the struct foo is really an error + value tuple
<geist> https://gcc.godbolt.org/z/K9qsxGvKq to be more clear
<GeDaMo> Ah, similar to a branchless abs
<geist> huh clang gets it too
<geist> yeah
<geist> never seen that pattern before, that's pretty slick
<geist> and architesctures that have cmov can just use that: https://gcc.godbolt.org/z/PxvorjYoW
bliminse has joined #osdev
<geist> that pattern is probably useful in a fair number of places in riscv since there's no condition bits, and there is a suite of 'set bottom bit of register on <condition>'
<geist> though i guess the shift right by 31 to get the sign bit into bit 0 could also be done with a `slt target, reg, zero`
<geist> i guess the fundamental trick to remember is adding either 0 or 1 to the constant -1 to either get all bits set or no bits set without any comparisons or branches
<bslsk05> ​hbfs.wordpress.com: Branchless Equivalents of Simple Functions | Harder, Better, Faster, Stronger
<GeDaMo> Yeah
<GeDaMo> On x86 you have sign-extend ax into dx instructions
<geist> yeah reminds me there is some sort of conditional move extension in the works for riscv. i'll h Ave to find it. it's somewhat nontraditional but clever
<geist> one of these raw instructions you would probably never use directly but can generate a few pseudo instructions you would use
<bslsk05> ​github.com: riscv-zicond/zicondops.adoc at main · riscvarchive/riscv-zicond · GitHub
<geist> ah I see, yeah it does something kinda similar to the above. the instruction simply conditionally zeros a register if the condition is true, and with that you can build a two instruction sequence for things like conditional move, conditional alu ops, etc
<geist> because you end up either adding foo to bar or 0 to bar
<geist> ah yep, trunk gcc understands it: https://gcc.godbolt.org/z/nj186PcK8
<GeDaMo> I'm just looking at https://stackoverflow.com/questions/72340698/riscv-branchless-coding/77161000#77161000 which gives an example cmov using those instructions
<bslsk05> ​stackoverflow.com: assembly - RISCV branchless coding - Stack Overflow
neo has joined #osdev
<geist> i guess a full cmov didn't make it because that'd require 4 args
<geist> this is a cmov with one of the sources a zero
* Mondenkind laughs in csel
<geist> you dawg I got your 4 args right here
<GeDaMo> You could do a 3 operand cmov with if c then a = b else a = a
netbsduser has joined #osdev
gog has joined #osdev
basil has quit [Read error: Connection reset by peer]
bas1l has joined #osdev
bas1l has quit [Remote host closed the connection]
basil has joined #osdev
zxrom has joined #osdev
teroshan has quit [Quit: The Lounge - https://thelounge.chat]
teroshan has joined #osdev
arminweigl has quit [Ping timeout: 260 seconds]
arminweigl has joined #osdev
navi has joined #osdev
netbsduser has quit [Ping timeout: 260 seconds]
vdamewood has joined #osdev
<mjg> i had a dream i got relocated at work to Vault 9
<mjg> 's what you get for watching a lot of fallout content
heat has joined #osdev
zetef has quit [Ping timeout: 268 seconds]
<gog> have you watched the series
<zid> moaning
<gog> we finished
<gog> i enjoyed it a lot
* vdamewood gives gog a fishy
* gog chomp fishy
<mjg> gog: mofo i was talking about it myself
<mjg> gog: i mean recommending
<heat> mjg, it was a nightmare, you joined vault 9 and found out their system didn't scale
<mjg> people claim it introduces lore inconsistencies with one of the fallout games
<gog> the _only_ inconsistency is timeline afaik
<gog> that's it
<mjg> i would not know, i only played f1 and 2, and even then i don't remember muhc
<gog> everything else seemed pretty solid in terms of its relation to the universe's already-established lore
<mjg> i did notice lucy does not have the vault number on her back, but maybe it was just not their thing in that vault
<mjg> to my undersatnding today's fans don't know much about the 2 games i did play
<mjg> ;)
<mjg> and there was quite a bit of content after
<mjg> all that said, i wish they made a fallout show back in the day instead of game of thrones
<mjg> would be fucking great
<mjg> several seasons, maybe a spinoff
<mjg> my only compliant about the show is the ghoul
<mjg> i think they made him too powerful
bauen1 has quit [Ping timeout: 260 seconds]
<GeDaMo> I think I read it's getting a second season
<mjg> they definitely did setup a second season
<mjg> i mean if this all happened 10+ years ago i would not have to wait :)
zetef has joined #osdev
<mjg> apparently it is a success all around, so i would be deeply shocked if they did not film it
<gog> i think how one becomes a ghoul in the series is something new
<mjg> i'm guessing in that world they did not invent webdev, did they
<mjg> sheltered fucking existence of that ghoul innit
Left_Turn has joined #osdev
Nixkernal has joined #osdev
zetef has quit [Remote host closed the connection]
<nikolar> Lol
foudfou has quit [Remote host closed the connection]
foudfou has joined #osdev
neo has quit [Ping timeout: 268 seconds]
<zid> eyy niko, let's go bowling
<nikolapdp> how
<nikolapdp> zid ^
<GeDaMo> I'd be surprised if there weren't online bowling games
Left_Turn has quit [Ping timeout: 268 seconds]
arminweigl_ has joined #osdev
Left_Turn has joined #osdev
arminweigl has quit [Ping timeout: 268 seconds]
arminweigl_ is now known as arminweigl
<zid> gog I am out of wood, how u mine 4 wood
edr has joined #osdev
<vdamewood> zid: You find wood mine?
<zid> wood mines are weird, instead of being hidden inside rock
<zid> they're hidden inside atmosphere
<GeDaMo> Damned gas breathers! :P
Turn_Left has joined #osdev
neo has joined #osdev
Left_Turn has quit [Ping timeout: 256 seconds]
Turn_Left has quit [Read error: Connection reset by peer]
arminweigl_ has joined #osdev
arminweigl has quit [Ping timeout: 256 seconds]
arminweigl_ is now known as arminweigl
Left_Turn has joined #osdev
neo has quit [Ping timeout: 272 seconds]
Turn_Left has joined #osdev
Left_Turn has quit [Ping timeout: 256 seconds]
chiselfuse has quit [Remote host closed the connection]
chiselfuse has joined #osdev
<zid> GeDaMo: That's why I strictly breathe soup
* vdamewood gives zid a tank full of tomato bisque
<zid> I'm not sure breathing seafood sauce would be healthy
<sauce> only one way to find out
<zid> oh, hey sauce, ping
<sauce> pong
<nikolapdp> zid when are we going bowling
<zid> you're suppsed to say no, nobody *actually* goes bowling with the cousin
<zid> if you wanna go you'll have to come to me
<nikolapdp> ):
foudfou has quit [Remote host closed the connection]
foudfou has joined #osdev
chiselfuse has quit [Remote host closed the connection]
chiselfuse has joined #osdev
alpha2023 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
alpha2023 has joined #osdev
arminweigl_ has joined #osdev
arminweigl has quit [Ping timeout: 256 seconds]
arminweigl_ is now known as arminweigl
vdamewood has quit [Quit: Life beckons]
MiningMarsh has quit [Ping timeout: 255 seconds]
MiningMarsh has joined #osdev
craigo has quit [Quit: Leaving]
zetef has joined #osdev
frkzoid has joined #osdev
bauen1 has joined #osdev
Maja has quit [Quit: No Ping reply in 180 seconds.]
Maja has joined #osdev
xFCFFDFFFFEFFFAF has joined #osdev
neo has joined #osdev
neo has quit [Remote host closed the connection]
zetef has quit [Ping timeout: 255 seconds]
zetef has joined #osdev
neo has joined #osdev
bauen1 has quit [Ping timeout: 240 seconds]
neo has quit [Remote host closed the connection]
neo has joined #osdev
neo has quit [Ping timeout: 256 seconds]
asarandi has quit [Quit: WeeChat 4.2.2]
asarandi has joined #osdev
arminweigl_ has joined #osdev
arminweigl has quit [Ping timeout: 260 seconds]
arminweigl_ is now known as arminweigl
<bslsk05> ​i.imgur.com <no title>
<zid> graphic design is my passion
xenos1984 has quit [Read error: Connection reset by peer]
<gog> word art
<gog> more like word fart
<gog> hahahahahsahaha
joe9 has joined #osdev
xenos1984 has joined #osdev
zetef has quit [Remote host closed the connection]
gog has quit [Quit: Konversation terminated!]
goliath has joined #osdev
<heat> Ermine, >libreoffice
<heat> nothanx
<zid> heat how else are you going to do your TPS reports
<heat> openoffice
<zid> I had openoffice until I installed w10
<zid> is it a dead project now or did it just go commercial I forget
<zid> I just used it as offline google spreadsheets thing, I never actually ran the word equivalent
<heat> i use google docs for stuff, works well
<zid> As long as you submit to the ToS that says anything you write is now property of HIVE MIND AI INC.
<zid> or that the website could just disappear tomorrow and there's nothing you can do
<Ermine> no formula editor in google presentations
<zid> so it's great for like, calculating profit in eve online for making t2 missiles
<heat> static void ___d_drop(struct dentry *dentry)
<heat> late stage linux programming
<zid> ___d__drop_dentry
<heat> ____d__drop
<zid> 3 -> 1 is the problem there
<zid> needs to go 3 -> 2 -> 1
<heat> do underscores need to satisfy the golden ratio?
<kof673> if you want a magic stone out of them, yes
<kof673> otherwise, no
xFCFFDFFFFEFFFAF has quit [Remote host closed the connection]
xenos1984 has quit [Ping timeout: 260 seconds]
<kof673> > Skeleton programming facilitates a top-down design approach, where a partially functional system with complete high-level structures is designed and coded , and this system is then progressively expanded to fulfill the requirements of the project.
<kof673> > The Kaffirs when fighting used to leave open spaces in their line of battle for their dead heroes to step into and stop the gap in fighting for them shoulder to shoulder and side by side.
op has quit [Remote host closed the connection]
Fingel has joined #osdev
<kof673> the first conan the barbarian movie, i believe the "wizard" does skeleton coding :D
op has joined #osdev
xenos1984 has joined #osdev
xFCFFDFFFFEFFFAF has joined #osdev
vdamewood has joined #osdev
Fingel has quit [Quit: Fingel]
Fingel has joined #osdev
bauen1 has joined #osdev
neo has joined #osdev
netbsduser has joined #osdev
xFCFFDFFFFEFFFAF has quit [Read error: Connection reset by peer]
neo has quit [Ping timeout: 268 seconds]
arminweigl_ has joined #osdev
arminweigl has quit [Ping timeout: 252 seconds]
arminweigl_ is now known as arminweigl
kristinam has joined #osdev
gog has joined #osdev
duals has joined #osdev
xFCFFDFFFFEFFFAF has joined #osdev
Fingel has quit [Quit: Fingel]
Fingel has joined #osdev
duals has quit [Ping timeout: 260 seconds]
duals has joined #osdev
neo has joined #osdev
gbowne1 has joined #osdev
JTL has quit [Remote host closed the connection]
JTL has joined #osdev
duals has quit [Remote host closed the connection]
xFCFFDFFFFEFFFAF has quit [Remote host closed the connection]
neo has quit [Ping timeout: 255 seconds]
op has quit [Remote host closed the connection]
neo has joined #osdev
neo has quit [Ping timeout: 256 seconds]
GeDaMo has quit [Quit: That's it, you people have stood in my way long enough! I'm going to clown college!]
shan has joined #osdev
neo has joined #osdev
vdamewood has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
neo has quit [Ping timeout: 252 seconds]
<sortie> https://irc.sortix.org/info.php accidentally php
<bslsk05> ​irc.sortix.org: PHP 8.3.6 - phpinfo()
neo has joined #osdev
vdamewood has joined #osdev
neo has quit [Ping timeout: 268 seconds]
<sham1> Oh cool, we can now host wordpress on a sortix system
<wantyapps> haha
<kof673> > Perhaps my greatest shock came when I found an innocent loop that had no test in it. No test. None. Common sense said it had to be a closed loop, where the program would circle, forever, endlessly. Program control passed right through it, however, and safely out the other side.
<kof673> > His venom becomes the great Medicine. He quickly consumes his venom, For he devours his poisonous tail. All this is performed on his own body, From which flows forth glorious Balm, With all its miraculous virtues.
<kof673> did not mean to interrupt, there is skeleton coding, but also druid king story of mel coding lol
<Mondenkind> FUN FACT: this can also happen in c++
<heat> yes
<heat> it's the least fun fun fact
sauce has quit [Remote host closed the connection]
sauce has joined #osdev
<sham1> FUN FACT: fun facts are usually not all that
<sham1> all that fun
<sortie> sham1, hmm wordpress you say
<sortie> though already got a static html blog thingey
<sortie> I do see the scraping bots demand that I install wordpress
heat has quit [Remote host closed the connection]
navi has quit [Quit: WeeChat 4.2.1]
Fingel has quit [Ping timeout: 246 seconds]
joe9 has quit [Quit: leaving]
Turn_Left has quit [Ping timeout: 246 seconds]
vdamewood has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Turn_Left has joined #osdev
Turn_Left has quit [Read error: Connection reset by peer]