#programming

1 messages · Page 184 of 1

hollow spruce
#

Use MCP connect

olive sable
#

MCP connect?

hollow spruce
#

Like a main switch for power connection

olive sable
#

Im fine with just using this one

hollow spruce
hollow spruce
olive sable
#

Nah im removing the old sub and old av

#

Ill actually have a slot extra

hollow spruce
#

I guess that also works

jagged turtle
#

you already surpass me so you're better than at least 10 people here I think

#

(here as in server, not here as in channel)

nocturne olive
#

Whuh

rigid snow
#

no

#

horrible game

nocturne olive
#

Whar

#

It's fun though

rigid snow
#

i'm bad at it

#

therefore bad

nocturne olive
#

I'm bad at it too and it's still fun

rigid snow
#

i wanted to say i'm worse but i'm definitely not

nocturne olive
#

Silly

olive sable
#

Ok i have connected the new sub

#

I think im at thd point where too loud is too loud

#

This sub dwarfs all my speakers here in pure output, and i havent even bass boosted it yet

#

Im scared of what this thing doubds like at full volume

rigid snow
#

bass boosting is the stupidest thing ever

#

i like my frequency response curves flat

olive sable
#

I used to have to bass boost to make it flat

#

Now i think i need to do the opposite

#

New speakerlayout should be good

#

Sub in the middle

rigid snow
#

looks nice

#

especially with the mesh off, maybe it's worth it to take meshes off all of them

olive sable
#

Should i put the centre on top of the sub or to the right of it? hmm

rigid snow
#

you should put the center at the center mhm

olive sable
olive sable
#

Wait i have an idea

rigid snow
#

i'd personally put it where the avr is, and avr to either side

olive sable
#

It will have to go to the right cuz cables

#

Ps5 will go left then

rigid snow
#

next to the gamecube neuroPogHD

olive sable
#

I think i should also lower the crossover from 200 to maybe 100

rigid snow
#

oh the sub is probably even louder then

sage crag
#

is this src file classifying types for a programming language

#

or is it classifying types for the host language (c++)

tender river
faint sandal
#

it's none of the above

#

it's the IDA SDK for interacting with IDA

sage crag
tender river
hollow spruce
#

Why it feel like sniper code sample
My dump thought

rigid snow
faint sandal
hollow spruce
#

Playing music

rigid snow
hollow spruce
#

“Debugging my code is enough, now node_modules isn’t enough. My AI backend shows errors. NPM!!!”

olive sable
#

A metal shaving from a copper wire fell into the avr catdespair

scarlet arch
#

so, we deployed our software to one of my VMs, I already have worse network traffic than any customer, so it was heavily under load. coworker thought to remedy this, I deploy their "fix" and now my machine does this:

#

The graph ending there is because something is hogging all the memory and even my SSH session is lagging :D

olive sable
scarlet arch
olive sable
#

Av receiver

#

The thing powering my speakers

scarlet arch
#

oh I see

olive sable
nocturne olive
#

Why do websites use so much memory?

hollow spruce
#

Yo

olive sable
#

Yo

hollow spruce
trim valve
hollow spruce
#

Let play some music

trim valve
olive sable
hollow spruce
olive sable
nocturne olive
hollow spruce
#

Today is raining weather

trim valve
#

i mean that page does at least explain what's using memory, no?

nocturne olive
#

Will look around more at home

umbral thorn
olive sable
#

No problems, it works

olive sable
#

Crossover at 80 for the good speakers, and max for the shitty heights

grim lantern
#

hi

grim lantern
#

btop *

nocturne olive
#

Yes?

nocturne olive
grim lantern
nocturne olive
#

Yes

grim lantern
#

what distro

#

?

nocturne olive
#

Mint Cinnamon

grim lantern
#

I sound autistic rn

opaque sigil
rigid snow
#

no sam you should put it at 45deg

opaque sigil
#

I'll take that compromise

rigid snow
opaque sigil
#

@sage crag I did a couple more optimisations and now my lil gpu hash table is on average about 150x faster than the shitty cpu one neuroHypers

#

Using the lower couple bits of the hash as a starting point for searching inside the bucket helped a lot

olive sable
#

I tried 3 times

opaque sigil
olive sable
#

The weight of the tv pulls itself fown to the side

opaque sigil
#

Unlucky

