#programming

1 messages · Page 227 of 1

real sierra
#

everyone else did it wrong

#

thats the java way

clear sedge
#

shiro sorry to break this to you

#

but i'm writing it in c++

real sierra
#

seek help

clear sedge
#

i am seeking help

viral oasis
#

LOL, yes I should totally do this for celeste.

real sierra
#

seek more help

clear sedge
#

i have antipsychotics

#

they do not help

olive sable
#

nah even game-engine dev's just use pre-existing parsers for a bunch of stuff.

real sierra
clear sedge
#

i still have the urge to write c++

viral oasis
#

write it in scratch next pls

real sierra
#

someday i hope we find the cure to c++

clear sedge
olive sable
real sierra
clear sedge
#

a friend i knew once wrote a whole language in scratch

viral oasis
#

time to implement C++ in scratch

clear sedge
#

json parser in scratch

amber fractal
#

They are pathetic

viral oasis
#

alr i gtg for now @stark needle take ur meds and bye

clear sedge
#

i am beeg and strong and write my own parsers god damn it

olive sable
#

guess ill make a json parser eventually

clear sedge
#

do it now

olive sable
#

no i need to draw femboys

real sierra
#

i dont wanna fix en passant again

#

can they just remove this from the game

clear sedge
#

honestly based

#

do it after you draw femboys

olive sable
#

no i have to make 5 props in blender for school

real sierra
#

why is sam drawing femboys again

clear sedge
#

school? just write a json parser and submit that as your art project

amber fractal
real sierra
#

NAHH if im inferring the category correctly, idk what tiktok is doing there

amber fractal
clear sedge
#

i get all my research from askjeeves

rigid snow
#

100%

#

or something like that

clear sedge
#

tiktok certainly is education
..on natural selection

real sierra
#

once again idk how tiktok got there NAHH

clear sedge
#

no no trust it makes perfect sense

rigid snow
#

they try to be one at least

clear sedge
#

you go there and

#

learn things

#

like

#

oh my god automod

rigid snow
clear sedge
#

i can't believe you guys have the toilet word blocked

real sierra
#

people cannot be trusted with anything

#

server almost went into meltdown over brainrot words

#

it was spawning an unbelievable amount of arguments and tickets every day

clear sedge
#

that sounds terrifying

real sierra
#

it was an incredible waste of time for all involved

#

so it was solved

clear sedge
#

solution:

#

make better brainrot

#

call it "how to make a json parser"

#

get everyone to make a json parser

#

easy

real sierra
#

get everyone to make a chess bot

clear sedge
#

make everyone make a chess bot in their own json-derived programming language

