#programming
1 messages · Page 115 of 1
They just don't want to make people have teh ability to upload stuff to Discord
just let the compiler do the swapping at comptime 
:mhm:
its why im on the fence about some @memSet() intrinsic

What is that?
i don't mind it
it makes it a very clear distinction between comptime params and runtime params which is kinda nice
that's mojo
That is some unconventional Python syntax
yeah cause it's not python 
anyway, from a logical standpoint, replacing a peephole optimisation with an intrinsic is an interesting idea
Wait, You tell me that something else than Python exists?
buh
python is indeed not the only programming language in existence, yes
Wait, the rend.exe of the Linux server is something else, it is jsut the name of the executable
It can't run on windows
So that clears that confusion
__builtin_bitreverse exists in clang
but uhh
252645135 = f0f0f0f
858993459 = 33333333
maths
1431655765 = 55555555
this looks slightly different
<rev>:
vmovd xmm0,edi
vgf2p8affineqb xmm0,xmm0,QWORD BCST [rip+0x1001],0x0 # <rev+0x1010>
vmovd eax,xmm0
bswap eax
ret
here's what clang generates on my machine
vgf2p8affineqb
vgf2p8affineqb
is crazy
you may need a -march= flag for godbolt to get better results
Galois Field Affine Transformation
clang -O3 -march=native -mtune=native -nostdlib bit_thingy
on my machine
yeah nothing changed 
im not benchmarking int reversal asm
<rev>:
bswap eax
pdep eax 0x01010101
pext eax 0x80808080
but i would bet this is faster on basically every cpu
and its more portable, only needs bmi2 feature
hmm though actually, clang's one is probably less likely to leak timings
okay what is lea doing in there what
you mean you dont want to calculate the address of a memory operand and store that address in a register

#include <stdint.h>
uint32_t rev(uint32_t n) {
return __builtin_bitreverse32(n);
}
this is what im using for src code
awa
i guess its just using it purely arithmetically
ret = bswap(arg);
ret = ((ret & 0x0F0F0F0F) << 4) | ((ret >> 4) & 0x0F0F0F0F);
ret = ((ret & 0x33333333) << 2) | ((ret >> 2) & 0x33333333);
ret = ((ret & 0x55555555) << 1) | ((ret >> 1) & 0x55555555);
return ret;
itsthis
yeah that's the unoptimised one
or, the one that assumes basic x86 feature level i guess
i can’t get it to output anything different no matter what args i throw at it
but i may be stupid
ryzen
it seems like lowering the resolution makes performance worse until i go the 360p where its at 9k fps again 
something something cache lines
i still finds it weird how 1080p is faster than rendering lower resolutions
something to do with windows?
the window isnt even getting upscaled
its not fullscreened
fullscreened native would be 1440p anyways
also in fullscreen it should be the monitor or the gpu upscaling
depends on the setting, on nvidia it’s monitor by default iirc
my best geuss rn would be this thread

taskmanager reports gpu as 86% while nvidia overlay says 60% so eitherway it shouldnt be gpu
Adding onto this, maybe just rendering the rest of the desktop is adding some load to it. Render layers is a term that I'm thinking.
aka just output the res the game is at
Yesh
is clang that hated?
i dont know
i know because many monitors do not comprehend 1440x1080 and that is a popular resolution among csgo players (they think 4:3 stretched/black bars is better than 16:9)
that's why there is poll
i have discovered that fullscreen actually fucks up performance more, it went to 5k fps
it also fucks up my windows hdr like minceraft does
hdr on windows 
without bwap
ret = arg;
ret = ((ret & 0x0000FFFF) << 16) | ((ret >> 16) & 0x0000FFFF);
ret = ((ret & 0x00FF00FF) << 8) | ((ret >> 8) & 0x00FF00FF);
ret = ((ret & 0x0F0F0F0F) << 4) | ((ret >> 4) & 0x0F0F0F0F);
ret = ((ret & 0x33333333) << 2) | ((ret >> 2) & 0x33333333);
ret = ((ret & 0x55555555) << 1) | ((ret >> 1) & 0x55555555);
return ret;
bwap
bwap
p
Are you using a proper HDR framebuffer when using fullscreen?
yup that's byte swap alright
bwabwa
Exclusive fullscreen sets the monitors mode directly, so if you give it an srgb backbuffer then the monitor needs to restart and load into an srgb mode
im not really trying to use hdr tho, it would be nice if it made my screen go back to hdr afterwards tho
i never need to restart, but after that happens i need to go to settings and click the slider to update it or something
wouldn’t good tonemapping make them the same

