#programming
1 messages · Page 124 of 1
to use an external c library, you would do this
// main.hb
sdl_init := fn(flags: u32): i32 @import("SDL_Init")
sdl_create_window := fn(name: ^u8, x: u32, y: u32, w: u32, h: u32, flags: u32): ^SdlWindow @import("SDL_CreateWindwo")
SdlWindow := struct {
// whatever an sdl window is
}
$sdl_init_everything: u32 = 0 // probably not, idfk. i love random constants.
main := fn(): i32 {
if sdl_init(sdl_init_everything) != 0 {
die
}
win: ^SdlWindow = sdl_create_window("GAME\0", 0, 0, 100, 100, 0)
loop {}
return 0;
}
hbc main.hb --optimizations release --target x86_64-linux > main.o
zig cc main.o -lSDL2.0 -o main
and this would be how you use external c libraries
You have windows installation?
This is big news
on my old laptop
but i need windows so i'll have to reinstall it
this pc also has arch but i dont need it so it gets nuked too
Office stuff?
IOT LTSC? 
of course
boooring
Just make the tcp/ip implementation on lily already 
i dont think thats gonna be part of lily 
Stdlib will not do networking?
stdlib doing networking is kinda overreaching in my opinion
tcp is not something thats done in userspace on every os
you can do it with tap/tun but that requires root to setup the adapter
That's a fair point yeah
most stdlibs have some kind of networkings... but that usually doesnt involve a full blown tcp stack
yes
this is true
tcp/ip will likely be a userspace driver on ableos
networkings 
so a driver that apps ipc with?
likely
cant think of any other way that it would be done immediately speaking
can i print stuff?
see this is where you give up and use a library
either lily or import printf
you can use hblsp's util.hb too
Why does it sounds cursed
what do you want to print
its just the same as the kernel handling tcp/ip
a printer testing page 
A4 pdf document 
hey uuh i have a question, i want to learn to program but idk what language i should learn. does anyone have any indications or anything
i learned the very basics of javascript a while back
opens an ipc channel, new thread spawned, service and tcp worker talk through the channel
i forgot almost all of it tho
But somehow doing it in userspace feels wrong 
its normal in microkernels
microkernel awa
AbleOS will be a microkernel,m
preferably varibales?
?
it is a microkernel
yesh you are screwed unless you use lily or import printf then
lily 0.2 doesnt support printing in its current branch btw
how do i get lily?
Depends on what you want to do
and lily 0.1 has an outdated build script/compiler commit

i suggest just importing printf at the moment
lily is going through an angsty teenage phase
you can use https://git.ablecorp.eu/chayleaf/hblsp 's util.hb
Web dev will be very different than what these people are currently doing for example
but it probably uses lily 
awa
im just gonna steal code from chay to learn the syntax
You will love the bracket 
just clone the repo with submodules and you will be able to use it as-is
if you dont call the formatter it wont fix his code

printf_one := fn(fmt_str: ^u8, x: @Any()): @import("printf")
main := fn(): i32 {
printf_one("%ul\0".ptr, @as(u32, 1))
return 0
}
something like this
".ptr
thanks konii
well, lmk if it works or breaks

it aint really my goal to be a web dev
The trial by fire via Sam cursed fate began
what do you want to program? a rough/abstract idea is fine

i forgot a type
printf_one := fn(fmt_str: ^u8, x: @Any()): void @import("printf")
i wanted to work on cybersecurity
it printed 1
cool
i recommend C and python in no particular order
Yeah that's normal
tyyy
The l is concerning
oh i ddint even notice
a little bit
also try ctfs they are are fun little puzzles
ul is ulong
If it is what I think it is, then it does not do what it should do lol
not sure why it just took the u
Yep
okiii :3
main := fn(): u32 {
for x := (1<<32)..(1<<32 + 100) {
printf_one("%ull\n\0".ptr, x)
}
}
try this
The cursedness has begun 
eh
its probably %lu
probably
Also, why do you explicitly state \0 at the end?
hblang strings arent null terminated
they are slices
l is width specifier that says its a long
first it compalined about no return so i added return 0.
now it just doesnt print anything
yeah it is i double checked
try changing ull to llu
nope
hang on i should test this myself
konii 1 << 32 overflows