olive sable
clear sedge
#
[
  {
    "operator": "if",
    "operand": "this.isTurn",
    "action": [
      {
        // something something random turn shenanigans i can't be bothered writing a fake json schema for
      }
    ]
  }
]```
clear sedge
olive sable
#

no thanks

#

i see enough yuri cuz of konii already

amber fractal
#

:koniibwaa:

olive sable
#
sudo libinput list-devices | grep -A5 -i wacom

Device:                  Wacom Intuos Pro M Pen
Kernel:                  /dev/input/event22
Id:                      usb:056a:0357
Group:                   7
Seat:                    seat0, default
Size:                    224x148mm
--
Device:                  Wacom Intuos Pro M Pad
Kernel:                  /dev/input/event23
Id:                      usb:056a:0357
Group:                   7
Seat:                    seat0, default
Capabilities:            tablet-pad
--
Device:                  Wacom Intuos Pro M Finger
Kernel:                  /dev/input/event24
Id:                      usb:056a:0357
Group:                   7
Seat:                    seat0, default
Size:                    224x148mm

nah thats crazy

#

i have the "wacom Intuos Pro M Finger"

amber fractal
#

Ah yes my favorite device

olive sable
#

me when i sell my finger as adspace

#

hyprland sees the oculus rift sensors as keyboards lmao

Keyboard at 55fb6e370cd0:
  rift-sensor:-cv1-external-camer-1
  rules: r "", m "", l "us", v "", o ""
  active layout index: 0
active keymap: English (US)
  capsLock: no
  numLock: no
  main: no
amber fractal
#

(Yes this is what is set as default)

real sierra
#

en passant issues and castling issues may be fixed

#

many rounds of fuzzing are not revealing anything

#

going to push changes

olive sable
#

i got opentabletdriver to work

#

time to draw

#

i even got pureref out for this ReallyInnocent

rigid snow
#

i now understand why. there is so much shit you have to do in napi

real sierra
#

im in a good mood

olive sable
#

drawing is hard

#

im doing the shading and stuff later

amber fractal
#

mhm it looks good at least

#

I wouldn't even be mad if I ended up in something that looks decent

olive sable
#

ive pressed ctrl+z for 95% of the lines i drew

amber fractal
#

Only?

#

Anyways, I'm going to try and do a new pfp because I saw a comment while pinging down the old room photo saying I was going to work on it.

#

And it has been 10ish months and still the same pfp

olive sable
amber fractal
olive sable
#

they say it is a male dominated field, but im beginning to doubt that now

#

its all jsut femboys

amber fractal
#

All femboys, that does include yourself neuroTroll

olive sable
#

its a sacrefice im willing to make for the meme

rigid snow
real sierra
#

im not femboy

rigid snow
#

right

amber fractal
real sierra
#

ok looking back, i know the way i said that sounds very much like a lie

#

but im not

olive sable
#

take a look at your discord decoration real quick shiro

real sierra
#

it was a gift perish

olive sable
#

sure

#

also look at your pfp

real sierra
#

it was also a gift perish

olive sable
real sierra
#

and its a banger pfp

amber fractal
#

Where is charger

real sierra
amber fractal
#

Now I can pretend that a stylus will improve my art skills neuroHypers

#

I am very surprised my stylus connect script works

#

For those who don't know what the script is even doing

opaque sigil
#

man's running 24.11

amber fractal
#

This is the first time it has been booted in months

opaque sigil
#

not updating the day there's a new version

amber fractal
#

Having this screen on while sending input over ssh will never not be cursed

#

I should grab a keyboard so I'm not using the laptop one

amber fractal
midnight sigil
silent lintel
#

Do Board.in_check and Board.in_checkmate refer to the current turn’s player being in check(mate)? The other player? Some other criteria? The docs just say “its player” and I’m not sure what that means

real sierra
#

i.e. if it is white-to-move on the board, it will return the check or checkmate status for white

#

it's impossible for both players to be in check at the same time

glad path
#

the other day i saw some woman compiling something in the wild and my first impluse was to recommend iterm2 for some reason

#

a few days ago I also saw some guy create an ad banner in illustrator then animate it and export it and proceed to write some javascript to animate the ad

tender river
#

compile something in the wild

#

🖥️👩
CJcomputertouch_grass

olive sable
worldly acorn
opaque sigil
magic drum
#

For some reason when I run my chess bot in cutechess, instead of calculating in the background and allowing time to tick down, it's causing the whole application to lock up while it's searching and the timer doesn't go down at all (in fact somehow it's causing the timer to go up. Both players started with 5 min and by the time the game finished they each had almost 35 min neuroAware). Is there something I need to make sure I'm not doing to avoid interfering with cutechess?

#

Not sure why that was a reply

tender river
magic drum
#

sorry

rigid snow
#

you woke me up neurOMEGALUL

#

good morning

tender river
rigid snow
#

i’m going back to sleep

tender river
#

good night

rigid snow
#

good night

magic drum
#

good night lol

tender river
rigid snow
olive sable
tender river
olive sable
#

before you sleep

#

let me show my progress on the femboylilac art

rigid snow
olive sable
#

im still working on the arms, its a bit shakey rn

rigid snow
#

the cool thing about digital art

#

you have smoothing

olive sable
#

yep

rigid snow
#

use it

olive sable
#

im an avid user of the blur tool

#

this entire thing has as much blur as it has paint

rigid snow
#

not blur i mean like stroke smoothing

olive sable
#

evilShrug idk where that is in krita

rigid snow
tight tinsel
trim valve
magic drum
#

I think I got it figured out (though I'm still not entirely sure why it adds time to the clock sometimes)

trim valve
#

if I understand correctly after 40 moves that timing mode adds 5 minutes

magic drum
#

Oh, I see. I thought the 40 moves meant... I actually don't know what I thought it meant lol, it obviously wasn't a limit on the game length

trim valve
#

I kinda assumed it was a limit but then that fell apart when i was in games with like 400 turns

sage crag
#
poll_question_text

want easter egg

victor_answer_votes

4

total_votes

5

victor_answer_id

1

victor_answer_text

ye

victor_answer_emoji_id

1403035125347778683

victor_answer_emoji_name

Awkward

victor_answer_emoji_animated

true

tender river
noble zodiac
tender river
#

promote pawn to knight
place knights on a1 c1 a5
move a1 knight to b3
neuroTomfooleryPx

#

both rank and file are specified in that case (which is to be expected Awkward)

olive sable
#

@stark needle

olive sable
#

i spent liek 6 hours on this catdespair

glad path
olive sable
#

well

#

im not sure

glad path
#

maybe you can get starboard

sage crag
viral oasis
olive sable
#

huh

#

zombie horses will be added to minecraft

#

but like, in survival now

nocturne olive
stark needle
#

IT'S SO GOOD

#

NOT IN A FEMBOY WAY THO

sage crag
#

libac

real sierra
real sierra
tender river
#

only for computer interchange FOCUS

real sierra
#

noper better for human interchange too nuhuh

#

my brain is low power and that sort of compression is too difficult

#

I would rather use more bandwidth to communicate moves

tender river
#

brain needs power for reading neuroSMH

#

less reading more looking at the board

#

oh

#

shiro java dev

real sierra
#

WICKED java

#

read long string for free

#

trained from birth

shadow sinew
#

Is there anything special to get chess_get_time_millis() to work? I set up a timed game with cutechess but I still always get 0 from that..

jagged turtle
#

I think my linter has had enough

#

man what happened

tender river
#

or tab/space mismatch

jagged turtle
#

idk it just happens when I switch between branches sometimes

#

so wouldn't be surprised if it was a bit of both

hard raptor
#

https://youtu.be/tNsDH9pYC_E
VR being helpful to techno producers wasn't something on my 2025 bingo card

Get the drums from this episode here: https://www.patreon.com/posts/fine-day-anthem-139844729?utm_medium=clipboard_copy&utm_source=copyLink&utm_campaign=postshare_creator&utm_content=join_link

00:00 - Intro
00:26 - How to Rumble
05:08 - Full Drum-Loop
07:44 - Rimshot Synthesis
10:28 - Quick Sub Tutorial
12:45 - 2 more loops
13:25 - Outtro

▶ Play video
rigid snow
#

why are we posting vr in programming AINTNEURWAY

#

# music-production real

#

wow

#

how do you even do this thing

#

i'm going to crash out why is formatting in discord miserable

#

this will do

stark needle
#

chat i am so cooked

#

i feel like

#

anything i'm preparing for isnt enough for the interview

#

there's a gazillion classic questions that could arise

tender river
#

i can do it neuroExplode

#

job application neuroExplode

hard raptor
rigid snow
#

you're fine

hard raptor
#

I know i'm fine

#

I checked this with the mods months ago

rigid snow
#

it's just that this demonstrates a profound lack of a dedicated music production channel

hard raptor
#

Yeah

olive sable
rigid snow
#

FeelsStrongMan these are so ass

median shale
#

Init

#

whuehehe~

stark needle
tender river
real sierra
tender river
real sierra
#

actually I've only tried chess_get_elapsed_time_millis()

shadow sinew
# real sierra shouldn't be? it works successfully for me

My bot looks more or less like this. For some reason chess_get_time_millis() returns 0.


int main() {
    for (;;) {
        Board *board = chess_get_board();
        while (chess_get_time_millis() > (int)chess_get_elapsed_time_millis() - 100)
        {
            compute();
        }
        chess_push(get_best_move());
        cleanup(board);
        chess_done();
    }
}

real sierra
#

no wait that's not true

#

I've done both

stark needle
#

chat do i need to actually come up with novel original answers for everything in a frigging interview i can't with all of this

real sierra
#

UCI should pass go wtime ... btime ...

shadow sinew
#

Basic new game with 20 sec per move + 2000ms margin

real sierra
#

strange

#

I wonder if any of the types are inconsistent between platforms

#

I don't believe any of the time-related code has changed

shadow sinew
#

Let me check again..

real sierra
#

it's not a super complicated function so

#

I'm not sure where it could be failing

#

it returns a uint64_t, I see you're casting to an int in your code

#

I don't suppose that would cause issues

shadow sinew
#

Wait, it should be +100..

#

Yeah tried printing the values. I'm still getting chess_get_time_millis()==0.. This is my cutechess game setting.

#

Is there a way to display the exact UCI commands passed in cutechess?

rigid snow
#

guess which one it is

shadow sinew
#

That only shows printfs from my bot. Not commands like go wtime ...

amber fractal
rigid snow
#

it does for me

#

maybe the debug flag has to be set in engine settings?

shadow sinew
#

Yeah I've set that. Aren't you supposed to do that?

rigid snow
#

weird

shadow sinew
#

In hourglass mode it sends the available time, but not in time per move mode..

#

It sends a go movetime 20000 command instead..

rigid timber
#

Shiro's API doesn't catch that movetime?

shadow sinew
real sierra
#

yeah

#

so I'm not sure if I was using an outdated version of the UCI spec when I wrote the chess api

#

but depending on settings, cutechess sends a number of commands that were not part of my reference spec

#

as such, things like movestogo and movetime aren't supported

#

I haven't been able to add them since I lack the relevant documentation

shadow sinew
#

..but wasn't the plan to run the tournament in cutechess? Erm

real sierra
#

cutechess has modes that use btime and wtime

#

in particular, the tournament settings I plan to use, use btime and wtime

rigid timber
shadow sinew
#

So we're playing hourglass mode? My plan was to have my bot use up all available time each turn..

rigid timber
#

yeah, you'll have to handle time too

#

that's a big part of the challenge

real sierra
#

official tournament format will be 1 minute per side for the entire game, no increment

rigid timber
#

"how the hell do I know if I should stop searching now"

shadow sinew
#

1 minute in total?

real sierra
#

1 minute in total

#

budget your time wisely SMILE

shadow sinew
#

I thought it was per turn.

amber fractal
#

That's enough time to hack Shiro's computer smh

shadow sinew
#

Might be a good idea to mention that in the FAQ..

rigid snow
#

1 minute per turn, calculate the move and mine some bitcoin on the side

real sierra
#

will add to FAQ

#

it used to be on the README, but i think it vanished after a rewrite

flint dome
#

chat random question off topic (sorry to interrupt), but if anyone knows feel free to let me know

how do i exactly get started in hardware reverse engineering? i.e., i have a basic idea, but how do i exactly go about it (i can read the circuit and probably model it too in an fpga if needed, build a shitty oscilloscope/logic analyzer or buy one if needed, reverse engineer software to some extent, but how do i exactly get the machine to let me dump the flash via jtag or sniffing the bus). basically, what i want are some sort of resources anyone can point me to in the right direction so that i can read and figure out myself

#

yes neurobot we know its a long text

rigid snow
#

we draw femboys here what makes you think we know shit about reversing

amber fractal
flint dome
#

because there are very limited resources on this on the internet

rigid snow
flint dome
#

best stuff there is, is a blog run by one guy and a pdf from pre 2010 about hacking the xbox dedicated to aaron swartz

obsidian mantle
flint dome
#

because apparently hardware hacking is only done by companies now to get cheaper prices on cpus

real sierra
#

FAQ updated

shadow sinew
amber fractal
flint dome
obsidian mantle
rigid snow
#

i mean aren’t bots supposed to be singlethreaded

flint dome
#

anyways thank you for your time chat i'll try and ask this question again later

#

my bad i read wrong

#

i read "not singlethreaded" my fault gang

amber fractal
obsidian mantle
#

i work with guys who do hardware reverse engineering but i myself have no idea how they do it

flint dome
#

wait are you all programming in python lol

flint dome
amber fractal
#

Nah, some are doing correct lanuages

obsidian mantle
#

i mean, probably measure resistors and all parts, look them up by signatures or smth

rigid snow
#

i fucking hate python

amber fractal
#

I should be doing C or C++ for this project but I'm still in prototyping stagr

obsidian mantle
amber fractal
violet harness
flint dome
#

(whoever did that one was a madlad, my cousin enjoyed hundreds of games on his 360 for free because of that hack)

obsidian mantle
#

pretend you are cpu neuroTomfoolery (i am clueless)

flint dome
#

recently i think they did the same one for the switch oled too

rigid snow
#

does it involve drilling an ic too

#

or am i mixing shit up

flint dome
#

you have to grind two layers of the motherboard to get to a trace

rigid snow
#

oh that’s common

flint dome
rigid snow
flint dome
#

true

flint dome
woeful matrix
#

Good: the morning

maiden geyser
north fractal
#

Anyway I've mostly run out of ways to be funny and do the summoning ritual for #1337733692709146674 so just stand in the circle please

#

Honestly i have no idea what's happening in there but it sounds like help would be greatly appreciated

amber fractal
fair horizon
#

How much time do the chessbots get in total?

amber fractal
#

1 min, we playing bullet chess

fair horizon
#

Ah ok

olive sable
#

i shoudl look into the chess tuff eventually

#

im doing my school work now tho

amber fractal
#

The chess tourmant is the #1 reason NN progress is getting made at all

#

It is doing a lot better than it was before it started, I am actually starting to formulate ideas

#

Instead of shooting in the dark that is

fair horizon
#

If you shoot in the dark enough the dark will eventually get killed

amber fractal
rigid snow
amber fractal
#

just a small roadblock remains

olive sable
#

in 3D1 class in my first week the only thing i really learned is that non-manifold edges exist and they're bad for some reason. so now i need to change the way i design stuff

amber fractal
#

:neuroNOTED:

fierce badge
amber fractal
#

Checking out the mods and I see your doing what should have been done in the base game

#

godspeed

olive sable
#

it does seem to be that way

#

lazy dying light devs smh

fierce badge
# olive sable it does seem to be that way

basically theres a bug that if u have multiple monitors, the game doesnt lock/focus ur mouse properly, and if u move ur mouse a bit, u can scroll whatever is happening on your other monitors, u cant interact (like click or something) but u could scroll, and it was insanely annoying, and after 10 years of no fix, i just made it myself

amber fractal
#

Don't tell the content mod authors this, but features that should have already existed in the game are some of my favorite mod types.

olive sable
#

i mean, sure its a proprietary engine, but surely they had enough budget to make the focus work.

#

the gaming industry is just such a shithole

olive sable
woeful matrix
#

After noooon

#

I put two more o because i thought it would be badass

true hemlock
#

interesting

fierce badge
sage crag
#

is it making more than it costs in power AtorinConfused

olive sable
#

i dont think so

rigid snow
#

ye that system probably costs more to run than $2 a day

olive sable
#

rough ballpark of 420W for the entire system, 0.42 kW x €0.35/kWh = €0.147 per hour, x 24 hours = €3.53 per day

uneven pulsar
#

ok but winter

#

in winter you pay for heating anyway

olive sable
#

no i dont

rigid snow
#

i've seen some company try to sell bitcoin asics as a heater, was expensive i think

#

i mean packaged in a heater form factor

nocturne cove
#

wsp

distant blaze
olive sable
#

i mean, if you can afford it, its probably not too inefficient compared to a singular heating unit

#

but compared to a central heating system it probably isnt great

nocturne cove
# true hemlock hm..

yeah just run it for a couple years and youll definitely get your cash back trust

rigid snow
olive sable
#

yep

rigid snow
#

the problem is just the initial cost

olive sable
#

ye

true hemlock
#

i wasn't talking about cost and profitability lmao

rigid snow
true hemlock
#

i was gonna talk about how apparently the threadripper could make more than a gpu?

rigid snow
#

xmr or similar

#

different algos

olive sable
#

cost of gas per unit of energy is significantly lower than electricity

#

so its more efficient in terms of electricity, less efficient in terms of price

rigid snow
olive sable
#

cuz a central heating system loses energy through the pipes and stuff

olive sable
true hemlock
#

@umbral thorn try openssl stuff

#

and check how much does the SHA ISA actually make per second

sage crag
true hemlock
#

im damn well interested

rigid snow
#

you can look which chain and which mining algo was chosen in nicehash somewhere

#

if you're curious

true hemlock
#

the device based calculator on nicehash might be not accurate at all ig

#

the only way to tell is to use the hashrate calculator ones, check how many hashes on specific algo the thing can run and compare lol

rigid snow
#

is it somewhere online or what? the software benches all sorts of algos and chooses the most profitable one

#

like actually benches on your system

rigid snow
# rigid snow there was that one where your profits scaled with hard drive space

Chia coin, also known as XCH, is a cryptocurrency created by Chia Network, which uses a unique consensus mechanism called proof of space and time to validate transactions. This method allows users to allocate unused storage space on their computers to earn XCH tokens, making it more energy-efficient compared to traditional cryptocurrencies like Bitcoin.

true hemlock
#

alternatively you can try mining for like few minutes and check the result neurOMEGALUL

#

not sure if elvyn wants to though

rigid snow
#

that's basically what their bench does

true hemlock
#

she has the threadripper

rigid snow
true hemlock
#

lmao same

rigid timber
#

and now used drives sold as "new" with thousands of hours of actual use... lovely thing, that

true hemlock
#

pfftt

umbral thorn
rigid timber
#

you're still playing with that?

#

it's been a few hours

nocturne olive
#

She going for that maximally optimal overclock

woeful matrix
#

Im eating panckakws

#

Wit h

#

Rice and pasta

#

It Is good.

umbral thorn
#

how much power it do

#

bios said need 1200W

#

100A from eps

true hemlock
#

wtf are you doing 😭

umbral thorn
#

o nvm

#

100A total

true hemlock
#

oh 😭

#

you scared the shit outta me

#

the PSU is 1600W, should be... fine...?

umbral thorn
#

beeeeeg headroom

formal quartz
#

ReallyInnocent could i ask, how do i add the python example bot to cutechess? [cli or ui im not picky at this point]
(i have the libchess file and just starting the bot with py seems to work)

tender river
#

shiro is temporarily dead so i'll answer

formal quartz
nocturne olive
#

You create a batch script that runs the python file

tender river
#

i think there was an easier option

formal quartz
#

and that i feed as the bot command to cutechess?

tender river
umbral thorn
tender river
#

thats it hopefully evilNodders

true hemlock
#

idk if its either that your NH-U14S is absolutely busted

#

or you did something on the bios that made it run cooler even with that power draw

#

did you do something to the voltage settings susge

rigid timber
formal quartz
#

tho the bot still gets stuck at "isready" so i guess i haven't managed to make pthread work full, oh well back to trying more

#

gonna bother yall later again, maybe vedalPeek

umbral thorn
#

me try 420W NeuroHyperYay

true hemlock
#

ummmm

#

you sure...?

umbral thorn
true hemlock
#

ICANTTAKETHISANYMORE RIP THREADRIPPER

sage crag
#

elvyn pc die 2 week after build

rigid snow
#

i should upload them

#

after i figure out what and where to eat

amber fractal
amber fractal
#

Okay, which part of this is helpful

rigid snow
#

enable images? email clients hide them by default

#

to prevent tracking

amber fractal
#

Nah, let me grab a better crop

rigid snow
#

maybe there is an image which is like press here to claim

amber fractal
#

They opted for html in this case

keen hatch
amber fractal
keen hatch
formal quartz
rigid snow
#

but it does MyHonestReaction

amber fractal
#

Apparently not all systems for some reason

rigid snow
#

idk vs 2022 tools have it

amber fractal
#

Shiro themselves were complaining about it

opaque sigil
#

It wouldn't surprise me if some people were running vs 2019

rigid snow
#

vs 2019 is not that old yeah

rigid snow
#

whatever semantics

rigid timber
clear sedge
#

i swear this spec can't decide if it wants integer enums or string enums

rigid snow
#

also the major releases being years but them not releasing annually is confusing

#

2022 is the latest Awkward

rigid timber
#

it's just that nobody here knows how to get the correct SDK apparently...

formal quartz
amber fractal
#

It still works to some degree

amber fractal
umbral thorn
amber fractal
#

@true hemlock it isn't dead yet

formal quartz
rigid timber
#

I'll be home in 40 minutes, I can check then

formal quartz
#

thanks, no rush

rigid snow
#

but also doesn’t clang on windows still depend on headers in the win sdk which is part of vs build tools

rigid timber
#

possibly, I have VS build tools for unrelated reasons so that may have helped

true hemlock
rigid snow
#

i mean building with clang, the sdk headers don’t ship with clang i don’t think

formal quartz
rigid timber
#

Iunno, I use the clang that's part of the SDK, didn't get clang separately at all

true hemlock
rigid snow
keen hatch
#

my current power usage (fine tuning)

rigid timber
rigid snow
#

oh do they ship with it

formal quartz
rigid snow
#

even microsoft realizes how dogshit msvc is so they ship llvm

#

cool

rigid snow
amber fractal
umbral thorn
stark needle
#

chat i came to the conclusion to try to wing the friggin interview instead of overly rehearsing and preparing

#

tmrw is death day

amber fractal
#

Best of luck neuro7

umbral thorn
stark needle
#

*director of r&d

umbral thorn
tender river
#

it will likely be more technical focused, asking about experience and stuff

umbral thorn
#

evilFrogHeart gl

keen hatch
tender river
#

show interest in position and try to relate your past experience to it

stark needle
#

i came to the conclusion that they know i'm junior so they wont expect perfect answers

umbral thorn
#

OOOOOOOOOOOOOOOOOOOOOOOOOOOOOO

keen hatch
umbral thorn
umbral thorn
tender river
stark needle
keen hatch
stark needle
#

40min of intense judgement

#

just to build enterprise resource planning application

umbral thorn
clear sedge
stark needle
#

i would like to thank vedal for the "it's probably fine" mentality

karmic birch
amber fractal
opaque sigil
#

huh the 3990x has become quite cheap

tender river
obsidian mantle
#

💀 wtf arent threadrippers like 10k$ or smth

keen hatch
amber fractal
opaque sigil
#

they can charge whatever tf they want now unfortunately neuroSadge

true hemlock
obsidian mantle
#

What are you "full loading" that with

opaque sigil
#

damn that's a nice deal

amber fractal
rigid snow
clear sedge
rigid snow
#

cpu?? definitely firefox

rigid timber
#

Firefox leaks like crazy

rigid snow
#

i don’t pay attention to memory

#

because it does not matter

clear sedge
rigid snow
#

fake. process suspended

rigid timber
rigid snow
#

what do you have to do to make it take up 32gb

rigid timber
#

that's what I'd like to know too

olive sable
sage crag
rigid snow
#

bw

clear sedge
rigid snow
#

photoshopped

olive sable
rigid snow
#

generated by gemini

clear sedge
#

i could give you ssh access to my computor and you'd still find a way to call it fake

umbral thorn
rigid snow
sage crag
keen hatch
#

I need to build it .. ) 2950x, 128gb ram

amber fractal
rigid snow
clear sedge
rigid snow
#

the answer is 1 (one)

formal quartz
rigid snow
olive sable
#

could yall stop being so rich? neuroLookUp

amber fractal
rigid snow
#

i ran into that too the cpp compiler no likey threads.h

keen hatch
olive sable
#

forgot to turn on xmp?

rigid snow
#

bug for sure

#

no way it’s running at that

#

or walking even

formal quartz
obsidian mantle
#

anyone else gets weird bishop-pawn trades?

#

when your bishop takes pawn and dies without visible profit

#

(i cant beat my bot on my own maybe its some 5head from him that i dont see)

worldly plank
#

How did this turn into a chess-bot channel?

keen hatch
rigid timber
rigid snow
#

yeah

#

but they’re compiling a shared lib for bindings i think so doesn’t matter thaaat much

uneven pulsar
formal quartz
rigid snow
#

msvc toolchain neuroExplode

fair horizon
#

@real sierra found a bug in the python api. the get_color functions return None if the board value is 0 or less making it return None when the color of a space is white

rigid timber
#

but y'know, for completeness' sake

fair horizon
#

At least it seems like an easy fix of just doing >= instead of >

rigid snow
#

shiro ban evasion

fair horizon
#

Yey

#

Works now nice

obsidian mantle
#

if i ++ float does it get +1

#

i think it should

opaque sigil
#

assuming that's even implementd it should yes

keen hatch
obsidian mantle
#

hold up
is that bug with false moves after +2 recursion fixed?
i havent seen it being discussed since yesterday

#

today morning i pulled and i felt like its fixed but im not sure now

rigid timber
#

should be if I read things correctly

shadow sinew
#

Should be with this, yeah. Haven't seen any weird behavior since.

nocturne olive
#

Someone notify me when the recursion stuff fix happens, whoever was the one that found the real version that bug

obsidian mantle
nocturne olive
#

Well time to pull and see

nocturne olive
#

Still somehow 3x bugged though

#

Oh wait I'm on depth 2

obsidian mantle
#

ye my bot gets 3 fold against itself even though i put -99999999 points on 3fold move

nocturne olive
#

I need to be on depth 3

obsidian mantle
#

oh you mean depth

#

there is problem with uneven recursion

nocturne olive
#

Yeah that's more like it

#

Depth 3 still mega bugged

obsidian mantle
#

when recursion ends on your turn, it can get "i took a piece" and there was no response by opponent which shifts it wrongly in your favour

nocturne olive
#

Each time it prints this it means a piece was not where it was 100% supposed to be

#

It's spending all of its CPU time printing bugged

crude saffron
clear sedge
#

beeg struct

#

heh, line 314

sick owl
#

While nice in theory

#

This is giving me nefarious vibes

#

Like if I wanted to start slipping ads into the platform or influencing people this is one way I'd go about doing so

glad path
#

reminds me of letta

obsidian mantle
#

oooh actually. about me getting 3folds
3folds are less unpleasant than mate by opponent so it makes sense that my bot does it

#

so its not bad at all

nocturne olive
#

So it gets a draw by 3-fold if the opponent would otherwise mate?

obsidian mantle
#

i think so

nocturne olive
#

So there is a logic behind it at least

obsidian mantle
#

nah im wrong
the winning bot just caused it, and he was supposed to know it will be a draw. but he was winning a lot, just had to move pawns or do something else

#

i'll try to check if 3fold check from api is wrong.
here i have 100% situation where my bots are making 3fold. last 3 moves repeat. so i will take hash of last 3 moves and check it myself

obsidian mantle
#

yeah. chess_in_draw does not detect 3fold.
checking last 6 boards manually removed 3fold when both sides were jiggling a piece

obsidian mantle
#

however the check for draw happens after check for mate so it might still work

rigid timber
obsidian mantle
#

it should it just doesnt happen i guess

#

losing side usually doesnt have opportunity to chose a lot of moves in those situations

#

so winning bot sees 3fold and avoids it, and losing bot cant do shit about it

rigid timber
#

definitely file that as a bug if you can get some examples where it doesn't work

obsidian mantle
#

maybe i just have bad amount of data

#

how do i file a bug correctly 🤔

rigid timber
#

I'd create an issue on the GitHub repo

#

ideally with steps how to reproduce it, for this it'd probably be a board state where it fails to detect the 3fold repetition?

obsidian mantle
#

my bot is 100% logical with 0 random (unless the api gives legal moves in random order which doesnt look like being a thing). so i can add and remove check and see if situation changes

#

so here i have this thing

#

if i remove it my bot 3folds agains himself from the winning side

#

if it stays it doesnt 3fold and loses later neurOMEGALUL let me confirm

rigid timber
#

Hmm actually, looking at the code... it just goes the previous 3 boards and checks if they're identical... but shouldn't that be 6 boards and check if every other board is identical?

#

bc every board is a halfmove

obsidian mantle
#

its 6 boards

rigid timber
#

is it? I must be misreading the code then

obsidian mantle
#

neuroMonkaOMEGA are you in my walls
where do you see it 3

rigid timber
#

wait no, I'm stupid

obsidian mantle
#

i mentioned 3

#

but i fixed it when i saw it neurOMEGALUL

rigid timber
obsidian mantle
#

oh

obsidian mantle
#

neurOMEGALUL it also checks last 3 boards and thats it?

rigid timber
#

also I'm stupid, it's not 6 moves icant

#

no, I just can't read

#

and can't brain properly either, as it turns out

sage crag
#

mug]

rigid timber
#

3-fold repetition is just 3 identical board states at any point in the past, not "last 3 moves were the same"

#

which it apparently does... if not then something is borked

olive sable
obsidian mantle
#

with check - 3fold (not actually a winning side, i got confused with other situation). so it ends on black queen doing it.

#

1 sec will recreate with check

#

HUH. it also changes the pawn

rigid timber
#

Hmm looking at the code, it might accidentally not be counting one of the repetitions...? bc it counts only duplicate boards, but the condition is >= 3, but you'd only have 2 duplicates if you don't count the first one...

obsidian mantle
#

so here it does not do the same but situation is a bit different (i guess its because of it seeing 3fold in several moves and moving pawn or smth)

#

i'll remove recursion so its plain

rigid timber
sage crag
obsidian mantle
#

so this is without recurion but it starts acting different earlier too. idk why

#

the other game 3folds too but on turn 68 (i guess when last 6 boards are not enough)

sage crag
#

preceding

rigid timber
obsidian mantle
#

ye the kings are dancing around, the one king suddenly goes on the right and then returns after several turns.
the turns which will cause 3fold are forgotten so he does it

#

huuh

rigid timber
#

I think this should fix it, but I don't know if I'm missing something or not...

diff --git a/src/c/chessapi.c b/src/c/chessapi.c
--- a/src/c/chessapi.c    (revision 889fb91140d67b121ad3365b8f43c07d417f55e1)
+++ b/src/c/chessapi.c    (date 1759089855386)
@@ -1766,7 +1766,7 @@
             if (board_equals(boards[i], cur_board)) {
                 counts[i]++;
                 hit = true;
-                if (counts[i] >= 3) {
+                if (counts[i] >= 2) {
                     found = true;
                 }
                 break;
tender river
#

shiro

rigid timber
rigid snow
#

neuroMonkaOMEGA forwarding

rigid timber
#

initializing occurences to 1 for each board instead?

rigid snow
rigid timber
#

well whatever, doesn't really matter

#

as long as it gets fixed

sage crag
rigid timber
#

ah, yeah, initialized to 1

#

@obsidian mantle pull the latest chess API, it has a fix

sage crag
rigid timber
#

also I really like that

if (!found) return false;
return true;

at the end, instead of just return found;

rigid snow
#

i will forever defend this syntax

#

it's the furthest thing from stupid

clear sedge
#

tbf if found is non-zero that's one of the ways ever to make it either 0 or 1

rigid snow
rigid timber
#

you can just... return the boolean...

clear sedge
obsidian mantle
#

still fucked but alright its way further than my last6 check

olive sable
rigid snow
#

ICANT y'all actually believe it's stupid

sage crag
#

personally i dont think its stupid

#

its useful for early returns or code that intends to change in the future

clear sedge
#

"i might want an early return in the future so i'm gonna use a bajillion more keywords than necessary"

#

big brain

rigid snow
#

a bajillion more being 2 returns and 1 if

clear sedge
#

wait

rigid snow
#

instead of one return

clear sedge
#

are you two being fr

rigid timber
#

I don't think I want to argue this one

sage crag
rigid snow
#

it's more readable often yes

olive sable
#

why would an early return mean you need to make the later one overcomplicated? its not like an early return ruins the control path

rigid snow
#

makes more sense mentally

obsidian mantle
#

how is "return found" not readable

sage crag
#

i dont know about readable, but i prefer indicating my intention with it evilNya

clear sedge
#

i am amazed

rigid snow
#

readable as in easier to comprehend

sage crag
rigid timber
#

hence why I don't want to argue this one

#

I forgot this is C we're talking about

rigid snow
#

you can do this in any lang

#

any procedural one

#

at least

sage crag
#

true, but in c the only canonical representation of bool is 1 or 0, additionally FlowerCatJAM

clear sedge
#

i thought you were ragebaiting at first

sage crag
obsidian mantle
#

does it have a limit? it 3folded on 139th turn with same hash being in last 4 turns

clear sedge
sage crag
olive sable
#

just dont specify and let the compiler deal with it

clear sedge
#
#define bool unsigned char```
olive sable
#

