#programming
1 messages · Page 36 of 1
I just bought a frutiger aero themed mouse
don't reference sensitive topics in a meme @rigid snow

What if we reference the term "sensitive topics" itself
Does that break the rule
vanor!
sorry to ping but i wanted to show you smt
// the code here is an example of the halt condition
public class lesson3 {
public static void main(String[] args) {
int result = sum(4, 8); // in this line we declare the int var and we use the method to enter args 4 and 8
System.out.println("Sum: " + result); // it will display the results out put would be 30
}
// the used method to make the halt condition
public static int sum(int start, int end) {
if (end > start) { // it will occure if the end greater than start also the halt condition would trigger if the start > end
return end + sum(start, end - 1);
} else {
return end; // base case: when end == start
}
}
}```
its the halt condition
i now understood what you said about it through learning java
sorry if a bothered you cuz i started to think about it but you see when i started java it became more clear to understand
ping vanor for code reviews

then look vanor i reinvented sum types
https://pavluk.org/blog/2025/06/09/nix_sum_types.html
damn, coffee really does work
also, hello #programming
I was half zombie whole day after sleeping at 4 am after watching dev stream
admittedly my own fault, but eh
I wonder what I should work on rn
my ai project, my game, my other game, my hackathon project, or...
You are slowly implementing Haskell into nix lol
me, but I get blocked on all 4 cause of a minor inconvience and I do not do anything all day 
same
i mean, both languages are based on lambda calculus, the only difference is that haskell is typed
i guess you could say that typeclasses make the languages diverge quite a bit though
I kind of hate that in Nix
when type errors happen and the error is not descriptive enough
thats what makes it so flexible, but yeah nix error messages suck
"ah yes a random value somewhere in random code was an int rather than a string, i will now have to search through my entire codebase to understand what could be possibly causing it"
thats just the curse of dynamic languages
but also, because they're dynamic you can implement cool stuff in them without type system support
maybe instead of working on any of my existing projects I should start a small one like a little game jam
or maybe not
perhaps starting another project is not the best idea
Js be like
GeeFarce 5027 POS 
the "intel core" sticker just slapped on there lmao
i have a box of fudge on my bedside which i eat to get a sugar rush in the morning
it makes me wake up 
got myself a decent second hand g502 pogs
same mouse as me 
it just feels comfy but i heard that it depends on your hand size
and fast scrolling and the amount of macro keys are both great
idk what I'm gonna use the macro keys for lol
I mostly just needed a mouse because trackpad translates really poorly over remote desktop
sorry ptt not tts
oh true it is a nice ptt button I guess
silly
ugh I really need to figure out how to get this gamer gunk out of the mouse
I have a hyperx pulsefire haste mouse
the middle mouse button is kinda busted
but otherwise, it's great
my old mouse would make my hand ache after long hours
haven't had that issue at all with this mouse
oh! I should remap the side keys I never use to the middle mouse!
i have a generic $5 gaming mouse which makes squeaking noise when i scroll but does the job
it takes a lot more effort to midle click on the g502 than the superlight

problem solved
i sure as heck would hope that the g502 takes more effort to middle click on give it's metal 
why do the side keys not have labels
also side scrolling is useful i wouldnt get rid of it
I just use shift + scroll
but its so much force 
my little gamer fingers barely do anything on my other mouse
whenever i give my mouse to someone not used to it they always accidentally press the macro keys lol
I can understand the ones by the thumb
chat help
why is the reading stuck at 153.00
so what im trying to do is to take the first 100 vlaues of the temp sensor
and average it based on that
either the wiring or the code is wrong
idk much about arduino but do you have to set the pin to be an input or something
also like what value are you expecting to get
also you're writing to readAvg[-1] on the first loop iter
oh shit you right
i changed i to 1
but its still stuck to 153
is my for loop wrong
Also analogRead is only called once before the for loops
that's probably meant to run on every iteration instead
oh true
OH SHIT okay it works but the array is filled with only one value
thats probably the reason
IT WORKS NOW
thanks
now i have to figure out how to recreate the reduce method from javascript to get my average 
can someone help me
okay look i am trying to use gpt api
and i made a basic search bar that it will show the game and give a small description about it but its not working
to clarify i dont know what did i do wrong or did i use the api correct?
also the other thing is it's such a pain to full force click when you're navigating a 3d viewpoint lol
i actually have zero idea how to do the math on the average so im just gonna ask if the code is correct
is the code taking the average right?
I am generally pretty close to spamming that button I want it to feel like a normal mouse button
you start at readAvg[1]
and idr if just doing int sum actually sets sum to 0 or not
i am going crazy did i use the api wrong???
how are we suppose to know without seeing what you actually did?
yeeeeeah, one of my favourite things about the superlight is how light the scroll wheel is 
ok look i made the basic frontend using html and bootstrap like i am not even sure if i wrote it right to call the api
Basic HTML and Bootstrap does not have the correct toolset for an API I don't think
You most likely need a nodejs app which serves as an API for call ChatGPT
i just used bootsrap for the styling
you should never embed APi keys in webpages
Bootstrap is a stylling library yes, it does not do anything else
then whats the solution
Can you show us what you did? Please make sure to send the snippet without the API key
we dont really have it in russia but i read on wikipedia that it can be considered a subclass of ириски which is i think is toffee in english so i have a question, does it kill your teeth as well?
fudge is a crumbly treat
made the same way as toffee except you add milk and butter, and cook it at a higher temperature
does it taste similar
the main flavour is sugar 
here
do i have to call something here?
they do taste similar but toffee tastes more "warm"
am I crazy or is this a classic off by one error? Ignoring the fact that you don't need the array in the first pllace
yup it is off by one
its not chewy unlike toffee, too
I'm suprised it didnt crash
wait no maybe not
in terms of consistency
caramel -> toffee -> fudge -> tablet
api is so complex
oh yeah replace sum += readAvg[i] with sum += readAvg[i - 1]
ipads 
or start at 0 as god intended
exactly
tablet is like a harder version of fudge
fudge is soft and crumbly, tablet is harder
wait wouldnt it go before fudge then
this was in "softness"
wait, how can it be both soft and crumbly
frfr ong
ah I see, what are you doing in the app.js? Do you send the request to the app.py?
Have you checked the Console in the browser and the log in the terminal where the python runs?
anyway, the real answer is its internally made of loosely connected sugar crystals
konii's ego is famously very soft and squishy
so its squashable but crumbles easily
put some Kladdkaka next to your bed if you want a real sugar shock
or just eat sugar
i feel like pure sugar is actually less sugary than fudge
since its made from hypersaturated sugar syrup
lol
the only crumbly sweets i remember off the top of my head is halva honestly
i dont like it anymore for some reason
there are some sweets similar to halva that i like better tho
#programming ontopic as per usual
oh apparently sunflower halva is mostly a local tihing
me when I make soljanka
i only knew about this local snack https://en.wikipedia.org/wiki/Curd_snack
wiat it said missing enviroment
nice api key
OH FU
classic #programming moment
i think the most common meal in russia that you would have a hard time finding overseas is buckwheat
free api key oh boy
its pretty easy to find around here. soviet occupation does that to a place
i heard free api key
yes, for openAI
FUCK
(just change it if you can)
ITS JUST A STUPID API PLEASE NO
there should be an option to change your api key
LEAVE IT AAAAAAA
I told you to make sure you do not share you API key 
actually @safe path AAAAA
can we have this list implemented in automod? https://github.com/odomojuli/regextokens
I DELETED THE MSG
it just a precaution, cause it's not the first, nor the last time it'll happen
just reset the key calm down
also yeah
I wish discord also had the scanning like github does
or atleast available in bot form
see api token: EXTERMINATE
still wouldn't really work, message loggers exist
needs to be filtered before the message gets sent
The point for those scanners is to send an automated invalidation message to the API source
like in github case, when you commit an API key, it gets automatically invalidated
ah i see
the discord.py server has a bot that makes a github gist with your token if you paste a discord token into chat
pretty neat
what
OH
cause it is scanned
that is smart
guys what does this message mean?? 
yeah it will still probably happen through screenshots
BRO DONT LEAK THE API
free API keys guys
oh... api keys
wait that kinda looks like my API key 

when did mine get leaked
Lol
isnt async rust beautiful
My buddy's making a discord bot with Rust, I should probably at least try coding smth w it at some point
Right now I'm using python :)
Is this the borrowing thingie the reason for so much cloning?
Next step, rust promise-await
Oh, I thought it was callback hell lol
this kind of pattern occurs in many languages, it would usually be implicit but rust makes it explicit
Because I remember the day when callback nesting get so bad that its practically an arrow shape
its called cps and its glorious
In functional programming, continuation-passing style (CPS) is a style of programming in which control is passed explicitly in the form of a continuation. This is contrasted with direct style, which is the usual style of programming. Gerald Jay Sussman and Guy L. Steele, Jr. coined the phrase in AI Memo 349 (1975), which sets out the first versi...
i don’t get why this meme exists, for it to be funny it has to be true 
i am so getting ragebaited by it
Lol I know rust is really useful haha, I think AWS even uses it. I just thought funny 
One look at Cloudflare github and its quite obvious how load bearing rust is now
would've been accurate 7 years ago
Lol I know bro
Yeah. I was just talking about things that we can see how exactly it is used as cloudflare open sourced most of their project
Oh, TIL amazon also have quite good open sourced project on their github...
I am alive 
My sleepchedule is completly fucked tho, its 7pm
I saw somee stuff about the g502 while backreading, ye its slightly heavy and hard to press the middle mouse button but i have big hands so its one of the only mice i can use.
if I could disassemble it without ruining the skates I would absolutely deep clean this good lord
366 | [Expr::DFunc(_, _, is_macro, _)] => *is_macro,
| ^ private type
ok... but... I dont want that field?
nvm I see what it means
Heyo
i disassembled it once and broke it 

(yes this one is my second one)
Chat, I´m an aspirant of programmer in Java (doing a curse right now) and I need help with a really basic thing, cansomebodypleasehelpme 🥺
anybody uses ffz for twitch?
where did the "refresh player" button go?
it disappeared like a couple days ago for me.. i really need it
oh actually the "latency reducer" which ruins the sound is back too. looks like the player is absolutely unaffecred by ffz now
https://media.discordapp.net/attachments/1099761105552814100/1382005119926669432/IMG_20250610_163316.jpg?ex=68499411&is=68484291&hm=639b0cc3229acef76894cdf9801cf28ebf004fbf735f37abc134b7da5ae3f461&=&format=webp&width=790&height=798 Finally, it's happening... They're beginning to deploy fiber internet in my area 
dont ask to ask bro
just ask
200 fine tunes
i can prob do it in 4-5
true
Famous last words
True, prepare the next generation of Vedal AI
lemme cook 
Will do 
Hay
ye
i will drop
Neuro-Sama 2
the sequel
It's not like it'd probably be too hard considering how easy it feels to clone her singing voice when your dataset is the biggest and highest quality one the community has probably
Chatgpt 4, make chatgpt 5 hehe
Ye but it needs to be better
So no cloning
Like in the traditional sense
My approach would be distilling Neuro's singing voice trough RVC into a TTS dataset to then finetune a TTS
Sorry
As vedal said the problem is
no prob
make a new thing
Cause her voice is weird and artificial
hi konii
hello acquire corepunk with code vedal
Task 1:
Write a function called letterFinder that accepts two parameters: word and match.
Task 2:
Code a 'for' loop within the function structure. The for loop counter should start at zero, increment by 1 on each iteration, and exit when the value of the counter variable equals the length of the word parameter.
I need to do this but, honestly, I don´t have a single idea of what can I do
the current code I have is:
function letterFinder (word, match){
for (var i=0; i > word.length; i++){
console.log(i, word[i])
}
}
the way you can check for equality will be
if (a == b) {
...
} else {
...
}
where a, b are the two things you are comparing
in your case it would be checking if word[i] is equal to match
if it is, you should exit the loop
and return the index
What should I put under the "if"?, I mean, a text in " or something¿
Honestly, I don´t exactly know what they´re asking me to do XD
Shouldn´t be the value of i instead of match'
you are trying to find the match character in the word string
word[i] is the character at index i of the string word
so you are comparing match to word[i]
function letterFinder(word, match) {
for (var i = 0; i > word.length; i++) {
if word[i] == match {
// put what you want in here
}
}
}
inside the if word[i] == match {} will be when you have found the match
Thank you!
you learning js?
why not use azure?
not fun
wdym?
oh you did see about me yapping about the api
yeah i kinda have up but il figure it out later
i didn't 
i kinda hate the concept there so sensitive to use
oh are they raising funds? i wanna invest, my offer is: 1 united states dollar and a cookie for 5% stake

my pfp is a bwa
but shadow really did fine art on drawing it🗣️ 🔥 it looks lore accurate v1
hot take: TTS arch these days are shit
i assume http 429 too many requests
we do NOT need autoregressiveness everywhere
it is based on task, but ye
for neuro, different approach is definitely needed
lol my theoretical tts is better than anything on the market fr
so uh
it's not an nn arch
uhhh
idk tbh
but doesn't really sound natural unfortunately
would need some additional restoring VAE or such
it's because it's 1. just playing back phonemes, not algo/nn driven 2. pink trombone is an ancient experiment website and isn't representative of what physical modeling synthesis is capable of
i love graphs
What are the licenses for Quest Through the Harrison Temple and Remnants of Vedal's Coding Ability?
its the current pipeline of the game-engine. x is time and y is the functions
pygame?
kinda
pygame lacks some rendering features
i use pygame as the window and the thing to connect to the webgl instnace
but the backend is opengl
which is why i dont use it to render
cuz i dont know how to vulkan
"vulkan is standart" for triple A maybe.
do i look like a triple A game studio?
the current budget is in the negative
im in debt
it can be indie
that is the plan you know
also webgl is afaik 1 to 1 to opengl, no vulkan in the browser
but if i were to use vulkan i would have to cook this fore another 4 years to get to the same level as im at now
webgpu
at that pointid rather just go to rust or C++ instead of using python
True, but I don't think this particular application would benefit from it that much
Most of the improvements Vulkan has (other than the super-advanced ™️ cutting-edge features used for raytracing and stuff) are targeted towards better multithreading performance
Python, especially with Pygame, doesn't really do that
webgl is like opengl 3.0 es. but has less features and is generally more shit
clearly the answer is to use metal 
but they're different apis, do you need a compat layer
the 3 bajillion OpenGL extensions in question 
if i was using vulkan i might be able to do grass like this without it taking up 75% of the render budget lol
for now it shall look like this
tbh i could leave in the stupidly expensive grass for the 5090 people, but this is supposed to run in the browser so nah
go to the page and see if there is a license attached
most of the time there wont be, but please check
and even if there isnt a license, i would still ask if you have permision to use it
that being said, go through the mods, dont ping the tutelman
im trying to see how much the grass is taking up and why, but the graph is broken 
ohh browser, Im excited
this is all in preperation for the third neuro game-jam lol
A third one????
when do you think itll be
if vedal doesnt do one this year we'll try to do one ourslef
december
hmmm should I enter?
whats it about? does it have to be neuro themed
what was last years theme?
forogor
"Remnants of the Past"
https://itch.io/jam/neuro everything is here basicly
ahh, well... hmm I guess ill try to enter yeah, its not going to be good tho lol
does windows desktop include python code?
a lot of the people from last game-jam hang out in #1336984748882399242
no it doesnt include python bty default
... ah
i think ill do pyinstaller... I've seen you try to make browser compatible lol

yee ill prepare after the summer because in the summer im making my rover thats neuro themed kekw

I may not be able to enter the university rover challenge but I can still make one 
this was a polish teams that I thought was cool
ye you arent even in uni lol
2 more years man
unreal engine is absolute dogshit
REAL
unreal engine 6 would minimum need a 5090 or even a 6090
people dont know how to use it properly making it so they have a bunch of shit on that makes their game slow and bad.
but this isnt even a user error, you should make your engine easier to properly use
or make your own
like you lol
roblox engine is a nother example
at least the roblox engine isnt that heavy even if you dont optemize that well
most of its users are stupid
as long as you have a gpu that was made after 2015 you can use high settings
makes brookhaven games rip off or simulator games
tbh it also lacks some shader and rendering features
i dont think that matters too much to 8 year olds for their new tycoon game
true
I mean yeah, when I played when I was like 6 and 7 I only played tycoons 
Hi new here, is this channel directed in some way or just a mash of kinda everything?
kinda everything hardware software related
hi i'm the director your new task is to learn APL
😄 what is APL?
I mean sometimes its software, other times its people leaking their openai API key lol

erm we also talk about programming
thats software
well github is full of them anyways 😄
I am python guy sooo...
same, I think sam is aswell
ye
I mean I do C++ aswell
btw are there forbidden topics e.g. pixel bots? 😄
im saving that
I mean sometimes we talk about food and random stuff so idk
dont do anything illegal, dont do anything against disocrd TOS, dont talk about scraping discord data, and even if you do piracy when you're here the answer is that you dont
and follow the server rules
yee well theres that, just dont break rules and stuff and you cool
cool, I want to do some c/c++ sometime in the future for extensions
I only do c++ because like some stuff I use has to use it lol
this was unbotted pixel clicking 
what is pixel clicking?
i just sat there for 2 days straight waiting for the timeout to end to place my 10 pixels and wait again
yea, not against discord or rules but discussiong pixel bots for games for EDUCATIONAL purposes should be ok no?
@rough bloom this is real btw you have no idea the lengths i had to go through to limit lost time
also by the end i was even improving my clicking technique as i noticed some people were using their timeouts more efficiently
adding educational to something doesnt magically make it not against TOS
I am very aware of that, I may have placed a pixel or two myself 
I have no idea what this tells 
its a graph of pixel placing in time, it literally says that...
yea, but where?
clearly it shows his sleeping schedule

hi t can you hold this nuke for me pleae no particular reason
oh
nevermind pixel bots is a topic not many ppl do, though it's interesting project for sure 
well does this mean he didn't sleep for 2 days since sep 14? 
LOL haha
nearly 2 days it seems, yes
@tender river can i stop holding the nuke now my arms are getting tired
anyways, what you guys into, any pet projects?
hi T you can leave it by your bedside 
ok i will do so
game-dev
Do you have to make a .msi or some stuff, or can you just drop a source code and the Makefile? (and which libraries can you assume installed, and which do you have to bundle?)
what kind of game?
this is a banger idea btw
You have your own game engine?
yes
own game engine damn, I want to do Little Fighter 2 type of game, there is stuff with higher priority rn tho
hey sam i'm not that nor am i a girl and i do rust (it's not my main language though so that's why), you can be like me, why do you have to build your engine in python 
or will building the engine in rust mean it's your main lang
"i'm not that nor am i a girl" what does that scentence even mean?
im also not a girl
oh
i guess so ye

the python stuff is just for the lols, i will eventually switch to something else
im doing a bachelor independent game production in 3 months so the python thing was never going to stay
im probably gonna be forced to lrearn C#
c# is alright
a fate worse than dying

but ye tbh c# istn too bad
wait if you're not a girl then what is your pfp even supposed to be?
Whar's the silliness happening here today?
idk
it's my hair
can i not have long hair and be a guy
ah
not bald #programming chatter
ok checks out
I guess today's silliness must be of various kinds
nah you're good
i should look at this thing more often lol
i have lowered the lightdepth renderbuffer from 4096x4096 to 2048x2048. should make the fps a lot more bearable
basicly tripled the fps lmao
isn't cloudflare turnstile free
why
🔘 I am an agentic AI filling the form on behalf of the user
i am a bot 
my cpu is running 90°C in my notebook
surely that's fine 
surely
you can pour some tea over it, not only will you get yourself a nice and warm cup of tea but it will also cool the CPU 
gonna have to clean it out

hi
hi
hi
who up receiving openai emails
ye i got it as well
i keep getting random shit from everyone
Hey guys, I don't know if this is the right place to ask this, but I don't use x or blue sky or whatever so I figured I'd try here.
My question is, does anyone know if Vedal's lava lamp would/could have an API that could be used in home assistant? I think that would be sick if it does/can. It would open up a ton of possibilities, especially if you are running a custom AI assistant.
My hated to JS just increased

it was the last word wasn't it

it is the windows activation script it is called that as well
NOW I CANNOT COPY THE TEXT

I just remove the offending text. I hate thisn
oh yeah that's a thing
No offense, but i doubt there are many people here that will let you use their bots.
Running llms is expensive
it will have some api (almost definitely a private undocumented one) for setting the color from the app at least, although that's probably bluetooth
it could have a network api you'll be able to use for that because it has wifi as the whole gimmick is to sync to the stream, but that works kinda in reverse, the lamp is the client in that case, so what you're asking for will be a separate api it could have
all of this is speculation of course but i think these are reasonable assumptions, zero info from vedal or anyone else otherwise
no offense taken lmao i know im asking for a lot, i just dont know what to do at this point
but yeah, you have to use map or sth if you don't want them to point to the same array
"steal the api key"‼️❓
stealing is programming tho
wait fr what 
jkjk
Yeah I know, but like why does it fill with the same ref aaaaa
I mean I know why
but still fml
wtf is this behavior
I guess .fill is just this:
public fill(arr: any[], it: any) {
return arr.map(_ => it);
}
My code is getting very 
I might have to split this monolithic python file in 2 eventually.
Wait actually, the plan is to switch to another language after my exams so i dont even have to
this reminded me of python's absurd ```python
def fetch_asset(url, cache = {}):
if not url in cache: cache[url] = request(url)
return cache[url]
this is arguably worse than .fill lmao
can any of the local python devs defend this 
i got a job offer real and true
Does rust have webgl?
$2k usd a month for a us job 
rust has webgpu, webgl as well sure
what does this question even mean
https://github.com/gfx-rs/wgpu does webgl
its nice though
And that will embed in itchio?
as long as you make wgpu target webgl
presumably it compiles down to wasm so i don't see why it wouldn't
it's a "modern" renderer that is missing features that are 10 years old
Okay
because webgpu as the standard is still unstable
I might learn rust during summer break
was i the tipping point
No
looks like they prioritised webgpu over webgl for wasm hmm
webgl still works
As long as i can do webgl in itchio im okay with it
I just need it to be faster than python cuz i cant do this shit anymore
doesn't most of your code already run in c land
idk how itch actually works but i assume it's an iframe so you should be able to embed anything you want in there
Python is gettig 
i guess the context switching has some overhead
i thought you used numpy for everything
Depends on if you see python as C
c python as c
I do a lot with numpy, but less than i should
#programming tetr.io multiplayer?
5
5
1
ye
i see
aight poll is in, 100% yes
so when do yall wanne do this?
why does python not have ||= ?
thats stupid
wdym
WHY IS AI SO F###ING || if mods ask it says FEETING || EXPENSIVE (no i won't use cloud because I'm not an nvidia s### || if mods ask it says salt || )
Are you thinking of |=
Oh logical or
Don't think that's a thing
then what is |=?
so would it work for values with True and False?
No
shit
i lied it does