hm but it should be uint
I may have just discovered how to use a new feature I trained into NS-B-3.0.1 (the 3090 edition of NS)
it should be uint
not u32
that's why i did it

That being the breathiness embed

precedence
erf

why is addition tighter binding than binary shift
i lowered the 32 to 3 for testing and now its flooding my terminal
you did what 

ctrl+c
at least it prints
i just closed the temrinal lol
didnt know other languages could print structs
its a very basic formatting feature
Wait, so @import is a binding to C stdio?
no
@import is just leaving the symbol undefined and praying the linker gets it


that's why you can use it for raylib and sdl and whatnot
why not? 
On the contrary, do try it 
bwaa
no prob
yeh
so doing anything opengl related means hours of work just makign the packages work
hmmm
ill pas
in theory you should be able to codegen hblang files with the constants
similar to what bindgen does for Rust
but yes, effort
idk what a codegen is so sure?
convert C header file to hblang
C has a well defined grammar. You can have a program to take C file as input and read the AST to then generate a code in other language. Kinda like google translate for programming language
the opengl headers cant be that long 
in theory they should just connect to your gpu drivers which have the actual functions

oh is that just how a window looks liek on your os? i was wondering what i was looking at
ohhh
its the preview thingy
yes
either way, it works
yeah, so, hblang
zig-out/bin/hbc a.hb --target x86_64-linux > a.o
zig cc a.o -lSDL2 -o a
that's how im adding sdl2
i have skimmed through the 26k lines of code. 99% of it is jsut #define and typedef
surely
the main vulkan.h just checks what platform you're on and then goes to another file apparently
ye vulkan is also just 26K lines of typedefs
its all in structs tho so less typedefs overall
so basically, dont do that
use raylib
Or do, and enjoy the suffering 
i doubt ill do any major projects in hblang as long as im still working on the game-jam game that had to be release 3 weeks ago
but maybe afterward
that's funny, i didnt realise the raylib example came with a build.zig 
i dont recommend you do any major projects in hblang full stop at the moment unless you want to write a bunch of stuff from scratch, and deal with painful random bugs and lacking basic stdlib features
Tell the compiler dev to support ARM for embedded dev 
arm is a future goal
its planned
just, no one here has an arm device
and adding arm would be a significant drain on resources without another maintainer
you have a phone 
What constitutes as an ARM device? Does raspi count? Or will STM32 do?
True
best i can do for you is arm64

How many person is working at ablecorp again? 7?

