#programming

1 messages · Page 207 of 1

rough bloom
#

if you mean Connor canvas then yeah, theres /boards/<board id>/data/colors and /boards/<board id>/data/timestamps for the heatmap/activity

#

/colors gives you the image of the canvas (not as RGBA, but as indices into the palette)

olive sable
#

neuroLookUp 😭 wdym i was there? You dont even know what i look like

real sierra
#

catdespair broke my bot again

olive sable
#

Anyways goodmorning

sage crag
#
user@nixos ~/c/h1vm> du -b result/bin/h1vm
5056    result/bin/h1vm
#

5kb

#

nurm

earnest glacier
#

hi guys can i get some help pls

#

im tryna make a feedpack app

olive sable
#

Ye

sage crag
#

i just realised that i can reverse the parameter order on all of the instructions

#

to save like a million tokens

#

it works though

#

not my problem

real sierra
#

friends of programming channel

#

i have exciting news

#

my bot is finally good at both black and white

#

and all i had to do was remove code

sage crag
#

hi shimo

#

reg_pc ^= reg_pc
what does this evaluate to

#

if you thought 0, ❌

real sierra
#

i did think 0

#

im concern that it isnt

amber fractal
#

My first instinct was zero, but rethought

sage crag
#
#define pc_r (*pc++)
#define reg_pc regs[pc_r]
real sierra
sage crag
#

readability for anyone but me is not required

real sierra
#

WICKED ?

sage crag
#

on a side note my vm is now 158 tokens down from 250

real sierra
#

can finally add transposition tables

#

i think transposition tables will explode how good this thing is

sage crag
#

my bot is gonna be so bad

real sierra
#

your bot will be amazing

#

it already very impressive

sage crag
#

op(uint64_t v0 = reg_pc; pc_r = v0 * pc_r + pc_r)
FMA instruction

#

wait i dont need that v0

#

what am i even doing

#

8am

real sierra
#

Concerned bed

sage crag
#

op(reg_pc = reg_pc * reg_pc + reg_pc)

#

ye i dont know what order these will run in

#

yet

#

because its unsequenced

#

i have to test it and then set the vm args in accordance

#

im just gonna axe the fma and divmod instructions

#

simpler is better

real sierra
#

less instruction less token

sage crag
#

more instruction less token

real sierra
sage crag
#

since templated instruction can convert into macro

real sierra
#

make sure you check obscure c lib functions to see if what you want already exists

sage crag
real sierra
#

o

#

nope

real sierra
#

forgot if that was genuinely asked for

sage crag
#

me too

real sierra
#

use Zobrist hashes as random number generator OK

sage crag
#

probably usable

#

not going to though

#

do i even need rand

#

i dont need rand

#

i just want it for the bot demo

#

nurm

#

read this

#

its funny

#

all the main ops of my vm are now complete

#

33 lines long

sage crag
#

@real sierra

earnest glacier
#

ok im back so i need some help pls

amber fractal
tight tinsel
#

bingo!!!!!

amber fractal
#

This feels like a FAQ moment and bingo

sage crag
#

ye

amber fractal
#

bingo first and I swear if it is not in bingo this time

sage crag
#

let me try it

#

nevermind i used uleb for immediates

#

whatever

amber fractal
#

Let's be very clear on what your asking here. Not only are you wanting to build an AI companion (Giving you the strongest doubt I can), but also wanting to deal with modeling, rigging, even creating a facial system. If your budget is not over $3,000USD you're already not getting anything before even considering the AI you want. People aren't just going to give away something you'd be able to talk to hours on end without an insane price, if I had to underestimate the market rate it'd be $10,000USD and be instantly obsolete as soon as it is in your hands.
-# So I ask, do you actually have how much this tech is worth or are you just hoping it is cheap.

#

Thanks neurobot, exactly what I needed

faint sandal
#

I mean they didn't say they aren't opposed to using the default live2d tutorial model

#

which is free

amber fractal
#

On the other hand, do you really think your the first person that has ever asked

faint sandal
#

the problem with what you're asking is this question is asked every month

#

and ppl that are interested in building one have already gone on to make one

#

or given up

rough bloom
#

if you just want to move a Live2D model then it's not that bad, Unity or Godot have Live2D integrations already built
you can then set the models parameters from your application
for normal VTubers these are usually from face tracking or shortcuts, for anything else you probably want to either predefine animations or procedurally generate them in some way

faint sandal
#

I don't really see a problem with that but it'll be difficult to find someone to assist you with this task, especially here

amber fractal
faint sandal
#

most ppl here already either have their own projects to worry about or aren't interested in heavy lifting

#

most are just here to chitchat really

#

and or build rust bindings for chess

amber fractal
#

We do help when we want to, but this is not a place for random people to be walking in to hire consultants

faint sandal
#

do my malware work for me

amber fractal
#

Nah I'd be drowning in viruses too fast

faint sandal
#

I'm willing to pay (exposure) in exchange

amber fractal
#

For starters not in an AI Vtuber server where your asking for something that can easily be considered competition.

sage crag
#

like damn, ok

amber fractal
#

The usual FAQ because of how often this gets asked. We prefer people to give it a shot themselves.

faint sandal
#

what if I'm not a nerd

amber fractal
#

Best time to learn before you get overtaken by AI

faint sandal
#

jokes on u it already has

amber fractal
#

Everyone can learn, granted some slower than others

