#programming
1 messages ยท Page 119 of 1
Vulkan is just brutal to work alone
you need to know the lowest possible level of hardware programming
in terms of shadercode its pretty low
in terms of cpu you still get some overhead
way less bad than opengl tho
i dont have an rdna4 cpu tho
NVIDIA doesn't publish the necessary information I think 
even AMD docs for their GPUs aren't that great
very late morn
morn

gpu isnt even the issue, its again the graphics api
rn im rendering 1 polygon at 11K fps, i could render 1000 and still get 11K fps since the gpu isnt doing all that much
like an actual 40% usage rn
with AMD GPUs you can submit commands directly* to the command processor if you wanted to
no graphics API involved
-# *there's GPU scheduling and a weird queue system involved sadly
huh
interesting
vulkan keeps spinning up a thread to do that
the actual gamer thread is only 50% usage
that's not inherent to Vulkan btw
it's whatever implementation of Vulkan you're using
gamer thread 
Nintendo Switch 2
The only thing standing between you and a Nintendo Switch 2 is a few hundred dollars, and a musical number.
GET THE SONG on...
Apple Music โค https://music.apple.com/us/album/switch-2-expensive-single/1816197493
Amazon โค https://amazon.com/music/player/albums/B0F9L7KR96
Spotify โค https://open.spotify.com/track/4AN5V6j1gA3gFgNdpyfpIo
โธBE...
There's no way they made this
๐ญ๐ญ๐ญ
i did the math
leon's 400k vertices only use 14.6 mb
textures are indeed more storage
pretty sure that that's not specific to pmap, it applies to static arguments in general
since they need to be part of the JIT cache key 
i thought I could just pass down raw dataclass
always freeze it
okay something is happening
i definitely should have added logger
chat i have no idea what is going on
afaik each phonemizer warning should mean a batch was consumed
True to his name

awa
awa
I made a file that holds different media depending on the file name.
Thank you for watching!
Here's a polyglot file with pictures of my cat: https://p2r3.com/meow
This project is available on GitHub: https://github.com/p2r3/beheader
Join our Discord server! https://p2r3.com/discord
Sound design by @dustyhob0. Music used, in order of appearance...
11 ads on an embed 
but it looks cool
yeah even with yt premium embeds always have ad
seeing that title makes me remember good old method of png actually being a zip file
I don't feel comfortable
so many phonemizer warnings
Classic VSC
vsc dominating all studios
-# Unless you add an adblocked to Discord
What are you phonemizing?
Are you making a vocal synthesizer?
I think german special letters are being ehh in phonemizer or sum
Silly
very silly indeed
Good joke 
you think im joking?
everytime i hit a new fps high-score vani pops in to say its too low 
like at this point i would need to make it in machine code
Don't worry, I don't have it eitehr
Hop onto the general VC if you want to read the current docs of #1337733692709146674 lol
lemme turn of apo first
APO?
apo equalizer
Oh, the sound nuker 1000
it fucks up vc sound and the entire audio cuts out after it gets increasingly louder
just some bass improvements
im pretty sure it has something to do with how using a mic drops my bt headphones sound quality
That sounds cursed ngl lol
its just cuz of limited datastream or something
idk
i ussualy switch to using my oculus rift mic when actually doing vc
but then i have to puit it next to me on my desk so my keypresses are loud
i will not
y 
im trying to make games here, not mental fatigue
I have successfully made a minecraft to discord bridge, you would not like to see the code, it is so bad that I'm embarrased that I wrote it, but goddamit it works.

wdym but why?
this is beautiful
when you're not int he server you can still see the chat
I'm part of a discord that is a small group of friends that run a couple of mc servers with different mod sets, having to move back and between discord and the other servers can be a pain, so making a bot that can connect the discord and both servers is a godsend
Yeah, that is understandable use case
so small performance improvement, but at this point im just cheating
fps is no longer displayed int he window title, im just printing it

this does add an aditional 500fps
Hmmmmm so my phone meets the minimum specs of firewatch
This will probably go horribly :3
I am back here to #programming and there are already 2 cursed stuff happening
What cursed stuff is happening?
firewatch on phone
That's not cursed
Its science
cursed science
do they have a firewatch release that is compiled for arm?
Nope
then its cursed
I disagree
Actually 2 translation layers