its not my problem, its the compilers problem

sage crag
olive sable
#

good thing im using c23

sage crag
#

before c23 you have to include stdbool or use _Bool instead

obsidian mantle
sage crag
sage crag
olive sable
#

the compiler has a full 16 cores while my brain has maybe 2 on a good day

sage crag
#

remember that c uses integers for conditionals

#

in lots of code actually enub

obsidian mantle
clear sedge
sage crag
#

mostly portable code or old code such as kernel

obsidian mantle
#

c neuroEZ

sage crag
#

this is also why you see !!x in places

clear sedge
#

yes

sage crag
#

its because !!x will shrink the range from >0, 0 to 1, 0

clear sedge
#

this is way more common in javascript land btw

sage crag
#

there is a reason for the difference between bitwise not and logical not

#

~, !

clear sedge
#

one is wise

#

the other is logical

#

only a bit wise, though

olive sable
#
((!5) == 0)

> 1
clear sedge
#

true wisdom comes in using a uint256_t for booleans

sage crag
obsidian mantle
#

cutechess froze and wsl isnt shutting down NeuroRage

olive sable
#

had to do the parenthesis cuz clang likes that

sage crag
#

why dont you just flip 0 and !5

#

0 == !5

olive sable
#

idk

#

i didnt put much thought into it

