#programming
1 messages · Page 192 of 1
my bot spits out moves in this format so im just copy pasting it over here instead of converting it first 
why the extra steps
which one is rook 1 tho?
regardless
i dont think it sees the castle
it says 10 legal moves
and i see 9 rook moves + 1 normal king move
back to debugging 
yes
two rooks cant be on the same file and rank at the same time (or they're in the same place)
ohhhh
yep, those are correct besides no castle
Short version:
A twist on pick a card, where if you don't pick the correct card the lowest card gets removed. If it is the required card it gets reallocated somewhere else. If you pick it then the amount of cards doubles.
I'd want to have some meta currency where you can gamble on each round. With bot's goal to make as much as it can in a particular timeframe.
Still need to figure out some decent balancing for it
thats curious
i think the bot might be xraying the black king
and thinking the queen attacks the entire bottom rank
but then why isnt it in check 

If I want to do more with it like power ups I'll have to do a lot more balancing. I'll keep it in mind.
i have some leftovers from friday 
aight imma eat
OH
i got the path masks mixed up somehow
swapped queenside with kingside
ok
so
it now says 11 moves so i assume its fixed
however
my bot refuses to play it
bug or dumb bot? maybe both?
intended behaviour
line is short enough that bot can see it ends in stalemate
but as the bot is coded
it considers stalemates with a lot of material difference as a loss
(this is because a draw from the 50 move rule with high material gap indicates it woud probably lose)
(my way around MCTS rarely mating)
but yeah
because of that it just sees "if i play castle, i lose"
and does literally anything else
which is fun
"no surrender" ahh
ill throw it in another game vs itself and see if it finds castle
new bug
it didnt see a pin
Build
en passant
some of the moves for this position the bot found
en passant
wait no
and yeah
black queen just moved
so en passant no longer valid for black if it was
white to move now
It image load complete ✅
Not vailed move for en passant
God dang too slow network
fixed

sweet
every fix makes my bot smarter
because the lines it analyzes no longer have fake moves

i gotta add the threefold repetition rule 
my headphones died 
i love bt headphones but having to charge them is a pain
at least they last 20 hours, and you get an hour for charging 5 min
not a bad trade-off
im looking at what phone ill buy since ill probably get a new one for christmass or something.
"chromebook go gift" man i dont want your fuckign chromebook ewaste celeron N4050 ass shitty no fps no ram no gpu no bitches laptop
this is activly making me not want to buy that
can i refuse the offer? how does this work?
Meanwhile mine work in pure wired mode and Bluetooth mode
mine work wired too, but not while charging
And pure wired mode runs off of power from the headphone connector so it doesn't drain the battery
and id rather wait 7 minutes than having to use a cable
Mine work wired while charging too, just there's noise from a ground loop or something
ye i dont want that
i meant that they dont work via bluetooth while charging, they do work wired
do i get a pixel 9, 9 pro, 10, S25+ or a S25?
the S25+ is cheaper than the non +
i could also get an older phone for less money, S23 ultra is only 600 while the S25+ is 900
oh its refurbished
S25 has alot of upgrades from the S23
i can get a brands new s22 ultra for 622
but is it worth spending 300 extra for a newer phone?
they make getting a phone so difficult these days
depends
if you're looking for the upgrades that the newer one has then I suggest it
otherwise not
the S25 I believe has a larger ssd and better camera for some main points
Alright, I'll write test cases for the new NN modules later. I cut a lot of corners while making them.
S25+ for 900, S22 ultra for 622, or pixel 9 pro XL for 992 
22 has more storage, but i dont use much anyways.
none of these have an sd card slot tho, and id like to have that since im already using one that has all my pictures
9pro doesnt have hdr, which is a gimmick on a phone anyways so no big deal
all are 120hz and roughly 3K
I am the best programmer
HAI 1.2
IM IN YR LOOPY WILE WIN
GTFO
IM OUTTA YR LOOPY
KTHXBYE
@olive sable i know the gpu is just dying to run this one
still gonna be slow as heck

good thing you only need to do this once a turn 
it will save more time than it loses
just simd that bro
pixel 9 pro xl loses in almost every meaningful metric apparently.
im debating the s22 ultra, its better than the s25+ in everything besides cpu
Samsung processor is worst

I checked both duet and other
epic
MP3
i should fr add fallback for other format
How weird
Man I just sent it in dms 
or just that mobile discord codec is pretty shit
I assume mobile Discord just uses a lower bitrate OPUS
The audio quality atm is something
Of the radio?
Yeah, could be me tho
desktop?
mobile, which is the issue
I want you to test something real quick, wait a moment
ive decided, S25+ but only once the new phones come out so the S25+ will be cheaper
sending music over Discord VC is already quite something
honestly no reason to do so, it's basically always better to have another player outside of Discord instead 
Mobile with wired
gets lots of people in the vc though 
second hand flagship is usually really damn cheap
the problem is that for a phone i dont really want to go refurbished
fair, the battery would be sometimes a gamble
unless if you get it changed
(can you even change the battery lmao)
pc's, monitors, consoles, ... all that im fine with secondhand. but a phone..god knows what has happened with that phone 
i think on smasnugs it should be possible
i hope
apple has it locked, i think samsung doesnt
because im debating whether to get a new redmi if i need to change phone or just get second hand prev gen flagship which may cost more
and i don't really have any justification for flagship phones 
my a52 is 4 years old now and its starting to shit itslef over minor things
like it just randomly freezes up and such
huh try to factory reset it
im planning to go to a flagship tier phone since i have the moeny now
that probably fixes some of it, but its still just getting old
i got it from like july 2021 or something
if this lasts me another year then thats cool, but i will be putting some money aside already to replace it
and besides that im also jsut greedy and want a new phone
i suddendly remembered i took apart my old a40 and never put it back together 
im greedy and want a 10th PC now
I don't pc because my pc suck
what's even the specs
i3
Hhd
2100
Intel® Core™ i3-2100 Processor https://share.google/ShhK8MgnAC29NDOp4
4 gb ram
That why
🙂
wait till you heard about my single core pentium with 2gb ddr2
Yep
Update ure motherboard

More getting.....
at this point should i just line these fields up in the struct and then memcmp it
Interest
Server update ?
Or local ?
Invalid board logic seems correct
it works i hope
what the hell
i never heard of this "en passant"
why is that a rule
i have multiple comments in this codebase that just say "i hate en passant"
also which boards are you comparing and why 
any chess boards
In chess, en passant is a special capture by a pawn that can only occur immediately after an opponent's pawn moves two squares forward from its starting position, landing directly beside your pawn. You can then capture the opponent's pawn by moving your own pawn to the square the opponent's pawn would have occupied had it only moved one square. This rule prevents pawns from bypassing other pawns without the risk of capture, and it must be done on your very next turn, or the opportunity is lost
and ive been avoiding writing this function because it's crazy expensive
but i have no choice now
because of this stupid rule https://en.wikipedia.org/wiki/Threefold_repetition
In chess, the threefold repetition rule states that a player may claim a draw if the same position occurs three times during the game. The rule is also known as repetition of position and, in the USCF rules, as triple occurrence of position. Two positions are by definition "the same" if pieces of the same type and color occupy the same squares, ...
Are u dumb
Or what
U need function
yeah dump positions into array and compare sounds nice
well the array is already stored luckily
er well
the board history is just a linked list of boards
What
so 
but i didnt have a nice way to compare the boards
so i spent like 9 years adding zobrist hashing
and then wrote equals functions 
U have been working for 6 days
hashing is slow
raw compare is faster
"you can update it per move!" SUCKS
What is zobrist
hashing is done if you need to transfer result somewhere else i think
basicaly archivation?
hashing does make a lot of sense here sadly
since i have to check for threefold repetition every turn
i need those compares to be snappy
We can do if player touch
tho actually i wonder if its worth

now ur making me doubt everything
ah no
i know what the problem is
cant you just dump all board into raw data array and use memory instead of computing
without a hash of some kind, how do i tell if a move has occurred 3 times
you remember last 3 boards
What time in ure country?
4:44am
remember all boards 
i do
but you still cant just compare every board to every other pair of boards
why not
no
with a hash i just initialize an array with each unique hash i see and associate each to the board i saw it with
then i only need to traverse the history once
each time i check a board, i see if its hash is in the array, and if so i go to the associated board and check if equal
yeah right if you going to reuse the hash many times it should be faster
my bad
actually
maybe thats still O(n^3)

no wait its not
i associate a count with each too
when i find an equal board, i just increment count
this is O(n^2) tops
surely worth 
Utc -4 hmmm
you know
this still seems really fast, despite so many hashes
it no longer ends up drawing to threefold repetition
because as usual, my bot avoids surrender like you wouldn't believe
U should test and fix
Best suggestion: use ui debugging
And Highlight code where is happening
What is this silliness?
I'd use this
can i join covenant
hm?
have you tried fusing math ops
fusing?
#define FMA(a, b, c) a * b + c
usually not worth

the commas in the macro calls are individual tokens i think
you dont need to include them
they are optional

its still one per variable tho
and then one for each bracket i assume
and one for the macro name
so that macro above is not worth it even without commas

ye well either way
im currently inlining functions
do you know about __VA_ARGS__?

i dont
why
wait
can i just make every function take varargs
and pass whatever
uh no, not in scope
for macros
to do that just add , ... ti rhe
to the end of the args
the problem is it requires using stdarg
phr
me add 

comma not optional in macro args i dont think
C get angy when i try remove

shiboo
elvyn!
strange, worked for me

ill reproduce it when im home
define inline if
replaced if with ternary perhaps
phrr

features to the chopping block
i guess i can remove the evaluation helper if i have to
have you also tried replacing all std functions with __builtin_ versions
can save some imports
is that portable
things like __builtin_malloc, __builtin_free
I wonder how a language like Kotlin will compare
you can replace all functions with multiline macros
actually single line macros since \ is a token
It's got some cool token reductions, but it also doesn't have macros
sort of
how many builtins are there
just about everything tbh
notably memcpy, memmove, memcmp
vscode hallucinating
also strcmp
yeah i found memset already
strlen

Decided to check the amount of tokens my NN framework currently contains. Seems like I am at 255 tokens at the moment. I'd need to reimplment what I need out of numpy tho.
I hope the Gradle build script doesn't count since that isn't actually part of the output jar file
So if you're planning to do a competition with this will there be JVM bindings for it?
the answer is, that depends on you
There are still a lot of comments and newlines, not optimized enough for the comp smh
im writing the api in C with the hopes that this is something most languages support binding to
but i only have plans to personally write python bindings to the chess api as an example
that being said
if someone is kind enough to write bindings for a language
and share it publicly
ill happily make it official (and thus not count toward the token limit)
Well, someone make Java or Kotlin bindings then, I have no clue how
I have not the slightest idea how to utilize JNI
nor i
i think its probably easy once you do it once
likely just copy paste what you wrote for function 1
have you tried forward declaring the functions
instead of including
wait like
you can T rand(...); at the top of the file
T

i didnt know that
how would forward declaring work
generic type, replace it
do i just hope that another library im including gets the definition?
just compile with libc should work
My guess is something like external fun externalName(params: ParamTypes): ReturnType
it just uses linker symbols
My syntax was for Kotlin
I kinda assume you don't JNIEXPORT everything on the C side though since that seems to be something JNI requires
JNI is old and practically requires a native library as a bridge
for new bindings that don't have to support old JDKs you can use Project Panama / JEP 424 instead
????????????????
or JNA but that kinda sucks
i mean
JNA might be convenient if it sits on top of libffi
might reduce some of the repeated work if im already implementing it for python
it does 
So is JNA the one where you can do external fun?
but AFAIK the new built-in FFI is just better
no need to load an extra library and have all function calls go through that
The Java Native Interface (JNI) is a foreign function interface programming framework that enables Java code running in a Java virtual machine (JVM) to call and be called by native applications (programs specific to a hardware and operating system platform) and libraries written in other languages such as C, C++ and assembly.
Java 22 introduces ...
it looks disgusting
Java looks disgusting

I also use JDK21 and not JDK22
update then 
well you're free to make kotlin bindings too
JDK22 is not on APT
basically the requirements for you to use a language in this tournament are
- the token counter supports it
- i can create the build toolchain for this language and successfully compile submissions in it
- you feel like writing an api bridge for it
- it isnt somehow wildly unfair to use
beyond that i have no qualms
Token counter, who knows
Build system is easy, it's just Gradle
API bridge, I don't know
I see no reason Kotlin would be unfair to use
token counter supports these
What a stupid token counter

no kotlin
you can call it a stupid token counter but its also somehow one of the only token counters
Weird
agreed
Guess I won't be making a chess bot then
hold on a second
you might just be in luck
?
so
this token counter is not only the only token counter in existence
but was last updated 4 years ago
luckily, it gets almost all of its functionality from an underlying parser library that has crazy support
and the kotlin arm of that seems to have developed rather nicely
chess bots in svelte, json and latex 
So? Fork it and update the parser?
it might be as simple as uncommenting a line and changing the version number
but im trying it myself before i sell you any false promises
How very silly
https://github.com/Superbox2147/Neuro-radio
If you need some Kotlin code to test on
-# Not the same radio the pixelers are listening to, this is my improved version that requires a bot account
-# Completely useless for the pixelers because of needing a bot account
Not really, it's kinda my own thing
And no it's not able to be used due to Neurocord mods not taking external bots

? I don't think you'd be able to rewrite it for user API
Yo
Electricity is sucked
Whar
COMPUTER CRASHING TOO MUCH AND UNITS IS WASTING SOO MUCH EVEN IT ADD MY BILL
Bro my yt-dlp install whole youtube shorts
[download] Downloading item 13 of 1743

I have to ask, why shorts
ive been trying to just
download this damn package
for liek an hour
holy frick why is git ssh so annoying
just tell me why its not working 
idk works for me
Whole os is crashed
ssh more convenient than git username and password
didnt
did 
didnt
did 
and it's more secure than leaving your token in the credential store
security at the cost of being able to do nothing is bad security

nobody is stealing anything from me if even i cant access my stuff
what's the problem
git doesnt like my ssh public key
refresh the key then
ssh <username>@<your_git_host> -v
Well I have succeeded in adding binary solace to the music bot and played. I can now rest
Elvyn helped
Yeah I am grateful to her
ye instead my token is on my hard drive 
(external)
wdym there are passphrases
what is wrong with u
ye
Not my github one, that one has a passphrase, the others are unused so 
it prompts for a passphrase by default even
get option to add passwd when you make it
ask what isn't
ssh-keygen has been asking for passphrase upon key generation since before I enrolled in uni
and that's a long ass time ago
Ssh ?
wait the password it asks then? use password then dammit not passphrase
Hmm i will set later
I don't understand passphrase ok
it is canonically called a passphrase.... it even says so when it prompts...
as if I can remember the lore of a software man
Very slow network...........
i just call it password
you see it whenever you need to unlock the key
well I'm stupid and don't remember
All I know it asks me for something when I make it and when I unlock it I gotta enter that

i typed the ssh key wrong into github
it works now
still failed to fetch package
new error
my sister has chemistry 1 now, and they have an exercise where they ask what 1 spehre in the particle model picture means. and im thinking to myself "isnt it always supposed to be an atom".
apparently not cuz their """particle model""" has sugar water as blue spheres for water and red spheres for sugar
representing a molecule with a sphere is wild to me
Not bad
U guys are deserve it
And what is this supposed to be?
🙂
I hope it's not AI generated music
It is not
Then what is it?
What? You're trying to audio upscale?
Kind a that
^
and also what the file extension is
.kt
ah ty
I dik how much improve it was
is it made from this?
If you want to try to upscale audio, you'll need a lot of audio, which you then need to reduce to a lower bitrate, then you need test audio which you don't train the model on, but only use to see if it's generalized
noway
Basically the same as image AI in terms of training.
hey but
if the bot is going to calculate next steps
it will have to check legal moves of those steps anyway
or does it not fit in 1024
and these bots are all going to be 1 step only
ah
yeah it does not fit in 1024 tokens
put it this way
my bot is sitting around 180 lines
and its over the token limit
the get_legal_moves function from the api is 400 lines long
making people implement boilerplate like that isnt really the goal anyway
@nocturne olive sadly i cant get it working with kotlin
How weird
4 years of accumulated dependency hell
despite about 3 hours of effort now
i cannot get these resolved
Unfrotunate I guess

Guess that means I can't Chess bot
Scientists Just Decoded Language of the Whales Using AI... And It's Not What You Think
Beneath the ocean’s surface, an ancient conversation hums in rapid clicks, messages passed between giants with brains six times our own. Using advanced AI, scientists are listening like never before and what they have uncovered is something no one would hav...
hi shiro
T I am having a terrible night
every task today has just been head splitting
have you tried sleeping
no not yet
skill issue
i ain't watching that
Well, bot or not, it is worth considering whether it is still valid.
I'm 21 mins in, might as well watch the rest
yum slop
i will not watch further than 10s
slop video 
i ain't watching that
is it about aligning latent spaces
if so not really a new thing
i don't get how some people see ai generated clickbait thumbnail trying to fearmonger about ai and go "yes i should watch this"
(Finished watching)
Bc nothing in the video contained fear mongering.
It was a shitty thumbnail, and it probably could've been summarised in 30% as long a video, but the information in it was still useful.
And it gave me something else to look up, after I finished

I didn't know what I was hoping to get out of it, but your responses gave me a thing I can use, and so the whole process was of value
Thanks 
Hey guys mind if I ask some advice?
go ahead
Im starting to learn java in College is there anything you wish you woudve know or advice you can give me?
i havent used java so i cant, but other people here could
Do you use python?
sometimes
Whats your main one then?
C++
Im gonna have to learn that anyways
i dont get it, how does UCI tell engine which moved was made by the opponent of the engine
does it send entire chessboard in "position" command every time?
do i not see something
Apparently yes
i just know that shiro was really annoyed that it's apparently keeping track of the entire history 
some website gives examples on position command but
i guess P is pawn
and p is.. small pawn? wtf is this
is it some standard chess language or what
oh it actually is
fenstring huh
sorry im not an artist 
Yo
We want artist to t̶r̶a̶i̶n
Judge ure art
All arts are art
We can't judge it
I don't know whether I should completely rewrite one of the biggest functions, work on the main issues I'm having, or eliminate a lot of the weird bugs that I encountered.
first time using tampermonkey and is for doing this on the canvas 
#artist-alley leak?
black and white, supposedly
yeah found the documents
thankfully, i had a good teacher, so i didn’t have any problems. I think as long as you focus on properly learning OOP, you’ll be fine 
The biggest difficulty i had was with interfaces
my lil brain just couldn’t understand
why is there only one comment with one million views
am I tripping
huh
you're right
how?
you can set youtube to hold all comments for manual approval
have an LLM review all comments
yeah i remember the gimmick "ONLY <insert large creator> CAN COMMENT ON THIS VIDEO" videos
and the only comment is from them
clickbait, AI-made content, and censorships 
ok
I think today I need to
reorient myself
no more weird tangents, the goal is in sight
damn didn't know that
I'm sorry lol I'm at the
point of needing a self pep talk
I remember when that sticker was made
I think it was for the discord hitting 10k members
back then everyone would lose their minds over a new sticker
especially one that wasn't just
mali gpus don't support gl_ClipDistance
android is a truly frightening operating system
i am running the script to evaluate how much of the cdawg canva is each factions, small problem 1 request is half a second minimum, (at least one request by pixel)
anyone know how to optimize this? (138 hours to get the 1 000 000)
can i post code?
I hate everything about this.
shiro did you just sleep 3 hours 

i dont either
all segfaults have a cause
and none of those causes are my library

i also dont know rust and it would take way longer to learn it on top of writing all this
Segfaults are the best case 
btw I tried getting tcount working with kotlin earlier but it seems like the grammar is just fundamentally broken
Or there's an ABI mismatch, pick your poison
yeah its horrifyingly cursed
i tried for 3 hours
and gave up
this is the api header
open to feature requests if there's any other convenience functions that would be good or other concerns
Wait so does a bitboard contain the entire board's state
Also I'd say turn some of those constants at the top into enums 
if the game has actually ended, sure
on the first turn it's neither checkmate or stalemate
ill update the docs to explain that better 
i also spotted a typo 
Icy, fair enough if it's meant to be for each turn not just the end
typedef enum {
A,
B,
C = 5,
} X;
roughly equivalent to
#define A 0
#define B 1
#define C 5
typedef int X; // int width undefined by the standard

Ok honestly, C++ is a nightmare.
true!
C better

should've called it C-- 
Also idk if anyone is planning on writing a chess bot in c++ but conditionally wrapping it in an extern c certainly wouldn't hurt for the header
will switch to enum 
teach how?
have to go shower because work tomorrow why cant i just make chess 
I'm on my phone this would be annoying 
#ifdef __cplusplus
extern "C" {
#endif
...
#ifdef __cplusplus
}
#endif
There
at the very start/end?
wherever you want
lol yeah i just dont wanna do this wrong
only the contents will be extern c
defines/structs/enums dont have to be inside
just make sure functions are in there
no dont wrap includes in it
Imagine.
the windows c++ experience
It's also using DXPlay. Which was discontinued a long time ago.

does the .c file need this too
So much of me wants to ignore the big function that is required for this game to function, but is gonna be an absolute pain in the ass to reverse engineer.
nop
postpone it 
I fucking hate this.

ok programmers i have a question about ethics
i would like another set of eyes to review the actual C code for the chess api
maybe they are using full [int_size] array
This doesn’t use any of that.
asking someone else to review C code is unethical
i mean
it'll be public for use
people have to be able to test their bots, after all
oh its server api
you can trust me with your code shiro 
yeah
i dont wanna release it too publicly
lest someone start developing their bot with it and then its not compatible with changes i make or something
Ok I don’t know why m_somethingJoystick has a type of void.
im trying to make a bot in c++ rn
i just need one person who already doesnt have much to lose who i can get to review this
but i will not have much time on weekdays 
thats ok
the tournament hasnt even started yet
and im planning to have submissions open for a month when it does
not meant to be too much of a time crunch
Spicy.
does while stop on 0 or -1
I hate nvidia
No fucking idea.
should be 0
i read it like "i have nvidia" and though wtf is this random statement 
I JUST UPDATED MY GPU DRIVERS AND NOTHING WORKS

gpu driver switched to public transit

price of electricity too high nowadays to be driving a gpu everywhere
in c++?
in C, false == 0 and anything else is true
Oh yeah, here's another thing about C++.
what the hell is tat
baldis basics ass gui
it has a certain charm to it actually
but its not of this decade
In case your wondering, the game is from 2001.
I FIXED IT
A good amount of the underlying code is from 1997 though.
reminded me of "plumo on the farm", a game from my childhood
I don't even know what I did
i got 1 minute into a youtube video of it and im raging because this person screwed up the minigame
cmon
Official website for all Epsitec SA games
It's a bit of an odd series of games.
Pretty neat history though.
I love making a GUI by writing code by hand.
rebuilding python after i built it before installing zlib
turns out that despite being "optional" to build python, it's a required dependency for pip

no...
the power went out for a moment
I was in the middle of building python and my VM was running
is it gg

shouldn't be
the power of modern filesystems will save it 
Do we like cursed things here?
yes
sass >> c++
Im gonna write a whole runtime for it
c++ so bad 
Sass transpiler doesn't give any errors, so i won't have to fork sass and make my own version of it
Probably gonna write the runtime in C++ as it seems the easiest... well.. nodejs is another option but
js
Yeah i might also consider go
But i am yet too unfamiliar with the language to try this project with go
Why? We supposed to use vanilla css?
if you want to preprocess use postcss
Nahhh
whats postcss
But luckily my project isn't supposed to preprocess anything
are you sure you want to know
it is webdev after all
Postcss is an absolute nightmare to work with imo.. scss is just comfy
Why? I use almost everything it has
you shouldn't
Why?
most of what it was useful for is now in css
Still missing the mixins and the nesting tho
I may or may not be a bit low on memory
And the functions
fair point
this is fun
the only thing i agree with is nesting
mixins are easily replaced by just having a separate selector (e.g. class="header this-would-have-been-a-mixin")
functions promote horrible practice like calculating layout stuff at compile time

i built python without ssl
i have to build it again
i dont even know why it didnt work tho
i have the latest ver of openssl
there has never. ever. been a moment where i've been like "aw i wish i had scss functions" everything is easily solvable with existing css features
that's why i said i like postcss because i just configure nesting and we're done
but if we're being fr just use tailwind it's so much nicer
than all of this bs
I use the functions more to abstract the messy parts
why are you even building python shiro 
functions also replaceable with separate selectors btw
Yeah
define variables on the adjacent selector, use them in the other one
But then you have to deal with CSS's unreadable ness again
But i may also be using CSS in unconventional ways
Like here
oh i think i've seen that 
Does python have an option to use boringssl I don't remember
unsure
For that project SCSS is simply the superior language above CSS.. cuz if you want that complexity with vanilla CSS it gets really messy

please python
work
also bless this person https://gist.github.com/eykamp/93874e8f3adc97a5dea243a4ad8c5f38
How to install Python with SSL on Ubuntu 16.04 (2023) - instructions.md
build time

I fucking hate this code.
It's like either you get lucky and get code like this that's easy to translate, or you have absolute nightmares that look seemingly simple.
burn it
How about this beauty?
🤮
I know I need to do this at one point, but I just don't want to.
i do not blame you
no, all the builds
I just don't know what I want to fix...
Reverse engineering is the most torturous form of programming.
no 
reverse engineering has a clear goal and well defined methods of achieving it
torture is when you dont know what you want or do but dont know how to achieve it
or make it but its a mess that doesnt work
If you're so smart, then tell me what that function above does.
reserve1 is not actually an array but a struct 
struct of arrays of different types specifically
m_0008 is obviously amount of applicable joysticks or devices or whatever
If you wanna figure it out, go wild. It's pretty low on my priority right now.
Should I torture myself by rewriting a 4,000 line function, or fix the other shit first?
4000 line function 
is it physics
physics code is the most convoluted game code i've ever dealt with
It's a 2D platforming game. So not really.
Why the fuck is there a 64 bit integer?
1.1tb ram vscode
pointer arithmetic?
operations on points of 32-bit integers are often optimized as operations on 64-bit integers
also you shouldnt hide type casts 
*& is nonsensical without them
actually yeah this isn't pointer arithmetic mb, this is just normal math 
you're probably right then
i am 
There is absolutely no reason this game should be using 32 bit integers, let alone 64 bit integers.

All this uses is either 8 bit int or 8 bit UINT.
It's 2D. There is no Z coordinate.
I've been working for half an hour, and this is all I managed to get out of that.
This is all super jank.
hi. anyone know why my system is cloning and making chromium mirrors, and the entirety of electron30? it's taking forever 😭
I think it's trying to make vscodium-bin?
-> Found chromium-patches-124.tar.bz2
-> Found drop-flag-unsupported-by-clang17.patch
-> Found compiler-rt-adjust-paths.patch
-> Found clang-19.patch
-> Found default_app-icon.patch
-> Found electron-launcher.sh
-> Found electron.desktop
-> Found jinja-python-3.10.patch
-> Found use-system-libraries-in-node.patch
-> Found makepkg-source-roller.py
-> Cloning chromium-mirror git repo...
Cloning into bare repository '/home/emanresu/.cache/paru/clone/electron30/chromium-mirror'...
remote: Enumerating objects: 26408131, done.
remote: Counting objects: 100% (3919/3919), done.
remote: Compressing objects: 100% (1439/1439), done.
remote: Total 26408131 (delta 2632), reused 2508 (delta 2450), pack-reused 26404212 (from 4)
Receiving objects: 100% (26408131/26408131), 55.15 GiB | 28.51 MiB/s, done.
Resolving deltas: 100% (20656261/20656261), done.
Checking objects: 100% (67108864/67108864), done.
-> Cloning chromium-mirror_third_party_nan git repo...
electron30 is deprecated
maybe it got removed from repos?
just delete it 
nothing bad will happen trust
there is no war in Ba Sing Se electron30 package even installed, just electron27, electron34, and electro37. why is it trying to build version 30









remove all the free statements
stdio




built successfully