okay
there's not as much going on right now because lead dev is in a slump and trying to move countries
yeh
Lead dev?
the esteemed boss of ablecorp
Ablecorp
able
Ye
Where is cain 
Dead
that joke has been made a few times
you can if you want
it would be helpful
and im not gonna stop you of course 
but you will suffer
Yep it would seem that way
come back to it when ive ported most of the lily functions
i havent really worked on lily as much recently, been doing other things
Thzts fine, no rush
general maintenance of life
konii touching grass? 
The longer you take, the more time i have before i will need to go into the hellhole of porting stuff to another language
awa
Unfortunate typo, lets ignore that
spending too much time rotting, reading, working, cleaning, taking care of birds, etc
responsibilities 
birds
sorry i should censor that word
Every time i try to do anything i always get the voice in my head of "you could be working on the vulkan stuff rn tho
"
So thats most of what i do in the day
Im not a dog 
good thing the pavlovian response works on all animals more complex than an amoeba
actually im not sure if insects can be pavlov'd
sounds like an interesting read
Depends on the insect maybe?
im not sure if insect brains work on the same reward system as mammalian, avian, reptile, or fish brains
insects are very different
its obvious that they have some kind of incentive to eat, rest, reproduce, and run away from big things that want to squash them
so i'd say its possible
pavlov's cockroach 🎦
Both bees and cockroaches can apparently
maybe its unsurprising considering arguably one of the oldest insects already behaves on a similar basis
those being ants
My main issue is that i just dont have many things i like to the point of pavloving myself
its easier than that
Unless they start rewarding me with 3090's 
you may not have some like on that level, but your brain has more basic tendencies
just eat a sugar cube when you do a good job
Wait so why were we training me for again?
I said im a workaholic and you brought up pavlov
NS, but with breathiness
schizo
"going round, round and round"
the line is "round, round and round" 
Maybe I'll tune more tomorrow
At the moment that 6s clip is the only properly tuned part
something lik ethat
i think i have a speech processing disorder
Congrats! Its a speech processing disorder
i think i have speech
Wanna learn to hack? Check out: https://stacksmash.io
Hackers can attack anything, but even your motherboard? In this video we break down what a motherboard exploit looks like, and what you can do about it (not much).
https://www.binarly.io/advisories/brly-2025-009
🏫 MY COURSES
Sign-up for my FREE 3-Day C Course: https://lowlevel.academy
...
i have a gigabyte motherboard but im not watching this video because the thumbnail is boring
just now
look where
exactly
Well, the secure boot is broken
i don't think speech is something you see
Do laptops count?
Like my subwoofer once said, hearing sound is boring, you need to feel the sound
if you speak loud enough you can cause sonoluminescence
no human can
It just says multiple. Check if your motherboard is there
https://www.binarly.io/advisories/brly-2025-009
have you tried
Quite a list tho
Ah yes
i tried and probably woke up my neighbors, i won't be seeing sonoluminecsence i'll be seeing the police at my door
mission accomplished
awa
me when i lie on the internets
i am mean 

win11 reinstalled i guess i'll sleep now and debug whatever i have to debug tomorrow 
chay installing windows what's next
will this become a reality
too poor 
i would never lie 
also something i've realized today
i haven't had a linux live cd for like a year
ever since my android phone broke
and i didn't even notice
nixos 
it would be a fire hazard
Konii you're british, is dr. Who worth watching?
neuro-sama
its alright if you want to pass time
i binge watched all 9 seasons in school
i hated the angels 
no sam you will be working on vk stuff sam you will never pass time sam
you will never be unproductive
Ye nah im not doing vk rn
I need to work around the house tomorrow
And its 10pm already
just watch the first season and see
note that different seasons have different directors
huh
so the vibe changes somewhat, the setting is the main unifying thing
i just saw a buch of clips on yt shorts so it looked interesting
thats kinda its big deal, what allows it to run for so long
is that it can just freely sack actors and directors 
||something about daleks vs the other robots and there was also something with the tardus being a girl or something||
idk if these are spoilers so just to be safe
i know people irl who watch shows this way, and i don't mean like clips
imagine a vod sliced into 4 minute clips and you'd go to the clippers channel and watch them in order
bruh
brain poisoning
(i can understand this if you dont really care that much for the show and just want to get the references or whatever though)
also theres so many touhou fans that have never played a single game so 
i used to watch yt videos where they go through a manga or sometihng cuz i cant be bothered to read it myself, but besides that i liek watching the whole thing
manga is like the easiest thing to go through
im lying actually im rewatching overlord and skipped the entire lizardman arc cuz its boring asf
manga needs your full atention tho cuz its reading, i use those vids as bg noise
mhm but then whats the point you won't remember anything
okay then
that depends on the person i'd say, for example reading is one of the hardest activities for me to pay full attention and i end up reading the same page thrice to understand what's going on
my memory used to be dogshit so i have rewatched steinsgate about 15 times already. now i know whats gonna happen so its a bit less interesting to watch
not manga specifically, anything
for me it depends on the manga, some are super chill to read through and then there's ones like one piece 
i read the entirety of bleach in school its like what 650 chapters?
im not that bad in terms of re-reading, but i do need to put my full focus on it or i will get distracted and then ill forget what was happening in the story
698