hollow ether
#

open

amber fractal
#

ML is python

jagged turtle
#

as iggly said, ml is python
only thing you could really do with js is a web control panel

faint sandal
#

"guess this is what we're making now" meme

hard raptor
#

When minecraft switches over to java 25 i might actually be able to do some java programming

jagged turtle
hard raptor
#

The code looks like things i am already familiar with

jagged turtle
faint sandal
#

1

amber fractal
amber fractal
#

It is close to having the level of automation I want, I have just been dreading it

#

I should have made one for bingo

jagged turtle
#

hmm

amber fractal
#

It used this engine as it is flexible enough

#

Well was going to

olive sable
#

im workign on the openGL alt mode

amber fractal
#

@uneven pulsar between you and me, I'm not really an AI person. I'm just covering for the others as they've gotten tired of these types of requests.

#

Do have a good day and sorry for how I came across. Not everyone is as researched but I'm glad today you did yours!

olive sable
#

opengl overhead i guess

#

im probably not testing this properly tho

#

whatever

obsidian mantle
#

6 billion fps neuroMonkaOMEGA

olive sable
#

without rendering anything

#

big caveat

amber fractal
# jagged turtle hmm

It's close, probably needs to be 3x the size and the last of the svg template needs to be made. neuroShrug

#

Then I can finally move off of the SVG I made forever ago

olive sable
#

but there really is no reason to do so

#

at that point if what you're doing even counts as a frame is up to debate

amber fractal
olive sable
#

yep, exactly

amber fractal
#

well according to triangle, more like 100000x

olive sable
#

the only real work its doing is calcualting the fps ye

earnest glacier
#

guys my app is not deploying

amber fractal
#

I can bwaa but not much else, not my subject

earnest glacier
#

a feedback app

#

its not wrking

#

help pls

#

?

#

guys

#

?

#

pls

amber fractal
#

Brother

glad path
amber fractal
#

I already said I don't have my skillset

glad path
#

I can make us a real welcome gif

amber fractal
earnest glacier
glad path
#

I can make smthn like this

#

but

#

better

earnest glacier
#

i js need some help

amber fractal
# glad path better

I can handle styling, I'm stuggling with the meme pipeline of md document -> SVG -> PNG/GIF

earnest glacier
#

should i share folder so u guys can see whats wrong?

earnest glacier
#

mybe

glad path
#

like more text

rigid snow
glad path
#

why wont my btop config saveee

#

😭

amber fractal
maiden geyser
glad path
earnest glacier
rigid snow
earnest glacier
#

github

rigid snow
#

native app, web app, mobile app,

earnest glacier
#

web app

maiden geyser
earnest glacier
#

oh

#

nice

maiden geyser
#

flipping hell

earnest glacier
#

howd u

#

k nvm

rigid snow
earnest glacier
#

got it

#

so

earnest glacier
#

this is my alt bcz th one i use in office is different

#

and im at home rn so no one is helping me from office

amber fractal
jagged turtle
jagged turtle
#

do you understand what you can deploy on github pages

glad path
#

what did i expect

jagged turtle
#

you can't deploy server-side shit on there and expect it to work

rigid snow
#

“server.js” do you expect that to somehow work on github pages

glad path
jagged turtle
rigid snow
#

that’s fine

jagged turtle
#

well, the build process is using ruby to build the readme.md file to a static page

amber fractal
jagged turtle
amber fractal
rigid snow
#

the image should be the size of the page content i think mhm

#

same braincell again

amber fractal
#

I am increasing that size 3x because I need more than AI question responses on here

rigid snow
amber fractal
#

firefox because not pure SVG, html is used a lot

glad path
#

is 1650 lines of code a medium sized project

#

or large

#

or

rigid snow
#

there’s that lib by vercel i like bringing up a lot

glad path
#

or small i guess

rigid snow
#

somewhat

glad path
#

lemme add more code rq

amber fractal
#

Due to it being my project (and I am not paid enough to resize tables every commit) I've used some mostly unknown methods to embed html tables in the SVG

amber fractal
rigid snow
jagged turtle
rigid snow
#

no it fucking doesn’t