One for X86 and the other for the windows crap
Also
Isn't USB C supposed to be fast? This is taking years to transfer
depends on your phone and the port
usb-c can do 40gb/s
your phone probably doesn't


USB-C is just a connector btw
That's not my issue
Backward compatible down to USB 2,0 protocol
wdym
So it could be anywhere from 10Mbps to 60Gbps
the new iphones only do usb2.0 over usb-c i think
Why would it be my issue?
I sure hope the person isn't doing firewatch on iPhone 
how do you intend on controlling the game
with a keyboard?
Wait crap
on a phone?
That is my issue

Eh
phone's support keyboards
I'll figure it out later
USB OTG or bluetooth keyboard does the job just fine
Ohhhh I got an OTG connector and a ps3 controller
Can also use scrcpy, and at that point I just gonna ask, why
just do usb-c to whatever your keyboard uses
should work
im pretty sure android supports it
at the very least both smasnug and lenovo do cuz ive used it
It needs to have a certain pin configured for OTG (to make the phone act as USB controller not as device)
use guitar as input device for optimal gaming
no you dont
Head to https://brilliant.org/CodeBullet/ to start your free 30-day trial, and get 20% off an annual premium subscription.
BUY GAMER SUPPS https://gamersupps.gg/Codebullet
USE CODE: CODEBULLET to get 10% off
Twitter: https://twitter.com/code_bullet
Patreon: https://www.patreon.com/CodeBullet
Discord: https://discord.gg/UZDMYx5
Art created b...
bro i was just about to link that 
I love that you can see he is getting insane with each day passing lol
i just used a simple usb-c to usb-c cable and my k70 rgb pro keyboard worked both ways
A good C to C cable usually have some built-in chip. A very small one that could indeed take care of the necessary setup
The file has sent!!!
unless they skimped out and didnt connect all the wires
Not just the connector
which would be stupid since they're saving 0.001 cents

That is a connector for USB cable, it should have that small IC which is what a good cable should do
But not all cable adhere to it
Its purpose is for identification and setup
Most notably, it tells the connector what is the cable capable of. If they can support PD for example, or display port, and yes, including OTG
its literaly jsut one of these but 1m instead of 1.8
which you can apparently buy $5 / 2weeks 
its jsut the standart smasnug one
ye idk, i dont buy from their website. its 9 bucks irl
You'll get it when you try to develop some hardware and looking at all the USB spec 
you'll just need a single cable they said, it'll solve all the issues they said 
they jsut need to make the spec less dogshit
they used to have hard minimums but now they're letting anything pass
cables without data-delivery is criminal
And not all data delivery is the same mind you
Some connector only have 4 wire/conductor
yes but it still should be in there
So only support 2.0
don't you love apple going out of their way to make a 2.0 usb-c cable and port
because frick you
OK so if wants me to install directX 11
those sons of bitches had usb-c for nearly 10 years on their laptops and now they're being bitchy about putting it on their phones
And those 4 conductor may or may not contain the necessary identification chip. So OTG may or may not work
That's where proton comes in
Since you're emulating x86 anyway
just cause im interested does anyone script ahk
ARM <- x86 <- Proton <- Games
the only usb-c cables i use are from phones, tablets, playstation controllers,a nd the switch pro controller. i can trust those to have the needed data and power
and since im carefull with my stuff they last me decades
Or I just install it from Microsoft?
Wait, you're installing windows?
...on phone?
Crap
I'm emulating it with wine
You're seriously installing windows? 
Oh, then you use proton
For the directx stuff
do dx11 games need dx11 to run? they do iirc
This software doesn't support proton
Stop making sense
Wtf is happening 
wdym?
things like compiled languages dont need the language itself to be installed, but dx11 as the graphics api does need it
so does proton have dx11?
Yes, Proton does support DirectX 11 (DX11). It uses the DXVK library to translate Direct3D 9, 10, and 11 calls to Vulkan.
neat
you dont need it
I can't just put proton into winlator
what is going on here 
It packages wine and box86/64 into an android app
I never said that
I'm trying to play firewatch on a phone
Winlator is an Android application that lets you run Windows (x86_64) applications and games with Wine and Box86/Box64.
and wine = shitty proton
but does not having the valve stuff remove dx11?
nah wine should have dx11
just not very well
so in theory it should jsut work rn, check that error log i guess

