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
<heat> wow, the ar format is a mess
<heat> it's like tar but without the t
Arthuria has quit [Ping timeout: 276 seconds]
netbsduser has quit [Ping timeout: 264 seconds]
rpnx has joined #osdev
[_] has joined #osdev
[itchyjunk] has quit [Ping timeout: 276 seconds]
blockhead has quit [Ping timeout: 252 seconds]
<mcrod> hi
zetef has quit [Ping timeout: 256 seconds]
rpnx has quit [Quit: My laptop has gone to sleep.]
goliath has quit [Quit: SIGSEGV]
Gurkenglas has quit [Ping timeout: 250 seconds]
dude12312414 has joined #osdev
Turn_Left has quit [Read error: Connection reset by peer]
eck has quit [Ping timeout: 255 seconds]
eck has joined #osdev
rpnx has joined #osdev
dude12312414 has quit [Quit: THE RAM IS TOO DAMN HIGH]
vdamewood has joined #osdev
Arthuria has joined #osdev
heat has quit [Ping timeout: 256 seconds]
terrorjack has quit [Quit: The Lounge - https://thelounge.chat]
terrorjack has joined #osdev
rpnx has quit [Quit: My laptop has gone to sleep.]
netbsduser has joined #osdev
sortie has quit [Ping timeout: 276 seconds]
sortie has joined #osdev
sortie has quit [Ping timeout: 255 seconds]
sortie has joined #osdev
netbsduser has quit [Ping timeout: 252 seconds]
alpha2023 has quit [Ping timeout: 252 seconds]
alpha2023 has joined #osdev
vdamewood has quit [Quit: Life beckons]
qxz2 has quit [Quit: .]
qxz2 has joined #osdev
vilya_ has quit [Ping timeout: 256 seconds]
vilya has joined #osdev
vdamewood has joined #osdev
netbsduser has joined #osdev
Arthuria has quit [Ping timeout: 256 seconds]
rustyy has quit [Quit: leaving]
netbsduser has quit [Ping timeout: 256 seconds]
rustyy has joined #osdev
gbowne1 has quit [Quit: Leaving]
netbsduser has joined #osdev
vdamewood has quit [Ping timeout: 268 seconds]
zetef has joined #osdev
netbsduser has quit [Ping timeout: 255 seconds]
vdamewood has joined #osdev
goliath has joined #osdev
vdamewood has quit [Quit: Life beckons]
zetef has quit [Ping timeout: 255 seconds]
eck has quit [Ping timeout: 264 seconds]
eck has joined #osdev
vdamewood has joined #osdev
<geist> aarrrr
rpnx has joined #osdev
err has quit [Ping timeout: 268 seconds]
<Mutabah> it be pirate geist
<geist> arrr
<klange> what ye be plunderin?
zetef has joined #osdev
<Ermine> Arrrgh
<Ermine> Please plunder companies that produce IoT devices
<Mutabah> Ewww... nobody wants that IP
<zid> I picture like charity, where you buy other people's debts and cancel them
<zid> buy IoT IP and burn it
rpnx has quit [Quit: My laptop has gone to sleep.]
rpnx has joined #osdev
rpnx has quit [Client Quit]
danilogondolfo has joined #osdev
GeDaMo has joined #osdev
vinleod has joined #osdev
vdamewood has quit [Ping timeout: 276 seconds]
vinleod is now known as vdamewood
<kof123> and thus it was, the "booty" bootloader was born -- morgan freeman, narrator
heat has joined #osdev
zetef has quit [Ping timeout: 256 seconds]
gog has joined #osdev
vdamewood has quit [Quit: Life beckons]
pretty_dumm_guy has joined #osdev
agent314 has joined #osdev
heat_ has joined #osdev
heat has quit [Read error: Connection reset by peer]
heat_ has quit [Remote host closed the connection]
heat_ has joined #osdev
vdamewood has joined #osdev
Left_Turn has joined #osdev
netbsduser has joined #osdev
vinleod has joined #osdev
vdamewood has quit [Read error: Connection reset by peer]
xenos1984 has quit [Read error: Connection reset by peer]
agent314 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
vinleod has quit [Read error: Connection reset by peer]
zetef has joined #osdev
MrPortmaster has joined #osdev
vdamewood has joined #osdev
MrPortmaster is now known as MrBonkers
heat_ has quit [Read error: Connection reset by peer]
heat_ has joined #osdev
xenos1984 has joined #osdev
lojik has joined #osdev
zetef has quit [Ping timeout: 264 seconds]
Gurkenglas has joined #osdev
vilya has quit [Ping timeout: 256 seconds]
vilya has joined #osdev
hbag has joined #osdev
stolen has joined #osdev
[itchyjunk] has joined #osdev
[_] has quit [Ping timeout: 276 seconds]
MiningMarsh has quit [Quit: ZNC 1.8.2 - https://znc.in]
benlyn has joined #osdev
MiningMarsh has joined #osdev
edr has joined #osdev
agent314 has joined #osdev
Turn_Left has joined #osdev
Left_Turn has quit [Ping timeout: 256 seconds]
FreeFull has joined #osdev
xenos1984 has quit [Read error: Connection reset by peer]
err has joined #osdev
xenos1984 has joined #osdev
nikolar has quit [Quit: ZNC - https://znc.in]
agent314 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
dude12312414 has joined #osdev
Gurkenglas has quit [Ping timeout: 250 seconds]
zetef has joined #osdev
Gurkenglas has joined #osdev
dude12312414 has quit [Quit: THE RAM IS TOO DAMN HIGH]
agent314 has joined #osdev
goliath has quit [Quit: SIGSEGV]
zetef has quit [Ping timeout: 252 seconds]
zetef has joined #osdev
<heat_> mjg, have you considered doing a where's waldo of PESSIMAL in code?
<heat_> or however the book's called in poland
<heat_> where's wojtek? sounds legit
<sham1> If you can find an artillery shell carrying bear, I'd be surprised
<heat_> it turns out artillery shell carrying bears are not easily concealed
<mjg> i'm too busy writing RUST
vilya has quit [Ping timeout: 256 seconds]
ketan has joined #osdev
vilya has joined #osdev
agent314 has quit [Ping timeout: 256 seconds]
agent314 has joined #osdev
joe9 has joined #osdev
<Ermine> Bolek i Lolek nice
zetef has quit [Ping timeout: 255 seconds]
zxrom has quit [Quit: Leaving]
vilya has quit [Ping timeout: 256 seconds]
<joe9> any recommendations for an assembler? Fasm?
<Ermine> For learning or for actual things?
stolen has quit [Quit: Connection closed for inactivity]
vilya has joined #osdev
<Ermine> For learning, intel syntax is easier, so nasm or yasm
<joe9> for actual things?
<Ermine> For actual things: everybody is using gas and at&t syntax
<joe9> I keep reading that FASM is better than NASM.
<joe9> but, the differences seem to be minor, imho.
<joe9> folks still use at&t syntax?
<joe9> thanks.
ZipCPU has quit [Ping timeout: 260 seconds]
Hammdist has quit [Quit: Client closed]
Left_Turn has joined #osdev
Turn_Left has quit [Ping timeout: 256 seconds]
<heat_> AT&T vs Intel is a matter of taste, but ultimately using GAS + AT&T will lead to better/easier results if you're using a GNU toolchain (or LLVM)
<heat_> since you won't need a separate assembler, and the inline assembly is also AT&T syntax, and the assembly gcc outputs will also be in AT&T
gog has quit [Quit: Konversation terminated!]
Vercas has joined #osdev
gog has joined #osdev
xenos1984 has quit [Ping timeout: 256 seconds]
xenos1984 has joined #osdev
flom84 has quit [Remote host closed the connection]
<joe9> ok, thanks. Reading up on it, At&T syntax is more readable than the Intel syntax.
<heat_> what
<gog> lmfao
<gog> here we goooo
<heat_> listen i'm an AT&T fan and even I can't say that without laughing
<joe9> oh, really. I got my info from here: https://imada.sdu.dk/u/kslarsen/dm546/Material/IntelnATT.htm
<bslsk05> ​imada.sdu.dk: Intel and AT&T Syntax
<joe9> other than the disp(base, index, scale), I like the AT&T syntax.
<joe9> It maintains the distinction between registers and immediate values.
<netbsduser> fasm seems to have a cult following
<netbsduser> but i am not fussed with that stuff, all i need is the GNU C Compiler
<heat_> AMEN BROTHA
<heat_> GNUUUUUUUUUUUU C
zxrom has joined #osdev
ZipCPU has joined #osdev
agent314 has quit [Ping timeout: 255 seconds]
agent314 has joined #osdev
<Ermine> better than msvc
<gog> ziiiiiiiiiiig
<mcrod> gog
<mcrod> i still want to pet you
<gog> hi
ketan has quit [Quit: Leaving]
termin has joined #osdev
<mcrod> hi
ZipCPU has quit [Ping timeout: 255 seconds]
xenos1984 has quit [Ping timeout: 256 seconds]
ZipCPU has joined #osdev
Gurkenglas has quit [Quit: Client closed]
qookie has quit [Remote host closed the connection]
Arsen has quit [Read error: Connection reset by peer]
qookie has joined #osdev
Arsen has joined #osdev
xenos1984 has joined #osdev
termin has quit [Ping timeout: 256 seconds]
gorgonical has joined #osdev
<gorgonical> what's up everyone
<mjg> rust crate download counts
<gorgonical> v nice
<gorgonical> after a week of conferencing i'm glad that my weight isn't
<gorgonical> i have managed to get my virtio implementation to behave correctly for polling, too
<gorgonical> I don't know what I'd call the process but my forth OS can now dump state to disk and I can embed that into the .bin that I boot now
CaptainIRS8 has joined #osdev
termin has joined #osdev
CaptainIRS has quit [Ping timeout: 252 seconds]
CaptainIRS8 is now known as CaptainIRS
rpnx has joined #osdev
gog has quit [Read error: Connection reset by peer]
gog has joined #osdev
<dzwdz> is there some way to get autoconf to recognize my os without having to patch the config.sub of every package i port?
<dzwdz> also hi
nikolar has joined #osdev
<sortie> dzwdz, yes, just upstream your OS to the official GNU config repository and wait a couple years
<sortie> For real, if anyone here has a reasonably established OS and expect to be around in a couple years, do it NOW, it's easy enough and pays off down the road
<dzwdz> > expects to be around in a couple years
<dzwdz> like, doing osdev, or in general?
<sortie> Like is your OS a thing that's going to go away or stick around?
<sortie> Like mine is still a thing after about 12 years
<dzwdz> i'd hope it doesn't stick around tbh
<dzwdz> it's an experiment more than anything else
<sortie> Yeah if that's your attitude, then it's not really that helpful to anyone to upstream it
<sortie> I mean your build system can trivially recognize config.sub and patch it for you, or just replace it
<dzwdz> true
<dzwdz> i could just, like, sed -i s/sortix/dzwdzos3000/ -i $tarball_dir/config.sub
<sortie> Yeah I upstreamed it like 2016
<sortie> Should be everywhere now, I would think
agent314 has quit [Quit: No Ping reply in 180 seconds.]
agent314 has joined #osdev
rpnx has quit [Quit: My laptop has gone to sleep.]
<gog> hi
<dzwdz> hi
<gog> i'm cooking spaghetti
<gorgonical> has the island exploded yet gog
<gog> not the code kind
<gog> no but grindavík continues to get fucked up by earthquakes
<gog> nobody's allowed back yet
<gog> they're gonna have to demolish a lot of buildings
<gorgonical> hopefully nothing more serious happens
<gog> hopefully
<gog> they're busy at work with an earthen wall to protect svartsengi and blue lagoon "to a lesser extent"
<gorgonical> hmm yeah never occurred to me that you can redirect lava
<sortie> 307 Eruption Moved Permanently
<gorgonical> an interesting question: how do you deal with the lava that's just on the surface once it cools and becomes rock? does grindavik just get a free road resurfacing or do you have to cart it away?
<sortie> Iceland is basically built around dealing with lava that ended up stupid palces
<sortie> One of the reasons I love the island
termin has quit [Ping timeout: 256 seconds]
Gurkenglas has joined #osdev
vilya has quit [Ping timeout: 256 seconds]
vilya has joined #osdev
<dzwdz> is int rand(void) { return 4; } spec-compliant?
<gorgonical> Only if you add comments saying "//randomly generated"
<dzwdz> i just need a rand() because curl's configure script fails if i don't have one
<dzwdz> even though curl doesn't use rand() anywhere
<gorgonical> Oh I was gonna suggest the naivest possible implementation of just gettime()
<dzwdz> surely xkcdrng won't cause issues in the future either
<dzwdz> i don't even know if i support time
<gorgonical> you could bypass it and just do a direct cycle sample if your arch supports userspace sampling
<gorgonical> arm64 does anyway
<dzwdz> hm, i think i can get the amount of us since boot
<dzwdz> i'm just going to leave it at 4
<dzwdz> not even gonna pretend it's random
heat has joined #osdev
heat_ has quit [Read error: Connection reset by peer]
netbsduser has quit [Ping timeout: 264 seconds]
goliath has joined #osdev
netbsduser has joined #osdev
rpnx has joined #osdev
termin has joined #osdev
<gog> hi
<gog> the entirety of iceland is lava that ended up in a stupid place
* Ermine considers moving to iceland
<gog> you can move here on the condition that you give me pets
termin has quit [Read error: Connection reset by peer]
<zid> Incredibly stupid place
<zid> You should have put it in france or somewhere nice
<zid> It's double better to put it in france, because it both gets you somewhere nice to live, and destroys part of france
<zid> win win
termin has joined #osdev
GeDaMo has quit [Quit: That's it, you people have stood in my way long enough! I'm going to clown college!]
zetef has joined #osdev
<Ermine> gog: this is bargain
zetef has quit [Ping timeout: 255 seconds]
zetef has joined #osdev
<gorgonical> I'll move anywhere with reasonable rent, healthcare, and vacation days
<gorgonical> I'm open to offers
<Ermine> I need suitable job and good civil rights record
<Ermine> healthcare sucks everywhere apparently
<gorgonical> Ermine you don't happen to be the guy that makes the ermine utility are you
<Ermine> No
<Ermine> What utility is it?
<zid> I need entertain for 40 mins
<gorgonical> It's like statifier but really fancy. Makes dynamic linked elfs into static ones
<zid> my enclosure lacks honzuki prepubs for enrichment so I am lashing out
<Ermine> gorgonical: sounds interesting, kudos to that ermine author!
<gorgonical> He charges a shitload for licenses lol
<Ermine> My utilities are named after anime girls or have a lot of pathos in them
<gorgonical> I mean seems like a useful tool but it's like $10,000 a seat
<Ermine> OH
<gorgonical> yeah so instead I'm adding dynamic linker/loader support to my kernel
<gorgonical> If that takes me less than 4 months we break even cost-wise
<Ermine> I don't charge. At this point you have the full right to charge me for using my utilities
<gorgonical> I'm just gonna reuse musl's ld.so and I'm pretty sure that if I map all segments as rw by default and ignore MAP_FIXED it'll just work
<gorgonical> We don't have map_fixed support because redoing mmap segments is weird in our memory subsystem
<Ermine> Also I have no possibility to charge most people here
termin has quit [Read error: Connection reset by peer]
<gorgonical> You could set up like... a bot that dms people with a link to an invoice every Friday at EOB
<Ermine> nah, I'm whining about sanctions again
rpnx has quit [Quit: My laptop has gone to sleep.]
<gorgonical> join the cyberpunk dystopia and charge us in monero
<Ermine> I can send some ransomware as well
<Ermine> As invoice
gorgonical has quit [Ping timeout: 264 seconds]
<heat> Ermine, come 2 portugal
<heat> lots of sun and free mediocre healthcare
<heat> you'll wait in line for a bunch of hours but at least you won't die!
<Ermine> sounds lile I'm not losing anything
<Ermine> and gaining sun
<heat> yeah and you'll feel right at home
<bslsk05> ​www.reddit.com: Reddit - Dive into anything
<nikolar> i wonder if it's possible to use ssh x forwarding to open a window from a server without x
Arthuria has joined #osdev
Arthuria has quit [Killed (NickServ (GHOST command used by Guest684531))]
Arthuria has joined #osdev
danilogondolfo has quit [Remote host closed the connection]
rpnx has joined #osdev
zxrom has quit [Ping timeout: 255 seconds]
gbowne1 has joined #osdev
gbowne1 has quit [Remote host closed the connection]
gbowne1 has joined #osdev
<heat> my bluetooth buds have this annoying quirk with linux's bluetooth stack where i need to constantly re-pair them or linux can't connect
<heat> mildly to severely annoying
<Ermine> my bluetooth headphones didn't connect at all at some point of time
<Ermine> what is android's special sauce to make them just work?
<Ermine> Well, besides them stopping working at times
<zid> bluetooth doesn't work on windows either heat so you're fine
<Ermine> On windows first some moments of audio get eaten by system
<heat> works fine for me on windoze
<heat> Ermine, android has a completely different bluetooth stack, apart from the kernel drivers
<Ermine> closed source I guess?
<heat> no
<Ermine> or too tied to other android stuff so it's infeasible to pull it off and put it into desktop luniks stack?
rpnx has quit [Quit: My laptop has gone to sleep.]
rpnx has joined #osdev
<gog> defer
<gog> try expressions
<gog> dang
<gog> idgaf about memory safety
<gog> hi
<zid> have you ever fluorinated a rat
<kazinsal> I tend to avoid fluorinating things
<heat> gog
<gog> heat
<heat> i live in spain but the pain is silent
<gog> heat
<gog> ba-zig-a
<heat> /votekick gog
<heat> f1 guys
<gog> kazinsal: heat is being mean to me because i'm learning zig and kinda like it
pretty_dumm_guy has quit [Quit: WeeChat 3.5]
<kazinsal> heat stop being mean to gog
<heat> Ermine, i don't know how tied up it is, but I remember reading stories of people using linux and getting that stack to work
<heat> called fluoride I think?
* gog hides by kazinsal
<heat> kazinsal, ok but just cuz i want to
<heat> you're not my boss
<gog> "you're not my osdev supervisor!!"
blockhead has joined #osdev
<heat> my osdev manager
<gog> mow
<gog> how long until i get bored with zig and come crawling back to c
<gog> even though i'm really bored of having to boilerplate and write stupid fucking macros
<gog> c++ doesn't even rescue one from that nonsense
<heat> depends?
<gog> ok
<gog> i love c but i also hate it
<Ermine> or you read dragon book and come up with yet another c replacement
<gog> what's dragon book
<zid> dragon book
<zid> teaches you how to compile dragons
<zid> v. famous
<gog> oh
<Ermine> Aho, Ullman, Lam, Sethi
<gog> maybe i'll get a copy
<zid> compiler theory is fucking nonsense
<zid> it's like reading an abstract hyperdimensional calculus book
<zid> compiler books write things like "Let the set of tokens T by mapped over the set of lexical codepoints of W, such that.."
<zid> and expect people to write compilers afterwards
<blockhead> https://suif.stanford.edu/dragonbook/ <-- is this what you meant by the dragon book?
<Ermine> Meanwhile qbe code is funky
<zid> yes that is the dragon book
<blockhead> ty
rpnx has quit [Quit: My laptop has gone to sleep.]
<gog> i think i could figure that out
<gog> i'm going to write a c replacement
<gog> jk
<gog> i'm way too incompetent for that
<gog> i'm actually having a severe moment of about-to-do-negative-self-talk because i said i wanted to do something challenging and know that i'll struggle and get bored and just decide that i'm not capable
<gog> night
<Ermine> I know that feeling
gog has quit [Quit: byee]
foudfou_ has joined #osdev
foudfou has quit [Ping timeout: 240 seconds]
<heat> Ermine, tbf qbe is not a compiler
<heat> compilar*
Gurkenglas has quit [Quit: Client closed]
<Ermine> why?
<heat> actually it's kind of a compiler, but not really
divine has quit [Remote host closed the connection]
<heat> qbe and llvm really are just basic IR -> instructions 'compilers'
<heat> LLVM at least doesn't even require textual output, it can just take bytecode
Left_Turn has quit [Read error: Connection reset by peer]
<Ermine> translator or transpiler are maybe the right words here
zxrom has joined #osdev
<kof123> > i wonder if it's possible to use ssh x forwarding to open a window from a server without x yes, it just needs x libs, and even tinyx libs will do