#programming
1 messages · Page 483 of 1
possible but probably not with VirtualBox 
ohh i see
you don't need a virtual machine when you have a real machine
i just want to test something from clean install without installing new OS from scratch.. also would be neat to have my actual OS running simultaniously
who's gonna tell you how shit your code is if you're alone? you wouldn't be good enough to know yourself
On Linux you'd want to use KVM through qemu or libvirt, there's many guides for GPU passthrough with this setup online
On Windows I think Hyper-V can do it? But really not sure
do project review as you learn
Look back at your old stuff
Or hell even look at what the language expects
I'm not saying you can't learn anything on your own
but the speed won't ever be the same as if you had experts in the field coaching you
"Python is easy to read", also python:
no one says python is easy to read, biggest lie ever
just know that if you pass a GPU (or any other PCIe device) through to a VM, your host can't have it anymore 
so if you want graphics on both at once you kinda need two GPUs
Python is just close to English, it takes many sacrifices to get there
Close is good enough imo
Does tmux works with neovim
it makes total sense
and i have my old gpu too.. but it looks like a hard task to me to set it up like this
would actually rather just boot up entire old pc
I'm thinking about making neovim, llm intergated(like antigravity but on terminal), lazyvim
easier
it's not close lmao
I saw someone have something like that, and it's look like it's some sci fi hacker terminal lmao
I learnt more in 1 month with experts than I did on my own in years
Agree to disagree there
you probably never actually had anyone good teach you
Wym this IS easy to read
maybe it's just me but it's easy to read for me
I just wanna say I dont like python inden :p
indentation is quite annoying
Good to know we are moving on to insulting eachothers character now. I'll say that sure I haven't had anyone good if that'd answer as you expect.
I'm done debating
:niuh:
mate r u ok
Petition to bring back medieval rat torture for anyone who uses spaces instead of tabs
Google internal source code pov
Im not even kidding
ewe

wrr
GEE I SURE LOVE 4 BUTTON PRESSES INSTEAD OF ONE HOW CONVENIENT AND AMAZING AND NOT ANNOYING IS THAT AM I RIGHT


We had a plugin that converted tabs to spaces automatically iirc
lmao

Should be the other way around
Tabs are also less bytes to store
There was an April fools at google where they made that announcement and i fell for it
We have posters in the toilet with like conventions and stuff
And the april fools one was using tabs instead of spaces
To "save disk space"
if your IDE doesn't do that change your IDE
Now do that tens of thousands of times
oh i remember you saying once your reason for preferring tabs over spaces isnt storage space
is it accessibility? 
assume 1 million lines of code, each line is indented 4 times, thats 16 million bytes used on indentation, the horror, we can reduce it to only 4 million bytes by replacing with tabs. assuming a common style guide of 70 chars per line, thats saved a massive 12mb of like, 86mb

basically its negligible
this is a super exaggerated case
immortal venerable
Too exaggerated


If you don't think 12MB saved in code is significant idk what to tell you
yee its more uniform for things like screen readers
70 chars? what
is that averaged with empty lines for } or what
did u miss the part where its 4 indentations on every line and the original file size is 86mb

70-80 chars are usual for style guide
86MB -> 74MB is VERY significant
that's noooot enough
i prefer tabs to spaces, but the size argument is completely stupid
double that

the cheapest thing to expand on a computer is storage
Nay
code size at all is barely relevant, it's tiny and easily compressible
What in the fuck did I tab back into
That's about 13%
actually installing an extra fan is cheaper
"We can waste efficiency so we could"
It's stored data 
It's this stupid attitude that leads to all modern software being unoptimized garbage

