#programming
1 messages · Page 211 of 1
what exactly is goin on over at zig hq, i have never looked further into it other than seeing arguments about whether or not it's faster than rust or not
and it's named after ziggs from league of legends (real)
but never see anyone use it
except for like
sigh
really niche things
plenty of people here that arguably know too much about c++ so feel free to just ask 
putting more question marks there as i'm slowly assessing my situation
my model )
it's slightly more sane c
i try grok 
AHAH NOW IT'S 0
0 is correct i'd expect
i was referring to the chain that BUN embeds since THEY DO
and i looked it up, it's tinycc
yis
every time there's some blazingly fast language that people have strong opinions about idk why i ask anymore because it's always "we made c/c++ but we totally made it better this time and everyone on earth should switch promise it's wroth guys"
i should dig more into tcc, it's actually really cool since they skip the ast and just emit assembly as it's parsing 
yeah it doesn't really matter, you end up in the same hell either way
How do you even discover all these random languages
zig is just c++ that uses itself instead of templates
they have bullet points like
- SMALL!
- FAST!
- UNLIMITED!
- SAFE!
on their site so im sure it'll be fantastic already
zig is pretty well known
zig is closer to c than c++
"zig is just c++" say no more, never using it
c++ isn't that bad come on
yeah i mean i have heard of it just never bothered to actually look into what it's supposed to solve or replace other than knowing it's supposed to be fast
the borrow checker can eat my ass
then learn zig
i will manage my own memory or let the garbageman do his job thank you very much
import { cc } from "bun:ffi";
import source from "./hello.c" with { type: "file" };
const {
symbols: { hello },
} = cc({
source,
symbols: {
hello: {
args: [],
returns: "int",
},
},
});
console.log(hello())
```lmao
if you write Zig with Zed as your ide do you become cooler
its well known enough for my interviewer to randomly mention it (not in the context of the job)
zig doesnt have a dedicated ide yet so i dont think it matters
completely wrong 
propaganda
almost the same
memory safety in c is also manual
Writing zig with a rust editor seems very cursed
why do you need an ide
it's the year of the carbon
intellij slave
this time for real guys
sublime eclipse
uses vs
i like vscode :S but only because i have cool themes
the lack of a comma there made me imagine an alternate universe for a second
(Still thinking)
also just use vscodium
its got a different meaning
Zig and Odin weren't real cpp replacement, we swear guys
that doesnt fix it being dogshit
No memory safety -> No checks
i like having build related shit built in
Manual memory safety -> Checks are put in place by you (thanks stdlib)
grok code fast has to be the worst programming model i ever bothered to even ask a question
that's because you have to do the checks
id prefer a specialized tool for a job than an all around one that is best at nothing
you have total freedom to not do them or to do them if you wish
yes, hence C has no memory safety
saying vscode is dogshit and using vs instead genuinely baffles me

i dont use vs anymore
good for u
i just stick with jetbrains shit now because i get them for free
i saw it came out, got stumped on something, said ok let's see what grok code is cooking
it literally couldn't even do a single toolcall
who needs memory safety just write good code
unironically just make sure to pass buffers with lengths every time and you're good
@sage crag grok response
pycharm was a waste of time when i tried it
you heard it first 
not for a subscription cost

i hate working with any python tools tbh
shiro did you fix the perft stuff I mentioned or not

for python of all things you super don't need an ide anyways
i just hate having to manage environments
literally python can be that on its own so whatever
and all the bloatware
no not yet
idk how to fix that
just gotta find the move myself and try and force it to be played to crash the opponent
jetbrains ides are bloat
do i just print all legal moves per depth, sort list and then compare to sorted reference list
that sounds like something i let run overnight 
not as badly as vscode
yeah it was just very heavy for almost no real benefit over like a base no extensions vscode anyways
it means you have to put a seatbelt on your ram stick
duh

vscode is wayyy more responsive than intellij editors to me
idk what you're writing where that's the case
keep it pg please
at least if you dont have 0192347810984310923801923809 extensions at once
yeah if ur working with 1 or 2 languages
its not like u can sandbox vscode environments
yes
ahem
profiles
fixed
i mean it's not a full env
ty
but it wont load your ext and such
which is the main issue with it slowing down at least for me
still doesnt sound like it has anything that would make me move
maybe if i need it for some obscure language
or something like zig
at least use nvim or something
na
dont take it as me trying to convince you i promise lmao im just saying you can separate it out ya know

vscode itself has this feature, but
nix

most extensions will also not be active unless they're actually used 
they must of changed alot then
what do you MEAN
because it was a shit show last i checked
you don't understand, le electon bad, chromium is devil
i mean those are good reasons too
that... exists
this is an infinitely worse idea
by the way
like if i wanted to make a project only for one lang u can just make a profile for that and it's like a fresh install and you pick what you keep and dont
firefox breaks when you breath on it too hard
considering it breaks the trend at depth 3
and this too
that's only like 10k moves
idk just submit them to something that you know validates games properly?
i have zero problems on librewolf
web apps are a cancer

i hate them so much
i use firefox myself, but firefox embedded framework will just be a worse version of chromium embedded framework
lol
https://python-chess.readthedocs.io/en/latest/ something like this could work ig
my suspicion is there's something wrong with knight moves
what's that one new browser
i do have floorp which works fine-ish but also i think the main reason is that i never use it and dont have hardly and bloat jammed into it
ladybird?
zeen
they should just make an embedded framework of that 
zen
did i have too many legal moves or too few
idk

that too
ladybird embedded framework 
but also
all the firefox clones are just firefox in experience except i use them less so i dont have bloat in them
if you're gonna do it
ok well
don't use chromium
there is a special place in hell for it
I have even more 🤨 news
make your own browser

AHAHAHAHAHAHA don't even bring it up in this convo
it may have found a duplicate move returned from get_legal_moves
you dont have to use webapps
it may just be a skill issue on my part but 
its everywhere now
thats not even possible 
that only happened at depth 7

one of the devs i know there says 99% of the exploits are electron related
like

that's a great question shiro
because they always have to wait for them to push fixes
the way that moves are generated
and no one on their team can do shit until they do
well yeah i mean it's a browser it's extremely malleable
like I just shoved this in my perft, nothing too special
thread 'main' (81207) panicked at chess-bot/src/main.rs:39:5:
assertion `left == right` failed
left: 30
right: 29
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
I removed some debugging traits because I had to patch the library to make some stuff hashable
jarvis, fix that scary red line for me
sure, <overwrites the entire file and still has the error after>
though tbh I might add those back in a bit
jarvis ignore the error and compile anyways
electron devs be like
how does one ignore such an error
being based
simply let it slide right off your smooth brain
just yell at the monitor until it goes away
move
3
4
2
- e4
hey my brain isn't smooth it has one big wrinkle down the middle
yeah i feel like the way id do this is
download the lists of correct legal moves for the involved depths
then print the API legal moves to file
damn you got some srurface area going on, i dont have htat at all
fair
but like
print it out via hp inkjet first
idk if such lists exist or what format the moves are

that's what ive been using to get moves while shiro refuses to give me the api
doesn't seem too hard though
soon 
RIP 
all the best programmers start with Java or something lower first
what i like the most about this is that nobody know what the fuck it is unless they already knew and dont care
i started with python so the answer certainly isn't python
i can confirm
i think starting off with python is how people end up as react devs
you know that was the next thing after
slippery slope
its so overflow
i started with c++, competitive programming and then c++ game modding (first readprocessmemory/writeprocessmemory and exe/so patches then dll injections)
that checks out
i started with visual basic 
wew laddy
I like this answer more than the previous one)
i used to know VB
but i forgot when i learned C#
it was my first dotnet shit though
c# least usable language since java
until u want a GUI

python*
mono 
mono 
IL2CPP is my best friend with game development
garbage
this person has the most unpopular opinions ever
lets me avoid mono
ive never used it intentionally so it must be a dep
wonder what i have that uses .net lmfao
probably of WINE
wtf i thought i had that honour
yeah true
not anymore
shiro your opinions are just uninformed 
my throne 
i was gonna say it's probably from when i was trying desperately to get wine to run pdn

The Joker Quotes
The Joker Quotes
i didnt like f# enough to use other than for c# interop it but i might use scala in some actual projects
it seems comfy
ah the infamous *** Failure: ... has crashed ***
he giv up
honestly seeing that tokenizer w/ scala made me go hmmm
seems kewl
java dressed in a suit
so what is F# kotlin but for dotnet
f# is scala but for dotnet
scala's worst feature is having to support java/jvm
ah
neuro is borne of the blood sweat and tears of vedal standing on the shoulders of the titans of industry at microsoft writing his c# for unity
so it really is the wrost thing ever then, damn
vedal certainly writes the C# code of all time
oh i can write the bindings now 
heh heh
oh what a night
LATE SEPTEMBER BACK IN 25
WAS A VERY SPECIAL TIME FOR ME
AS I REMEMBER WHAT A NIGHT
idk why i can do nothing but randomly reference things and shitpost
hahahaha
also it made me use typing immediately without running so im pissed
yes if you have one
why did python have to go with '' and "" are interchangeable and make me eternally forget that every time i swap to something that isn't literally just js or python who baby me too much
every single time i have to stare at the linter warning like wat
oh right it's not goddamn python anymore and what you're doing actually isn't a clown fiesta now
makes me feel like a total moron because it's literally a basic primitive and the most simplest of objects and i feel like i forgot how to do anything at that point
rude
default to " and it becomes a non-issue
(chars don't exist)
unironically this was the reason I didn't learn go a couple years ago
iirc when I tried and failed the error was super unhelpful
and why yes sweaty we do have those as int32 for the lulz
thinknig about what happens during compile is a great way for me to feel like a total moron (yes i know c/rust/almost everything except like python has chars as a small int)
primitive char is usually 8 bits, but there are also things like Utf8CodePoint which
if python can use it's gigabrain at runtime and figure out that "a" is a char and treat it as such and "aa" is not, compiler should be able to as well ><
but the one guy who used the exactly millisecond savings from it somehow to do something will go nuts so nope compilers say UHH IT BROKE

we out here throwing len=1 strings on the heap and then wondering why everything is slow as fuck
not the scala one i was just asking to
kek
you can thank java
yeah i mean it should be trivial i always assumed it was another thing about having the full control over the heap and your memory gc w/e so they just enforce that you should be doing that by preventing it at compile
i dont remember the last time i actually tried to compile something with this error in it because i dont compile things with giant linter errors usually unless i'm feeling frisky
(idk if they're to blame but i like blaming them for scala problems)
it's definitely a java inheritance
they yoinked def main so it looks ooh shiny modenrn not an int or a public void or anything like that yay
but then i gotta explicitely type it as a : Unit = { before proceeding so what was the point of going to the simpler keyword syntax if ur just gonna move it somewhere else 
java being java
nyan
the point is having the return type at the end
same as rust 
well yea but that's what java's public void is for except it's just defining somethin with no return like that
if it's already java based that's more of what i was confused on
but i mean it's just syntax im not really complaining about anything it just threw me off
especially since i was messing with it and the tutorial i pulled up didn't use the typing at all and didnt mention it lmfao
so i had to figure out why it was mad and then go look up the syntax for it
think of unit as a 0-ary tuple
or just in general as a type with only a single possible inhabitant
i.e. a type whose values encode no data
right, it's just () right
like None from py?
mhm
that's what i assumed
though python's types are best not compared to 
python types my beloved
use em
dont
ehhh
turn on the type checker you got 10000 scary messages
that's spooky
i dont mind python types
turn it off baby
they do what i need them to
None type (is actually class)
fun fact
blissful ignorance
ye None is an object but type(None) is a class
correct ye
makes sense 
the only object belonging to that class
types are objects and objects are types weee
who knows
python runtime will try to run it
badly
types are objects, objects have associated types

have you tried building a NoneType class object from scratch
since python classes are also objects

python has abstract classes doesnt it
the word type looks incorrect to me now
id think none class is abstract 
abc 
wdym
i can do this at least 

does it equal None
so i did some preliminary testing and it appears that huffman would reduce the bytecode size by about 50%

what about is
but yeah it's weird what gets abstracted away and also how that affects how you think about other languages
cursed
yeah that's why you gotta do C only
not really the metaclass overrides __new__ to intern the return value basic stuff 
enum also does that 
that string replacement i had in scala required 3 includes in C lule
enone
class Erms:
def init(self, x):
self.x = x ** 2
def better_init(slf, x):
slf.x = (x ** 2) ** 2
print(slf.x)
Erms.__init__ = better_init
ermie = Erms(2)
run this

chills
dont want to 
i dont know what i gained from that other than that's definitely one way to print 16

real

🍪
Om nom nom
You've given me 7 cookies! | I've received 246046 cookies total!
python is so readable and natural :^)
aww, thank you~ ( ◡‿◡ *)
shiro that was not mathematically exciting
nah impretty sure it was
Hello my dearest Shiro,
I trust this correspondence finds you well. I, along with my esteemed fellow members of this most productive of chatrooms, are writing to you today with a collective sense of great anticipation for the chess API. Its absence is now most keenly felt throughout the community, as many of our own endeavors are poised to flourish upon its arrival. We would be immeasurably grateful if you would consider releasing it to us at your earliest possible convenience.
Well and truly yours,
Chayleaf

I mean mathematicians are always seeking to learn new things about math with cool proofs and things, I think they would be excited to learn that 9 + 10 = 21
Hi
It'll be released soon
Thanks, Shiro
Sent from my iPhone
i'd write the haskell bindings but can't you see i'm gaming right now
(actually working on it rn though so just wait
)
🌹 🌷
lmfao that reminds me
that chess game that the llm tried to make yesterday i like to waste time so i "improved it" in their vision
looked like that kinda
oh yeah
( the pieces can go literally anywhere on the board)

anywhere or like grid aligned
it's a grid
this btw was the llm's doing
all i really did was add black
and then add the graphics
since it didnt have the pretty colours it said it did in the comments
i dont know what exactly made my code error, but i found a fix
the bottom star went ahead and 360 noscoped the other one
today im happy to introduce fix.cpp
how does that even work
the flowers at the top

yeah they're fucking JAMMING at all times
brb taking a shower (i have to since i just ran this masterpiece, i'm sweating and overwhelmed with what i just saw)
i want to use this client to visualize my games
i think i will fix it up to actually be visible but still fuckin stupid and that'll be that once i wire the chess bots to it
the chess bots communicate with the chess hosts using UCI
you can implement the gui-side of the spec now if you want
ahh
i made an oopsie
huffman decoding: bytecode 26 bytes -> 11 bytes
problem
byte not translate directly to token count

have to make huffman table
uint8_t *hdata = (uint64_t[]){
0x287746A997DD9DAF, 0x00000000FF802E83
};
ye ye data smaller

uint16_t *htree = (uint64_t[]){
0x0405FF0302030106, 0x080B070CFF02FF04,
0xFF00FF08FF0E090A, 0x1011FF090E0F0D12,
0x0000FF01FF0AFFFF
};
tree

use libzstd 
(ignore that the boilerplate will use more tokens than the huffman tree)

the opengl uses an old shader with extra lighting inputs im not using rn, hence why the right one looks worse
nrm
i ban
soon™

2 functions done N more to go
getLegalMoves and getBoard are the hardest ones i think, many of the rest are relatively copy-paste
maybe some difficulty finding your language's equivalent for C enums
ye so hard
oh..................
@real sierra are u using gnu23 standard just confirming
for c
dunno if it'll matter but im setting some shit up because i have to nap or i'll die
C submissions will be compiled using
gcc -std=c23 -O3 -o bot_exec bot_source.c -L. -lchess -lm
no gnu extensions for you
c23 it is
looking at the Gentoo handbook
Alright, here's a take on that.
I'd just like to interject for a moment. What you're referring to as C, is in fact, GNU/C, or as I've recently taken to calling it, GNU plus C. C is not a programming language unto itself, but rather another free component of a fully functioning GNU toolchain made useful by the GNU Compiler Collection, linker, and vital system libraries comprising a full development environment as defined by the ISO standard.
Many programmers compile a modified version of the GNU system every day, without realizing it. Through a peculiar turn of events, the version of GNU which is widely used today is often called C, and many of its users are not aware that it is basically the GNU system, developed by the GNU Project.
There really is a C, and these people are writing it, but it is just a part of the system they use. C is the specification: the document that allocates semantics to the keywords that you type. The spec is an essential part of a programming language, but useless by itself; it can only function in the context of a complete compiler and toolchain. C is normally used in combination with the GNU Compiler Collection: the whole system is basically GNU with the C specification added, or GNU/C. All the so-called C compilers are really distributions of GNU/C.
im going to bed
classic copypasta
Courtesy of Gemma 4b because I'm deadge bedge
I had fucking ants coming in to my entire house
oh hell nah
ants and flying things with stingers are the two types of bugs i cant stand
I just don't like getting bit on my toe
Well
Idk pincer attacked
I put weather stripping on the doors and they literally ate through the moulding
So I just gassed all the doors and shut and now my cats are trapped in the office with me and will be eating all my cables so maybe when I wake up I'll be able to get started or I won't have a functioning computer cuz they're mad lol

i need more vram 
glorious monolith
cpu threadripper pro 5955wx
all that and my cpu is still better lmao
9900x my beloved
don't blame you though, threadrippers are expensive
The main feature is PCIe lines.
7 of them, damn
128pcie lines
If it weren't a workstation, I'd rather use Epic... )
i wish i had that kind of spending money
i wish i had spending money 
this config is super overkill for most people. the money can be put to much better use than in hardware that will become obsolete in a few years... but I'm really into local ai
512gb of ram is funny, i approve
I can open as many tabs in Chrome as I want 
getting there
will also have to reimplement bitboard functions
honestly rather glad i got 192gb instead of something like 128gb, having dedicated VMs for memory-hungry applications (minecraft servers) makes the number left for the desktop VM shrink and shrink
everyone in this channel makes me feel poor 
it was only $333 for 192gb of ram
and like $670 for the rest of the upgrade but we don't speak of that :)
but hey, it runs minecraft
$333 is a lot
for ddr5? that's cheap
i see
You can never have too much memory. I have another threadripper (2950x) and 128GB of RAM, but I haven't gotten around to building this system yet. I think I'll use it only for VMs.
@real sierra i assume chess_get_index_from_bitboard is undefined for empty bitboard?
you should consider it undefined, yes
okay its done in theory but i also need to reimplement bitboard functions
as the function header says:
//! Returns a square index equivalent to the square indicated by the given bitboard.
/*!
This function expects a bitboard with a single bit set, such as the kind you would get from a Move struct.
\sa get_bitboard_from_index()
\param bitboard The bitboard to get the square index of.
\return An index from 0-63 indicating the set square.
*/
it slow but usable https://browser.geekbench.com/v6/cpu/compare/11977438?baseline=11813810
threadripper slow
not like most VMs need that much cpu speed
why do i even try dude im just gapped in this channel
my rich elo is too low for this lobby
matchmaking broke
that's how i feel when it comes to programming experience and knowledge
i only dare to talk here when i feel i'm beyond the peak of the dunning-kruger effect on something
it pains me to just throw all the functions in a single module but theres no point in separating them since they're gonna be used in a single file 
justified sacrifice 
Bro heat wave waring again

Yeah, that's why I'm thinking of using it for something like that... I have quite a lot of stuff that could be virtualized... Another option is to build a NAS based on this system... but after using 2nd generation threadrippers for a long time, they're not very stable.
Vcpu hmmm
I won't rent
currently a bit iffy about moving stuff to VMs outside the main desktop VM because for some reason my system keeps freezing the linux VM i have
i could move over my minecraft servers to their own VMs, but if they're going to freeze every 1-3 days and require me to manually restart them, what's the point
at least the windows vm seems to be stable, and proxmox has stopped crashing randomly
holy shit no more dealing with "version mismatch" for hours???
massive
is that fucking gitcraft
for nix specifically the community cache already served some of the cuda packages but this being an official thing in collaboration with nvidia is nice 
btw @real sierra it says here that you're allowed to ping programmer role for events
#mod-announcements message
already planned to do that, im just waiting for the haskell bindings to be done and then the ping is going out 
will ping events role too
pinging events role may bring in like 1 extra guy
lol
anyways back to thinking about how i'm going to redo the search algorithm
since it seems like the area i can improve the most
It's quite strange that VMs freeze. Is there anything useful in the logs?
i have a method to suggest against
just gotta add bitboard flood and blocker functions and then i'll implement a test bot and add docs and it's ready
surely 
nothing that indicates anything happened
you know what
except the logs stopping after a point, of course
theres a place in my code where im doing a malloc
but surely i can just upper bound that and use a fixed size array
the last log entry is usually more than a minute before the freeze would have happened, and is more of a heartbeat thing than an error or warning or anything of the sort
no visible or audible correlation with high CPU usage, enough RAM to not have any issues there, no hardware overclocked in any way
and there is nothing in the hypervisor log either?
pretty sure i've checked that at some point, and i don't remember seeing anything of value in any logs
yea idk
it's currently frozen right now so i can show you usage stuff
the only time my vm froze was when i used all my ram 
yeah that's what i'm thinking too
i opened the emote menu just now and crashed discord
how come
don't wanna deal with that bs right now
nice
i'm gonna procrastinate it
i dont suppose you could make a markdown version of the docs as well in similar format to the other docs
(also restarting for this stuff means i have to take down the minecraft servers so i'd like to at least announce that i'm planning to do it beforehand)
i know markdown isnt the nicest but its easy to write for all languages
and lets me keep all the docs versions in one place

haskell syntax looks really nice actually
forgot an $
how did that typecheck
absent of unnecessary symbols
hehe

also what's this
ah

at least you guessed correctly
my functional programming experience was racket
wasnt bad honestly until we had to do machine learning
then i didnt like it anymore
machine learning in racket wtf 
evil course
evil evil course
i think its up there with the most evil assignments we ever had
second most evil was an assignment where you were given an existing C program with hard-to-find bugs carefully inserted into it
and had to fix and return
had every kind of memory issue
racket is best for dsl development imo, literally nobody uses it for ml 
oh god
yeah C has been really fun to work with so far but i can tell that doing any debugging for memory-related issues will be an awful experience
honestly not that bad with gdb
i didnt have much experience with gdb until this project but like
if you compile from the sources, with -ggdb3 flag
and then run gdb
you'll get an exact stack trace to the segfault
to the line itself
damn thank you for this
valgrind is also a godly tool, just run your program with it and leak-check=yes and it'll point out every allocation that never got freed
u can google simple tutorials on that
will probably be adding C to my list of "go-to scripting languages" after this chess competition, it's been easy to work with (especially the simple syntax) and the speed is nice too
doesn't make me question my every decision like working with C# does
also hear it integrates easily with python so that's nice
no arguing with the language about what i want to do
not surprising
i think the most used python backend is CPython
i should probably really test the python bindings more
they were acting a little suspicious
i heard "low-level language" and "easy to shoot yourself in the leg while using it" and "memory leaks" and "segfault" and was scared of it before this lol
thats... an interesting move..?
that's half the fun though, keeps it spicy 
lol
i probably won't run into the spicy issues unless i try to take it beyond the level of simple scripts and that's good enough for me
if you want a dead simple and efficient way to manage memory you might want to look into arena allocators btw, they're really nice
while(*s != 255) *s & 0x80 ? ({ uint8_t l = (*s++ & 0x7F) + 1, d = *s++; while(l--) *o++ = o[-d]; }) : (*o++ = *s++);
:mhm:
decompression
i hate it
it works somewhat
unless a 255 appears in the bytecode somewhere

surely that will never happen

anyway i tested this and worst case it appears to be the same as uncompressed
i'm not even going to try and decipher that
While Decompile my pc cry too much
quickly patching 900 holes in the python api
do i include all packages included with the compiler or only the base library?
for example, rng is a separate package but its shipped with the compiler
i would only include the parts you wrote, as long as there's instructions such that someone can reasonably build, compile and use it on their own
my point is, does that count as standard library for purposes of the challenge?
ah
in like a best case where its just 1 instruction duplicated over and over
external libs required for the bindings are fine
i wont count those as long as they aren't directly invoked from the bot code
then doubly so, its fine
the stdlib restriction is just on the 1024-token code written for the contest
does not apply to bindings
255
yeah but im writing a scaffold bot project that people can clone
and the question is whether the vendored libraries that arent base should be included

so your question is if things outside of base that come with the compiler are "stdlib"
yep
ok i have determined that
because i imagine the things in base are generally defined by a spec
the compressor dislikes some numbers
and not implementation-dependent

most sources im reading agree that base and Prelude are the de facto stdlib for haskell
so im gonna go with that
i will clarify this on the github haskell readme
oh my fking god this works i just tried on a whim
ive been bullshitting how i add requirements.txt to a uv env for so long

woke up in a cold sweat
ready 4 chess
i'll include containers for hashmap and array since its in the language standard, thats it

if you could put these in terms a haskell user would understand neatly
so i can put that info on the haskell readme
that'd be great
trying to have language-specific gotchas like this documented
Pip install -r n.txt
pip list > n.txt
i will provide a project and you could just say that only Main.hs can be modified
yeah i mean i know how to get a list of the reqs just for some reason i had it in my head that i had to add them in this stupidly convoluted way, never bothered just doing uv add -r <list of reqs> i think i basically hoped uv sync worked or that was that lmao

did you write an example bot by chance?
almost done just cleaning up some stuff in the project files

also it will reference a library from git probably, do you want to host it in your repo or do you want me to host it?
either is fine with me
id prefer you're hosting it
host it at a url that looks megasus
i can't very well maintain it given i dont know how any of it works
and i trust you enough so

bred is just hosting the rust api on a github page and i have a link to it from the contest github page which works fine
have i ever mentioned i hate github pages (i have)

i dont mind when someone else is managing them
ah
i dont actually mind it, im having quite a lot of fun with this
ive arranged everything in a super obvious way
it goes like, 2 folders deep max
so u cant get lost
i just dont envy being the one that has to because i truly hate how they handle stuff like directories
if your gh.io url isn't gh.io/pagesite.html and then nav from there, but instead it's gh.io/foorepo/pagesite.html- getting the correct url using something like .. to go up a folder does not work because it will go to gh.io/pagesite.html which won't exist at least as the page you're looking for

im surprised i havent been physically harmed over the docs yet
i thought doing docs this way was a criminal offense
but people are suspiciously quiet
i suspect most have just not seen them yet
no its not available
but im still surprised people havent complained even if nobody has access
i feel like people would just feel that it's incorrect ethereally



2% in is extra classic
at least it failed immediately
the ones that pissed me off were when like 80% of the run was done
oops oom

although checkpointing usually meant it wasnt a total loss but still
how do u use shared memory only but no ram
oh
im stupid
that's the on chip
idk why i was thinking that's the overflow to ram
i oomed so many h100s walking up like this
thinkin i had so much spare
nope
i got an ad for one of these earlier
768gb of ram lule, still ddr5 not vram but
2 problems in one 
i think i'm just gonna do static linking to avoid the former issue, and for the latter uuh i'll debug it 
not today though 

ty for working over the weekend
what's a weekend 
is that related to nixos's immutability
no
oh
i was like damn if every path is like that
it looked like a commit hash or something
more debugging to go on the python api anyway
unsure how it thinks g6g6 is a legal move
it probably doesnt understand the meaning of the word illegal cuz it's got type checker off
man as much as i refuse to buy apple products the m4 is bonkers and im glad they're probably scaring the shit out of both amd and intel (if intel notices as they explode)
The best macs are the Air and Mini... the rest are overpriced.
I did this, bought air and use vscode remote..
yeah.... i would seriously be having a hard time not getting a mac studio if i could grab an m4 max 16 core w/ 128gb for less than $3500
would probably just slap linux on it and have a grand old time depending on how the support is
but not for that much
mini on the otherhand i think is competitively priced if not cheaper than i expected especially when this current one released
you can really crank up the price though
that's the thing w/ apple
and i get that having more unified memory is not as simple as slapping more ddr5 in like some systems can
the mini and air are actually the best things you can buy on the market right now... for the price they ask
but why is 24gb -> 64gb a 600 dollar increase
Because apple
this is also very interesting https://frame.work/desktop
i'd go for an AI max 395+ mini pc before i hopped on this "opportunity" unfortunately and that's literally all down to them overpricing the options
went from reasonable to dumb rapidly
that isnt p10k is it?
looks like it
not a zsh user 
:o
i thought so
most shells have something that can get them to have the same setup
starship will do it for any shell i think
you can literally get that exact styling with p10k
it looks like they yanked the image right off p10k repo lmao
ye but zsh clunky dont like it 
i dont think they did
but it looks like it
it's so similar
checks out
there are a lot of shell themes it turns out, i fell down the oh my zsh theme gallery rabbit hole the other day and there were hundreds of them
some very cool ones
Yeah, basic systems aren't expensive... but if you need something serious, the prices immediately become absurd.
compare that to
this thing gets spency too obviously but
128 cores 
- a rtx 6000 pro if you want for extra fun
512gb ram

Ampere CPU huh
If you're going to build a PC, you'll have to do it yourself... with a smart approach, you can get the most for your money )
oh yeah i mean that's what ive always done
but i also dont have a good source for an ampere altra
and fuking market is so ultra cooked that buying a prebuilt with like a 5090 and the 9950X3D im looking for can very easily end up cheaper
depending on sales and what time you look
then of course you have to figure out all the ways the builder fucked it up when they put it together as fast as possible and such but
fish has totally different syntax from bash family shells
well, bourne family shells
not TOTALLY different as in you can figure it out for sure but you can't just copy a command meant for bash or zsh and have it work instantly in fish sometimes which is why i always get rid of it instantly
Well, i usually try to use it if it's the default on w/e system i've set up and then get rid of it the second i hit a syntax issue because usually im trying to fix something and i aint got time for that
its autocompletion is just bad
fish is "modern" and to be fair it has to change at some point
and its slow
i literally never use autocompletion
not sure if thats even part of zsh
it is
tab
might start learning vim
sounds based
even tho i am useless at vim still i acknowledge its usefulness despite my inability to sit down and fully figure it out in one go, ive been using it when i would have used nano etc
i only ever use nano for configs
samezies
well till recently
i used nano any time i needed a txt editor in terminal which is to say configs usually, or just messing with a file but it's not particularly great for that
same
If your goal is to figure out vim in one go you might want to reconsider your goals






WTF





