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
Halofreak1990 has quit [Ping timeout: 265 seconds]
Halofreak1990 has joined #osdev
wgrant has quit [Ping timeout: 260 seconds]
Lucretia has quit [Remote host closed the connection]
wgrant has joined #osdev
Turn_Left has quit [Read error: Connection reset by peer]
netbsduser` has quit [Ping timeout: 248 seconds]
troseman has joined #osdev
troseman has quit [Client Quit]
Halofreak1990 has quit [Ping timeout: 252 seconds]
the_oz has quit [Ping timeout: 260 seconds]
surabax has quit [Quit: Leaving]
pounce has quit [Read error: Connection reset by peer]
pounce has joined #osdev
f_ has quit [Read error: Connection reset by peer]
andreas303 has quit [Quit: fBNC - https://bnc4free.com]
f_ has joined #osdev
CompanionCube has quit [Remote host closed the connection]
geist has quit [Read error: Connection reset by peer]
geist has joined #osdev
andreas303 has joined #osdev
brynet has quit [Ping timeout: 248 seconds]
Maja__ has joined #osdev
CompanionCube has joined #osdev
Maja has quit [Ping timeout: 248 seconds]
dinkelhacker has quit [Ping timeout: 248 seconds]
brynet has joined #osdev
dinkelhacker has joined #osdev
gog has quit [Quit: byee]
craigo has joined #osdev
m5zs7k has quit [Ping timeout: 268 seconds]
Maja__ has quit [Ping timeout: 246 seconds]
sdomi has quit [Ping timeout: 265 seconds]
sdomi has joined #osdev
Maja has joined #osdev
chiselfuse has quit [Remote host closed the connection]
chiselfuse has joined #osdev
sidcha has quit [Quit: The Lounge - https://thelounge.chat]
m5zs7k has joined #osdev
sidcha has joined #osdev
the_oz has joined #osdev
m5zs7k has quit [Ping timeout: 248 seconds]
m5zs7k has joined #osdev
heat has quit [Ping timeout: 268 seconds]
hwpplayer1 has joined #osdev
Yoofie646446 has quit [Ping timeout: 268 seconds]
Arthuria has quit [Ping timeout: 252 seconds]
air has quit [Quit: cria 0.2.9cvs17 -- http://cria.sf.net]
air has joined #osdev
Halofreak1990 has joined #osdev
Yoofie646446 has joined #osdev
Arthuria has joined #osdev
hwpplayer1 has quit [Remote host closed the connection]
Arthuria has quit [Ping timeout: 276 seconds]
goliath has joined #osdev
osmten has joined #osdev
dinkelhacker_ has joined #osdev
agent314 has joined #osdev
Matt|home has quit [Ping timeout: 260 seconds]
Lucretia has joined #osdev
cloudowind has quit [Ping timeout: 245 seconds]
cloudowind has joined #osdev
Halofreak1990 has quit [Ping timeout: 245 seconds]
gmodena has joined #osdev
dinkelhacker_ has quit [Quit: Client closed]
osmten has quit [Quit: Client closed]
osmten has joined #osdev
zenmov has joined #osdev
agent314 has quit [Ping timeout: 248 seconds]
agent314 has joined #osdev
zenmov is now known as goopcode
goopcode has quit [Changing host]
goopcode has joined #osdev
GeDaMo has joined #osdev
goopcode has quit [Ping timeout: 268 seconds]
goopcode has joined #osdev
goopcode has quit [Ping timeout: 268 seconds]
goopcode has joined #osdev
goopcode has quit [Ping timeout: 244 seconds]
goopcode has joined #osdev
q3lont has joined #osdev
PapaFrog has quit [Quit: ZNC 1.8.2+deb3.1+deb12u1 - https://znc.in]
PapaFrog has joined #osdev
agent314 has quit [Ping timeout: 268 seconds]
agent314 has joined #osdev
leon has quit [Ping timeout: 272 seconds]
leon_ has joined #osdev
leon_ is now known as leon
vismie has quit [Remote host closed the connection]
baraq has quit [Remote host closed the connection]
gjn has quit [Remote host closed the connection]
exec64 has quit [Remote host closed the connection]
jleightcap has quit [Remote host closed the connection]
pitust has quit [Remote host closed the connection]
hanemile has quit [Remote host closed the connection]
deglebe has quit [Remote host closed the connection]
zenomat has quit [Remote host closed the connection]
whereiseveryone has quit [Remote host closed the connection]
ddevault has quit [Remote host closed the connection]
tommybomb has quit [Remote host closed the connection]
sm2n has quit [Remote host closed the connection]
patwid has quit [Remote host closed the connection]
asymptotically has quit [Remote host closed the connection]
rselim has quit [Remote host closed the connection]
yuiyukihira has quit [Remote host closed the connection]
listentolist has quit [Remote host closed the connection]
mzh has quit [Remote host closed the connection]
xtex has quit [Remote host closed the connection]
lh has quit [Remote host closed the connection]
noeontheend has quit [Write error: Broken pipe]
tom5760 has quit [Remote host closed the connection]
lucyy has quit [Remote host closed the connection]
nagitsu has quit [Write error: Broken pipe]
ursa-major has quit [Remote host closed the connection]
agent314 has quit [Ping timeout: 252 seconds]
agent314 has joined #osdev
dinkelhacker_ has joined #osdev
agent314 has quit [Ping timeout: 248 seconds]
ryoskzypu has quit [Remote host closed the connection]
Left_Turn has joined #osdev
ryoskzypu has joined #osdev
ryoskzypu has quit [Ping timeout: 264 seconds]
ryoskzypu has joined #osdev
Halofreak1990 has joined #osdev
osmten has quit [Quit: Client closed]
osmten has joined #osdev
netbsduser` has joined #osdev
Halofreak1990 has quit [Ping timeout: 244 seconds]
ryoskzypu has quit [Ping timeout: 264 seconds]
q3lont has quit [Quit: Leaving]
Halofreak1990 has joined #osdev
ryoskzypu has joined #osdev
mzh has joined #osdev
rselim has joined #osdev
listentolist has joined #osdev
deglebe has joined #osdev
zenomat has joined #osdev
exec64 has joined #osdev
tommybomb has joined #osdev
lucyy has joined #osdev
tom5760 has joined #osdev
ddevault has joined #osdev
vismie has joined #osdev
nagitsu has joined #osdev
patwid has joined #osdev
asymptotically has joined #osdev
jleightcap has joined #osdev
pitust has joined #osdev
yuiyukihira has joined #osdev
gjn has joined #osdev
hanemile has joined #osdev
lh has joined #osdev
xtex has joined #osdev
sm2n has joined #osdev
whereiseveryone has joined #osdev
ursa-major has joined #osdev
baraq has joined #osdev
noeontheend has joined #osdev
Halofreak1990 has quit [Ping timeout: 265 seconds]
<zid`> oh neat is missingo
surabax has joined #osdev
<nikolar> neat is missingo?
<Ermine> a wild neat^Wmissingno appeared!
<netbsduser`> i have been overhauling my driver framework in the area of block and other "block like" requests (usb requests and such)
<netbsduser`> now the time is approaching fast where i need to give character io the treatment it deserves
<netbsduser`> STREAMS appears to be the most elegant way to structure a character device driver stack
osmten has quit [Quit: Client closed]
osmten has joined #osdev
<nikolar> netbsduser`: are you going to add STREAMS?
<netbsduser`> nikolar: at least something inspired by it in structure
<nikolar> nice
osmten has quit [Client Quit]
Turn_Left has joined #osdev
Left_Turn has quit [Ping timeout: 244 seconds]
Halofreak1990 has joined #osdev
hwpplayer1 has joined #osdev
dinkelhacker_ has quit [Quit: Client closed]
edr has joined #osdev
<the_oz> sequential bits WITHOUT TYPE CRAP WITHOUT FUNCTION CRAP etc
<the_oz> I'm of the opinion that the coupling of data and functions is a mistake
<the_oz> and any derivation thereof mutated egregores
<pog> separate data and behavior
<nikolar> you can't say that
<nikolar> oop police will find you
<the_oz> *this
<the_oz> >LOL
Gordinator has joined #osdev
Gordinator has quit [Quit: My client has closed - perhaps I did that, perhaps I didn't]
alpha2023 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
bauen1 has quit [Ping timeout: 260 seconds]
<kof673> model view controller <ducks and covers>
dinkelhacker_ has joined #osdev
<kof673> Data And Code Are The Same Thing - C2 wiki depends if you are trying to jit or not :D
teroshan has left #osdev [The Lounge - https://thelounge.chat]
<kof673> quote: These are the two serpents, given and sent by Juno, (that is the nature metallic), they which the strong Hercules, that is to say, the sage and wise man, must strangle in his cradle, that is, overcome and kill them, to make them putrify, corrupt, and ingender at the beginning of his work. > He, saith Haly, that shall kill the one, shall also kill the other, because the one cannot die, but with his brother.
<kof673> egregore is a good word :D
pog has quit [Quit: WeeChat 3.5]
<zid`> I meant to say rabbitlandperson not neat, was teepo
pog has joined #osdev
Gordinator has joined #osdev
Halofreak1990 has quit [Ping timeout: 260 seconds]
Left_Turn has joined #osdev
Turn_Left has quit [Ping timeout: 265 seconds]
dinkelhacker_ has quit [Ping timeout: 240 seconds]
<the_oz> is you a teepo peepo?
<the_oz> you hush up back there with your mvc nonsense!
<the_oz> geumble grumble
<kof673> well what is a character for a character device? 24 bits like my c89 dsp "chars" :D
<kof673> yes, standardize on this
<kof673> at that level then, choice of language dictates....
<kof673> or choice of hardware...
<the_oz> why settle on streams of 8bits when creating a binary stream driver genericizer
agent314 has joined #osdev
<the_oz> the 8 is just extraneous just because your brain is dumb and hasn't had to reconcile a non-8 definition in protocol yet
Turn_Left has joined #osdev
Left_Turn has quit [Ping timeout: 248 seconds]
<nikolar> i think everyone has settled on 8 bits decades ago
<nikolar> it's got nothing to do with anyone's brain being too dumb
<zid`> it'd be a fun thing to do, make your ram 9 bit
<the_oz> depends on what "block like" means
<zid`> because now 100% of all files and programs and stuff are just wasting a bit doing nothing
<zid`> 7 bit would be extra fun
<zid`> have to encode every char as a u16
<the_oz> because in my mind that places it outsdide characters definitions
<zid`> but it'd be HUGE SAVINGS for ascii
<zid`> utf-8 can fuck off
craigo has quit [Ping timeout: 252 seconds]
<the_oz> not that "it's a variant of a character" but literally talking to digital devices in weirdo protocols
<the_oz> >my ECC!!!
goliath has quit [Quit: SIGSEGV]
alpha2023 has joined #osdev
xenos1984 has quit [Read error: Connection reset by peer]
bauen1 has joined #osdev
<the_oz> zid, there are quite a few ways you can shave savings. Not just by shrinking to 3 character max, removing junk, etc
<the_oz> buuuut you would need to violate backward compatibility
<kof673> pdp10 or something is 36-bit, so c uses 9-bit chars IIRC....but need to boot up tops-20 or something to assemble and link there i believe... the gcc can cross, just outputs assembly IIRC :D
<kof673> it is not exactly high priority for me .........
<kof673> https://github.com/PDP-10/kcc/ that too i believe, have to assemble and link elsewhere...
<bslsk05> ​PDP-10/kcc - Kok Chen's C compiler for PDP-10 (0 forks/12 stargazers)
<the_oz> driver framework for doing things like usb requests
<kof673> "full ANSI" supposedly
xenos1984 has joined #osdev
bauen1 has quit [Ping timeout: 252 seconds]
FreeFull has quit [Ping timeout: 260 seconds]
FreeFull has joined #osdev
bauen1 has joined #osdev
gildasio has quit [Remote host closed the connection]
gildasio has joined #osdev
FreeFull has quit []
<Ermine> kok
Matt|home has joined #osdev
Bonstra has quit [Quit: Pouf c'est tout !]
<Ermine> i have achieved comedy
<pog> that's not funny
<pog> you wanna hear a joke
* pog
Bonstra has joined #osdev
Matt|home has quit [Read error: Connection reset by peer]
goliath has joined #osdev
eddof13 has joined #osdev
<zid`> pog my ass is broken again
<pog> sorry about that
<pog> i'll be more gentle next time
<zid`> I should get a new one
bauen1 has quit [Quit: leaving]
Arthuria has joined #osdev
heat has joined #osdev
<zid`> oh there's rabbitland
<heat> what the fuck is rabbitland
<heat> netbsduser`, consider this: STREAMS sucks
<zid`> hispania
<heat> sorry hombre no hablo
<zid`> what the romans called iberia
<zid`> because it's the place rabbits are from
MiningMarsh has quit [Quit: ZNC 1.9.1 - https://znc.in]
<netbsduser`> heat: how?
<heat> counterpoint: i've never seen a rabbit IRL
<zid`> pure STREAMS BASED NETWORKING
<zid`> the fuck
<zid`> are you like, a super cityboi
<heat> yes
<zid`> and have never been inside a petshop
<heat> netbsduser`, dude STREAMS was terribad
<zid`> The only thing I know about streams is the cantril convo mentions it, as bad
<heat> so terribad everything based on STREAMS eventually moved out
<heat> first solaris internals: OUR STREAMS BASED NETWORKING IS SO FLEXIBLE AND ELEGANT AND GREAT AHHHHHHHHHHHH
<zid`> flexible and elegant means slow
<heat> second solaris internals: OUR STREAMS BASED NETWORKING ACTUALLY SUCKED SUPER ASS HERE'S A NEW THING
<zid`> horrendous layer breaking hacks = fast
<netbsduser`> it's not at all clear that inadequate operationalisations of the streams concept condemn the concept itself
<heat> iirc STREAMS always requires you to copy between layers
<heat> which is hilariously terrible, but very functional programming very haskellpilled
<pog> i'm flexible and elegant (and slow)
<netbsduser`> even in actually existing STREAMS zero-copy is already there
<zid`> pog: Touch your elbows together in front of your chest and say that
<pog> i can do that actually
<zid`> I know a few girls who can't
<zid`> they have back problems
<pog> i'm not endowed
<pog> i'm like a community college
<zid`> I am well undowed
<netbsduser`> the reason solaris moved away from separate STREAMS modules for each layer of the net stack was because, as i've read, of their operationalisation of the basic streams concept being incompatible with modcons like processing up through the networking stack affine to a single cpu
<zid`> where did you learn this word operationalisation
<netbsduser`> since i don't need to inherit a particular streams implementation (nor even be api-compatible) i can possibly do better
<zid`> how much deviation are you allowed before it isn't STREAMS
<netbsduser`> zid`: at the university of aberdeen in a class on research methodology, i think
<zid`> It means 'to define a concept in such a way that it can be measured', not sure how it applies..
<netbsduser`> i'm not using the word in that sense, where it means something like a particular way in which an experiment finds some proxy by which an unmeasurable construct can be measured
<netbsduser`> but i think you can see how i use the word in an analogous sense here
<zid`> I'd have made up a word that was easier to type :p
<netbsduser`> linux and v7 unix are both unix-like but differ greatly
<zid`> but yea, to get back to it
<zid`> I don't think you can have any deviation and claim it is STREAMS
<zid`> is trumpet winsock trumpet winsock if I reimplement it.. but differently?
<zid`> or is it just netbsduser winsock
<nikolar> just call it STREAMS inspired and be done with it
<zid`> aka "Streams, but fast" "So not streams then"
<zid`> defining feature is that it's shit :p
<Ermine> i wonder if twitch uses it
<heat> v7 and linux don't differ greatly
<netbsduser`> i don't entirely accept that
<kof673> "manifestations" "implementations" of streams. manifestations is better :D
<kof673> incarnations of streams...
<netbsduser`> i think linux and svr4 or 4.4bsd are basically very similar and the biggest difference is really in linux being smp capable while those weren't
<heat> svr4 actually had smp capabilities!!
<netbsduser`> i thought it didn't or they were appalling
Turn_Left has quit [Read error: Connection reset by peer]
<zid`> I also have smp capability, unfortunately the capability is "crash"
<heat> AFAIK svr4 was retrofitted with SMP later on
Turn_Left has joined #osdev
<netbsduser`> if svr4 had it then it was so appalling that sun threw it all out and wrote a paper on how they're doing everything differently for solaris
<heat> ssh menu@tty.sdf.org
<heat> login to the v7 system
<heat> it's linux buddy
<nikolar> help, i want to scream STREAMS but STREAMS is already capitalized
<zid`> same
<heat> *STREAMS*
<zid`> STREAMS
<heat> netbsduser`, now, you're going to say "well ofc v7 looks like linux, it's unix-like after all"
<heat> and i'd say "even the internals and internal interfaces aren't that different"
<heat> like... fucking buffer_heads!!
<nikolar> v7 isn't linux, linux is v7
<kof673> 😱 STREAMS * this is not a comment on streams, just answering how to scream
<zid`> buffer_heads is my album name
<netbsduser`> but what about the bio and the mqBlk?
<bslsk05> ​www.youtube.com: - YouTube
<heat> netbsduser`, sure it evolved
<heat> but the legacy of UNIX vaguely involves code and ideas
<zid`> dosh hasn't releasd a factorio video in aaaages :(
<heat> and shit like "oh this is a nice immitation of UNIX as per v6 or as described in vahalia's UNIX internals" is classic
<heat> they don't even have vnodes, they have inodes!
<netbsduser`> then let's see what my streams derivative will look like
<netbsduser`> some code and ideas will survive
Halofreak1990 has joined #osdev
xenos1984 has quit [Ping timeout: 248 seconds]
xenos1984 has joined #osdev
<bslsk05> ​lore.kernel.org: [braindump][RFC] signals and syscall restarts (Re: [PATCH v2 19/44] metag: Signal handling) - Al Viro
Arthuria has quit [Ping timeout: 268 seconds]
<heat> there are some really great details wrt system call restarting there
eddof13 has quit [Quit: eddof13]
<zid`> how *does* execution get back to the kernel, at the end of a signal?
<zid`> if it was one of these
<zid`> oh sigreturn?
<zid`> til sigreturn and why it exists, I guess
HeTo has quit [Ping timeout: 268 seconds]
eddof13 has joined #osdev
HeTo has joined #osdev
<clever> zid`: how exactly does that actually work? i assumed that its either a 2nd stack, or fudging the return addr so it "returns" into a sigreturn() call?
<heat> yep sigreturn
<clever> and then it can un-fudge the stack and restore things
<heat> clever, see sa_restorer
<zid`> sigframe, is the specific answer, apparently
<clever> that looks to be a function pointer in the kernel?
<heat> some new architectures (i.e riscv) don't use sa_restorer and just push a vdso address (that does sigreturn) i believe, but the traditional method is that you just push sa_restorer onto the stack
<heat> (and the libc prefills every sigaction's sa_restorer with a function that calls sigreturn)
melnary has quit [Remote host closed the connection]
melnary has joined #osdev
Brnocrist has quit [Ping timeout: 252 seconds]
Brnocrist has joined #osdev
<clever> ahhh
<heat> i believe the ye olde way to do is was to do it all on the stack and set your return address there
<heat> but the security people hate fun
<heat> s/is/this/
<bslsk05> ​<heat*> i believe the ye olde way to do this was to do it all on the stack and set your return address there
Halofreak1990 has quit [Ping timeout: 265 seconds]
<bslsk05> ​chipsandcheese.com: Intel’s Battlemage Architecture - by Chester Lam
<heat> intel fasting is working!!
<kof673> maybe they switched sides, but that works :D > a battlemage is a wizard who specializes almost exclusively in offensive spells
the_oz has quit [Remote host closed the connection]
the_oz has joined #osdev
ryoskzypu has quit [Ping timeout: 264 seconds]
ryoskzypu has joined #osdev
ryoskzypu has quit [Client Quit]
Turn_Left has quit [Ping timeout: 265 seconds]
Turn_Left has joined #osdev
xenos1984 has quit [Ping timeout: 246 seconds]
Left_Turn has joined #osdev
<Ermine> if so, maybe in two generations intel dgpus will become great
agent314 has quit [Quit: WeeChat 4.3.1]
Turn_Left has quit [Ping timeout: 260 seconds]
Turn_Left has joined #osdev
Left_Turn has quit [Ping timeout: 246 seconds]
Halofreak1990 has joined #osdev
melnary_ has joined #osdev
xenos1984 has joined #osdev
melnary has quit [Ping timeout: 252 seconds]
melnary_ is now known as melnary
<nikolar> Ermine: I think they'll basically catch up to amd and nvidia
<nikolar> Maybe with slightly lower prices
<nikolar> And that's it
<zid`> in the short term I agree, in the long term it's going to depend on intel's comittment
<zid`> like if they get a bad year or two maybe they pull out
<zid`> but if they don't, maybe they start getting super high sales in mid-end prebuilts such that they remove GMA and make Dell buy gpus, then start eating into nvidia etc
<Ermine> if they catch up i could buy intel and stop caring and whining about amdgpu
<nikolar> I don't think Intel's drivers are much better
<heat> hey if this things works reliably enough i'd buy it NOW
<heat> intel's drivers are absolutely goated
<zid`> It works fine, the driver's just a bit slow, from what I've seen
<bslsk05> ​chipsandcheese.com: Digging into Driver Overhead on Intel's B580
<heat> lots of weird stuff and holding locks and FLAMEGRAPHS!
<nikolar> FLAMEGRAPHS
<Ermine> i915 is kinda weird
ryoskzypu has joined #osdev
heat has quit [Read error: Connection reset by peer]
heat has joined #osdev
Matt|home has joined #osdev
divine has joined #osdev
goliath has quit [Quit: SIGSEGV]
netbsduser` has quit [Ping timeout: 252 seconds]
netbsduser` has joined #osdev
heat has quit [Read error: Connection reset by peer]
heat has joined #osdev
nickster has quit [Quit: The Lounge - https://thelounge.chat]
nickster has joined #osdev
the_oz_ has joined #osdev
the_oz has quit [Ping timeout: 252 seconds]
eck has quit [Ping timeout: 252 seconds]
goliath has joined #osdev
eck has joined #osdev
Halofreak1990 has quit [Ping timeout: 265 seconds]
hwpplayer1 has quit [Quit: tomorrow is another day]
GeDaMo has quit [Quit: 0wt 0f v0w3ls.]
Halofreak1990 has joined #osdev
<cloudowind> "sometimes a wrong train can get us to the right station" -- saw in an indian movie liked it:/ goodays osdev
<the_oz_> hiya
Halofreak1990 has quit [Ping timeout: 265 seconds]
Halofreak1990 has joined #osdev
frkzoid has quit [Read error: Connection reset by peer]
frkazoid333 has joined #osdev
dysthesis has joined #osdev
bauen1 has joined #osdev
dysthesis has quit [Remote host closed the connection]
netbsduser` has quit [Ping timeout: 244 seconds]
eddof13 has quit [Quit: eddof13]
Yoofie646446 has quit [Read error: Connection reset by peer]
Yoofie646446 has joined #osdev
frkazoid333 has quit [Ping timeout: 260 seconds]
Halofreak1990 has quit [Ping timeout: 252 seconds]
troseman has joined #osdev
troseman has quit [Client Quit]
goliath has quit [Quit: SIGSEGV]
cloudowind has quit [Ping timeout: 244 seconds]
cloudowind has joined #osdev
heat_ has joined #osdev
heat has quit [Read error: Connection reset by peer]
Turn_Left has quit [Read error: Connection reset by peer]