me neither
i mean i have one just not rn
discord windows whoever
support hdr pngs already
it’s in the spec

i optemized msot of this
i think at this point most of the performance loss is the fps counter
spawn a separate thread that will serve the fps with http 
how am i supposed to do that???
i would outsource the fps counter to something like msi afterburner but that actually runs worse
also their frametimes only show 0.1ms, not all the decimals i need
The urge to try out asm but I don't have my laptop and the hello world tutorial I'm following fails to work at first step where I add the exit point.
The urge to try and convert the NN to asm for some reason is unreal. It would be funny
i'd highly recommend fasm, it's actually really convenient once you have some macros setup 
asm is just me with dyslexia
I've been in this truck for 8 hours, can you tell that my mind is melting yet?
This was supposed to be split into 2 days

but we never got a campsite for the return trip so all in one day it is
The General Sherman Tree is a giant sequoia (Sequoiadendron giganteum) tree in the Giant Forest of Sequoia National Park in Tulare County, California. By volume, it is the largest known living single-stem tree on Earth.
The moment someone will make a fps counters be a micro-service on AWS, will be the day I will switch from being a SWE to a farmer.
tree
I now have photos of said tree

wdym, fps is the perfect metric to scrape via prometheus and view in a grafana instance
wait if that tree is in cali how the fuck have you been in the car for 8 hours? you live in cali
just ship prometheus and grafana with your game in an easy to spin up docker container
if someone's pc has limited resources, no worries, they can purchase a hosted version from your saas!
actually dont answer that
You have my address :xdx:
I'm in so much pain rn from those words
ok so i forgot how big california is
erm are you sure this is gonna work 
google maps is showing 4h 39m
I'm subtracting 20 minutes
Spawn an http server listening to some port.
When it gets a req. it checks the saved time varible, if none sends none, and does the next action. If it exists you check the difference between the current time, and saved time, derive fps from it and send that.
After that it over writes the saved time varible, to be the new current time.
Done u can now run your fps counter as an http server
We aren't in rush hour anymore so yeah...
-# also we can't go full speed due to hauling so percentage penalty
nope
try it
That works, if it is one variable read then you don't even have to worry about any of the bad stuff.
im sory clang
#include <stdio.h>
#include <x86intrin.h>
inline int bitsw(int x) {
return _pext_u32(_pdep_u32(__builtin_bswap32(x), 0x01010101), 0x80808080);
}
int main() {
printf("%d\n", bitsw(0x01234567));
return 0;
}
just prints 0
wikipedia has a good example of what these do
I'm studying IT to be a Web Dev, and hopefully after a while gain enough programing literacy to make game engines and games. I'm aiming for an associates, and I'll make sure to work extra for any other certifications, but what made you guys stick to programming? And do you think it's worth going for a bachelors or nah?
Wow discord itself, the layout has changed a lot i haven't been here in years.
for me i like games, now i make games
mostly into the graphics aspect
"And do you think it's worth going for a bachelors or nah?"
idk
havent gotten there yet
Reasonable, I'm gonna stick to Vedal's advice because he inspired me to pursue this, and learn Python first.

I liked his old resume on his website before he took it down/replaced it on Vedal.xyz (he even removed it from wayback lol) But i respect his decision, it was a good starter portfolio though.
What other servers are good to join to learn more abt programmin?