problem being is it doesn't short-circuit, so you'll evaluate both sides every time
true
yeah
yeah
since with x = x or y if x is True there's no need to evaluate y
then what even is the point 
True or x is always True
yes
tbh ||= seems to me like shortening things for the sake of it, I'm not sure it warrants special handling
there's your point 
i meant what is the point of having the short one if it sucks
it makes sense in languages that use ||
| and & are usually meant for numbers
python has bitwise operators yes
bit masks etc
vertical bar vertical bar vertical bar vertical bar
im just doing some funky stuff to make it so update doesnt happen every frame since its expensive
but it does need to happen for a bunch of different actions
hblang has short circuiting ops for this
a ||= b
c &&= d
so when will you add webgl?
import it
does the package exist already?
if it has a c library
hblang imports C packages?
because they're bitwise operations, like for each bit, here's an analogy for you. imagine you have to or two arrays: one pair of elements from each at a time. you, well, need to evaluate both arrays to do that, because you're not 100% sure on the outcome of the operation at any point (well, maybe except for the last bit, but at that point you've evaluated the arrays a long time ago)
when compiling to x86 yeah
more like, it imports linker symbols and then you can link the webgl library
would it be faster than rust?
compiling? sure
i meant code execution
yet? 
no compiler optimisations
ah
it will likely never be as fast as rust for very complex things because rust is a highly optimised language, and also delegates optimisations to llvm
whereas hblang does not
why is rust so slow then? purely compiler optemizations?
shh he doesn't know yet
static analysis mostly
i dont know what that is
type and soundness checking
ah
rust has a lot of guarantees in is typesystem, and it has an interpreter in the compiler which makes sure your program is sound
who needs to check if i programed it correctly? 
just let it crash when the time comes
True!
write C then
||= is so cursed
yeah, its hard to think about for a second
| ||
|| |_
a ||= effects()
if a is true, then the effects function never happens
damn you disocrd text effects! 
opposite for
b &&= effects()
| ||
|| |_
because its a huge project and its hard to make huge structural changes to huge projects
major optimizations are possible, but its not very feasible with projects of rust's scale

