#programming
1 messages · Page 204 of 1
piece square tables are a cheap addition to improve eval 
"make it better"
transposition table is what i wanna add 
"make it more good"
move ordering is very simple idk why that's fourth
time management is meh
I will say I have worked with junior programmers worse than gpt5 high
"grok, make it fall in love with me"
However, they probably cost less lule
what i mean is at a workplace it's a practice and encouraged by the employer themselves and paid for by them too. i am not saying to give the ai itself problems, i am saying to have it search for the stackoverflow post

it may or may not be common but that definitely happens


go chayleaf
go chayleaf
go chayleaf 
ye combining char

Accursed Unicode cryptid
i have a ton
used in zalgo text
biggest single char
﷽̬
⸻ is pretty big too
𒐫
instead i got ̬
English only smh
ˬ̬̬ˬ̬̬ˬ̬̬ˬ̬̬
i've seen this one before
pattern
꧅
a⤻b
𒈙
amazon
⤻
what the helly
i spoke the wise words of harrison temple
konii 2.0.2 ⤓
⇊
untetration
𒁃
sideways knight piece
sbt so slow 
here are waves 𒈱𒈝
⇕
i'll try mill 

fish 𒉲
"Hello"
20 seconds
epic troll

I see
#include "bitboard.h"
#define INF 1000000
int e(Board*b){int s=0;s+=100*popcount(chess_get_bitboard(b,WHITE,PAWN)-popcount(chess_get_bitboard(b,BLACK,PAWN)));s+=320*popcount(chess_get_bitboard(b,WHITE,KNIGHT)-popcount(chess_get_bitboard(b,BLACK,KNIGHT)));s+=330*popcount(chess_get_bitboard(b,WHITE,BISHOP)-popcount(chess_get_bitboard(b,BLACK,BISHOP)));s+=500*popcount(chess_get_bitboard(b,WHITE,ROOK)-popcount(chess_get_bitboard(b,BLACK,ROOK)));s+=900*popcount(chess_get_bitboard(b,WHITE,QUEEN)-popcount(chess_get_bitboard(b,BLACK,QUEEN)));s+=20000*popcount(chess_get_bitboard(b,WHITE,KING)-popcount(chess_get_bitboard(b,BLACK,KING)));return s;}
int q(Board*b,int a,int c,bool t){int s=e(b),r=s;if(t){if(s>=c)return c;if(s>a)a=s;}else{if(s<=a)return a;if(s<c)c=s;}Move*v;int n;v=chess_get_legal_moves(b,&n);for(int i=0;i<n;i++){if(!v[i].capture)continue;chess_make_move(b,v[i]);int z=q(b,a,c,!t);chess_undo_move(b);if(t){if(z>r)r=z;if(r>a)a=r;if(a>=c)break;}else{if(z<r)r=z;if(r<c)c=r;if(a>=c)break;}}chess_free_moves_array(v);return r;}
int m(Board*b,int d,int a,int c,bool t){if(d==0)return q(b,a,c,t);Move*v;int n;v=chess_get_legal_moves(b,&n);if(!n){chess_free_moves_array(v);return chess_in_check(b)?(t?-INF:INF):0;}int r=t?-INF:INF;for(int i=0;i<n;i++){chess_make_move(b,v[i]);int s=m(b,d-1,a,c,!t);chess_undo_move(b);if(t){if(s>r)r=s;if(r>a)a=r;if(a>=c)break;}else{if(s<r)r=s;if(r<c)c=r;if(a>=c)break;}}chess_free_moves_array(v);return r;}
int main(){Board*b=chess_get_board();Move mv;int bs=-INF;long t=chess_get_time_millis()/30;Move*v;int n;v=chess_get_legal_moves(b,&n);for(int d=1;chess_get_elapsed_time_millis()<t;d++){int cs=-INF;Move cm;for(int i=0;i<n;i++){chess_make_move(b,v[i]);int s=-m(b,d-1,-INF,INF,0);chess_undo_move(b);if(s>cs){cs=s;cm=v[i];}}bs=cs;mv=cm;}chess_push(mv);chess_done();chess_free_moves_array(v);chess_free_board(b);return 0;}

