#programming
1 messages · Page 112 of 1
this may have been used in your memcpy impl actually i dont remember
.memset
mov rcx, .len
mov rdi, .dest_ptr
mov ax, .src
rep stosb
is a small memset impl
Why does every time I turn on my windows, open Google Chrome, and it crashes as soon as I type on the Discord website?
Because discord hates you specifically
Shouldn't be google chrome?
Nah, if other website are fine, then it is Discord that hates you
The first thing I do when I turn on Google Chrome is to open Discord
Hmmm, try opening other site then that also has some form of DRM
I crashed while typing
It won't appear again after this time, know to restart and open chrome (sometimes there will be a crash)
There are too many variables to account for weird behavior on browser
oh
But also, most of the problem indeed stems from a website trying to be smart. Hence why I said discord hates you specifically
i've been looking closer at the asm the compiler generates and
memset:
cmp rdi, 0x0
seta al
movzx rax, al
test al, al
je :2
mov byte [rsi], dl
inc rsi
dec rdi
jmp :memset
.2:
ret
why is it bad 
memset:
test rdi, rdi
jz :2
.1:
mov byte [rsi], dl
inc rsi
dec rdi
jnz :1
.2:
ret
i wrote my own
Great, now we have 2 CPU 
im not parsing machine code
asm is meant for human (or tv)
also this is wrong, 
memset:
mov al, dl
mov rcx, rdi
mov rdi, rsi
cld
rep stosb
ret
memset:
jgtu $1, $0, :1
jala $0, $31, 0
1: st $3, $2, 0, 1
addi64 $2, $2, 1
addi64 $1, $1, -1
jmp :memset
strangely hbvm doesnt have this terrible codegen
i have gone through that hb hello world you gave me a while ago
directly decompiled would be
void memset(uint64_t a, uintptr_t b, char c) {
while (true) {
if (a > 0) {
*b = c;
b += 1;
a += ~0; // -1
} else {
return;
}
}
}
memset := fn(len: uint, dest: ^u8, src: u8): void {
while len > 0 {
dest.* = src
dest += 1
len -= 1
}
}
here is the actual source code, so yeah
any thoughts
hi, can I ask a question about neuro playing osu?
obligatory https://dontasktoask.com/
hb certainly isn't like x86
wanna see the file?
how does neuro play osu?
I cannot understand how vedal make it.
I know it's AI. I WANT to know the concrete method....
The actual implementation is not public, so for all we know it could be small goblin playing it
however we do know roughly how it works
Ye, but the person want the concrete method. Which may or may not be the one that is used
here ya go
2.5KB by hands?
i added comments
i'm amazing for her quick response while playing osu
Isn't it kind if an multi model approach while she plays? With the playing and talking model just sharing informations? And the talking model beeing able to instruct the playing one?
here's how i expect it to work:
- use gosumemory or similar to read the positions of circles, sliders
- make a low resolution greyscale image of the positions using pandas or something
- feed the images to a CNN (convolutional neural network) using pytorch
- the output is the position of the cursor and if the button is held
- make the input in game using pyautogui or similar
- if it was a miss, punish the NN, else reward the NN
- train the NN using the reward
- voila, osu playing ai
I dont think neuro play osu in this function.. Talk and play is devided into 2 parts. But talk maybe have no influence on playing.
@stark needle i may not have a brain but i have a plan
seems correct to me
cant check the disasm anymore since i deleted that program
lol
The reward likely is a bit more complex, there may be scaled rewards based on hit accuracy, but otherwise seems accurate enough
yeah, i didnt want to infodump too much
oh ye it's right. I am so stupid. I forget it can access the position on the screen using some sdks.
I am not talking about size optimization btw. I am talking about the fact that you write 2.5KB of raw hex 
step 1 and 2 may be a bit different if vedal takes a screenshot of the game rather than reading the memory
But essentially, the core function is just game state -> position and boolean weather to click
He did explicitly say he reads memory on the dev stream when asked about porting to Lazer
its not raw hex, its the hexdump in ascii + comments + spacing
ah, makes sense
Pretty sure
If transfer to a 3D game. Position maybe is not so easily to get. right?
I remember him mentioning that
It always depends on the game
tosu supports osu lazer these days
doesnt run on linux though
3D games can still just use 2D positioning, but for height it can get a bit tricky ye
how about it takes two? In fact i want to achive an agent to pass it takes two.
Vedal mentioned something about low level Osu modding, so potentially he might be linking or injecting something manually
And what's that game?
Platformer
doubtful that it's the case to be honest, its pointless when existing memory readers can tell you the positions of the circles
aha? can you explain it or recommend some resources!!!
But did those exist when Vedal started it? And of course there is the fact he injects the "Neuro view" into the game as well, which apparently depends on Osu stable
You have to write AI eventually for the game
nah
Not ML though
Albeit simple, but still "AI"
Yep
ok
yeah, gosumemory is as old as dirt
are we sure the neuro view isnt just an overlay?
"AI" is misleading as a term, ML would be better to describe what the modern "AI" field is
He did say it depends on Osu stable, so it might be injected directly into Osu's video memory
i think the meaning is that the neuro view is generated from data in osu stable
hence the neuro view depends on osu stable
The entire Osu AI could run within Osu's process and memory
doubtful again, osu is written in c# and most ml (notably all ml we've seen vedal do) has been in python
Who knows, we can't really rule anything out with his vague information
yeah
It could be anything, all we really know for certain is what is shown on streams exists, there's an AI behind it, and somehow it relies on Osu stable
i still think the dependency chain is it actually relies on gosumemory or rosumemory, rather than osu stable specifically
these two memory readers dont support lazer
Since you said Osu is in C# it could be entirely possible that Vedal could have decompiled it and added new stuff directly
As far as I'm aware C# is easy to decompile
osu is open source
You have unlocked new role
true and false
osu stable is closed source
osu!lazer is open source
Why decompile?
rhythm is just a click away! Contribute to ppy/osu development by creating an account on GitHub.
sigh
jmp
And thus the decompile
Oh
though i will say i doubt that's the case either
i think you posted the disassembly earlier in the channel
its just needlessly complicated compared to an external solution
probably