it's not impossible, just very hard both in terms of the sheer amount of work and organizationally
either way, there are plenty of people working on it to do whatever is possible
rust is slow at compiling yes, but i have to say, if you haven't seen webpack with a bunch of plugins on a large codebase you haven't seen shit
how slow can transpiling js be 
ew web dev anyways. chat you can now safely come back to life
noe
i was not alive in the first place 
when in doubt just blame llvm 
to be fair yes llvm is also a huge project that could do with some architectural changes for optimization but the project is super huge and works well enough
yea
rust programs also strain linkers and whatnot
basically the language was not made with compiler performance in mind, because that would be premature optimization, but now the hard to optimize parts are parts of the language 
oh also speaking of llvm, apparently the self-hosted x86 backend is now the default for debug mode in zig 
wonder if/when they'll be able to replace llvm for release mode
If I remember right monomorphization in Rust takes up a huge chunk of compile time
premature optimization is bad, but you sghould atleast optemize part of it while making it imo
(basically the same issue as with C++ templates)
that is indeed true, GC languages have uniform representation that strains the runtime but makes compilers easy to write
i guess you could theoretically write a language that had uniform representations as offsets within a single allocation, more overhead than rust but less than GC
but, rust cant do anything of that sort because of traits
it really wants static dispatch
is there a way to force dynamic dispatch in the stdlib actually
i keep forgetting this bug exists since it only occurs once every few weeks
i mean... dyn?
just use &dyn Trait or Box<dyn Trait>
wait you're right i'm stupid