i myself am in the vulkan server
but i really shouldnt be mentioning other servers since the mods will have me killed
hmm. then i'll keep looking, thank you tho! 
I'm only here, doing whatever I want really. My ideas outscope myself
it do be like that sometimes
What ideas? (I will steal them)
only difference is that I'm not just in any one category of programming
What does that entail?
i occasionally go back to this video specifically for the minecraft movement crashout 
https://youtu.be/piknGokM6rY?si=UxubnOm2NE-VR25a&t=118
I made a clone of Minecraft that is VISUALY IDENTICAL... well if you look at a screenshot at least. This took too long to make. I dont know if this was easier than that AI life project.
Also if Mr Minecraft is reading this, THIS IS NOT MINECRAFT.
Discord Server - https://discord.gg/spGzjEwkHv
Itch io - https://makingfromscratch.itch.io
Also c...
half of this video is just him gettign asngry cuz of wtf notch was doing 20 years ago
Notch had an original idea and capitalized on it early, and the rest is history, keep in mind I have never once owned minecraft my entire life.
I'm sure it is, but that's a mess for... whoever bought minecraft, Notch just gets to bask in the glory now, and make Minecraft 2 I guess.
we all know mojang is too lazy to do anything
they barely do their updates anymore, nevermind fix obscure bugs that have been in the code for 20 years
They will continue to be lazy since effort doesn't make them significantly more profits. That's just business, we just plummet the stocks a bit too much and maybe they'll change their tune for a little, and then go back to making money using good P.R.
Scummy and crummy, but it yummy in money tummy.

Was busy. What this entails is:
- NN entirely from scratch in both concept and execution
- Creating some of #programming 's resources like FAQ and Bingo
- Making discord bots as needed for what I need (this one has been awhile)
- Nixos, Nixos
- Automation when I'm bothered to
Fear
Ok i have decided to cheat
cheat with gpt 
To reach that 10k fps im going to just turn off a lot of bg procceses
Also using only 1 monitor noz
Can't wait to ship a userspace process killer in my application for max fps
Chat, which distro !vanish
alpine duh
I hate how i end a task in task manager and it jusy pops up again
No oculus we are not using vr rn, you DONT need to run
oculus should not have autostart rights
I think the main issue is its split into 3 tasks, and if 1 dies the other 2 resurect it
Or something along those lines idk
It goes away if i kill all of them fast enough
pkill x100 (real)
Also i hate hiw nvidea has 83 diffrent procceses
nvidia app was a mistake
Some of them are actually important, some run the "nvidea app" some run nvidea control panel
Control panel doen't need to run either
So you cant kill the willy nimly since my display flashes black
at least on my system that's how it was
Anyone know how to debug a segment fault?
afaik you're trying to read protected memory or something along those lines
use a debugger to see what function is doing that
use asan/ubsan/valgrind
or a language that actually tells you what you're doing wrong
https://www.youtube.com/watch?v=ISN1dQ-LE-s&t=35s
let's get him bwaa
t=35s
no?~
A very fun thing:
I use mono to execute C# code on Linux
Now I think it's not my code who segfault, but mono 🥴
(what is a mono?)
A software that allows you to run C# .NET Framework generated executable in macOS/Linux
Since Microsoft only cared to support windows in .net framework
I got something more useful on my windows laptop now, turn out it's stackoverflow I think
Because I put this instead of base, so it just keep calling itself 🥴
When I send this message, I was genuinely very surprised on how tf I get segmentation fault
They did, .net 8 is cross platform to linux now
.net core != .net framework
Ah, my mistake
It is at least owned by winehq now so that is also really nice
You have unlocked new role
Oh nice
What version of your windows?(The build number as well)
Hmm
Try follow this if you have any luck
https://learn.microsoft.com/en-us/windows/wsl/install-manual
ah hyper-v wasnt turned on in control panel
idk what that is but its important apparently
Something something allow the machine to run a virtual machine more efficiently and hopefully safely
Chat is RX 9060 XT 16GB good?
fyi if you plan on doing graphics stuff inside wsl2 you will not have a good time
in trying to package the game jam stuff for the apt thing
but it wont work
i cant just pip install and venv isnt working and nothing is working and ubuntu hates me
according to pipx its already installed but the script cant find it
also quick sidenote


delete the bin folder and go again
uhhh
uv venv
uv pip install numpy
awa
awa
i forgot how much of a pain python packages can be
since i never tested this beofre i didnt even know this was posible, but the native version of the python program straight up doesnt work if you dont have audio