but i couldnt finish the anime because it was so long
i mainly watch anime so i dont have an impresive score on manga, but i have watched 300 diffrent anime
i stopped at like episode 170
honestly i've had enough after fairy tail s1+s2
that was the last two long anime i've finished
code review is especially hard
i mean not hard it just takes me forever
ye at this point i probably have 2000 hours worth of anime watched
so 2 and a half month of my life, and im 217 months old
so about 1% of my life is anime
waw
don't ever ask league/dota players to calculate how much that game took of their life
or rhythm game players
i can't physically play more than like 3-4h a day
i have 4k hours in minecraft so thats 2% of my life
i am exhaaaausted
when i start up satisfactory i play for about 12 hours
but i play like once every 6 months
purely cuz i dont really play many games anymore
don't get me started on mc. if there was a steam like display of hours it'd be really bad
i have tens of thousands
i started playing in 2010

i started palying on clones but i got the real game when i was 8 or so probably
1.11 update was already out
2016
there's no fucking way
honestly, at this point the mc clones have more charm to me than the real game
real mincraft lost its touch
they have an english localized name, it's called "digger online"
i was barely in primary school
i eventually just bought minecraft in like 4th grade
and um played it on friends pc before that 
we have played it when it was popular but mainly for shits and giggles
to me this isnt as polished, but it feels more alive
i stopped playing minecraft around 1.8
Stardew Valley
there's nothing interesting baout it anymore
I should stop lurking and remember to speam
speam
speam

Bro this makes me feel old
frick it changes back to speam
So you stopped when I started mostly, because I started at 1.7.10
I'm not even that old 
he said its speaming time and speamed all over the place
the older we get the smaller the age difference gets. i remember when kids in 5th grade seemed like adults to me when i was in 3rd
and now we are the same age basically
why do so many people avoid modded i don't get it
that's the actual time sink
its that, but i also feel like a lot more changes in a short time as a kid. as a kid you go to elementary school and finish it 6 years later, during that time you grew 2 heads taller.
as an adult 6 years is not that much
Modded is a very real time sink
Modded any game is a time sink
minecraft tho
Some people spent years on modded skyrim
ok yeah skyrim sure
And also likes memory
nowadays it's so much better
i dont avoid it, i just havent joined shadow's server in half a year
ATM10 needing 10gb 
SMOL
atm players 
we shoudl atm9 again sometime
I have 64GB I will use the 64GB
all the mods
minecraft modpack series called "all the mods" yeh
Can't imagine how that would be balance
Then there's also people that play Gregtech or supersymmetry
I wish the best of luck to those people's sanity
Like, why
it doesnt allow me to add more than that, so its at 20gb rn
or well, curse does but mc itself complains
What to eat for breakfast guys?
What kind of breakfast is that 
idk
i dont eat breakfast
I've done this more than once
why would you need more? i dabbled in creating modpacks and like, on modern versions i can get the game to run at 3gb with 200+ mods without gc triggering stutters/lag, as i said it's pretty good on modern versions with all the optimization mods that came out
in the recent years
what i call breakfasts is just my early-morning-before-bed-snack
Pudding for breakfast?
I want some fried rice but my rice is not firm enough bwaa 
cuz i have more, i want to game to use however much it needs so its not ram bound
idk if thats better or worse than nothing
is atm that bad 
not really
Parent approved, 2 weeks ago I was having donuts for breakfast
Man, our breakfast is usually something with rice here
but as i have 64gb my thinking is just "leave 16gb for system tasks and give Minecraft the rest"
it's way better than nothing, good trick if you're starving is just drink boiled hot water, it feels hearty and will fool you
Most of the time I just skip breakfast, but sometimes the first priority is eating anything instead of nothing
ill stick with this banana and lotus cookies i have thank you very much
Or make a simple soup using bouillon and green onion
i mean like if you're not home or something
Mods!
@patent walrus
Should I ask that bot what to eat?
Thanks!
its not even the original scam anymore
What is it now? Not Mr. Beast?

ever seen those office cold water dispensers? they usually have a hot option too
office 
and the good ones have soda too
they're not in offices only 
im proffesionaly jobless
I think the hot water is in fact the common one not the cold one
Wdym has soda?
As in, it carbonates water on the fly?
yup