rough bloom
#

attach random stuff to the back of the TV to fix the center of mass xdx

olive sable
#

That doesnt work, that would infact add more mass

opaque sigil
#

Unironically yes

#

Add it to the left

olive sable
#

Hmm

opaque sigil
#

Random brick taped to the TV mhm

rough bloom
#

just need to put it in the right spot and make sure your mounting solution can handle the added weight

olive sable
#

The problem with the tv tilting is loose studs in the wall

#

So probably not

hard raptor
#

We appearantly getting a LTT collab with Linus Torvalds

rough bloom
cobalt sigil
hard raptor
opaque sigil
sage crag
#

u might want to consider swisstables, its one of the fastest scaling ways of checking hashes with parallelism

#

as far as im aware

tender river
#

its made for cpu caches

#

for gpu you might want to consider gpu specific papers

opaque sigil
#

Unfortunately I am bound to cuckoo hashing, as much as I would love not to neuroSadge

sage crag
#

yes, that as well

sage crag
brisk laurel
sage crag
#

alongside each each entry you also store a short hash

#

which is a u8

sage crag
#

i use 0xFF for vacant slot and 0x80 for tombstoned slot

tender river
sage crag
tender river
#

wasnt there something else neuroThink

#

or just that

sage crag
#

and a variant on linear that steps based on the hash value

tender river
#

fsh

sage crag
#

in the end for me linear was the fastest

opaque sigil
tender river
#

cpu

sage crag
#

yes

#

cpu

#

iirc those dont really work with cuckoo hashing but we shall see

#

you can also try applying robin hood hashing

opaque sigil
#

Cuckoo hashing is non-negotiable enub

sage crag
#

its a hashmap optimisation technique that modifies the order of items for more optimal lookup

opaque sigil
#

I thought about hashing separately inside the buckets too but idk, sounds expensive

real sierra
#

woke up and immediately started coding in my head

#

the project worm has taken control of my brain

sage crag
tender river
unkempt citrus
rigid timber
real sierra
#

nuh uh

opaque sigil
real sierra
#

the coding component is relatively small so surely I'll finish it

tender river
sage crag
#

i woke up and

real sierra
sage crag
#

noe

#

thanks

real sierra
sage crag
#

bad hashmap impl can do better

real sierra
#

board hash is a required feature

tender river
#

shr hash

sage crag
#

you do not want to use my hashmap for that

hollow spruce
#

Yo

real sierra
rigid timber
real sierra
#

Yo

hollow spruce
sage crag
hollow spruce
#

How is ure night tho

rigid timber
real sierra
#

it's daytime here YES I just awoke

sage crag
#

there are better hashing methods for known datasets

#

even integers have better hashing methods than generic hashers

real sierra
#

but my implementation is slow

sage crag
#

riiz

#

rewrite in zig

real sierra
#

trolled I wrote in java

hollow spruce
real sierra
#

actually no

tender river
real sierra
#

I think the first implementation of this I ever did, years ago, was Lua

sage crag
#

zig

rigid timber
sage crag
hollow spruce
#

What why u need learn
Npm is suck
Pip is slow
Include is kicked me
Asm forgot

real sierra
#

rewriting in php

rigid timber
#

hot take: newest PHP versions aren't that terrible...

opaque sigil
#

I'll take php over most other languages

hollow spruce
#

Maybe I learn qskit end of my school life
Need physics

opaque sigil
#

*dynamically typed languages

#

qiskit neuroPogHD

hollow spruce
#

What should I do should I go with data science or ai dev
Or software engineer or hardware Engineer

?

#

I get more confusing to choose paths

real sierra
#

that's a choice I think you should make based on your own interests, not those of others

real sierra
#

nice

hollow spruce
#

Wait a second I'm also be game dev

#

Need maths and physics

#

Thank for idea @real sierra

real sierra
tender river
#

evilTantrum why must think to make new stuff

keen lily
real sierra
#

regardless it's an annoying spec

#

too many commands

real sierra
#

exists for me?

trim valve
#

incredible

real sierra
#

classic load bearing standard hosted on a calculator

tender river
#

cert fine page fine

real sierra
#

attackers?

#

anyway

#

I need to make a thing that understands all these commands

tender river
#

bgp evilHyperYay

real sierra
#

and uses them to update some local cached stuff