#

i just tested it out to see if it actually worked like i thought it does

clear sedge
sage crag
#

save token

clear sedge
#

trude

olive sable
#

im not doing chess rn so i dont need to worry abou tokens

sage crag
#

save token

#

save token

// no!!!
if (x) {
  printf("hi");
  return 0;
}

// yes!!!
if (x) return printf("hi"), 0;
olive sable
#

working on school assignment rn

sage crag
#

chair

tender river
olive sable
#

waybar seems to have broken 12 hours ago cuz its stuck on krita lmao

tender river
#

waybar is super broken

#

whenever it breaks i restart it

olive sable
#

idk how to properly restart it without restarting my system

clear sedge
#

save more token

tender river
#

its fine on my phone so maybe multimonitor related neuroThink

amber fractal
#

Warbar has been suspiciously stable so far evilStare

olive sable
#

cuz if i restart it in a fish window the waybar closes when i close fish

amber fractal
#

Start as background task mhm

clear sedge
#

but save token

#

is it not worth it

rigid snow
#

i have node bindings that will probably crash and burn and segfault the second anything actually gets written with them but i have them

opaque sigil
clear sedge
#

i have yet to make my lua bindings

#

will anyone use my lua bindings? probably not

#

will it be fun? maybe

amber fractal
#

Surely