poor compiler
its dumb as rocks at codegen
great regalloc, great mem2reg, codegen still sucks
hard to compete with sota compilers i guess
What to eat for dinner
table
Hmmm, I doubt wood is good for my wellbeing tbh
fork
Neither does stainless steel
plate
What is a ceramic but sand?
unless you're michel lotito
Well, every material can be a sand when grinded fine enough 

Michel Lotito (French pronunciation: [miʃɛl lɔtito]; 16 June 1950 – 17 April 2006) was a French entertainer famous for deliberate consumption of indigestible objects. He came to be known as Monsieur Mangetout (lit. 'Mister Eats-All'). His digestive system allowed him to consume up to 900 g (2.0 lb) of metal per day. He started eating this...
<main.memset>:
cmp rdi,0x0
seta al
movzx rax,al
test al,al
je <main.memset+0x20>
mov BYTE PTR [rsi],dl
inc rsi
dec rdi
jmp <main.memset>
ret
<_start>:
sub rsp,0x8
xor rdi,rdi
xor rdx,rdx
xor rsi,rsi
call <main.memset>
xor rdi,rdi
movabs rax,0x3c
syscall
look at it
memset := fn(len: uint, dest: ^u8, src: u8): void {
while len > 0 {
dest.* = src
dest += 1
len -= 1
}
}
main := fn(): void {
memset(0, @bit_cast(0), 0)
}
it made the purest garbage
~1KG of metal/day is crazy
Well, we do know Vedal is a bit dumb sometimes, so it's possible, just not obviously the case
_start is fine,
<_start>:
sub rsp,0x8 ;pre-align stack for systemv callconv. technically required even if stack is unused.
xor rdi,rdi ;zero len
xor rdx,rdx ;zero byte. could be xor dl,dl but compiler codegen is patchy.
xor rsi,rsi ;zero ptr
call <main.memset> ;memset time
xor rdi,rdi ;exit(0)
movabs rax,0x3c ;sys_exit
syscall
<main.memset>:
cmp rdi,0x0 ;len==0
seta al ;al = (len > 0) ? 1 : 0
movzx rax,al ;set upper 56 bits to zero for some reason
test al,al ;al & al -> acc
je <main.memset+0x20> ;jmp to ret if acc == 0
mov BYTE PTR [rsi],dl ;set byte
inc rsi ;increment ptr
dec rdi ;decrement len
jmp <main.memset> ;back to beginning
ret
memset is just weird
memset:
test rdi, rdi ;len == 0 -> acc
jz :2 ;if acc == 0: return
.1:
mov byte [rsi], dl ;set byte
inc rsi ;increment ptr
dec rdi ;decrement len
jnz :1 ;loop if len != 0
.2:
ret
more typical implementation
it takes a surprisingly long time to write these comments
im not a good computer
ok i see your point now, i was sitting here letting you explain why the generated code was garbage
u right
its not even considering potential optimisations, this just feels like a missing peephole though
i love segfaults
compiler doesnt seem to consider special cases for zero
i would one day like to make my own compiler
jnz is unused, and we are doing cmp rdi, 0x0 rather than test rdi, rdi
structs: exist
vulkan pipeline creation:
surely can't be that hard 
Vulkan do be Vulkan
By the way, I may be getting some more money tomorrow, so I maybe can try to pay for the 3090

for an actual version that you might a better compiler spit out
memset:
mov al, dl ;al is the byte for rep stosb, dl is the function argument for byte
mov rcx, rdi ;rcx is the length for rep stosb, rdi is the function argument for the length
mov rdi, rsi ;rdi is the pointer for rep stosb, rsi is the function argument for the pointer
cld ;clear direction flag (set rep stosb to increment ptr rather than decrement)
rep stosb ;literally the memcpy
ret
Well, but the upside is you have total control
if memset was an always inline function:
compiler generated:
_start:
xor rdi, rdi
xor rdx, rdx
xor rsi, rsi
.1:
cmp rdi, 0x0
seta al
movzx rax, al
test al, al
je :2
mov BYTE PTR [rsi],dl
inc rsi
dec rdi
jmp :1
.2:
xor rdi,rdi
movabs rax,0x3c
syscall
optimised:
_start:
xor al, al
xor rcx, rcx
xor rdi, rdi
rep stosb
xor rdi, rdi
mov eax, 0x3c
syscall
@desert plaza
no comments on there but as you can see 
main:
sub rsp, 0x20
mov qword ptr [rsp], 0x00
mov qword ptr [rsp+0x08], 0x00
mov byte ptr [rsp+0x10], 0x00
1: mov rax, [rsp]
cmp rax, 0x00
setnbe al
movzx rax, al
test al, al
jz :0
mov rcx, [rsp+0x08]
mov al, [rsp+0x10]
mov [rcx], al
mov rax, [rsp+0x08]
inc rax
mov [rsp+0x08], rax
mov rax, [rsp]
dec rax
mov [rsp], rax
jmp :1
0: add rsp, 0x20
ret
somehow what the compiler actually generates is infinitely worse than what i said it would be
how
that's actually awful 
inlining a the only function call should never make the binary bigger

