#Introducing: BS (The x86-64 operating system)
1 messages Β· Page 2 of 1
vencord
well
dorion
which is discord in tauri
pretty nice
then vencord running in that
Oh I love tauri. Best multiplatform app development solution
I love it
Yep
Yeah hah no
it takes 10+ minutes to build the android app....
I think 2.0 is alleviating some of that though
Oh wait lol 2.0 is the one that can build apps
yeah

and the android one is kinda broken
for a while it couldn't actually call rust, it just crashed when you called invoke
they finally fixed tha-
we're still in bs
bruh
ok
they finally fixed that but now the http plugin is outdated and doesn't compile with the rest of the app
and then i'm never using anthing else again
actually i think it's the fs plugin that the http plugin relies on?
idek
literally the perfect app development way
Fair. Controversially, I think apples UI language and user interface interactions are by far the best overall
swiftui?
as in like how their apps are styled and laid out
oh
yeah I disagree
this is my favourite
easily
material is just amazing
Oh I love swiftui it's development workflow was brilliant. I just wish it wasn't apple walled gardened
apple's UI is nice at times but I don't think it's always organised very well
it does look kinda clean but it's also slow
Eh it's nice. but it feels like epoxy resin sometimes
and epoxy resin has a horrible texture
I hate it's syntax because there's like 15 ways to express the same thing, and very little is explicit like rust; also xcode is fucking awful
Like this. I would LOVE home assistant (The open source smart home thing) to have an app like this, it's soo clean
but I do want to kind of steal it's design (roughly) for a rust ui library
yeah I kinda disagree tbh
I find this a little tricky to navigate
like the chips at the top
are they filters or do they give information?
Isn't that literally what they tried to avoid with creating SwiftUI and moving away from Objective-C, although I bet that devs wanted their own version of the thing
idek dude
it feels like a bad objc wrapper to me
and objc is already cringe enough
it's better if you look at the image in a web browser as opposed to trying to peer through discords compression
The chips at the top give info
like the climate one is showing temperature (in farenheit, i hate farenheit) and the lights on is showing how many are on
agreed
I like it. Material is good but I find apples a bit more friendly.
UI design is EXTREMELY subjective
however
and also the colours in material can communicate stacked elements and importance really quickly... which I find apple doesn't do
Fair. I'm still running an older version of android so I don't get to look at any of the materialUI, also because samsung insists on running their own Shitty UI theme.
I feel like if I get a phone with it I might find it better
But I haven't had the ability to use it in anger yet
like, I'm not immediately pulled to an important item in a lot of apple's designs. Navigation is the same colour as UI elements, for example. Whereas they have different shades in material, so I immediately know what UI elements are important and stuff like navigation fades to the back
lemme see if I can find this recording
this is really niche but cool
doodle changed my wallpaper every time I locked my phone and all of the icons automatically matched
I still think that apple has the best documentation for User interface guidlines
as in their User experience
but so did the quick settings menu, settings app, and every app that supports it... which for me includes RSS, my manga reader, music player, and several other things
the sync is neat; either way what I really like is the UI guidelines
I'm not sure about user experience
but
this has INCREDIBLE detail
about which font sizes to choose for different situations; different colours to use for things that are important, vs things in the background, vs errors and popups; general layout advice, for phones and tablets and computers
Oh that's very nice. Stuff like that takes AGES of user experience testing to perfect
yeah. and it's pretty open ended and not always perfect, but... it's pretty damn good imo
Yeah one thing I don't personally like about material is colours. I'm pretty weird when it comes to colours
I did implement catppuccin material3 and I think it looks pretty good: https://beta.brightshard.dev
god i need to actually sit down and finish my website.
in settings you can click the catppuccin options to change the theme
also persists across reloads on firefox (with no js or cookies)
I don't know if it's just googles choice of colours but I really don't like the Contrast between them
hm
I think the default one is a little too dark
I like catppuccin though it might be a little too bright
idk tbh
Like here's my VScode window, Yes you may recognize that code I just needed something to fill up an exampe for a picture no it's not staying. I really love the contrast between these colours. something about them sits right with my eyes
Helps if i copy the god damn picture
ffs
Github Dark
So that github dark mode code highlighting matches up with my text editor
Yeah, I bought a license
the badge of honour
not full price lol. only cost me 10 quid
is gon
I use https://massgrave.dev
wait
is that not the url
oh they just don't have an embed
yeah that's it
ironically hosted open source on github
Also the icon theme is called "Material Icon Theme"
I love it
SO USEFUL
π
light mode gives me afterimages sometimes
well.
most things give me afterimages
:eawada:

Hmm that's gonna be a no from me chief. something just feels off I really can't put my finger on it
the regular dark felt too harsh on my eyes
for IDEs specifically
oh
probably fira code; but just because that's kinda the default nerd font
I think I also really liked cascadia cove with starship
You're gonna hate me
as long as you don't say comic sans π
SF Mono
what's SF?
God no. For IDEs it's gotta be monospaced
wait is that the default xcode one?
ngl
but it'll be SF mono for Xcode almost defo
I don't disagree
I (almost) quite like xcode's ui
it has
a lot of flaws
but it's almost really good
but i quite like this
ok bad code
but
the font and colours are actually really pleasing to me.
lel
It just feels so clean
I agree
When I eventually switch over to linux I am totally gonna be installing San Francisco as my system font
lol
I do not care for apples terms of service about their font
I'm not a content creator lol
"Can only be used within Apple's Oses" i'm paraphrasing
IMPORTANT NOTE: THE APPLE SF PRO FONT IS TO BE USED SOLELY FOR CREATING MOCK-UPS OF USER INTERFACES TO BE USED IN SOFTWARE PRODUCTS RUNNING ON APPLEβS iOS, iPadOS, macOS OR tvOS OPERATING SYSTEMS, AS APPLICABLE from the installer
"B. Other Use Restrictions. The grants set forth in this License do not permit you to, and you agree not to, install, use or run the Apple Font for the purpose of creating mock-ups of user interfaces to be used in software products running on any non-Apple operating system or to enable others to do so. You may not embed the Apple Font in any software programs or other products. Except as expressly provided for herein, you may not use the Apple Font to, create, develop, display or otherwise distribute any documentation, artwork, website content or any other work product."
yeah it's only for creating UI mockups
πΏ
Fuckin irritants it's a good font aswell
avg apple L
like they could just give out for free and No-one would care I doubt
So uh yeah I defo won't tell you that you can open out the SF Pro Font .dmg file with 7Zip and the go into the folder labled SFProFonts and then double click on the SF Pro Fonts.pkg and the double click on the file labeled Payload~ and the open three folders called "\.\Library\Fonts\" you will just find a load of .OTF or .TTF files that you need to install
copy... paste to notes server... and pin
that would break the TOS so I won't do that
yeah. no one would ever do that
Same process for all the other ones like SF Compact and SF Mono
brilliant
Just that the .pkg will be labelled as SF Mono Fonts or SF Compact Fonts
wait 7zip can open dmgs?
yeah
I think it was reverse engineered because apple gave away too much in the metadata of the files
oh lmao
It's still proprietary
clearly; otherwise open source programs would be able to open it or something 
Yeah the UDIF metadata was reverse engineered into this struct
uint8_t Signature[4]; // magic 'koly'
uint32_t Version; // 4 (as of 2013)
uint32_t HeaderSize; // sizeof(this) = 512 (as of 2013)
uint32_t Flags;
uint64_t RunningDataForkOffset;
uint64_t DataForkOffset; // usually 0, beginning of file
uint64_t DataForkLength;
uint64_t RsrcForkOffset; // resource fork offset and length
uint64_t RsrcForkLength;
uint32_t SegmentNumber; // Usually 1, can be 0
uint32_t SegmentCount; // Usually 1, can be 0
uuid_t SegmentID;
uint32_t DataChecksumType; // Data fork checksum
uint32_t DataChecksumSize;
uint32_t DataChecksum[32];
uint64_t XMLOffset; // Position of XML property list in file
uint64_t XMLLength;
uint8_t Reserved1[120];
uint32_t ChecksumType; // Master checksum
uint32_t ChecksumSize;
uint32_t Checksum[32];
uint32_t ImageVariant; // Unknown, commonly 1
uint64_t SectorCount;
uint32_t reserved2;
uint32_t reserved3;
uint32_t reserved4;
} __attribute__((packed, scalar_storage_order("big-endian"))) UDIFResourceFile;```
It's big-endian
koly? tf?
no idea
wild
Apple in joke probably
mayb
there's a few of those in the dev tools that get leaked occasionally
early iphone internal dev tools found their way out cause someone sold one of the test devices on craigslist
Apple really control their leaks now so it's unlikely to happen
Dankpods got hold of some prototype ipods
https://www.youtube.com/watch?v=WwKcYN6FpKE&t=570s
Extra vids for Floaties! https://www.floatplane.com/channel/TheTrashNetwork/home
Car Channel: https://www.youtube.com/channel/UCHdpnvKJDijKNe2caIasnww
Game Channel: https://www.youtube.com/@HelloImGaming
Drum Channel: https://www.youtube.com/@the.drum.thing.
Custom iPods by Elite Obsolete: https://eoe.works
woa
Yeah Apple REALLY hates that there are some of these in the wild. Would love to see EVT versions of things like the first FaceID software
would be interesting to just have a museum of prototype devices
yeah. Apple/google/whatever will NEVER let that happen though
sadge
Did love when LTT where mucking around on various console dev kits
even ones from nintendo. And you know what they're like
I've not seen those
Man I hate LTT's thumbnails (According to linus it works tho so, gotta keep gaming that algo)
Wdym?
OH MY GOD I LOVE YOU
bs singlehandedly fixing cargo
also so much os discussion here huh
uhhhh sure thing π
all os discussion here, no need to investigate, mods
the idea is that there's CPU registers that store a segment. So for example, CS stores a code segment. Then when you access an address/use a pointer, it actually does segment + pointer. So if you jmp 7 it'd do jmp cs + 7 under the hood.
(from my rough understanding)
M O D S
kill this user

i hate this system with intensity
CODE SEGMENTING
Cannot kill, too much basedness (?)
now that i think about it
i wonder where "segmentation fault" term comes from
i still dont exactly know what a segmentation fault is supposed to be
yes but thats not a segmentation fault, its a page error
maybe a leftover term from back when old segmentation was used?
could be
seems like the most plausible thing
This is correct in x86 land, I'm not sure how ARM does it. the number is normally represented as a Hex number when dealing with the segments in assembly. there's 6 of them (code segment, data segment, stack segment, extra segment, and 2 general purpose segments) , I'm not entirely sure whether the segmentation is needed to be this way tho.
Why there is an extra segment and THEN 2 general purpose segmentns is totally beyond me
fair
and yeah ive not looked at arm at all - this is just x86
ARM is the wild wild west when working this low level
Every manufacturer is gonna have a different implementation. There is a general way of how booting an ARM processor works but every single manufacturer does some parts of it differently
yeah π
The thing I do like about arm is it has wass less special purpose registers
simpler instructions too iirc
Yeah none of the AVX2 addon nonsense and stuff to speed up SIMD on X86
it just is quick
Also yeah. don't bother with AVX instructions
for ages
some manufacturers have different amounts of them
dunno the slightest thing about them
I'm just gonna assume rust takes care of it for me xd
Uhh not at this low level without a standard library
well damn
The AVX extentions are something you have to specifically opt-in to using, they're normally for speeding up things like physics engines and skyrim jiggle physics uhhhhh Software rendering
jiggle physics?
you'll find out when you're older
So you know how the human body has mass and therefore when running different parts of it are gonna shake? yeah that mod implements that
I'm not sus enough to use it myself but I did have a look into the code
and uhhhh
it's using AVX2 and AVX512 vector instructions
ok so anime plot physics
Yes
Me when implementing Spring Pendulum physics in inox2d:
But it was fucking hilarious to me that that mod was using SIMD AVX instructions
the viewers will love you
mmmyes, Runge-Kutta powered boobs
OMFG
runge-kutta?
It's a way to evaluate a physics simulation
oh lmao
Man's doing full on calculus to work out the titty jiggle on a vtuber
gotta keep the viewers happy
Yeah. I've defo never spent money on vtubers in the past. Uhhhmm yeah... O LOOK A COOL ROCK
you should see spey's figurine collection
ok I just found out something about QEMU in another discord server
So for context you can attach GDB to it. -s enables GDB support. -S makes the machine not boot until GDB is attached
but if you do -S -S, it undoes itself, so the machine will boot before GDB is attached
That's the GNU debugger yes?
ye
Huh
but this 
they really have a flag that undoes itself if specified twice
figurine collection spawned
I atleast recognize gawr gura
trust me this is totally OS related (?)
LOL

always is 
Context: this was at an event for osu! where I brought my Gura figure (at the time my only one) and I broke it
There is a reason I don't take those types of things anywhere
And one guy (who happened to be the dev of a popular software in the osu community) helped me superglue it back :D
Well too bad because I'm gonna bring more next time 
All the hobbyists I knew/know who at one point wanted to make their own OS were weebs or weeb-adjacent. So it's defo OS related
Oh god
I'm to protective of that shit
NO WAY LMAO
I mean look at this one it's so cute aaaaaaaa
shylily?
Vtuber
WOMP WOMP!
oh wait ive seen her beforee
Shylily: WOMP WOMP
Her boobs: WOMP WOMP
cat attacking my keyboard right as i send a message:
Whoever did that model was very horni.
Valid
I mean if was gonna stream I would totally do an asahi lina and become a VTuber
Would give me an excellent way of voice training
dude these animations are so smooth
wtf
i just looked up vtuber in gifs (was surprisingly unhorny)
Oh yeah. There's a reason big vtubers pay a good couple thousand for these models
Although Shylily's model is VERY expressive
DAMN WHAT
premium boob physics: the real cost
It's got a atleast a thou Live2D (the vtuber thingy) layers.
each one has to be drawn and rigged
holy shit
and blended correctly
the model doesn't even look that complicated
that is crazy
It's doesn't look complicated but look at how the tail, ears and hair are all moving when she bobs her head up and down
Also theres tonnes of different presets
like angry, sad, happy, pouting
etc
yeah its animated really well
I can see actually
just scrolling through gifs of her
(also bruh these are like 20x hornier)
yeap
Yes
Yeah. You know what I was saying about layers?
People don't fuckin realise but theres so much shit that has to move or be swapped out in real time that it's very complicated behind the scenes
ig so
ig?
well, I just still don't know what all the layers do
so I can picture that there is alot happening, just not particulars, I suppose
Yeah it's hard to visualise without just looking at the Live2D rigging
yea
I did 2D/3D animation at one point and learnt proper rigging so I have some idea of how it goes on
ohhh neat
I've created a skeleton in blender and moved it to poses
cause i 3d printed some statue thingies for some friends
but that was it
Yeah
that's the simple stuff
Where it gets complicated is when you get bones influence other bones (IK rigging)
so you might have the foot bone which would control the position of the shin and thigh bone
with different influences to each
and you can set bounds to it doesn't go to crazy positions
can confirm
damn nice
Also what DE is that?
KDE
I customized it a bit xd
It's kinda always been very customizable
I changed the icon to a moe-colored Arch, put the icons in the center, added CPU consumption bars
very os related talk here
i for one look forward to vtuberos where the entire operating system is managed via vtuber tracking systems
bruh imagine moving your desktop with face and hand tracking 
Challenge accepted
Let me uh
Actually boot first
And figure out how face tracking works
Then like
Remake the apple vision pro
But not vr
Literally apple vision pro
Pretty inneficient
Literally, how will you type stuff? By looking at a keyboard one letter at a time?
Also it is much more expensive than a phone yet it doesn't have a single advantage over it
The only reason ppl buy it is that it looks cool and futuristic
You can. Or you can just tap the virtual keyboard with your hands.
Oh okay
Well I am against it because it strenghtens consumerism
Other than that it's just a cooler looking phone but you can't have it in pocket
I think it opens some new cool opportunities
Because it's an entirely new way to interact with computers
I think that is neat and having so many windows could be too; otherwise idk
Lots of computer vision machine learning
besides for anything computer based you really want eye tracking not face tracking
because you would need to know where people are looking to figure out which app they want to effect
True
It is useful for people that normally can't control keyboard and mouse but that's all
And companies will track your eye attention, getting even more data
Also it will probably have locked bootloader like on a iPhone so you won't be able to install Linux on it
average brightshard day
I mean it has potential to unlock some cool stuff. Like actually reaching out and touching UI elements that appear right in front of you would be kind of revolutionary imo. But yeah apple's implementation will never be ideal
Its REALLY useful for design visualisation. Actually being able to see the thing in real space without having to spend potentially thousands on materials
That would be just cool but I don't imagine it increasing navigation efficiency
Yeah that will be
Well yes maybe for some jobs it's useful
But for me as a future programmer, the technology I require for my job is a terminal emulator with neovim web browser, git and cargo and zsh.
All of which can be controlled purely by keyboard
Yeah, but I'd like to think there's new wacky stuff that will get designed for it
Full dive technology (?)
Ask elon musk for that shit (I'm never getting one).
It frustrates me that he seems like he'd be the first person to do something like this and at the same time the last person I'd want to do this
Yep
Elon musk is literally just creating everything Ian M banks ever wrote about
Even though I'm sure he didn't write them as a fucking to-do list
Like I would rather have arasaka creating my brain chips
i mean look at the upsides
for me the only big problem with these technologies are the fact theyre made by corpo that will use them to squeeze out every bit of data from you and use dark patterns and shit to get you addicted and whatnot. a foss implementation would basically solve all this
therefore in this 90 page essay i will explain why brightshard needs to make vtuberOS immediately
let me read from disk first π
Your OS must support 3D visualisation by design /j
Actually. I do wonder if wayland/X-org could be bullied into working in 3d
in this second essay i will explain why brightshard needs to remake the assembly language itself
Custom design your own CPU
Not even apple, google or microsoft are brave enough to do that
256-bit
You actually hit performance degredation with CPUs that have a ALU/Data bus that wide. there's alot of unnecessary bites just lying around that your never going to need
most CPUs will have 256bit or higher registers but they're only for SIMD extensions
smh smh wont accept the future of processors
bro my OS still boots into 32 bit prodected mode using the BIOS
BIOS hasn't been modern since like 2010
bios has literally never been updated since it started getting used in like the 80s
there's a reason uefi exists
LMAO
mfw im 17 but reinvent computing because someone on discord thought itd be funny
mood
to be completely honest after scanning the entirety of how kernels and the very low level software interactions in a computer work the only thing i dont actually understand is how assembly language/assemblers do stuff
it's mostly just translation. There's not really any optimisation to be done to assemblers. As it's literally telling the CPU exactly what to do.
mov ax, 5
Will get translated to 66B80500
You can just write out binary code by hand. Although you've actually gotta be clinically insane to do that
labels and jump instructions just jump back to the point in the data where that happens
so basically what it does is translate specific instruction combinations to a bunch of numbers that get passed to the processor?
yeah
yeah. mov will become 66, as that's the HEX for the mov instruction. B8 is the register, and 0500 is the actual number to use (yes it looks wrong, I think it's an endianness thing).
yeah little endian
Thought so
weakest bytes first
Little endian is easier to deal with when you're doing for loops
since the index corresponds to the power
I know there's advantages to each but that's getting into like the nanosecond level optimisations.
And i'm nowhere near that good enough
oh didn't know there was even a performance advantage...
Very very teeny tiny performance considerations to do with bit flipping. But literally no-one cares about that anymore
didn't know about that, dang
Guess who has to do it for uni
(Why)
Bruh wat
That's like actually dumb
:')
How much?
If it's just like a few exercises to understand how it does it I think it's fine
last course, after making a computer out of logic gates, "we" designed our own assembly and we had to translate instructions into hex so many damn times
If they make you... idk... learn how to do it by heart then it's fucked up
so
many
times
including the final exam :)
what in the actual fuck
Oh god MIPS assembly. I remember that
And also the control word
I learned MIPS in uni too and we never did that
It's like
70 bits
We had to figure out 70 individual bits per assembly instruction
multiple times
Actually fucked me up for trying to make stuff in AMD64 ASM
(also in the final test)
what the hell π
i did mips but we just learned asm and then did a final project in it
nothing else
it was a smol 2 week course
ah. alright basically what i expected
why.
are they planning to put you to work in a human flesh-made computer where tons of people manually translate each instruction into bits or
WE'RE READING FROM DISKKKKKKKKKKKKKKKK
if I hexdump the disk you can see it's the same bytes :DDD
lets go
and hey look it was only half a thousand lines this time
for the record toast, your quote is now officially commited and pushed
uhhh which one?
LOL

so i was encoding the gdt backwards 
which is why all the long jumps were failing
and I think we now enter 32-bit mode correctly :D
I was thinking little endian
so I thought the bytes would be in a different order
but turns out the osdev wiki already had them in the right order and kinda never clarified
yeah
ok well it's not erroring but it's not working the way I expected it to either so idk what's happening
either way it appears to be running 32-bit code?
Yay progress?
progress? question mark??
rookie mistake