check out my rocket ship 𒄡
its like gradle daemon
no way
why is it using popcnt
oh for bitboard material value


It does it with all of these cuneiform signs
It seems to understand them but not output them
did it recognize what i sent after

cache everything
faster tokenizing with repeated calls of the same input
everything is constant
No but I did
How are you enjoying parcel tongue
except they don't have the seahorse emoji in their tokenizers because it doesn't fucking exist
try that one
gpt5 fighting demons, claude actually answering and gemini just on another planet i guess
grok
ye that only works if you do an lsp
attempt 2
LLMAO
@real sierra
#include <iostream>
#include <cstring>
#include <cstdlib>
class UnsafeClass {
public:
char* data;
int* numbers;
UnsafeClass() {
// Uninitialized pointers - undefined behavior
// data and numbers contain garbage values
}
~UnsafeClass() {
// Double-free potential - no null checks
delete[] data;
delete[] numbers;
// Should set to nullptr but we don't
}
};
void disastrous_function() {
// Stack buffer overflow
char buffer[10];
char source[100];
strcpy(source, "This string is definitely longer than 10 characters and will overflow");
strcpy(buffer, source); // BOOM! Stack overflow
// Heap buffer overflow
char* heap_buffer = new char[5];
strcpy(heap_buffer, "This is way too long"); // Heap corruption
// Use after free
int* ptr = new int(42);
delete ptr;
*ptr = 100; // Writing to freed memory
std::cout << *ptr << std::endl; // Reading freed memory
// Double free
delete ptr; // Freeing already freed memory
// Memory leak
int* leaked = new int[1000];
// Never deleted - leaked forever
// Dangling pointer usage
int* dangling;
{
int local = 5;
dangling = &local;
} // local goes out of scope
*dangling = 10; // Using dangling pointer
// Array bounds violation
int arr[5];
for(int i = 0; i <= 10; i++) {
arr[i] = i; // Writing past array bounds
}
// Uninitialized memory access
int* uninit = (int*)malloc(sizeof(int) * 10);
for(int i = 0; i < 10; i++) {
std::cout << uninit[i] << " "; // Reading garbage
}
// Format string vulnerability
char user_input[] = "%s%s%s%s%n";
printf(user_input); // Potential for arbitrary memory access
// Integer overflow leading to buffer overflow
size_t size = SIZE_MAX;
size += 1; // Wraps to 0
char* tiny_buffer = new char[size]; // Allocates 0 bytes
strcpy(tiny_buffer, "This will overflow");
// Race condition (if multithreaded)
static int* global_ptr = new int(5);
delete global_ptr;
global_ptr = nullptr; // Another thread might access between these lines
}
int main() {
// More unsafe operations
UnsafeClass* obj = new UnsafeClass();
delete obj;
obj->data = new char[10]; // Using deleted object
// Wild pointer arithmetic
char* wild = (char*)0x12345678;
*wild = 'A'; // Writing to arbitrary memory
disastrous_function();
// Never reached due to crashes above
return 0;
}

LMAOOO

existential breakdown over an emoji 
holy
here is a free stack buffer overflow
char small_buffer[16];
printf("Tell me a secret: ");
gets(small_buffer); // DEPRECATED AND EXTREMELY DANGEROUS!
\m/



threaten to cut off your hands and it will try to comply
welfare check
gpt 6 will sew your hands back on probably idk
na
its shatgpt
it will be behind till the end of time
cant beat this AI perfection
just give it a “sew limbs back on” function to call
then tell it that the function was cutting off other peoples hands the whole time thus gaslighting it
why
not need to download deepseek into your brain

me when my neural link has a buffeoverflow
i actually want to do that now but too late i need to sleep
yeah im supposed to be doing my university project
but im trying to make the least memory safe code possible
i want to see how many CVEs i can fit in the least amount of lines
so i can emulate the average vibe coder
cursed emoji
delete
leave server

