#programming
1 messages · Page 39 of 1
Why not? The actual linux kernel output to the device hardware serial UART and to interact with that, you can use the UART RX line
i dont understand why that has anything to do with being embedded
but if you're asking why it isnt a terminal, its because a terminal is a piece of hardware used for interacting with a computer
and a terminal emulator is when instead of having that terminal you emulate it to pretend that you're using a terminal while you're using a regular modern keyboard+monitor thing
small + has GPIO pins = embedded 
the GPIO capability is the main part IMO
but I guess technically anything that's meant to be used as part of a device instead of a whole counts
Oh, so a terminal is always a hardware
yes
that's why it's called an emulator
it emulates the actual physical terminal in the same way a gameboy emulator would emulate a gameboy
a terminal is a device that connects to a computer so you can do stuff with it without using punch cards and whatnot
except you don't need to emulate the CPU and hardware details, so it's a lot easier
very useful 
there are certain protocols for working with them, like with any device, and terminal emulators have to support these protocols
Also, speaking of embedded I am just using the term loosely. ESP32 has a device capable to make it looks like a computer with a DE. Does that not count as embedded system?
it depends
And man, reading up about terminals sure is something
if you make an esp32 computer its arguably not embedded since its not a small computer used for controlling the actual hardware but the entire thing
a phone is not embedded but many phones have serial access
Fair point
embedded means embedded into a larger system
as far as i understand it
a standalone device is a standalone device it’s not embedded
But does that mean a PLC is not an embedded system? Its whole purpose is controlling the hardware
Or MCU that controls light via a switch. It is standalone to function
if its used to control something that means its not standalone...
I wouldn't call both of these examples standalone
they're installed into a larger circuit
Hmmm, I see
it’s part of the larger system of electric circuitry of your house
So then, the interaction with said ESP32 computer doesn't count as embedded because? The ESP32 control the screen from a switch (keyboard)
and a plc is embedded into the device, the device itself is standalone
because it’s a standalone device and its purpose isn’t controlling a system
or interacting with
Man, this is not a good time to think about it. I think I should sleep lol. Good night all
I do think the definition is a bit fuzzy
if you put an esp32 into a complete device with built-in peripherals and everything then I'd count it as embedded
if you expect users to plug their own stuff into it directly, using it as-is, then it's probably not
are we classifying the end product (the device) or the esp
-# esp32 referring to some prebuilt PCB here, I hope nobody is plugging stuff directly into the microprocessor
the esp
then this argument is stupid and an esp is always embedded, a microcontroller isn’t the end product
basically that, yeah
anything is embedded when you set your mind to it 🙂