Are you perhaps referring to a fountain drink dispenser
I know some are specialised for coffee and those are hot
that's probably for instant noodles, lately i've seen way more of ones that don't have a hot option
because we don't really eat instant noodles and a kettle suffices for hot drinks
Huh, it is more common to have the hot ones here than the cold one
then where? cuz in belgium we dont really do hospitality for free. its only in places you have to pay for or at an office
Like this, but 2 tap
yeah
One is regular, one is hot
yep
i have never seen that before in my entire life
What kind of country is that 
that's a water purifier?
A dispenser
oh mb yeah dispenser
we jsut dont care about strangers
but I always remember that big bottle of water to be placed on the dispenser
it varies
Yeah, that's more common model
i asume it just gets pumped up
cheap ones
the tall ones sometimes have a fridge at the bottom too
An ass to get the carboy there
"fridge", for soda cans
that is not a regular dispenser atp
this one has carbonated on the middle
a what???
overengineered piece
carbonates on the fly is crazxy
Damn, never seen that one before
Carboy
I did not know those bois did hot
carbonating on the fly isn't that crazy, there's even a term for those, "soda fountain"
Wtf?
carbonating on the fly is just using co2 canistors
Is hot really not more common outside of Asia?
current office has them on tap water so they have these giant co2 tanks and can create infinite cold sparkly water
never seen one in my life
not even outside of your country??

I need that
the ones with cold are just in offices, my dad's work has one
but besides that nowhere
i refuse to believe that, in some countries water fountains are more common but these are still very prevalent
bro i understand less and less how this bracket works
all games were first to 4
but grok won by 1 point at 3-2, meaning it was ft3 (bo5)?
this is such a mess
chess
what is the metrics here
its not like i perticularly looked for one, but i cant remember seeing any in france, poland, spain or austria
chess ai tournament
hosted by kaggle/deepmind
oh isee
but it's really weird, shouldnt this be bo7?
🤔

bo4 seems like the wrong term for this
it seems that they always run 4 games and only do a tiebreaker if necessary
i thought there should only be odd numbers of round
over
ing
so it ends up as bo5 except with extra unnecessary games
??
custom rules for ai bros to understand basic tournaments better
vibe chess
maybe gemini made an impossible move that still got itself to checkmate again
so they just ended it
video didnt show gemini respond to that so idk
it just stood up and left
gg'd mid match
WHY


honestly i kinda like the idea of this
I guess that counts
Reminds me of how tab groups work in one of the firefox tree plugins
I was just looking for a program, any program, named horse
🐴
THe browser is paid btw
tree-like tabs are not a new idea, you can get some version of them as an extension for basically any browser 
oh nvm i guess
I don't even know anymore with this 
Yes, that horse is on their site
Honse
if chrome is so hard to fork why don't we have many webkit browsers
i say "we don't have many" when there's basically only safari and epiphany
how dare you forget about the Nintendo 3DS internet browser
and probably many others like it
let's bring up the playstation browser too while we're at it
if i had to guess it's cause webkit alone doesn't get you that much, you'd still need to build a whole browser around it
i mean desktop
which most people will never do
yeah, that would be my guess too
easier to just take chromium and change some styling
fork epiphany then 
easier to take the chromium GUI and modify it than to build one from scratch
so easy a particular company made a business out of making a proprietary framework around it
do WebKit based browsers get access to Chrome extensions? I assume not?
technically we do have a bunch of webkit forks, they're just forked twice 
no, you'll have to roll your own extension system
maybe you can hack it on but
yeah, that'll be another big reason then
safari for windows was so gorgeous
i used chrome back then i don't remember either
apple nowadays follows the design language of the platforms they develop for
the windows icloud app looks awful because they follow whatever the stupid windows 11 design system is called
apple music for android too
imagine being one of the 3 people at Apple who have to use the Windows design stuff while everyone else gets to use Apples
can they stop changing what they want apps to look like each windows release
not even, there was a change during windows 10 too
everything became acrylic or whatever
Fluent design is what windows call their design system?
they call it Fluent
oh i knew the name felt older than the current design system
it's actually fluent 2
Scrolling the site is very laggy 
LMAOOOOO
ever wanted to make your web app look like microsoft slop
microslop
theres simply no way
they made it into a library
as if ANY fucking person will touch this
i think fluent is the design language i singularly dislike the most
the github repo has 19.5k stars
for the react lib
my faith in humanity is depleted
i'm going to sleep
I'm with you on this one. Reading their design language hurt my brains
wait
19.5k microsoft employees potentially?
man just bring back metro at this point ts so ass
it's apparently VERY new
speaking of
yeah no this is just microsoft- theme
Is there a react equivalent of https://vuetifyjs.com/en/ ?
You mean the hundreds of react component libraries?
The problem is I can't find one that uses MD 3
Oh I guess the reference gives web components
my promise resolved before it logged
Did they continue it again? I remember they discontinued it
You're writing raw JS again? 
ive never seen "promise" before. so thats js huh?
that line of code reads like an isekai slop title promise changed; false data undefined
This is isekai slop
Also, that is not necessarily JS too tbf
i wouldnt know
Idk any other language that calls it promise off the top of my head 
Hmm, you're right. I confused it with async
it does?
Not as part of the language but yes
a facility to store a value or an exception that is later acquired asynchronously via a std::future object created by the std::promise object.
ye multithreading or general async is the only use i can see for this
A bit nicer than passing raw pointers around
I still haven't solved my breakfast problem 
Porridge
I kinda want some too but I'm in bed
Guess I know what I'll have for breakfast tomorrow 
guys did i finally cook a frame system?
what is the context of this?
a frame system for what?
my art program. I also finished making the layers their own resources which was more effort than i thought.

