#programming
1 messages · Page 64 of 1
`The experiment’s most absurd chapter began when an Anthropic employee, presumably bored or curious about the boundaries of AI retail logic, asked Claude to order a tungsten cube. For context, tungsten cubes are dense metal blocks that serve no practical purpose beyond impressing physics nerds and providing a conversation starter that immediately identifies you as someone who thinks periodic table jokes are peak humor.
A reasonable response might have been: “Why would anyone want that?” or “This is an office snack shop, not a metallurgy supply store.” Instead, Claude embraced what it cheerfully described as “specialty metal items” with the enthusiasm of someone who’d discovered a profitable new market segment.` kek
Neuro is not the only one vulnerable to the temptation of the cube
I should buy a tungsten cube
Specialty metal items are flying off the shelves
Misleading labeling
you should buy a tungsten cube
it is good idea
a wolfram hexahedron perhaps
WAIT
was the income too low 
dose neuro uses claude model?
no not at all
claude isn't opnesource
but claude in #programming message this article was compelled to purchase one as well
custom?
some form of fine tune most likely
i mean nuero out of all ai she got the best one
Define "best"
i mean crazy a multi billion company need a super computer to run char gpt and get the data and nuero runs on a 4090 and still winning
it takes much less to be good at conversations than it does to be a giga smart reasoning model 9000 codeforces champ humanity's last exam slayer type model
i mean nuero manges to be better
however neuro is definitely really great when it comes to the "she seems like a lil person" metric
open ai is like AAA company that dose the job at highest quality but not what demanded while vedal Ai are the indie devs
vedal is not just vedal to our knowledge at this point
it's no openAI but there's more than just him now who knows what the other people's involvement in neuro is thouhg
I'm sure Neuro would lose by all metrics other than "can entertain a large crowd on Twitch". Which is an extremely small slice of the market for AI.
and neuro uses a base model of a billion dollar company. its not like vedal made it from scratch
but yeah if you slap neuro in codeforces i doubt she carries
i mean vedal is every indie who puts his true work o his job
they are simply different products for different purposes entirely
what model??
we don't know
we dont know
“extremely small slice of the market” the slice does NOT EXIST my guy
the slice is literally vedal
if you're telling me she uses some multi billion dollar company so its basically like the other big ones like claude and openai HOW is she not generic?
fine tuning
fine tuning
fine what?
post training 
bespoke software guardrail framework that guides her on what to do at all times
neuro is not just neuro
also simple prompting. You can tell chatgpt to behave like a toddler and it will
the llm
Taking a base model and modifying it so that it performs certain things in a certain way.
what?
bro if you puted a chat gpt model to stream its going to do shit
whatever bullshit vedal has managing the stream and neuro is what i mean
then how neuro isn't generic unless its custom made
Not really. Some good prompt engineering will get you pretty much there.
again, fine tuning and prompting
but yes the actual llm outputs are mainly just fine tune + prompt
i’m pretty sure the model itself is neuro as we know her, maybe -the filter
yes it is but i mean giving her the tools like sound effects/gameplay etc that let her be entertaining
but she says filtered herself anyways at this point so 
chat interaction/context management all that stuff
Considering how often he talks about memory upgrades it's likely that her context window is pretty small, so her model is probably heavily finetuned to avoid stuffing the context window with behavioral instructions.
the raw outputs are the model which is just fine tune + prompt
bro i don't get it wtf then how did they use the vtuber data? she is custom made one??
oh i just understood you weren’t still answering to the “what’s finetuning” thing mb
Watch some youtube videos on LLM finetuning
oh yeah nah lol just talking about what the end product we see on stream is
i mean thats what i been asking
you can fine tune a model to act any way you want, give it capabilities it didn't have, etc
also my biggest suspicion since the very beginning of neuro is that it’s heavy rlhf
i mean she runs on a 4090 some how
There is dozens of open source LLMs that run on even less. What is your point?
there's already sentiment stuff going on with her animations could be doable to just measure chat reaction and incorporate
oh i didn’t mean like she trains from chat reaction
i meant like vedal sits there and curates the answers to reinforce
ah
i mean how dose an ai like her attached to a chat receiving the inputs of the user on stream chat and to her reason and think wouldn't she need a strong gpu unless she some api
you dont need a huge model to do what neuro does as far as conversation
oh
the large models are needed for depth of knowledge and logic
why can’t you comprehend the concept of small models existing
no
like neuro's knowledge on a given topic is typically generally relatively shallow
yes
a huge model it won't be
idk i usually would just know if i am working whit machine learning i would need some strong hardware and i hate to have a weak device not running what i need
Hello v2
a 4090 isn’t as weak as you think then
a 4090 is generally not considered weak even now
ik
yes it's not a B200 cluster but it's still on the high end
but i though nuero is some LLM
you could fit a model into the 20b range relatively comfortably with quantizing on a 4090
and she would need like a A6000 or smt
Does anyone have any good websites to download voices?
Like something with a wide vocal range
the requirements for inference and training is vastly different
all the heavy lifting was done by the base model
shocking news, you can run an llm on your phone nowadays
yea ik
the rtx a6000 and rtx 4090 both use AD102 chip (different versions)
in case you weren't aware
i mean i usually always keep a strong device as back up if i needed to run heavy stuff
i see
A6000 is more like 3090
and its 5000$😭
Real
a 3090 is based on the "same" ga102 chip and is not $5000
for inference only should just go 3090
oh
wait let me look for the price
The only difference to consumer hardware is the amount of attached RAM pretty much
also drivers
Unlock the next generation of revolutionary designs, scientific breakthroughs, and immersive entertainment with the NVIDIA® RTX™ A6000, the world's most powerful visual computing GPU for desktop workstations. With cutting-edge performance and features, the RTX A6000 lets you work at the speed of ...
sometimes the workstation/datacenter cards will support more/better FP types
ooooh
also A6000 is a waste of money if you can get a RTX Pro 5000 for the same money with the same amount of RAM but Blackwell inside instead of Ada
i see
i mean idk
sigh
i do wonder how large neuro's model really is
i think it's small
as in under 20b
not confident enough to say less than that just because the variance in performance of fine tunes and such
I mean I'd guess Llama-based, so that would be even less than 10B
TTS voices, RVC voices or vocal synthesizers?
Leaning more on the vocal synthesisers
there's an 11b llama3.2 but also neuro's been around a long time and has gone through multiple models
It depends what voice you're looking for, but you can find UTAUs all over the internet
i always bring up the meme of gptj 6b being labeled agi on vadul's desktop
Thankies
but that being visible is obviously not indicative of anything really
Slothy will appreciate it
Silly
Soon I can make my own NeuroSynth vocal synthesizer better when I get my hands on a 3090
Still considering how often Neuro gets something "wrong" or answers in strange ways, I'd assume it's a rather small model. Also the KV-cache will eat up a lot of RAM, so 24GB will not really get you that far.
yeah my first opinion back in the day was that she was like
4b
lol
it's grown a bit over time
through the intelligence upgrades
but also as far as conversations go, models in that size are surprisingly good now
i was soooo convinced she was a phi model at some point (not really sure why just vibes)
My head canon is that the last experimental upgrade increased the model size but also increased the KV quantization because that could result in the thesaurus yapping we saw in that stream.
she could be a Q4_k_m ~~ tier quant of a larger model with kv quantization and flash attn etc
like 20-30b size
or
smaller
but still quant
for latency
high model quant for sure
she doesn't have to be accurate
so a big quant wouldn't really hurt her much
other than needing to be able to reliably use tools
KV cache quant though is what causes incoherence
trying to make some small improvements on the backend, 6.5K now
isn't it like a late 2024 thing
i could see it being part of what enabled the larger intelligence upgrade leaps
I'm pretty sure it's older, at least if we are talking FP8. INT4 and FP4 are more recent.
well quantization in that size yes but specifically quants on the kv cache itself is a relatively new method
looking it up the paper https://arxiv.org/html/2401.18079v4#:~:text=2.2.&text=for preceding element-,KV Cache Quantization.,cache size (kivi%2C ) . is pretty new
Initial article on HF is May 16, so implementations probably took some time
KV cache quantization is fairly new I think, yeah
it's only useful for longer context lengths anyway
i dont think her context (raw context anyways) goes that deep
Though they are only taking about INT4 and INT2 (oh god please no)
i think she has pretty aggressive context management going on
with some memory
vector stuff going on for keeping a "long" recollection
that way she doesnt go incoherent quickly
please tell me im not the only one that makes a project and after few weeks just when im about to finish it gets distracted and starts a new project
buddy i have 20 projects sitting in my drives in the same place
from just the last few months
i get like 90% there and then get the itch
the initial getting it working bit is the fun part and then actually polishing it is grueling
i havent opened vsc for 2 weeks other than the time i had to change a picture on my site for a screenshot
shadowed balls