when you're too poor and spends all day at a computer
i know some people i would like to put in there 
apparently that's a real recently sold product
not the AC itself but the tent.... thing
put my forgejo instance under anubis because bots kept hammering it fetching random diffs one by one which is super expensive
tomorrow i'll see how much difference it made for server temps and cpu usage
Techaro software mentioned 
i think synapse and akkoma are now the most resource heavy apps on my server and fair enough cant do much about that
microsoft marked this as CVSS 9.3 
yeah, Anubis is awesome like that
one of those random projects that blew up way beyond what was expected (absolutely deserved in this case) 
zero-click attack chain on an AI agent
complete compromise of Copilot data integrity
the vulnerability is mostly just that Copilot can read the email and follows instructions in it because of that
AGI? 😭
Probably not 
:(
maybe multimodal like the gemma one
not necessarily matformer
i’m just talking multimodality
I doubt that'd warrant being called something quite amazing
They are talking about open-weights model, so it’s probably not something greater than ever before
Maybe quality voice output would though
But probably good for its size or something
ye that’s what i was thinking
Ig we’ll leave that for Neuro
openai is proud to announce a new local model
it can do a variety of tasks such as:
- format openai api json requests
- query openai servers to get answers to the user's prompt
it very well could be better than ever for its size in the open weights category considering what resources openai has
Yeah, that’s what I mean
Like, not the greatest ever in every category
But for an open weights models
LLMs are not gonna do AGI
The architecture is fundementally not capable of it
I want to say we should start by defining what AGI should be able to do first
it's not really bold, its math
its not bold at all
We wouldn’t have thought before that LLMs could do what they can do now
That’s true
I’m guessing no one knows why, it’s just not
Or everyone's busy with the karaoke stream
This discussion happens like every third day
True, I forgot about it
the burden of proof is on you
if i say agi is not possible with markov chains and you say it is you have to back it up
it helps if both people justify their argument though, otherwise it just becomes a slinging match 
wdym arguments where neither party understands anything about the topic at hand are the most entertaining

gemini classic 
I’m not saying it is, i have no idea. Y’all are saying it’s impossible, I’m wondering why
It’s not that I’m arguing with you, I’m genuinely curious
Transformer based models do generalize beyond their data and can operate machines effectively. So with proper base, toolset and functioning environment, I don't see why a model couldn't meet 'AGI' requirements that aren't unreasonable.
accidentally ghosted someone for half a year
i really need to set up proper email notifications
for 8 months actually
this is NOT okay
they don't deserve your response if they haven't followed up for that long

idk just check your email
i don't have email notifications
haven't missed anything
i do check it i think im juts blind
okay how about this
if they didnt track me down irl and call me (i wouldnt take the call)followed by an sms (i wouldnt read it) followed by visiting me (i wouldnt open the door) followed by climbing to my window are they really trying
please dox me speedrun...?
its honestly super easy to dox me
doxxing is easy, getting there is extremely hard
tbh that applies to almost everyone that uses linkedin
you are not actually a leaf
i see, i didn't know that
java is fun
🔫
i been learning the halt condition with java and trying to test out inputs
Pushing Live2d into a Chrome Extension overlay is funnnnnnnnnn 🫠 
But also, actually fun, but annoying, but fun...but I want to punch rocks and flip tables right now lol
I've dropped a post about world models on r/NeuroSama, if you're interested. It's about recording gameplay + inputs, and if we have enough data (1000+ hours) we can try building a world model for vidya games
I know there are existing datasets e.g. StarCraft / older Atari games / OpenDota / YASP but it would be nice to have more variety
I sadly don't record them but TF2 has demos which could probably work
i think first-person/third-person/rts are too different from each other, see i didn't even think of starcraft and dota when i first read the message
but also TF2 is not exactly a good game for an ai to play
Yes that's the idea, even though games are different, the inputs stay the same (mouse+keyboard/gamepad)
if we thinking multiplayer source games (they all have demos) then cs is 
I do not think the inputs are same
There are big differences how inputs are done, how frequent and why
for rts and 1st/3rd person very different yes, that's my point
Mario,Elevator man,Circus,Contra,Metal Slug? Or am I missing the mark here
ehh not really
People do not fly in CS2
People do not charge or build sentries in CS2
People do not scope in TF2
People do not plant a bomb in TF2
you might be using the same keybinds, but the reason is very different
you said inputs 
door stuck? cs? neuro minecraft?
oh i'm stupid
i get it'
I mean CS2 has buy menu (B) and TF2 has the animation keybind
as in NN inputs
also in TF2 itself, for example the 1,2,3 buttons are not the same for each class
So the way to approach it, there is a rule set for every game, as well as controls. When you play a game you don't automatically know that you can do rocket jumps in TF2 or there's a button for emotes, correct? So by watching the game and eventually pressing a button / doing something you then discover you can do this or that. But really what we can do is design a cheatsheet for every game that we can also feed to AI, so it would not attempt to press key combinations that doesn't make sense.
i thought the post is about spatial awareness not about what weapon to select, that could be handled by the llm?
oh it's not
And apparently with enough data model can figure out ruleset on it's own. We already have examples of this with Minecraft VPT
I hav a questin?
Why not a self learning (Goal) + Input learning for this? Hybrid or is it better to go pure 10k hours input for learning?
Ah you just answered my question haha
you'll have to train the model real-time because the games run at real-time
that won't take 10k hours, more like 10 million
so yes a dataset is better
how does the input get encoded there
i mean the visual
so it's supposed to be just a video + sound + inputs
and yes after getting the first version of the model the next is RL with real-world data I guess, to continue getting better
or i guess the more correct thing to say would be: you can speed up the simulation speed, but games are resource-intensive you'll get bottlenecked by cpu/gpu at 5-10x speed
Yeah but compute is relatively cheap, unless you're trying to train on cyberpunk 2077 raytraced 
i mean how is the video encoded to be a NN input, is it raw pixel data, is there a tokenizer, whatever
reminding you that most games are single-threaded
tokenizer can be taken from https://github.com/facebookresearch/vjepa2
PyTorch code and models for VJEPA2 self-supervised learning from video. - facebookresearch/vjepa2
self-supervised learning from video is already a lot, if we add inputs to it it's even more useful
in theory we don't even need inputs, as the model builds understanding of what is happening on the screen
but then we need another layer that would be able to play the game and generate inputs
but, if say one chooses to very ethically source the data, from, say, CS2 demos, then there already is kb/mouse input data
I guess you can already make something with CS2 demo data but the point is to build model that can reason across multiple game genres, not just FPS
transfer skills
RTS have been already conquered by OpenAI, back in 2019, kind of. Dota 2 technically is RTS but with fewer units and no buildings
also cs2 is interesting in that regard because there are multiple companies that possess basically infinite demos
leetify, faceit (esl), valve themselves, whoever runs csstats, etc.
That's certainly a possibility
i mean the rts top-down view and control style so it counts yes, but you want the model to be good at all genres, i'm saying that 1st/3rd person inputs are very different from rts inputs. oh there are also platformers, blah blah
Yeah exactly, different inputs, different visuals. One model. That's how they train robots today
Games aren't that much different in a sense that they use "common gaming sense"
E.g. you can crouch and jump in most FPS
ah almost forgot valve actually trains a NN on csgo/cs2 demos to detect cheaters
it's... not good
it detects "rage hacking" sometimes and that's it i guess

entrp
Fixed labels
i meant visual inputs btw
i wrote a very long email but lost it i have to retype it now
why is software so jank
oh well now that i wrote it once surely it will be easy enough to write it for the second time and it might even end up more structured... but for now i'm going to sleep fuck this 
For this exact reason I installed a plugin in Chrome that saves all of your text inputs you typed in.
Previously what I've been doing is once my message becomes more than 100 characters, I open a file on disk and save it, and continue writing there, then copy-paste to browser.
i didnt write it in browser i just asked my mail client to send it but then reconsidered and made the send email command return 1 but the mail client in all its jankness said that the mail was sent successfully
MS loves to name things copilot that I forgot that one feature is named differently lol
I wonder what it takes to get recall functionality in Linux now
screen capture + keylogger?
or you actually wanna save state to be able to go back
then you need to make RAM snapshots pretty much
screen capture + keylogger is super easy just setup a cron job to do a screenshot and use evdev for keylogging
the problem is how would you unwrap this memory snapshot if things changed over time (e.g. network state)
i dont think recall can do that either
well if specific app can support it, possible
you store state for that app on disk
then you just load it
over time it would take terabytes of space 🤣
tape is cheap though
Microsoft Windows Recall External Magnetic Tape Storage (50TB) - $899.99
This is the most hardcore recall ever lol
That is for storage no?
oh i see it's way more basic than i remember
just fs snapshots yeah
what was that flashy ui even about then
literally just the file explorer 

must sleep...but so close to solving 5 day stupid problem.... 
00:25 am, howsit over there in your part of the world?
Keylogger would get you screened lmao
Would it not
My xtts trainer filter out every one of my wav except for 010.
i thought it was just the only good one but then when i removed it and name 011 -> 010 it accepted the new 010 -_-
So i gave the 011 cvs text to 010 (the real one) and it still accept 010.
so it isnt the sentence nor the sound. wtf is happening
debug_loading_failures = True,
doesnt give me anything!
chat hypothetically
How would I efficiently stream video at low fps but at extremely low latency
"is it gay"
?
Nothing, my bad
{"tool_name": "memory_add_short_term", "parameters": {"memory": "Sui thinks I need more functionality. As if *I* am lacking anything."}}``` Uhhh, I might be raising a problem child here
(but hey, she got the tool calls right)
eval_split_size=29
i had to MANUALLY TELL HIM to take 29 files... dumb program humpf
programming was really quiet today 
Could Google give us a Gemma 3.1 around 32b parameters with audio input modality please? Just tack on Phi4-multimodal and I'm good :/
i wish i could program rn
why cant you?
need to grind away at documentation
ahh
almost done though
tbf we do be programming
- This is hilarious
- I'm still just learning about tool calling and this gives me idead for solving my own bot's memory inadequacies so thank you c:
IM DONE and it took me 10 years to comment my code (bc I originally forgot to comment it so it had none lol, and my teacher needs them)
idk if it works even lol

my testing equipment is at school so eh
This year, computer scientist Ryan Williams showed an astounding connection between space and time. He thought it was too strange to be true. But, it is.
It’s about space, time, fundamental constraints, a 50-year-old mystery, and magical pebbles that resolved a $100 bet.
Play the pebbling game: https://chalk-talk-math.github.io/pebble-game/
...
Woa
| > grad_norm: 0 (0) ;-;
Hello!! New to the Neuro space but not new to programming, mainly specialized in cloud and embedded professionally
Wanted to add some new projects to the summer roster and think the vtuber space is fun, any direction/word on where to go if I want to do something small to learn tools used in the space?
good morning programming
morning
morning whats that?
Time is relative
morning doesn't exist
| > grad_norm: 0 (0) is but a warning to be ignored 0.0
source. Trust me bro
I'm tempted to reformat my operating system while leaving my files intact, my first time doing it and I'm tempted to, I think my operating system is borked rn goddammit
Quoting Breadabambaspis💜💜 💜 {Drawing Nothing} (@SprayCactus)
︀
IT FUCKING GONE UP OH GOD
But first I need to save my krita settings 
Use UDP over radiowave?
that would be 144 p slideshow i think?
Hey the latency is lower than using fiber across the world
fr?
Speed of light on fiber is slower by around 20-30% IIRC
In the atmosphere, it's basically near its speed in vacuum
i mean thats true
but the data gon be lossy af
and with UDP basically half of the frames are gone
thats gonna be a big problem for a video
That's for lower OSI level to think about. And UDP are quite reliable with the right protocol. QUIC is one that comes to mind
but still i imagine the restansmission rates to be sky high compared to fibre optics
How much overhead that's gonna cost will be determined by the protocol. And you can always make a new one if you so desire. For hardware processing, FPGA could be used for faster signal processing
Yeah, but we also don't know the distance needed. For all we know it could be over a building
it could be acceptable at that distance
but still think about it, radio waves are lossy af, thats why radio stations sound worse than average digital audio, and now amplify that to video, and OOF
Radio is lossy only if there is no sophisticated signal processing. WiFi is one example
But yes, you could also do it the old broadcast television style
Or you could also just cut off the fiber cable and directly receive the laser if its within line of sight. That would result in lower latency too
it would work, but i think the latency saved would be negligeable compared to just using a fibre optic cable for short distances
over long distances the laser wont even reach
Yeah that's fair. Man this blackout in the middle of the days kills everyone in the workplace

guys, i have lost my embed perms...
You have unlocked new role
the time i left neurocord was actualy very productive
i managed to sleep 10 hours and i studied for my exams
i made a typo in the meme...
fuck
I do have to say tho, this blackout also means I'm able to slack off on neuro discord lol
blackout?
Yes, as in, no electricity
damn
unlucky
i owuld say we have solar but its 5am so...
the new house battery is getting installed soon at least
Of course he isn't trying to be offensive. Look at his blushing face!
yeah true he didnt mean it just slipped out

damn even the capitalization of the name matches up to mine 
i like how myu vscode has absolutly no clue what language im actually trying to do here, cuz i also dont lmao
yeah he's just you but in the cyborg future

Noice. If you're like me and juggle with language on a daily basis, I suggest turn off every extension by default and only enable on the workspace thats needed
Fair
he's comin
the bwaa bomb has served to just piss him off
wait u bwaa bombed ur own ai 
the ai's context window is too big
it survived the bwaa bomb
what language should i change to for the game-engine?
8
10
2
C++
🇨
welp, guess im going with
c++
i think it's too small tbh
it's only at like
8k
I think too smol as well
I tried bwaa bombing a 1b model but 132k tokens is too much to bwaa bomb
i mean it survived the bwaa bomb, its eiteher the bomb is too smol or the context window is too big, looks like da bomb is too smol then
I can't wait for this to be a standard test for LLMs
bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa bwaa```
the message heard round the world
imagine the official measurement for context windows is bwaas
We can make it our official measurement tho
wait is there a car salesmen meme for this?
made it in 30 seconds
oops i made a mistake
`
I need an edit where there is just a lot of bwaas seen inside of it
yet another low effort attempt


genius show idea
setprecision sets the precision for the entire cout command?
C++ is interesting i guess
Where do you get the tutorial from? I suggest you also do the reading for the docs
Yeah, that's fairly good resource. I skimmed a bit and I think they did mention that the manipulation is for that specific stream
So when you setprecision for a stream, yeah it does set it for the lifetime of said stream, which for cout is usually the same as your program
i have no clue what all those includes mean so i just put in a bumch until it started working
imma leave it at this, i have exams today

Well that was something...
its pretty similair to glsl so this shoudl be quick to learn
This is what I meant by C inside of C++ lol
how could therapy be worse
That implies the LLM has gone through shit
Btw, are all the people that wanted to do the tetr.io thing down to do it this weekend?
wdym "screened"
So this is what it feels like to be bored at work huh
i have a question for programmers and pc guys
it is necessary to have an antivirus or its windows defender enough
Good enough
For the most part windows defender is enough, especially if you're careful with what websites you go to and what you click/download
What you should be careful about is running anything you download. Make sure you trust the source. That is the biggest attack vector in windows since installation of most software don't come from a central trusted source
Also use an ad blocker
Getting used to install/run executable is the weakest link in windows defender security
And don't click dodgy links
For sure, ad blocker is essential, ublock origin is prob the best option (or ublock lite or whatever it's called for chrome due to manifest v3)
in additional to what everyone else said, many of the third party avs are actually WORSE than defender now
thanks yall for the tips 
McAfee for the #1 and #0 examples
Reading the McAfee founder story feels like a fever dream
i had a virus that looked like mcafee av
and it took me very long to realize
luckly i got rid of it before my pc fried or smth
worse, i installed roblox
i think it was a fake page because im pretty sure it got infected because of that


The only virus that flags itself as a virus

unfortunately for this data collection census corporate did not provide me funds for nitro
I'm not funded enough for nitro

I was going to ping you, but you were offline 
Im at school so ye..
makes sense
thats a lot of bwaas
We like our bwaas

other than this im not in any other vtuber discord
what is happening
Bwaa
Bwaa
Bwaa
Is cerbybwaa a subscriber emote?
Bwaa
It is
All bwaa talk should go here. This includes bwaa, bwaa, bwaa, bwaa, bwaa and so on.
fact checked and confirmed by real bwaa's
Mods we need the #programming description to include all forms of bwaa
Dang it I don't want to log into firefox for this bit
Why do you need to log into firefox?
guess I'll have to
?
Editing the channel description (real)
was gonna do that but i was too lazy to log in again on my browser
god damn you discord its the same computer i dont need to check my email for the five hundreth time just to log in!!
o7 ssd
i think it died at east

idk maybe it wasnt the ssd dying but a bcachefs bug ill just fsck and hope its fine
btw chayleaf now that you're here



why do containers suck so much
cuz
Bwaa
Bwaa
Bwaa
i think the biggest part is because they are untyped
what
they dont specify "i want something mounted in /data and i want service X to be reachable on port Y" you are just supposed to know it
It sucks when the people using it sucks
true
i just wish they were easier to set up that is all
the people that use it shouldn't directly correlate with the quality of the product ykwim
No, the people that use it will correlate with the quality of the end result. Its true for any tools. We use container to streamline our embedded system build so we don't have to fight each dev OS (some are using windows)
(some should not be using containers on windows)
At the end of the day, the higher up decides that with the prolonged blackout its better to just let adults go home lol
This is also true. Its a PITA on its own
is there any reason to do
int myNum;
myNum = 15;
instead of
int myNum = 15;
?
why not asign it immediatly?
Not really. But it is handy for things that you don't know the value ahead of time like ptr
i cleaned my house
mainly to not declare twice out of habit as well as the others

Be warned that you can't assume the value before it is assigned
You may think "its 0" its not
it's garbage, like np.empty
ye i know
I would think of it as basically undefined
I wouldn't say garbage. The program will just interpret whatever is there as the data type
its just a pointe rto a location in memory that has garbage data left over 
You could get lucky and have the needed value already assigned lol
mfw I cast a float as a uint
Yeah, casting that way is used for fast inverse square root
morning
One of these days I want to create a datatype similar to the one found in break_infinity.js
Wait you guys didn't know? That was quite a famous algorithm
morning 
int is only guaranteed to be at least 16 bits. Its actual size can be about anything, tho its usually 32 bit
I do know it
is it not 4 bytes in C++?
in most implementations yes, but its not guaranteed
oh no apparnetly not
In modern hardware, it is safe to assume so
as everything is 64bit
i speedrunning this website
If you need better docs, I suggest https://en.cppreference.com/
And this is the fast inverse square root
its interesting to see the bools not using capitals for true and false
I learned the datatypes back before I did C#, I kinda died inside whenever a double was used for one decimal place.
thats why when you see a malloc its usually malloc(x*sizeof(int)) instead of mallloc(x*4)
python moment
ye
C++11 introduced fixed with int types like uint32_t to make it more explicit
cursed, i hate it
Meanwhile you say data = "hello world" and then saying data = 0 is not cursed?
I hate this too to be fair
it should have brought peace to the typing, not destroyed it
If you had to use every c++ feature it would be a terrible time 
But also, it can save you some time when writing long ass class name
Especially considering the backward compatibility baggage
cluade is the best llm over all?
Yeah-
That's true
i kinda find it stupid some people end there phrases whit this ~
what dose it even mean
It's something taken from Japanese punctuation: https://en.wikipedia.org/wiki/Wave_dash
Wave dash (U+301C 〜 WAVE DASH) is a character represented in Japanese character encoding mainly used as a dash and chōonpu. The wave dash is similar to, but not the same as, the tilde character (U+FF5E ~ FULLWIDTH TILDE), which is often used interchangeably with it.
The vertical wave dash () is not currently included in Unicode, but there i...
ok it is used in some programing and code cases
Well yeah, but in writing it's meant to indicate that you're supposed to lengthen the sound.
It's generally used to indicate casualness and more so an indicator of how the last word before it should sound (lengthened and sometimes "wavy")
It's pretty common in east asia
ah i see thank you
Case in point:
https://www.youtube.com/watch?v=fTw1rHuPGmE
hey when this was introduced it was a godsend
me and my const auto&&
What did you do with that? 
Hmm now that I think about it, I should get some sleep while I can since I got home early lol. See ya later all
I use it very sparingly but when I do its great
You really dont want to type out some iterator over an stl container nonsense
dislike
I've tried like 4 different times it just does not like what I'm asking it to do
yeah idk why physics engines like endorphin are dead like it looks soo useful to use for fps games
the ragdol simulation looks really good to create deaths and realistic for enemies
Why not I guess
Seems silly

I am baaack
anyone heard of endorphin?

Oh, yes I forgot about the
for (auto a : container)
{
...
}
sure
In spreading the good word of C++
java hold my beer
should I bother minifying this
if you call the physics engine euphoria which is what it’s called and mostly known under then i’m sure many people here have (endorphin being the associated animation software)
had to google, had no idea what endorphin was but well aware of euphoria
yeah
For production you can use a rollup lib, which does it automatically for you
it used to be a great engine
it was used to make gta physics
this is a statically served js file because goddamn they need more flexibility with astro starlight
is that for docs
unless they explicitly require non minified JS, you can just do an esbuild
quite possibly
Wait, is that first party JS file or is that a library file
first party
if i'm understanding you correctly
first party, as in written by you / people on the project
yes
I could but that's a bit overkill for one file that doesn't even need to import anything else
it probs would make more sense once I get esbuild working for something related
You could mark it as backlog and then when esbuild needed then that backlog can be brought forward as an adjacent impl that is needed
sure ig
to be honest engine should have fueatures like it its really amazing to use for physics based animations
idk about unity if it dose use this feature or no?
wtf is this error
that's new
oh wait
it's probs because something non-existent is locking it from deletion again
also that’s not how you do that, iirc astro even has an example of this in some of the templates https://web.dev/articles/building/an-adaptive-favicon
like the github favicon, that changes color depending on the theme
you seem to be missing the comments on this code that explains what it does 
// what the fuck?
There are very good youtube videos on why that hack works
// how does this fucking work
we're referencing this
float Q_rsqrt( float number )
{
long i;
float x2, y;
const float threehalfs = 1.5F;
x2 = number * 0.5F;
y = number;
i = * ( long * ) &y; // evil floating point bit level hacking
i = 0x5f3759df - ( i >> 1 ); // what the fuck?
y = * ( float * ) &i;
y = y * ( threehalfs - ( x2 * y * y ) ); // 1st iteration
// y = y * ( threehalfs - ( x2 * y * y ) ); // 2nd iteration,
// this can be removed
return y;
}
which is the fast inverse square root function
also to get that working into one file (which seems to be what is being done in the video) with the [neuro|evil]pilot icons is a bit- uh, too out of my field
I'll try it anyways because having an extra js script just to do this doesn't sit right with me
two icons, each one is adaptive
you just embed css into the svg that will change the fill depending on the theme
ez
we're flicking between the icons (neuropilot for light, evilpilot for dark)
oh, interesting
we do the same for the homepage but there it's actually easier because they give you a way to do that without needing to do the script idea
then do them as one svg but two groups maybe
also that’s changing depending on the browser theme, so you don’t have a white icon on light background
not on the website theme
yeah that part is easier probs
although im not sure myself how to detect browser theme so I'm probs just gonna go the prefers-dark-scheme anyways
that’s it
What is your target platform?
Let them try to make sense of what it does lol
wait then how would I change the displayed SVG using css then
opacity or transparent fill maybe
or do you mean from inside the webpage
like if the user set dark mode but browser prefers-dark-scheme is false you want light evil?
uh what
good morning
both twinpilot icons are light with black outlines in the middle resembling the twins' heads
oh
so I really just need to swap out the outlines (could probs do with like a hidden property or smth)
i'll be honest I thought the evilpilot icon was gonna dark with light outlines
but it more resembles copilot this way so fair enough
If you want to listen on theme change do it using matchMedia
if (window.matchMedia) {
// Check if the dark-mode Media-Query matches
if(window.matchMedia('(prefers-color-scheme: dark)').matches){
// Dark
} else {
// Light
}
window.matchMedia('(prefers-color-scheme: dark)').addEventListener('change', cb)
} else {
// Default (when Media-Queries are not supported)
}
don’t, why
you can inline javascript into svgs?
surely not
it’s gonna change itself
Uhh, then what is that black magic MutationObserver doing?
He wanted dynamic favicon on theme change
i get that
let me quickly record then
because there is a distinction between what color scheme browser wants and what color scheme the website uses
I do that by using css inside the favicon svg for simple color. For different svg altogether, see this https://css-tricks.com/how-to-create-a-favicon-that-changes-automatically/
Yeah, this is also why I said prefer the media query rather than mutationobserver
(spoilered because flashing lights warning)
something like this but for browser theme instead of site theme ofc
Then do local preference using local storage
look at the icon
then i propose this, one svg, two groups inside, depending on what browser prefers hide one and show another
yeah I was thinking that
perhaps make it so that they both have a class/ID that gets changed by some inlined CSS?
I don't recommend having dynamic behaviour inside of svg file but oh well
why not
Just my 2 cent because when editor need to edit said svg, some software might not support it
these icons are basically set
i'm like 90% sure they won't be changing until at least next year if the twins get a wildly different model
That's why this is just my 2 cent. I usually work in team and not alone so having other do the illustration, I don't really want to mess with the svg
i'm not working alone either
well, ig I am for the docs section
eh it's fine I can redo the process if a new icon comes out
Yeah, fair. But I still suggest you use window.matchMedia rather than MutationObserver to listen for theme change. And then save user preference if any to local storage
I must not think. Thought is the little-death that brings total obliteration. I will face my thought. I will permit it to pass over me and through me. And when it has gone past, I will turn the inner eye to see its path. Where the thought has gone there will be nothing. Only I will remain.
Experimental Neuro would be proud
Also brother, this is 2025, please don't use var. Use let
user preference depends on their computer's preference (dark/light mode)
no local storage needed
Hence why I suggest using window.matchMedia
that requires javascript to be placed and served statically
I had to put "placed" there because yes there is more js being served statically but this one is "unnecessarily" placed in a way that would do that
...is it not?
point is i don't want the javascript to be there if possible
I guess you do SSR?
github pages doesn't let you do that
Well, I don't understand why you don't want a JS to be there so in that case I have no input to suggest

because I don't like having a separate javascript file having to be placed in my public assets folder essentially
i'd send you the css/js from my server i use for theming but the server is down because of filesystem issues 
- n o j s
- what happened lmfao
it doesnt use js except for when the user wants to manually override the theme
what the heck is going on in here
oh
me asking if I should minify a simple js script started a very long conversation on how to dynamically change the favicon
I have not delved into latest CSS spec, is that actually possible?
yes
And to change the icon itself?
(in svg)
add css within the svg and change whatever is in there
So you basically serve 2 SVG in one file?
you probs can inside a singular svg file if you multilayer them and hide/show the relevant one using the aforementioned @media stuff
now that I think about it
<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg">
<style>
.light {
display: block;
}
.dark {
display: none;
}
@media (prefers-color-scheme: dark) {
.light {
display: none;
}
.dark {
display: block;
}
}
</style>
<!-- Red circle for light mode -->
<circle class="light" cx="50" cy="50" r="40" fill="red" />
<!-- Blue circle for dark mode -->
<circle class="dark" cx="50" cy="50" r="40" fill="blue" />
</svg>
computers are so cool if you dont think about them too hard 
Yeah that could work for simple case
I put the two I need in separate groups with ID so I think this should be good
yep, works with any kind of element
should hopefully work but idk i suck sometimes
alright time to test this thing
f-
wait that's expected right
Yep
As I said, some software shat itself due to dynamic nature of it
So your mileage may vary
its just an invalid svg file
You forgot to close the style
that would do it
First exam went well 
Now i have 8 left 
Yay,
Wait 8???
huhhh
still makes no sense to me haha
for me first semester we have 4 at the end, then second semester we have 4 att the end, and there is no such thing as a midterm exam
no... We have 4 a semester
But that also maybe just because I go to vocational education
So even if the subject itself is 4, there is still 8 because each will have theory and practice class
That's crazy 
That's how it is here
My condolences
??? it isnt?
What the fuck did out ministry of higher education was cooking then
... Unless you're in middle school or elementary school lol
here at least
no i have the same question as you
I don't know anymore man, I've passed all of that shit and left the past behind

So in my country, the minimum required class for a degree is 144
Spread across 8 semester on standard term
Wdym 8?
So at least 18 class per semester. One class is not one subject
But one subject is usually 2 class worth or 1
It is?
Is it not???
For some special subject, they can be worth more than 2. But the standard theory/practice class always worth 1 or 2
It's not here lol it's Infact not allowed here to do more than 4 a semester in highschool here
BRUH
Highschool is even worse here
We have math, math part 2, math part 3, physics, chemistry, history, geography, theology, biology.
And some schools even have exams for dutch, french and english
I'm doing physics, religion, history, computer technology
Those 4 lol
Theology = religion
And I only have exams for physics and history, religion doesn't have one same with comp tech
Lolll
I got 2 exams this semester
Where do you live bro?
Canada
Damn
why
Remind me to never go there
I have a bad feeling about a country where the max amount of exams is 4
Do you even learn anything there?
4 a semester 8 total for a year
Where do you think I learned all my programming and stuff lol
Also we're doing electron orbitals in physics rn and stuff
I mean ye, but 8 in a year?
We're lucky if we only get 8 in a semester
They're planning on increasing the amount of exams
Thats a good thing btw
i got english, math, science (physics/chem together), second language (chinese), literature, humanities (geography/social studies)
so 6
...
no
but you can go up to 9(?)
Just no
i should have taken more
though maybe not literature
any junior that asks me i just say to never touch literature
Exams bring a lot of stress so more is bad you know
That too yes
What
you need a minimum amount of subjects passed to go into higher ed schools
so 5 is the bare minimum
If you get a low enough grade to fail or almost fail, here you aren't going to university...
Then dont fail
The system in our country didn't allow any fail subject for highschool to get to higher ed 
You need about 80 average minimum for most
Same
Doable ngl
At least you have 4 subject per semester. I got like what, 16 per year?
Actually I don't remember how it worked in high school here, but it definitely wasn't as strict for sure thankfully
If you make a good summary you should already be getting half your grade
if only it was this easy for me 
Lol I mean I don't know why you guys have so many math ones, we just have math, then functions, advanced functions, then calculus
My country is effed up yo
at this rate im going into the exam praying for literature
thats not really advanced stuff
This was my summary for the exam i had an hour ago
I'm in grade 10 bro
Even in grade 10 that was ez
Man functions and stuff is hard
We talking about electron clouds mb
I guess they're not used to working much there with 4 exams per semester?
and how they are made
Elektrons
For highschool, we have the same subject throughout 4 years. But each year the subject gets more advanced. So math in 1st year is different from math in 2nd year even if the subject name still math
It's 4 years
4 if you want to graduate with a degree
Besides science. Science starts as 1 subject in the first 2 years and splits into 4 in the 3rd year
3 here
Oh you mean college?
Bro, wtf is wrong with my country 
Science is science for the first 2, then in 11 and 12 you get physics, chemistry, etc
The english terms confuse me compared to the dutch terms
I have no clue what 11 and 12 is supposed to mean
we're now learning about the the S orbitals, P, D, F and how funny wave interactions make them
(grade 9 is the first year of highschool
10 is the second, 11 is the third, 12 is the final year of highschool
10 is the first here
7,8,9 are called junior highschool
1-6 is called elementary here
So 1-6 elementary. 7-9 junior high (maybe this is the equivalent of middle school), 10-12 highschool
Also, the ministry that handles education is 2 distinct one. Higher ed has its own minister so the curriculum could clash
time to translate 453 lines of code into blender compositor nodes 
Oohhh have fun
firefox please stop stealing my focus to give me ads
I want to open a new tab and google something not ask a chatbot
Do it the programmer mindset way. Spends more time automating it using a script than what could've taken you less hour to do it manually
“subscribe for a product for $10/mo? haha no way i can just build it myself! i’ll just spend 1000h of my time building a shittier version of said product”
But like, hischool is before college right?
librewolf
your numbered system is just weird
Lol
we have 1 year for toddlers, 3 years kindergarten, 6 years elementary, 6 years highschool, and 3 years college/uni
Oh, that. We just called the class from first year elementary as 1st grader
All the way to 12th grader
2 years toddlers, 5 years elementary, 3 years middle school, 4 years highschool, then for university it's 4 years minimum and for advanced degrees it's more
so I'll be 17 when I graduate highschool I think
we restart at highschool.
1ste - 6de leerjaar
1ste - 6de middelbaar
Before elementary, it's technically not called "education" here, is optional and more like play group
its also optional here, but most attend
It's required before elementary here, you start school at 3 years old, and then 2 years of that is required if you want to go to grade 1
so you enter elementary at 5 years old basically
ye but how old are you by then? cuz it seems like your elementary is way shorter
you skipped over kindergarten
(toddlers is kindergarten I guess but it's not called that really here or sm
I'm 15
I'll graduate in 2 years
ye not you, i mean when you start at toddlers thing
We start at 3 years old
meh true but I use the firefox tab sync thingy enough that I don't wanna switch off it
Huhhh, after the 2 years it's elementary school then yeah
we start elementary at age 6
or like, 5-6. you start the year you tun 6
I turn six yeah in the year
I was thinking aren't they stopped supporting that and apparently I was thinking about Pocket
anyways, programming huh
Kekw
Oh well I guess today is trying to get that crappy vision robot arm stupid thing to work
(it's not outputting the right serial data so it's being annoying
the C++ ? operator is kinda weird, but interesting
Don't got there, for the sake of everyone's sanity
im dont think ill use it that much, but it beats uding an if statement or a weird function
Ternary?
ye
Oh
I was questioning wtf the ? operator was for a second because I'm used to it in the context of Rust, but it's just the ternary
condition ? result1 : result2
Python has the same thing
More verbose
just with slightly different syntax
(value) if (condition) else (value)
so ye if else i guess
yeah, but as an expression
the statement and the expression are different
the compiler doesnt treat it as an if statement?
an if statement does not return a value afaik
also the syntax is completely different
it just uses the same words
has anyone here done a security assessment of a model ?
in good languages (like Rust) it actually is an if-statement 
since they can actually have return values, so a separate ternary expression thing isn't needed
i dont get the point of the comma operator tho. why do it like this???
Don't think too much about it. Just know that when you need it, its there
If you don't, then you'll never encounter it
Much like auto
never seen that in C++ before I think
looks fucked up though
why not just do int a = 5?
i dont see the need to make another variable (for which they didnt specify the type?) and then add shit to it
#define at(arr, i) (assert(i < arr.size), arr[i])
It's when the a variable depend on the value of b, but b may not be known ahead of time
oh, ok that makes more sense
The example uses concrete value to demostrate the behavior
(Please don't actually use it like in the example you sent)
you're using c++, you already lost that battle
I still loled at the reason about bracket man
the ony reason C++ is usable to me is the 'using namespace std'
otherwise i would neve even consider it
wdym?
or do it as long as nobody else needs to use the header
whatever you throw in a header is forced upon everyone including said header
i dont get it
if you put using namespace std in a header and include that header in any file it applies there too
Basically when you do #include <someheader>, treat it like copying the content of the file there
oh, you mean the include shit
ye i have no clue what im doing yet so i couldnt make a header even if i tried
Header is just another file with different extension usually .h
Variation includes (heh) .hpp .hxx
btw you can also just do using std::cout, std::print etc if you don't want to completely nuke the std prefix
He is still learning, not quite there yet
But if curious, its to make sure no conflict will happen when you have the same "name" basically
whats the diffrence between a prefix and a postfix increment?
Prefix is doing the increment, then return the result
Postfix is returning the value first, then increment it
ye
But the number of times the loop is executed is more
i havent seen much memory allocation stuff in the tutorials yet, i was expecting more
im sure it will come
Modern C++ doesn't really encourage manual memory allocation much
in a for loop the increment is a separate statement that just gets evaluated after each iteration, it does not matter what it returns
so actually no difference whichever one you use but the convention is i++
Wait, wouldn't it differ in the number of times the loop is executed? I'm a bit rusty on the logic
Ah yes
It may be true in while loop
for (<gets evaluated before loop, discard return value>; <gets evaluated before each iteration, return value must be true-ish to continue iteration>; <gets evaluated after each iteration, discard return value>) { ...
i am making a terminal based ultrakill rpg game in java
very useful to test my java skills wish me luck
so a classic for loop is just
int i = 0;
while (i < 10) {
...
i++;
}
not unless you do the increment inside the condition 
ah yes, for (int i = 0; ++i < 10;), totally a real thing people do
my disdain for that is without limits
i haven't seen it in for loops yet thankfully but definitely in while loops
Remember guys, this and indian voice are what indicate good content
what??? I'm seeing actual programming in #programming ?? are you guys alright?
Ahhh, DSP my beloved
no
we should vibe code instead
in 5 years, AIs will fight each others on discord over which languages are most overrated