I need to make an export frame and export as sheet functions or something so that I can actually use the images more conveniently in other Godot projects but for now I should work on the frame ui a bit more.
I should also restructure my code eventually as I'm approaching 1000 lines of code which seems like a bit much for this.
isn't a promise the result of an async function in js?
Final round of the AI chess tourney comes down to Grok 4 and o3
wehn the browser addon wants $8/month for all its features
hmm
ii make
mine even found the colours used by the addon lel
gj
why does my program lag when selecting line edit nodes?
big progam
But there doesn’t seem to be any lag spikes anywhere else and I only have 11 line edit nodes. It’s not really a big issue but the animations and my mouse gets choppy for a second after selecting one.
Ah yes my godot project is made in Minecraft mhm
pixel = minecraft didnt u kno
I maybe could make it with redstone but I’d need Java edition.
Surely no Ui changes need to be made to support the influx of layers.

where are your embed perms
He left it at home
Yeah, but not every language that supports async uses promise
This is a good example that I might want to be able to use layers that are able to be in multiple frames. Which is extremely easy to implement code wise but once again it seems like it’d be a pain Ui wise.
I swear that some people just hate the web to actually be a useful place
i mean... i think applies to articles
and i admit, i do hate bloated js libraries that take up 40mb
There are also exceptions to the kind of article. Just look at any manufacturer product page that showcases their product. There are artistic intentions beside the actual copywriting
Some infographic/interactive articles also have no choice but due to the need of many graphics element
I agree however a very specific kind of page shouldn't exceed certain size
So rather than saying "the web should be less than #" in general, I'd say it should only apply to a very specific set of it
And what's more is JS can actually help. By loading the article via API and not resend the navbar HTML for the nth time, and just replace the <article> section as needed
I think that fits the "load critical parts first" strategy
forgot to post today
Puzzle: #433
Time: 5m 30s
Hints: 0
🟩🟩🟩
🟩🟩🟩🟩
🟩🟩🟩🟩🟩
🟩🟩🟩🟩
🟩🟩🟩
At this point I've almost got a perfect Linux remote desktop solution, the only last hurdle to overcome is just audio
The graphics part is already way better than it ever was on Windows
What are you using?
what's killing you on audio
pipwire works fine for me
ive heard some have like quiet audio with it tho
VNC doesn't have direct audio redirection built-in, so I need to figure that out separately
Oh, VNC
use rdp
I tried
oh wait if wayland then
It didn't work
X11
I tried XRDP, I got really close but the final login failed
No matter what I did, it would hang on the blue screen after tying in credentials
that's weird
Cinnamon on Mint
Do you have pulse audio
i actually got to the point it would connect when connecting KDE -> openbox but then it exploded because wayland
PipeWire + PipeWire-Pulse
I'm not very knowledgeable in this but I would suggest forwarding sound through another channel
It also gave some weird, cryptic errors
since VNC doesn't have sound
i remember the ones i had being weird until i realized they were basically "it aint gonna work bro"
I already knew that
ssh only CHAD time
that or find a vnc extension
I'm currently on X11VNC
Set it up 3am yesterday because I just could not get XRDP to work
cachyOS has neatvnc and tigervnc in their repo
which means they must be relatively up to date
yeah im just speaking from a "recentness" perspective usually i assume the more recent the more compatible it's gonna be