#

but on top of that, the chess bot has to be able to read that local cache

tender river
#

or ipv6 neuroThink

real sierra
#

so there gonna be concurrent access TheVoices

#

do I need to worry about synchronization primitives and stuff

#

idk how those work in C

tender river
trim valve
#

oh true I very much might be accessing it over v6

tender river
#

v4 fine

trim valve
tender river
#

bad admin evilHeyGuys

rigid timber
trim valve
tender river
rigid timber
tender river
#

rust does make concurrency trivial

real sierra
tender river
#

its possibly the only language where you can actually be sure concurrent mutation wont backfire

#

wont help with debugging tho

real sierra
#

C seemed the logical choice for that

rigid timber
tender river
sage crag
real sierra
#

I also don't know rust

#

I welcome you writing it for me though

rigid timber
trim valve
sage crag
#

ye ye shibo learn rust

rigid timber
#

I don't think a basic UCI client would be that difficult to write...

real sierra
#

I've tried learning rust it's just too weird

#

yucky

#

don't like

tender river
rigid timber
real sierra
#

it feels like I have to completely relearn programming to use it

#

the return on effort is just not worth when C is right there

tender river
#

not java cant use evilHyperYay

rigid timber
#

you can do C ffi in Java

real sierra
#

^

#

but if I use java for the backend I'll be shot

#

so I haven't

tender river
#

no shiro dont worry you will be shot either way

trim valve
#

tbh I'm kinda tempted to try and find another sort of game to do in my own time

real sierra
#

a lot more people are forgiving of C than Java

trim valve
#

but like not something that's been studied to death

rough bloom
real sierra
#

especially since the API will be unavoidable for the chess bots

real sierra
#

I'll write the API in C and if you wanna make zig bindings to the C header that's fine

trim valve
#

hm?

trim valve
#

my current idea certainly exists but I'm not super confident in it

tender river
#

play? make game? make bot?

trim valve
#

oh right

#

make a game that bots can play

tender river
real sierra
#

a game that bots can play?

tender river
#

shiro a game just for you

rigid timber
#

birthday simulator?

real sierra
trim valve
#

I kinda want to experiment with giving bots less info

#

like they don't get an absolute speed, or position

real sierra
#

you want to

#

lo-bot-omize them

#

(laugh)

trim valve
#

is it considered mean to force people to do ffts in their bot

real sierra
#

sort of

#

I mean

#

this just feels like you would add code to re-derive the expected parameters from the set you get

#

and then plug it into an existing bot

#

as normal

tender river
real sierra
#

so same but slower no?

trim valve
trim valve
real sierra
trim valve
#

probably vs because it would bring some interesting offensive measures

real sierra
#

you can reuse a lot of previous data no?

trim valve
#

as opposed to lockstep turns

real sierra
#

I see

#

then just make the sampling rate adaptive or something

trim valve
#

ofc still very much undecided on a lot of stuff

real sierra
#

if the previous thinking cycle took longer than expected, use a cached value for your parameters

#

when thinking is simple, update them

#

i would still take an approach of adapting inputs to use a traditional bot tho

#

instead of simplifying the bot

trim valve
#

again I still haven't massively thought about how the game would work

#

I can send my very confusing and unhelpful diagram if you want 😭

real sierra
#

I have plenty of those already but I think the channel would like it

trim valve
#

basically each "point" emits a "sound" at a specific frequency that bounces around the map
each ship can "hear" sound (would need at least two ears to allow orientation, potentially allow people to change ship design)
to spice up the game ships could also have the ability to emit sounds themselves

#

ignore the wii tanks

#

I just needed a map and was lazy

#

again though, very much in funky idea land rn instead of "would this in any way be fun"

real sierra
#

I see

#

this seems like it has a pretty defined solution to it

trim valve
#

true

#

atm its mostly just trying to figure out what would even be work as a game

#

combined with my current random interest in signal stuff for no good reason

#

alternatively I just make normal asteroids

#

and call that good enough glueless

real sierra
#

asteroids strategy is just hold spin and spam shoot at the right time

#

humans aren't very good at the second part

midnight sigil
real sierra
#

robots are godly

midnight sigil
trim valve
rigid snow
midnight sigil
#

💊 neuroLookUp

real sierra
#

surely vedal will submit her to the chess competition

trim valve
#