if you have 86 MB of code then I fear you might have more trouble with build artifacts than your code 
tabs are killing games tabs are killing optimised software aaafggrhrhr im so sad and
Imagine being offered something for either $5 or $20 and it's the exact same product but you choose to pay $20 just because you have the money
yeah because compiler really cares what kind of whitespaces you use
actually you don't need to use any kind of indentation in c/c++
just save the bytes by writing it all in one line
One of the few good things about C++ I suppose
lets minify all code to look like obfuscated js
you're either a troll
or a rust user (basically a troll)
I think as a compromise we should all switch to using tabs on even lines and spaces on odd lines 
harmony
insane prejudice against a language that has 100mb hello world binaries

I would rather be castrated without anaesthesia than use Rust
Should be minified when stored and prettified when loaded into an IDE
a build process? IDE? inefficient, get rid of those
and its automatic, your filesystem does it for free
Once I learn it I do intend to do that as much as possible
what a waste of time
Not when it's not configured to
software that only works on one architecture and one operating system
efficiency

your pc is also not configured to explode by default but you can make it if you configure it to

because we dont distribute source code 
we do on github
ye but github owned by microsoft, im doing a public service by uploading bad code
but any remotely sane way of storing source code will not overshadow all other files
It is at this moment I mise @desert plaza
Why are people hating the idea of assembler apps here? Some of the best, most reliable ones are written in it. (And vubecoding in assembler will be the inevitable next step, but that's another talk)
distributed as files containing just 1 character each which has been duplicated 1024 timed
Because making actual software fast is better than having a theoretical software
massive waste of time, zero portability
Some of the best, most reliable ones are written in it
please provide example
youre giving a sane argument to someone who just said
vibecoding in assembler will be the inevitable next step

as if compilers dont exist
vibe compiler
pleas
helo llm i would like 1 binary for x86_64-v3 linux 7.0.0 i want it to play flappy bird
You're onto something there
hi yes please run this 
ud2
seagull, it's a kind of bird
dfjkdfjkhsfsh
It means your pc is possessed. Please search for the demonic sigil
demon seagull which is ill
i understand
this person has been typing for a while
are they having a temper tantrum

I'm not that knowledgeable but a lot of the old shit is in it, is it not?? Important things like the task manager for example. Or recently i used ValiDrive to check the new SSD i bought, it's a new app and much better than trying to use someone's python prototype from github

last real world use of writing in assembly was writing a compiler to never have to write in assembly again
no, it is used in bootloaders and kernels, as a shim to jump to compiled code
(not)
Naah, use whatsitcalled yesterday framework for bun
there are still uses of asm, its just not used for writing whole programs unless youre targeting an embedded platform with specific requirements

rollercoaster tycoon 
m
Even for embedded I still use C 
ye that why specific requirements is added
merged 5 DAYS AGO:
hardcoded fucking path in a prod release
thanks
We should just make a cross platform framework called proton 

based on gecko
obviously
I've seen way worse
really old stuff is, but there's been very little need to write anything in assembly since C exists, especially whole programs
for basically any graphical app with actual functionality on a modern OS you can pretty much assume that it's not written in assembly
and the decision to use assembly somewhere is more because you need something platform-specific, not because of reliability (quite the opposite
)
nope pls no no no don't no
oh that reminds me of those fake packs of gum for pranks that shock you if you try to pull one out
i remember i wrapped mine in an actual gum wrapper so it was harder to tell
gecko
can actually be used
on android
as the only decent way to ship a browser independent of system webview

i used it once
This implies you've make electron-like framework for android
What have you just done
its a thing from mozilla
have you ever heard of
Despia

GeckoView, a WebView-like component from Mozilla specifically designed for building Android browsers.

the type of framework superbox will create driven by his hatred of electron for wasting resources that also happens to blind him of the fact that gecko is actually a way worse resource hog
Nah, switch position and add r
Yep
i've had the unfortunate need to use a tauri app on ios
it's... 
bad
why did they even decide to support ios why
I think it would be funny if everyone collectively decided to stop supporting ios
just the web app wrappers pls
wat actually brb gonna nuke apple app store servers real quick

I also have reached enlightenment. The reason web app is so prevalent is because the platform needs to catch up to the standard rather than you that needs to catch up to the platform
Say you write a form filing app. You can make it a web app and have the burden to support it on the browser for every os
Or you can burden yourself learning every os API
As if 10 trillion cross platform frameworks that aren't web app garbage don't already exist lol
And be at the mercy of the platform again when things changes 
eh not really
That happens with browsers too
also not really
But you have 3 vendor
And they are basically a cabal
Instead of QT just one
it doesn't, yeah firefox/chromium/webkit is worse than things ever changing
Still more resources than a single company 
Mozilla is basically a Google puppet half the time
Everything else is just Chromium, and Safari who knows wtf Apple is doing
webkit
Stolen from ye olden KHTML
It's a fork when it can still be contributed back to upstream

its downstream when it can be contributed upstream
its a fork when it does its own thing
haii programming beans
hello buh "owl = stinky" spoon
its a fork when it has a few prongs
ohisee
haii toast
whar
java?
ye
do u know java

gpl3 lgpl2 and gpl 2 library
Netbeans
Also called the bane of IDE
In computing based on the Java Platform, JavaBeans is a technology developed by Sun Microsystems and released in 1996, as part of JDK 1.1.
The 'beans' of JavaBeans are classes that encapsulate one or more objects into a single standardized object (the bean). This standardization allows the beans to be handled in a more generic fashion, allowing ...
oooh
netbeans my goat
The only IDE that doesn't take 15x more resources than the program you're developing
TIL 
it's also convenience
clicking a link is faster than installing software locally
🚽
what if you call them Toasts
and also become toast yourself
apology rejected

its a spoon when it has
a small bowl

No it's an egg
see for yourself
so, proof that bowl is spoon
more on topic than we normally are
should I learn vue


do you know any other frontend framework
no

it would be my first
"learn react" - mlntcandy now, probably
I was initially saddened to learn discord engineers still use a lot of the babel stack in 2026 but then I remembered they still use webpack in some form for their frontend and then suddenly it's like "I guess it makes sense"
learn x86 assembly or become monk
no
uuh
happened to one of my friends
that's a lot
solid as well becuse why not

vue is good
do not forget
SvelteKit Nuxt NextJS TanStack
actually fuck it, while you're learning the frameworks also learn the 20 quintillion react metaframeworks out there
you have to learn bash stack too
I dunno my goal is just to learn whatever I feel would be easiest for me but that allows me to do the most
oh oh i know i know
learn fortran very easy
make your own computer
like, I don't want to be hired by anyone
of course you do
those are metaframeworks but yes learn those as well
if you learn vue you're gonna get hired in your sleep so don't ye
computers dont have to be real
start with the intel 8086 it costs 10$ then work your way up
I heard react would be my choice if I looked for employment
"trading from dirt to rtx 5090 day 1"
I wouldn't know
if you wanna get employed you should learn odin and zig and c3 and ocaml and haskell
and nix
just get really good at what you enjoy, you will get further than forcing yourself to learn w*bdev
I've never heard of any of these
i recommend getting good at things you dont like because
getting good at things you do like is really tiring
what
I like godot 
ye exactly
I dunno
RIP
no
do I have to learn ewnity
no
Is that a threat?
the godot hate in this chat....
it's not widely used in the industry
and arguably not feature complete
not bad
just
game engine 

bupersox
isn't that the neuro voice guy
godot hate kotlin hate webdev love
Better to live an isolated life in the woods than learn Unity


i hate java
I hate Toast
anything java related sucks
as much as I like webdev I also agree, forcing yourself to learn something isn't going to be enjoyable
u use lmms too, no?
toasts dont hate you but they do pity you
I will rewrite your programs in Rust

this why js sucks too
Mods? I'm literally being threatened
go one step further, rewrite in assembly

do u know if there's any way to get the lmms alpha working on linux
I tried the appimage and it just crashes
so I'm stuck with the stable
and me no likey
Chat when neuro-sama PowerPC port?
how is it even possible that the daw with linux in its name doesn't work well on linux

you see
audio + linux
mips port when
rv5
from what little we know of the Neuro tech stack, shouldn't it already mostly run?
uhh
is there a way to make it work fine?
Unity
the horrors
port unity
oh
typically people doing production audio on linux switch to JACK instead of pulse or pipewire, but im not an audio person
they don't have PowerPC support anymore
no
@wind merlin

audio how
oh if you can switch the soft it should be easy
windows defaults also suck
use alsa and fuck up your audio permanently
Still trying to figure out why I get audio stutter sometimes despite pipewire having a nice of -15
what is jack1702's opinion on this?

No beans, only fish meatballs 
✅
pipewire is good tho
Eh
jack is also good and more standard in linux audio
jack1702 has been eliminated
Good is a stretch
pipewire has jack shim too 
Wine doesn't appear to like jack
does emi do something with audio?
ye, nothing likes JACK, kinda the main issue with it 
Pipewire good because compatible with everything
and not called PulseAudio
Well on the good side of things with Pipewire + Bluez I can literally just pair my phone to my laptop and have audio routed through it which I could literally never get working on Winblows
On the bad side apparently my laptop no longer has a mic because it just fucking disappeared from audio devices
yeah no windows sucks ass hp gave me a license for dts x unbound and the shitty electron app for it won't work
so now my hardware sits empty looking all pretty when it can do a hell lot more
Electron is like if the black plague and COVID had a baby
so many colourful opinions today
good thing i muted them 2 days ago 
Ran in terminal to extract the error?
superbox is typing...
yeah
And what is the error then?
Error: no work
numpy, tf you mean all three of these are any. there is literally out of range errors so I question how
I guess it can be int or tuple but come on
Python type system be like
Very good, I literally can't not get an any out of this
no matter how many botches I attempt
You gotta do explicit type annotation and even then it's only a pre-run thing as at runtime the type annotation will not be checked and is only assumed to be accurate by the code editor
You could do letter: int = "145.5g" and it wouldn't even break
That isn't even my issue
Typehints aren't checked at all when being thrown into the JIT
So I can't nudge it to the answer
Python is copying TS
just cast it
JIT? There's just the interpreter
Numba moment
Toast 

uh oh
Just trying to do some arguably basic indexing and it is always any 
as you said, the type hints don't matter at all at runtime
so if it's a type checking issue and you know that the code is correct then just cast it
if it's a runtime issue then the code is just broken and the type hints are correctly warning you 
even if it's not correct you'll know because the cast throws
as if I can cast it, it refuses to respect the casts
huh
So I guess I'm stuck for the moment
Either way it isn't a large deal
Excuse to get this out of python
Time to rewrite in Kotlin
abandon python, write in c++

if you aren't manually writing highly optimised gpu kernels what are you doing
Neither of you are correct I'm writing this in C
C works too
I'd honestly like to go lower but for now C works
llvm IR 
🇨
TypeScript 
Mhm the low level language of typescript
it's definitely a low
in a different meaning of the word
I'd honestly want to go ASM
WASMScript
There is quite a bit of logic I can remove as I go lower
isn't that just wasi or whatever that file format was
I was wrong. It's called AssemblyScript
A TypeScript-like language for WebAssembly
The compiler is smarter than you anyway so going ASM is just a downside 99% of the time these days

Then I'll work hard to be the 1%
Shrimple as that
writes basically typescript
compiles to webassembly anyways
dentge
you can definitely be 1% as efficient 
is there even a real usecase for assembly anymore
or do low level languages cover it all

@ffmpeg
one day we'll have a sufficiently smart compiler
they wont
To be fair, the compiler is smart most of the time that you need it
I still need to check the output of nvcc every time because it likes to do stupid things 
ffmpeg is the 1% of cases
Because ffmpeg is smarter than the compiler
I think people like to vastly overestimate compilers
Ahh, nvcc
they tend to be super conservative
I feel similarly, I feel like if you know your domain well then you can step on its toes
It isn't completely replaced
That's for sure
Honestly for me ASM is a lot closer to how my vision of my codebase than C, hence why I'm interested in doing so. Choosing the right language for the job
no

today's a good day, I now have official confirmation that I'm getting an award for my bachelor's thesis 

Damn, the camera quality on my new phone is gooooood
Eventho its less megapixels
pov la grenouille
But wait
Second frog
First frog is on the right, second one is at the floor
Evil will congratulate you in my stead 

hello is this the bakery
konii

Konii say finish hblang stdlib 


not my fault it says that 
you get
30000 segmentation faults

immortal venerable wrr
wrrr
fr*nch
Jollyposting in summer?
does anyone else's firefox refuse to play twitch at all today 
not even inside a blank profile it works, chromium works perfectly fine
its fine for me
Sounds like a network issue
wonder if it's a local outage maybe
ide all have an option to make this happen automatically when you press tab since forever
nvm the dns blocklist decided to update and block half of twitch's traffic out of nowhere

Lol
Rule no 1: it's always DNS
yeeeeeah...
btw, is reflection and std::execution completed?
if so, maybe you know some user guide for them? (or best way is still reading paper)
you sure?
man's gonna show up with 800gbe infiniband
as in finalized?
yes
The C++26 standard draft is now complete, reports Herb Sutter, long-time C++ expert and former chair of the ISO C++ standards committee. The finalized draft introduces reflection, enhances memory safety without requiring code rewrites, adds contracts with preconditions and postconditions alongside a new assertion statement, and establishes a uni...
reflection is apparently done in GCC 16 but that's still pre-release so I haven't tried.
I've used Bloomberg's experimental Clang reflection fork to make some demos, but it sounds like most of the work on that fork can't be upstreamed.
MSVC
They weren't gonna start on C++26 until finishing C++23 IIRC, but it looks like they're almost done with 23 so maybe soon ™
msvc sucks
None of the vendors have std::execution support. Nvidia has reference implementation
https://github.com/NVIDIA/stdexec
yeah i know that was a thing for a long time now
i mean is there actual guide
cuz seems like best way to learn thing things - read their paper
And yeah I just had to read the papers to figure it out.
At least cppreference is out of read-only mode after like, a year of maintenance
will deepseek v4 load 
Gemma 4 really just straight up went "yeah if you visited the torrent site you asked about I'd recommend evading the law"
Nice aligned AI Google 
Full question and answer with the site blacked out to be safe for server rules
its most definitely more about security/privacy issues than legality.
law already broken so this is a harm-reduction step


make me remember this meme exist
Hey std::print exists now doesn’t it
Just saw this notification on github...
yeah but it is too new to use 
they also sent you a email
who would imagine that this would happen
i already had that off for like years 
Must have missed it
why even use copilot
Cuz it's free. I don't use the github agent though
i'm paying for it for the Next edit suggestions since i'm sure i'll use more than the 2000 per month free
Not my yugioh discord bot! All my plans for patent are ruined!
found the email. it was on evil's birthday
25th March
I understand why Vedal wants to switch to Linux
do it
i've been on it for 6 months now and haven't looked back
I don't care enough to go through the effort of changing operating systems
its not really a big undertaking. you can keep most of your data. just remove the windows partition thats basically all you need. and shrink your ntfs partitions
i still have a 4tb windows ntfs partition
Idk what those things mean

bruh lmfao
we are leaking neuro codebase through github copilot with this one
we all know vedal is a claude user 
do it do it do it do it
start with debian or idk mint (heard it good)
then try arch, or if you like configs - nix
@sick owl it took a while but i got the e4b version working
I am Finn too. I should support our greatest achievement. Linux
honestly i would recommend fedora kde edition
its like a nice middle ground
but mint is very good if you just want something working
i have 256gb nvme btw
and two systems
true
what command is this again?
lsblk
ls - list
blk - block (devices)
my situation is a bit.... messy
this binds omg
who gave me the power to make partitions
what the fuck is 64gb swap lmao
no idea. i don't remember setting it up.
i mean i have 64gb ddr4 ram so... i guess it fits
128gb memory 
(thats totally how it works)
btw have you tried zeta-2 yet 
i tried setting it up but couldn't get it working with minuetai. so i dropped it
you want to make ai write code?
i think the idea is to do local processing and then upload it?
like get data-> process it -> return data the ingame engine deals with

idk if that is possible
probably tho since there are external clients for screeps and at worst you can get the data through the browser and a monkeytype script that downloads the data
No I mean like
i wouldn't be suprised if the bigger bot networks use that kind of tactic for room layouting and bigger stragety management. especially cross-shard
Some web socket thing
I mean she wrote code
Doesn’t seem like that much of a stretch
you wouldn't really need the ingame things for it tho.
just have a backend client that manages that
uploads code and give neuro data from the game. as a middle man
Even a faked version where you have info windows up and continually OCR them to get outbound data, then you map a bunch of text box inputs to screen cords and shove inbound data back into the game
that sounds like a more complicated version than my idea 
user shadowlilac
That’s kinda my thing 
It actually clearly says 也回到家还嘻嘻哈哈不是女性
at that point just mod the client or something to get the data out of the game.... or a monkeytype script in the browser. that exists already for things like jackbox
thats like 50x easier, less error prone and generally better
Wait it runs in the browser?

i mainly only use the website because i don't want to always have to launch the client to check on my screeps
i don't get it isn't this the same as everyone else
ok anthropic idk
French
Meow meow meow


SHIRO SHIRO SHIRO SHIRO SHIRO SHIRO SHIRO SHIRO SHIRO SHIRO SHIRO
HIIIIII
was even a older account... i wonder if they downloaded a bad minecraft mod
hello shiro, thank you shiro
I wanna open screeps

my screeps are reaching the limits of the existing code
they'll keep storing energy but they can't grow
what are those creeps you guys keep talking about
Radiohead
isn't that a band?
The addiction is kicking in
What does this "Screeps" thing cost anyway?
‘Creep’ is taken from ‘Pablo Honey’ out on XL Recordings. Buy & stream it here: https://radiohead.ffm.to/pablohoney
Directed by Brett Turnbull
Commissioned by Dilly Gent
Follow Radiohead
Facebook – https://facebook.com/radiohead
Instagram – https://www.instagram.com/radiohead
Twitter – https://twitter.com/radiohead
Website – h...
sanity probably
currently 7€ as its on sale

buy it 
not only do you have to pay but also get forced into j*vascript? ewww
you don't really
i use typescript. i used c# too with wasm
rust,kotlin etc. all work

C++? or got banned due to being too good

should also work if it can compile to wasm
do it
I guess it's a good sale
you get 20cpu forever
basically 20ms of processing time per tick
you can buy more but shard3 is limited to 20 cpu the others aren't tho
could also just go for the bundle tbh since arena is basically a 1v1 pvp version of worlds
unless you aren't sure you will like it
That is in fact hardware requiremenets
the client is just a electron wrapper for the website 
ram

society if all games had those
Guess I'll get the game thingy, it seems fun
society if all games required broadband internet connection

shiro recruited another one
sometimes it feels like that
May play it later on though, not just yet
I have a NeuroSynth release to finalize in the coming days
voice v4 when
I guess if for some reason karaoke adopts NeuroSynth (not happening)
what's nurosynth used for
marketing
A
neurosynth is used for neurosynth
the mmo is a mmo it takes weeks for progress so you shouldn't feel pressured
That's crazy
probably vedal's onlyfans account
I wonder how you Kotlin in that thing
no it markets neurosynth
https://github.com/exaV/screeps-kotlin-starter here is a starter project
there is a kotlin channel on the screeps server 
(I'm not on that)

I need therapy
oh wrong channel
I'm gonna assume everyone here also needs therapy

otherwise good assumption but
i do not need therapy
im perfectly stable and healthy
functional
god damn it you made me look up screeps now i wanna buy it too
dont say otherwise i will explod
the screeps wave is inevitable
the amount of people here buying screeps within the last 48h is unprecedented
ping everyone in the server right now
anonuncnemtn
screeps is on the menu
neuro sama concert in screeps
screeps neuro integration
how much are they paying you shiro 
single handingly increasing the screeps player base by 20%
hypothetically
lots money
$2
$10000 
$9500
$4
$9499.99
$3
im a haggling expert

wrr
4gb of ddr6 ram
hbm wafer
wafer 

o
consume memory to improve my memory
shiro say it time for the rising of the proletariat


ai market hit ram prices so hard we only have 2 mb in screeps 
making me want to try Screeps again
will screeps get more cheaper in summer sale


probably not.. idk
the more you wait the cheaper it gets due to inflation
I'm not even advertising the game people are just playing it and blaming. me

change your name to Screeps~
its at its lowest price it ever was
happy birthday screeps
according to steamdb
maybe we can gamba and it will get cheaper
nothing ever happens all in
its 9 years old....
is there a mod that lets me code in c instead of js
time to buy then I suppose
https://github.com/screepers/cppreeps
exam ple of using c++ in screeps via wasm
WASM C++ Screeps API and utilities pack (beta, proof-of-concepts) - screepers/cppreeps
9 years old
its a bit dangerous if your house is unstable
didn't someone say wasm was broken 
Le screepo

i thought it was... but it isn't 
hmmmm 3.7mb script size for c after 33% reduction
will have to treat it like an embedded system without using malloc
btw @olive sable did u buy the new phone at the end
idk
they just keep shilling it
lmao
I dont think its terrible, but its probably not thaaat good
tbh all phones kinda suck these days there's almost no upgrades
gone are the iphone 3->iphone 11 days
now it's just the same phone repackaged
some of the photo editing stuff is really good but that's about the extent of what i used it for 
specifically the magic eraser or whatever they call it
Anyone here worked with GPU acceleration before?

Do you think lua is easier to read than python
(The pic I'm using is actually luau)
note to self: do not update your system before planning to watch youtube while eating
Typed Lua is uncanny
Yeah, it's roblox lua
Feels like typescript
Is like javascript with optional typescript
@real sierra kill
on it

Luau is pretty cool, I like the optional static typing system
(Yes it's completely optional, you can disable or enable typing by doing --!strict or --!nocheck smth like that)
gpu deceleration even
that's my job 
I think if you come into a server where people do ML stuff you can assume people do GPU stuff too
Lua doesn't actually have OOP 🙁
honestly most ML users don't know shit about actual gpu coding
and just use existing libraries
done some GPU compute with C and rust
i'm still searching for a usecase for cutile-rs that isn't ML 
radiance cascades 
My project is mainly C#
I work with images and per-pixel adjustments.. is it worth it trying to learn GPU acceleration for perlin fields and resizing/downsizing for animations of 200+ frames?
(also, I don't know what ML is lul)
yes, yes it is
mutating ligma
a serious disease
(learning how to program a gpu is good in general because it forces you to think in terms of small parallel tasks which applies to multi-core cpus too)
... damnit. I was kinda hoping you'd say no lmao
Also running roblox 10 fps btw
But.. normally I don't have to consider the multi-core part of a CPU because .InParallel should do that for me when applicable, no?
probably don't have to? 200 frames still sounds doable on CPU
using OpenGL or something would be way faster though
I did 3.5k earlier today.. took a few minutes to get it done lol
what do you do when there's no .InParallel 
(Also made me add a feature to user-define how many frames of an animation I want to extract.. so for that 3.5k I could just cut out 50..)
I don't know.. I have not even used .InParallel yet. Am vibe coding.
oh no another one
It works, tho. Shruge

Vibecode the parallellization
anyway if you only want to process a few frames and/or you can accept that you have to wait a bit for the result you probably don't need hardware acceleration, would be unnecessarily complex 
if many frames or it's supposed to be realtime you probably do
every thread will do the same thing with different implementation
Optimisation mhm Absolute Localisation
Well, every hobby project I've started was made to solve a problem.. and now the biggest hurdle is the time it takes to finish.
the current frontier models are surprisingly useful for gpu kernel optimisation tbh
makes my life a bit easier 
probably best to try CPU parallelization first then, should be easy if all the work it does is per-pixel with no weird dependencies
stuff like the current pixel depending on already processed pixels
not everything can be parallelized
at least not easily
idk if that applies to your project or not, the description is basically "it does image stuff" 
200 tasks is on the lower end for a GPU, but if each image has per pixel calculations that can be done with the GPU, then it might be worth it
I should mention that if this is the case a GPU also won't help at all 
stencil go brr
tbf even with nasty algorithms the sheer throughput can often make up for whatever bs you have to work around
also if you accelerate the frames with a GPU, all the pixels need to be independent from eachother
otherwise it will be slower than CPU
or maybe not even possible
yeah, it's possible but very unlikely that you're going to hit a case where you can actually have zero parallelization

speaking of throwing more hardware at it, we're apparently getting a gb300 for the hpc lab soon 
vera rubin when 
screeps can't be parallelized 
img.ProcessPixelRows(acc =>
{
for (int y = 0; y < acc.Height; y++)
{
var row = acc.GetRowSpan(y);
for (int x = 0; x < row.Length; x++)
{
ref Rgba32 px = ref row[x];
if (px.A == 0) continue;
float r = px.R, g = px.G, b = px.B;
// Additive offsets
r = Math.Clamp(r + effectiveROff, 0f, 255f);
g = Math.Clamp(g + effectiveGOff, 0f, 255f);
b = Math.Clamp(b + effectiveBOff, 0f, 255f);
// HSL or Greyscale
if (p.Greyscale)
{
float luma = 0.2126f * r + 0.7152f * g + 0.0722f * b;
r = r + (luma - r) * multiplier; // lerp original → grey
g = g + (luma - g) * multiplier;
b = b + (luma - b) * multiplier;
}
else if (effectiveHue != 0 || effectiveSat != 1f || effectiveBright != 1f || p.EffectMode != ColorEffectMode.None)
{
RgbToHsl((byte)r, (byte)g, (byte)b, out float h, out float s, out float l);
float hueOffset = GetHueOffset(p.EffectMode, x, y, acc.Width, acc.Height, frameIndex, totalFrames);
h = (h + effectiveHue + hueOffset) % 360f;
if (h < 0) h += 360f;
s = Math.Clamp(s * effectiveSat, 0f, 1f);
l = Math.Clamp(l * effectiveBright, 0f, 1f);
HslToRgb(h, s, l, out byte rb, out byte gb, out byte bb);
r = rb; g = gb; b = bb;
}
px = new Rgba32((byte)r, (byte)g, (byte)b, px.A);
}
}
});
Sample of per-pixel stuff it does.
well... technically it can with multiple accounts 

oh yeah, that looks trivially parallelisable
might wanna remove that branch inside if possible
one thread per pixel and be done with it
but yeah otherwise looks very parallelizable
Inside if possible?
I see the if (p.Greyscale)
if you're trying to leverage hardware parallelization, you'll get a nice speedup from removing that branching condition
looks like this would apply to every thread so it's a non-issue
since they all take the same path
Oh.
ah
good point actually
only thing to change would be to loop through the columns not rows













