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
Left_Turn has joined #osdev
Turn_Left has quit [Ping timeout: 244 seconds]
Gooberpatrol66 has quit [Quit: Konversation terminated!]
Gooberpatrol66 has joined #osdev
Bonstra has joined #osdev
bradd has quit [Read error: No route to host]
<geist> I suppose i could just post a picture of my phone booting android
<the_oz> smartass
gog has quit [Ping timeout: 248 seconds]
bradd has joined #osdev
_ngn has quit [Quit: WeeChat 4.4.2]
<Ermine> android used to boot faster
<geist> oh sick burn
Left_Turn has quit [Read error: Connection reset by peer]
<Ermine> nobody cares I guess, since you you rarely have to actually boot it
<geist> but in all seriousness it's usually out of the bootloader by 3 or 4 seconds
<geist> i've watched serial boots of at least google pixel stuff
<geist> and some of that is dram training, etc
guideX_ is now known as guideX
<Ermine> well, maybe pixels boot fast
<geist> well, not saying they do, but most of it seems to be android
<geist> though they usually get to an unlock screen in what seems like a reasonable amount of time
guideX has quit [Read error: Connection reset by peer]
guideX has joined #osdev
guideX has quit [Read error: Connection reset by peer]
<geist> huh TIL https://en.wikipedia.org/wiki/X86#APX_(Advanced_Performance_Extensions)
<geist> i wonder if this is the other half of the 64bit only x86 stuff. ie, by the time that's out this will be fairly standard and thus the old architecture is 'fixed'
guideX has joined #osdev
asarandi has quit [Quit: WeeChat 4.2.2]
asarandi has joined #osdev
Arthuria has quit [Ping timeout: 276 seconds]
<geist> ah i see, the REX2 prefix mostly just supercedes REX and adds 1 more bit to encode up to 32 registers
Arthuria has joined #osdev
Arthuria has quit [Ping timeout: 265 seconds]
<geist> and seems like a simpler way to encode VEX if you dont need the extra bits
edr has quit [Quit: Leaving]
<Mondenkind> ugh there was something i didn't like about rex2 but i forget what now
<Mondenkind> this stuff came out like months and monthsa go
aethlas has quit [Quit: bye]
aethlas has joined #osdev
Gooberpatrol_66 has joined #osdev
Gooberpatrol66 has quit [Ping timeout: 276 seconds]
fedaykin has quit [Ping timeout: 265 seconds]
Arthuria has joined #osdev
fedaykin has joined #osdev
Arthuria has quit [Ping timeout: 265 seconds]
<geist> maybe that i only lets you escape to legacy page 0 and 1
<geist> ie, no prefix and prefix 0x0f
<geist> whereas VEX3 lets you get to a lot more
Arthuria has joined #osdev
Arthuria has quit [Ping timeout: 252 seconds]
Arthuria has joined #osdev
Arthuria has quit [Ping timeout: 248 seconds]
sbalmos has quit [Ping timeout: 245 seconds]
eluks has quit [Remote host closed the connection]
eluks has joined #osdev
<kof673> depends what you are doing. if you want jittish...then time from self-host compile to boot :D
<kof673> that is, same thing can be said about compile time. does it matter?
<kof673> or, you might not even care about boot, just time to fire up a "VM" or similar
<kof673> i am not advocating that, but i think the general "bias" is assuming compile time is a separate step, performed elsewhere, the user only will see the run-time
steelswords94 has quit [Read error: Connection reset by peer]
steelswords94 has joined #osdev
Oxymoron290 has quit [Ping timeout: 252 seconds]
sbalmos has joined #osdev
goliath has joined #osdev
Dead_Bush_Sanpai has quit [Read error: Connection reset by peer]
Dead_Bush_Sanpai has joined #osdev
xenos1984 has quit [Quit: Leaving.]
Fingel has quit [Quit: Fingel]
spare has joined #osdev
vdamewood has joined #osdev
jedesa has quit [Remote host closed the connection]
aethlas has quit [Read error: Connection reset by peer]
aethlas has joined #osdev
netbsduser has joined #osdev
emntn has quit [Quit: WeeChat 4.3.4]
steelswords94 has quit [Read error: Connection reset by peer]
steelswords94 has joined #osdev
<nikolar> geist: have you heard of this intel iAPX https://en.wikipedia.org/wiki/Intel_iAPX_432
<geist> absolutely
<geist> the apx 432 was a well known amazing flop
<geist> intels first real disaster
<nikolar> it was a work of art lol
<geist> some of the ideas ended up in 286 hence the whole GDT/LDT style handle to memory object stuff
<geist> would be neat to get ahold of one
<nikolar> i kind of want to write an emulator since none exist apparently
<nikolar> the hardware is also uonbtanium
<geist> yeah
<geist> they sold some of them but i'm sure they're mostly part of some undocumented dev kit or whatnot
<nikolar> i think there was a single line of commercially available computers that used them
<nikolar> so there is hardware out there
<nikolar> (unless it was destroyed lol)
<geist> oh wow: "The iAPX 432 instructions have variable length, between 6 and 321 bits.[17] Unusually, they are not byte-aligned, that is, they may contain odd numbers of bits and directly follow each other without regard to byte boundaries.[5]"
<geist> that i hadn't read before. oh my
<nikolar> it's great :)
<nikolar> did you read the whole "sillicon os" thing
<nikolar> where the hardware can do scheduling and waiting on ipc and such
<geist> yeah, not *entirely* unique, there were some pretty strange microcoded designs at the time, like the xerox alto
<geist> but yeah
<nikolar> or the hardware memory management (allocation and garbage collection)
<geist> yeah now that's odd. and it mentions that one of the major problems was a lack of a good cache for that
<geist> imagine taking something like the GDT where every data reference is a new segment
<geist> and then imagine having no on chip cache for that
<geist> so slow
<geist> or i guess more correctly, everything is a far pointer
<nikolar> they just didn't have the transistor budget lol
<geist> at least in 286 you can cache a GDT lookup by going through a segment register which only takes the hit when you load it with something new
<nikolar> they already had to split the basic cpu into 2 dies
<nikolar> yeah
<geist> i've always been a bit more fond of the 3b2 machines, and the WE32000 in it
<nikolar> 3b2?
<nikolar> are those unobtanium too
<geist> not entirely, there are some about, but pretty hard
<geist> simh simulates it though. thre's a unix for it, etc
<nikolar> neat
<geist> anyway, off to bed i go. nini
<nikolar> good night
<zid`> nikolar more like morning
<zid`> olar
<nikolar> not for geist
<nikolar> but good morning to you zid`
<zid`> I got wokened up :(
<nikolar> by what :(
<zid`> people being the noise
<nikolar> :(
GeDaMo has joined #osdev
youcai has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
vdamewood has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
gildasio has quit [Ping timeout: 260 seconds]
steelswords94 has quit [Read error: Connection reset by peer]
steelswords94 has joined #osdev
gildasio has joined #osdev
gildasio has quit [Ping timeout: 260 seconds]
gildasio has joined #osdev
Dead_Bush_Sanpai has quit [Read error: Connection reset by peer]
Dead_Bush_Sanpai has joined #osdev
vdamewood has joined #osdev
levitating has joined #osdev
edr has joined #osdev
zhiayang has quit [Ping timeout: 265 seconds]
heat has joined #osdev
zhiayang has joined #osdev
levitating has quit [Ping timeout: 248 seconds]
levitating has joined #osdev
levitating has quit [Remote host closed the connection]
levitating has joined #osdev
levitating_ has joined #osdev
levitating has quit [Ping timeout: 252 seconds]
blockhead has quit []
Left_Turn has joined #osdev
spare has quit [Remote host closed the connection]
MiningMarsh has quit [Quit: ZNC 1.9.1 - https://znc.in]
MiningMarsh has joined #osdev
<nikolar> KERNAL
levitating_ has quit [Remote host closed the connection]
levitating has joined #osdev
<Ermine> NTOSKERNAL.EXE
<nikolar> :(
<heat> actually it's ntoskrnl.exe
<heat> no kernal :(
<nikolar> ntskrnl.x
<heat> vowels? more like vowals
<clever> heat: 8.3
<nikolar> heat: vowels, more liek vwls
<kof673> <glances at notes> > gcc -O hello.c -o h.x > run68 h.x ah, so it has been ported to run atop of human68k, nice. good old .x files.
<nikolar> what's that
<kof673> dos-like IIRC for 68k something or other
<heat> clever, yep. sadly long filenames have only been available since <checks wikipedia> 1994
<heat> THIRTY YEARS
<clever> lol
<Ermine> You still want dos compat
<nikolar> i am sure dos compat is important for the kernel :P
<clever> ive seen modern software spitting out ~1.mkv files, lol
<Ermine> so NTOSKE~1.EXE
<clever> yeah
<clever> ive even seen modern software crash, because it cant generate such a name
<clever> ntfs doesnt generate short variants by default, on some versions
<heat> sysv fs could store 14 characters
<heat> even that's better than 8.3
<heat> fat32 really is a dispicable filesystem and i'm 100% going to take someone else's fat32 impl
<Ermine> 3 characters better
<nikolar> heat: do it
<heat> fuck fat32 fuck fat16 fuck fat12 fuck exfat fuck vfat
<Ermine> It would be really cool if efi supported some other fs by default
<nikolar> is exfat that bad
<nikolar> i thought it was supposed to be fine (tm)
<heat> 1) i would bet exfat is still similar to fat 2) fuckin patents
<nikolar> lel
<Ermine> 2 is not an issue anymore?
<nikolar> what was vfat again
<heat> i think patents are only licensed to *linux*
<clever> my rough understanding, is that all of the numbered fats (fat12, fat16, fat32), are just the bit size of the cluster# in the FAT?
<clever> so fat16 and fat32 can just treat the FAT as an uint16_t[] or uint32_t[]
emntn has joined #osdev
<clever> and fat12 needs some fanyc bit-packing to deal with that mess
<nikolar> amongst other things, sure
<nikolar> i think fat12 couldn't even nest directories
<clever> what else differs between the fats?
<heat> yeah just checked and OIN patents only cover the "linux system"
<heat> aka get fucked onyx
<clever> lol
<heat> does not matter it's GPL, it's still not-linux
<nikolar> can you even gpl an implementation that's patent encumbered
<nikolar> what does that even mean
<bslsk05> ​wiki.osdev.org: FAT - OSDev Wiki
<heat> sure you can
<heat> RCU is very patent encumbered
<heat> rh patents IIRC are also all licensed to GPL
<nikolar> so can you or can you not take the code lol
<nikolar> who wins, the license or the patent
<heat> for RCU it's pretty clear and simple - as long as your impl or code or fork is GPL, you're okay
<clever> looks like the biggest feature extfat adds, is for large unfragmented files
<heat> checking if your project is "Linux" must be either pretty legally dubious or legally well-defined and programmingly-dumb
<clever> you just specify a single starting cluster and length, and then skip the FAT
<heat> like, if i check out the linux source and add patches. is it linux? at what point is it not linux?
<clever> ext4 has a more flexible version of that, where you can specify multiple triplets, of file block#, disk block#, size
<heat> is it not linux if i s/linux/dumbix/
<clever> and then the indirect tree has file block#, size, and disk block# of a list of the above
<heat> there's no indirect tree in ext4 extents
<clever> both exfat and ext4 versions, avoid the overhead of using 32bits for every cluster
<Ermine> that's the moment when consulting the lawyer would be better
<clever> heat: i believe there is, the extent list cant exceed a block in size, and then you have another extent list, pointing to extent lists
<heat> well that's not an indirect tree
<heat> indirect tree is blockmap speak
<clever> where each extent one level up, covers the entire span of the set of extents it points to
<clever> yeah, its the same general use, but it you cant just index by block#
<heat> rather the ext4 extents tree just calls them nodes or tail nodes
<heat> sorry, leaf
<clever> zfs has a more traditional indirect tree, where the leaf nodes each point to a 128kb record (default size, variable)
<clever> and then each layer up, points to a list of those pointers
<netbsduser> i think some people have started picking up RCU now that the patents are expiring
<netbsduser> there is a new patent for everyone single letter someone changes in a comment, of course
<clever> the special thing with zfs, is that if a file is only 1 record long, that "128kb record length" part can change, up to a limit set on the filesystem
<clever> so tiny files can be stored in 4kb blocks, and as they grow, so to does the block size, until its using 128kb blocks
<clever> and if the system admin allows, it could grow to 1mb blocks
<netbsduser> clever: this is the trick of ZFS cow snapshots, iirc
<heat> netbsduser, too late, other systems already suck
<heat> rcu patents were probably super handy in giving linux a real advantage
npc has joined #osdev
<clever> netbsduser: the trick of snapshots, is more about adjusting what the garbage collector can do
<netbsduser> perhaps someone will come along and patent something even more powerful
<netbsduser> then where will linux be
<clever> basically nothing in zfs gets modified in-place
<netbsduser> stuck in antarctica
<clever> everything gets re-created at a new place in the disk
<heat> and in any case afaik you can trivially run into the patents when implementing certain optimizations/features. e.g preempt RCU (srcu maybe?), RCU interaction with idle cpus, etc
<Ermine> but now RCU will be in c++
<heat> the API will be, yeah
<clever> so a snapshot, is just saving a duplicate copy of the entire dataset (metadata+data) and not letting the garbage collector eat it
<heat> netbsduser, who?
<clever> if a block isnt modified, then the snapshot and live dataset can share it
<netbsduser> it goes to show what a load of nonsense software patents are that you can so trivially accidentally infringe on one
_ngn has joined #osdev
<heat> right
<Ermine> font rendering stuff is trickier afaik
<clever> but another trick zfs has up its sleeve is transparent compression
<netbsduser> clever: i had read somewhere that the pure cow nature is also a help, but i swear i did see some zfs guy saying he couldn't figure out how you'd do efficient snapshots when extents are variably-sized within-inode
<clever> those 128kb records, are pre-compression sizes, and it will compress each record, and store the compressed version
<heat> fyi all the ideas behind solaris vm2 are stuck in your metaphorical antartica
<clever> netbsduser: for a single inode, every record must be the same size
<netbsduser> heat: perhaps micro$oft or app£e
<clever> the size can only vary between different inodes
<netbsduser> clever: yes, the zfs distinction
<heat> there's an actual writeup about vm2 that only oracle people can see
<Ermine> oracles
<netbsduser> i think bonwick had a hand in it, zfs has some concept of slabs also
<heat> the south will rise again, solaris version
<clever> netbsduser: yep, metaslabs
<netbsduser> heat: i know, it's infuriating
<clever> [root@amd-nixos:~]# zdb -ll /dev/nvme1n1p1
<clever> metaslab_shift: 32
<heat> it's not a bonwick feature if it doesn't have GUNS WEAPONS BULLET MAGAZINE PEW PEW YEEHAW
<clever> netbsduser: this says that each metaslab is 1<<32 bytes in size (4gig) on this disk
<clever> and certain metadata, like the free space map, is stored by metaslab
<netbsduser> i would have loved to have seen what solaris would've done to claw back scalability wins against linux if only it were still on the go
<heat> (least gun nut american)
<clever> so you dont have to load the entire spacemap at once, and you can modify different metaslabs concurrently
<heat> netbsduser, i don't think they could do anything
<heat> foss is crazy
<clever> ext2/3/4 i believe just has a dump bit map, 1 bit per block?
<netbsduser> i think they could
<heat> your 10-20 person kernel team can't compete with literal hundreds
<clever> zfs uses a journal on disk, its purely a log of block#+size+(free|alloc) triplets
<netbsduser> they are disciplined and have an engineering ethos
Left_Turn has quit [Remote host closed the connection]
<clever> so any time you allocate or free, you just append to the log, no need to modify the entire thing
<heat> SUN ENGINEERING ETHOS
<clever> and that log, is also an inode, so it gets stored like any other file, and is entirely CoW'd
<netbsduser> no surprise almost everything good in linux is grafted in from commercial unix
Left_Turn has joined #osdev
<Ermine> SUS MICROSYSTEMS
<heat> lol
<heat> now that's a statement and a half
<clever> when the log gets too big, zfs will compact it, deleting redundant elements, and merging concesutive elements
<netbsduser> even RCU
<Ermine> strong statement
<heat> RCU as in dynix was a play thing
<Ermine> I won't check it ofc
<heat> XFS in linux has changed beyond recognition (only thing recognizable atm is the code style and kmem_alloc() wrappers)
<netbsduser> Ermine: well it's true, and in general the FOSS unixes were playing catch-up to the commercial ones for years
<clever> heat: last time i used xfs heavily, i was surprised by the fact that the journal is stored in native byte order, and journal replay lacks the ability to byte-swap
<Ermine> lmao
<clever> so when my big-endian machine crashed, x86 had zero way to replay the journal
<heat> It's the SGI Engineering Ethos
<heat> proprietary software is ROBUST
<clever> zfs also has a trick for this, store all records in native byte order, and include a magic# in the record
<netbsduser> the shadow cast by the setting sun is all over especially freebsd's approach to smp (if you see a mutex type which conflates both spinning-only and adaptive-spinning-or-sleeping in one interface, it's copied from solaris)
<clever> if the magic# is backwards on read, byte-swap the fields
<Ermine> don't forget BSD engineering ethos!
<clever> so all records get the native byte order perf boost, but it can dynamically adapt and read records from the "wrong" byte order
<netbsduser> in general i think the free unixes suffered in the 90s from being targeted at home desktops and web servers before the web became serious
<heat> i literally can't think of anything else (that's actually good) in linux that came from proprietary unix
<heat> linux doesn't even use SLAB anymore
<netbsduser> that's why they were all giant-locked while the commercial ones were running on their exciting big numa stuff
<clever> heat: then why does `slabtop` show things?
<heat> it's SLUB
<clever> how is that different? other then the typo!
<Ermine> alias slabtop=slubtop
<heat> it has generally been SLUB you're using for... probably 12 years
<netbsduser> the concept stays, they cache objects in a preinitialised state
<heat> SLUB drastically cuts down on SLAB's object queueing
<heat> >in a preinitialised state
<heat> no
<heat> you have barely any slab ctors anymore, no dtors (feature was completely removed)
<heat> it's an allocator, the caching is completely nonexistent
goliath has quit [Quit: SIGSEGV]
<netbsduser> caching is the whole point of them
<heat> meanwhile solaris went crackpot caching and even adding object moving
Left_Turn has quit [Ping timeout: 265 seconds]
<clever> netbsduser: i thought the point of a slab was to manage heap fragmentation
<netbsduser> clever: there's a few like that that densely-pack objects in zones already
<heat> slab is a nice compact design
<netbsduser> the mach "zone" allocator did it iirc
<heat> it ended up not actually being useful as a caching thing, so they ripped it out
<netbsduser> https://people.eecs.berkeley.edu/~kubitron/courses/cs194-24-S14/hand-outs/bonwick_slab.pdf bonwick in his original paper talks straight away about the caching and defines it in such terms
<heat> caching also has a complicated relationship with KASAN so that's done and dusted
<Ermine> so what is slab/slub actually?
<heat> a memory allocator
<netbsduser> Ermine: slab is what bonwick says in that paper, slub is a linux twist on it
<Ermine> so the thing behind kzalloc and co?
<heat> slab in the linux sense is not what bonwick says it is
<heat> (and onyx sense too)
<netbsduser> they had something called SLAB (note caps) in linux which i think was conceptually similar to traditional slabs + magazines
<heat> Ermine, yes
<Ermine> ok thx
<heat> *not vmalloc*, but kmalloc and kmem_cache_alloc and all the funny variations
<nikolar> heat don't forget that opensolaris was a thing before oracle acquired it
<nikolar> maybe it would've had a shot against linux as a foss project
<netbsduser> sun was in some trouble as is, oracle certainly made sure the coffin was very well nailed though
<nikolar> all hypotheticals of course
<netbsduser> their going away has really had more of a negative impact on the linux desktop if anything
X-Scale has quit [Quit: Client closed]
<netbsduser> as sun was carrying out accessibility work on the desktop stack, developing an office suite, that sort of thing
<nikolar> fortunately the office suite kept going
<nikolar> but accessibility isn't at a great state in foss
<heat> OH they're the ones responsible for linux desktop? finally, found the culprits
<netbsduser> i had a look and it seems oracle donated openoffice to apache to die
<Ermine> openoffice? was it even not cringey?
<nikolar> openoffice was forked into libreoffice
<nikolar> so eh?
<Ermine> libreoffice is cringe
<nikolar> what do you use Ermine
<Ermine> so was openoffice apparently
<Ermine> nikolar: fortunately latex is enough for me in most cases
<nikolar> libreoffice is fine when you need to open docs
<nikolar> erm .docx
<Ermine> and when it's not I use ms office online
<heat> i use google docs
<kof673> at some level ms/etc. are responsible for linux desktop :D
<nikolar> ew
<heat> google docs works great actually
<heat> way better than libre fucking office
<kof673> likewise for a need for another office suite
<netbsduser> i keep windows on a laptop for such things as these
<nikolar> heat: ew
<netbsduser> i say "keep", i'm not going to run netbsd on a modern laptop
<nikolar> i am not edition documents in a freaking browser
<heat> is there a piece of software starting with 'libre' that's actually good?
<heat> i can't think of one
<netbsduser> yes, when google docs was new i thought the idea was preposterous, but they managed to make it alright
<netbsduser> libre just frankly isn't a pleasant word to start a software name with
<nikolar> libreoffice is fine (tm)
<netbsduser> because english native speakers will not know whether to say lee bray or lee bruh or libruh and it causes cognitive dissonance
<Ermine> good thing I've bought lifetime office license to granny
xenos1984 has joined #osdev
<netbsduser> open on the other hand, fine, no problems, it doesn't sound like you're being initiated into an anarchosyndicalist commune
<Ermine> ms office*
<nikolar> netbsduser: too bad openoffice was taken
<Ermine> LO's codebase is cringe
<Ermine> they use XPCOM on the bottom or something like that
<netbsduser> there is apache openoffice still, but it's as dead as the dodo
<heat> libreoffice official FARC office suite
<netbsduser> i don't know if libreoffice is in a much better state
<Ermine> farc?
<nikolar> what's a XPCOM
<the_oz> has anything ever really been hampered by questionable pronunciation
<nikolar> netbsduser: libre is alive and well
<bslsk05> ​www.britannica.com: FARC | History & Peace Deal | Britannica
<Ermine> oh
<netbsduser> in general the open source desktop stack just seems to be in a state of disrepair - the gradual loss of accessibility is especially damning
<heat> they keep getting ceasefire orders but sadly libreoffice can't open their .docx too well :/
<nikolar> all .docx i've tried to open were fine
<netbsduser> as i think surely by now you must be liable for disability discrimination if you're selling certain software and it's not accessible
<heat> netbsduser, otoh, the open source desktop stack is better than ever, with chrome
<heat> most of the things the linux neckbeards complained they couldn't do before, they can now, with a web browser
<netbsduser> heat: well, you really do only need a browser these days
<netbsduser> and you don't even need a weird wine wrapper for Macromedia ShockWave! Flash Player
craigo has joined #osdev
<heat> i don't think it's a coincidence that the most functional desktop experience on linux is chromeos
<kof673> > they can now, with a web browser sure, but can be argued that is why the rest is crumbling
<netbsduser> that's just the way things seem to be now
<kof673> (not saying either way, i do not follow modern stuff, just was said)
<the_oz> what's the nearest competitor? Steam OS?
<netbsduser> for better or for worse the browser is the OS now
<the_oz> Across platform competitor? OS X? :D
<nikolar> heat: i don't think chrome works any better on chrome os than any other linux
<heat> well the point is that it pretty much IS the os
<netbsduser> the biggest shame is that (as serenity os showed) you can't build a web browser that can browse any but the most basic sites without dozens of manyears of effort
<nikolar> heat: so you can do on regular distros everything you can do on chrome os plus more stuff
<nikolar> netbsduser: indede
<nikolar> it's a crazy effort
<heat> on chromeos my screen doesnt have a stroke from time to time
<netbsduser> serenityos incidentally, the instigator of that particular project has resigned
<heat> on chromeos i may actually be able to connect my bluetooth airpods
<netbsduser> founder? lead? i don't want to say instigator, it makes it sound like i'm describing a crime against humanity
<heat> on chromeos you can edit docs and browse the web and play android games and ..., no problem, no technical expertise needed
<nikolar> heat: my screen doesn't have strokes
<GeDaMo> He moved to working on the Ladybird browser
<nikolar> though bluetooth sucks, i'll give you taht
<heat> mine does from time to time
<nikolar> what did you do to it
<heat> nothing
<nikolar> are you on amd gpus
<netbsduser> bluetooth on linux was long a sore point
<heat> i think its the kde compositor being bad
<nikolar> netbsduser: still is
<nikolar> apparently it's getting better, but i don't care for bluetooth too much so meh
<netbsduser> it was such a hassle to transfer songs to my sony ericsson walkman flip-phone back in the day
<nikolar> heat: ah maybe, haven't run kde in forever
<the_oz> my dad bought a xune and sent his entire discography on it
<the_oz> sent it to me, I opened it up and signed on using my account and the goddamned thing deleted everything
Dead_Bush_Sanpai has quit [Remote host closed the connection]
<Ermine> airpods work for me on linux
Dead_Bush_Sanpai has joined #osdev
<nikolar> Ermine: i just meant that bluetooth is a pain in general
<Ermine> nikolar: it works fine anywhere but on linux desktop
<nikolar> it didn't work right on windows while i was still using that
<nikolar> it just sucks
<kof673> > signed on using my account and the goddamned thing deleted everything yes people might get fed up with the web :D
<Ermine> it was worked for me on windows when I had to fiddle with PW/WP/PA configs on linux
<heat> it's not perfect on windows but IME it works better
<heat> android bluetooth works well though.
<nikolar> yeah probably the best bluetooth experience has been on the phones
<nikolar> for example, my bluetooth buds' battery just drained very quickly when i used them with my laptop for some reason
Dead_Bush_Sanpai has quit [Read error: Connection reset by peer]
Dead_Bush_Sanpai has joined #osdev
Dead_Bush_Sanpai has quit [Ping timeout: 272 seconds]
Dead_Bush_Sanpai has joined #osdev
Dead_Bush_Sanpai has quit [Read error: Connection reset by peer]
Dead_Bush_Sanpai has joined #osdev
Oxymoron290 has joined #osdev
Gooberpatrol_66 has quit [Quit: Konversation terminated!]
Gooberpatrol_66 has joined #osdev
youcai has joined #osdev
Fingel has joined #osdev
Dead_Bush_Sanpai has quit [Remote host closed the connection]
Dead_Bush_Sanpai has joined #osdev
<the_oz> it's antihuman, kof673
Dead_Bush_Sanpa1 has joined #osdev
<the_oz> extends IP law to the point where a retarded exec sticks their fingers into your ear
Dead_Bush_Sanpai has quit [Read error: Connection reset by peer]
<the_oz> if ever you needed a signifier how much they hate you more than they like money, there ya go
Dead_Bush_Sanpa1 is now known as Dead_Bush_Sanpai
<kof673> preaching to the dodo bird :D good thing us crazy americans still have state militia according to heat <checks clipboard, gone in 1860s with the new feds only amendment>
levitating has quit [Ping timeout: 246 seconds]
<kof673> jobs said the desktop war was over when next got purchased IIRC
<kof673> not that that should be held up, but that was his take at the time
<the_oz> I too consider myself god's gift to computing
<the_oz> stop laughing
<kof673> i've said before, not that i am doing anything shady, i would like to see an os + userland etc. just use signed keys and keep it all "anonymous". then let people decide what code they trust or not. corps may not touch it, but ...
<kof673> as soon as there is an account somewhere, it can be shut off
<kof673> *keys to sign
<the_oz> wouldn't just being able to set root key be enough?
<the_oz> so that you control the heirarchy of defaults but easily set to whatever heirarchy they'd rather
<the_oz> then from there downwards depends on policy from there
xenos1984 has quit [Ping timeout: 248 seconds]
<the_oz> the alternatives to say DNS have been pretty shitty for example
xenos1984 has joined #osdev
Dead_Bush_Sanpai has quit [Read error: Connection reset by peer]
Dead_Bush_Sanpai has joined #osdev
Left_Turn has joined #osdev
Left_Turn has quit [Ping timeout: 252 seconds]
Dead_Bush_Sanpai has quit [Read error: Connection reset by peer]
Dead_Bush_Sanpa1 has joined #osdev
Dead_Bush_Sanpa1 is now known as Dead_Bush_Sanpai
Dead_Bush_Sanpai has quit [Read error: Connection reset by peer]
Dead_Bush_Sanpai has joined #osdev
steelswords94 has quit [Read error: Connection reset by peer]
steelswords94 has joined #osdev
Dead_Bush_Sanpai has quit [Read error: Connection reset by peer]
Dead_Bush_Sanpai has joined #osdev
Dead_Bush_Sanpai has quit [Read error: Connection reset by peer]
Dead_Bush_Sanpai has joined #osdev
Dead_Bush_Sanpai has quit [Read error: Connection reset by peer]
Dead_Bush_Sanpai has joined #osdev
Dead_Bush_Sanpai has quit [Read error: Connection reset by peer]
Dead_Bush_Sanpai has joined #osdev
Dead_Bush_Sanpai has quit [Read error: Connection reset by peer]
Dead_Bush_Sanpai has joined #osdev
Dead_Bush_Sanpai has quit [Read error: Connection reset by peer]
Dead_Bush_Sanpai has joined #osdev
Dead_Bush_Sanpai has quit [Read error: Connection reset by peer]
Dead_Bush_Sanpai has joined #osdev
goliath has joined #osdev
netbsduser has quit [Ping timeout: 272 seconds]
gog has joined #osdev
netbsduser has joined #osdev
xenos1984 has quit [Ping timeout: 246 seconds]
xenos1984 has joined #osdev
steelswords94 has quit [Read error: Connection reset by peer]
steelswords94 has joined #osdev
Fingel has quit [Quit: Fingel]
Fingel has joined #osdev
<kof673> the_oz, i just mean people can still identify themselves and build up a reputation for code if they want, or not. anything else...anything goes, decide who to trust :D
<kof673> and then, in theory, if there is ever any situation it goes to some legal jurisdiction anywhere...either the owner of the key can step forward to prove they wrote something, or not.
<kof673> but there won't be any requirement you sign code over to any legal entity
<the_oz> How do you plan to deal with entanglement?
<GeDaMo> Scissors :|
<the_oz> not that signing code over to legal entities does, but it'd be hairier to have the raw truth of a b c d e f and with bad actor f on project 1
<the_oz> but f isn't found out until long enough cover established with commits everywhere
<kof673> that's what i mean, people are on their own lol which is why no corp will touch it lol
<kof673> and you might have some key that declares something public domain or whatever, but no name lol
<the_oz> Imperium of man did craft single-liners to counteract the hash wars
<the_oz> There is no currency, only amalgamations of hashes tied to formless aeons of programmers whose meaning is lost to time and yet their creations somehow did compute haphazardly
<zid`> paper!
<zid`> fuck.
<nikolar> scissors!
<heat> scissars
<kof673> have you ate yet gog?
<gog> kof673: today?
<gog> no
* kof673 gives gog star fox snes phoenix egg > Destroying the second large asteroid (the one on the right) a hidden egg should come out of its inside. It will fly away for a few seconds, then it will hatch into a giant Phoenix-like bird. By flying directly into the bird, the Mission will enter the Dimension. > fly into the claws of the bird
<kof673> "argonaut software" lol
<gog> lmao
<heat> gog, eat my shorts
<gog> ok
<heat> no gog do not shorts noooo do not it's a poor decision gog you'll regret it it was just a 90s reference to a beloved cartoon
* Ermine gives gog a piece of cheese
* gog is fascinated
<zid`> my purple is not purple enough on this monitor
<nikolar> get a better monitor
<Ermine> heat: run while gog is fascinated
<zid`> I think it's actually not bad
<zid`> the panel, that is
<zid`> the monitor itself is pretty crappy, the backlight situation and the bezel and stuff
<Ermine> nikolar: the nerdy way would be to make an icc profile
<nikolar> lol sure
<zid`> I know a colourimitrist
<zid`> maybe I can borrow his calibraterer
<nikolar> yeah borrow his calibratortotr
<heat> the nerdy way would be to finally add hdr support to the linux desktop stack
<nikolar> heat: that's actually happening
<nikolar> apparently
<nikolar> also valve did add it, but only for games :P
<zid`> HDR is easy, just make an opengl context with a 10bit format
<zid`> or 32bit if you're feeling especially fancy
<zid`> and then have the gpu reject it, done
<zid`> if(context)
<zid`> /* Idk, I didn't expect to get this far */
<zid`> return NULL;
<nikolar> lol
<Ermine> just use vulkan duh
_ngn has quit [Ping timeout: 260 seconds]
elderK has joined #osdev
<zid`> Annoyingly, the gl on my wsl2 has weird format lists
<zid`> GLX VISUALS as glxinfo calls it
<zid`> like max of 4x aa
<zid`> I have no idea why there's AA at all, if not 16x support, it just.. doesn't bother to export that
zenomat has joined #osdev
<heat> woah
<nikolar> haow
<heat> TIL you can do typedefs of function signatures in C
<zid`> ofc you can?
<zid`> winapi uses them a lot
<nikolar> heat: i thought you programmed your os in c :P
<heat> i dont look at winapi headers
<heat> nikolar, i dont use obscure features
<nikolar> that's not at all obsucre
<heat> oh yeah?
<kof673> it is common for say qsort and such, "callbacks"
<nikolar> i am pretty sure some man pages even typedef stuff
<heat> link me a random use
<heat> kof673, that's not what i'm talking about
<bslsk05> ​learn.microsoft.com: WNDPROC - Win32 apps | Microsoft Learn
<zid`> every single control etc in winapi
<nikolar> heat: glibc qsort uses it
<nikolar> literally the first function i could think of
<heat> that's not it
<nikolar> i just don't get how a TYPEDEF is an obscure feature in c
<bslsk05> ​elixir.bootlin.com: fs_parser.h - include/linux/fs_parser.h - Linux source code v6.11.2 - Bootlin
<nikolar> what am i supposed to be looking at
<heat> 22 to 31
<kof673> yeah makes sense, no idea if say c89 supports that
<kof673> i assume yes
<gog> typedef bad
<gog> tag namespace good
<zid`> It's just nice to let pointers be pointers
<bslsk05> ​github.com: glibc/stdlib/stdlib.h at ced745bcd3e0d58cfc38ebbbc36540b9dcdd29eb · bminor/glibc · GitHub
<zid`> nikolar restart your fucking discord
<heat> thats a function pointer
<zid`> yea it doesn't *have* to be a pointer
<zid`> but you can still declare a pointer to it
<kof673> i mean it looks kinda weird to declare it
<nikolar> heat: you know that function and &function are the same thing in c
<heat> yes?
<nikolar> so what's surprising there
<heat> did you know my cat is green
<zid`> that it doesn't *have* to be a pointer
<heat> if we're listing unrelated facts
<nikolar> zid`: am i making sense here
<heat> fs_param_type fs_param_is_bool, fs_param_is_u32, fs_param_is_s32, fs_param_is_u64,
<heat> fs_param_is_enum, fs_param_is_string, fs_param_is_blob, fs_param_is_blockdev,
<heat> fs_param_is_path, fs_param_is_fd, fs_param_is_uid, fs_param_is_gid;
<heat> ^^these are function declarations with "fs_param_type" signature, not function pointers
<nikolar> sure, you could do the same with int a(), b(), c();
<nikolar> that's actually what a lot of old headers look like lol
<zid`> nikolar: he's surprised you can typedef function types, not function pointer types
<nikolar> and i said that functions and function pointers are basically the same thing
<zid`> yes but that isn't relevent
<zid`> to whether it's surprising to see a function type typedef or not
<nikolar> well if you understand c's declarations, then it's not at all suprising
<zid`> It's just whether you want LONGP or LONG
<zid`> and tbh, most people do the former
<zid`> bastards
<nikolar> lol
<zid`> but the former is more natural for functo
<zid`> which makes 'naked function typedef' actually really rare
friedy has joined #osdev
<heat> thank you
<heat> this is probably one of the few C constructs i hadn't seen before
levitating has joined #osdev
netbsduser has quit [Ping timeout: 248 seconds]
X-Scale has joined #osdev
_ngn has joined #osdev
Gooberpatrol66 has joined #osdev
Gooberpatrol_66 has quit [Ping timeout: 276 seconds]
levitating has quit [Ping timeout: 248 seconds]
npc has quit [Remote host closed the connection]
netbsduser has joined #osdev
_ngn has quit [Remote host closed the connection]
_ngn has joined #osdev
X-Scale has quit [Ping timeout: 256 seconds]
goliath has quit [Quit: SIGSEGV]
steelswords94 has quit [Read error: Connection reset by peer]
steelswords94 has joined #osdev
GeDaMo has quit [Quit: 0wt 0f v0w3ls.]
youcai has quit [Read error: Connection reset by peer]
youcai has joined #osdev
_ngn has quit [Quit: WeeChat 4.4.2]
MiningMarsh has quit [Quit: ZNC 1.9.1 - https://znc.in]
MiningMarsh has joined #osdev
Dead_Bush_Sanpai has quit [Remote host closed the connection]
Dead_Bush_Sanpai has joined #osdev
Left_Turn has joined #osdev
Oxymoron290 has quit [Ping timeout: 276 seconds]
Fingel has quit [Quit: Fingel]
Fingel has joined #osdev
<netbsduser> openbsd 7.6 is out
<netbsduser> still no unified buffer cache
<Ermine> XDC is starting soon~
steelswords94 has quit [Read error: Connection reset by peer]
steelswords94 has joined #osdev
Dead_Bush_Sanpai has quit [Remote host closed the connection]
Left_Turn has quit [Read error: Connection reset by peer]
_ngn has joined #osdev
<zid`> How can it do fancy graphics without UBOs!?
_ngn has quit [Client Quit]
aethlas has quit [Read error: Connection reset by peer]
aethlas has joined #osdev
Fingel has quit [Quit: Fingel]
Fingel has joined #osdev
Dead_Bush_Sanpai has joined #osdev
X-Scale has joined #osdev
X-Scale has quit [Ping timeout: 256 seconds]