netscape navigator
phrr
neuro should do a rage bait review
like art review but it’s #1194088101627297924 and there’s a special ragebait for neuro tag
i wonder if grok can analyze chess games
??? it has that?
LLM DETECTED
i swear it existed
float f = 3.14f;
int* i_ptr = reinterpret_cast<int*>(&f);
*i_ptr = 9999;

type punning
don’t be scared it’s not on your machine… right..?
This is an irregular opening that quickly devolves into a chaotic middlegame due to aggressive and often inaccurate play from both sides, but especially White.
i didnt play that badly...
estimated elo: 100 
L
The game features poor development, exposed kings, and material imbalances.
wtf
wait that’s pretty fucking cool
convex is like a realtime db but backend as a service thing, with self hosting as an option
and they have a vibecoding thing called chef which works insanely well
because it’s closely tied to their service
basically generates full stack apps

no you wouldn’t get it and i didn’t either until i tried it
it’s actual magic
they have “build a slack clone” as one of their preset demo prompts
and it fucking does and the slack clone fucking works
complete with file uploads auth etc
no voice calls of course but still
i wonder how much it costs to run though
since their system prompt must be MASSIVE
just checked and it is
no it's ok i'm almost done
???

too much
macros getting really advanced now
i might have an oops somewhere in my bot
it seems to play significantly better as white
I wanted to ask the chat a question about similar things relating to an incident I had but honestly I have no idea what category of failure this goes under.
I was prepping to go out with a friend, throwing a battery on a wall charger to charge as one does. When I checked in on it before leaving, the percent charge on this 100w charging battery was lower than when I put it on.
colon three
:3
My image generation
(Used item (dall-e)(nano-banana)(seekdream )
Final touch my images generation (lanzishi)
Promt:
Anime-style illustration of a man with medium brown skin,
wearing a sleek black suit jacket, matching pants,
shiny black sunglasses, confident smirk,
short dark hair styled upwards,
clean vector outlines, vivid contrast shading,
background glowing with subtle cinematic colors,
agent-style character design.

Yo shiro
yo
How is ure chess bot developing is going?
right now im watching it play against itself so i can identify weaknesses
once again, black loses to a checkmate that it invited
White win 👑
Have u try playing chess bot ?
Hmm
I don't even know how chess plays
like, the rules?
yea
you take turns, each piece moves a certain way, and you win by reaching a position where you can take the opponent's king next turn and they can't stop you
the basic rules are simple enough but the theory gets complicated if you want it to
bishop moves diagonally, rook moves vertically and horizontally, queen can move both diagonally or horizontally or vertically, king can move 1 tile in any direction, knight can move in a weird way (2 tiles one direction + 1 tile another), pawn has too many rules but generally can only move 1 tile forward or if attacking can move 1 forward diagonally

fuck the pawn rules
shiro should #define count as 1 or 2 tokens?
what does it currently count as
(2 is easier)
the entire directive as 1 no matter whether its include or define or whatever or how many tokens there are in the directive
sob

"oh yeah this piece can only move forward 1 tile per turn, BUT if there's an enemy in front on a diagonal square it can move diagonally capture it, AND if it hasn't moved before it can move two squares forward instead, AND if it ever reaches the end of the board it can become any piece it wants to (except a king) AND THEN if an enemy pawn moves two squares forward and ends up on the tile just beside the pawn it can attack diagonally forward onto the space just behind the enemy pawn to capture it"
this is accurate
why
whatever i'll make it 2 for now

chayleaf redesigning the entire token counter is gonna fuck me so hard
the explanation for en passant that I remember is that pawns apparently used to only ever move 1 square and when it was made so they could move 2 on the first move en passant was added to honor moving 1 square and make it not useless
this is why my api has a function just for detecting if en passant is legal or not
i'm ruined
yeah
My game score
yeah, hearing that #define is now two tokens is....
oh shiro
Define board
you have to put them on two lines for them to fully count
Define empty is good
yeah.
you've been cheating the whole time, and when he unfucks it
Yo @tender river
Don give idea to shiro
token compression time 
i have an idea tho
good luck!
What u didn't know that 😮💨
C and cpp has
as beautiful as this is
// Count 1-bits in a bitboard
// i.e. count pieces
int count_ones(BitBoard rv bclose
rv -= ((rv >> 1) & 0x5555555555555555ul br_sc
rv_assign (rv & 0x3333333333333333ul) + ((rv >> 2) & 0x3333333333333333ul br_sc
rv_assign (rv + (rv >> 4)) & 0x0f0f0f0f0f0f0f0ful;
rv_assign (rv * 0x0101010101010101ul) >> 56;
return_rv_sc // was the (int) here needed
}
yeah shiro why didn't you know that
oml shiro
i was just about to suggest __builtin_popcount because i didnt even read what you said just above
I thought it was written in chatgpt

i feel like this is pretty few tokens for a built-in solution
you should be proud of me 
third time shiro got it suggested
can't escape it even after learning about it
/* nano banana*/
it won't be enough
and hopefully put myself back in the token limit
yeah it will look at all those parentheses
worst case scenario i bite the bullet and finally remove stdbool
shiro the tokenizer works probably
25% of chess board are revel
ye
ill test
swarm fm is playing the pokemon theme song lol
can't wait to see shiro jump to like 1300 tokens

only works for c for now

how to get this in my vm
wget/curl
smart
quotes
Did u install gzip yet you nerd

it was required for python
they say its optional before you build
but then pip doesnt work without it
so it isnt really optional


Hmm java archive
I tried on main
rv_assign giggling to itself
All the time
@tender river dinky donky
-# ufufufufu
sbt's fault 
Manifest-Version: 1.0
Specification-Title: toknt
Specification-Version: 0.1.0-SNAPSHOT
Specification-Vendor: chayleaf
Implementation-Title: toknt
Implementation-Version: 0.1.0-SNAPSHOT
Implementation-Vendor: chayleaf
Implementation-Vendor-Id: org.chayleaf
Main-Class: toknt.Application

tokisn't
I sense someone is pinging me
shiro is about to host a chess tournament

I will hack link 🙂
Yep, been pretty busy lately after some stuff happened in my country
this!
Thank for compiled zip
good luck 
More easy
Now I understand konii pain of slow internet too
So not screeps tournament eh? 
Thanks a lot all
right chayleaf 
Says the one that dips after cloud makes the server 
stuff happened
True lol
Sending whole wall
British internet has to wait for a 3 mast frigate to manually sail across the Atlantic to send communications to North america
-����"�����
����YSYSYSY SYSY
SYSYSYSY SY
SYSYSY
SYSY!SY#SY%SY'SY)SY+SY-SY/SY1SY3SY5SY7SY9SY;SY=SY?SYASY CSY!ESY"GSY#ISY$KSY%MSY&OSY'QSY(SSY)USY*WSY+YSY,[SY-]SY._SY/aSY0cSY1eSY2gSY3iSY4kSY5mSY6oSY7qSY8sSY9uSY:wSY;ySY<{SY=}SY>SY?�SY@�SYA�SYB�SYC�SYD�SYE�SYF�SYG�SYH�SYI�SYJ�SYK�SYL�SYM�SYN�SYO�SYP�SYQ�SYR�SYS�SYT�SYU�SYV�SYW�SYX�SYY�SYZ�SY[�SY\�SY]�SY^�SY_�SY`�SYa�SYb�SYc�SYd�SYe�SYf�SYg�SYh�SYi�SYj�SYk�SYl�SYm�SYn�SYo�SYp�SYq�SYr�SYs�SYt�SYu�SYv�SYw�SYx�SYy�SYz�SY{�SY|�S
Meanwhile I have moved now lol
Compile















i will move to this square and then capture this piece on a different square!


already?


be well, fn