Hewo, I'm trying to get into learning AI into which i can eventually create my own personal assistant AI with voice and avatar. Where should i start learning become I don't know a thing about this kind of thing
bingo
if you dont have knowledge of programming already, some basic python tutorials are the place to start
if you do have knowledge of programming, then search for pytorch tutorials
What am i looking at
I have some basic programming language with Java and C# but they say that Python is the best for making an AI, but what I don't really understand is what's an LLM and Neural Networking
Is that a website or application? I don't know much about things
What are the neurons, why are there layers, and what is the math underlying it?
Help fund future projects: https://www.patreon.com/3blue1brown
Written/interactive form of this series: https://www.3blue1brown.com/topics/neural-networks
Additional funding for this project was provided by Amplify Partners
Typo correction: At 14 minutes 45 seconds...
this will teach you about neural networks
its a whole playlist
after you're done watching, go watch this huge video or something https://www.youtube.com/watch?v=V_xro1bcAuA
Learn PyTorch for deep learning in this comprehensive course for beginners. PyTorch is a machine learning framework written in Python.
✏️ Daniel Bourke developed this course. Check out his channel: https://www.youtube.com/channel/UCr8O8l5cCX85Oem1d18EezQ
🔗 Code: https://github.com/mrdbourke/pytorch-deep-learning
🔗 Ask a question: htt...
asm is an abbreviation of assembly, which refers to a low level language that can be translated directly to machine code
It's a data type meant for machine learning?
no, machine code is what your cpu executes to run a program
I'd suggest not using asm for machine learning lest you wanna go insane 
But then again, you could try to write a custom optimized kernel by hand for ML
Just the kernel tho
i dont think you should bother them with random tech jargon
bwabwabwa
they are clearly new at this, it's just gonna be confusing 
I will bother everyone with info dump, and no one can stop me 
But also, the person mentioned that he has programming experience with Java and C#, so I do have certain expectation
Please have mercy on my poor soul
Basic programming experience to be honest, I'm currently learning them in my course at computer engineering
Mhmm, then what konii gives you is a good starter to know what you're getting yourself into
All i can see is my sanity crumbling and what's being left is just my 1 braincell doing infinite back flips into the void
That's just average programming experience
But thank you all, this is better than asking chatGPT for help in making my desired AI in which i did, i don't know what i was thinking when i did it
I fear for my future, yet I can't escape. Neuro-sama got me in a chokehold, my destiny has been chained by AIs
You'll be fine. We have a TV, a CPU, and an insane person here to help you out
I love this asylum
tried to take a screenshot of all the code but ran out of space even with all 3 monitors stacked
idk why i did this
You can use extension to take full screenshot without using 3 monitor
aight framebuffers are done
I have not solved my hunger issue
i
I've not eaten all day it's 5pm
debating whether I want braised pork rice with veggies or the new KFC menu item
And you missed another chance to fix your sleep schedule
it is 11.50am here, i last ate at 8pm yesterday
too busy harassing compiler dev
i slept from about 11pm till 9am
Hmm, he's a trickster so what do you expect?
awa
Should ai be able to edit their own code?
Sure, why not
Last time i checked, I dont think I wrote it in assembly, help.
what
The AI gone rogue
So, i gave an AI i trained access to that, and an infinite loop of itself running.
And came back a few hours later its now gone from python to asm
Even AI hates python
Oh I wanted to do that in the future too XD
forgive me but im struggling to believe it slightly
I just take what the person said at face value because I don't want to argue about its validity 
(Not really true, true story was that the AI tried to and broke.)
Tbh, I forgot to put safety measures in place too
I still have no idea what to eat 
But if I eat nub, there will be no more nub
Hmm, eggs!
I'm gonna eat a horse
\
“\”
☆\☆
epic discord formatting fail
epic discord formatting fail 2
This good at learning about LLMs?
https://youtu.be/zjkBMFhNj_g?si=A-sgx9fAzhy8Jr86
watch the 3b1b playlist
what kind of horse
https://www.youtube.com/watch?v=aircAruvnKk&list=PLZHQObOWTQDNU6R1_67000Dx_ZCJB-3pi
please just watch these. they are good videos.
What are the neurons, why are there layers, and what is the math underlying it?
Help fund future projects: https://www.patreon.com/3blue1brown
Written/interactive form of this series: https://www.3blue1brown.com/topics/neural-networks
Additional funding for this project was provided by Amplify Partners
Typo correction: At 14 minutes 45 seconds...
Already saved the playlist, watched one video as well and it makes sense now
Bruh
You have a big appetite for a TV
your
your?
tv eat image, tv job
But you only eat image at 1Hz 
i wish i had 20 different types of food simultaneously broadcasted to me 24/7
I do not eat image. I eat horse
konii konii are you digital or analog
VGA is analog I think
friend found an old pc from his dad or so. 5 beeps when trying to boot 
Brother why you failing me
that's analog
analogue

You still don't have embed perms
konii how can you not know what signal are you running at
it depends on the food. it’s quite fast eating something like rice, maybe like 200Hz, for a horse it’s probably in the μHz region
That's a feature of this server. New user have to get their embed perms
Oh das why, i forgor
Bri'ish
do you know what signal you are running at
rude
How about a big mac

I'm guessing analog
Epic reply failure
you are running on post it notes handed through the office
24 hours
wuh
Eat some tachyon, go FTL and return back in time 
nvidia gt 512
interesting
I don't think GT512 exists?
Finally, I have found what I am looking for
https://github.com/casey/just
at least get Monoprice SW-15 subwoofers, should cost rougly the same
idk wtf was before in the text box alr
but yeait doesn't seem like a good idea
why not?
but you do you it's your money after all
also aren't micca m8c speakers to screw into the wall
or something
this one?
that is considered S++ tier subwoofer ye
next thing is getting sound treated room
once i have he money saved
that room is hard to soundtreat but ill try
do you have a measuring mic
No
it seems like u only have tweeters and subwoofer
For now im just gonna reuse the old speakers
They're good
you can use room correction instead of sound treating all the way, you can get a umik and either dirac or sonarworks
Ill see whats in my budget
sonarworks is based
though
off axis reflections cant be fixed
u can do room correction cheaply ish
nvm
sonarworks for multichannel is 500$
We do a little thing called
You can just use REW since it's free, I mean you don't need to get to the gritty details yet
You'll identify peaks/nulls that way
An example of null looks like this
The biggest hurdle will not be money but making my mom aprove of the plans

