#programming
1 messages · Page 92 of 1
“just jump through 10 hoops each time instead of having the thing just work”
^ 
idk what you mean opening a video in a video player is NOT 10 hoops
the whole reason i need hls is i need to verify that the hls integration works
have firefox for 99% of browsing and edge for hls
thanks y’all for shutting down my monthly thought of switching to a firefox based browser
its not that bad
but i'm not in control of the code controlling video display, i am in control of the streaming infrastructure though
could solve this by enabling the currently disabled WebRTC support, but nahh
i think chrome also doesnt have it natively supported (unlike edge) but i only have one random site to back this up
chrome won't play it if you go to the m3u8 link, but it'll play it otherwise

this graph feels like a lie from my experience
chromium based browsers do support HLS

wdym only on android
oh that would maybe make sense

yeah, firefox supports HLS on mobile devices
but i've had reports from those on firefox that HLS does not work, never had issues on chrome
firefox is already installed 
tbh I was mainly saying this because firefox has really fucky colour handling if you aren't runing a "normal" display
it will sometimes just decide I get weird alpha blending and I have to live with it
do you know how to make it not like that
my original thought was strcat
but then realized i cant do that
snprintf or whatever weird c++ equivalent there is
std::basic_ostringstream<TCHAR> oss; oss << L"Number: " << number;
std::basic_string<TCHAR> str = oss.str();
Yeah that
@rare bridge you should pin this 
just use std::string and std::to_string
you can use std::stringstream if you're feeling fancy
please dont use anything printf related in c++...
u just gave me an idea
it’s not printing related it’s sprinting 
make f sprint
do you want actual code
right rn 💔
right as in correct and right now as in right now
std::string s = "C:\\oajmdoiawnjmdwapoidjwa\\whatever";
s += std::to_string(global_count);
s += ".png";
rename("oamdowjdamw", s.c_str());
I'll do it again and you can't stop me 
yes i get it now, my brain might work worse than yours right rn
i always forget the kinds of things you can do in c++ thanks to operator overloading
man i keep thinking of that code screenshot i sent a while ago where a file is being read into memory with a realloc call each char
it’s beautiful

it didnt work
and since i've gone through this like 50 times
i think im stickign with the switch
feel freee to debug it tho
you need wide chars when dealing with windows api, so change string to wstring
I don't know if the to_string has a wide eqiv though.
the original used regular strings
also there are wide and non-wide versions of the windows apis
W and A everywhere
there are also a load of macros that choose the right one automatically, but not every api has it
you have not added the full path to the first argument to rename
why not just use std::path
is that from std::filesystem
brain no worky tonight
yeah i think that one...
lol i haven't used c++ since around the time std::filesystem got added

mhm yes amd blender surely is running at 2fps and not just like, rending its ui only on interaction
unfortunately this was too late to stop the annoying trend of all those backrooms videos using obviously fake fisheye effects everywhere possible
i wonder what it would say with the new UI backend. using vulkan
I am on vulkan
yeah amd adrenalin is not having fun 😭
i should get back into using blender soon
well actually
there are several things I should do 😭
current sublist is:
- get a soldering iron
- get a pico2/nrf<something>/esp32
- get a soldering mat probably
- fuck around and find out
get a pinecil
its very good from what i've heard
they're both really good and horrible from what I've heard 😭
apparently they have nonstandard soldering tips or something?
regardless its gonna be a usbc one
well you could get something like a t101 but its gonna be much more expensive
actually idk about much but definitely more
I know we recently got a usbc soldering iron, at least had other tips.
Nothing perfect
wait hm, it looks like both the t101 and pinecil v2 use b2 as a standard for tips (I have no idea what that means)
eitherway I'll sit on the idea for a while

I assume anything related to actually playing video to people is wizardry
I live in a world of not displaying it to a user swho cares
my code is so mean to me
actually the pros of developing in hblang is you can blame the compiler instead and it may even end up being true
but blaming your own code is just good manners
it was in fact my code 
Head on, apply directly to the forehead.