clear sedge
#

fish

olive sable
#

i now have 2 waybars

#

the new one works tho

#

ok i jsut pkilled them

#

okp fixed

opaque sigil
#

cmake neuroSadge

rigid snow
#

IKNOOOWW

#

it's not MY fault

tender river
#

no submodules neuroSadA

obsidian mantle
#

after i pulled my bot stopped seeing opponent's mate in 1 move neuroCry

rigid snow
#

should hav ei done the api as a submodule

#

i thought the preferred way was to vendor

tender river
#

yes submodules are better than copy pasting code neuroCatUuh

rigid snow
#

you know what

tender river
#

yes frogsmog

rigid snow
#

done

clear sedge
#

i witnessed that in real time

rigid snow
#

wait

#

i hope npm fucking resolves it

#

it better

clear sedge
#

necessary evil

rigid snow
#

i am actually going to crash out did you make me do this for nothing chay

obsidian mantle
#

yeah i think recursion got broken again neuroCry i will collect more data tomorrow

#

or its get_legal_moves again... i cant find mating move in the list

glad path
#

wait

#

is scratch allowed

amber fractal
#

I can't wait for my bot to just be asking chatgpt (what do you mean there is a no network requirement?)

glad path
#

its probably possible to make bindings for scratch via turbowarp