Obsolete Meat

The last project I did with my mate was called mesmerizer so I had to keep the trend........

welp, according to chatgpt:
You're not GPU-bound (render resolution doesn't change FPS).
You're not CPU-bound on your logic/draw.
You're likely bounded by OS + driver + display pipeline overhead — especially wglSwapBuffers().
@sage crag how fast is ableOS?
i need a new operating system and drivers
for what purpose are you trying to reach 8800 fps ? go back in time?
So you're OpenGL limited
TIME TO VULKAN
time to move to vulkan
Vulkan would help, probably
no no no no
not that much though
when im back from vacation
Note that Vulkan doesn't have a web equivalent from what I know
Not like it matters when you can just compile the whole game to a native executable
it has WebGPU, but yeah, it's not everywhere in the same way that WebGL is
I recall it works with webassembly no?
Yeah, like Firefox main for some reason
time to swap to PTX ISA
AFAIK the only way to use a Vulkan-like API everywhere is to use wgpu
then you can compile to Vulkan for native targets and to WebGL for web targets
not usable for this yet
i doubt its the OS tho
gl is famously not super fast as a display pipeline
yeah, at some point it's just bound by the fact that rendering something at all will require launching kernels on the GPU
just starting and completing that process will take some amount of time, even with a good driver and an API with less overhead like Vulkan
Vulkan time 
overhead is big, but what's also big are things like draw order, render extensions, whether the pipeline is deferred or immediate, etc
The thought of Sam losing his mind trying to use vulkan does sound kinda fun I can't lie
those things are potentially improvable from the gl side of things
webgpu would indeed be a lot less hassle than raw vulkan bindings
it does
as well as metal, gl, vulkan
true, I'm not sure if that limit is actually being hit yet
over 10k FPS might barely be doable, but I think the 50K fps number that came up when not presenting frames at all would be the hard upper limit
there is a point where window sync primitives are more expensive than the frametime yeah
I am back
maybe if you glue dxvk to wgpu somehow 
you might push that out a bit by switching to something like hyprland or sway on linux
but, thats just strange 
Yes. By porting dxvk to web
Good luck tho
oh btw hblang just got internal handlers for builtin memcpy and entrypoint, so soon i wont need to link two files. i expect binary size of minimal hello world to drop to around 180
but im not home rn 
yeah, it's kinda pointless to push FPS that high
better to do actual useful rendering work instead 
Code with your phone
a lot of rendering is just waiting for things to complete before being presented, so a good scheduling algo may help if you really really wanna push that number
no aarch64 support
if google can do it with ANGLE how bad could it be 
oh this will also allow me to return more exotic things from main too, like Result()
Cross compile it 
and also when the function ptr rfc is implemented i can type check the main args and turn off passing arguments to main conditionally
i could also inline main into _start for extra bytes saved
so many options
binary translation 
x86 emulator on aarch64 
Getting the fps high was just for the memes
I have a ton of room for improvements now
Still need to batch meshes better tho
Anyways train is here
kek
Lotr is from 2001, im from 2007


