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=18

Thursday, 18 April 2024

03:22:00 <cloudowind> hello
03:36:00 * kof673 makes aloha hand sign
03:56:00 <cloudowind> it should come now
03:56:00 <cloudowind> hello kof673
03:57:00 <cloudowind> i wrote this pythong script with chatgp's help , i always wanted to steal this chatgp and bring it here :)
03:57:00 <timer> You: please introduce yourself to my friends in #osdev
03:57:00 <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!
03:58:00 <cloudowind> i did it
03:58:00 <cloudowind> np api has been used , completly free
04:01:00 <cloudowind> ok i can take him to gurumeditation now before pissing of all the ops:)
04:01:00 <timer> You: please say goodbye to my friends in #osdev
04:01:00 <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
04:01:00 <cloudowind> ok you can go now thanks
04:01:00 <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!
04:02:00 <cloudowind> that was little show for you my friends , hey geist :) i will see yous later
04:21:00 * geist waves
06:05:00 <PapaFrog> The book was better...
08:01:00 <geist> wow ever have one of those days where you see the compiler just do something crazy clever?
08:01:00 <geist> lemme see if i can reproduce in godbolt
08:05:00 <GeDaMo> I saw a compiler turn a loop into a closed form expression once
08:05:00 <GeDaMo> And I like this one https://blog.regehr.org/archives/320#example7
08:05:00 <bslsk05> ​blog.regehr.org: Comparing Compiler Optimizations – Embedded in Academia
08:06:00 <geist> ah here we go https://gcc.godbolt.org/z/sWfqbrjvh
08:06:00 <geist> the struct foo is really an error + value tuple
08:07:00 <geist> https://gcc.godbolt.org/z/K9qsxGvKq to be more clear
08:07:00 <GeDaMo> Ah, similar to a branchless abs
08:07:00 <geist> huh clang gets it too
08:07:00 <geist> yeah
08:08:00 <geist> never seen that pattern before, that's pretty slick
08:08:00 <geist> and architesctures that have cmov can just use that: https://gcc.godbolt.org/z/PxvorjYoW
08:10:00 <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>'
08:11:00 <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`
08:14:00 <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
08:14:00 <GeDaMo> https://hbfs.wordpress.com/2008/08/05/branchless-equivalents-of-simple-functions/
08:14:00 <bslsk05> ​hbfs.wordpress.com: Branchless Equivalents of Simple Functions | Harder, Better, Faster, Stronger
08:14:00 <GeDaMo> Yeah
08:15:00 <GeDaMo> On x86 you have sign-extend ax into dx instructions
08:22:00 <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
08:22:00 <geist> one of these raw instructions you would probably never use directly but can generate a few pseudo instructions you would use
08:23:00 <geist> https://github.com/riscvarchive/riscv-zicond/blob/main/zicondops.adoc
08:23:00 <bslsk05> ​github.com: riscv-zicond/zicondops.adoc at main · riscvarchive/riscv-zicond · GitHub
08:24:00 <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
08:24:00 <geist> because you end up either adding foo to bar or 0 to bar
08:27:00 <geist> ah yep, trunk gcc understands it: https://gcc.godbolt.org/z/nj186PcK8
08:27:00 <GeDaMo> I'm just looking at https://stackoverflow.com/questions/72340698/riscv-branchless-coding/77161000#77161000 which gives an example cmov using those instructions
08:27:00 <bslsk05> ​stackoverflow.com: assembly - RISCV branchless coding - Stack Overflow
08:30:00 <geist> i guess a full cmov didn't make it because that'd require 4 args
08:31:00 <geist> this is a cmov with one of the sources a zero
08:34:00 * Mondenkind laughs in csel
08:35:00 <geist> you dawg I got your 4 args right here
08:38:00 <GeDaMo> You could do a 3 operand cmov with if c then a = b else a = a
10:04:00 <mjg> i had a dream i got relocated at work to Vault 9
10:04:00 <mjg> 's what you get for watching a lot of fallout content
10:25:00 <gog> have you watched the series
10:25:00 <zid> moaning
10:25:00 <gog> we finished
10:25:00 <gog> i enjoyed it a lot
10:26:00 * vdamewood gives gog a fishy
10:27:00 * gog chomp fishy
10:27:00 <mjg> gog: mofo i was talking about it myself
10:27:00 <mjg> gog: i mean recommending
10:27:00 <heat> mjg, it was a nightmare, you joined vault 9 and found out their system didn't scale
10:28:00 <mjg> people claim it introduces lore inconsistencies with one of the fallout games
10:28:00 <gog> the _only_ inconsistency is timeline afaik
10:28:00 <gog> that's it
10:28:00 <mjg> i would not know, i only played f1 and 2, and even then i don't remember muhc
10:29:00 <gog> everything else seemed pretty solid in terms of its relation to the universe's already-established lore
10:29:00 <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
10:29:00 <mjg> to my undersatnding today's fans don't know much about the 2 games i did play
10:29:00 <mjg> ;)
10:29:00 <mjg> and there was quite a bit of content after
10:31:00 <mjg> all that said, i wish they made a fallout show back in the day instead of game of thrones
10:31:00 <mjg> would be fucking great
10:31:00 <mjg> several seasons, maybe a spinoff
10:33:00 <mjg> my only compliant about the show is the ghoul
10:33:00 <mjg> i think they made him too powerful
10:34:00 <GeDaMo> I think I read it's getting a second season
10:34:00 <mjg> they definitely did setup a second season
10:35:00 <mjg> i mean if this all happened 10+ years ago i would not have to wait :)
10:36:00 <mjg> apparently it is a success all around, so i would be deeply shocked if they did not film it
10:39:00 <gog> i think how one becomes a ghoul in the series is something new
10:40:00 <mjg> i'm guessing in that world they did not invent webdev, did they
10:40:00 <mjg> sheltered fucking existence of that ghoul innit
10:55:00 <nikolar> Lol
11:00:00 <zid> eyy niko, let's go bowling
11:13:00 <nikolapdp> how
11:14:00 <nikolapdp> zid ^
11:14:00 <GeDaMo> I'd be surprised if there weren't online bowling games
11:35:00 <zid> gog I am out of wood, how u mine 4 wood
11:38:00 <vdamewood> zid: You find wood mine?
11:39:00 <zid> wood mines are weird, instead of being hidden inside rock
11:39:00 <zid> they're hidden inside atmosphere
11:41:00 <GeDaMo> Damned gas breathers! :P
12:45:00 <zid> GeDaMo: That's why I strictly breathe soup
12:45:00 * vdamewood gives zid a tank full of tomato bisque
12:47:00 <zid> I'm not sure breathing seafood sauce would be healthy
12:47:00 <sauce> only one way to find out
12:47:00 <zid> oh, hey sauce, ping
12:48:00 <sauce> pong
12:49:00 <nikolapdp> zid when are we going bowling
12:51:00 <zid> you're suppsed to say no, nobody *actually* goes bowling with the cousin
12:51:00 <zid> if you wanna go you'll have to come to me
12:51:00 <nikolapdp> ):
16:01:00 <Ermine> heat: https://i.imgur.com/Sc3B7UF.png
16:01:00 <bslsk05> ​i.imgur.com <no title>
16:17:00 <zid> graphic design is my passion
16:18:00 <gog> word art
16:18:00 <gog> more like word fart
16:19:00 <gog> hahahahahsahaha
17:07:00 <heat> Ermine, >libreoffice
17:07:00 <heat> nothanx
17:08:00 <zid> heat how else are you going to do your TPS reports
17:09:00 <heat> openoffice
17:09:00 <zid> I had openoffice until I installed w10
17:10:00 <zid> is it a dead project now or did it just go commercial I forget
17:10:00 <zid> I just used it as offline google spreadsheets thing, I never actually ran the word equivalent
17:11:00 <heat> i use google docs for stuff, works well
17:11:00 <zid> As long as you submit to the ToS that says anything you write is now property of HIVE MIND AI INC.
17:12:00 <zid> or that the website could just disappear tomorrow and there's nothing you can do
17:13:00 <Ermine> no formula editor in google presentations
17:14:00 <zid> so it's great for like, calculating profit in eve online for making t2 missiles
17:14:00 <heat> static void ___d_drop(struct dentry *dentry)
17:14:00 <heat> late stage linux programming
17:14:00 <zid> ___d__drop_dentry
17:14:00 <heat> ____d__drop
17:14:00 <zid> 3 -> 1 is the problem there
17:14:00 <zid> needs to go 3 -> 2 -> 1
17:15:00 <heat> do underscores need to satisfy the golden ratio?
17:15:00 <kof673> if you want a magic stone out of them, yes
17:15:00 <kof673> otherwise, no
17:25:00 <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.
17:25:00 <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.
17:26:00 <kof673> the first conan the barbarian movie, i believe the "wizard" does skeleton coding :D
20:54:00 <sortie> https://irc.sortix.org/info.php accidentally php
20:54:00 <bslsk05> ​irc.sortix.org: PHP 8.3.6 - phpinfo()
21:18:00 <sham1> Oh cool, we can now host wordpress on a sortix system
21:27:00 <wantyapps> haha
21:31:00 <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.
21:32:00 <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.
21:32:00 <kof673> did not mean to interrupt, there is skeleton coding, but also druid king story of mel coding lol
21:33:00 <Mondenkind> FUN FACT: this can also happen in c++
21:33:00 <heat> yes
21:33:00 <heat> it's the least fun fun fact
21:55:00 <sham1> FUN FACT: fun facts are usually not all that
21:55:00 <sham1> all that fun
22:18:00 <sortie> sham1, hmm wordpress you say
22:18:00 <sortie> though already got a static html blog thingey
22:18:00 <sortie> I do see the scraping bots demand that I install wordpress