i should really get around to launching screeps

midnight sigil
#

train on 600 elo matches

#

so we get the most average bots

#

we compete for the lowest winrate

#

worstfish

real sierra
#

you should probably train on 100 elo matches so you get a better sense of what the competition will be

#

everyone seems to think the bar is making a bot that can outperform a human

#

but I also have yet to find someone who has any clue how they'd make a chess bot

#

so I think it's a very level playing field

midnight sigil
lament igloo
#

i noticed recently that almost all of the websites i visited recently are now loading their assets with
Filename-RandomString.ext
image-utils-DEfDlrY6.js
which is kinda annoying for cache reasons scrajj prevents bots fetching ig?

trim valve
#

is it random or is it a hash?

rigid snow
#

no it's

trim valve
#

some places do that so they can more easily update assets whilst still having caching

rigid snow
#

it's random so an older version does not get cached

midnight sigil
#

enub cdn filtering?

lament igloo
rigid snow
#

no not really

#

it's just what bundlers do

rigid timber
real sierra
#

caibi is kinda right tho

#

you just swap some signs around and minimax becomes maximin

#

same algorithm for both tasks just different preference

midnight sigil
trim valve
#

surely though there's more bad moves than good moves later in the game

#

so you'd have to explore a wider tree rather than a deeper one

real sierra
midnight sigil
#

maximin neuroHypers

lament igloo
# rigid snow no not really

for example :
https://[url]/games/richmanRelease/resource/animation/role/mv_role_201_tex_c4be8467.png
if it was mv_role_201_tex.png, i would have downloaded every single character assets from the game by now
but if its mv_role_201_tex_c4be8467.png, it suddenly gets hard to download all assets

real sierra
#

the shortest sequence of moves to get into checkmate

#

that's very tricky to find

rigid timber
#

considering that neither opponent would ever take anything, you'd just end up with "most moves to draw" simulator

real sierra
#

because you're basically solving the problem of "how do I get to checkmate quickest" for the other player

#

and it's even worse because the other player probably moves assuming you're making intelligent moves, too

midnight sigil
#

tbh, if a move is forced, the bot has to play that move

rigid snow
rigid timber
#

take after 49 moves every time mhm

midnight sigil
rigid snow
#

why are we competing for the worst bot now

lament igloo
#

worst bot is random chess move generator

real sierra
#

if someone wants to make a worst bot implementation they can go ahead

lament igloo
#

i've seen their terrible plays

real sierra
rigid timber
#

so since we have 15 pieces not counting the king, 30 for both sides, 49 moves per capture... an optimal game would always last 1470 moves and end as a draw

lament igloo
trim valve
#

if you're doing random then you could pick a good move

midnight sigil
#

not capturing specifically iirc

trim valve
#

you need to specifically not pick a good move

real sierra
#

random can choose good moves by accident

rigid timber
#

oh, can it?

midnight sigil
#

mhm

real sierra
#

an intentionally bad bot, however, can place their pieces to minimize the amount of ways a random opponent can avoid taking their pieces

lament igloo
#

there u go

real sierra
#

you just shrink the opponent's legal move set to only include moves where you lose material

real sierra
#

easy one liner

#

surely

rigid timber
# midnight sigil mhm

then an optimal game would end when one side runs out of time, so not only do you have to pick the worst move, you have to do it fast

rigid snow
rigid timber
#

though actually, the 50 move rule is about captures and pawn moves, it doesn't say anything about checks

midnight sigil
rigid timber
#

relevant part of FIDE rules:

9.3 The game is drawn, upon a correct claim by a player having the move, if:
    9.3.1 he writes his move, which cannot be changed, on his scoresheet and declares to the arbiter his intention to make this move which will result in the last 50 moves by each player having been made without the movement of any pawn and without any capture, or
    9.3.2 the last 50 moves by each player have been completed without the movement of any pawn and without any capture.

so ±1500 moves still stands

sage crag
#

promt

rigid timber
#

actually the 50-move rule is only upon claim by a player, we have to use the 75-move rule which is applied by the arbiter without player input

trim valve
#

though iirc a lot of websites will auto draw after 50?

sage crag
#

yes they do, but that's just a default

#

on lichess for example you can turn it off

#

(i think)

real sierra
#

how about you just

#

make moves

#

or advance the game