bwabwabwa i'm going insane
Best python tool, ever
Apparently wsl doesnt have the ui stuff necesary for what im trying to do


What are you trying to do
I don't get it
Theywant to make it so uou can install stuff with apt in linux
Honestly though, I have no idea why it wasn't centralized. I mean yes distribution is tough and not wanting to package everyone's stuff even if you have source code.
Btw Sam
Use nix (incorrect buzzer)
https://launchpad.net/~kisak/+archive/ubuntu/kisak-mesa you need this for opengl/vulkan on wsl2
The goal of this PPA is to provide the latest point release of Mesa plus select non-invasive early backports. Deviations from upstream packages are listed on the package details page.
--- Support status ---
Bionic (18.04), Focal (20.04), Jammy (22.04) - Discontinued - Long term users can use kisak-mesa stable
Noble (24.04) - Supported
Oracular...
Unless you want to compile mesa yourself
It's not that bad
only takes like 10 minutes
Nah
My laptop's existance would like to say otherwise
a couple max with his cpu
i do not acknowledge your laptop's existence
laptops are not real
Part where you have to do all of it in github actions:
its only listed as a nice to have
regardless debs have to be rebuilt sometimes when the dependencies change this is a very stupid approach
I'd accept releases
not to mention its bad to store debs in git repos
I can't even set up S3 
Binaries in general are bad to store, bloats your repo size for no good reason
I'm looking at setting something up for this at some point since I don't really like it too but atp due to various reasons I can't
also how the hell am I supposed to like
accept extra packages that way
the git repo has the packages source, ci builds them on ubuntu-latest and autoupdates the apt repo
I don't own all the repos
but I guess I could fork them
git submodules can be a good method as well
there is no way I didn't think of that
fuck me bro
ok well problem (at least partially, hopefully mostly) solved
ubuntu doesnt have debs in its sources either
aside from that, most security oriented people are never going to just trust blobs from a random repo
i dont want swarmware brand malware
that's why one of the things is that it has to be open-source but eh
give me a sec I'm just gonna
figure this out
compile the source/download from a ci run and compare sha256 hash
many package are nonreproducible
anything that need api key
you aren't gonna have the same build output just because the source is the same
Nix mindset
ngl I forgot about that
my thinking was have the stuff be hosted on smth like a serverless function that does the stuff for it but yeah idk
i looked into it and apparently they store source packages which essentially includes upstream source code + debian dir with packaging stuff
so yes you will have to use submodules
ah yes I sure do love the </> keyword
i spent like 7 hours debugging KCP and making my own messaging algorithm
but i wanna keep on working 😭

I just need to figure out how to have individual build steps for each repo
that become submoduled
fuck it, I might just have each package hold a "apt-package.sh" file that has the build steps
ahhhhhhhhhhhhhhhhhh
rce on github actions
script better not download anything
lol.
konii konii do you have RCEs as a tv
well yeah that's the main problem
yeah
i want to learn on how to code because i have a project i want to do but i need to know how to code to do it
check pins
is this a bingo?
no need for that since debian source package format is standardized
erm
show us your rce 
give me a minute
but fetching the upstream source is somewhat of a problem
i don't know the bingo card
I'm looking at a suspiciously shaped deb buildef
since debian requires the debian packaging info to be inside the source
can you point that link to me I've been looking for it and either I'm looking at the wrong search results or I cannot find it
probably as a side effect of my 300 tabs but whatever
i assume there is one but i don't have it
no controlling konii today
if you want to take on that responsibility go read this entire manual https://www.debian.org/doc/manuals/maint-guide/index.en.html
thanks
not ever
wait no it's not as one page 