Honestly, this shit is cursed from the very beginning 
yep
I'm gonna update winlator since my install is a few months old
Bro that's the least of the problem right now 
Still doesn't work
what does the error log say?
Some crap about stuff not being implemented
But
that does sound kinda important you know
The installer is for windows 7 so I'll try in comparability mode
Trying to install DX11
dx11 should be included with winlator since it runs on wine and wine has dx11 support
you cant just install actual dx11 since dx11 relies heavily on it being actual windows
The fact that it works... 
Other drivers don't work
A different translation layer is getting slightly better fps
This translation layer is faster and renders correctly
you're completly ignoring that the mesh broke on the 1st one
the reason the fps was slower there was probably that
I reloaded that one a few times with different versions and it didn't change
So I couldn't have fixed that
The last driver didn't work
But
I downgraded the driver I used here to just support DX 11.0 and I'm getting a stable 27 fps
I found out why the fps was so low
I'm getting 39 fps now :3
Well I am just on the menu
I'm gonna start the game and see what happens
#programming truly never cease to amaze me 
it is
altho my standarts may be too high with me being used to 4-5 digit fps
I'm poor so this fps is fine
what cpu u using?
Its using 2 translation layers plus a 3rd for the graphics and it gets an easy 16 fps (2.5 when I turn)
Those words do sound in interesting
Huh
I don't know what they mean but they are interesting
brother you dont need no graphics translation layer, this thing has dx12 built in
Wha
The lack of BCn makes about 95% of the games available unable to even boot up, while the rest 5% is subdivided into games with other formats not being supported and really old games that don't rely on BCn
so ye thats probably why it was crashing before
you'l probably need to keep using the translation layer unless you have a decompiled game that you can modify to work
What is BCn?
That sounds like effort and Im getting like 30fps on a lower resolution
My search came up with Bible camp national and I don't think that's it
BCn does texture shit
i think compression
ye google says texture compression format
some type of algorithm
BCn (Block Compression n)
interesting
i hate audio
so as it turns out the reason my pipewire config seemingly broke for no apparent reason is that i use two plugins for the final effects, one for a 6db gain reduction and one for eq
on their own they work just fine
both together, regardless of the settings they just completely mute the output 
even when i set the gain to be 0 it still mutes it even though there should be no difference in the signal going into the eq
ah
the eq one does have a gain option but that didn't really work or i think it was mono
plugins ye
okay yeah the input gain option from the eq plugin does nothing, time to go searching 
Tune the eq so -6db point is the max 
it's a very specific eq so i'd rather not 
What kind of eq is not very specific? 
me when setting an EQ

can confirm\
its not too big of a diffrence but i put the rendering in a seperate thread than the SDL event handler and fps math
instead of 10150fps i now get 9960
i barely know how this multithreading stuff works and any resemblence to good code is thanks to chatgpt's recomendations
while multithreading isn't really useful rn it will come in handy later
imma stop for today tho
Found this
Note that while multithreading, you want to utilize hardware resource locks if more than one thread needs to modify a single resource
Some stuff to do with hardware features that makes it so when a thread locks a resource lock, other threads will have to halt before locking it until it is unlocked, allowing one thread at a time to access the resource

Atomic ensure that the operation is done in a single cycle usually
think about it this way, normally you'd have to
- read the current value
- update it
- store the new value
atomic instructions let you do this all in one go
And that ensures it doesnt get changed while reading then i guess?
yup
It ensure that it cannot be read and being written simultaneously yes