tender river
#

make a mov

real sierra
sage crag
#

no no this is important

#

The fifty-move rule in chess states that a player can claim a draw if no capture has been made and no pawn has been moved in the last fifty moves (where a "move" consists of a player completing a turn followed by the opponent completing a turn). The purpose of this rule is to prevent a player with no chance of winning from obstinately continuing...

rigid timber
trim valve
rigid timber
#

we draw after 2200 moves, that's funnier

real sierra
#

Pointless and for the next round in the tournament we have LoseBot vs SegFaultBot

sage crag
trim valve
#

oh yeah shrio what is your defence against just like going over to the opponents memory and messing with them

sage crag
#

memory reading bot

#

om

#

"psychic attack gambit"

real sierra
#

once again I invite everyone to join in the contest, the bar to be competitive is VERY LOW

#

and the API will be friendly

trim valve
#

hook the enemy's move api call and make it random glueless

real sierra
rigid timber
#

good thing UCI doesn't have a mechanism for a bot to claim a draw glueless

real sierra
#

and I also think the operating system might explode you

trim valve
#

surely it depends how you're actually making people compete

#

which ngl I haven't quite worked out yet

tender river
trim valve
#

idk I'm not shiro catdespair

sage crag
#

ye

#

assume win memory layout, segfault when you write system memory

rigid timber
#

well both bots won't run in the same process, so you can't just mess with the opponent

#

or not easily

tender river
#

its easy

sage crag
#

its easy if you know where the bot is in memory, know the memory layout of the bot program, and are running as admin evilNod

real sierra
midnight sigil
tender river
#

no root

#

process_vm_writev

sage crag
rigid timber
sage crag
#

with no firejail

tender river
#

will it be windows or linux vm

real sierra
#

Linux vm

sage crag
#

drat

real sierra
#

anyway

#

the rules say don't mess with the backend

#

I would consider this messing with the backend

sage crag
#

no backend messed with

real sierra
#

not part of your bot = backend

sage crag
#

only things the backend is using

#

semantics neuroMad

tender river
#

bringing a gun to a chess fight neuroGun

sage crag
#

ye i'll obfuscate my bot

trim valve
#

what if I inadvertendly cause ub in the backend glueless

sage crag
#

helpful

tender river
rigid timber
rigid snow
#

what if the behavior is winning the tournament immediately

tender river
#

valid

sage crag
real sierra
trim valve
#

😔

real sierra
tender river
#

shiro can you please add undocumented stockfish api

sage crag
tender river
#

i might participate then

trim valve
#

rigged

trim valve
#

secret stockfish mmio

real sierra
rigid snow
tender river
midnight sigil
#

sql inject the competition score database neuroHypers

sage crag
tender river
sage crag
#

not if i do it first

stiff micaBOT
#

🍪 neurOMEGALUL Om nom nom
You've given me 32 cookies! | I've received 243103 cookies total!

real sierra
#

if you can figure out an undocumented stockfish API, you can figure out a better way to get good moves

tender river
#

your cookie not valuable

#

32 cookies

midnight sigil
#

where konii 2.0.2

sage crag
sage crag
#

*no bugreports yet

real sierra
#

I have a bug report

sage crag
sage crag
#

no bug reports

real sierra
sage crag
#

another day without bugs

tender river
sage crag
#

silksong has bugs susge

#

no silksong?

tender river
#

ye lots

real sierra
#

I'd like to report a bug where all bug reports are marked wontfix

sage crag
#

havent experienced it

#

wontfix

real sierra
#

it's occurred to me that testing my API will require writing a chess bot

#

in every language

sage crag
#

wrong wrong wrong

nocturne olive
#

Time to learn C and C++ and Rust and Java and Kotlin and JS and ...

sage crag
#

write a chess bot builder

#

that writes the bots for you

midnight sigil
sage crag
#

make a super-language that transpiles to every other language

real sierra
rigid snow
rigid timber
#

just ask ChatGPT to write a chess bot glueless

midnight sigil
sage crag
real sierra
#

here comes LLMs writing chess bots again

#

we had this discussion

#

idk how good the code was tho

sage crag
#

banned for abusing hidden stockfish api

midnight sigil
#

it'll work, if done without machine learning but only algorithm wise

#

LLM can't do shits with machine learning code

#

they spit jargon