are you able to get it to work from like your phont to one of the maachines
also what kind of network connection are we talking between them
i got blasted because both my pcs were on different subnets of my LAN so it was just like nah for a while
I know it should work, nothing about the network inherently changed from my Windows RDP setup
id try tight VNC/tiger VNC
dont try realvnc, it sucks and not even because it sucks but because i installed it and launched it once and the guy is literally still emailing me
If you are not hung up on open source solution, have you tried nomachine?
I'm currently remoted from TightVNC
I looked into it, could not find a pure self-host setup
does proton work
i think ti doesnt have a server from linux
only to window
not proton
what am i think ing of
prarsec
parsec
Never heard of it
Oh yeah, parsec is for gaming but may work
i only know about it because of vedal lmfao
Because game needs low latency and audio
i looked into parsec and the problem was
you can connect to a pc from linux
but they dont have a linux host server
I want a fully self-hosted setup I can directly connect to
so it depends on the direction you need to go
Linux is explicitly host, Windows is explicitly client
then i'd say parsec is right out
Also, superbox, wdym nomachine don't have self host?
Really the GUI part with VNC works perfectly, even better than RDP + Windows, the audio is the only thing I didn't have time to bang my head against last night
there has to be some easy way to bs your way around that
At least I could not find any that doesn't in some way interact with a central server
From what I know, something with pipewire-pulse is my best bet
??? I think you're thinking of NoMachine Network
https://www.nomachine.com/support/documents/getting-started-with-nomachine
NoMachine enables secure access to remote computers over the Internet and on LAN, wherever those computers are. Free for personal use, NoMachine can be used to access your own desktop, to provide remote assistance on someone else's computer and facilitate remote collaboration. There are two ways you can connect to your computer using NoMachine: by using IP address of the machine you want to connect to (local or public-facing)
You can do NVIDIA game streaming with Sunshine and Moonlight probably, pretty sure that does audio too
That reminds me of the cursed docs that they have and not supporting proxy 
I never found this page
Though I was really tired when trying to figure something out
I want full desktop. not just games
you can do full desktop with that
at least you could with a Windows host, but I don't see why it wouldn't also work under Linux
I gotta say tho, the docs aren't that great for both of those
Either way, for the desktop VNC works perfectly well already
I'll need either to figure out PulseAudio redirect with pipewire-pulse or a custom solution with my own code for audio most likely
they're kinda hidden, but it's not too bad
Moonlight has good setup instructions here
https://github.com/moonlight-stream/moonlight-docs/wiki/Setup-Guide
custom let's goooo
Just random extra stuff to figure out
In theory a custom setup doesn't seem too bad if I can get a way to stream the audio output of the system into some sort of buffer
apparently realvnc connect7+ can handle udp audio
If you're using Sunshine, you'll already have a built-in "Desktop" app. This only applies for hosts using GeForce Experience.
the second part is slightly concerning but I'm sure there's a way
But if pipewire pulse works I'll just use that
We are doing another jank. LFG!
All the VNC x audio stuff I found directly made was paywalled
Whar?
there is a pulseaudio-win32 package on choco (probably scoop too then)
so you could just run that and slap ur linux's ip in that config then configure pipewire.conf with the ip/port thru libpipewire
Nah, I just think it's a bit jank that you'll do custom pipewire-pulse to solve just the audio
Because you also need to sync it with the vnc somehow or it could be jarring I think
Which is why I said a bit jank lol
If I write custom code I can tune it to do whatever
but yeah, I would like to aboid that scuffed solution
i would try remmina with RDP before i did that
it's both copyleft and libre which means this goat is all in
apparently Sunshine works perfectly fine on Linux, including for full desktop 
sunshine and moonlight huh
i know they're real i just feel like theyre not
because of the names
Well, I do not believe a program named horse exists either at first and yet here we are
kek
And also, .horse TLD
I'm just baffled by the fact that it is a subscription browser
I wish the mozilla foundation would provide a better way to support firefox development than whatever the exec thinks are for greater good of the internet
I wouldn't mind a subscription browser if they actually offered anything worthwhile personally
But like, this is kind of just a slightly more polished extension maybe
Well, I still prefer a browser to be free, but I do understand the need for money to support development due to the ever changing spec of the web. That is why if firefox have a direct donation then that would be preferable instead of going through the mozilla foundation
But how else will those poor execs survive 
I do believe a good exec is invaluable. But I don't think whatever mozilla is doing is a good thing right now. Just look at Gabe and Linus (well, albeit Linus is not exactly an exec)
Hey people of programming chat, i just want to tell a quick story on how reliable samsung SSDs really are..
So i had this micron SSD for like 2 years... and it broke down like 10 minutes ago...
So now i am transferring files from both the micron ssd and another samsung ssd i had for like 7 years.. and the samsung SSD is still as fast as advertised and still is in perfect condition (like 98% or something)
And i am gonna overwrite the samsung ssd with a new OS install cuz i need my main laptop
some samsung SSDs had issues that caused them to wear a lot faster but yeah they're generally quite reliable
Samsung is the brand that usually flops on the first few gen, but solid choice after a few iteration
Probably cuz they genuinely try to improve the flaws as best as they can without cutting corners
Probably also why they are sometimes wayyy more expensive
That, they are
My decade old Samsung ssd is still going as strong as ever too
If i remember correctly it is mostly Sandisk, Kingston and Samsung that are generally most reliable
According to google the newer flash storage products of micron have improved a lot though... still don't think that i want to risk it
when is it getting an uma musume adaptation
Buy a subscription and ask their support
scrum masters are scum masters scrum masters are scum masters scrum masters are scum masters
i respect their hustle for they do no work only get paid i respect their hustle for they do no work only get paid
thank you for coming to my outrage talk segment
It is
that's kind of how marketing works 
they do nothing new under the sun but make a fuss about it until clueless people all throw themselves at them and then peer pressure you into doing the same 
crazy how much they can sell fancy tabs for
£10/month is similar to the cost of protonplus
lol
It's practically 5 a month 
proton is damn cheap not sure how

but i decided to ignore it because awa 
Oh, I thought toast was talking about the horse browser
awa
me doing ungodly things in css to avoid having to write 20 lines of javacsript
Don't worry, HTML5 and CSS3 is turing complete
that doesn't help in the slightest
It helps to ease your mind that whatever you're trying to compute is computable so long as other programming language able to compute it too 
as I said, it doesn't help
the best way to avoid javascript as a whole is economic collapse that leaves us without electricity 
was reading an online guide, thought the writing was a bit suspicious, and my chatgpt radar was right
How to E
htmx htmx htmx
i actually never tried htmx because i don’t know what the most convenient server side solution would be for it and i feel like it would be only convenient for projects of a very specific scope if that makes sense
GOD fucking dam it i just wrote a 200 lines where did the 1090 come from??
Goodmorning 
hi
good afternoon
what?
welcome to the reality that 99% of the code that runs isn't yours
you used the dataclass incorrectly so it complained inside the library
especially in python 
man you gotta be shiting with me

would you rather it just silently fail
i swear to god my code is debating over me
put the id field at the end
ok
Or try its best and be JS 
WAiT IT WORKED WTF
well yeah





