<bslsk05>
hackaday.com: ChatGPT Patched A BIOS Binary, And It Worked | Hackaday
<jimbzy>
o/
goliath has joined #osdev
<nikolar>
A broken clock is correct twice a day
<GeDaMo>
Depends in what way it's broken :P
<nikolar>
Fine, a broken (stuck) clock
<zid>
if it goes backwards at 24 hours a second
<zid>
it's right a LOT
simpl_e has joined #osdev
<zid>
travdle was too easy today :(
uzix has joined #osdev
uzix is now known as mahk
mjacob has joined #osdev
<mjacob>
Kind of a stupid / overly philosophical question... Should I handle the PCI Vendor ID and Device ID as two opaque bytes or as a 16-bit integer?
rez has quit [Quit: much snoozes...]
<Ermine>
you should handle them as spec says
<Ermine>
and spec says that device id is 2 bytes long
<Ermine>
hence it's uint16_t . Mind the endianness
corinne has quit [Remote host closed the connection]
corinne has joined #osdev
<sortie>
mjacob, as two 16-bit integers :)
<sortie>
Those are well known, registered numbers
<sortie>
If you're on e.g. Linux, might be worth exploring lspci(8) on your system
<bslsk05>
www.kernel.org: The Linux Kernel Archives - Releases
<heat>
no one's carefully picking anything
<heat>
like 6.1 was probably one of the most volatile, "complicated" releases but was tagged LTS
<heat>
:)
<nikolar>
yeah i know that there are not set rules
the_oz has quit [Read error: Connection reset by peer]
<heat>
this is funnier: what's the lifetime for glibc stable releases
<heat>
answer: idk until we feel like it i guess?
goliath has quit [Quit: SIGSEGV]
<heat>
they track distros using each glibc release and at some point just tell you "yeah you should really move to something newer" and delete the branch on git
<heat>
also they don't do stable point releases
<heat>
so it's just 2.41 + some git commit
<heat>
it's a little nuts
jcea has quit [Ping timeout: 272 seconds]
jcea has joined #osdev
<mjacob>
sortie: The bytes in the config header are 86 80, while lspci and the database show 8086, which is the bytes interpreted as little-endian 16-bit and printed in standard big-endian notation. From which I conclude that the ID is actually an integer and not an array of bytes. Thank you!
Turn_Left has quit [Read error: Connection reset by peer]
<zid>
you don't "print in big endian", it's positional notation
<Ermine>
Are we getting 7.0 kernal next year
sidcha64 has joined #osdev
<heat>
yeah
dude12312414 has joined #osdev
Lucretia has quit [Remote host closed the connection]
guideX has quit [Quit: Leaving]
guideX has joined #osdev
teardown has joined #osdev
<geist>
linux 7, the best linux
<geist>
or.. he switches to the yearly thing
<heat>
linux 8 >>
<mjacob>
zid: Yes, indeed it seems useful to not conflate these related concepts.
<zid>
linux 2025 would put us way above the current version record, 2000
<Matt|home>
which one was the one that tried to focus on mobile platforms, not ME, it was uh
<Matt|home>
10.1 or something? ZE? i completely forget
<geist>
8 maybe? oh dunno
<geist>
8 had some sort of tabletely ui thing that no one cared about
<geist>
i literally never ran it so i can't really say
<Matt|home>
i never had a chance to use it, but apparently it was relatively short-lived. sadly my main desktop is not supported with whatever the current new windows updated version is
<Matt|home>
might've been 8 yes
<geist>
8 was very maligned, and iirc there was no 9
<Matt|home>
any particular reason why? if i ask my fam about it they tend to throw a hissy fit so i'd rather not :p
<geist>
for reasons i have no idea, i assume they latched to 10 because macos 10? odd because i assumed they never have cared about what apple is doing, and certainly not then
<geist>
your fam throws a hissy fit asking about windows 9?
<geist>
oh the internet says it was to avoid issues with old shit sftware that would interpret windows 9 as windows 9x
<Matt|home>
no, my sister went out of her way to buy a microsoft tablet and tends to do most of her work on it, and because of microsoft's bullshit "oh we're dropping support" policies it really pissed her off
<Matt|home>
since she was one of the few loyalists
<geist>
oh gotcha
<Matt|home>
so if i ask her specifics i'll just sit there and listen to a 30 minute rant :p
<geist>
lesson: check your loyalty to gigantic megacorps
<Matt|home>
she uses a macbook now for the most part, i hate apple products but i can't deny that hardware wise they're top quality usually
<geist>
tis a fools errand in the end
<kof673>
after ME i believe was 7 and "fisher price UI" (just colors perhaps). ME was last of dos line IIRC, but you had to manually patch back in to boot into "real mode", that was "removed" but could be unofficially restored
<kof673>
err, 7/vista
<kof673>
s/7/vista/
<bslsk05>
<kof673*> err, vista/vista
<geist>
vista. 7 was pretty solid and a good release
<geist>
thus generally following the 'every other release is good' strategy
<kof673>
and vista and after are all nt line i believe yeah
<geist>
XP was.
<kof673>
^
<geist>
XP was the first true consumer oriented NT version. win2k looked like win9x, but was still business oriented
<geist>
(though win2k was/is lovely)
<Matt|home>
im currently in the market for a new cell phone, and... frankly it's a hard decision. i'd rather not spend the same amount of money i would on a used car, but i desperately need something with a /good/ camera, preferably not an iphone though
<Matt|home>
in terms of mobile options it looks like there's only 2-3 OSs/companies that dominate the entire market
<geist>
not that i have any particular loyalty to google products but i've been using the Pixel phones for many years and they're solid
<geist>
the 'a' versions that come out in the half year are usually a cheaper but generally solid phone
<Matt|home>
im told that in terms of cameras, it's usually either "good picture quality" or "good video quality" and there's no real in between
<Matt|home>
where you can get both :/ as for how true that is, i don't know
<geist>
the pixels are known to have pretty darn good cameras. i can't say how well it works video, but they're commonly compared with iphones
<Matt|home>
i've been gravitating towards a pixel one yes, i've never used them but since they're not iphones i assume they run android
<Matt|home>
yep
<geist>
yeah though they run stock android, fwiw
<Matt|home>
lol developed by google
<geist>
yes, it's a google phone. not saying 'm pushing it because i work there, but i found them to be a decent solid experience
<geist>
and i dont really get a discount
<Matt|home>
if i had the time money and resources, i sure as shit would prefer building my own...
<Matt|home>
complete with OS
<Matt|home>
sadly i don't live in fantasy world
<geist>
completely unrealistic nowadays, sadly
<geist>
20 years ago maybe. now it's just technical black boxen all the way down
<Matt|home>
it's the backdoors and complete obliteration of privacy i hate frankly. yeah i've disabled ALL of the tracking and targeted advertising and GPS and everything on my current phone
<Matt|home>
and yet, somehow, someway, it still knows i went to jersey mike's the other day.
<geist>
yep only way to not be tracked is to simply not carry a phone
<geist>
and anything that has bluetooth on it
<zid>
wifi is worst than bluetooth
<zid>
worse* fuck
<zid>
google wardrove around and wrote down every wireless ssid/mac etc they could find, to use for like, apple airtags type tracking
<kof673>
the only possible solution then is to switch to microsd card via carrier pigeon system bus
<zid>
I *assume* the idea was to use it for their route planning on google maps, at least publicly, they got in trouble regardless though
<geist>
yah similar. i think the key with bluetooth is you can walk around with your headphones on which is basically broadcasting its unique mac address
<geist>
so you can easily track someone with it
<zid>
The same works for wifi but the signal is better :p
<geist>
sure but you usually dont walk around with it on
<Matt|home>
look there are valid reasons to want to have easily tracked items on you, safety, theft, for your kids etc
<zid>
everybody does all of the time in my experience?
<Matt|home>
but what's not okay is hiding that shit in the menus and then lying about it
<zid>
They want their wifi to start working when they get to the office, home, etc
<geist>
well, generally passively looking for an AP
<zid>
without having to manually rescan
<geist>
but not necessarily broadcasting
<Matt|home>
how about a dedicated on/off switch or some password protected thing with a bright glowing LED that says "TRACKING ON" or "TRACKING OFF" -_-
<Matt|home>
and y'know.. don't lie about it when you turn the switch off and the LED goes dark and somehow you're still getting targeted advertisements :p
<Matt|home>
so in general, is there a reason i should prioritize one OS over another in cell phone shopping or none whatsoever?
<Matt|home>
outside of personal preference
<geist>
there's basically two choices
<geist>
so it's really do you buy apple or something else
<geist>
and the something else is probably android
<Matt|home>
what's the main difference between the two software wise
<zid>
I am third gender, don't have a phone
<geist>
apple at least has the full device and account encryption option which ikinda wish android had
<zid>
The weird one everybody forgets about
<geist>
they got into a spat with UK about it enough that they had to just choose to take their toys and go home
<Matt|home>
i hate apple's UI personally (and dear fucking god i detest not having HEIC image support), but if they're just objectively better im going with them
<geist>
whci benefits no one in the UK
<geist>
they're not really objectively better for cell phones, they're just a different more curated experience
<geist>
and if you have other apple products they sync and whatnot very nicely
<Matt|home>
aight. so software mostly identical, hardware is the main diff. yeah i'll do some shopping this week
<geist>
since they're less interested in your personal data and data mining it they have things like end to end encrypted data (what i was talking about before) which i do consider a +
<geist>
re: HEIC. apple has hella HEIC support.
<geist>
i think they pushed it before others were ready
<geist>
the camera app iirc saves things as HEIC
<zid>
apple is much freer to do that because.. they control the full pipeline
<zid>
which is both a blessing and a curse, for end users
<geist>
yah
<Matt|home>
it's not that, it's the fact that i refuse to pay the $5 or whatever for windows support for that file extension
<zid>
"sorry, this is an iphone 15.1s, so it's completely incompatible with this version of itunes, you'd need an iphone 15.1d, but then you'd have no headphones"
<zid>
"is there anything I can do?" "no"
<Matt|home>
i tried downloading some freeware to support those images, aaaand it was basically infective adware
<geist>
oh well that's a windows problem
<geist>
FWIW wikipedia says win11 has native support for it no
<geist>
FWIW wikipedia says win11 has native support for it now
<zid>
windows problems are "it ate its own bootloader settings, is there a way to restore them?" "Nobody knows how those settings are stored, just reinstall"
<Matt|home>
guess what my desktop isn't supported for :p
jcea has quit [Ping timeout: 276 seconds]
<Matt|home>
yeah i was a little shocked.. i mean i understand why THEORETICALLY, but i was kind of shocked at just how narrow the supported CPUs were for win 11
<zid>
same but different :p
<geist>
honestly i'm surprised they dont just give it a real technical reason, like 'windows 11 is compiled with AVX2 natively'
<Matt|home>
if im being generous and sensible, i'd say: "because of potential serious security issues with all the other chipsets and possible chinese backdoors"
<geist>
which AFAICT it still isn't, but would be a 'good' reason for breaking backwards compat that comes along mostly the same lines
<geist>
oh 100%
<geist>
but at least hide it with a 'good' reason
<zid>
afaik there were some cpus that "weren't supported" on w10 and w11 etc for pretty vacuuous reasons, we're talking like, you patch a single instruction
<Matt|home>
i just bought this computer a couple years ago, im not buying another :p took me over a decade to save up enough to buy one from 2013
<zid>
but mainly it's that w11 was designed to be the one that they locked down for drm purposes
<Matt|home>
figures
<zid>
so they had the TPM requirement, only cpus with working secure enclaves, etc
<zid>
no offline user accounts
<geist>
yep. nowadays i boot into it for games, and only play games without rootkits (thus no real PVP stuff)
<geist>
and boot back into linux for everything else