You guys have not been updating bingo, I'm gonna have to update it as well once I find the latest one
wdym you guys
i ain't responsible for anything bingo bro
or smth idk
i feel like a zombie rn
All good, I went a bit strong
Some people update the board when they find some, some don't
i didn't even know you can update the board
It's just an image
also that manual links to some packaging standards (like FHS) and you should read them as well
I have at least 5 copys of the board on my phone from over time
Also thank you cloud haha
this is (maybe not) gonna be fun
packaging is a hard thing and maintaining a public repo is a HARD thing
you signed up for this, i want you to fully understand the responsibility you're taking
i'm not necessarily saying you shouldn't do this, but if you do it, you don't want to make mistakes that cause your entire work to become worthless after a year or two of OS updates or a random person sneaking a virus in the repo
yes I know
Being noob is not on the bingo card, closest slot is new chatter talks about their project which surely must have happened by now
I'm assuming new chatter is with that symbol next to their name
Yep
#bingo
I'm assuming some of these probably existed but haven't been documented as hits
te to
I should post the "SVG" for bingo, but I want to add some comments on it first.
-# - "SVG" being: looks inside HTML
only took around 15 hours? to build the entire OS from scratch
pretty good all things considered
i have disabled all audio components because the ereader doesnt have audio
It was on the last board, I just did a Shadow impression for that slot
Also I mayhaps accidently rmed the SVG
I have no idea what some of those words mean 💀
I refer to the squares as slots, and this is the second bingo. I just did an impression of another chat member for that square.
Also now is time to rebuild the SVG
shadow impression
ok
a better word could be charade 
Noted
or just "impression"
shadow impression for some reason feels more like "the impression left by a shadow" than "impression of / shadow of"
I'll try to be more clear
shadowlilac
i forgot you existed @stark needle
its because you change your name so often 
No archives of the SVG, yeah this is going to be fun
prediction
ereader fails to boot and then the world explodes
i think? it booted
there is a more effective reboot command
rm -rf / --no-preserve-root
at least get the command right
happy?

time for ereader to shut down due to cosmic rays
i forgot my user password on the ereader
i shortened it because eink text input is so slow
erm loginctl save me please
a wa
i'm in

There are errors in your config file
sway works

waybar seems a little broken? it cant use nerd fonts

I'm going to make this more decent and easier to work with if I'm going to have to do this again.
frick claude
Me when I underestimate how slow reading files can be 
it's not the reading thats slow its the opening
Man I do not want to have to do this path again, I'll do it tomorrow.
Why did I rm the only copy I had
Man I wish I did not have to use this ugly borders without doing SVG, but life isn't fair
Also on my list of things I'm doing this time. This SVG is going to have JS so that one can cross out squares.
For now I'm tired so I'll pick this up later

what happened to the holy bingo
i wanted to type waybar but typed this how
muscle memory
is your waybar configured this nicely?
it's configured like this
on my phone i use a different two-bar layout because of the notch
and a third bar at the bottom for navigation
yump
awa
awa
i think? it can use nerd fonts but just refuses to show the navbar text for some reason (which is pretty important as its hard to aim on navbar icons when i dont know where they are)
i think i'll work around this by not using waybar at all and booting straight into a reader app

are you afraid of installing discord on your system?
wdym afraid
theres just no reason for me to give discord any more data than i already am giving
moth
is this one cute or blegh
why not put it in a firejail?
its the Native Experience™
it is not native
why did nuro stop mlemming
continue mlemming nuro
tired 

my bar be like
I don't use waybar either. I use my own
hmm i have like 2 hours if i want to be reasonable which reader app would be realistic to compile from scratch including (some) dependencies
also i dont have xwayland 
I don't have wayland 
i wish koreader didnt vendor every single dependency
Have you ever used a vuln of your system because you forgot the username/password?
is koreader the javascript one
no it doesnt use js
mine? no
chroot is always sufficient on systems without disk encryption

readest uses js
That implies you've used it for not your system lol
the worst (in terms of how annoying it is to compile) part of koreader is luajit
Btw konii, this u?
they use evil preprocessing that cant be cross compiled
I thought you write too since you're Sam's dealer 
when luajit self hosted
sadge
i dont typically write characters
its because of my lack of interesting personality 
Then how do you type your message here? 
i thought everyone would discuss about algorithms every time lol
awa?
al-gore-rithm?

i understand
the plural of erm
wrong
2
wrong