since otherwise you can run into the situation where you read the value but by the time you write the new one it has already been written to by another thread
meaning you overwrite the other value 
But for more complex operation that acquire resources (like i/o) you'd need semaphore/lock/mutex
Fence
In terms of i/o there isnt really anything id need semaphores or fences for i think
A knife is just a gun that fires a wide projectile with a very short lifespan
Reading some old cursed game thread, I wonder how Sam would solve some of the problem lmao
I see no issue with this
Reminds me that I have some game physics to figure out.
Wider effect piercing damage, the wideness adds to some max hp drop. That'd be my approach on the actual damage numbers.
It's not a tutorial to create a cursed mechanics 
The thread stemmed from this post. Spoiler for flashbang protection
i think i'm done 
also TIL nix(pkgs) has basically no functions for doing math with floats so that's cool
Done as in finished or done as in tired?
it works
Throwing axe 
i might add some stuff to make adding apps to the specific categories a bit easier in the nixos module but that's for another day 
found the problem 
why do they even make engines like that
Tech debt and deadline
Also adding feature mid development that the engine was not designed for
fair, but still hilarious that you have to take the hard way to make things work
And sometimes the result is not that great too
how is it almost 6am already 
I'm on sleep
just a guess
Half of these emojis aren't even colored in, which I'd not expect for a browser of all things
whoops, flashbang
Why two of them are straight up half normal and half colored, I got no idea
I know this is composed emojis, but I got several questions
bwawa
random question, trying to get a friend into Neuro but their worried about what she was trained on
is that public knowledge around here?
afaik it was mostly twitch chats and private data
not going to lie as im building one myself, its mostly legit stuff from microsoft and facebook and then self training, which is scary when it works
im using https://huggingface.co/microsoft/phi-2 myself
tbh most datasets are scraped off the web, it's hard to judge if something is ethical or not
actually most datasets are publically availible you might have to search hard tho
https://github.com/facebookresearch/textlesslib/tree/main/examples/expresso/dataset This is a example
its also from facebook. its dataset is over 30 gigs
example of speech datasets
to build a speech dataset, one has to hire people to speak. ofc they are ethical
how about large-scale text data?
depends on the company or person doing it / model
I'm on mayhaps, see voice cloning
surprisingly enough im learning its really easy to do
it's simply impossible
I think every model has a way of being done correctly or incorrectly. (For image models I'm looking at adobe who suposidly bought all of licences needed to train)
you can't ask for consent for everyone's text, unless they hire people to type out millions of Q&A data
I mean you can if you keep the scope reasonable, but most people are not interested in such
this is where Machine learning and Reinforcement learning kicks in
Example of mine looks like:
00:28:03 | INFO | ๐ ๏ธ Luna Self-Instruct CLI initialized
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ ๐ LUNA SELF-INSTRUCT CLI โ
โ Advanced AI Pipeline Management Tools โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ LUNA SELF-INSTRUCT PIPELINE STATUS
๐ข Pipeline Health: Operational
๐ Last Update: 2025-08-05T00:28:03.594196
๐ COLLECTIONS STATUS
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ข Synthetic Instructions Raw 15,420 samples
๐ข Synthetic Instructions Cleaned 12,336 samples
๐ข Human Validated 1,250 samples
๐ข Training Metrics 4,520 samples
๐ TODAY'S ACTIVITY
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ฏ Instructions Generated: 450
๐ Instructions Filtered: 380
๐ Training Sessions: 2
๐ฅ Human Reviews: 25
๐ป SYSTEM METRICS
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ฅ๏ธ CPU Usage: 45.2% โโโโโโโโโโโโโโโโโโโโ
๐พ Memory Usage: 67.8% โโโโโโโโโโโโโโโโโโโโ
๐ฎ GPU Usage: 23.1% โโโโโโโโโโโโโโโโโโโโ
๐ฟ Disk Usage: 12.4% โโโโโโโโโโโโโโโโโโโโ
โ All systems operating optimally!
Most people expect AI to be a master of all to some degree, if your alright with abandoining that idea then it swings into barely possible.
no one trains on only wikipedia and stuff, I'm sure companies train on news websites and did not ask for consent
imean
not anything has to be pure when AI models are all opaque bunch of numbers
no one can know
One could do the whole Q/A thing on a smaller scale, just not knowlegable on every subject levels of intelligence.
It'd still hurt the wallet, but it is feasble at least.
pretty sure they trained them on those education books they sell to old people
so basically in-breeding, you still need a model trained on possibly unethical text 
@amber fractal is AI ethical topics a bingo? 
This is my Fix for it: https://arxiv.org/pdf/2507.18523
AI ethical debates are not on this bingo, it should have been.
you're talking about AI morality, I'm talking about the ethicality of AI datasets
you just have to trust the researcher
source: trust me bro vibes
You see, this paper actually uses the MFTC and MFRC datasets, which were scraped off the web. Did they ask for consent from everyone on those websites? Frankly no
meh
its a good think im not readin it i guess
i just get chatgpt to read it and translate the stuff i need
All I'm saying is that it's hard to judge if something is ethical or not; we have no clear classifications and quantization method for "ethicality" in AI training data. By the closed-source clarifications of most company AI models/datasets, and the large amount of data they have, it's easy to say they can't ask for consent of everything they scrap.
i believe anything that can be seen from your private home or that is publicaly availible is free game
I'd highly disagree because there is a diffrence in intent
Ethical is subjective 
kinda like journalism
like how you have diffrent licenses depending on what you want to do with music
Stolen data can be licenced whatever they see fit
The issue that is being argued is a baseline disagreement with this statement
so can cars, its not a new concept
Both are wrong, your not making any new points
im not sure what your point is to be honest
stealing is a crime by itself, he's not talking about the licensing problem
and do you think these people stole?
yea, pretty much
Agreed, it was stolen
did they get in trouble by the law?
That's such a low blow
did law clarify ethicality
it's one of those law problems again. Discord has a ToS and Privacy Policy of not using data on the platform to train AIs. Yet there are Discord chat scraps everywhere
then report those people
did they get punished? No. Is it unethical? Yes.
There are things you should do even if it is forbidden by law, likewise there are things that you should not do even if allowed by the law.
k and do we care? no
Discord has evolved from a gaming-focused communication tool into a versatile platform supporting diverse online communities. Despite its large user base and active public servers, academic research on Discord remains limited due to data accessibility challenges. This paper introduces Discord Unveiled: A Comprehensive Dataset of Public Communica...
report it
go ahead

If we didn't care we would have ignored you
are we still talking about ethics
yes
They seem to have a rough understanding of reality
Reality is not fair
thats the hard truth
One should not treat it as an end all result either
Crime behaviour should not be normalized, just because "Many people do it"
So if reality is corrupt, then it can't be trusted to enforce what should be enforced.
and, the information they grabbed was it publically availbile or was it private?
That is why this problem even evists
was it locked behind a news subscription paywall?
publically available for what use?
๐
true
yes
anything that can be seen or visited online is up for grabs
i mean google seems to use scraped data
im pretty sure they abuse their SEO
cause
there are very specific kr websites
Because I am not consenting for AI scrapers but I am consenting for use in conversation archival.
that only appears on google and such
google the search engine is a scaper, thats the whole point of a search engine
I believe openwebtext have paywall websites as well, I forgot and don't take this sentence seriously
only gemini has that kind of data
And people can modify robots.txt to consent
and google is using the search engine indexer to scrape websites for its AI
its a good thing AI aint robots
With AI that isn't an option and mostly ignored
i tried to say this but miserably failed, thanks
by law definition matters
this is proven because the recent Cloudflare Pay Per Crawl thing btw
exactly
cloudflare protected websites
well what are tehy gonna do
open up for SEO for google and such
things should not be normalized just because old laws don't care shit about AI
it's unethical
Cloudflare is mostly just a website caching service, they dont really actually protect anything
and law does not care about ethic
not true
what
do you know how hard I tried to get past cloudflare
just to use ChatGPT subscription as API
cloudflare doesn't provide any protection

Yes, clueless
so like
Thats why my discord title is POT
not everything is ethical
i dont agree that there should be laws because i like free data but
still it is unethical
Everything in life is free, thats my philosophy
tldr I just got here
AI ethics debate

that three word was perfect
not really a debate, more like they have comments and are struggling to accept reality
Topic being: Is scrapped data ethical as long as it is public infomation
Hans is using personal attacks while the rest of us are using logic
what did i say that was a personal attack?
technically any unprotected database is public information even if unintended 
The whole point of Hans is: Datasets gathered with unethicality are not punished by laws, so they are fine. Data that can be scraped off is publicly available, so it's fine to just store them and redistribute it for a different purpose.
i mean
dont we agree that shit that does not get us into trouble can be still unethical
i believe this is a personal attack

Facts are hard to accept sometimes
that hurts
I agree
that's what you're doing in the last hour

This is the second time you've used "stuggling to accept reality" as a point. Though I do agree that caibi's comment was also a personal attack.
Your talking Ethics in the Programming channel, talk about more off topic
yuore
Why can't I talk about ethics in a programming channel
it's a technical talk

It's the same as talking about politics, your just flaming
by what degree it's same as politics ๐ญ
bro is trying to mislead off the direction of this debate, 'cause he got no points to pull against us
this conversation is stupid
lets just do our shi
I'm on pass or summoning due to no politics
Like i said, there is no debate
scrape data as they do not get myself into trouble is fine
There is one to be had, just not with you
but saying that it is unethical is also fine
NEW TOPIC DINK DONK
awa awa awawa awawa awa awawa
awa
bwa?

Saving rq
"r1"
minor spelling mistake
Awawawawawawa



they definitely said this summer

It's never going to be real
they'll keep at 4.xx 4x and Ox until the end of time
no trust me this time it's different!
it better be
omw to openai
don't forget Turbo
pretend 4x is 4x* fr fr
hold on you can send markdown titles now??
I recall them being automodded

Yeah, I got automodded for them in the past as well. Not sure when it changed but someone else got away with it in the past

oh man this is so good
I don't need to calculate each instructions in my head anymore
yeah i remembered this too
now you can have headers 
-# also this tiny stuff, idk if it works
srsly

โ
-# (edited)

Forgor, smh
-# (edited)
in my humble opinion; absolutely any and all data is ethical to train an ai on so long as the weights are released publicly
Plz do not reignite this
I canโt my legs hurt too much
help
cpp arduino shit
is so fucking annoying
// Variables
int ledPin = 13; // PIR sensor on digital pin 2
int buzzer = 9;
int triggerPin=3;
int echoPin=2;
float distance;
float duration;
void setup() {
pinMode(ledPin, OUTPUT); // Set LED pin as output
pinMode(buzzer, OUTPUT); // Set motor pin as output
pinMode(triggerPin,OUTPUT);
pinMode(echoPin, INPUT);
Serial.begin(9600); // Start serial communication
Serial.println("Motion Sensor Ready");
delay(2000);
}
void loop() {
digitalWrite(triggerPin, LOW);
delayMicroseconds(2); // Wait for 2 microseconds
digitalWrite(triggerPin, HIGH);
delayMicroseconds(10); // Wait for 10 microseconds
digitalWrite(triggerPin, LOW);
duration = pulseIn(echoPin, HIGH);
distance =(duration*0.034)/2; // Read the sensor
Serial.println(distance);
if (distance <= 10) {
digitalWrite(ledPin, HIGH); // Turn on LED
tone(buzzer, 100, 1000); // Stop the motor
Serial.println("Motion Detected!");
delay(5000);
} else {
digitalWrite(ledPin, LOW); // Turn off LED
Serial.println("No motion.");
}
}
i dont know whether its a hardware problem or code problem
but it keeps detecting motion even if i dont fucking
enable the sensor
either that or my issue is the sensor enabled by default
arduino
what i meant
lmao
i thought the hardware was the issue at first bc it kept spamming 0.00 output
Motion Detected!
150.30
No motion.
1.39
Motion Detected!
but then it suddenly (kinda?) worked again but always outputted random high/low values even if sensor never triggered
im tired
the presentation is tomorrow
i cant even test the thing except for right now because i dont keep the project
the buzzer keeps repeating the stupid rickroll
if you're not sure about one thing, it's always that thing being wrong 
so.. hardware
maybe
i wanted to do something more ambitious like this but i realized that the double check is actively harming detection (when it fucking worked, somehow..)
pros: less latency
cons: fucked up detection
CSS?
that's why
should be static_cast<size_t>(pos) < bubbleAbyss.size() + 1 
works now
On the product page it doesn't do this, just the search page
it's time to do z-index: -1000
Where is the material propeerties, and where the frick is this section
blank
Found the material somewhere entirely different. I got what I came for
begone jankage
aren't you missing the last delay outside of your distance check
you're using this tutorial right
do i have to add the delay
no?
well they did the exact same thing as yours and they do have a delay at the end, that yours is missing
it could help
the delay only pauses the read
just try, it seems like a fair thing to fix even it's not the cause 
also i did add delay(5000);
ignore the remark that was a joke
note the top output
it delays the whole loop
i haven't done this in 500000 years
bro wtf
but idk it feels worth tryign
i intergrated the funny buzzer music thing
it worked for like
a bit
yeah i managed to get it to play some music
plz source code
its.. arduino code btw
i thought u did in raw c++
lol
i wish
im still noobie python programmer
im still learning algorithms, so ur good
im wishing to join IOI ๐ญ
Can't control fans to that degree smh
Your motion detection does <= 10 btw
You probably want to flip that
Or at least add a > 0
I hope so
Could be pulsein...
The timing of this function has been determined empirically and will probably show errors in longer pulses. Works on pulses from 10 microseconds to 3 minutes in length.
Meaning tge sensor misses 1 microsecond and it falls out of the function dimensions...
Write the plugin I guess
seriously
classic "do it the programmer way"
I guess I'll stick to Copilot for grammar correcting
does that make me a vibe coder
holy fuck this is actually useful
I felt the power
How are you detecting motion?
I have descended
obstruction
I was using it to learn asm. I feel dirty doing so.
It used nasm formatting without telling me, so that took a bit to figure out
I mean it's okay to use AI to assist you
just not trust and throw everything AI did
AI is goodish at grammar stuff
Nah nasm is unacceptable 
surely someone didn't recommend it to me 
Nothing I just like shitting on it
sounds like u either mapped the wrong pin or its a hardware problem. unless its smt ioncredibly stupid
most likely hardware which i will test tmr
I could for the life of me not get nasm working with gcc. So I just did nasm and ld linking
you guys actually do team management??!
that's crazy

shitty team management
they didnt even bring extra parts

*team mismanagement
"oh oofio theres a issue can you help fix it"
"did you bring parts just incase its a hardware thing"
"oops"
every time a group project is there, I'll just do all the jobs on my own cuz my friends suck at cooperation
this tbh
You just reminded me, hand over the update on the AI generated project mates 
btw same people working with me
on this stupid arduino

thing
well that only works for so long
i have a full year project with a team on 7 and im not doing 7 persons work
Can we just kill them? They are doing nothing but generating chatgpt code for their projects?
oh the code im doing all bymysef
No sharing this time
let em suffer
(all ai generated btw, which i added a disclamer at the end secretly so i dont get fcuked)
(bc AI is allowed, but it must be stated as a citation, which they didnt for some amazing reason)
mentioned*
X Y and Z used AI to generate this presentation instead of being useful to themselves and their teammates.
oh trust me for the self-team grading poll i gave them all a 1
I don't think that's a citation 
submission was 10 mins awayfrom deadline and they didnt gibe me access until last min

At least you added something to save yourself
i also wrote a message to the grading lecturer about it so hopefully it counts
its not that AI usage will give less marks btw its the lack of mentioning it that gets me fucked
We pray for all that we can that they take it into account
-# for those not in the loop, all of this dudes group mates in college are all vibecoders
Oof.... well i can't think of anything except hardware failure either... code seems to do exactly what it should...
I for one, welcome the young generation screwing themselves over for life with AI
more job security for us older folks
weeds out those only doing it for profit, keeping those generally interested
i mean this is what the pitch looks like and atp im just going with the flow
playlist link 
buddy could have fullscreened it at least 
Yeppers
this will be shown to about 3-4 lecturers who we will have to give an 10~ min presentation to, and then answer whatever questions they give
No human makes the last section a summary of the points before it
i was lucky to consult with a expert before this so i can probably handle improv
although he did expose a huge fucking flaw in it, so cooked either way
I wonder if they even know it is flawed 
If they worked on it then surely they'd have an idea of the state it is in
i dont have the heart to tell them atp, if i do they will definitely change everything which was highly discouraged
Just don't and let them be fully confident
yeah im done for the day
tomorrow is going to be something ig
WTF COPILOT IS INSANE
all I gave is the access to this single markdown file, how did it know 
omniscient
i wonder... has copilot improved over the years. last time i tried it, it was behind stuff like supermaven or cursor
em-dash
I only use copilot for formatting, idk
Will be seeing them on every slide
but em-dash for that situation is like the only good choice
colon feels wrong for bullet point lists like that
it's not even an em dash
it's too short
smh
i bet all in to nvidia on my investopedia trading simulator
trust me wall street people will buy when gpt 5 is out

this some new kind of betting
will openai release gpt5 or not
but with more thrill yk
which ones are you missing?
yeah i'd personally just implement binary exponentiation
i'm doing f(x) = 10^(x/20) so can't really do that unfortunately
thankfully as far as i'm concerned x^y = exp(y * ln(x))
you can but you'd have to compute an approximation
i guess
you just made me realise chay, division does not work at all 
guess all my eq values are wrong then
do i just bite the bullet and do the conversion by hand
it does though?
wa
did you end up using https://github.com/xddxdd/nix-math ?
I did yeah
it doesnt do binary exponentiation for integer powers apparently but since you only need fractionals it doesnt really matter

@opaque wharf https://github.com/anfogy/AWA5.0-Interpreter/
I pushed

get ready for my bad code









It's a visual studio project 
how complex is awa interpreter and can i write one in under 400 lines

maybe
you can try

what's wrong
visual studio = death, simple as

I don't mind visual studio project, but it should provide other build system like meson or CMake 
Even if it has CMakeLists.txt or meson?
cmake can generate msvc projects
you should have a single source of truth for your project
sln/vcproj are horrible autogenerated files that shouldnt be committed
I forgot to edit that out in my init commit
yes, that is true ever since VS got CMake support 
you cant build the project without them if you use msvs 
thank god they added that
This implies that it is a recent thing
cmake had vs support before vs had cmake support
Classic corporate software ๐๏ธ
The open source provide best effort support for the closed source software before the other way around 
smh the whole project
it has only one file
why do you need a build system for it duh
Blame Visual Studio. It is a build system for visual studio 
visual studio extension dev scares me somehow
I guess you can CMake now
I mean there is a c++ standard so surely all compilers should be fine and work well 

Goodmorning
Well, when you think about it a helicoptr is just a very round flying cube
I think using target_compile_features(awa5_interpreter cxx_std_20) is prefered
RoundCube
Free and open source webmail software for the masses, written in PHP

ok
I don't use cmake I have no idea how this thing works
It's been a while since I make a CMake too to be fair
it's fine, barely anybody does
there's always 5 different ways to do something and there's no clear recommendation on which to pick
I just use this 
https://github.com/ObKo/stm32-cmake
windows I use makefiles, linux I use makefiles 
well I use Visual Studio if I'm using Visual Studio
I'd think makefiles are the most common way
i made a noncomformant implementation (i.e. i can't be bothered to read into the underspecified standard) without division and input in hblang and it was just a bit above 200 lines of code
horrible spec do not recommend
thats one of the parts where the spec is wrong 
"the spec is perfect" said the imperfect spec
(it was wrong because it wasnt perfect)
(therefore it wasnt perfect and hence it was wrong)
(goto 0)
it isn't the spec or the language that isn't perfect, the person reading the spec and making programs for it isn't
if the spec was perfect it would be able to convey its meaning perfectly
hence the spec isnt perfect


it doesnt make sense 
awa5 is perfect
devs are imperfect
hence we wont make a way for devs to handle their errors
(because we are perfect)

Fair
https://learnopengl.com/ never goes down
Learn OpenGL . com provides good and clear modern 3.3+ OpenGL tutorials with clear examples. A great resource to learn modern OpenGL aimed at beginners.

ehh depends
you can have 5000 lines in a class if you feel like you're a yandev guy
nah 38, forgot to count the public one as it was collapsed
there are about 940 lines of code in this class
๐
Not really
Especially if the class is Universe class
I'd argue it is too little
class Universe {
// Omitted for brevity
};
depends on what you call a function
You may want to take a look at mixin in cpp Sam
But not the CRTP one
That one is just dragons
like if those are static methods than thats absolutely too much