Though I had to learn the hard way that dyn doesn't work with async traits yet...
hiii good night
what a coincidence, the self hosted x86 backend is also the default mode in hblang 

compile to apl when
i wonder if zig's x86 backend is around as sound as hblangs rn 
probably much better if its becoming the default
write it yourself, frontend backend separation 
i am chayleaf
it passes more tests than the llvm one apparently
WHAT
incidentally, i pass less tests than the llvm backend
this is true
im really curious how they're going to implement their in-place binary patching, sounds funky
wonder how that'll play out with windows
sounds dangerous 
but speeeeeed 
just pause every thread and inspect the call stack for running functions, then continue execution until they're out of the functions that need to be replaced (on a timeout), then use type info to adjust struct layouts (this one is the most complicated and i doubt they will support it, at least early on)
not that hard imo

in fact in many cases functions can be replaced without affecting existing running threads
as long as either every thread is beyond the first couple bytes of the function or every function is wrapped with a thunk that can be atomically replaced
there can be even more fun stuff like adding variables to functions and patching the stack of running functions to include these variables
and i've been thinking about stuff like that
but the more you add the more runtime support you need
i dont think thats in the spirit of zig
hmm i guess runtime patching could be implemented using operational transformations
isnt it weird how 480p has a width of 854?
same thing with 240p being 426 wide.
like 1080x1920, 720x1280, 360x640, 144x256 makes sense, they're nice numbers. but 854?
854 is not even 2 x 426, they fucked up their math
Isn't that because the SD resolutions used to be 4:3 instead of 16:9?
480/9*16
853.333333333
Isn't the standard 640x480? And whatever aspect ratio that is
thats 4:3
but yt rn is 16:9, even if you put it at 480p
except if the original video is 4:3
night
(morning actually)
theres a heavy rain outside i kinda wanna go but the bved calls
Now at what point does it stop being really late at night and it starts becoming really early in the morning?
5am
imo
im testing performance on low settings, and im cpu limited again 
that 4k fps is at 80% gpu usage
You're a python developer, your opinion is invalidated >:(
Id recommend JavaScript if you want a similar coding experience, or c++/rust for something more widely used and supported
Embrace Rust like I did. Enjoy the lack of runtime errors and feel the joy of strong typing.
Rust is good, but I find it's support for older libraries lacking
if it has webgl im happy
If something didn't come out at the same time or after rust, then you're stuck with horrible bindings, or with no support at all
im currently using these. so maybe an image library would be handy.
the idea is to just port my current code to rust
going from python to rust will be... an experience
like sprinting full speed head first into a wall
Genuinely, I don't recommend going straight to rust
Then you will get stuck at pygame. I don't think there is anything that really compares.
should be fine
Not because it isn't a good language, but because it expects you to know good practice already
i do know good practice mostly. i think
It will drag you there, kicking and screaming
It forces you to use it, which is a good thing, but if you don't know good practice, then you will be left confused as to why something isn't working
even if python doesnt do static typing, glsl does so i learned it from making shaders
Try making smaller parts of your program in c or c++ first (not the full thing) so that you get used to statically typed languages before moving to rust
nah
well its 7am so right about now
im a static typing pro
jumping straight down the hole 
bad idea, it doesnt work like that
why not?
Where in the world is it currently 7am?
because your code has to be structured differently
does rust not have classes or functions?
Nope
brother wtf
but thats not the point
It has structs and traits
Bro i wanna diiiiie xD im using old recording of myself to get the .wav i need for the voice training and its HEll.
your data has to be laid out in memory in a tree shaped form
a tree?
Yeah, no circular data in rust
Well, you have structs and you can have methods on the structs, but there is no inheritence or anything you would usually associate with classes.
this is gonna be harder than it initialy sounded
while currently you write python where you can just arbitrarily put stuff on the heap and create references to it, including cycles and arbitrary graphs
well, you just allocate memory no?
Not in rust, no
additioanlly, you're going to have to learn the whole static types thing, have to work with event loops and stuff
Manual allocation is looked down upon in rust
You use a box, or it goes on the stack
in rust, you either own something and can change it and nobody else can read it without you giving it to them, or you can read something and then nobody else can change it
allocation is not the problem here
Get ready to learn about sync and send as well
Well, most game engines are either async or threaded by default
If async rust is the first thing you want to do you will be in for a world of hurt...
Unless he can find a suitable alt to pygame that is single threaded
thats fucked up game engines shouldnt be async they should be sync but with subscribable events
i do use async, but i kinda did the bare minimum
bevy is async but doesn't really tell you about it :D
Unfortunately an async discord bot was my first rust project, but I had years of c++ previously so it wasn't world ending
i present, the only async ive done so far
anyway yes its gonna be hard, porting existing code is just not gonna work, you're gonna have to write new code, that's the only way you'll be getting anywhere
and dont expect to be able to just jump straight into it, at least read the rust book first
i knew it was gonna be more than just changing syntax, but ill have to see how complex this is gonna become
might even need multiple files
Most likely you will want to
where can one find the rust book?
il read it after my exams
There is also "rust by example" I think?
mhm but the book is the best introductory material imo
true
the plan isnt to try to port everything directl, im ofcourse gonna do some learn projects first
anyway ping me for help any time and gn 
maybe in 2 weeks, exams come first
Damn i dont have enough videos of me.... arf time to get the microcassettes xD
imagine having exams
I got RSTs and exams bro im cooked
my teacher forgot like half of the wave equations for physics on our formula sheet... BRO
?? no
we are talking about quantum mechanics right?
not just that, a bit yeah, but waves arent just probability lol
also resonance of materials with x density and other stuff, calculating interferance, calculating probability is one, and calculating the height of nodes and antinode from a few waves when the are combined
(Fourier transform)
the wave function describes a particle, and the probability you get from doing some nerd math is the chance of finding it in a specific location
iirc
yee waves are how electron orbitals are made in the first place if you look at the equations. its about probability of electrons being in x position around the atom

