#đ˝Programming Chat v2
1 messages ¡ Page 37 of 1
@lyric mesa ?
mrweormwerowemrwemrowemrmweoromwer,,
all I know is that your lsp took an order of magnitude longer than mine to compile
rust issue methinks
Ada issue
Yep
Both in release mode
Idk what other flags als compiled with because I installed it through alire
IM PANICKING
panic!();
mmmmmmhmmm
ramen so tasty
SHOOT HIM
HES AT 64 HP
CMON m oM OcnoCM
obese
im not gonna sugar coat it
so what?
fatass.
nothing wrong with that
not all of them
All.
and before you say they weigh like 1000 pounds
thats not fat
ofc plane dragons will weight they have fucking engines
you lose\
sounds like facts
nope
yeah
send me 1 cat and ill send you 1 plaen dragoni
your the fatass who drinks soda every second
actually
no you still owe me 3
Bed time!!!
Bed??? Itâs 2pm for you
Wow so mean
im aawke!!
NO
maybe....fix ur sleep schedule
mmm yes
websocket is working pretty well
ă§ăłăăăăźăăăă°ĺٞăĺăăžăăďźăžăĺ貊ăăžăđ
terry's server takes forever to compile rust projects for no reason
But what project took so long to compile
IllegalStateException gg
god
that took. forever to write
@timid quartz if you do make a discord api, going for completionist is HARD
(well more like tedious)
i had this idea once
basiaclly this protocol that transmits a schema at the beginning of comm
no need to determine field sizes when decoding, and client knows all possible field states
would probably be a pain to implement
i REALLY wanna get a bayachao video playing over the mic though
oh yeah
i need to make an imagehash class..
at least its this simple to use
oh nooooooo
i gotta write the tostring.....
i think i can cheat myself out of this
there
can finally do away witht his
Provided to YouTube by Universal Music Group
Life's Incredible Again ¡ Michael Giacchino
The Incredibles
â 2004 Walt Disney Records / Pixar Animation Studios
Released on: 2004-11-02
Conductor: Tim Simonec
Unknown, Other: Dave Wallin
Unknown, Other: Stephen Allen Davis
Unknown, Other: Andrew Page
Unknown, Other: Pat Sullivan
Unknown, Other: ...
What are you still doing up
Itâs past your bedtime
is lept
image hashing
so far only 2 "dependencies" (kotlin runtime jars like reflection and serialization)
neat
@timid quartz i found another bayachao game i can serve over the web, however...
itssss written in korean
pushed!.. and..
But I thought bayachao was Japanese
update on my ruben sim ban bot research yada yada
this guy is such a joke đ
https://cdn.astrohweston.xyz/u/c9e00aa5-d4f7-4caa-9f6e-fb5563782f7f.png
apparently shark (former qqc member) got brought up as being a member of a weird community and ruben asked me why im friends with him 
What is nrs
@spare quartz (I tried to type @ada to find you bruhh) how would I get Ada running on a Teensy 4.1
like could you explain in at least some detail all the steps involved
I propose we rename atp to adastorages
They are
Apparently thereâs different langs
What architecture is teensy
Also I just woke up hi
Cortex-M7
Install the arm-eabi compiler
And start writing your own RTS if a LT, L, C or R runtime isnât available
arm-none-eabi â¤ď¸
if you need help on how an RTS is made, see my ufedmi kernel on GitHub and extrapolate from there
I donât think a teensy 4.1 rts is available
If it DOES exist is it just automatically pulled in?
(light-tasking, light, certification, ravenscar; I recommend ravenscar)
No
Mainly cause theyâre each different sets of the language
Unless you mean âdoes Alire install itâ in which, thatâs handled by the compiler installation
There is a pi-pico runtime you could look at
Where do you find this
See the alire index
Or google ada on the pi pico
Itâs not complete like the python library, e.g., radio, but itâs operational to the point of using GPIO***
You can extend it though
I might just try to make my own rts idk
feel free to steal from your PC's RTS at any time
for example, you'll need it's copy of System.Machine_Code (or a minified version of it) to get the compiler import for Asm intrinsics
(take note of any imports though, some are really tighty knit)
this guy sucks
Sleepy time
eugh
setting up ada for the teensy seems like an actual pain
why can't this just be supported by the language maintainers (see rust, zig, and any other modern lang that can be embedded)
although...I guess this is largely akin to writing say the Arduino library
?
Also you should be configuring the RTS in GPRproject
Because itâs a system thatâs portable to everything in existence (given a compiler for an architecture)
Ada is not a continuously updated language, you know this
The first designer of it is dead, and AdaCore which are the closest to maintainers do make their own RTSes (also not to mention itâs a language thatâs defined by international specification, so its âmaintainersâ can also be completely using/making a separate compiler)
But they canât do everything
An RTS is effectively a C stdlib
Possible to do it via the --RTS flag with gcc
yeah well i don't see them under any specification body
Why did my keyboard insist on capitalizing that
or have existed for 50 years ..
guhghghguh
i gotta figure out how to code this bot
Well C has existed for 50 years and is under a specification body but it still sucks :3
ive been told (very limited info_) to make a transactional moderation bot
i dunno
it's an okay lang
didn't predict the future as well as ada though
says the lang with a community size of 2
mhm nobody real actually uses Ada except you and like one other person
They could use rust and be fine
But youâre not doing anything else besides that
Nobody outside of those very very very specific niches uses ada
Again really specific niches
If Ada predicted the future better then it would have been what Rust is now
okay well
you guys literally have the entirety of FAANG with you
plus you started out as a desktop/consumer lang
of course you'd be the most popular
we started off as a niche for military stuff
Itâs because anything that ever comes in contact with the government or military gets fossilized and can never die, see Windows XP still running on mission-critical systems
windows xp isnt used that much in the military
i think you have that confused with medical
where its used cause software is expensive and possibly deadly to update
âmission-criticalâ
meaning the computers that canât go down for more than 30 seconds
soooo
you're saying rust is disposable
doesn't sound like a very good selling point
no im saying if it wasnât for the military then ada would have died a long time ago
You donât see any ada in the Linux kernel
you have to have backing
nor do you really see rust
they made linus mad
But thereâs more rust in the kernel than Ada
Barring the fact that R4L is in a pretty bad state rn
is python/perl better?
I mean Perl was Python before Python
that drives the point further then if you aggrt it to 0.3% use
Those languages excel at what they do which is basically being souped-up shell script
The point is ada sucks smh
theres also the fact that a lot of the rust there isn't actually doing anything itself
it's just a filler to get compat with c
meanwhile ada?
don't need allat
the point is i want my package NOW
Lol it got to your house but you werenât there
yeah đ
How is that even possible you donât go outside
oh my god look
You donât though
we live in a weird neighborhood and i couldn't trust who was on the other side of the door
the mailperson left a pink slip at least ....
Peephole??
I CHECKED
nobody was there
also like
the wall next to the front door is literally just make of all window đ
i can just peek frrom the side
maybe if you didnât use ada
maybe if rust didnt exist
smh weâre at the forefront of memory safety
yeah and we beat you to that again, 50 years in advance
child.
(also java too, which came in the mid-90s, but, using a gc is cheating or something)
ok well C beat us to a lot of things too but we're still better than C
stands to reason we're better than Ada
yeah well c wasn't considered here
LOL
totally unrelated convo and rust comes up
i hate my life
even adaforge admits rust is more memory safe than ada :3
where
okay but
you never said if people was or wasn't an integer
which means it may use modular arithmetic
which means EVERYONE uses it..
nah
yeah
rust < ada
ada < rust
Breadcrumb Microcode best programming language though
(when i get the time to make it)
adastorages
adasto
the 1980s called they want their lang back
okay but
heres a giant question
was YOUR language ever a specification in soviet russia?????
didn't think so. we win
ew that doesnt sound like a good thing
well
we're old enough to the point where that actually happened
i think it was for either 80/83 though
you will succumb to rust eventually
what if bayachao said to use rust
i'd kms đ
but they probably dont even know one programming lang so thatll never happen
what if I commission them to make a thing telling you specifically to use rust
$200????
their comm prices are like 30,000 jpy
okay but
fr
the rust mascot in bayachaos art style...... that'd go hard
đ
subliminal messaging from bayachao to use rust
i'm not really sure if they understand english proficiently so you'd probably need to make the req in japanese
yeah i would lo
I swear you only know 2 things: program in bad langs and scpsl
Why donât you do both and write a SCP:SL server in ada
(/gen)
cause its a unity game
and i dunno where i'd start
also t involves encryption..
mm
gg
encryption, your mortal enemy
if only there was another memory safe language that had libraries to do encryptionâŚâŚâŚ
though it is probably impossible to decouple the Unity stuff from the server
the thing is too i dunno how unity makes netcode
if it does it iike roblox tehresd nothing i acn do
what if you made a game engine and then made a SCPSL clone
"why don't you make your own game"
there u goâŚ
now you just need 3d rendering
some light physics sim and then a bit of netcode
And youâre set
oh and encryption too đ¤
nahhh
modern netcode virtually requires ssl..
not for proof of concept
why dont you make your onw game..
cuz I donât wanna
bad coder
you use a language titled after the literal deterioration of iron
you use a language that wasnât even mainstream when it was made
i have depicted you as a the frightened kohaku
and myself as the strong debirun
therefoer i wi
I have depicted you as the soyjak and me as the chad therefore I win
You also get -1000000 points for furry
Still doesnât beat my 1000 superiority points
okay "rustlet"
See we even have nicknames for users of our language
Thereâs nothing to call an ada user except old
Use an enum, that defines all possible values a type can have
If you need a range on a numeric then use modular arithmetic like a normal person
okay but like
1 .. 1,300,500
1,300,500 enunm values??
I mean you could either modular arithmetic
or 1..=1_300_500
A (half-open) range bounded inclusively below and exclusively above (start..end).
A range bounded inclusively below and above (start..=end).
yeah but
this is essentially just an object
it's a type
Anything with a partial ordering
so its its own thing
boooooooooring
encode it into the type
give us x'Min and x'Max
that doesnt count đ
how does it not
struct MyCustomInteger {
val: u32
}
impl MyCustomInteger {
pub fn min() -> MyCustomInteger {
MyCustomInteger { val: 1 }
}
pub fn max() -> MyCustomInteger {
MyCustomInteger { val: 10 }
}
ewww
AdaFruit :3
is that an ada thing?
is this platformio
good :3
it is
stab it kill it drown it water board it
going to school has become a 9-5 for me in the last like
week
competition tomorrow...
and first time meeting someone i've met in qsp irl
i need to buy that kohaku hoodie for formal wear
you need to buy a santa claus outfit
that took uncomfortably long to type out
platformio is so much better though
a) im not running that, give me the source code
b) im on mac idot
a) YOU HAVE IT ITS OPEN SOURCE YOU IDIOT
b) parallels
actually wait I have the exe parser
class d with the micro..
that's still half-finished
booring
ugh I never finished the data directory stuff
100% i'm just so tired of looking at it
i don't know why people insist on using arduino ide it's so ass
it would be considerably better if it had version control
ă°ăăĄăăăăăăăŤăĄăŻďźăă¤ăç´ ćľăŞă¤ăŠăšăăćčŚăăžăăďź
keep programming chat open
@spare quartz oml vhdl is so similar to ada
process (clock)
begin
if clock'event and clock = '1' then
...
end if;
end process;
process (sel, A, B, C, D)
begin
case sel is
when "00" =>
Y <= A;
when "01" =>
Y <= B;
when "10" =>
Y <= C;
when "11" =>
Y <= D;
end case;
end if;
this sucks on ice
where is above zero
Thatâs regular sub nautica
subnautica at zero
Atp in programming chat again đ
i am literally the only person who actively talks here aside from aera
lol!
go back to technology instead of clutter .
New footage shows the Delta airplane crash-landing at Toronto airport.
All passengers and crew survived.
THE PACKAGE IS HERE WOOHOO
another???
ăłăăŻ
ăăŻă
welcomeb ack :3
đ
So much for Ada being a safe language trusted in aircraft
nah
i bet that was the C part
Itâs time they switched to Rust
we're talking bout virtualizing a russian clone of an IBM computer
for the sake of running tetris
lol
I wonder if risc v has virtual memory support
oh true
Windows in Roblox
probably C
Or more likely to be C đ
Oh ok lol
ada is a component of airplanes
its usually a minority with C/C++
and more for the actual controlling bits
Unfortunate
and if it were ada its likely to be the 1983 ver
Gooood
probably
That's gotta be awful
i bet theres a subsystem for entertainment and its under that
probably uses its own set of computers
well if you did i dont remember
Oh ok
Yeah the flight just showed that for the first 20 minutes
Instead of any entertainment
Oh no
(back in mid 2023 when there were no editableimages :<)
unfortunately roblox has a char limit
lol typical nix
worst os
nix is the best tool to solve all your problems introduced by nix
hiii area :3
I want this project to be over so bad
I love my room..
compilers?
Ohh
Oh uh
Our CPU is.. IA-32
Not RISC-V
We used to have a RISC-V cpu but it was very basic and I wrote it while I was in JROTC
jrtov
So I ended up removing it
Shut up or Iâll draw rust as a cat girl .
School policy changed, no longer want to go
Not loyal to the corps đ
is this x86
Yes
Oh yipee
IA-32 is the predecessor to x86-64/amd64
ok anyways I gotta sleep Iâm so sleep deprived
oh
Is this his fucking AI inventory search bot
YES đ
If youâre âluckyâ enough you might actually be in his next video đđ
oh eyah
i watched like a minute of his video
he said some crap about it all being writetn with chatgpt
Cant wait for him to try to prove me being in a condo server after outright harassing me
<3
?!!!!
you translated the manga!!!!- no itâs the os :<
I should wake up and continue coding but Iâm so bored
found ur alt account (bottom comment)
SO TRUE I READ THAT
and the reply to it is so mean
rust 1.85.0 today
OOOH 2024 EDITION STABLE
đĽą
Kotlin compiler errors continuing to plague me
I found a fix but it involves switching to 2.1 and 2.10 back and forth
Otherwise an exception during IR lowering is produced
async closure stabilization is nice
Damn I wanna make my own language againnn
but then Iâd have to do the whole compiler and UI crap
do u want me to work on ur mmu
I was half kidding there, but if you could find anyway to help when we do get to PE/VM sure
org.bread_experts_group.breadmod.experimental.computer.ia32 I think it is
Unless you mean my OS, in which Iâll do that myself⌠hopefully
- Genericize instructions with an rX parameter
- Annotation scanner
Should also build a disassembler for myself..
no I meant in breadmod cause you mentioned it
k
I really need to genericize a lot of it
total affront to DRY
oh my god is that still there???
Probably? Idfk its bren a while since then
W h a t
y đĽ đĽ đĽ đĽ đŁď¸ đŁď¸
reasons why C is just better đ
atp how big is YOUR default hello world hmm
probably....2 billion megabytes
the answer is 438k
oh ok so you're simulating the entire cpu
hm
ok gg
Mrrp? (what did you think we were doing)
x86s when
they cancelled it so i cant work fof that :<
also that would've went to long mode quickly which i cant do rn
i hate auth i hate auth i hate auth i hate auth i hate auth i hate auth i hate auth i hate auth i hate auth i hate auth i hate auth i hate auth i hate auth i hate auth i hate auth i hate auth i hate auth i hate auth i hate auth i hate auth i hate auth i hate auth i hate auth i hate auth i hate auth i hate auth i hate auth i hate auth i hate auth i hate auth i hate auth i hate auth i hate auth i hate auth i hate auth i hate auth i hate auth i hate auth i hate auth i hate auth i hate auth i hate auth i hate auth i hate auth i hate auth i hate auth
â
super easy
??
what is the issue you are having
i tried understanding it none of it makes sense
and do not send me a image of that weird ass client-server flowchart
Server: Set-Cookie: ...
Client: Cookie: ...
Server checks Cookie
Cookie OK?
...
this is all what a session is
oh wait i have one question
waiwtiaiwait
you know how for example
in roblox you have serverscriptservice to run server scripts
its more of a container, but yes
starterplayerscript for client scripts and so forth
yes
if you were using BASE html css and js, no libraries no frameworks
you run client scripts in the <script> </script> tags right
yes
the server software, the one sending the files
an http request from the client to the server, handled by whatever routing you use
<client>
POST /hello HTTP/1.1
...
<server>
http.route("hello").handle(() => console.log("meow"))
psuedocode obviously
yes
hm urggh shakes ass
its so confusing
i wanna do like front end a bit
everyone's telling me to not do it
đ
well then stop listening to them
which i know why i can see it already but i have to and i wanna get the best of it
but i don't see how it is confusing; the code you send in a js file is run on the client, the code sending the js file is your server
the web dev world is such a strange and vast place nowdays
so many new terms like """server-side rendering"""
again i'd just suggest to ignore whatever they're making up
SSR just means you create an HTML file for a request
instead of sending js files that do it on the browser
i see
okay guhhhhh
i think the best framework to get started is definitely
next or nuxt but like
they have a steep learning curve and i think i should start lower but idk where
if you wanna start lower you don't need a framework at all
i tried out svelte(kit), it's good and simple but there's a few things they do that dont really "follow standards"
i know the BASIC html css and advanced js
well hm actually
nvm
Idk Iâve only done MMU with a complete CPU
This will require looking into how the CPU handles PAGING
passing?
keyboard
OH
Paging
paging isn't implemented yet so it doesn't handle it in anyway, theres not even a control reg yet (im adding it rn)
yeah ik
when you said pushing i was just gonna show you these
also improving instructions
Do you have a mechanism to raise traps yet
sorta
exceptions/interrupts don't exist yet, but the INT(errupt) command has a few hard coded branches within it that act as a semi-BIOS
for example INT 13h will trap into kotlin code that "handles" the interrupt and returns control
.fetch() aswell, when it's at the reset vector, it traps into "BIOS" code
Mm Iâm more referencing the CPU causing traps for software running on it
Cause thatâs a big part of vm
like breakpoints?
No so what happens
If GP means general protection then I think so
yeah
I suppose actually you could implement virtual memory without page fault traps at all because the project I was hacking on didnât handle page faults
they're going to exist eventually (when the LIDT instruction is called), but for now they have no need to exist aside from running the 0x0F0F UD instruction that memory is filled with
Iâll have to revisit what translations the cpu does under the hood
Because the cpu handles the virtual addresses
the closest to an mmu in the current state is the simulated memory busses in the Computer class
or this function
(an MMU is probably a generic concept i could separate from the ia-32 cpu now that i think about it)
man this looks so much better
im a genius
who needs return values when we can just simulate a stack
i take back the bad things i said about vue its not that bad
self report
Itâs definitely not a massive pain đŁď¸ đĽ đŁď¸
make chatgpt write it all for you đ§