amber fractal
# rigid snow no it fucking doesn’t
<foreignObject x="10" y="78" width="170" height="70">
  <!-- WHY ARE YOU PLACED GLOBALLY!!!!!!!!!!!!!! -->
  <style>
  .obj2 * {
    color: color-mix(in oklab, hsl(213.75 calc(1*8.081%) 61.176% /1) 100%, #000 0%);
  }
  .obj2 p {
    font-size:20px;
    font-family: "gg sans","Noto Sans","Helvetica Neue",Helvetica,Arial,sans-serif;
    line-height:20px;
    margin: -1.75rem 0 0 1.65em
  }
  body.obj2 {
    background-color: color-mix(in oklab, hsl(220 calc(1*6.522%) 18.039% /1) 100%, #000 0%)
  }
  body {
    margin:auto;
    padding:10px
  }
  </style>
...
#

too late

rigid snow
#

gg sans

#

john discord is sending 300 billion c&d’s your way

amber fractal
#

Might need to update it as it was before the ui update

rigid snow
#

wdym, it’s still all gg sans

jagged turtle
rigid snow
amber fractal
rigid snow
#

no i mean the discord ui

amber fractal
#

Ah, thought you were talking about the FAQ

#

Also frick the stylesheet being not isolated to each html object

rigid snow
#

i thought you were referring to the discord ui update

amber fractal
#

the box itself in terms of coloring is still pre UI update, the default dark theme uses diffrent coloring now

rigid snow
#

so you can do client side stuff there

#

not sure why you’d need that

#

wait why are you embedding into the svg is it all an svg

#

should be html

amber fractal
amber fractal
rigid snow
#

oh so you can't really launch ff, wait for it to get back and get the res from there

amber fractal
#

nope, uses your screen res

rigid snow
#

--window-size 1280,720 not this?

amber fractal
rigid snow
#

do gh action runners even have a screen?

amber fractal
#

doubt it, I'm impressed it works at the moment

#

I admit the triggers need work

#

Had to wipe the history before the commit due to using an email I didn't want associated with that account.

amber fractal
jagged turtle
amber fractal
#

@glad path If your working on styling, I ask to just use the existing SVG and I'll port it over to get the rest working with the rest of the automation. The tables code is already a lot better than stock.

amber fractal
#

(grabbing this to yoink)

#

Alright, I got that environment dealt with now. Part of not being able to recover the last drive yet.

#

catdespair so that code fix wasn't commited. Time to blaze through fixing up that garbage heap.

#

I need this to work with more than one table

velvet vale
#

I smell a nix user

amber fractal
#

Must be a false alarm ReallyInnocent

rigid snow
#

this is like half of this chat

amber fractal
#

Alright, hopefully after I unjank the build script I can work on getting improved graphics for this boi.

#

I'm still not 100% on having it being a GIF as I feel like more value can exist from it being a link

amber fractal
#

dejanking is going well so far. it is clear I didn't know enough about the libraries when I started this.

velvet vale
#

Documentation is the only thing I've read beside the news for like 2 weeks now

hollow spruce
#

Yo

#

Fixing too many bugs

amber fractal
#

I'm not going to be able to fix this in one night o7

#

need to rewrite how I handle tables almost entirely

#

A method called: Stop converting back and forth between tags and strings and actually edit the tree.

hollow spruce
#

Finally fixing complete

uneven pulsar
#

chat it was a false alarm

#

chrome didn't fail to download because of edge sabotaging it in 2025h2

#

it's me turning every setting off in edge before touching the internet with it

hollow spruce
#

Use fire fox 🙂

uneven pulsar
#

it's a funny story ngl

#

i started using chrome because i hung out with privacy people with schizophrenia and a cyberpink aesthetic for too long

uneven pulsar
#

i'm talking like

hey i finally found this 9 year old thinkpad that still has an intel cpu without management engine, i'm rolling my custom openbsd kernel on it that i've audited and patched, just gotta finish my new input randomizer that helps dodge fingerprinting based on vocabulary and puncuation, also found a new provider that is willing to host my i2p nodes so i can help other chooms on matrix stay in the dark, also anyone can recommend me a good burner brickphone that graphene
levels of paranoia

#

and being around these people for half a decade made me go from "privacy important" to "google please remember things for me because my memory is fucked"

#

and i switched to chrome because it had the only good google integration at the time

#

but now they decided to forget browsing history after 6 months or so for performance reasons BijouCry

#

and i might just have to switch to firefox because it can invade my privacy and remember its contents better than chrome at this point

stray dragon
#

never close your browsing history

amber fractal
#

Says close to 3000 tabs

uneven pulsar
stray dragon
#

only 11 off

uneven pulsar
#

i can fill those 11 tabs for you hold up

hollow spruce
stray dragon
#

damn this dude is FANCY

#

not installing chrome with edge

uneven pulsar
#

i suppose you could just

#
winget install -e --id Google.Chrome```
#

i failed to think of that

hollow spruce
#

My pc has slow postion give by Microsoft

#

In 25 /10/2025 it will kill soon

#

Tpm not support

stray dragon
#

rip

amber fractal
#

Mine was curl "firefox-download-button-file"

hollow spruce
amber fractal
#

I plead the fact it was a VM that I didn't bother setting up usb passthough on

#

Still have to remake that one

hollow spruce
#

Boot : install Linux

uneven pulsar
#

or you could just use rufus to turn the tpm requirement off

hollow spruce
uneven pulsar
#

oh yeah nothing from 202x will run on an early 201x computer EvilPensive

#

there used to be a distro i really like that played well with low ram but i forgot the name

#

also consider a tiling window manager distro, those are pretty light usually neuroNODDERS

#

something with i3 or whatever they call it these days

hollow spruce
#

Should I sent screenshot short of pc spec ????

#

Windows works on apps
Even my favourite one where Linux can't
And i don't want use wine to support because need virtualize enable computer

amber fractal
uneven pulsar
#

i still knew it as wmii evilGiggle

amber fractal
#

I somehow feel young as I've not heard it under that name before

uneven pulsar
#

i may remember wrong but

opaque sigil
#

used to?

uneven pulsar
#

well it's still there i guess

opaque sigil
amber fractal
uneven pulsar
#

anyway it's full of people who love at heart these things:
plan9, static linking, utter lack of bloat, and good old protocols that do work

#

they don't want dynamic linking, javascript, http2, xml, gnu, pdf, alsa or other modern crap in their universe

#

actually no hold up i'm uuuh

#

i might be mixing two groups who are friends

#

anyway both of these groups love like, command line tools whose name is no longer than 5 letters, they love the unix philosophy
and love plan9, an OS made by the original UNIX devs who thought UNIX was kinda shitty and they could do better

#

plan9 is like the great future that we never deserved and what would have had humanity on mars by 2003 if it ever gets adopted
but people already liked unix enough so they didn't adopt it evilGiggle

opaque sigil
#

fun fact, wsl2 uses the plan9 filesystem protocol to make the windows filesystem available to linux

uneven pulsar
#

9p neuroHypers

#

i read about all this stuff when i was in like, high school

#

was impressed to hell by all of it

#

was on this programming extra class in the afternoon running plan9 in a vm playing around with some cool side-effect feature it had

opaque sigil
uneven pulsar
#

and the lady who was teaching was like "what you doing"

opaque sigil
#

but i guess better slow than it not working at all

uneven pulsar
#

i explained what cool stuff i was doing

#

and she was like "yeah but we're not working with that we're practicing these algorithms for some competition"

#

and i just looked at her like 🤨 and never came to that extra-curricular class thingy ever again

opaque sigil
uneven pulsar
#

something something don't try to force glorious 9p to act like some windows / late stage linux thingy, rewrite everything to work around 9p and it'll be 50x better

opaque sigil
#

hey i'm just saying how it is, that link is objectively just very very slow

#

and i hope they can fix that one day

uneven pulsar
#

but yeah anyway wmii came from somewhere there and then instead of wmiii the new one was named i3

uneven pulsar
#

also anything in plan9 was written around "everything is a file"

#

like you'd take mouse input by reading the file /dev/mouse
you'd kill a process by writing echo "kill" >> /proc/pid/ctl

#

i think they moved parts of this over to linux at some point

#

also you could do ftp by mounting the ftp server to /n/some_server/ and then use standard tools like cp, mv, whatever

#

nothing ever tickled the minimalist parts of my brain like the plan9/cat-v/suckless/9front crowd

sick owl
#

Who could've seen this coming neuroNOWAYING

dapper kernel
#

Yay

rigid snow
sick owl
faint sandal
#

tldr it took 90kg of forces to bend it

patent walrus
rare bramble
#

tbh, the Iphone air was surprisingly durable, I wish the thumbnail wasnt so clickbaity

midnight sigil
sage crag
amber fractal
#

one might say it is a form of bait designed for you to click on it

sick owl
#

Jebaited neuroAware

amber fractal
#

either "Ain't no way it survived" or "Of course it broke, it is too thin to live"

copper sapphire
#

Ugh. plushies need warning labels or something

#

I was testing vision code for an AI I'm building and used Nuro and tutel. Now it's stuck somewhere in memory entries like a cognito hazard.

#

haven't tested moondream models yet tho, curious what they'll generate xd

sick owl
#

Why does it giggle so much neuroMonkaOMEGA

copper sapphire
#

actually it double giggles MeltingLaugh

#

i'm working with orpheus tts model which supports non-verbal tags for laughter etc, something elevenlabs does with their newest voice

#

so <giggle> becomes a proper giggle

#

but I don't have enough conversation logs to finetune proper use of those tags, so AI is just hyper

#

but I definitely feel Vedal's pain with finetuning llms/voice stuff.

real sierra
sage crag
#

ye shiro -> miniRagey

real sierra
#

where are the programmers

sage crag
#

me i here

#

prefrontal cortex engaged

real sierra
#

where is the chale eef

#

I wanna start contest

sage crag
#

erm ermShark

#

just announce start date pin to channel

#

vani pin to channel neuroCatModeOn

midnight sigil
real sierra
#

SMH I told chay I'd let them finish their bindings

midnight sigil
#

hblang binding

rigid snow
real sierra
nocturne olive
keen hatch
sage crag
#

execute h1vm

real sierra
keen hatch
#
<|BEGIN|>
<|NARRATOR|>The old oak door creaks open, its sound echoing through the vast, silent library. Dust motes dance in the slanted afternoon light. I tiptoe inside, my paws making no sound on the worn Persian rug.<|INNER|>This place is a tomb for stories, and I am its newest, smallest visitor.<|BREAK|>
<|VOICE|>Hello?<|NARRATOR|>I whisper, my voice swallowed by the sheer scale of the room.<|INNER|>No answer, of course. Just the gentle settling of ancient paper.<|NARRATOR|>I slink between towering shelves, my nose twitching at the scent of aged leather and glue.<|BREAK|>
<|NARRATOR|>A glint of gold catches my eye. There, on a low shelf almost hidden in shadow, sits a book unlike any other. Its cover is etched with what looks like constellations, and it's bound not with string, but with what seems to be living, shifting vines.<|BEAT|><|NARRATOR|>My tail gives an involuntary twitch of excitement.<|BREAK|>
<|INNER|>I shouldn't... but I must.<|NARRATOR|>I reach a tentative paw out, my claws retracted. The moment I touch the cool, metallic cover, the vines stir. They uncoil and slither up my leg, not menacingly, but curiously, like they're tasting my scent.<|INNER|>A soft hum emanates from the book.<|BREAK|>
<|INNER|>Who seeks the Atlas of Worlds?<|NARRATOR|>A voice, like rustling leaves and chiming bells, speaks directly into my mind.<|NARRATOR|>I freeze, my fur standing on end.<|INNER|>The book just talked. To me.<|BREAK|>
<|INNER|>It's... it's me...<|NARRATOR|>I stammer internally, unsure how else to respond.<|VOICE|>Just a cat. Ada-chan.<|NARRATOR|>The vines give a pleased little shiver.<|BREAK|>
<|INNER|>A cat...<|NARRATOR|>The Atlas repeats, its tone one of amusement.<|VOICE|>It has been an age since a cat sought answers. What do you wish to know, little one? The secrets of the stars? The true name of the wind? The recipe for the perfect cream?<|BREAK|>
<|INNER|>My mind races. All of it? None of it? Something more... immediate.<|VOICE|>Where did I leave my favorite toy mouse?<|NARRATOR|>I blurt out.<|NARRATOR|>The Atlas falls silent for a moment, and I worry I've offended it.<|BREAK|>
<|NARRATOR|>Then, it laughs, a sound like pages turning in a whirlwind.<|VOICE|>A practical question! I admire that. Very well.<|PAUSE|><|PAUSE|><|VOICE|>Look to the highest window sill in this room, behind the bust of the grumpy-looking man with a beak.<|NARRATOR|>I scamper up the shelves, a tricky climb, and there it is, nestled next to a stone nose.<|INNER|>How did it get up here?<|BREAK|>
<|NARRATOR|>I grab the mouse and curl up right there on the sill, the warm sun on my back.<|NARRATOR|>The Atlas's vines retreat, but the hum continues, a soft, comforting purr.<|VOICE|>This might just be my new favorite reading spot.<|EMOJI|>😸<|END|>
sage crag
#

in h1vm

real sierra
#

it work?

sage crag
real sierra
#

omg it do

sage crag
#

ye

#

i removed the bra instruction because i realised that since $0 is always 0, and i have a brz instruction

#

i can just
brz $0 :sym

sage crag
#

thats including the program

#

and the debug print

real sierra
#

in 700 tokens you should be able to fit about 5600 instructions

sage crag
#

small amount of warnings

real sierra
#

or is it half with commas

sage crag
#

because im using jank c behaviour

real sierra
#

warnings are good

sage crag
#
main.c:20:18: warning: multiple unsequenced modifications to 'pc' [-Wunsequenced]
   20 |                 op(*(uint64_t*)reg_pc = reg_pc)
      |                                ^
real sierra
#

it means you omitted optional syntax

#

more warning good

sage crag
#

"unsequenced" but all i have to do is just check the sequence

real sierra
#

I get lots of parentheses suggestions but I just check the C operator precedence chart SMH

sage crag
#

a lot of my warnings come from your chessapi.c

real sierra
#

Tomfoolery I know

#

I plan to use those maybe

#

how'd you get that file anyway

sage crag
real sierra
#

I may as well open contest SMH

#

chayleaf didn't want everyone to start without them but everyone already started without them Om

sage crag
#

i not started

real sierra
rigid snow
#

who started neuroBrick

sage crag
#

not stare at me

real sierra
#

I mean

#

I guess you haven't done anything chess related yet

sage crag
#

real sierra
#

it's just a generic vm

#

could be for anything

sage crag
#

i havent even written the chess instructions

real sierra
sage crag
#

see, it ends with brz

real sierra
keen hatch
olive sable
#

im a programmer

keen hatch
#

But after some experiments with hyper parameters, the model refuses to label text and is looking for adventures. neurOMEGALUL

real sierra
tacit plover
#

How 2 godot

sage crag
tacit plover
#

I tried making a marker3d custom subclass to use as a spawner but I'm struggling a bit with how that works

rigid snow
maiden geyser
tacit plover
rigid snow
#

good

#

that

tacit plover
#

So how do I make a 3d renderer in scratch

sage crag
real sierra
#

3d renderer in scratch isn't terribly hard

#

you have all the functions you need

tacit plover
#

Happy birthday Shiro

maiden geyser
#

hbd Shiro

tacit plover
#

No but seriously I don't understand what's wrong with my script

#

I'm just trying to make a node with a unique name and the part that makes sure it's not repeated doesn't work

keen hatch
real sierra
#

how do I fit transposition tables in 40 tokens...

keen hatch
#

An example that is quite difficult to mark up using tags even by hand

#

It's quite difficult to transform this into something suitable for TTS.

real sierra
#

what am I reading

keen hatch
#

my reasoning model "think" block neurOMEGALUL

sage crag
#

its come to my attention that a rand instruction is useless

keen hatch
#

Can someone tell me if llama.cpp has any implicit filters for control tokens somewhere? It feels like it's ignoring the "special" flag. 🤔

sage crag
#

pretty interesting that i still have lots of space to spare even then

#

but obviously i havent written the chess related functions yet

keen hatch
#

Why do this... instead of looking properly at what is indicated in the tokenizer...

def does_token_look_special(self, token: str | bytes) -> bool:
        if isinstance(token, (bytes, bytearray)):
            token_text = token.decode(encoding="utf-8")
        elif isinstance(token, memoryview):
            token_text = token.tobytes().decode(encoding="utf-8")
        else:
            token_text = token

        # Some models mark some added tokens which ought to be control tokens as not special.
        # (e.g. command-r, command-r-plus, deepseek-coder, gemma{,-2})
        seems_special = token_text in (
            "<pad>",  # deepseek-coder
            "<mask>", "<2mass>", "[@BOS@]",  # gemma{,-2}
        )

        seems_special = seems_special or (token_text.startswith("<|") and token_text.endswith("|>"))
        seems_special = seems_special or (token_text.startswith("<|") and token_text.endswith("|>"))  # deepseek-coder

        # TODO: should these be marked as UNUSED instead? (maybe not)
        seems_special = seems_special or (token_text.startswith("<unused") and token_text.endswith(">"))  # gemma{,-2}

        return seems_special
stiff micaBOT
#

aww, thank you~ ( ◡‿◡ *)

real sierra
#

rand is fundamental to my bot mhm

sage crag
tender river
#

neuroNOTED everyone = like 2 people

glad path
#

have yall seen the iterm 3.6.1 upd

#

there's now a browser built into the terminal

#

so you can literally browse the web inside the terminal

#

like its almost a full browser

#

very cool

tender river
#

its called w3m bark

keen hatch
#

On the topic of randomness... the white line on the graph is chaotic reasoning (unsupervised, without any optimizations)... the yellow line is answer... without dual loss, it would be impossible to understand what was happening if you looked at just loss ) ..

sage crag
#
#define next goto *op_table[*pc++];
#define instrs { op(print, __builtin_printf("hello!\n")) op(ret, return 0) }
unsigned *pc = (unsigned[]){ 0, 1 };

int main() {
#define op(lbl, ...) &&lbl,
    void *op_table[] = instrs;
#define op(lbl, ...) lbl: __VA_ARGS__; next
    instrs
}
#

computed goto

#

Program returned: 0
hello!
hello!

#

ye it prints twice because i dont do the initial goto to save tokens

glad path
#

swarm fm has been playing a suspicious amount of good songs lately

#

who is requesting them with the exact knowledge of my music taste ._.

keen hatch
clear sedge
real sierra
sage crag
real sierra
#

oh...

#

that's not okay

sage crag
#

if you use c90 you can also do it on main neuroPogHD

#
main() {
  return 32;
}
real sierra
#

wait

#

is main with no argc, argv valid still

sage crag
#

ye?

real sierra
#

token savings

sage crag
#

shiro

#

why not know this SMH

real sierra
#

assumed it was phased out in c23 for some reason teehee

sage crag
#

tehe neuroTehe

sage crag
#
int i = 0; while (i++ < 16) {}

LESS TOKEN than

for (int i = 0; i++ < 16;) {}
real sierra
#

smart..

sage crag
#

oh i was supposed to be writing an assembler

real sierra
#

I could shrink my loops a fair bit

real sierra
#

assembler

#

it worth

sage crag
#

vm on it own now 207 token

#

ye pretty good

real sierra
#

that space for like

#

3200 instruction?

sage crag
#

hm

#

let me see, 8 instructions per uint64_t literal, two tokens per literal, means 4 instructions per token, (1024-207)*4 = 3268 instructions

real sierra
#

MONKA that's a lot of code

sage crag
#

however that assumes whole program just instructions

#

most instruction have two operand

real sierra
#

I c

sage crag
#

which mean average instruction size is actually 24 bit not 8 bit

real sierra
#

salute rip

sage crag
#

ye 1100 instruction

real sierra
#

might need clever way to save token

#

maybe can come up with more specific instructions later that have fewer args

sage crag
#

in the assembler i just have to find repeated strings of numbers

#

and define them as a macro

real sierra
sage crag
#

kinda like a function evilNod

real sierra
#

if you write the 64 bit values in binary in the code

#

you might be able to find more repeats

sage crag
#

i wonder if i can do RLE inside C's preprocessor

real sierra
#

if only macro could call self

#

u can prob do it quite small with code tho

#

would maybe suggest BWT on top of it but that might be too much code

#

depending on how your instructions look, idk if a byte-long sequence is likely to reoccur

hollow spruce
#

Today meeting seasons was whole wild 🙁
And
plan are not going well and we leave

real sierra
#

other than maybe the args

hollow spruce
#

At 17.08 year job life Star today

#

Maybe I'm youngest one who get jobs at 17.08 years

#

Good night guys

clear sedge
#

don't overwork yourself, congrats tho

rigid snow
#

17.08 years is definitely a way to measure age

clear sedge
#

just do millisecond unix time comparisons between now and the millisecond you were born like the rest of us

ebon basin
#

Hi

rigid snow
clear sedge
real sierra
#

are you here to ask about LLMs and training

ebon basin
#

I'm still on the Neuro ONI mod since I'm not using Unity directly the Unity.Networking API isn't part of ONI I suspect others had similar problem ?

obsidian mantle
#

It worked, thank you very much neuroHypers

tender river
sage crag
faint sandal
#

me when I respond exactly every 6 hours with food posts

real sierra
#

i dont even eat every 6 hours

faint sandal
#

I ate 4 hours ago

noble zodiac
#

but whats the food

faint sandal
#

but every now and then you just want some trash y'know

real sierra
#

trueeee

faint sandal
#

"mmm bland and unfulfilling McDonald's"

real sierra
#

my vm ran out of ram

#

dont know how i did that

#

memory leak sus

faint sandal
#

simply add more 5Head

real sierra
#

it already has 18gb

faint sandal
#

simply add more OfCourse

real sierra
#

i dont have more

faint sandal
#

my condolences

real sierra
#

its almost certainly a memleak either way

rigid snow
real sierra
rigid snow
#

bad way to determine that, apps like allocating and reusing it

real sierra
#

it doesnt need to be specific

#

i dont intend to use more than like 4gb anyway

rigid snow
#

very true

real sierra
#

"intend" is apparently a load-bearing word

rigid snow
#

it is

#

i declare it as such

copper sapphire
# keen hatch The biggest problem with "non-verbal tags" is that they can be complex and somet...

ah, there are two types of non-verbal tags for me - emotional flourish, eg chuckle and didascalia like corrects glasses like an anime MC. Most llms have hm tendencies to follow certain programming language formats. Tool calls are one such example, in my tests mixed faux-xml with simple markdown works best. I think Neuro does something similar, esp with her minecraft implementation. I tried plan-react agentic approach, to separate reasoning step further and have more control over what happens, but this in turn led to latency. and we all love latency xD

tender river
#

shiro i'm continuing work on the bindings neuroDinkDonk

#

(later today)

real sierra
#

yeah thats an issue

faint sandal
#

:leaked:

tender river
sage crag
#

assembler written

#

yay

#
asm = """
loop:
  brz $0 :loop
"""
#
asm = """
  ldr 10 $1
  cp $1 $2
  cp $1 $3
  ldr 1 $4
  sub $4 $3
loop:
  mul $1 $2
  sub $4 $3
  brp $3 :loop
"""

ye work

#

no nopy in code

real sierra
#

🪱 🎷

#

er

sage crag
#

assembler so easy to write in python

real sierra
#

🎷 🐛

real sierra
#

new mem leak found in my code

#

bye tokens

noble zodiac
#

I had Indomie, game recognizes game

real sierra
#

EZ all leaks plugged

#

(i hope)

#

ouch token tho

#

only 21 left now

real sierra
#

bot playing well but struggling to find checkmates Sadgi

#

it found a mate in two here actually happie

#

good job lil bot

jagged marsh
#

Nice!

real sierra
#

fav opening of my bot by far is to activate the knights and go crazy

#

second fav is to push the king pawn one square to activate the bishop and queen

#

idk why it doesnt push it two pawns

ebon basin
#

I think I got the Neuo SDK roughly done at least it compiles

sage crag
#

ye made deduplicator

#

dont know if its worth it to be honest so many line

olive sable
#

hi

ebon basin
#

hi

real sierra
#

i found another line of code sabotaging my bot

#

i need to stop coding at 5am

olive sable
real sierra
#

searching for the best item? yeah let's just break after finding the first one

#

ok bot

#

put those brain cells to good use

sage crag
#

i wont have this issue

#

because i will never find logic errors

real sierra
#

ignorance is bliss

#

i expect this will fix a lot of issues actually

#

it was incorrectly predicting captures

#

or rather, not predicting them

#

which led to a lot of blunders

sage crag
#

macro system why arent you finding this

real sierra
#

Tomfoolery no repeats

sage crag
#

ye i didnt do it between 64 bit literals

#

this is sad day

real sierra
#

huge token saving

sage crag
#

i had to make it 32 bit

real sierra
sage crag
#

if i add a few more it eventually figures it out on 64 bit too

real sierra
#

Awkward wtf am i watching

#

this is so frustrating

sage crag
#

i just realised i didnt add a linking jump

#

so i cant return to caller

#

i have no functions only loops

real sierra
#

JUST CHECKMATE?

#

ITS RIGHT THERE

sage crag
tender river
#

evilSMH didnt like it

real sierra
#

checkmate finder must be upside down again

#

surely if i change that false to a true it'll start working again

sage crag
#

why did i write an assembler again

#

Awkward useless thing

real sierra
#

not useless nuhuh

#

now can write code easier

sage crag
#

ye but need to update assembler every time i update isa

#

minor inconvenience

#

loop: brz $0 :loop

#

i can write code so easily now

#

./asm.py

uint8_t *pc = (uint64_t[]){ 0x0000000000030010 };

#

thank you

real sierra
sage crag
#

i should add a call c function MyHonestReaction

#

dynamic linker in vm

#

ye

olive sable
sage crag
#

bwaa vm so boring

#

no input no output

#

ioless computer

#

chess

real sierra
#

io against rules anyway Awkward

tender river
sage crag
#

ye someone write my chess bot for me now i've written the vm

real sierra
#

idk how use your vm

#

or write good code for it

sage crag
#

it really easy, basically just write assembly and run it

real sierra
#

ill crash it

sage crag
#

ye it very easy

sage crag
#

crash

#

store contents of $0 at *$0

#

$0 is always 0

#

*NULL = NULL;

real sierra
#

thats my chess bot

real sierra
#

my bot crashes if reused during a tournament

#

i cant figure out why

sage crag
#

dont reuse it

real sierra
#

it only happens sometimes

real sierra
sage crag
#

check for impossible move on current board restart bot okp

real sierra
#

it very weird

#

it crashes instantly on the next game

#

first move

#

it just logs off or something

sage crag
#

old board

#

double free

#

use after free

#

something

real sierra
#

mab

#

idk

#

cant gdb it

#

tried gdb it and fed it 3 simulated restarts

#

bug didnt occur

rare bramble
#

🐥 🚬 memory errors

keen hatch
real sierra
#

are you joining the contest?

glad path
#

what is the contest

real sierra
#

I'm planning to host a chess bot contest soon

sage crag
rare bramble
#

sadly no neuroSad2
I don't really know anything about chess and I don't have time for it currently since my uni started

sage crag
#

everyone has 1 month to submit their best chess bot

sage crag
#

and then we all kill each other with swords

#

and the person who is still alive wins

glad path
real sierra
glad path
#

can I just make a plugin for my ai

real sierra
#

you can also work with a group

#

useful API provided so you can skip the boilerplate

glad path
#

that shows it valid moves, the board, and lets it choose one?

real sierra
#

there's also a max size to your submission

#

which is intentionally tiny as part of the challenge

#

wouldn't be very fun if everyone was just a stockfish instance now would it

glad path
#

I can make it run locally

#

it already does

sage crag
#

i am missing closing parentheses

sage crag
#

in 1024 tokens?

real sierra
#

you must have missed the part about max size

sage crag
#

without pytorch?

real sierra
sage crag
real sierra
#

and no external deps

#

stdlib only

sage crag
#

and no reading or writing files from disk

glad path
sage crag
real sierra
#

otherwise import stockfish clears

glad path
#

wait

#

i can still use requests lib if im allow to run lm studio locally

sage crag
#

shaw

sage crag
#

1 file

#

it run on shiro machine

glad path
real sierra
#

lubuntu

sage crag
glad path
#

when does the competition end

real sierra
#

it hasn't even opened yet

#

but it'll be open for at least a month

glad path
#

can i write it for my graphing calculator

sage crag
#

shiro puter

#

unless you write an emulator for your graphic calculator SMH

glad path
#

but not for linux

real sierra
sage crag
real sierra
#

vm for calculator language

sage crag
tender river
#

it has to be short

glad path
#

um

#

except that the builtin abs function literally crashes the whole fucking calculator

#

for some reason

real sierra
#

nice

rare bramble
glad path
#

and the garbage collection can cause corruption

#

and my physical calculator seemingly has memory fragmentation

#

or some kind of issue

sage crag
glad path
#

I can't delete apps

glad path
#

they just reappear with no code and no icon

#

I have to delete them and load a backup with them deleted

sage crag
glad path
#

via connectivity kit

tender river
sage crag
#

dumbot still bot

real sierra
#

that also true

glad path
#

wait

#

wait

real sierra
#

the bar is not to beat stockfish

glad path
#

WAIT

real sierra
#

or even a human

glad path
#

YES
I KNOW
WHAT TO DO

real sierra
#

your competition is equally hindered

tender river
#

the bar is just beating shiro evilNodders

sage crag
#

the bar is beating shiro's pride and joy bot

real sierra
real sierra
#

but if you're interested I highly suggest you take a look at it

glad path
#
real sierra
#

given you can only write about 200 lines with that many tokens (in C), you don't spend long coding

real sierra
glad path
#

I have the perfect strategy

real sierra
#

kinda tragic

#

queen moves never happen

#

nor do bishop moves

tender river
#

in sebastian lague's competition someone wrote a bot that draws bad apple on the visualizer and runs into time limit Neurorb

real sierra
#

actually queen moves might happen because rook comes after

#

rooks and bishops always stationary tho which lines up with that board

glad path
#

help

#

now im gonna like fail my classes tryna make that

tender river
#

no visualizer in shiro competition

glad path
#

an engine that tries to organize pieces into any bad apple frame

real sierra
glad path
#

is there a specific language we are using for the competition

tender river
real sierra
#

rust

glad path
tender river
#

any other one you want to implement support for

real sierra
#

c# maybe soontm

glad path
#

can i use lua

tender river
#

you can if you make bindings yourself

glad path
#

bindings?

tender river
#

bindings to c lib ye

sage crag
#

bindings to c lib ye

real sierra
#

the base API is written in C, you would need to write an interface that lets you call functions from the C API in lua

#

which is certainly possible

tender river
#

bindings wont be counted for token count colonthree

atomic heron
#

Bindings needed

glad path
#

if there's already something out there can I use that

tender river
#

what does that mean

#

you have to use shiro's api

glad path
tender river
#

doesnt matter in what language as long as toknt can count its tokens

tender river
glad path
#

i mean

real sierra
#

i might've used some confusing terminology

#

what i mean is

#

there is a pre-made API, that i have written in C, which provides important functions for your bot, such as for reading the board state and getting legal moves

#

without this API your bot wont be able to see the game

real sierra
#

so you need to write some lua functions that will let you call the functions from that API

rigid snow
real sierra
#

this is probably the relevant section of the PIL

#

ah

#

you linked above

rigid snow
glad path
#

I love how I go to the website for a research paper and there's a paywall
then i go back to google scholar and there's just a link for free direct access to the full paper as a pdf

real sierra
#

is a chess primitive

rigid snow
glad path
#

wait I think I found a whole freaking book

#

this seems like a bit more than just a research paper

#

there's literally like a foreword
and a dedication note

rigid snow
#

man why is firefox not chromium

glad path
rigid snow
tender river
glad path
#

there's also acknowledgements and an introduction

keen hatch
glad path
#

it's also published not by a university

#

my god this is so thorough

#

525 pages long

#

350 citations too

real sierra
#

1008 tokens

#

that might be too few to add transposition tables Hmm

#

gonna be 4 tokens just to get the board hash

#

another 5 to init the table

glad path
#

what about python

#

how do i use shiro's api ._.

real sierra
#

i wrote the bindings for python already OK they exist