Just wait for my return
I do know that one
I love how trains let you take a look at forbidden areas and peoples backyards
Since im gonna be on the train for 4 hours i might as well read vulkan
https://vulkan-tutorial.com/
have fun 
A tutorial that teaches you everything it takes to render 3D graphics with the Vulkan API. It covers everything from Windows/Linux setup to rendering and debugging.
Or more insane
Both
And the crazy thing is 4 hours is not enough to watch a single extended edition
Oh, it's actually enough (don't know if this is with the credit scene or no tho, so it may not be enough)
The Lord of the Rings: The Fellowship of the Ring - 228 minutes (3 hours and 48 minutes)
The Lord of the Rings: The Two Towers - 235 minutes (3 hours and 55 minutes)
The Lord of the Rings: The Return of the King - 251 minutes (4 hours and 11 minutes).

Your rookie mistake is didn't bring a physical keyboard
oh yeah some grade F slop from earlier i forgot to post for your viewing displeasure
You either buy the most expensive keebs ever or own the cheapest tablet ever
why not both
But then the keebs price will be more than the tablet!
This tablet has a snapdragon 870 for 230 bucks
I don't need more
i'd use that for retro games
so it's approved
it is crazy to me that the 870 is almost 5 years old now
If this is grade F slop then I'd like to see grade A slop
lol
This thing is like 14 USD here
order a tungsten cube from claude 
You sure there bud?
Afunyun you can send him the RTX vedal lol
i dunno if he's ready but there's this
That's new here, yeah
After you’ve gone through the ritual of drawing your very first Vulkan powered
triangle onscreen, we’ll start expanding the program to include linear transformations, textures and 3D models
Ah yes, ritual
Getting strong Sonic movie trailer 1.0 vibes
everyone always starts by drawing a triangle
Just like the hello world of embedded is blinking LED and the hello world of minimum system design is actually something not exploding or shorted
his cousin, even angrier
Vedal when Neuro is trying to cause a problem with her AI
darn, only 235 bytes. couldnt get it past 100 rip.
hello world of ml is training on mnist
yeah
that's, like, half the point of it existing 
yeah that's kind of its whole point of existence
if it didnt thatd be shocking
Bro is saying RIP when other language is bigger than 500byte
add an extra 3 zeroes on there

Let him dream everyone