rigid snow
#

i'm confused

real sierra
rigid snow
#

why not prompt llms to write bots if it's for testing the api

real sierra
#

if someone said "here's my tests, an LLM made them" I would fire them

sage crag
#

writing test code is one of the only uses for llms in production to be honest

rigid snow
#

well you should read it

sage crag
#

if you have a bunch of test cases though

opaque sigil
#

flat graphs are nice neuroHypers @sage crag

sage crag
#

not if you need specific tests

rigid timber
midnight sigil
#

just spam some stuff that would do as a normal player

#

or just simply stress test it

midnight sigil
#

spam random stuff = test

sage crag
#

zoom out

#

smh non-linear hashmap

real sierra
#

I mean I needed a bot like this anyway I guess

#

I wanted to have a starter bot for each language

#

that makes random moves

midnight sigil
sage crag
#

input size is 2^x

opaque sigil
#

ignore the labels

#

it's 2^26

sage crag
#

ye

#

all i can confirm is that they have performance characteristics worse than log_2(x)

#

anything else is dwarfed by exponent

opaque sigil
#

idk what else to compare, i guess space per key would be one

sage crag
#

computational hashing problems

#

i cant think of any

tender river
#

sparse graphs

opaque sigil
#

atm i just generate however many random numbers i need, insert them all and then check how many of them are in there neuroPogHD

midnight sigil
opaque sigil
#

there's technically deletion i should probably include somehow but eh

real sierra
midnight sigil
#

heat

#

🔥

tender river
real sierra
#

which instructions generate the most heat

tender river
#

simd probably

opaque sigil
#

probably avx-512

rough bloom
#

ye, AVX usually

tender river
#

mhm

opaque sigil
#

or the amx ones

midnight sigil
#

vectors vectors vectors

real sierra
#

solved problem Sadgi no longer interested

midnight sigil
#

🔥

opaque sigil
#

i could test someone constantly inserting and deleting but in reality anyway would like dump a ton of keys at once and then check

#

since it's pretty much just a lookup table

sage crag
#

vectorisation is more power efficient on cpus that implement the instructions well

tender river
#

neuroSadA cold

opaque sigil
#

hmm i don't like the new typing indicator position

#

idk what it is about it

tender river
#

used to be below chat bar

midnight sigil
#

new discord updatw?

opaque sigil
#

yeah

midnight sigil
#

I haven't update

opaque sigil
#

i miss the other new bar they had where it was inside

rough bloom
opaque sigil
#

too bad they scrapped that one

hard raptor
#

I was watching video about display and audio cables.. and somehow people (including the video creator) forget that DVI also carries audio

tight tinsel
#

issue?

#

i wonder what could be so offensive about a summary

sage crag
#

asked to summarise something bad

tight tinsel
#

article on the future of space travel has become bad

hard raptor
#

Like i have been using this very long DVI to HDMI cable with no audio cable to connect my media PC to my TV

real sierra
#

tv as PC salute posture

tender river
real sierra
#

question

#

nevermind

rigid snow
sage crag
real sierra
#

no wait

#

question

sage crag
#

ok

rigid timber
#

nuh-uh, you said nevermind

sage crag
hard raptor
#

Thing is doxxing your every activity

#

Every little knob turn

rigid snow
hard raptor
#

It's pretty cool tho

rigid snow
#

i just ignored the controller part

hard raptor
#

Don't know if it is that capable as ableton's implemention tho

rigid snow
#

oh fun part, no official docs, 0

midnight sigil
#

lua > py as a scripting language

real sierra
#

and so true

hard raptor
midnight sigil
real sierra
#

memory management is painful

hard raptor
#

Handling lua objects is so incredibly annoying

sage crag
#

ye best scripting language c

hard raptor
#

Cuz they're all arrays

real sierra
#

I think the C API is gonna need a lot of convenience functions

hard raptor
rigid snow
sage crag
#

actually i lied sorry

real sierra
#

because you lose so many tokens just doing stuff like tracking array len

sage crag
#

best scripting language hblang

tender river
sage crag
#

ye sory

#

hblang

tender river
#

i forgive you dEvilous

hard raptor
real sierra
#

the scratch intermediate representation must be a fire language

sage crag
#

its json

#

just json

real sierra
#

perfect

#

what more could one want

sage crag
#