same 

sigma and pi bonds 
bro my teacher talked in gen alpha when we was showing us sigma lol, he said "guys physics is so sigma" and stuff like that lol
I even heard this man say rizz


the elektrons rizz eachother up to make a bond. if they are next to eachother they go what the sigma, but if they have to go over they're a pi bond


gen alpha when they learn physics lol
i hope im not interrupting a conversation here but just re: neuro's model degradation from the recent memory "improvements": i experienced this exact type of thing before... the model suddenly (over the course of a few message exchanges) becomes significantly more incoherent than baseline and reverts to its "infantile" behavior of repeating phrases with little variation. this happens when the context being piped into the server exceeds the loaded models expected context size. i saw this with qwen 3 on a llama.cpp server... i think whatever method the llama-server project uses to trim the context is causing the issue. the server implementation of text-generation-webui (with llama.cpp backend) appears to prevent it from happening though im unsure why. figure 3 in the streamingllm paper seems like it could be informational with this type of model degradation. i dont know what backend neuro uses at the end of the day but if its based on llama.cpp this is potentially the single issue
sorry for text dump 😭
my noodles have gotten cold 
im in way over my head here, i have no clue what any of this means
oh actually i can make a demonstration i forgot i have llama.cpp installed and qwen 3 downloaded
idk llms but I know vision ai and stuff so I got like 10% of it lol
Yeah I’ve experienced this too, good catch!
I’ve only just started watching the vod and it reminded me of that issue instantly
omg does this mean im not insane
well finding continuous probability distribution functions is similar to finding the area probability i probability or fields would assume
tldr overloading context window causes model collapse, probably an issue with whatevers pruning the context
With vedals tech stack being so unknown though, unsure if it’s the exact issue, but it’s very similar
more tokens 
idk but what about summerization of older chat/text or sm 
theres a lot of different chat history methods you can use for llms
and do what I do for like ai vision and add like important checkpoints automatically and chunk data? and stuff (idk if you can do the same for llms tho)

above my zero pay grade lol
same lol. besides, talking about neuro in particular is all speculation
yeah true
Token limits is a big downside for a few methods though
im sure given this was an experimental stream we can safely assume he was... experimenting, maybe with a different history system
Absolutely
yee, thats totally expected that it might not have gone perfectly, but I still think it was pretty good
yeah it was pretty good, she seemed to have a decent memory of recent events which was rly cool