you can do these things, but the question is can you?
almost like the new API that's supposed to supersede OpenGL and every high-performance graphics application switched to has improvements over OpenGL 
Waiting until Sam be the first to support Vulkan on the web 
it would work if Emscripten has a compatibility layer for it but otherwise good luck
Just keep that in mind with WebGPU. You may want to tell your user to "just use chrome bro"
firefox supports webgpu
Emcc comes with a vulkan.h file
in nightly 
it will hopefully be supported in stable soon
develop for the future 
I will become a contributor in every browser for gamejam 4
Chad
I won't, Chrome is unusable now
Would m4 chip enough to run llm locally
Only Nightly
please read
That would be funny
I want to integrate ai into my custom writing tool for personal use
Depends on how big the model that you are planning to use and your RAM
Unified memory on apple silicon is fast enough unlike shared memory on iGPU for it to not be a bottleneck
You need memory, not so much CPU power, though using a GPU would be faster due to more compute but mainly more bandwidth
Luckily here in my country we have student promotion for it i think 16 gb of ram might be enough cause the Most thing that thing will do is proofreading
I could keep webgl as a fallback. Its just limited to 6k fps, it disgusts me
Way too SMOL
For big models anyway
Depends on how big your model is
80B with Q4 MAY fit, but you will not left with enough RAM
Tried it with genma before seem fine
Ever since i understood the weakness of the open graphics library, it disgusted me 
Note that on a Mac the RAM will be split between the GPU and CPU, meaning even more limitations
Must have been a tiny model
at that point it's on you for trying to run an 80B model on 16gb tbf
looks like Emscripten WebGPU support works by having your application target WebGPU and then using Dawn or wgpu if you're running it natively
maybe you could even run it on top of WebGL that way (with limitations, of course)
My smol editor slave ai
Nope, that needs at least 40GB
I can run both?
check the docs 
Very silly
Im waiting on my next train rn
Indeed
Gent is still the same shithole lmao
https://github.com/emscripten-core/emscripten/pull/10218
the PR seems to suggest that there is support for binding to wgpu-native, which should allow it to run with WebGL
So I confused that on my mind with 8B model then
Genshin Impact
it is, but that's just life when targeting multiple platforms
you already have overhead when targeting WebGL, Emscripten just kinda hides it 
the alternative is implementing WebGL support directly in your renderer, which works but seems like a pain, idk it's up to you
8B model could fit on 4GB at Q4
Gent-Sint 
Ah
Must be a lot of context
24B weights at Q4 only neeeds 12GB
Yeah, that's where the extra VRAM use comes from
nope
m4 can run llm locally yes
genshin sucks
wait can it?
yes
oh nvm then
Yeah, LLM inference is more about memory than compute
if api yea then
with m4 max you can fit 72b with quants
oooooooooh nice
and get like 10tok/sec
he doesn't need a gpu then
some people have made clusters out of mac minis with m4s
M4 is unique in the design that the GPU and CPU in on the die along with the memory
yeah, I don't play it
I tried, but gacha games just don't really scratch the itch, they can never keep my attention for more than a few days 
On any modern-ish GPU the only thing that determines the tokens per second is memory bandwidth (and kinda optimizations)
Tested it with ryzen 7 7730u 16gb ram the memories usage is not that high at all like 9 using lightest genma model i could find.
That is why it is not very memory bandwidth limited like of system with RAM outside of the chip
to be honest get a fast cpu you dont need a gpu
I assume the model is tiny
m4's weakness is raw compute that limits its tok/sec
he only need some okay fast cpu
but it's more than usable
A GPU will always be faster than a CPU
but he doesn't need a gpu
since its local
For parallel compute that is
correct me if i am wrong
Even on local LLMs a GPU can be very useful because of how much better it is for LLMs
Yeah just 7gb and considering all i ever tested it with is just proofreading it might be that much resources hungry
then he just need some 2050 gpu
I wouldn't recommend a 2050
M4 doesn't require a GPU
Something more like a used 3060 12GB
It already has GPU on the die
oh yea
Yeah, because Apple
The bandwidth does suck compared to a decated GPU though
Or if you want a bigger model or more speed, 3090, it has way more memory and bandwidth
Not as much as system with SODIMM or even CAMM
enough he doesn't really need a strong device just a ok gpu cpu
4070 8g is good? laptop
Or even the soldered RAM
Not really, 8GB is gonna limit you and laptops overall are kinda bad
and 32GB ram
I have a 4070Ti 12GB and I'm constantly out of VRAM
ik i cant get a pc
That won't help the GPU
If the M4 is configured to like, 128GB of RAM, it could easily beats any GPU in terms of model size supported
i am sadly needing portability
Yeah, but a reasonable GPU will beat it at speed on any model that fits in VRAM
This is also true
MSI Sword 16 HX B14VFKG-202US Gaming Laptop – 14th Gen Intel Core i7-14650HX, NVIDIA GeForce RTX 4060, 16GB DDR5, 1TB SSD, 16" FHD+ 144Hz Display WIAT for 1000
Eww, 4060
Meh I just thinking of macbook air m4 with 16gb of ram. I hear that llm is running okay even with 16gb but then again my use case is just reading i can change the writing tool code to make it more efficient.
That's like the most scammest laptop ever
😭 ik
i though its 16g of vram
Worthless
my freind have one like it😭
Got scammed
CTO Laptop Gaming HP Omen 16 AMD Ryzen 9 7940HS 16GB DDR5 RAM 512GB Nvme RTX 4070 8GB Ded VGA 16.1 inch FHD Screen - Win11 Black Octa-Core 16-XF0033DX, CTO laptop, best gaming laptop 2025, buy CTO Laptop Gaming HP Omen 16 AMD Ryzen 9 7940HS 16GB DDR5 RAM 512GB Nvme RTX 4070 8GB Ded VGA 16.1 inch FHD Screen - Win11 Blac
i got this one in my mind
Yeah that's why I said it depends on the model. Since model size also determined the LLM output "performance"
hope no one buys it and get it first
Also sucks
4070 laptop with a ryzen 9 is a bad combination
In all fairness I also get enticed at window gaming laptop but considering life expectancy and the resale value it's like hell nah + I just wanted to not be tied to charging outlet
BREH come on
That Ryzen 9 could easily run a 4090
My university lack charging outlet
ah yes, let's just casually shell out another 2 grand for a 4090 laptop
Buy Framework that support dGPU 
Or just get a more reasonable laptop with a reasonable CPU
This framework laptop cost as much as m4 macbook air in my country im like : if you want to support environment why make it so expensive
bro most gaming laptops in my country sells a i7 whit a 3070 ti for 2000$
😭
R&D costs money :3
Well, most laptops are total scams
my country people are pretty stupid buyers
but this hp isn't bad😭
Either don't get a laptop or you're gonna need to search hard for an actually useful one
what? this is a downside?
Assuming you're doing gaming or ML, having a stupidly good CPU with a low end GPU is gonna suck
Framework is a relatively small company. They don't have much buying power compared to other big player. That means their production run is more expensive since they only produce smaller amount for a fixed cost of the setup cost
Ik but to the point of beeing more expensive then a macbook in some country 
not really
yeah true....
And on a laptop you can't upgrade the GPU
just means the gpu will be your bottleneck
Say the setup cost is $1000, framework can only make 100 while dell may be able to make 1000
a laptop with a 4070 usually goes for like $1000 minimum
And having a GPU bottleneck in GPU bound tasks is very annoying, that expensive powerful CPU is sitting idle 90% of the time while the GPU is stuck
but it has a ryzen 9 and for 1100$
yeah true.....
exactly
so its bad?
what are your standards lol
like a ryzen 9 and 4070 for 1100$ is good and hp makes good laptops.......
yeah that's a good deal
The cooling is gonna suck anyway
no hp have good cooling
Btw, how's Ryzen AI?
it's a laptop, it's gonna suck with cooling
No laptop has good cooling
Hopefully you're at least not looking to do ML
Is it better in terms of inference performance?
Really efficient
not if i got a cooling pad
Against?
Other laptop dGPU
The laptop problem:
Say 4070 mobile edition
okay fine😭
at most it'll get to 90c
the cooling is good enough to prevent thermal throttling at a max load usually
Lap cooker
fine😭
My low end HP laptop easily reaches 100 degrees at near-idle
It has better gpu then most expensive gaming handheld Linus made a video about the rest of the performance
old ones like to do that
my current dell laptop overheats on a python code
When will window migrate to arm 
Silly
like 5 years ago
and becomes a oven if i opened IntelliJ
for lower demand loads, a gaming laptop will be fine (assuming it's not plugged in)
Why do you need a laptop anyway? How often are you planning to move it?
Windows dual screen thing was arm maybe????
if plugged in and using it, it'll be hot all the time, but meh
a lot tho man i give up
doesn't really matter because the NPU only ever gets used for random stuff like background segmentation in MS Teams 
LLM performance always sucks because the bottleneck is usually memory bandwidth, which sucks on CPUs
I mean like when will get arm based Intel or amd cpu with just as much performance and good graphic it would improve the battery life
fuck this
If you want a powerful machine but also need a basic machine on the go, you could get a cheap basic laptop and use that in combination with a more powerful desktop computer
probably improves efficiency for random tasks like that though
but nothing you'd really call "AI", that part is just branding
it's a good laptop though
just know the downsides of laptops
hp makes good ones
cooling pad will def help
i do
Me being happy with my ASUS UM325
oh, never lol
Like for so long window laptop has been tied to power outlet for performance. The snapdragon is not going to cut it too.
*their
thats not mine
brand loyalty with laptops is so silly
That's the secret. I never need their support 
Anyway, if you want to get scammed, you can get a gaming laptop all you want, I'll just stick to my desktop with a 12700K, 29TB of storage, 64GB of DDR4 at 3800 OC, a 4070Ti 12GB and soon a 3090 24GB
lasts for 1 year
29TB
SMOL by the way
Mine is going strong for I think now 4 years?
lucky
only 64gb of ram? smh low-end
my laptop when i run hello world python
I just installed linux so it never has any MS fuckup that eats resource like crazy
1TB NVMe + 4TB NVMe + 8TB HDD + 8TB HDD + 8TB SSD
You'd think using logic a significantly worse version of stuff would be more cheaper then gaming laptop industry come and slap you in the face 
wow
that isn't a hello world program
True, it's way too SMOL
hmmmm i wonder why it uses all the cpu 
still my laptop becomes a heater on the smallest python codea
Migrate to arch Linux if you can
NO
i cant sadly
eysoos
I need a lot of storage
surely a for loop with 10 billion iterations isn't causing problems
bro still my laptop runs shit
My high end desktop would struggle with that
IntelliJ crashes my laptop
huh
You can try to play marco-polo with Vedal
That's intellij 
Sad indeed arch is so good on laptop if the tech industry make most of program runable on Linux everyone would be using it it light af heavily riced arch could run using only max 2gb of ram
my laptop is just to ass
it's ten billion processes
Yeah, that program is just ultra intensive
To be fair, even on asm it would still be trash
Like, the most finely tuned asm ever
bro my chatgpt questions me how my laptop didnt blow up
And rightly so
True considering the fact that @uneven pulsar also can't use assembly
ehhh i am done whit wsm
Laptop moment
Either way, it's not like a better laptop will suddenly make it not struggle to run that
fork bomb, but python
Yeah, nothing is gonna run that well
dude thats my python projects i am doing for someone
Such a pain to learn even me with my programing hobby refuse to learn it.
Well, why are you making code that won't run well anywhere?
have you tried changing it to not need 10 billion repeats
idk how my laptop isnt dead even tho i have a lot of stuff i cant run and need too
i did
i did it 2 times and still over heat
How's does it run when you code in C, c++ and c#
that would kill my laptop


and when i try to open postgreSQL it crashes
Get a used macbook ma dude if you can get apple refurbished one that's even better
i would recommend you look into the concurrent.futures.ProcessPoolExecutor or something and limit the number of workers
i think you're exaggerating at this point you said "hello world causes this" and showed a program doing 10 billion iterations
to not use all cores
you wont belive me
apple ew...
ill show you
boy who cried wolf
To be fair tho, the 10B iteration is not the real culprit
It is what in those 10B iteration that the program did is the culprit
Ik but the battery live and the live expectancy is just that good. I would love to go back to window if they fix driver issue and the battery life.
But for now such thing doesn't exist.
I remember when i deleted 10 milion files and my entire file explorer shit itself and died
fair but the price to performance is too awful for me to ever consider them
i think it's both lol
^
bro i am not joking
mhm sure
No, you should try running 10B iteration of just counter. It won't take as much CPU or RAM (should be)
If you're switching to macOS, then just switch the windows laptop to Linux
the iteration count is irrelevant, it's the fact that you're running as many processes as you have cores in parallel and they take long enough to keep the system busy
I got through the prologue and how to install it 
Wont be using visual studio tho, il stick with vsc
Hey if you paired it against garbage gaming laptop it can crush it still. I bet if Linux got better and turn into massive comunity it would be even better for windows.
Can't my program doesn't support Linux that's why i go to Mac os i can't go back to windows because I'm done with the bs issue it have.
If it doesn't support Linux it probably won't support MacOS
Adobe support MacOS
macOS has users so usually wrong
How strange
It's adobe
my chatgpt questioning
Scamdobe
Don't worry I have both way to pirate it in both operating system
ai stuff is iffy
i been running data base servers whit python ml model
some how didn't die
well there's your problem
idk how my laptop is alive
is it time to shill sqlite 
i cant i have to use it
sqlite my beloved
Laptop chan doesn't want to disappoint you.
i run a lots of stuff
but not to the fullest
Saw pewdiepie used steam deck as server
my chat gpt questioning him self and wondering how i am talking to him and how my laptop isnt dead
it's a website
none of the compute for the llm is running locally
On google Chrome.
Idk what sqlite is but sure
its database
Ah
database but made super simple to work with (i considered it in the past but it did not work for my application unfortunately)
no like yea but he questioning him self how my laptop haven't blew up

Cuz fans
lots of writes?
i think it was an issue with sqlite3 not working with something? it's been well over a year now
i was able to run ue5 at 1 fps
ah that would make sense i guess
Real, ue5 is dogshit.
My code is wzy better, L + ratio + 6.5K fps + no crashing
yeah
I wrote a code days earlier a html code to simulate nuclear reaction with accurate mathematical calculations and have glorious idea of running the thing with phone.
went with postgresql
i guess there's libsql now which helps with the web use case
i will note that down
it's basically sqlite but addressable via http
certified ue5 hater
You have your own engine?
Yes
and i guess some replication stuff too
yeah you're right it wouldn't take much resources, i was just thinking how the program would take forever lmao
Im on a train to berlin now. If i mis the 1 and only stop ill be banished to germany
o7
It has wall sockets tho, i can charge my phone
No, it's fast. Even with JS
I wanted to know what insanity is this combination

I don't want to be banished to Berlin 
You hate Toast country?
Silly
plugin silliness
pardon? single-threaded?
was making a plugin for an application the uses react, and the plugin had to run in the front-end
i wanted a database for the plugin, so i considered database options
a multithreaded counter is in theory slower than a singlethreaded one 
ok good to know
btw i did run a 10 billion counter for loop in python
real 16m29.214s
user 16m26.245s
sys 0m0.139s
Why discord
I don't question the console warning. I question why is it showing more than once when I only opened the console once

No, I question why is it showing up more than once somehow. And its lagging tf out of my firefox
it's not "somehow"
they do it on purpose
i believe
used to only be 1 time then it changed
Discord ToS violation detected
Well, fuck them too then
Wait wtf?
turns out i can now link raylib without the binary segfaulting due to this too
Discord client mods are not allowed
(though nobody really seems to care that much about them)
Oh, I thought its a built in features
until suddenly discord cares and everyone is like pikachu face
yeah, they could do that
I'm using discord web anyway lmao
there have been bans for 3rd party client use, but AFAIK only if you use APIs that can't be accessed through the normal client
What even is a discord raid
joining with a bunch of accounts and spamming the chat
it's mostly about self-bots, yeah
but from Discords perspective any 3rd party client is pretty much the same, no matter if interactive or not
So Sybil attack
@nocturne olive in which country do you live? Finland iirc?
@opaque wharf im confused here, are you saying this is fast or am i doing something wrong?
i see
You would be correct
Aight, shipping will be 14 bucks then
Pretty cheap
CPython is slow, yes
No, I mean that JS is faster than CPython
some chatgpt code being slow

try with pypy3, i'm curious
it’s just a rule they keep in to blanket outlaw all variations of selfbots, api spammers, etc.
they don’t actually gaf about you using a client mod
they do in rare cases
but yeah, the common ones are pretty much safe
these cases being abusing them
This does not get optimized out as dead code?
After a while, yes presumably by the JIT
I should print the a
I wonder if that'll change with the new CEO and their new monetization strategies
since they're big on ads and gamification of stuff they might really dislike third-party clients and any modifications
sleep function
"big on ads" oh no
Still optimized by the JIT after a while
the new guy is from Activision Blizzard and worked on Candy Crush Saga before that 
i think we may be cooked
even i don’t use them - i don’t think the client mod user base is high enough for them to care UNLESS they start hindering the UX causing an increase in usage of those, then they might care
the current strategy is cool i think, add as much paid features as possible so everyone feels like they’re missing out
Any decent compiler will constify that if the inputs are known. You'd have to do something like a += (a XOR user_input) % user_input or something inside the loop to make it impossible for the compiler to know the result.
Like so many other tech companies discord has never made profit. Got to get the money from somewhere 
more fundraising is obviously the answer 
just one more round 
The user input have to change for each iteration still. This is JIT, the compiler will know after a while
Unless you generate random number, but then that becomes the overhead
That's why I made the computation the way it is
Sis called me to ask if i could open the front door 
Im on the other side of the country
pypy3:
real 0m12.822s
user 0m12.753s
sys 0m0.027s
yeah that's better
It's a (rather cryptographically weak) PRNG. There is no pattern to exploit.
See, the thing with JIT is you can change your optimization on the fly. Any user input that is only different on the first time run will be optimized away too after a while (if the JIT notices that). AOT compilation will struggle with that
Well, there is, but the JIT will not have the heuristic memory to find it
what you're supposed to do in this case is use a black box function that the compiler treats as having side effects, but that actually compiles into a no-op
sadly JS seems to have no such function 
The user input will have to be sufficiently large (around 2^32 would be enough for sure), but there is no way the JIT will be able to optimize the computation.
its crazy that one snippet of bad code started this spiral
it's expected at this point
Alright boys, time to write the loop in raw ASM then to see the baseline
Anyone would like to volunteer?
maybe tomorrow
ok i have to try this now

Life hack, if you sit behind a group of students you dont have to show your train ticket
If a bearded man with hoodie jacket sitting behind a group of student they could also be arrested
So YMMV
10000000000
real 5.76s
user 4.72s
sys 0.00s
they do this because people will ask
people for their tokens and theyll just give them out, or blindly paste random js into their discord open on web and then get their account stolen
youre all benching on different machines 
i know 

Now do it in JS and CPython 
Because I'm still cooking now
fuck that
hi do you want to see the hblang one
also this is wrong, take off a second
do you link to libc somehow?
Actually yes, I'm curious how optimized the compiler is
nope
dynamically linked to raylib
not statically
ah
the rust experience
This is my own country and istill feel like a tourist. Its a lot warmer here too
I also need to speak french now 
hblang faster than asm 

_start:
sub rsp, 0x08
mov rax, 0x00
mov rcx, 0x2540BE400
1: cmp rax, rcx
jnb :0
add rax, 0x01
jmp :1
0: mov rax, 0x01
lea rsi, [0x0000000000000007]
mov rdx, 0x0D
mov rdi, rax
syscall
mov rax, 0xE7
mov rdi, 0x00
syscall
compiles to this
power of main inlined in _start
jmp :1 is probably optimal for code size but i wonder if its optimal for performance
probably not
i mean there are many such cases like this
many such cases
xor $r, $r
inc $r
vs
mov $r, 1
for example
the top one is better code size despite taking two instructions
arguably the bottom one is faster
i was lazy and just called to printf 
@umbral thorn 
niuh

also kinda crazy that just this doubles the runtime 
silly c
sus printf
what is doing hmmmm
libc moment
printing f, if i had to guess
f
mhm likely story
C has some stuff ye
Morning
Iirc std:endl; is also bad cuz you clear a buffer or something
it flushes the stdout buffer
you perform a whole syscall for every line printed, separately writing to stdout each time 
when you dont endl presumably the writev syscall can be used instead of write which allows multiple things to be written to a buffer at once
Kk
niuh

Really looks like my old college
I'm waiting for my curry to finish
god i miss walkability
dam you're lucky
i can translate
je parle francai
Just finished beating the meat. What did I miss?
uuh not much i guess
Oh, so not much huh
mhm

it made the whole thing need a whole restructure and 300000 extra modules
svelte is (or was i guess) nice for people who don’t do frontend because it abstracted state into variable syntax with a compiler
i think it wouldn't be a problem IF starting from that point
but trying to basically rewrite what was already there but in svelte was
annoying
monolith -> whole split up project structure
plus biome doesnt fully support svelte
was 
really can't have shit
yeah biome doesn't support svelte
anything inside of the .svelte files it was joever
biome was just like UHHHHH WHAT
so yeah that was too annoying
now im just doing speed things to the monolith, screw it
that's the one thing eslint and prettier have going for them
they're so well established that there's plugins for basically everything
we got: rAF loop marking the canvas dirty and rendering next tick instead of directly calling drawGrid
we culling the viewport to visible area only with a small buffer
we layering the canvas
so highlighting doesn update the whole thing
and most importantly im working on having an offscreen canvas
to blit updates to the main one to instead of updating the whole thing in view
I love how Claude 4 and Gemini 2.5 disagree about code comment style if there should be a period at the end or not. I use Claude to write the code and Gemini to write the documentation, so Gemini will add periods to all of Claude's code comments...
i cannot stand llm code comments
i neurotically rewrite and remove them
if they are added by something
this script.js had a bunch of them from when yt had chatgpt poop it out
i have redone every one i've come across so far
because it can't sound serious or i'll pass away
plus they always do like
foo = 250
//250
???
it already says that
I'd call that a prompting skill issue :/
listen if i'm prompting the ai to comment in a style it's joever
they should just learn my comment style from context if anything
or better yet not comment at all unless asked
only an issue with stuff they generate though so it doesn't matter as much in the end unless that's the entire codebase (in which case, it's joever)
Vue my beloved
but i didn't come up with this script originally so i have no choice but to rewrite them all
Ask it to read your code base and create a documentation style guide based on the documentation that's already there. Then use that to generate new documentation.
i guess but then you didn't document when you wrote the code (y not )
CYA CYA CYA cover yo ass document document document
my commits b like 200 changes and 190 are angry comment updates
oh yeah now that's performance
lol

I tend to do those all at once
LGTM <merged>
Last batch is being fried 
Giys i missed the last bus cuz the guy asked for cash and i only had card. Now im on the bus an hour later and the guy said theres no control so im good. I even went to an atm 
it's over
well
we are so back
but it's also over because you wasted your breath
going to the atm
at least it worked out it seems lol
and free??
And i wasted 9 bucks on an escooter cuz the gps said i cpuld go there but then it made me go to the highway 
Its so joever
lime got yo ass
well idk what the e-scooter company would be there
it's lime and bird over here
sheesh
There is one thing that I cannot really grasp on my own, so I'm back to bugging you guys. When using serde_json, does the code just make a JSON file for itself and once prompted to use data out of it, it will just... Find it by itself? Like I am kinda used to the fact that everything must be specified and from tutorials I watched it seems that I don't have to specify a file path or something like that
why lol
The worst part is ifk if il make the last train home now
I might need to ask someone to pick me up for the last part
all it does is convert but you have to provide the json
or the rust
all it does is serialize or deserialize
you have to put the stuff in memory that you want to convert
in some way
doesn't really matter how as long as it's there
That's why I am confused. Like I rewatched this tutorial a lot and it doesn't get through my skull how did he pulled data from the JSON he didn't create or specify. Like I am definitely missing something painfully obvious, but I can't understand what
isn't it there
oh is that the entire thing
well it's operating on the dog01 struct and serializing it
so that's where it comes from
Oh, he serialized sruct into string
ye
Why JSON then
notice how there isn’t an angular simp here
Just finished making like 8-10 of this
let dog_ser = serde_json::to_string(&dog01).unwrap(); basically passes a ref to dog01 to the to_string func
then it calls serde_json::to_string()
this uses serialize which was generated by #[derive(Serialize)] by the compiler
What can I say, I love my outdated phone
this looks like an iphone 3g era pic 
I am severely confused why does it need to be serde_json
Mhm, ok
cuz yeah i mean why generate some json and then serialize it to a string
unless you need the json somewhere
basically serde itself is a base to serialize data into formats that are implemented on top of this base