#

aka better scratch

tender river
amber fractal
#

I mentioned it offhanded, but don't think there was an answer

tender river
#

usually you'd create a vendored package but keep submodules in git tree

glad path
#

turbowarp has a lot of extentions, one of which can send requests

rigid snow
glad path
#

so you can probably use that to make bindings

rigid snow
tender river
#

add package.json to shiro repo neuroCatModeOn

rigid snow
glad path
#

add a low quality (50x50) png image of a turtle to shiro repo

amber fractal
#

Package up Shiro and ship it

sage crag
rigid snow
#

eyes tired neuroSadge

glad path
tender river
rigid snow
tender river
#

surely npm i fetches the .git dir

rigid snow
#

wait you might unfortunately be right it doesn't

tender river
#

npm neuroSMH

tender river
#

like python

rigid snow
#

i caaaan but more friction to install

#

to set up rather

tender river
#

but less copy paste FOCUS

rigid snow
#

two shared libs neurolingScared

ebon basin
#

I'm out of time for day but I can report the Neuro MOD gets loaded into Oxygen not Included

tender river
obsidian mantle
#

cant == strings NeuroRage

#

why not neuroCry

tender river
#

or std::strings?

obsidian mantle
#

std strings

obsidian mantle
tender river
#

you should be able to though FOCUS

clear sedge
#

what's your code

obsidian mantle
#

wait maybe its vscode

clear sedge
obsidian mantle
#

oh

tender river
obsidian mantle
#

fucking bracket

ebon basin
#

I had massiv problems with UniTask because it runs on 4.7.2 Net Framework and not on modern NET

clear sedge
#

bracket

#

yes

#

i missed that

obsidian mantle
#

eepy

ebon basin
#

I let Claude build me a Wrapper class which simulate the same behaviour

#

At somepoint I properly need ask Alex about this

#

gn8

obsidian mantle
#

something is wrong with board it isnt right. maybe i messed up undoing moves. or it is api again

#

it thinks king is d8 not e8

rigid snow
clear sedge
#

i can imagine shiro looking at chat rn and being unable to talk about api stuff

rigid snow
#

so it at least works

obsidian mantle
#

its 90% my bad in something else but i cant see yet

tender river
#

neuroSMH you do

sage crag
#

(name redact for privacy)

obsidian mantle
#

shiro online
100% lurking

clear sedge
amber fractal
#

Smh shiro would never lurk

tender river
#

vedal ping

clear sedge
#

tell us in this very here chat

sage crag
#

shiro banned from server