even the images

real sierra
#

sweet

tender river
#

tired evilAAAAA reading papers all day

#

watching lectures and cooking next

#

i am in hell

sage crag
#

eat papers

#

watch foog

#

food

#

foog

midnight sigil
hard raptor
#

Turbowarp has a tool that can transpile the intermediate language back to JS

midnight sigil
#

compile

sage crag
#

into js

sage crag
tender river
#

transpile compile same thing neurojuice

hard raptor
#

"Friendship ended with typescript, now i write my js with scratch blocks"

hard raptor
sage crag
#

not trust it

hard raptor
tender river
#

fsshh

midnight sigil
hard raptor
#

I need to work on ScratchOS v2

sage crag
#

nuerororororororororororororororo

#

flip

#

(super)

real sierra
#

do I make caller responsible for freeing everything

#

do I just have them put length in a separate var

tender river
#

why free if close

lament igloo
sage crag
#

everyone experience manual memory management

#

or explode

#

well personally i wont be freeing any memory

#

virtual memory is infinite

real sierra
#

I probably need to give them functions for freeing particular structs if I don't give them a transparent struct

real sierra
#

more API funcs perish

sage crag
#

flexibility

#

convenience

#

(for us)

real sierra
#

it may be easier to just reimplement the API in python instead of making python bindings

sage crag
#

(not for shr)

tender river
#

neuroExplode me explode

real sierra
#

don't make me manage memory in python catdespair

real sierra
#

I literally cannot free an array in python

#

actually

#

can I just make a binding to free

#

where is that even stored

#

do I want to know

#

I guess it's CPython so

#

the C environment is already initialized

sage crag
#

what

#

you dont need

#

you dont use python array

real sierra
#

nono I mean

#

if a C function returns an array of pointers to structs

#

I can have a function for freeing the struct from its pointer

#

but what about the array

sage crag
#

hm why dont you just use the python module bindings

#

it exists in c

#

or if you want to use rust use pyo3

real sierra
#

do I want to use rust

rough bloom
#

export free from the C API
you don't have to worry about allocators then

rough bloom
real sierra
#

great

#

calling free in python

#

just what I wanted

tender river
#

gc languages have finalizers

#

dispose

sage crag
#

python has this

rigid timber
sage crag
#

and if you use the cpython bindings

#

you could

#

just

sage crag
#

c has everything

real sierra
#

don't just wanna collect random chess packages for every language

rigid timber
#

you don't need to...

sage crag
#

rust's memory model is unfortunately not very compatible with other languages

real sierra
#

oh

rigid timber
tender river
#

just do c ffi

rigid timber
#

well you'd have to do that anyway bc Rust doesn't have its own stable ABI

tender river
#

mutable aliasing rules not enforced for pointers

tender river
#

sherm cube dont know rust

sage crag
#

@real sierra

#

does sherm cube know rust

tender river
faint sandal
#

YOU CAN NOW CHANGE FONT SIZE WITH CTRL+PLUS

sage crag
#

mod spam ping spam

#

keep mods distracted

#

then we can send another wave of mr beast bots

tender river
real sierra
sage crag
#

does sherm cube not rust or does it rust very fast

#

like aluminimum

#

aluminimumumum

#

aluminium

real sierra
rigid timber
#

sherm cube incompatible with Firefox neuroNOTED

sage crag
#

sherm cube is an electron app

rigid timber
#

rewrite sherm cube as a Tauri app

sage crag
#

bad webview

tender river
#

aluminimum osu

real sierra
#

java spring app

sage crag
#

no

#

rewrite in dart

#

rewrite in

#

rewrite in hblang

rigid timber
sage crag
real sierra
#

hblang Shiro cube

sage crag
#

badge

real sierra
#

impossible

#

hblang not strong enough

sage crag
#

for hblang

real sierra
#

true...

sage crag
rigid timber
sage crag
#

i'd rather use qt

#

or gtk

real sierra
#

qt AYAYA

real sierra
#

I using it as the chess server

rigid timber
sage crag
#

yes absolutely

real sierra
#

psychopatht

sage crag
#

c++ not bad if you arent doing osdev

tender river
#

neuroDespair i just remembered using qt

real sierra
#

c++ is a crime

#

D GIGACHAD

hollow spruce
#

All seat are booked only support are only Available
(Imx 3d)

