#programming

1 messages · Page 200 of 1

clear sedge
#

some people just don't want children

#

it's not that deep

stray dragon
#

ah i see

opaque sigil
#

if you use msvc you deserve to have your stuff break neuroPogHD

trim valve
#

preproc_arg doesn't have to be valid syntax does it?

tender river
#

it can still be tokenized surely

clear sedge
#

fuck msvc

#

all my homies hate msvc

real sierra
#

within tcount I mean

clear sedge
#
──────────────────────
 Group  Files  Tokens 
──────────────────────
 C          1   12718 
──────────────────────```
#

it's beautiful

tender river
#

but i can do it

real sierra
#

aura

clear sedge
#

including math.h makes it 24456

tender river
#

or should it be bytes to match strings neuroThink

trim valve
tender river
real sierra
#

I think a reasonable bound is max 64 bits per token

#

regardless of data type

tender river
real sierra
#

chale eef

stray dragon
#

now i'm curious how many tokens that could save you

#

1066 tokens from 2334 characters (for my program) to probably 292 (2334/8) + 200 (for the decoding mechanism) tokens

#

saying 200 for the decoding mechanism because you'd need to do that garbage in a fitting language like javascript

hollow spruce
clear sedge
#

me when i don't have explorer.exe

stark needle
#

no more exploring :(

real sierra
#

but did add a stipulation that you can write your own VM if you want

real sierra
#

a custom vm is surprisingly efficient

#

token-wise that is

#

its almost like using defines but taken to the extreme

#

you collect the most common and vital operations and index them with opcodes

#

a few fixed registers lets you define minimal variables

#

you can map chess API functions to opcodes too

#

and then the opcodes themselves can probably be easily packed to one byte each, if not less

warped narwhal
#

I'm watching it. It's pretty good

sage crag
#

hbvm has 119 instructions

real sierra
#

well I guess you can compress opcode and args into a byte

sage crag
#

its actually very easy as long as you ensure opcodes are constant length

real sierra
#

then mask and switch

sage crag
#

its common for vms to have 255 or more registers

real sierra
#

that's where h1vm comes in

sage crag
#

hbvm has 255 registers

real sierra
#

if you write a VM you probably need a compiler too

sage crag
#

if i was writing a vm i would write a better one than hbvm for this

#

specialisation

real sierra
#

workload 📈

sage crag
real sierra
#

which functions

sage crag
#

ive handwritten hbvm programs before

real sierra
#

fewer opcodes the better

sage crag
#

and map some math ops to instructions

#

like log, sqrt

clear sedge
#

all this is making me wish to continue work on my nes emulator

#

written in c, naturally

real sierra
#

how store

sage crag
sage crag
real sierra
#

malloc and free instructions

sage crag
#

ye

#

most non-systems vms have something similar

#

the more high level the vm instructions are the easier it is to JIT

clear sedge
clear sedge
#

no proof

sage crag
#

no proof required my code is simply faster

real sierra
#

I want write code but also want sleep

#

but have class Sadgi

#

how do

sage crag
clear sedge
#

i am currently unemployed AND not in college so i have all the time in the world to write code

#

just be like me

#

duh

sage crag
olive sable
sage crag
real sierra
#

map most common operations to opcodes with long sequences of repeated bits

#

I guess that's probably not worth tho

olive sable
#

im in my college's discord now and there are too many people i have mutual servers with enub
more than 10 are in neurocord, the majorty is in the satisfactory server tho ICANT

real sierra
#

I don't think RLE actually helps at all

real sierra
#

instantly destroy my public image

olive sable
#

im lucky that i have a mostly presentable account

#

some people in that server tho...

sage crag
#

huffman coding or dictionary mapping would be better

#

not sure how small i can write either of those

real sierra
#

Huffman coding would be smart yeah

sage crag
#

there are better alternatives but its above my paygrade

olive sable
#

what is a huff man?

#

oh its like a tree

real sierra
#

buff man encoding GIGACHAD

clear sedge
clear sedge
real sierra
#

but yeah the VM approach is incredibly valid

#

surprisingly non gimmick

olive sable
clear sedge
#

it is, by definition, compressing

#

and the file is contained within the storage medium

olive sable
#

ok but you're not compressing the file

clear sedge
#

yes i am

#

it just becomes unreadable afterwards

#

i call this fully lossy encoding

olive sable
#

you're compressing the plane of existance the file is on, not the file itself

real sierra
#

makes me think of degeneracy pressure

olive sable
#

makes you think of what?

tender river
real sierra
#

the force that keeps white dwarfs from turning into black holes

olive sable
#

never thought the word "degeneracy" woudl be somethign to do with quantum mechanics

olive sable
#

im required to bring "a mouse with 2 buttons and a scroll wheel" WHAT

#

the only mouse i own is connected to my pc

real sierra
#

unplug it

#

your PC isn't using it if you're not there

olive sable
#

i did cable manage everything really nicely tho bwaadow

real sierra
#

then you know how to cable manage it a second time neuroHypers

olive sable
#

i also have liek a full 8 buttons on here

#

impresive i know

real sierra
#

I've never found bonus mouse buttons useful

opaque sigil
#

too many buttons

real sierra
#

I can't retrain my brain to use them

opaque sigil
#

need a new mouse

real sierra
#

@tender river tcount update?

olive sable
#

ye me neither. i use left click and right click, and once every 4 months the dpi button cuz i pressed itby mistake and have to put it back

olive sable
real sierra
# rigid snow

"apple switched to USB instead of their proprietary format" is the craziest part of this

#

modern apple could not comprehend

rigid snow
#

1998 DINKDONK

#

oh

olive sable
#

im required to install adobe photoshop neuro7

#

pureref and sketchfab too but those are mostly cool i think

rigid snow
#

still no scroll wheel and left click only

olive sable
#

that aint left click

#

thats just click

real sierra
#

they were trying

#

baby's first mouse

#

damn that makes usb 2.0 look old as hell

olive sable
real sierra
#

im sad

olive sable
#

oh nah i watched pixels

#

was mid tho

real sierra
#

I don't think transposition tables will help my bot

#

I don't have a good way to apply them

#

just have to pray that tree reroot gives me the performance gain I'm looking for

#

maybe I can be more clever with time too

rigid snow
# real sierra they were trying

the context menu didn't exist on mac os for the longest time and when it did become a thing you were supposed to use alt+click i think? and for scrolling you're supposed to manually drag the scroll bar

#

people definitely used macs back then so it must have been a good enough experience glueless

real sierra
#

I really want to use something like transposition tables tho

#

thanks discord

#

it just seems like such a free speedup

hollow spruce
#

Yo

frail mortar
#

coding is hard

#

but I'm learning. Progress img.

nocturne olive
#

EvilSynth getting serious use before Vedal releases Neuro V3 voice

#

How silly

hollow spruce
frail mortar
hollow spruce
frail mortar
#

its 2 am where you are?

#

Beijing?

hollow spruce
frail mortar
#

your doing your pip installs?

hollow spruce
#

Yea

rigid snow
#

doing his daily pip installs

#

chore

hollow spruce
frail mortar
#

Tough stuff. I had a hard time learning all the things I needed

#

have fun @hollow spruce

hollow spruce
#

Have headache

frail mortar
#

LOL

hollow spruce
#

Install all things for 4housrs

frail mortar
#

i think mine never went away

#

Its super rewarding when you get to use the thing you built. Keep it up. Learn well, and bugs happen.

hollow spruce
#

Im making ai from scratch 😂
But I think i will make next day or any time

#

Water time

#

No adb shell this time cursor

#

Cursor error update FAILED

frail mortar
#

is it being installed in the right directory?

nocturne olive
clear sedge
#

chat

#

controversial opinion

#

i think using chatbots to help you program shit is ethically wrong in the same way using chatbots / image generators to help you draw is ethically wrong

stray dragon
#

so not at all, then

clear sedge
#

it's built off of others' art

#

without permission

olive sable
#

its not ehically wrong in itslef, the way companies get the data to amke the programs function is wrong

stray dragon
#

if you're gonna use ai generated images directly? shame on you

olive sable
#

it is possible to make one that is ethical

stray dragon
#

if you're using it as a tool, or a reference?

#

fine

#

zero problem

clear sedge
#

too lax, it's trained unethically therefore it is unethical to use it

stray dragon
#

human effort was involved, and the work is transformative

maiden geyser
olive sable
stray dragon
#

rather than arguing against using models trained off of stolen data, i'd argue against the existence of those models in the first place

#

using a model with stolen data doesn't make me a data stealer

#

lay that blame right on the people that stole the data

maiden geyser
#

there is no point in any AI that isn't an rvc

olive sable
#

bruh

nocturne olive
clear sedge
nocturne olive
clear sedge
#

vocal synths are fine

#

they're most often made with permission

#

and people who use it are actual artists just using it as an instrument

nocturne olive
#

Vocal synths are great, they aren't like those stupid song generator AIs

maiden geyser
nocturne olive
#

You hate Teto??

clear sedge
#

why the teto hate :(

maiden geyser
#

she burnt down my house

#

or something

stray dragon
olive sable
# clear sedge you're supporting the data stealers

ok but like, if you buy a chicken mcnugget you're supporting an industry where thousands of animals live and die unethically. that doesnt mean i will stop eating chicken.
i feel the same way about ai

clear sedge
stray dragon
#

pretty sure they're mostly paid for by investors, not by the actual consumers

nocturne olive
stray dragon
nocturne olive
#

https://www.youtube.com/watch?v=b1HNHqSdGW4
I sure do like my vocal synthesizers

this has gotta be one of my fav covers i've ever done... and its even got special vocals! swarm is the most dedicated fanbase. ABSOLUTE CINEMA 💜

come chat w/ me on discord if u like! discord.gg/8ry5dn3UjA

NeuroSynth-BETA-3 developed by Superbox & Wispers
(actually amazing work btw)

Motifs:
Raise Up Your Bat (Toby Fox)

SUPER COOL ART BY O...

▶ Play video
clear sedge
#

then don't use any model at all unless it's trained on data you own or have permissions to

olive sable
#

nah bro has to get his plug in neurOMEGALUL

stray dragon
#

i can hate youtube as a company and use youtube as a platform at the same time

nocturne olive
stray dragon
#

you don't gotta pick one or the other

clear sedge
#

why do you need ai though?

stray dragon
#

i don't

rigid snow
#

gen ai le bad superbox you should sleep on the warm side of the pillow now

stray dragon
#

i never use it in the way you're suggesting

nocturne olive
nocturne olive
clear sedge
#

i never use it period. i don't need it, it's most often trained unethically, it's shoved in my face when it makes my workflow slower

stray dragon
#

cool

maiden geyser
stray dragon
nocturne olive
stray dragon
#

and you can also just blame the company itself, usually works

rigid snow
#

look what superbox does is cool, does it matter if he technically has no permission to use the voice? news flash, neither fucking does vedal

nocturne olive
#

Yeah technically if it's stealing it's transitive stealing

#

Stealing what's already been stolen

#

I don't think of it as stealing though
NeuroSynth is to allow the community to do what they couldn't before

clear sedge
#

speech synthesis is fine as long as it's either

  1. trained with the author's consent
  2. completely synthetic
stray dragon
#

don't really get the whole "that data is STOLEN it is unethical to use it" thing in the first place, if it's online and it is freely accessible then that is on you

rigid snow
stray dragon
#

you could argue against data from sites that gather paid content for free, yeah

nocturne olive
stray dragon
#

actually i shouldn't mention that by name

clear sedge
rigid snow
nocturne olive
#

Well, the data is synthetic because it's from a synthesizer

clear sedge
#

arguable, not the use of synthetic i intended

nocturne olive
#

I mean how would you even generate synthetic machine learning model data for a complex model without a machine learning model?

#

Either way, Vedal made Neuro's singing voice, so I see no problem in making another Neuro singing voice

maiden geyser
clear sedge
#

machine learning models are not inherently unethical

#

i wouldn't know how to generate completely synthetic speech though

rigid snow
# clear sedge i don't even know the author of hatsune miku's voice

the thing with miku is there IS a va, with neuro its:

  1. a VA who recorded training data for microsoft tts ashley voice
  2. vedal modified the pitch parameter, transforming it so much there is little resemblance to the VA already
  3. not sure who exactly at this point but someone trained a voice synth model based on the vedal's variant
  4. this model gets used by pb to cover songs as neuro
  5. covers get their vocals extracted and either: an rvc model gets trained on them, or neurosynth gets trained directly
  6. if rvc, rvc model gets used to generate training data for neurosynth
clear sedge
nocturne olive
rigid snow
#

are you doing this because it's difficult to "annotate" covers so you plop an rvc voice onto an already existing "annotated" vocal track

#

or just because

#

or too little covers

#

idk how training data looks for voice synths though

nocturne olive
rigid snow
#

is it just phonemes

#

oh pitch detection right

nocturne olive
#

Yeah phonemes
Pitch is automatic

rigid snow
#

phonemes could be automized

#

with a comprehensive enough lyrics file

nocturne olive
#

There's a tool to create a basic phoneme transcription, but it won't get the timings quite right and will make mistakes

#

Did I mention the timings need to be accurate?

rigid snow
nocturne olive
rigid snow
nocturne olive
#

Well all of this stuff needs to be manually touched even though there is a tool to transcribe with semi-decent accuracy, but semi-decent is not sufficient

#

The output has to be manually gone trough to fix it up

rigid snow
#

it's definitely easier to work with a mostly accurate transcription than with literally nothing

nocturne olive
#

Yeah that's why we do it in the first place

#

Though so far Wispers has not gotten much progress after his drive with the dataset on it died

#

I'm sure we'll get there eventually though, and hopefully there's enough A#5 to finally get us that

rigid snow
#

does the rvc model fail to hit a#5

nocturne olive
#

No, the base data lacks enough A#5, there's like one of them

rigid snow
#

i still think it could be extrapolated easily

nocturne olive
#

Maybe, but so far what we've done has not been enough

#

If you somehow know anyone that would be willing to work on the manual parts of the data transcription that would be kinda great considering Wispers is busy these times of the year

rigid snow
#

i am very not adjacent to voice synthesis, i am kind of in a different genre

nocturne olive
#

It kinda takes knowing phonetics to do vocal synthesis
I'm starting to get reasonable at it but I'm still very new to it

rigid snow
#

holy compression

rigid snow
nocturne olive
rigid snow
#

OHH then just pitch the base songs??

nocturne olive
rigid snow
#

what's the problem?

nocturne olive
#

Wispers is just busy

rigid snow
#

literally every rvc tool i used has a pitch parameter

nocturne olive
#

Yeah so does Applio

rigid snow
#

which just pitches the input audio

nocturne olive
#

It adds to the internal pitch curve rather than the rendered audio pitch

rigid snow
#

does it

rigid snow
nocturne olive
#

Well, why wouldn't it? That's the most non-disturbing way to do it

rigid snow
#

tbf i don't have a slightest clue how rvc works

nocturne olive
#

The RVC model is fed feature and pitch information, and it retreives segments of audio from its index to fill it in

#

Retreival-based Voice Changer

#

Before conversion, the pitch and feature information is inferred separately from the input audio, so the pitch can be added to before feeding

rough bloom
nocturne olive
#

Yeah something like that

rough bloom
#

it's core tech for your covers, get it right neuroSMH

nocturne olive
#

Eh, not any more

#

NeuroSynth is the new core tech

#

For a while though it was annoying that there was no GPU rendering on Linux for NeuroSynth, so I recently added it in myself
That sure was a lot of effort but completely worth it for over real-time speeds

#

No more waiting a minute for an edit to a segment to render

#

I can finally be productive

real sierra
#

I think I figured it out after reading some papers on MCTS

stark needle
#
poll_question_text

Would you buy this

victor_answer_votes

3

total_votes

3

victor_answer_id

2

victor_answer_text

No

real sierra
#

I can store unified performance data for a state in a hash table

#

instead of in particular tree nodes

#

that would eliminate a whole bunch of useless moves ideally

obsidian mantle
#

Is this bot or api related

real sierra
#

bot related

#

api-related is im fixing the pins issue right now

mighty thorn
#

We should make the most intentionally poorly optimized game engine ever

#

Like ever frame it redoes the entire scene

#

Lighting is ray traced without any of the visual benefit

#

Etc

real sierra
#

probably not fun when taken to its limit

#

only sorting function is bogobogosort

#

hit first array sort and wait for 1 universe lifetime

#

you wouldn't get a single frame

#

i think the best outcome is actually a really well optimized engine that makes the problems extremely obvious

#

like really obvious artifacting

#

reversed mipmap where high res textures are only used at distance

#

maximum screen tearing

#

you could even have the world's shittiest AI frame gen for max motion sickness

#

@trim valve pushed fix

trim valve
#

🙏

real sierra
#

good job on finding these bugs btw

#

all very rare positions

#

that last position, the only legal move was for a piece being pinned to move

#

crazy

olive sable
#

im installing creative cloud, i'm now an adobe user catdespair

olive sable
#

school

real sierra
#

condolences

opaque sigil
#

my uni cancelled their adobe contract this month so no free creative cloud anymore FOCUS

olive sable
opaque sigil
#

i use photoshop maybe once a year tbf so not much lost there

trim valve
#
uci
ucinewgame
position fen 3kqb1r/2p4p/rpb5/p1PppP2/PB1Kn3/1P1PPp1P/1R6/1N2QBNR w - e6 0 25
go infinite
#

@real sierra forced en passant om

real sierra
#

🥀 wtf

#

always en passant

#

this is a CRAZY position

#

forced en passant

trim valve
#

that took 8k games to find as well

real sierra
#

huh

#

thats rare

#

it's a flaw with the pseudo-legal move finder

#

it's not seeing the move

#

wait this is so complicated

#

because

#

TheVoices wtf

#

you can have situations where

#

the piece you want to capture with en passant

#

is pinned to the king

#

and then you cant take it

#

what a dumb rule

#

worst chess feature

trim valve
real sierra
#

have to throw all the other logic out the window

#

this is why i have a separate function JUST for evaluating if en passant is legal

#

but it only happens in

#

REALLY SPECIFIC cases

#

because other times you CAN take that piece

#

depending on the pin direction

#

vertical pin = en passant pinned piece capture ok

#

other pin = bad

trim valve
#

shiro if its any consolation I've sucessfully played 25k games without crashing

real sierra
trim valve
#

it was just insane luck it found that position

real sierra
#

last bug?

trim valve
#

1B1q1b2/3k1pR1/3pp3/p1pP1brp/1pPK1PnP/1P2P1n1/P5B1/RN1Q4 w - c6 0 35 it died at 27k to another forced en passant

#
Player: rust-chess-bot (release) (a)
   "Draw by 3-fold repetition": 22158
   "Draw by fifty moves rule": 228
   "Draw by insufficient mating material": 1010
   "Draw by stalemate": 509
   "Loss: Black mates": 754
   "Loss: White mates": 769
   "No result": 2
   "Win: Black mates": 785
   "Win: White disconnects": 1
   "Win: White mates": 771

om

real sierra
#

1/27000 chance

#

ok i think i fixed the legal move generator, now for the pseudo-legal move generator

#

i legit dont know whats wrong here

#

OH

#

no wait i still dont know

#

im ordering food this is hurting me

#

actually

#

im not sure ive ever had to load an en passant square from a fen

#

does this even work right

#

n neurOMEGALUL

#

good try lil buddy

#

starts working immediately

#

crazy

real sierra
#

not only is the white king in check

#

but the only way out of the check is en passant

#

and after this forced move

#

the pawn that just did en passant puts the black king in check

#

bro is a pawn

#

does not need to be doing all that

opaque sigil
real sierra
#

@trim valve pushed new

opaque sigil
#

i wonder if they're doing some -ffast-math-esque shenanigans

trim valve
#

trying to decide if I should sleep or set off a new chess fuzzing round

olive sable
#

Sleep

#

Goodnight Sleep

warped narwhal
#

ah yes, this error makes perfect sense! mhm

#

the guild was incorrectly identified as a guild!

sage crag
#

new colour

#

no longer even number

real sierra
#

20 tokens to implement this feature

sage crag
real sierra
#

BigBrain save tokens by reusing existing variables

sage crag
real sierra
#

code almost all macros now

sage crag
#

this is awful

real sierra
#

saves tokens

#

wait

#

= NULL; can just be eq_0_sc

sage crag
#

shr

real sierra
#

konii konii

sage crag
#

#define int_i int i

sage crag
real sierra
#

i use i for all my loops already so int i already part of macro YES

#

it not in many function defs

sage crag
#
int x(a, b) int a; int b; {
}

apparently this is valid c

real sierra
#

in fact it only in that function def

sage crag
#

im wondering if there's a way to abuse it

real sierra
#

how is that valid

sage crag
#

ye it just is

#
int x(a, b) int a, b; {
    return a + b;
}

holy

#

this is also valid

#

does that save tokens yet

real sierra
#

noper

#

every param needs its name twice now

#

tho

#

actually

warped narwhal
real sierra
#

int a, b; --> #define ints(__VA_ARGS__) ) int __VA_ARGS__ ; {

sage crag
real sierra
#

is argv mutable

sage crag
#

wait

#

it may be

#

its on the program stack

#

argv => **char

real sierra
#

so

#

that means

#

*argv is large enough to hold a pointer

#

OK new storage unlocked

sage crag
#

if you compile with -std=c89 or -stc=c90

#

int is implicit return type in function declaration

#
main() {
  return 0;
}

valid okp

real sierra
#

using c23

sage crag
real sierra
#

too many tokens NOOO

#

gotta simplify this condition

sage crag
stray dragon
#

some macros and a few more features later and i don't think i can really push it down any further without a big redesign

#

just needs actual testing because i have STILL never run this thing once

real sierra
#

im at 1036 tokens

#

need to shave 12

stray dragon
#

good luck lol

real sierra
#

or it crashes

#

need to fix the bug whatever it is

#

why crashing Sadgi

fast pagoda
#

i like how .uk tlds are just inexplicably half price of everything else

fast pagoda
sage crag
real sierra
#

oh duh

#

im dum

fast pagoda
#

half price rooks

real sierra
#

no it didnt fix it

#

why crash Sadgi

fast pagoda
#

bro did i miss the part where it's time to make these chess beasts in the 12 hours ive been away

#

link

real sierra
#

nah im just working on my submission a bit early

fast pagoda
#

that's illegal

real sierra
#

i figure ill have to spend tons of time bugfixing and doing Q&A during the contest

#

so i think it balances out

#

i also need to make sure there's no features the API is lacking

fast pagoda
#

i will respond to hate mail slightly less effectively

real sierra
#

what better way to test than leveraging it

fast pagoda
#

as long as i didnt somehow miss the entire contest LULE

stray dragon
#

official shiro api when

fast pagoda
#

modmail

stray dragon
#

shiro api is_birthday function that always returns true when

fast pagoda
#

you never know, sometimes i come back and there's been a tangent about triangles for 16 hours straight and i missed everything

sage crag
#
#define next ;goto *optable[*pc++];

#define concat_inner(a, b) a##b
#define concat(...) concat_inner(__VA_ARGS__)

#define op(...) concat(op, __COUNTER__): __VA_ARGS__ next

void vm_run(unsigned *pc) {
    void *optable[] = {
        &&op0, &&op1
    }
    next
    op(return)
    op(printf("hello!\n"))
}

its almost so pretty but

#

computed goto is such a waste of tokens

fast pagoda
#

yeah i go by factory time

real sierra
#

im so lost

#

i broke malloc?

sick owl
#
#

Releasing a device without GPU drivers compatible with its OS is crazy work

fast pagoda
sick owl
#

:juh:

fast pagoda
#

google and making the most asinine hardware choices just to give people a thing to shit on every pixel for

#

name a more iconic duo

fast pagoda
real sierra
#

not really

#

sure what i do about that

fast pagoda
#

well after

sick owl
#

It stays at 396 MHz under load rn neurOMEGALUL

#

No wonder early review benches were underwhelming

fast pagoda
#

ionno but something aint purty in the free memory list that malloc read at #6 so it's wrong somehow

real sierra
#

this is the other thread

fast pagoda
fast pagoda
# real sierra

well it cancelled properly when the other thread exploded lol but it doesnt look like anything else happened in this thread besides chilling like a boss

real sierra
#

how broke malloc

#

OH

#

figured out

#

when reroot, make child new root

#

but didnt clear old parent of child which points to garbage now

fast pagoda
#

garbage collection is fun :^)

real sierra
#

its kinda amazing how you can always find a few more tokens

#

i remembered calloc exists and wiped a line

#

also replaced all sizeof with numbers catdespair

fast pagoda
#

god dammit of course GPG added the accidental space i entered after my passphrase when generating the key... to the passphrase
ive been so confused till i went and highlighted what i had entered in my terminal again

#

reeeee

real sierra
#

@stray dragon how strong is your bot

#

have you tested it at all yet

sage crag
#

my vm is so busted

real sierra
#

MONKA ?

sage crag
#

i can fit so much code in here

fast pagoda
#

that's not the kind of busted i expected

sage crag
#

if i implement a streaming decompressor for the bytecode i can get even more

real sierra
#

im terrified

#

how much code do you need tho

fast pagoda
#

how big is stockfish

real sierra
#

gonna be hard to write the assembly

sage crag
#

evilShrug not sure i've only written a chess bot once

sage crag
real sierra
#

theres a certain irony to an interpreted assembler

sage crag
#

little sneak peak into terror

uint8_t *pc = (uint64_t[]){ 0x0000000000000001 };
quiet mirage
fast pagoda
#

sometimes

real sierra
#

stockfish does its general position eval using neural nets i think

#

on top of every other optimization, of course

fast pagoda
#

currently it does yeah in the new ones

real sierra
#

yeah

#

seems to be the way most good chess engines are leaning

#

machine learning position eval

#

meanwhile my bot still cant figure out endgames Gladge

quiet mirage
#

its like NNUE right

fast pagoda
#

yes

quiet mirage
#

funny

sage crag
#

the vm source code file is 270 bytes neuroPogHD

#

it doesnt do anything yet though...

#

because i dont have a certain api MyHonestReaction

fast pagoda
#

someone came up with it for shogi and they slapped it on chess and it went crazy
super small network

#

use this in conversation with normies: Lizard SCReLU

quiet mirage
#

my friend use define mydih long long

fast pagoda
#

heh heh

#

alright time to read up on chess engines more since it seems close and ive been lazy

stray dragon
real sierra
#

right

stray dragon
#

i imagine it'll be fairly good, searches up to 7 turns ahead with pruning and an evaluation function that uses a 720 parameter FFN

real sierra
#

i keep forgetting i havent started the contest yet

quiet mirage
#

yall creating a chess bot?

real sierra
#

omg toki

#

have you not heard why i keep talking about chess 24/7

stray dragon
#

hi new

fast pagoda
#

shiro has been agonizing over an API for a chess bot tournament with token limitations (single source file, 1024 tokens? submissions) in w/e language that can talk to the api

real sierra
#

nono this is something recent

#

so recent it hasnt happened yet

#

yes what afunyun said

#

chess bot tournament neuroHypers

#

coming soon

fast pagoda
#

is it 1024 tokens for sure

real sierra
#

chayleaf is making some modifications to the token counter

#

so depending on how that plays out it may vary

#

but its probably 1024

#

and certainly not smaller

sage crag
#

more compiler warnings means better usage of tokens

quiet mirage
real sierra
#

open to everyone!

stray dragon
real sierra
#

it just hasnt started yet

quiet mirage
fast pagoda
real sierra
#

there'll be an event ping for it when it starts mhm

sage crag
real sierra
#

comments are not allowed in this language

#

compiler-enforced lack of documentation

#

as it should be

fast pagoda
#

that's what separates us from the other hominid class great apes
the ability to intentionally confound compilers for fun and profit

quiet mirage
fast pagoda
stray dragon
real sierra
#

i googled opening books to find some for the tournament, how did i end up here NAHH

fast pagoda
#

(t is in a hospital for hallucinations)

fast pagoda
#

damn $190 for a fully featured, assembled AND tested tape drive controller with all that connectivity

quiet mirage
fast pagoda
#

where do i mail the order

#

oh it's at the bottom

#

thank goodness

#

wonder if they're still taking orders

stray dragon
#

maybe i should just make a silly improvised version of the api just to run tests

fast pagoda
#

make a shitty one that works better than the real one

#

ruin shiro's life

sage crag
#

im going to make the only vm operand type be f64 evilWheeze

sage crag
fast pagoda
#

the real long long

sage crag
#

is a register machine even good idea

#

or should i just make a stack machine

real sierra
#

you can still type convert it cant you

sage crag
#

ye

real sierra
#

OK then fine

#
registers[(int) fval];
sage crag
#

well i mean for the obvious case of operands im gonna do bitpacking instead of a full f64

#

but like, immediate operands

#

f64 evilNod

real sierra
#

sus why do you need floats anyway...

fast pagoda
#

yeah i move 0011111111110000000000000000000000000000000000000000000000000000 to e4

real sierra
#

do you really need floats for eval

#

just use large ints

stray dragon
sage crag
#

only chess bot ive written used fp eval but im down to write int only eval

real sierra
#

then the remainder doesnt matter much

sage crag
#

fixed point isnt really

#

uh

#

good

#

for token usage that is

real sierra
#

OK it fine

#

it perfect

sage crag
#

why do i see so much for(;;) when while(1) is less tokens

#

i should just assume bot never exits catdespair

fast pagoda
#

all tokens to the translation layer

sage crag
fast pagoda
#

hello!

real sierra
sage crag
#

hello!

real sierra
#

hello!

#

Happie 💬

fast pagoda
#

what a strapping young lad

real sierra
#

hello!

fast pagoda
#

hello!

real sierra
#

h1vm is real FeelsStrongMan

sage crag
#

it has no registers

#

do vms even need registers

real sierra
#

i also cant remember anything

#

i understnad

fast pagoda
#

who needs registers when you have fighting spirit

sage crag
#

really it only needs memory ops

#

heap machine

fast pagoda
#

is that really just supposed to be an enum but eliv

#

i'm so fuckin dumb man

real sierra
#

if you think about it, get_legal_moves() just allocates and returns a buffer

#

doesnt explicitly say what to do with it

sage crag
#

lord writing this bot is gonna be hell

real sierra
#

do you want the api header by chance

#

to help you along

fast pagoda
#

shiro i am sure your documentation will be tip top and well researched + approved by committee?

sage crag
#

competition didnt start yet

real sierra
#

true

#

i need a timeline from chay on the tcount changes

#

and i need bred to fuzz the api again
]

#

because i think i introduced a new bug somehow NeuroBwaa

#

or my bot just sucks Om

fast pagoda
#

your malloc bug earlier could have ended up as a nice CVE

sage crag
#
/*print*/ op(__builtin_printf("hello!\n"))
/*go back*/ op(pc-=2)

my code is

#

:mhm:

sage crag
#

yup

#

chess programs expecting UCI and they just get

hello!
hello!
hello!
...
real sierra
#

UCI spec does define a command
info string <yourstringhere> \n

#

which just prints the string to the gui allegedly

sage crag
real sierra
#

endgame fail again dejj

#

cannot solve these

fast pagoda
#

i plan on introducing chaos into my moves (theyre not wrong theyre intentionally chaotic using fuzzy logic adapted from japanese traditional art of fuzzy rice cooker logic)

#

rng -> forfeit true combo

sage crag
fast pagoda
#

collusion

real sierra
sage crag
real sierra
#

big change is that the docs now use doxygen formatting so vscode renders function defs nicely on hover

fast pagoda
#

bespoke

real sierra
#

catdespair my bot just lost to the random bot

fast pagoda
#

destroyed

real sierra
#

its so annoying

fast pagoda
#

he's just like me fr though

real sierra
#

my bot is great at wiping up material

#

but then it gets to the endgame and just

#

shuffles pieces around until draw

fast pagoda
#

wasnt that neuro's problem last time she was chess engining

real sierra
#

dont remember

#

ages ago now

fast pagoda
#

im pretty sure she had the same issue and couldnt close a game worth shit

real sierra
#

yea closing games hard apparently

#

a good heuristic i saw for endgame stage is to reward the enemy king being far from the center

#

but that kind of mechanism doesnt make sense in my framework

fast pagoda
#

i will take that to mean heuristics in general are incompatible with your framework mhm

real sierra
#

mhm thats pretty much what it means outside of some things

fast pagoda
#

i like it

#

these games will be something else

#

magnus will be in attendance i hope

real sierra
#

what did i just witness

#

my bot drew the game on purpose?

#

??????????

fast pagoda
#

better than loss

real sierra
#

no its not

#

that was a win in the bag

fast pagoda
#

he's just a baby maybe something made it think it was boutta lose

#

the one heuristic left betrayed him

real sierra
#

white to play

#

in this position do you go for a draw

fast pagoda
#

oh yeah unwinnable really

#

lol

real sierra
#

literally

fast pagoda
#

got nerves due to winning too hard

real sierra
#

f7

#

and then f8

#

and its mate

fast pagoda
#

ff15 boys pack it in

real sierra
#

but my bot pulls this shit

#

5 minutes on the clock and it spends under a second on each of those moves

#

throw

real sierra
#

what if i dont propogate draws anymore

#

so drawn games are just replayed

fast pagoda
#

malicious tournament denial of service through draws

real sierra
#

i just need my bot to not be scared of winning

fast pagoda
#

trap the vmbot in the eternal draw dungeon

#

maybe he just never thought he'd have such a good position so he shit himself

#

happens to the best of us

#

it's only human

real sierra
#

i think this is a bad change

#

the draw propogation is important mhm

#

a move frequently leading to draws is info too

#

i wonder if putting a hard cap on the search horizon would help

fast pagoda
#

i can only think that something about how it evaluated that particular board position is off bigtime

if it's properly evaluating a draw as like 0 it has to have somehow came to the conclusion that moving queen to f7 is worse than that

#

i think it might actually be too shallow of a search being the problem

real sierra
#

you know what

#

how about i just count draws as bad outcomes for everyone

#

bad for me

#

bad for you

#

nobody wants a draw

#

out for blood

fast pagoda
#

now that's thinking with your sledgehammer

#

but yeah i think if it was searching for possible moves after queen->f7 it must've hit some weird scary spooky board state before it ever found the correct queen->f8 win condition

real sierra
#

well i didnt learn anything from this game Om

real sierra
#

im not using a traditional search tree with iterative deepening

#

in particular my algorithm is very up to random chance

fast pagoda
#

ok i now want to have a diffusion sampling based bot

real sierra
#

oh

#

no i know why i cant win endgames

#

its my tie breaking method

#

basically

#

if we reach a stalemate position but have significantly more material

#

we consider it a win

#

because something went right and we can probably win with at least part of that move sequence

fast pagoda
#

so basically draw wasn't 0

#

not truly

real sierra
#

well no this is separate from actual draws ish

#

this is just counting some draws as not draws

#

before i was talking about how i handle actual draws

#

but uh

#

the problem with this method is that it looks at absolute material instead of a material delta

#

and in the endgame after i eat all the enemy pieces

#

i always have way more

fast pagoda
#

hoarderbot9000

real sierra
#

so every move sequence, even ones that draw

#

count for max points

#

i probably need to eval my current material at the start and look for change in material

fast pagoda
#

man he was absolutely pogging after that draw and you just ruined his whole parade yelling at him

#

poor thing

real sierra
#

LOL dumbass bot

stray dragon
#

man i don't wanna make my own board functions for this.

real sierra
#

for what

stray dragon
#

i want to test but i have no way to test

#

because

real sierra
#

Tomfoolery Tssk no testing until the contest starts

stray dragon
#

smh you asked me how good it was

real sierra
#

i know i keep forgetting

stray dragon
#

finish the api smhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh

real sierra
#

i just need chayleaf to tell me tcount is done

#

or tell me tcount wont be done

stray dragon
#

wait that's it?

real sierra
#

and then i need bred to fuzz the api and find bugs

#

to make sure theres no more

stray dragon
#

oh

real sierra
#

theres very few left i think

#

but maybe 1 or 2 somewhere

#

that or my bot is broken

#

likely the latter

fast pagoda
#

thinking about it honestly draws being BAD rather than meh is probably good in the context of how limited the bots themselves are able to be within the token limit

real sierra
#

just lost to random again AINTNOWAY

#

idea

#

lichess analysis board

fast pagoda
#

new GIGANEURO
improved GIGAEVIL
worse than random GIGAVEDAL Looking

real sierra
#

give me your stockfish knowledge

#

who makes better moves

#

holy the eval flip flop

fast pagoda
#

between what stockfish and lichess ? lichess uses stockfish for the analysis board

#

16 tho

real sierra
#

i had my bot play against random bot

#

im just having stockfish commentate

fast pagoda
#

oh

#

lol

#

you were invoking the arcane chess pointers

#

i see now

real sierra
#

negative = my bot winning

fast pagoda
#

prodigy

burnt ridge
fast pagoda
#

converting that to a loss

#

epic

real sierra
#

none of my bots moves are what stockfish suggests Om

fast pagoda
#

fuzzy logic

real sierra
#

HOLY and then my bot makes a legendary fumble

#

even i knew this move was bad watching it

burnt ridge
fast pagoda
#

oh cool android finally has react native

real sierra
#

discord patch notes

fast pagoda
#

the android discord app has been a dumpster fire for years

burnt ridge
#

Developers showing soo much life and excitement NOTED

sage crag
#

all they do is write the patch notes SMH

#

the interns are writing the updates

fast pagoda
#

and those interns? believe it or not they're delegating the work to gemma 3n (discord doesnt make money so they cant pay for more)

burnt ridge
#

This option is sooo shit in samsung. All this does is delay the app installing for another 45 seconds. It's soooo slow

fast pagoda
#

mcafee
neurOMEGALUL

burnt ridge
burnt ridge
hollow spruce
#

Yo

#

Tommorow from School

fast pagoda
#

also apparently disco has been on react native for a solid minute on android and i missed the boat//didnt care so theyre just talking about react native's new archi (which it says but im blinded by bias)

sage crag
#

im going to use a dynamic width integer in my bytecode

burnt ridge
real sierra
#

my bot just had to make this one move and it was mate

fast pagoda
# burnt ridge What is that

basically react native got refactored internally to be better ™ in a lot of ways that dont really matter here
they updated to use the new version so theoretically discord should work more betterer

real sierra
#

but naturally

hollow spruce
real sierra
#

put the rook in time out

stray dragon
#

shiro i think your bot is stupid

sage crag
#

1024 tokens of stupidity

fast pagoda
#

and react native is just react (a web UI framework) but it works with native platform integrations and thus is a lot faster

stray dragon
#

my bot could beat up your bot

hollow spruce
real sierra
#

say what you will

sage crag
#

my bot could too (random moves)

real sierra
#

my bot is legendary at erasing the enemy pieces

#

its just

#

very scared of winning for some reason

fast pagoda
real sierra
#

and actively avoids checkmate?

burnt ridge
stray dragon
#

at any point

sage crag
#

koniigpt

burnt ridge
sage crag
#

me helpful

hollow spruce
sage crag
real sierra
stray dragon
#

i already had an algorithm in mind before starting this, as a response to shiro chessposting in general

fast pagoda
#

i had chatgpt playwright browse a documentation site yesterday cuz they blocked fetch requests so it just sat there extremely slowly navigating to each page and pooping out markdown versions

#

that was fun

real sierra
#

gpt without the gp

stray dragon
sage crag
#

gpt/gp = t

fast pagoda
stray dragon
sage crag
#

bot without healthcare

real sierra
#

GPt: Grandmaster Player t

fast pagoda
#

i am both pretrained and generate garbage via my mouth and fingers

hollow spruce
#

Chatgpt is master piece who changed the world but i didn't agree ure code fully relat on chatgpt

stray dragon
fast pagoda
#

do bots need healthcare

hollow spruce
stray dragon
#

i'm not a bot

real sierra
#

my bot needs a lot of healthcare

fast pagoda
#

what is the point of having claude replace my entire employeebase if i still have to pay for healthcare

hollow spruce
#

Server is running right now