this is how i get away with incompetence
my external miners still work. my bug fix actually worked
hey you're at least somewhat competent 
the real secret to competence is having code review
or being born in a lab alternatively
yippie my test actually passed
waaah im tired
no it doesnt mean im going to sleep im done with recreational programming and moving to professional programming
ah yes, ofcourse
https://old.reddit.com/r/LocalLLaMA/comments/1m0k22v/mistralaivoxtralmini3b2507_hugging_face/
Voxtral looking real interesting.
nvm erf time
smh my brother gave me such a disappointed look when I said this to him a few days ago
i love how i can download gmp, compile it, then run clang-format over the source files and then compile it again just for it to fail to compile 
bird alarm
where
btw id like to thank all of you
@tender river @warped narwhal @opaque sigil i would kiss you all but it's 7 am

I don't remember why it was funny
it just kinda popped into my head and knew my brother would have a funny reaction to it

i have acquired new knowledge 
now to try and figure out how to create a cuda kernel this way
Bruh, I knew your name and pfp looked familiar
hm?
Balanced Whining Thread the other day
huh
nvm
my memory isn't very good sorry 
I swore you were someone else from a game discord my bad
im on a hotspot rn so my messages arent going through
oh that was someone else then probably
Anybody working on some interesting projects right now? I find myself getting super deep into mine a lot recently.
o/
not a project but i'm currently trying to get a setup where i can write cuda kernels in zig because why not
but the zig compiler is segfaulting 
hmmm it doesn't like ReleaseSafe
Ya know, this is the first time I've heard of Zig. That's really cool.
it is a pretty neat lil language i'd say 


smorb
oh sick i apparenly had a 5090 all along 