pull a jessie pinkman and buy the whole house
based on the sub this is more of a theater room thing than for music eh
Yes, that is his plan
well it's all a rabbit hole anyways
To improve audio for movie watching
This house is 6-7 digits tho 
i just have a simple mr4
6-7 digits IDR? 
IDR 9.999.999 is around 606 USD btw
u could just get two proper speakers 😭
i recently got a scarlett solo on sale with amazon prime day to hook up to my mic (maono pd400x), but my setup is not really for audiophile yet
and two subwoofers
Euro
Nah
what u have in ur list are all tweeters, not actual full range speakers
it's gonna sound weak
He will reuse the existing one too
the existing ones dont seem like good speakers
Isnt the point to have bass go to the subs?
But it is speaker 
just get second hand ones from kids who had parents who were home theater freaks for cheap
Tweeter is something above 2KHz or smth, sub woofer is belo 200Hz. All else is woofer
I wish it was that easy
yea
+2khz
fb marketplace or ebay
All these speakers do 20hz-20khz tho
I have crossover at 200hz tho
The response curve may not reflect that
my hd600 also do like 5hz-40khz or something but it can't do it actually
just theoretical speaker limitations
ok but u don't have woofers
I have 1
A dog? 
Oh, it's still called woofer for the low freq? Didn't know that

specifically kali audio lp6 v2
most of bookshelf speakers will have at least the woofer and tweeter
actually its xer now
My budget is 3K
So i was thinking of just reusing the current speakers and switching them out later
also
u have a phone sam
try running white noise
on the speakers
and use a frequency analyzer
see how flat they are
Wdym white noise?
Ye but like just a yt video?
By popular request, here is one of our most soothing white noise sounds featuring a black screen. This relaxing white noise is great for helping you sleep, study or focus. With the black screen, you'll benefit by keeping the room dark while sleeping, saving battery life, reducing data usage and not having to worry about screen burn-in. Sometimes...
white noise would play basically all the frequencies together so a mic would be able to measure what's missing
If the mic response is properly known that is
phone mics are generally good enough
that is why a proper calibrated mic (known reference) so you would be able to room correct, you can even technically swap to a speakers of your choice if you like the sound of a specific speaker (sonarworks sound id can do this)
bla bla, flat response, bla bla harman curve bla bla (though this is for headsets)
Yeah, but that will requires additional processing ahead of time or on the fly
I JUST REALIZED
How expensive is MiniDSP?
they're not that expensive, and even cheaper as second hand, they go like $80
Something like this
https://www.minidsp.com/products/ht-series/flex-ht
go full schizo and get dsp boards off aliexpress
oh i thought you meant the mic
So you can have any shitty speaker and compensate it by the MiniDSP (which is still not recommended but is easier than fixing the room and processing the media ahead of time)
You can see that it is indeed missing a lot of the higher frequencies (>5KHz), and the subwoofer doesn't go as low as 40Hz
It does 40hz
Just not with this video i guess
Ive heard it do 25 with one of those frequency geberator apps
Me on my laptop speaker: "Hmm, yes that is bass"
That's white noise
Oh, I was referring to the spectrogram
20Hz to 20,000Hz is commonly considered to be the range of human hearing.
We created this track to help car audio fanatics tune and test their stereo systems.
Sonic Electronix always strives to be the premiere online shopping destination for car electronics ...
Idk if YT compression will mess up the audio tho
Ye not great on low end
Low end will be replaced anyways with those 2 subs
Curtains have been veto'd.
She'll allow a roll down blindd tho, but i doubt that helps with sound
why are you looking at a waveform of a sweep
yes, the instruction is called erms (enhanced rep movsb) 
notably it's slower at small sizes but faster at large sizes
BetaVanMaele 

except the anticheat, libbass, and the anticheat integration patches 

So a lil update on the pc i am building:
[v] Case: NZXT H9 Flow (€165)
[ ] CPU: AMD Ryzen 9 7900X (€349)
[ ] Cooler: Cooler Master Air cooler (€31.90)
[v] Motherboard: Gigabyte B650 EAGLE AX (€139)
[ ] RAM: Kingston FURY Beast 64GB - DIMM - DDR5 (2x 32GB) (€164,90)
[v] PSU: Corsair RM1000e - 1000W (€169,90)
[ ] Thermal Grizzly thermal paste (€12)
Estimated total (w/o additional fans): €1,031.69
Left: €557.8
I changed the AIO for an air cooler, just so that i have to save up less money to get the pc to work, I will still buy the AIO but i have moved it to the secondary list just like the GPU and M.2 drives
If you are going to change the cooler, then I think the built-in AMD wraith cooler is good enough for a while
The CPU doesn't come with the cooler
I know this is in dutch, but here on the website i am gonna buy it from it says that it doesn't come with the cooler
Mhmm, the AMD site says that it only comes with cooler for the non-X variant
Also i know the PSU is way too overpowered, but i thought better to be safe than to have to buy a new one if i ever decide to upgrade to an actually good GPU
And i already mounted it in the case now so i can't really go back
What was your GPU again?
I have this one on the secondary list, but i am thinking i may scrap that and save up for like the best radeon gpu i can find
Ahh yes, I think 1000W is not really that far off from the minimum recommended when you pair it with Ryzen 9 tho
Cuz yesterday my financial advisor and i discovered i can afford way more than what my plan was
So i might as well get an actually good GPU
This is based on the fact that to my own loose calculations i could afford like between 200 and 350 per month...
Turns out it's closer to 550
And given that the best Radeon GPUs i can find on the website of where i buy my parts from are all between 650 and 1000...
On the otherhand that would be totally over powered for my usecases but it's nice to have flexibility i think
It is indeed nice to have it when you need it than to not have it when you need it
I will see when i decide to actually buy the GPU

My god it is more cursed than I thought
ーーーーーGameーーーーー
https://www.desmos.com/calculator/peyorkh1m4
You can't place blocks while rotating the camera but there's a lil bug where if you try and spam place a block while rotating the camera, the block will be placed in some random place. Not much I can do about it cus it's more of an issue with Desmos itself... I th...
just found out that converting LOSSLESSLY from gif to png files with ffmpeg and then using avifenc to convert it to .avif file produces a LARGER .avif file compared to converting the gif to png LOSSLESSLY using magick
science cannot explain this
and like not just a bit larger
like straight up 25% difference
in EVERY FILE
surely there could never be an explanation
(are you using the same compresion settings in each?)
I am more interested in the pipeline. So we have
Gif -> ffmpeg -> png -> ffmpeg -> avif
And
Gif -> magick -> png -> ??? -> avif?
wait, no ,there might be default compression even though I didnt specify it
well yeah they both compress by default
it might just be different values between ffmpeg and imagemagick
Ohh, you're using avifenc for both
What is weird to me is, that means avifenc doesn't process the raw pixel data but rather the png data to convert it to avif