@spare quartz opinion on graalvm
heard of it dont know much outside of it being a compiler for bytecode
im just happy im about to go into PE
okay well tell your bad joke to grub
ohcrapp
i gotta make the control registers work
oh, Register already covers 64-bits
rx - 64b
ex - 64b (32 masked) - tex - 32b
x - 64b (16 masked) - tx - 16b
l - 64b (8 masked low) tl - 8b
h - 64b (8 masked high) th - 8b
should probably make a subclass of Register for cr0
c1 isnt real
c2 is just an address
cr2/3/4 are ignorable for now
cr5/6/7 aren't real
LOL GET TIMED OUT
@timid quartz your moderation sucks ass
c3 is important for virtual memory
ALL i was trying to say is registers TREE and FOR
thus ignorable for now
trying to load the kernel in doesnt require vm
the mmu would be very unhappy if it could hear you
what mmu?
reminder that a breadmod computer is just:
must...enable...birtual memory
there
super simple
wait..
i need to coalesce the flags parameter into an rx...
dfmsdkgfdkgk,
woohoo
PE MODED
backwards long jump spotted
um nuh uh
As above ^^
I do not own any rights to WALL-E
but they're all going forawrd
you're a nerd and you should feel bad because of that
wait*
where is this long jump taking me ??
00000000000082E8
ughh i gotta get the disk offset
BIOS DISC CPY 0x00000000002C1800 -> 0x00000000002C9800 @ 0x0000000000008000
BIOS DISC CPY 0x00000000002C9800 -> 0x00000000002D1800 @ 0x0000000000010000
LJMP 00000000000082EF
ah
org.bread_experts_group.breadmod.experimental.computer.ia32.instruction.H8EInstructionMOV cannot support 32-bits.
for once im actually upgrading an insrtuction instead of adding a new one
- The moffs8, moffs16, moffs32, and moffs64 operands specify a simple offset relative to the segment base, where 8, 16, 32, and 64 refer to the size of the data. The address-size attribute of the instruction determines the size of the offset, either 16, 32, or 64 bits.
what do you mean...
iiiiiiilllllll assume it means DS:OFF
[20:21:13;586/WARN [modloading-worker-0/org.bread_experts_group.breadmod.experimental.computer.ia32.IA32Processor] 0x0000000000000000:000000000000830E ( , ): HA1InstructionMOV
[20:21:13;586/WARN [modloading-worker-0/org.bread_experts_group.breadmod.experimental.computer.ia32.IA32Processor] 0x0000000000000000:0000000000008313 ( , ): H89InstructionMOV
[20:21:13;586/WARN [modloading-worker-0/org.bread_experts_group.breadmod.BreadMod] Memory address out of bounds, 402653315 while setting 15
ufgdmgkdffs
i was wrong
We are excited to announce that the Rust 2024 Edition is now stable! Editions are a mechanism for opt-in changes that may otherwise pose a backwards compatibility risk. See the edition guide for details on how this is achieved, and detailed instructions on how to migrate.
This is the largest edition we have released. The edition guide contains detailed information about each change, but as a summary, here are all the changes:
I just had to fix auth for Guardsman since we switched to fastify
l o l
ITS ALL IN THE MODRM
An operation is not implemented: ROL, ROR, RCL, RCR, SHL, SAL, SAR /4!
bro just use cookie
no nodejs
name it SECURITY_SHARE_NOONE a random ass 64 bit long number and your poggar
it would be so cool
if we could do everything from memory on x86
like im sure theres a way
wdym
lemme check
yea
so imagine we could do add [], []
add [rsp-8], [rsp-16] would be so fuckin cool bro
wait can you even do negative numbers with immediate value
does it matter
shitty ahh add [rbp+8], [rbp+16]
no not really
but it would be epic asf
well actually it would probably be easier to make parallel
- this i mean
just SUB [x], 52
oh you mean a displacement in rsp
iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiimmmmmmmmmmmmmmmmmmmmmmm pretty sure
let me check my decoder
bruh I deleted my bios bootloader so I cant test it đ
the decoder is probably the closest thing in the cpu to a real electrical component
decodes the memory component of a modr/m
dyamn
MOV EAX, [bx+0xd]
- register: processor.e.ax
- decider:
- register: <empty>
- memory: [bx+0xd]
yea
and why isnt there a real long mode đ
I hate protected memory
would probably make it so gcc would support relative jumping instead of using the weird tables
the closest i can give you is real 32-bit mode đ
đ
a "real long mode" would probably just be programming the MMU to map directly to a physical address
would still be protected though
yeah thats what I did
its rly annoying tho cuz you haved to map everything
and that takes alot of memory
qemu64 doesnt have 1gig pages
blehhh i have to make my decoder return a third value
does you decoder have 1gig pages
decoding instructions so the cpu can know how to execute them đ
oh
first it goes through this giant table
by decoder I meant the entire emulator đ
holy shit
then the instruction* does stuff
oh no
it only supports 1 mib of memory rn
the mmu doesnt exist
i mean technically
the emulator also has no exceptions
so if you WANTED to, you could address 5 gb of memory in real mode
no instruction would support it though
how much can I access if I use segments as if they are in real mode
even though you can only use 16-bits in instructions
again no instruction would support it đ
that i "can" do
im kinda sad our BIOS has to be fake but i wouldnt know how to write it in assembly