(function) fn enqueue_function[func_type: AnyTrivialRegType, //, func: func_type, *Ts: AnyType, *, dump_asm: Variant[Bool, Path, StringSlice[StaticConstantOrigin], fn() capturing -> Path] = __init__[::Copyable & ::Movable](False), dump_llvm: Variant[Bool, Path, StringSlice[StaticConstantOrigin], fn() capturing -> Path] = __init__[::Copyable & ::Movable](False), _dump_sass: Variant[Bool, Path, StringSlice[StaticConstantOrigin], fn() capturing -> Path] = __init__[::Copyable & ::Movable](False), _ptxas_info_verbose: Bool = False](self, *args: *Ts, *, grid_dim: Dim, block_dim: Dim, cluster_dim: OptionalReg[Dim] = OptionalReg[Dim]({:i1 0, 1}), shared_mem_bytes: OptionalReg[Int] = OptionalReg[Int]({:i1 0, 1}), owned attributes: List[LaunchAttribute] = List(, Tuple()), owned constant_memory: List[ConstantMemoryMapping] = List(, Tuple()), func_attribute: OptionalReg[FuncAttribute] = OptionalReg[FuncAttribute]({:i1 0, 1})) raises
what a beautiful function signature 
rewriting most of erf right now surely it will go better this time
but i made the executive decision of not doing any error reporting
i'm sure it won't backfire in the future 

this is what the type names of chayleafs json parser look like

i dont even wanna try looking at them
log.print(@name_of(@TypeOf(...))) now

yes maam

you are the reason the compiler needed an increase in comptime stack size not once, not twice, but three times

come on this is only 6 lines
functional programmers 
i'm a dysfunctional programmer*

this type is a thing in the first place only because theres no first class functions
(maybe you can do more with them now but you couldnt back when i made it)
unlikely
found a bug in the struct deserializer
it allows missing fields apparently
oh right im not checking for that
bwa
fixed 
just had to add this
i wonder why i used u8 instead of booleans
probably because its easier to set it to all zeroes and uses the same amount of memory
(and lets be real one u8 for each field is not that much)
What do I even do with just C knowledge
grr
"grr"?
unsocialised 😔
bwa
wrong waterfowl

8-bwaa
8-bwaa
open-source/max/max/kernels/src/layout/layout_tensor.mojo:4686:9: warning: parameter for unrolling loop more than 65536 times may cause long compilation time and large code size. (use '--loop-unrolling-warn-threshold' to increase the threshold or set to `0` to disable this warning)
i decided to implement knapsack in mojo to test out their gpu stuff and uhhh, what are they doing it never told it to unroll anything 
currently at 50GB memory usage while compiling 
i was wondering how old erf implemented functions
since they had more than 1 argument
forgor


turns out it used one argument at a time but added a small annotation with the argument count before calling the function to make sure it matches
and i was thinking there were actual tuples
curry?
the type of currying is something like ((A * B) -> C) -> (A -> (B -> C))
so it really is
rum omelets 
i never thought i'd struggle due to the fact that a loop is being unrolled
I can't wait for the issue called "can I plz have more stack size"
i want to go one step further now and add type argument to functions (and also make type inference undecidable) but i've yet to figure out what i'm supposed to do to achieve that
apple turnover?
i complained once, the dev added an option to increase it, then it stopped being enough so i had to enable optimizations, then the compiler dev refactored some huge function so it stopped being so stack heavy
no, i guess yall dont ave those then

most of those lines were one function 
i googled what its called in english but the site i found just used the dutch name so 
or two if we're being honest
seems to be simialir tho
(i don't blame him i was just a bit surprised the compiler didnt compile it to essentially equivalent code stack usage wise)
probably something to do with zig's typesystem
imagine using zig 
i agree, this is why you should use hblang instead
true
its not basically zig 
its definitely not basically zig its completely different such as uuh
@CurrentScope() and not @This()


something wrong with zig? 
i have no clue what zig is but im hating on it for no reason
-# 
smolnub

i have noclue how things got like this but konii and i just hate on eachother these days ig


CUDA call failed: CUDA_ERROR_ILLEGAL_ADDRESS (an illegal memory access was encountered)
my favourite
you're under arrest
Delegated to Chatgpt before AI even existed
why is the window not centered?
why is the left side painted a diffrent colour than the right side?
why does this part suddendly have a brick wall
if im paying 6 digits for a house it better have centered windows or im dragging the designer to my basement
what basement
they didnt make you one
arent some american houses essentially disposable because its cheaper to get insurance than build a proper house
difgits mhm
that hasnt stopped me in my current house, why would it stop me there?
a hole dug with a shovel is not a basement it is a burial
Hell is my basement and your going to a burning good time while your down there
no no, its a proper basement-ish
it has a staircase, and the walls are cemented
it only leaked water into it a coupe times
konii, you're a fucking tv
<konii/>
maybe
<konii>
i am alive
erm it's actually "you're" btw 
but if someone types somethig like </html> the <konii> tag will automatically close
you have killed me
its okay i revived you as well
🤔
<konii></konii> complete
for legal reasons i am not allowed to create clones of myself in text channels
in fact you are now the top level tag
<konii>
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
* {
margin: 0;
padding: 0;
background-color: #222;
}
canvas {
border: 0px none;
outline: none;
background-color: black;
width: 100%;
height: 100%;
display: block;
margin-left: auto;
margin-right: auto;
}
.overlay {
position: absolute;
top: 10px;
left: 10px;
z-index: 1;
font-size: 30px;
color: white;
background-color: black;
}
</style>
</konii>

setting up a quick window to dispaly my opengl on konii
then what are you even worth?
idk if i like this result better more than the cuda segfault hmm
can the konii tag at least do web assembly?
perhaps

is for me
evil samvanmaele

egg
🥚

it is a miracle
how do the egg manufacturing companies make them so tasty
:mhm:
what
egg manufacturing companies 
you might be onto something
what’s a chicken????
speaking of how do my chickens get eggs from the egg manufacturing company
they cant drive
cant relate i dont like the taste of eggs
might have something to do with the fact im vegetarian 
deliveroo
ah
they simply cross the road
actually made me laugh irl
i also lied about egg manufacturing companies
i should not be cackling at 4am

did big egg silence you 
me lurking in discord chats for two hours straight cause i cant sleep
konii the eldritch
if you get a witch hat and a broom
BROOM 💥
not quite, try again
then what?
BROOM 🧹
correct
and im pretty sure there's a witch hat in the attick
never use it tho 
it would be so cool to be able to fly
plane
and teleport
nuh uh
you can telepor,t just very very nearby
i never thought of this
sometimes i wish my food would automatically make itself too
and a laundry spell
exactly frickin this
it works (copying a dp calculation is hard i guess) 
did you know when you move your arm, your arm actually goes in every single direction at the same time?
the action of the non-standart directions just cancel eachother out
im going to call you a scientist from now on
its called slave labor uber
get a wife or something idk
ig your mom counts
we’re programmers remember
i have a dream
me too
this is not unlimited balde works like damn
what the frick is this
le function shit
thank you koni
welcome
sometimes i wish i was a sandwich instead of a person mmmmmm how nice it would be to be a sandwich
ham sandwiches rock
the expanded function signature of a mojo function
>wants to be eaten
you dont necessarily need to upscale it
This took too much work
you just need two slices
i believe you
well i am in fact very afraid and wary
i shoudl rapidly aproach igglies location sometime. it could be fun
sowwy

True
ill just go to a walmart for an equal playingfield
days of studying how assembly works have reduced me into a single celled organism
there is one nearby 👍
made of fire hddthr ss
yes koni
i just realised
mojo thinks i have a 5090 so it think there are way more resources available than there are
she was 

why tho?

because they didn't specify every gpu and they do actually have different limits

konii def seems like the type to run across the pacific ocean to hunt down iggly 
seems odd though
i cannot run on water yet
i only asked for the max block size
yet…?
yeah
which according to mojo is 1024, the same value i just hardcoded instead 
brother you're a talking tv, just float above the ocean with the same magic
when is the day where you will be able to
that's nonsensical

maxThreadsPerBlock = ctx.device_info.max_registers_per_block 
She would definitely be able to (I am not being threatened)
basically the number of variables you can have
the only thing that matters is
it's 65536 vs 1024
konii just ride a catamaran 

who would win? a magic tv or a flock of domestic americans?
magic tv for sure
I pull my ult, magazine I ordered before the event happened
i got home after a week so im behind a little but did you guys see notepad does markdown now
wait are u fr
i dont know what that means but welcome back vani
no frickin way

md in notepad 
it’s this type of text
next they will add syntax highlighting, image support, lsp integration
and then it will be 30% as good as kwrite
discord uses markdown almost entirely, no need to relearn
notepad turning into the new vscode

they shall be using notepad to code in the late 21st century
does markdown support embeds?
yeppers

just fix the lsp and i'm down
all my homies be coding in notepad 
md supports arbitrary html but its up to the platform to allow it
i can never betray them
nowaying
next they will integrate the monaco editor https://microsoft.github.io/monaco-editor/
this is the future!!!
so you can add html games to the md file?
notepad.exe using electron
depends on the markdown flavour
tauri,,,,,,,,,,,, 
lots of it is sanitised to not allow arbitrary html
:aintneurway:
notepad.exe using electron
ahh damnit
more like windows version of ed
imagine they add plugin supports for notepad lmao

i wish i had homies 
the file loading speed of notepad is still slow af though
they shall add api support with lua,,
new editor called btmc
me too… me too 
best text modifying client
what
lua 
u wanna be homies? 
well now i feel targeted cause that was my first thought 

yes
aight
any coincidences purely accidental
any coincidences are purely coincidental
guys i have been stalling sleep for the past 5 hours and now i see the sun
mhm similar
any accidents are deliberate
lua roblox.lang
and may happen if you push further on this name issue
any mistakes were mistaken
morbidly relatable 
this is my daily life 
im going to get home and then hit the floor snoozing
its 10am so im going to sleep soon too
i wanted to go sleep 5 hours ago 
Calling out half the chat with this one
sleep is optional
disclaimer: this is not medical advice
why don’t we just forget the disclaimer exists 
because i'm getting sleepy
zzzz
i dont need sleep i have water bottle
was born to mimimi instead i am drinking monster and red bull at every hour
You have been diagnosed with the eepy condition
water
fire
Earth
Wind
you cant have water twice
I sniped wind
mmmmmm tasty water
why
cuz you're a tv
Who are we drowning today?
sam
okay debater guy
if you have more than 1 H2O, you have multiple waters
debating what? water logistics?
yes
Sam
b-b-but… waters is water
water is wet
water (molecule) is different from water (fluid) though
i said it
water is not wet
it is
but it is
a single water molecule is not wet
we had a debate club in school but everyone had to go there for some reason despite it not being graded, once the teacher said something like "well if you don't want to be here you can just leave" worst mistake of her life
water wetness is a superposition
also i won chocolate by betting against that teacher twice 
H2O makes other things wet, but if you have 2 H2O's they make eachother wet
wait
phrasing
this too is yuri
Very real

waytooyuri
i agree
awa


yesh?
its not my fault english is such a dirty language
are you sure
let’s all start speaking in machine code
could be your fault
when i spent hours debating this issue it was in dutch, where words dont have such double meanings
your language could never support the fae ecosystem
ok, but in what architecture 
i dont even know what the fea is
bwaa

Imagining 2 Dutch man arguing is even funnier ngl
wdym?
i386 
Idk, the language is just funny for me
jij vuile teef
Who are you dribbling?
proabbly me
basket ball
1011100010000000?
I thought of the exact same thing
0001011001101

00000000…

it does if it evades automod 
Dang, sam is a meme lord

well crime isn't crime if no one charge you 
me when 00000000 - 00000001: 
11111111
underflowing is based
good
cheap and useful operators
saturating operators are boring and uncool
and operators that can panic should explode
try undefined behavior
- does what it wants
- doesnt care what you think
- may or may not make your entire program run a few orders of magnitude faster
i strive to make my code like this
but + in C isnt overflowing 
less black box than overloading operators
all the more reason why no one should use c and they should use hblang instead

hblang my beloved
correct
hblang :ragey:
invalid instruction, message unclear
add an eepy keyword that makes the program halt forever for no apparent reason 
just you wait i'll also add serialization
its getting somewhere. i just need to add a window on the left
This house is ugly fr
yep
garage
i cant believe you live there
jmp $

._start: jmp :_start
i would flame for 3 garages but i myself have 3 garages and we still park cars infront too
that ain't machine code 

anyone here ever written hello world in machine code? 
nope
why would i do that
sounds like suffering
torture
The fun thing about this place, is that left side and right side are not the same house
Z80
assembly is directly translatable to machine code 
but it's not machine code 
its a thin layer 
I've only write raw machine code for Z80 for my college assignment
ah so thats why its painted diffrently
Also designing the minimum system
yep, merged housing
i have a friend who lives kinda like that, its not too uncommon here. but most of the time we just have a loglong row of connected houses
but can you tell me what this instruction does: 101110000001000000000000
it's x86 
is it just an instruction or is it opcode + operands
also is it packed or is it padded

Let's assume a spherical cow in a vacuum
moo
11110100 
it's a full instruction
Assume that the cow is a sphere for air dynamics calulations
F4?
F4 yes
did you know you can do inheritance in hblang
A0 := fn(Self: type): type return struct {
foo := fn(): u32 return 5
bar := fn(): u32 return Self.foo() + 5
}
A := struct {
foo := A0(A).foo
bar := A0(A).bar
}
B := struct {
foo := fn(): u32 return 10
bar := A0(B).bar
}
i translated that binary to hexadecimal in my head 
just a bit awkward without recursive types
Or just use an actual cow shape
are you going insane perchance
always
perhaps 
assuming the opcode is 8 bits, its the mov instruction, but honestly the opcode could mean multiple things 
just split the word in half and convert each nibble to a hex digit 
that's what i did 

lol same
a merge operator would help here, then you could write (in pseudo syntax)
A := A0(A) + struct { }
B := A0(B) + struct { foo := fn(): u32 return 10 }
i in fact did know this
you could also automate this process with functions if we could get method info for structs but uh

extensible records but not extensible
konii fr fr

average konii behavior
average tuesday for konii
i forget
tuesday is too soggy
sowwy
Can confirm
frog
holy fuck it is
fog
because that’s how the world works
the inevitable and inexorable march forward of time

wdym multiple things? it's a mov tho, you got that right :)
The current day is only based on consensus
And I'd say today is sunday
#programming is just a quirkier, edgier #general-network 
I'm stuck in the past it's still Tuesday
#programming is just neurodivergent in the diffrent way
at 7pm
the council has rejected your proposal better luck next time
Except for one chatter in terms of edgy, this is correct
ah yes i too speak symbols
who is the one chatter? the one true king of #programming ?
@olive sable
I meant there is one gen chatter that is more edgy still
☺️☺️☺️☺️☺️
Normalize emoji in conversation
:0
╰(°▽°)╯╰(°▽°)╯ ☆*: .。. o(≧▽≦)o .。.:*☆
Some cat enthusiast, idk
I joke as I've been there for awhile
ヾ(@⌒ー⌒@)ノ
(^ω^)
( ̄y▽ ̄)╭ Ohohoho.....
konii this is not #general-network this is #swarm
case "a": return "@"
case "b": return "<"
case "c": return ";"
case "d": return "("
case "e": return "£"
case "f": return "#"
case "g": return "¶"
case "h": return "&"
case "i": return "!"
case "j": return "i"
case "k": return "%"
case "l": return ">"
case "m": return "/"
case "n": return "]"
case "o": return "☺"
case "p": return ")"
case "q": return "©"
case "r": return "ǽ"
case "s": return "§"
case "t": return "↑"
case "u": return "♫"
case "v": return "▼"
case "w": return "♥"
case "x": return "-"
case "y": return "^"
case "z": return "~"
case " ": return "�"
case "1": return "7"
case "2": return "1"
case "3": return "2"
case "4": return "8"
case "5": return "9"
case "6": return "0"
case "7": return "3"
case "8": return "5"
case "9": return "4"
case "0": return "6"
case "?": return "¿"
case ".": return "☼"
case "!": return "$"
case _:
return letter
it's going to be funny
wtf
guys, are yall machine code haters or what 
hello 
from TextEncryption import *
from customtkinter import *
import keyboard
log = []
def textencryption():
text = textbox.get("1.0", "end-1c")
if text and text[0] == "♣":
result = decrypt_string(text)
else:
result = encrypt_string(text)
result = result.title()
textbox1.delete("1.0", "end")
textbox1.insert("1.0", result)
log.append(result + '\n')
textbox2.delete("1.0", "end")
textbox2.insert("1.0", ''.join(log))
def poll_key():
if keyboard.is_pressed('end'):
textencryption()
app.after(100, poll_key) # Check every 100 ms
app = CTk()
app.geometry("400x400")
app.title("Text Encryption")
textbox = CTkTextbox(app, width=300, height=150)
textbox.place(relx=.3, rely=0.5)
textbox1 = CTkTextbox(app, width=300, height=150)
textbox1.place(relx=.5, rely=0.5)
textbox2 = CTkTextbox(app, width=300, height=500)
textbox2.place(relx=.05, rely=0.05)
poll_key() # Start polling for key press
app.mainloop()
flashbanged with code 

im slavign away on blender
slaving away on mimimimi simulator

cant seem to start the game though…
11101001101
this is NOT relatable in ANY sort of way 
how come this chat became #general-network
evolution
i curse this chat to write 4 lines of haskell every 2 messages
has it not awlays been
idk what haskell even is
what about machine code instead 
am I allowed to redeem past haskell?
there are no lines so you'd have to write an infinite amount of code
is that real, you've got an odd number of bits there 
I feel like theres been an abcense of screeps lately
it's E9 05
my bad I don't know how to write in machine code
@pulsar sun even if you gave the decryption script for your symbols, don't spam the symbols in this chat. english (plaintext) only :)
▲◝ ◜▲
◓▰◓
┗ ┛╲
▰ ▰ ╲
I was bored
do functional programming
if i moddeled my own house i would have been done in 20min. iggly why does your house have so much useless geometry?
On PC: 
On mobile: 
if it's E9 05, then why did you say 74D 
also what's E9 05?
random thought, if allocation is an effect then stack frame allocation is an effect too since it can fail (stack overflow or for continuations heap allocation failure) and since it can require an actual allocator (for continuations)
I have no idea why
another random idea, languages should make it so not sequencing code is easier than sequencing it (kinda like let vs let mut but in the context of monad vs applicative)
before I close out of the unicode tab, nice layering 👍

i dunno, even though it's a pain in the ass to sequence things, it's much easier to reason with once written
i happen to enjoy pain
imo a good language will not let you parallelize unparallelizable things too
chill
have you seen https://github.com/iu-parfunc/lvars
deterministic concurrency 
every linux power user:
texturing will be for another day cuz damn im getting sick of american housing and i dont even live there
neverming i have to do all the other buildings too still
Hm yes, cubes
basically, imo whenever you would have a &mut in rust you must explicitly sequence these operations (but potentially with something like forkable &mut IO or whatever for making sure its always done intentionally)
i aint doing interior for any of these. openworld does not mean entering the godforsaken buildings
hard agree
but when you don't have &mut the sane default should be to just parallelize it
or rather, not express any dependencies
yeah ok that i can agree
(/≧▽≦)/(/≧▽≦)/
jmp to 0x5, which is the first line
and the only line

time to set up some training script for my first alpha speech tokenizer
ok, but what's 74D tho? 
that's what u said
I don't know how to write in machine code I said

gn ima go eep
it's random stuff
gn
thanks
gn
counterpoint, race conditions and simultaneous access are based
how will you truamatise young devs without race conditions
i like simultanious acces, i dont like race conditions tho

they are the same 
no no no
they can make race conditions themselves with non-atomic swaps 
only if you work under the assumption that both operations are readonly
i was
which, even reading isnt guaranteed to be
if a.load(Ordering::SeqCst) {
a.store(false, Ordering::SeqCst);
}
just that easy
what have you just put there? it disgusts me
if a { a = false } (but atomic)
sry discord replying iz hard 
but not atomic
because seqcst 
no its faux atomic
but..
noooo
because i first load and then store
rather than compare exchange
so its not atomic
despite using atomic stores and loads
vulkan luckily has semaphores and fences
how will i write my mutex primitive if i dont remember compare-exchange
the correct way is
a.compare_exchange(false, true, Ordering::SeqCst, Ordering::SeqCst);
you dont even have atomics 
i will invent
just need to figure out how to do atomics in ableos without assigning an ipc buffer to each one
wondering how most microkernels do atomics
userspace or in kernel
they would... just use the cpu's atomic operations, but for shared resources probably kernel hm
good point
would probably be a kernel service
its either shared memory with both pinky promising to use atomics
all this talk baout atomics
or kernel service
like allocation
or just some service giving out resources
hum
doubtful there will be an ergonomic way to use lock prefixed instructions in hblang for a long time
maybe i should use kernel futexes on linux
but then again i could also make a nasm shim
but also thats weird and annoying 
oh yeah i have 3 open lily prs
its ok 
go sleep first
have been lazy
go sleep first
possibly
dont mind me being 7 hours ahead of you
did you not wake up?
i'm still sleeping actually
i vant read
cant balme you i woke up at 6pm yesterday
what
is that you sam
my vision is grealy impaired
ohohhhhh
ehat did you say?








sure i know what that is