- is undefined sorry
why does it segfault
dunno, cant read text for ants
because you did something wrong
arent they supposed to.. you know.. throw a valid error, and not segfault?
or the software didnt feel like it
threw a big enough error imo
wdym it threw 11
segfault == game over
When in doubt blame Microsoft
when in doubt, do horse girl racing
me when my windows 10 tells me it hits an error of 0x0000251E:
thats on you for being on windows 10

thats not necessarily a segfault
Exit code 11 is the error 
Be grateful it is not all -1 
255
I swear to god all these "awaw"s from konii are ARG info
It is a program

the awa ll exists for a reason
wa
im a magical girl
okay i gotta give props to koreader their binary worked after i did unspeakable things to it 

Mhm mhm
I understand all of this
(I don’t)
this language was made for me
nosos
awa
i appreciate that koreader launches but i don't appreciate it not showing anything 
welp we tried our best to remember you
i remember you
That sounds weird ngl
Segfault is a valid error, but in most cases it doesn't help you to figure out where's actually going wrong
morning
I mean I guess by valid error I mean unexpected case that Is handled gracefully with a helpful error message
it might have printed an error message
but you're simply using python to run it
you're not printing that message in python
even just something like, Err: couldnt parse input commands correctly. check documentation: (link to docs)
would be better than segfault
Or you had ran into a case where no proper error handling is implemented
Then the easiest way is to use a debugger
I dont know what error 11 means, just googled it and people were calling it a SIGSEGV
thats a signal not a return code
return code is simply a number returned by the program where 0 indicates a success and other values indicate "probably not success"
signals are something sent to a process to tell it something, like "i want you to exit right now" or "your code tried to do something it's not allowed to do do you have anything to say about that"
you're not getting an error message because python is not responsible for telling you what the program printed
error diagnostics are up to you to implement
r
Bro, why is cursed idea always get fast tracked here 
whats awaawwawawa?
bwaa i don't know what i'm doing wrong but koreader just doesn't want to show anything
We have
- Bime
- Promptboard
- AWA5.0
that's undefined
It is a bit shy, please understand
awatism?
i do not understand
like autism but with awa

"aw" does not have meaning
so the AWA5.0 is all represented in binary, where "awa" is 0, and "wa" is 1. And in "awaawwawawa" we have "aw" occurrence, which is invalid
so waawawaawawaawa is 42?
The suffix "-ism" generally denotes a state, condition, belief, doctrine, or practice. It's often used to form nouns from verbs or adjectives, particularly when referring to philosophies, movements, or theories. The suffix is of Greek origin, reaching English through Latin and French.
lisp: exists

(but (you (have (to (deal (with (this)))))))
yes, but all numbers are wrapped in 8-bits, so that's also invalid
Don't wonder
if i import every nixos module for every target they don't actually do anything unless they're used right since it's lazy
to make it valid, it should be "awaawawaawawaawawaawa"
not strictly true
See? Don't wonder 
its more like they dont do anything because they are lib.mkIf cfg.enable
i guess that's true
now i can tell people that i am a fan of awaawawaawawaawawaawa
now i have to build the entirety of gtk4 and sdl3
i'll concede this one
i won't get a working ereader today
Lmao
ouch