tender river
#

shiro you're literally a java dev

sage crag
#

ye ye shr

#

hypocrite

real sierra
#

java would be the perfect language if it had operator overloads

#

that's the only thing missing

tender river
#

surely

hollow spruce
sage crag
#

operator overloads

#

those really good things

#

that make languages better

hollow spruce
#

I should be get crime

sage crag
hollow spruce
#

Npm
Pip
Include

real sierra
lament igloo
#

ohh yeah random question, is there alternatives to chromedriver

sage crag
real sierra
#

a.add(b).sub(c).dot(d.unit().scale(5))

sage crag
#

operator not be function call

#

badge

tender river
hollow spruce
#

Some one asked what dev are u

me :
Console.log("hello")

sage crag
#

ye

hollow spruce
#

Print("hello")

#

Lol

lament igloo
sage crag
#

shr picked out the worst example on purpose

hollow spruce
#

My country has no government

tender river
#

look fine evilShrug shiro skill issue

real sierra
#

I picked that example because I made a rendering engine in java once and it scarred me

lament igloo
#

i barely can read this oneliner, the () is making me crazy

hollow spruce
#

We kick out government

real sierra
tender river
#

nepal neuroHUH

hollow spruce
#

They ban social app and we kick government

hollow spruce
real sierra
#

monkaLaugh uhhh

tender river
lament igloo
sage crag
rigid snow
#

my favorite rule neuroHyperYay

sage crag
#

awa

hollow spruce
#

I will transfer to india soo 🙂
Because vpm doesn't need but sacrifice tiktok

tender river
sage crag
lament igloo
#

anyways, i got lazy on making a new warning box so i just did this instead nub

#

(its for my silly wiki page)

rigid snow
#

mhm (???)

lament igloo
lament igloo
rigid snow
#

am i having a stroke

hollow spruce
#

Node n.js

#

Is killed

sage crag
noble zodiac
sage crag
#

this person is english 5th language

#

its hard to understand

lament igloo
#

what do u guys think of cloudflare pages

tender river
#

i'd use neocities or gh pages

#

but cf pages is probably not bad neuroThink just use what you want

real sierra
#

just use GitHub for everything

#

it's basically a hard drive

rough bloom
#

CF pages supports dynamic content through workers, not just static files
but if you have only static files you can just anything you want NODDERS

hollow spruce
#

Im going out outside
Bye
( After seeing seen not vailed code ) Bye I will back Tommorow

rough bloom
lament igloo
lament igloo
#

oops wrong reply

rough bloom
real sierra
lament igloo
lament igloo
real sierra
#

oh

#

too much work

#

all in one page

#

wasm app

lament igloo
rough bloom
fast pagoda
#

I hate pages and the way it resolves paths

lament igloo
fast pagoda
#

I don't want to use fuking Jekyll just to host a subfolder

#

Without the paths breaking

lament igloo
real sierra
#

store website on ftp server

#

client can download it

fast pagoda
#

Totally broken if you have the page in a repo and it's meant to resolve to like gh.io/repo/page

tender river
#

MyHonestReaction pinephone headphone jack not working

#

mobile linux Neurorb

lament igloo
lament igloo
fast pagoda
#

I had to add a js module to the subpages in a repo to specifically detect if it was on gh pages and fix the path resolution

#

If I didn't want to use Jekyll basically

real sierra
#

are people going to want a rust chess api

opaque sigil
#

let them suffer

lament igloo
fast pagoda
#

I put the path fixing script inside my main js and it didn't work because the path resolution to load the script itself was broken lmaooo

real sierra
#

I'll make a document saying what functionality the API is supposed to provide so people can implement language-specific versions themselves OK

#

I'm happy to crowdsource this part

fast pagoda
#

Without explicitly hard linking to it

#

You can get around it easily by just accounting for pages in the site structure but the pages deployment in this case is just meant to be a quick sanity check type thing since local server will resolve links that a static server might not for convenience

sage crag
fast pagoda
#

So I don't want to reconfigure the whole thing just for the pages

sage crag
#

if you can use rust you should be able to do c ffi

#

very easy

real sierra
#

I also need to figure out a nice token counter method

sage crag
#

write a simple tokeniser

real sierra
#

I'll probably just provide a script that you can use for token counting

#

it has to be language specific tho