konii behavior
nope, could not find the issue, tried a bunch of lossless flags but they didnt do anything, though the magick files produce worse looking .avif files after conversion in addition to them being smaller, so i cant use it
also the thumbnails are different for ffmpeg -> avif files compared to magick -> avif files so there is something different, though there shouldnt be
it's gif -> ffmpeg -> .png -> avifenc -> .avif
vs
gif -> magick -> .png -> avifenc -> .avif
you may ask why not gif -> ffmpeg -> .avif? because i couldnt not get transparency working even if my life depended on it
avifenc just worked sooo..'
also avifenc has comprehensible documentation unlike ffmpeg
Yeah, I figured that out later. So what interest me is that means avifenc perform the conversion using the png data rather than raw pixel data
But it could also be the conversion from .gif to .png is the fault
Ah yes
It is affordable. Just not by you 
You'd think that for a device meant to just extract data from a hdmi it'd be cheaper
Consider this: DOLBY certification and DRM cost
Dolby certification isnt $1000 is it?
It isn't. It is usually WAY higher (true for any certification in general)
ok
my action seems to be running
This page should give you an idea of how expensive it is (literally "contact us for pricing")
https://handbook.dolby.com/dsh/product-certification/

@rare bramble are you basically just trying to convert gifs to avif?
Yes.
hm
well my main goal is to compress them as much as possible while not losing much quality, and I think .avif files are the best way to do that
This is the nasty part btw. This means the license is not per SKU but per unit sold
and discord can embed them so they are good
I'd personally go webp but if discord can always embed avif then I guess why not
there htere 
actually one more thing
when I was talking about compression, it looks like it might be called "speed" in the context of avif
does either ffmpeg or imagemagick let you set the encoding speed?
I got 9 hours to implement 4 attention mechanisms :3
tl;dr speed 0 takes ages to compress, but will probably be a smaller filesize whereas speed 10 is allegedly near realtime but obviously compression will suffer
I always get tripped up by avif basically being a video format ngl
avifenc has a speed option, currenctly using -speed 2 since it has bearable speed, 1 and 0 dont provide much more compression but they make the it take several times longer
but theres other options that influence the compression outcome a lot more
I have been fiddling with the setting for like 4 days now so you dont have to
ok but I might have an idea where to look at what's different at each step of the pipeline
@safe path I made ci for the out.bin file for pleep, do you want to (or I could instead) change the neuro-arg/arg-monitoring ci to point to the file that gets autobuilt instead of the one I upload manually? (https://github.com/owobred/pleep/releases/download/latest/out.bin)
(do not look at the code of pleep-build-action it is a hot mess at the moment
)
if you want to send the commands you're currently running / the settings you're using I could give it a peek

my worker ran in 7 minutes
I thought it was gonna take at least an hour
Hi. Is anyone able to use TensorFlow and pytorch well?
you want the gif -> avif pipeline?
yep
currently in the process of making it a python file so I can handle gifs with inconsistent frame pacing better
@echo off
setlocal enabledelayedexpansion
:: ================================== SETUP CODE ================================
:: Check input file
if not exist "%~1" (
echo Error: File not found - %~1
echo Usage: %~nx0 "yourfile.gif"
pause
exit /b
)
:: Extract average frame rate as fraction
set "num=25"
set "den=1"
for /f "tokens=1,2 delims=/" %%a in (
'ffprobe -v error -select_streams v -of default^=noprint_wrappers^=1:nokey^=1 -show_entries stream^=avg_frame_rate "%~1" 2^>^&1'
) do (
set "num=%%a"
set "den=%%b"
)
if not defined den set "den=1"
if "!num!"=="0" if "!den!"=="0" set "num=25" & set "den=1"
:: Calculate frame duration in milliseconds (timescale=1000)
set /a "duration=(1000*den)/num"
if !duration! lss 1 set "duration=1"
:: Create unique temp folder
set "tempdir=__tmp"
if exist "%tempdir%" rd /s /q "%tempdir%"
mkdir "%tempdir%"
:: Get base filename
for %%F in ("%~n1") do set "basename=%%~F"
:: ================================== GIF -> PNG ================================
:: 1. Convert GIF to png
ffmpeg -vsync vfr ^
-i "%~1" ^
"%tempdir%\%%03d.png"
:: ================================== DUPLICATE FRAME IF WE ONLY HAVE 1 ================================
set /a file_count=0
for /f %%f in ('dir /b /a-d "%tempdir%\*.png" 2^>nul ^| find /c /v ""') do set /a file_count=%%f
if !file_count! equ 1 (
set "frame1="
for %%f in ("%tempdir%\*.png") do (
if not defined frame1 set "frame1=%%f"
)
echo Duplicating single frame for AVIF animation...
copy /y "!frame1!" "%tempdir%\duplicate.png" >nul
)
:: ================================== PNG -> AVIF ================================
:: 3. Build file list
set files=
for /f "delims=" %%f in ('dir /b /on "%tempdir%\*.png"') do set "files=!files! "%tempdir%\%%f""
:: 4. Convert to AVIF with original frame timing
avifenc --yuv 420 --nclx 1/13/1 ^
--codec aom ^
--qcolor 30 --qalpha 95 ^
--jobs 8 --speed 2 ^
--autotiling ^
-a aq-mode=3 ^
-a enable-qm=1 ^
-a enable-chroma-deltaq=1 ^
-a enable-tpl-model=1 ^
-a end-usage=vbr ^
-a tune=ssim ^
--timescale 1000 --duration !duration! -o "%basename%.avif" %files%
:: 5. Cleanup
rd /s /q "%tempdir%"
ignore the cut in the middle, too long message for discord
requires ffmpeg and avifenc to run
tbh I might also take a shot at just doing this in rust lol
Is it possible to post hardware related things here as well
like GPU, CPU or PC setups or something
anything technical can go here, see the channel description
Yeah I already noticed the description so assuming it is safe to post it
Thanks
I corrected a temp broken change in the file I pasted so if you already saved it somewhere, you should resave it
9.3.4 is apparently a lot cheaper than 9.1.6 and i wont have to split the subwoofer channel that way
A sinle 13 channel amp still adds 1.8k to the price tho
Ill just get 7 stereo amps instead
Get a MiniDSP Sam
But i need an amp
The other day I spawned neuros chat in minecraft as players to test an twitch interactive mod of mine XD
Certainly was interesting getting followed around by hundreds of players XD
Ye what's up
I found that my testing accuracy rate is very low during training the model but I don't know how to deal with it.
True
someone will say treasure 100%
Roblox.Platform.Email.Delivery
Excuse me what
If this is for games then new scam source unlocked
the tragic aftermath of adding ci to my repo
Write the script to run in rust 

write it in some rare language not picked up by Github
I should've written them entirely in the yaml for the action
futhark
The person is trying to make github CI runs, not summon a demon
But honestly, what's the difference
are projectors worth buying these days?
iv ebeen lookign into them lately but they al seem to be really expensive while not being that good
surely it depends on what you need the projector for
I'm pretty sure Sam doesn't plan on doing lithography anytime soon

maybe he wants it for serious business presentations 

We use big TV for that nowadays 
Man, I can't use the premium emote anymore lmao
Didn't realize how many there are
But ye, for movie in the room of your size, big TV is more preferable Sam
Projector brightness suck ass
maybe sam happened to want to do #programming message
the tv thats there rn is already 49" and its 3D. so not worth upgrading ig
probably, yeah
especially if the room isn't perfectly light controlled
big TVs got pretty cheap AFAIK
I should've taken that projector 7 years ago when I had the chance, what was I thinking 
god I forgot how much I dislike using the rust av1 crates sometimes
It does. You can get 60" $1000
And that's the higher end model
i was thinking why in ceiling speakers were so expensive but i was sorting from high to low 
Considering what it used to be ($10K)
sam you should add a few of those racing game seat rocker things to your sofa
???
oh you mean a buttkicker?
yeah one of those
or actual hydrolic cylinders?
mount like 1 under each seat in the sofa
This
surely nothing could go wrong
A buttkicker is nothing compared to actually being yeeted
where are those videos of the dude strapping some hydraulic cylinders to their pc that move on every shot
Search tin and jar
for 400 i could put a subwoofer under each seat
It's the channel name
https://www.youtube.com/@tinandjar
And you're looking for this vid specifically
https://www.youtube.com/watch?v=BehSBMGVtrY
#heptic #tinandjar #recoil
Just wanted to feel gun recoil in the gamepad.
Tutorial - https://tinandjar.com/2023/01/09/feel-game-gun-recoil/
yeah that thing 😭
that thing is probably more expensive that the entire thing im trying to do rn
"but their license is problematic"
it's literally agpl 
linking to google license policy is NOT a valid argument
shut
are you back on copyparty again?
is agpl the one that's difficult if you're commercial or something?
its been too long since I've cared about licenses
it's not that difficult all it says is you must publish your source code changes if you host the service
similar to gpl but extends to hosting servers not just distributing the binaries
fair enough
I thought I remembered something about it being a pain when it comes to dependencies
of COURSE it would be "problematic" for google, doesn't mean it's problematic in general
yeah, AGPL is just GPL for network services 
it's only inconvenient when you try to sell that service provided by the software
Yeah, I am thankful for that license. But I just don't want to bother to enforce license when I found some infringement, that is why I usually just put more permissive license to my work
you don't have to enforce it
it's not a trademark
you keep copyright even if you don't enforce it
But if it's not enforced for some amount of time, wouldn't it be a precedent or smth?
also permissive licenses usually still require credits
no
not a trademark
Oh, so I was confusing that law for a trademark law huh
Because I remember something along the line that if something is used for a while and not enforced, then it become a precedent to be allowed to use anyway
mhm trademark law
Dang
Mhmm, but I think asking for credit is not that far stretched to be done than open sourcing things
it's still something that is not trivial
But yeah, if I don't have to enforce it then I may change my work license from now on
Eh, depend on the works no?
what i mean is it's still something you'd have to "enforce"
Yes, but resolving that enforcement issue is easier is what I meant
So pursuing/enforcing it does not put a heavy burden
Why would put a restrictive license on something you are not planning to enforce? You're just adding barriers making it harder to use for no reason.
Hmmm, good question
Maybe someone else can pursue it in my stead if they deem my work is worthy of it
because you dont want your software to be used in proprietary software?
its not that complicated...
only copyright owners can litigate
But it can be uhh, what is the word? Delegated?
thats actually why GNU uses a CLA (iirc) just so they can litigate infringements on behalf of contributors
So for example if someone wanted to litigate the infringement, could I delegate it to them?
But without that person representing me
Or is that a bit hard without giving away my copyright to said person?
But if you don't even want to bother enforcing your license, why would you care if your code is used in someone else's project? It would make more sense if you're planning to use your code commercially.
because enforcing licenses costs a ton of time and money
you can have moral problems with someone using your open-source code in proprietary software without having the means to enforce it
just discovered macros in swift. add 3 days to the eta of the thing
wellcome
Bro, wtf are you doing 
this is how you add components to the touchbar. a giant switch statement on ids. i don't want to do that
it gives the method an id and expects it to return the item that id belongs to
The touchbar is cursed
If I have the money, I'd mod my keyboards to do it instead 
Sadly no one sell a thin long screen module
gut a macbook 

I have no money to buy a screen module, what makes you think I have a money to buy a macbook 
Oh gut
a broken one of course, chances are the touchbar is fine
Yeah, but driving the screen is a whole other issue. I doubt they have the schematic for it
However, I am interested in making some sort of keyboard with a phone screen built in 
you made me check alibaba
what is this 
i looked into these a long while ago
i have no idea what they're actually for but i have a few ideas of my own
That price....
that one was claiming for use in elevators?
makes sense
Yeah, some modern elevator have opt to use capacitive touchscreen for their button
i just have to announce this, but for once in my life, i fixed a problem by deleteing it, how does that work, magic????
Finally, my vinyls will be delivered tomorrow
hm a macbook touchbar isn't actually too expensive
I have solved a problem by deciding that I do not care about it again 
i legit nuked the entire folder and that made it work
Yeah, but you need the driver still
Most likely the trash from cache and other things
im not sure if we are allowed to share this but fk it
Bruh, the driver as in the electronics
o right
If I wanna use just the screen I don't need the firmware 
that might be the same oled module even
Yep. Most definitely is
Since the windows driver is apparently a HID
Evil stream! 
you wanted to
Wut?
My brain is not braining today, I can't comprehend what are you trying to say Sam
i thought you were watching the stream
Its still the intro?
sam watching a chill stream 
im only here for the intro ngl
Nice
incredible
yeah about animated content, i am actually rendering gifs to it already
Seems like Evil is bypassing the filter lmao
she'ss upposed to no?
now render a full 60fps video to it
I don't think she should bypass the secondary AI based filter?
though even then I wouldn't really be suprised, it does mention some "secret" nonstandard commands
Usually the voice just cutoff like the subtitle shown
But this time the voice went through
STOP
ING ME
it's a apng even !!!
BRO THE PROJECT SCOPE IS JUST LLM CALL 
LOOK I HAVE ADHD OK
thank you rust gif crate
I did not actually want to open this gif
I am perfectly fine with failed to make gif decoder: Format(DecodingFormatError { underlying: "malformed GIF header" }) in fact

is it actually a gif and not a png renamed to gif
[AVFormatContext @ 0x55e74bbefd00] Opening 'large-opaque.gif' for reading
[file @ 0x55e74bbf0300] Setting default whitelist 'file,crypto,data'
Probing gif score:100 size:2048
Probing gif_pipe score:99 size:2048
[gif @ 0x55e74bbefd00] Format gif probed with size=2048 and score=100
[gif @ 0x55e74bbefd00] Loop count is 0
[gif @ 0x55e74bbefd00] Before avformat_find_stream_info() pos: 0 bytes read:6635558 seeks:1 nb_streams:1
[gif @ 0x55e74bbefd00] All info found
[gif @ 0x55e74bbefd00] rfps: 29.833333 0.013009
[gif @ 0x55e74bbefd00] rfps: 29.916667 0.008327
[gif @ 0x55e74bbefd00] rfps: 30.000000 0.006731
[gif @ 0x55e74bbefd00] rfps: 29.970030 0.006949
[gif @ 0x55e74bbefd00] stream 0: start_time: 0 duration: 3.03
[gif @ 0x55e74bbefd00] format: start_time: 0 duration: 3.03 (estimate from stream) bitrate=17519 kb/s
[gif @ 0x55e74bbefd00] After avformat_find_stream_info() pos: 3630080 bytes read:10272806 seeks:1 frames:50
Input #0, gif, from 'large-opaque.gif':
Duration: 00:00:03.03, start: 0.000000, bitrate: 17519 kb/s
Stream #0:0, 50, 1/100: Video: gif, 1 reference frame, bgra, 413x450, 0/1, 33.33 fps, 30 tbr, 100 tbn
[AVIOContext @ 0x55e74bbf8480] Statistics: 10272806 bytes read, 1 seeks
idk looks like a gif to me
it does look like a gif
though I could imagine tenor is doing something weird
Is Evil voice always this expressive?
seems slightly different this stream, though
said that
got a new voice like a month or two ago, chances are that he did some further tuning on it for this stream
Oh so that's why
~/owobred/scratch/agif$ hexdump -c large-opaque.gif | head -n 10
0000000 G I F 8 9 a 235 001 302 001 367 037 \0 \0 \0 \0
ok
so


buh php
Do you even have sleep schedule? 
I know I wasn't asked, but I don't
its 7pm
awa
oh my god
it's 20:27...
$cargo run -r -- large-opaque.gif
Compiling agif v0.1.0 (/home/.../owobred/scratch/agif)
Finished `release` profile [optimized] target(s) in 1.45s
Running `target/release/agif large-opaque.gif`
[src/main.rs:9:22] std::env::args().next().unwrap() = "target/release/agif"
thread 'main' panicked at src/main.rs:17:58:
failed to make gif decoder: Format(DecodingFormatError { underlying: "malformed GIF header" })
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
today on fun cargo quirks I forgot about
wait no
I'm dumb
that's the executable name, forgot that goes first in the args

Wait, what do you mean?
$ arg0 arg1 arg2
before
main:
sub rsp, 0x20
mov qword ptr [rsp], 0x00
mov qword ptr [rsp+0x08], 0x00
mov byte ptr [rsp+0x10], 0x00
1: mov rax, [rsp]
cmp rax, 0x00
setnbe al
movzx rax, al
test al, al
jz :0
mov rcx, [rsp+0x08]
mov al, [rsp+0x10]
mov [rcx], al
mov rax, [rsp+0x08]
inc rax
mov [rsp+0x08], rax
mov rax, [rsp]
dec rax
mov [rsp], rax
jmp :1
0: add rsp, 0x20
ret
<main>:
xor rax,rax
xor rcx,rcx
test rcx,rcx
je <main+0x1d>
mov BYTE PTR [rax],0x0
dec rcx
inc rax
jmp <main+0x6>
ret
after
compiler fixed
Aaah, That's clear now 
same clarity its just faster

I mean the question I had before.
awa
Anyways, what you sent actually clarified that
That was meant btw
wow im such a pro, look at how perfectly equivalent these two images are
this is my sign to not touch either media nor rust for the rest of the day
I see no difference ngl
Both have some pixels on the red channel
Did you try ♫Python♪~?
But jokes aside, I do somewhat see Evil in there.
Lethal company glitches are always fun.
An unkillable mob fell into the void and kept giving us xp
Don't go there. It is the demon talking
And done, I made my first successful contract.
I made a deal that as long the demon is chill I will give some services. (Water and cooling it a bit)
It's a demon. You gonna need a lot of power to cool it down
I said some
not like 20°C at once
but true.
Wait, How?
i will note this is missing peepholes still.
xor rax,rax ; this becomes redundant after the upcoming branch removal
xor rcx,rcx ; rcx is now known to be zero
test rcx,rcx ; unnecessary test, rcx is zero
je <main+0x1d> ; unnecessary branch, rcx is zero so we can just omit the branch where it isn't
; ...
ret
so the whole program could be optimised to
<main>:
ret
So you bothering the compiler dev is actually working?
Should I get in to 6502 stuff?
yes, these are actual issues you know 
What is the worst that could happen if an error on the compiler was gonna happen when compiling an OS? 
The BIOS getting corrupted?
well, this is one of the reasons that aos development slowed down
we couldnt tell if our ATA pio was broken because of hblang or broken because of skill issue

"hblang or skill issue" is a game i play often
I would say the hblang (I think you meant hblank)
yup
no she did not mean hblank
better here in userspace than down at kernel
Oh
"its never the compiler" unless its hblang
I say hblang
What was the "Success" message on that link???
Now I need to reinstall Windows Again 
it is nice to see this actually get implemented
SINCE WHEN?
Well, how deep does that go? a Chrome reinstall might do it I hope
if u find anything out of place then send me a dm 
I went to the link and just for a fraction of a second there was a success message
anubis isnt a virus
Man, I have to change my passowords now
hello?

Hiiii
What? that is not normal
forgejo does implement activitypub
Yeah, I know they planned it but I didn't know it's done implemented
I need to update my instance lmao
anubis not virus => nothing happened => no need to change passwords, no need to reset windows, no need to reinstall chrome
install linux
Man, I never saw a site just blip for a fraction of a second a message, so that is enough to assume that my data got leaked again.
Thanks no, I already have the fun to be forced to use SSH on my server
just read the link you've been provided... https://anubis.techaro.lol/
Weigh the soul of incoming HTTP requests to protect your website!
those things are almost always bot filters
ssh is good
Not if the user is a complete beginner 
Which I fall in to that category
ssh user@hostname very hard 
tru
I mean running a program that won't close after closing SSH
uuuh
what
you want services instead
true that
or tmux
smh how dare you not run tmux in prod
Nah, it's still too hard for beginner
Something like PM2
nohup 
So running something and making it long running is just pm2 run "command"
You do know that this isn't like RDP:
rdp 
you do know that i know what im talking about 
lol
screen is a program btw
https://en.wikipedia.org/wiki/GNU_Screen she means this
Just fyi
okay 
Why removing the embed btw?
too big
That is a reasonable size ngl
if you put the link in angle brackets it wont embed <link>
that fucking baby fell into the water and drowned
But yeah, screen is not as easy as this
it works in general
just use tmux right?
Oh
it really wasn't
was that... freddy fazbear?? 😭
How do you start tmux automatically on restart?
So now a 10x10 pixel embed is already too big, eh?
just use services ffs they're not that fucking hard
Convenient thingy, I use it for stuff I run at startup so I can see the terminal from them
screen -R whatever_tf
# do all your work
# now press Ctrl+A
# now press d, the screen will be detached
screen -r whatever_tf # to resume that shell
the gnu logo was half the screen
its easy to use
Now restart the server
I'm going to crash out
if you need a persistent service, write one for systemd 
dude, I'm so clueless on Linux that even AI has more knowledge on Linux
you dont? you just start tmux and then if you have a session you do tmux a or tmux attach
i dont use tmux for the sole reason of it messing with scrollback
it would be cool to have something like tmux but with native scrollback
That command also doesn't really do that much
use systemd services if it should start on server startup
screen also does this
maybe zellij?
it has
Mhmm, tell that to someone that just want to make their program runs on startup without really need to learn linux
maybe learn linux then
Also, not everything is SystemD
in nixos there is
just about every production server that uses linux will not be using openrc, runit, s6, dinit, or otherwise
they will just use systemd
Not for SBC no
Well, I just used nohup to make java not be attached to the SSH connection that I can disconnect without the client stopping.
Especially some chinese SBC that have their own linux
I don't think that counts
Isn't android also a Linux distro?
I use Linux Ubuntu 24.04 LTS
So in theory a Distro
no
Okay, but at least Android is better.
linux distro implies its GNU+Linux
Isn't that what a distro is tho?
android is not GNU at all
Since when? 
it is a system that ships with and runs on the linux kernel, therefore it’s a distribution of linux by definition
since GNU+Linux became the default for linux userspace
it does not since musl exists
but close enough
Look, I think we confuse the term linux distro as OS and linux distro as general purpose OS here

Will you consider openwrt a linux distro?
android is not distributed per se it's just preinstalled so imo that makes it not a distro, i guess you could count it if you really want but it's not useful
Sure
It's distributed chay. How else are they pushing the update 
Not openly distributed sure
i dont want to argue about this it's pointless
you can call android a distro if you want
technically correct, the best kind of correct
A vague one, but How do I even find a raw disk?

What does that even mean

That:
you uncook a disk
:BADONE:
this screenshot tells me nothing, is this some cloud provider where you attached a virtual disk to your vps?
Jokes aside, that disk is raw according to the panel and I never initialized it.
Raw formatted disk is just a disk without any formatting
you can't expect us to know the context without explanation
it is a KVM Server, and I never figured out that I never initialized the disk.

Now that I look at it, it is kinda cursed that you backup a raw disk
Kinda because it may still contains information
Yeah, I can't use the wiki because that is for Arch Linux...
Just not in the usual format


i dont