is there any realistic way of dealing with the ton of singular packages that show up, obviously you can group larger groups
other than just not saving them ig
I forgot to press the button on my rice cooker 
i currently have 2 independent lists of packages growing 
should probably make a combined base list and then add to that conditionally?
you can just define it in two separate modules if you want to
or in N separate modules
Poor man immutable system
set an alias to please=sudo and then you dont have to be root if you ask your pc nicely
rest assured i know how to use sudo
my personal structure is:
- modules - modules (with common code for all my devices,
common.nixin particular having a lot of if conditions), this allows me to reuse existing code - hardware - hardware specific info, so if i want to (hypothetically) set up a second exactly same device i could reuse 100% of the code in here
- devices - device specific info, like partitioning or networking
- hosts - "role"-specific info, if i want to i can switch my server or my laptop to a completely different device reusing 100% (ideally) of the config in here
- secrets - not in the git repo, a single .nix file that has PII
i also have a 416 lines long flake.nix that handles the boilerplate for managing all that lol
it's slowly but surely growing
(frick you pipewire why are you so annoying)
mine looks kinda like this:
- modules
- outputs (there i generate the server and services (vms) and users (homemanager + user devices)
- i use sops for secret management and microvms (basically like docker on servers)

each host has a default.nix with basic configurations like modules it needs, static ip addresses or users that have ssh permission to the system
this would be vm: there is a wireguard ip and a deployOn so it knows on which machine to be deployed on
i wrote 8k lines of nix code xD
and we have a int8::max of files
what is taking you 31k lines?
bwabwa look at my github
pretty happy with it now, the quality and compression ratio is pretty good. currently its configured for windows since that's what i use, dont how easy it's to make linux compatible bwa
required Pillow (pip install) and avifenc (download from their website)
you hava pkgs in your repo
i use my nixpkgs fork
sure thats 1.7k lines of code who cares
also im talking about nix code i use in general because a lot of it lives outside of my dotfiles repo
nixos SCHIZO
8k lines of frida packaging
12k dotfiles
6k notnft
and a bit of the rest
welp i don't know how much nix code i have written but its probaly a lot

i know, you just reminded me this existed 
i dualboot arch on my pc tho
around 38219 lines of code
which i have mainly spent in writing a new hydra, and some nix automation software
A lesson to not trust the filename 
hydra does suck 
yeah thats why i made this (its far away from done):
but it builds my stuff
True programmer. Always build something for a whole week to help with automating stuff that took 1 day to do manually
yep 
av1 encoding is so slow 
pretty sure that libaom is just slow

python doesn't let me handle exceptions in my own way, and it has to say "During handling of the above exception, another exception occurred:
"
was both faster and made a smaller file
good job svt
now if only you didnt have netflix and intel in your heart
i recently saw a water vending machine named "live water" should i be concerned
is it a command or a description
alive
live, water (me impelling the water to live)
live water (water is alive)
live water (water has a live electric current)
live, water (me telling water that we are live)
banned
2
the second live water doesn't make sense though
shouldn't it be living water?
it does only work with a supported gpu right?
still have laying around 7.4TB of videos in mp4
probably
you can do it reasonably fast with svt-av1 and enough threads but realtime needs special hardware 
why is the server so slow
work faster
SVT-AV1 is just a normal CPU encoder AFAIK, should work with anything
obs seems to manage

maybe my cpu is just fast enough bwabwabwa
awa
libaom encoding
i had a similar speed
this is the only thing I hate in AWA5.0
155 KiB
Everything can be solved with enough computing power
The halting problem does not apply
thats pretty good
a bit crunchy but it works
there are more uncomputable problems than computable ones
i need to be above realtime (i dont have multiple years to wait)
Is it?
looks like nvenc is "only" 2.8x as fast as svt for me hmm
Uncomputable as in there is no known algorithm to compute it or not enough computing power?
i wish osu supported avif for team banners
uncomputable as in, its not possible to compute due to an algorithm not existing
arbitrarily close approximations dont count
I found 2 gifs in my testing that are pretty good quality indicators
see how much quality is lost with these
i remember having to prove that 
say hello to bitcrunching
Prove that computable function can be mapped to N?
its 3kb but at what cost
something along those lines iirc
its ok it still accurately represents the source image
you basically prove that there are uncountably infinite many uncomputable functions
computable functions can be mapped to encoded turing machines so you can count them
Let's make an evil compression algorithm
i think the easiest way of thinking about it is that every program can be represented in binary
Where it adds data for no good reason
hence every program is representable as a single natural number
Mhm
FRACTRAN is a Turing-complete esoteric programming language invented by the mathematician John Conway. A FRACTRAN program is an ordered list of positive fractions together with an initial positive integer input n. The program is run by updating the integer n as follows:
for the first fraction f in the list for which nf is an integer, replace n ...
conway 
ffmpeg -i iuh-4x.gif \
-pix_fmt yuv420p \
-c:v libsvtav1 \
-preset 4 \
-rc 0 -crf 45 \
-tune ssim \
-row-mt 1 \
-tiles 4x4 \
-g 120 \
-b:v 0 \
-vsync vfr \
out7.avif
here's what i used
the main reason the quality goes down is im using crf 45
at 38 it would be fine probably
He named the monster
maybe just because of this, I want to write my own C++ port of AWA interpreter 
this is so nut
i like conway he got me extra points for running his game of life on a couple nodes in parallel 
ignore the fact that it was utterly unusably slow
could also try swapping -tiles 4x4 for -tiles 8x1
there's a version of life that runs on the gpu right
it runs in the same way as falling sand games
game of life should be relatively easily parallelizable
communication overhead go brr
also gave up on ffmpeg for .avif conversion because I couldnt get it to keep transparency with gifs for some reason
prob skill issue
but I really did try
avifenc for png to avif
I assume you have to sync at every time step?
that would explain it when the computation being performed is so simple
dont tell me you are converting every frame to a png
Wait, you were taught by him?
god that sounds awful
you need to sync and swap values at every iteration yeah
and I have to fetch the frame durations from the gif so that I can reconstruct the avif with the correct frame durations
nah i just had to parallelise the jacobi algorithm and it's very similar so i added a version with conway's game of life as a bonus
surely you could do some shenanigans to avoid large copies since you only ever need access to neighboring cells 
you could even start the computation before the copy is done
will still always need a barrier though ofc
Ahh yes, speculative execution
you can copy the previous result while calculating the next one or something yeah
wouldn't even have to be speculative, just calculate the cells that depend on the copy last
my thought process is that you can run life as a gpu kernel
problem is that even an async copy takes far longer so you end up waiting regardless
apply some convolution to every 3x3 region of pixels on the screen
also ffmpeg fails miserably with some gifs' frame durations, here is an example:
vs original:
yeah, you can probably do this for a few frames ahead of the last running copy but it still wouldn't be very effective 
doing more transfers helps funnily enough
since you can do them all in parallel and they're a bit shorter
as long as the grid fits in VRAM this is probably one of the better solutions 
normally you'd just do double buffering and work on the entire grid in parallel
Cue the grid is 10Bx10B
100B bit is what? 12.5GB?
My ALU is fried today, please understand
dw, so is mine
Btw @midnight sigil lemme know when you are finished with the awa5.0 compiler

I'm just doing a quick assembler rn
there's no way I'm actually porting it to C++

yall are using programming languages lmao 
I speak in AWA5.0
awa awa awawa awawa awa awa awa awawa awa awa awa awa awawa awawa awa awa awa awawa wa wa wa awawa awa awawa awa awa awa awa awa awawa wa awa awa awa awawa


I have never actually seen any project using Carbon
JavaScript → TypeScript Java → Kotlin C++ → Carbon

yet I still uses Java and C++
well at least Python doesn't have it's alternatives-
awa awa awawa awawa awa awa awa awa awa awawa awa awa awawa awawa awa awa awa awa awa awawawa awa awawa awawa awa awa awa awa awa awa awa awa awawa awa awawa awa awa awawawa awa awa awa awawa
i really hope carbon turns out well
they sure are taking their time with it at least
"Awa"
I'd prefer they do that than rushing the language tbh
wise words
should I make AWA5.0 disassembler as well
i don't mind waiting
I can't really read in pure AWA
except for the mojo compiler
there's so much shit implemented in mlir i can't look at 
now I can
oh now I just have to implement more checks huh
aight, now im reading the AWA5.0 spec
more people in the community 
you should learn rizin instead of toying around with manual labor
manual labor?
not a reply to the particular message think of it as a ping
and overall you might enjoy doing ctfs, though it also involves stuff like cryptography, forensics, sql/command injections, etc
hmm
the f word 
what's rizin
rizz
what

oh cool
as for ctfs, they're the definition of "fuck around and find out", just google everything you see and you'll usually be able to solve them provided you're doing puzzles of appropriate skill level; join any ctf and have fun
kind of? i'd call ghidra an ida alternative
mhm
rizin as ida alternative is a bit of a stretch but sure both are reverse engineering tool
there's cutter (an ui built on top of rizin) that is more like an ida alternative
I can definitely tell 
even my isp knows better
they know 

stop bitcrush














