#programming

1 messages · Page 36 of 1

loud thicket
#

FAANG employees after realizing how soulless it is

valid heron
#

I just bought a frutiger aero themed mouse

safe path
#

don't reference sensitive topics in a meme @rigid snow

rigid snow
#

probably should have thought twice good call

#

sorrgy

safe path
stark needle
#

Does that break the rule

uneven pulsar
#

sorry to ping but i wanted to show you smt

safe path
#

hi

#

ok

uneven pulsar
#
// the code here is an example of the halt condition
public class lesson3 {
    public static void main(String[] args) {
        int result = sum(4, 8); // in this line we declare the int var and we use the method to enter args 4 and 8
        System.out.println("Sum: " + result); // it will display the results out put would be 30
    }
    // the used method to make the halt condition
    public static int sum(int start, int end) {
        if (end > start) { // it will occure if the end greater than start also the halt condition would trigger if the start > end
            return end + sum(start, end - 1);
        } else {
            return end; // base case: when end == start
        }
    }
}```
#

its the halt condition

uneven pulsar
# safe path ok

i now understood what you said about it through learning java

#

sorry if a bothered you cuz i started to think about it but you see when i started java it became more clear to understand

safe path
#

nah it's ok to bother me most of the time ok

#

glad you're learning well

uneven pulsar
#

you taught me a lot from it

#

thank you

desert wave
#

neuroNOTED ping vanor for code reviews

rare bramble
tender river
dense cosmos
#

damn, coffee really does work

#

I was half zombie whole day after sleeping at 4 am after watching dev stream

#

admittedly my own fault, but eh

#

I wonder what I should work on rn

#

my ai project, my game, my other game, my hackathon project, or...

dry charm
dry charm
dense cosmos
#

same

tender river
#

i mean, both languages are based on lambda calculus, the only difference is that haskell is typed

dense cosmos
#

also my taskbar died and restarted

#

y did it do that tho

tender river
#

i guess you could say that typeclasses make the languages diverge quite a bit though

dry charm
#

I kind of hate that in Nix

#

when type errors happen and the error is not descriptive enough

tender river
#

thats what makes it so flexible, but yeah nix error messages suck

#

"ah yes a random value somewhere in random code was an int rather than a string, i will now have to search through my entire codebase to understand what could be possibly causing it"

#

thats just the curse of dynamic languages

#

but also, because they're dynamic you can implement cool stuff in them without type system support

dense cosmos
#

maybe instead of working on any of my existing projects I should start a small one like a little game jam

#

or maybe not

#

perhaps starting another project is not the best idea

stark needle
#

GeeFarce 5027 POS neuroPogHD

stray dragon
#

the "intel core" sticker just slapped on there lmao

unkempt citrus
#

They have to be taking the piss

#

Piece of Shit

#

Farce

#

No PC needed

sage crag
#

i have a box of fudge on my bedside which i eat to get a sugar rush in the morning

#

it makes me wake up enub

trim valve
#

got myself a decent second hand g502 pogs

sage crag
#

woh

trim valve
#

need to clean it but woo

#

now I have a laptop mouse

#

with a goofy scroll wheel

tender river
#

same mouse as me neuroPogHD

#

it just feels comfy but i heard that it depends on your hand size

#

and fast scrolling and the amount of macro keys are both great

trim valve
#

idk what I'm gonna use the macro keys for lol

tender river
#

i use them as media keys

#

and for tts

trim valve
#

I mostly just needed a mouse because trackpad translates really poorly over remote desktop

tender river
#

sorry ptt not tts

trim valve
#

oh true it is a nice ptt button I guess

#

ugh I really need to figure out how to get this gamer gunk out of the mouse

dense cosmos
#

I have a hyperx pulsefire haste mouse

#

the middle mouse button is kinda busted

#

but otherwise, it's great

#

my old mouse would make my hand ache after long hours

#

haven't had that issue at all with this mouse

#

oh! I should remap the side keys I never use to the middle mouse!

maiden grotto
#

i have a generic $5 gaming mouse which makes squeaking noise when i scroll but does the job

trim valve
#

it takes a lot more effort to midle click on the g502 than the superlight

#

problem solved

opaque sigil
#

i sure as heck would hope that the g502 takes more effort to middle click on give it's metal neuro7

tender river
#

also side scrolling is useful i wouldnt get rid of it

trim valve
#

I just use shift + scroll

trim valve
#

quirky ui

trim valve
#

my little gamer fingers barely do anything on my other mouse

tender river
#

whenever i give my mouse to someone not used to it they always accidentally press the macro keys lol

trim valve
#

I can understand the ones by the thumb

old totem
#

chat help

#

why is the reading stuck at 153.00

#

so what im trying to do is to take the first 100 vlaues of the temp sensor

#

and average it based on that

#

either the wiring or the code is wrong

trim valve
#

idk much about arduino but do you have to set the pin to be an input or something

#

also like what value are you expecting to get

old totem
#

well i want it to fluctuate

#

when i move the temp slider around

#

but it doesnt

trim valve
#

glueless also you're writing to readAvg[-1] on the first loop iter

old totem
#

oh shit you right

#

i changed i to 1

#

but its still stuck to 153

#

is my for loop wrong

rough bloom
#

Also analogRead is only called once before the for loops
that's probably meant to run on every iteration instead

trim valve
#

oh true

old totem
#

OH SHIT okay it works but the array is filled with only one value

old totem
#

IT WORKS NOW

#

thanks

#

now i have to figure out how to recreate the reduce method from javascript to get my average neuroD

uneven pulsar
#

can someone help me

faint sandal
uneven pulsar
#

okay look i am trying to use gpt api

#

and i made a basic search bar that it will show the game and give a small description about it but its not working

#

to clarify i dont know what did i do wrong or did i use the api correct?

trim valve
old totem
#

i actually have zero idea how to do the math on the average so im just gonna ask if the code is correct

#

is the code taking the average right?

trim valve
#

I am generally pretty close to spamming that button I want it to feel like a normal mouse button

trim valve
#

and idr if just doing int sum actually sets sum to 0 or not

uneven pulsar
#

i am going crazy did i use the api wrong???

noble zodiac
#

how are we suppose to know without seeing what you actually did?

opaque sigil
uneven pulsar
#

ok look i made the basic frontend using html and bootstrap like i am not even sure if i wrote it right to call the api

dry charm
#

Basic HTML and Bootstrap does not have the correct toolset for an API I don't think

#

You most likely need a nodejs app which serves as an API for call ChatGPT

uneven pulsar
dry charm
#

you should never embed APi keys in webpages

#

Bootstrap is a stylling library yes, it does not do anything else

uneven pulsar
#

then whats the solution

dry charm
#

Can you show us what you did? Please make sure to send the snippet without the API key

uneven pulsar
#

i am trying to teach my self to use an api on basic website

#

ok

tender river
sage crag
#

made the same way as toffee except you add milk and butter, and cook it at a higher temperature

tender river
#

does it taste similar

sage crag
#

the main flavour is sugar SMILE

uneven pulsar
#

here

uneven pulsar
#

do i have to call something here?

sage crag
noble zodiac
tender river
#

yup it is off by one

sage crag
noble zodiac
#

I'm suprised it didnt crash

tender river
#

wait no maybe not

uneven pulsar
sage crag
uneven pulsar
#

api is so complex

tender river
#

oh yeah replace sum += readAvg[i] with sum += readAvg[i - 1]

noble zodiac
#

or start at 0 as god intended

tender river
#

exactly

sage crag
#

fudge is soft and crumbly, tablet is harder

tender river
#

wait wouldnt it go before fudge then

sage crag
#

this was in "softness"

noble zodiac
#

wait, how can it be both soft and crumbly

sage crag
noble zodiac
#

frfr ong

dry charm
#

Have you checked the Console in the browser and the log in the terminal where the python runs?

sage crag
tender river
#

konii's ego is famously very soft and squishy

sage crag
noble zodiac
#

put some Kladdkaka next to your bed if you want a real sugar shock

tender river
#

or just eat sugar

sage crag
#

since its made from hypersaturated sugar syrup

#

lol

tender river
#

the only crumbly sweets i remember off the top of my head is halva honestly

sage crag
#

ive never had it

#

ive seen it though

tender river
#

i dont like it anymore for some reason

noble zodiac
#

I never understood those soft cookies they have at subway

#

why do you want it mushy

tender river
#

there are some sweets similar to halva that i like better tho

sage crag
tender river
#

oh apparently sunflower halva is mostly a local tihing

noble zodiac
#

me when I make soljanka

tender river
uneven pulsar
noble zodiac
#

nice api key

uneven pulsar
#

OH FU

noble zodiac
tender river
stray dragon
#

free api key oh boy

noble zodiac
#

its pretty easy to find around here. soviet occupation does that to a place

tight tinsel
#

i heard free api key

stray dragon
#

yes, for openAI

uneven pulsar
#

FUCK

stray dragon
#

(just change it if you can)

uneven pulsar
#

ITS JUST A STUPID API PLEASE NO

stray dragon
#

there should be an option to change your api key

uneven pulsar
#

LEAVE IT AAAAAAA

dry charm
#

I told you to make sure you do not share you API key dogkek

#

actually @safe path AAAAA

uneven pulsar
#

I DELETED THE MSG

dry charm
#

it just a precaution, cause it's not the first, nor the last time it'll happen

rigid snow
#

just reset the key calm down

dry charm
#

also yeah

#

I wish discord also had the scanning like github does

#

or atleast available in bot form

#

see api token: EXTERMINATE

stray dragon
#

still wouldn't really work, message loggers exist

#

needs to be filtered before the message gets sent

dry charm
#

The point for those scanners is to send an automated invalidation message to the API source

#

like in github case, when you commit an API key, it gets automatically invalidated

stray dragon
#

ah i see

trim valve
#

the discord.py server has a bot that makes a github gist with your token if you paste a discord token into chat

#

pretty neat

uneven pulsar
#

KEY CHANGED

#

I HAD TO BREAK MY LEG

dry charm
#

OH

#

cause it is scanned

#

that is smart

trim valve
#

ye

#

basically instant revoke

gritty dust
#

Imagine leaking an API key

hoary lion
#

fr

rigid snow
rigid snow
uneven pulsar
gritty dust
#

neuroHypers free API keys guys

vernal summit
#

oh... api keys

knotty current
#

wait that kinda looks like my API key neuroMonkaOMEGA

vernal summit
knotty current
#

when did mine get leaked

tender river
#

isnt async rust beautiful

gritty dust
wide flicker
#

My buddy's making a discord bot with Rust, I should probably at least try coding smth w it at some point

#

Right now I'm using python :)

dry charm
opaque wharf
#

Oh, I thought it was callback hell lol

tender river
opaque wharf
#

Because I remember the day when callback nesting get so bad that its practically an arrow shape

tender river
#

its called cps and its glorious

#

In functional programming, continuation-passing style (CPS) is a style of programming in which control is passed explicitly in the form of a continuation. This is contrasted with direct style, which is the usual style of programming. Gerald Jay Sussman and Guy L. Steele, Jr. coined the phrase in AI Memo 349 (1975), which sets out the first versi...

rigid snow
# gritty dust

i don’t get why this meme exists, for it to be funny it has to be true neuroSad2

#

i am so getting ragebaited by it

gritty dust
opaque wharf
rough bloom
#

would've been accurate 7 years ago

opaque wharf
#

Yeah, maybe that is an old meme so it is funny at that time

#

But I still loled tho

opaque wharf
# gritty dust Lol I know bro

Yeah. I was just talking about things that we can see how exactly it is used as cloudflare open sourced most of their project

#

Oh, TIL amazon also have quite good open sourced project on their github...

stark needle
#

Openai is NOT making profits

olive sable
#

I am alive NeuroWave

#

My sleepchedule is completly fucked tho, its 7pm

#

I saw somee stuff about the g502 while backreading, ye its slightly heavy and hard to press the middle mouse button but i have big hands so its one of the only mice i can use.

trim valve
#

if I could disassemble it without ruining the skates I would absolutely deep clean this good lord

noble zodiac
#
366 |         [Expr::DFunc(_, _, is_macro, _)] => *is_macro,
    |                          ^ private type

ok... but... I dont want that field?

#

nvm I see what it means

gritty dust
tender river
trim valve
tender river
#

(yes this one is my second one)

warm wadi
#

Chat, I´m an aspirant of programmer in Java (doing a curse right now) and I need help with a really basic thing, cansomebodypleasehelpme 🥺

obsidian mantle
#

anybody uses ffz for twitch?
where did the "refresh player" button go?
it disappeared like a couple days ago for me.. i really need it

#

oh actually the "latency reducer" which ruins the sound is back too. looks like the player is absolutely unaffecred by ffz now

stark needle
#

im gonna do something funny

#

try to make neuro voice v3

ruby timber
#

200 fine tunes

stark needle
tender river
#

you're aiming too low

#

make neuro voice v4

stark needle
ruby timber
#

True, prepare the next generation of Vedal AI

stark needle
ruby timber
#

Will do YES

flat notch
#

Hay

stark needle
#

i will drop

#

Neuro-Sama 2

#

the sequel

olive sable
#

neuro sama definitife deluxe remastered edition

nocturne olive
# stark needle try to make neuro voice v3

It's not like it'd probably be too hard considering how easy it feels to clone her singing voice when your dataset is the biggest and highest quality one the community has probably

gritty dust
stark needle
#

So no cloning

#

Like in the traditional sense

nocturne olive
#

My approach would be distilling Neuro's singing voice trough RVC into a TTS dataset to then finetune a TTS

warm wadi
olive sable
stark needle
#

That tts models aren't good

#

At training on neuros voice

sage crag
#

make a new thing

stark needle
#

Cause her voice is weird and artificial

stark needle
sage crag
#

hello acquire corepunk with code vedal

warm wadi
#

Task 1:
Write a function called letterFinder that accepts two parameters: word and match.

Task 2:
Code a 'for' loop within the function structure. The for loop counter should start at zero, increment by 1 on each iteration, and exit when the value of the counter variable equals the length of the word parameter.

sage crag
warm wadi
#

I need to do this but, honestly, I don´t have a single idea of what can I do

the current code I have is:

function letterFinder (word, match){

 for (var i=0; i > word.length; i++){
console.log(i, word[i])

}
}

sage crag
#

the way you can check for equality will be

if (a == b) {
  ...
} else {
  ...
}
#

where a, b are the two things you are comparing

#

in your case it would be checking if word[i] is equal to match

#

if it is, you should exit the loop

#

and return the index

warm wadi
#

Honestly, I don´t exactly know what they´re asking me to do XD

#

Shouldn´t be the value of i instead of match'

sage crag
#

you are trying to find the match character in the word string

#

word[i] is the character at index i of the string word

#

so you are comparing match to word[i]

#
function letterFinder(word, match) {
  for (var i = 0; i > word.length; i++) {
    if word[i] == match {
      // put what you want in here
    }
  }
}
#

inside the if word[i] == match {} will be when you have found the match

warm wadi
#

Thank you!

gritty dust
#

code

stark needle
hoary lion
uneven pulsar
hoary lion
#

not fun

uneven pulsar
hoary lion
#

challenge yourself

#

decline api

uneven pulsar
#

yeah i kinda have up but il figure it out later

hoary lion
#

i didn't newero

uneven pulsar
#

i had some api issues today

hoary lion
#

APIs are meant to broke

uneven pulsar
hoary lion
#

classic behavior

#

always fails

#

love 429

rigid snow
hoary lion
uneven pulsar
#

but shadow really did fine art on drawing it🗣️ 🔥 it looks lore accurate v1

hoary lion
#

hot take: TTS arch these days are shit

rigid snow
hoary lion
#

we do NOT need autoregressiveness everywhere

#

it is based on task, but ye

#

for neuro, different approach is definitely needed

rigid snow
#

lol my theoretical tts is better than anything on the market fr

hoary lion
#

drop the arch now

#

I love forking others

rigid snow
hoary lion
#

so uh

rigid snow
#

it's not an nn arch

hoary lion
#

vocaloid with extra steps

#

for naturalness

rigid snow
#

not really

#

vocaloid isn't physical modeling

hoary lion
#

dunno much but ye

#

two step is genuinely very slow

#

unless you pass it through rvc

rigid snow
#

it's this basically

hoary lion
#

uhhh

#

idk tbh

#

but doesn't really sound natural unfortunately

#

would need some additional restoring VAE or such

rigid snow
hoary lion
#

bwaa bwaa

#

i see

olive sable
#

i love graphs

worldly plank
#

What are the licenses for Quest Through the Harrison Temple and Remnants of Vedal's Coding Ability?

gritty dust
#

bro

#

what is that

opaque wharf
#

Maybe game from gamejam?

#

Oh

#

Man I really need to sleep huh. Bye all

olive sable
olive sable
#

kinda

uneven pulsar
olive sable
#

i use pygame as the window and the thing to connect to the webgl instnace

#

but the backend is opengl

olive sable
uneven pulsar
#

why not vulkan

olive sable
#

cuz i dont know how to vulkan

rigid snow
#

why not vk

uneven pulsar
#

opengl is outdated

#

vulkan is standard

olive sable
#

"vulkan is standart" for triple A maybe.
do i look like a triple A game studio?

#

the current budget is in the negative

#

im in debt

olive sable
#

that is the plan you know

opaque sigil
#

vulkan is misery

#

opengl my beloved

rigid snow
#

also webgl is afaik 1 to 1 to opengl, no vulkan in the browser

olive sable
#

but if i were to use vulkan i would have to cook this fore another 4 years to get to the same level as im at now

olive sable
#

at that pointid rather just go to rust or C++ instead of using python

rough bloom
# uneven pulsar vulkan is standard

True, but I don't think this particular application would benefit from it that much
Most of the improvements Vulkan has (other than the super-advanced ™️ cutting-edge features used for raytracing and stuff) are targeted towards better multithreading performance
Python, especially with Pygame, doesn't really do that

olive sable
uneven pulsar
#

opengl is loved for freindly graphical use

#

its not stupidly complex like vulkan

opaque sigil
#

clearly the answer is to use metal mhm

rigid snow
rough bloom
olive sable
#

if i was using vulkan i might be able to do grass like this without it taking up 75% of the render budget lol

#

for now it shall look like this

#

tbh i could leave in the stupidly expensive grass for the 5090 people, but this is supposed to run in the browser so nah

olive sable
#

most of the time there wont be, but please check

#

and even if there isnt a license, i would still ask if you have permision to use it

#

that being said, go through the mods, dont ping the tutelman

olive sable
olive sable
#

this is all in preperation for the third neuro game-jam lol

gritty dust
olive sable
#

its annual ye

#

or at least, it should be.

gritty dust
#

when do you think itll be

olive sable
#

if vedal doesnt do one this year we'll try to do one ourslef

olive sable
gritty dust
olive sable
#

idk, choose

#

its not gonna be for a while tho

gritty dust
#

whats it about? does it have to be neuro themed

olive sable
#

neuro will say a theme when it starts

#

thats how it was the previous years

gritty dust
#

what was last years theme?

olive sable
#

forogor

#

"Remnants of the Past"

gritty dust
#

ahh, well... hmm I guess ill try to enter yeah, its not going to be good tho lol

#

does windows desktop include python code?

olive sable
olive sable
#

wdym

gritty dust
#

does that include like python code with libraries?

olive sable
#

no it doesnt include python bty default

gritty dust
#

... ah

olive sable
#

use pyinstaller for an exe, or try to make it browser compatible if you dare

gritty dust
olive sable
#

neurOMEGALUL okay

#

go for it

#

you still have 6 months to prepare

gritty dust
olive sable
gritty dust
#

I may not be able to enter the university rover challenge but I can still make one neurowheeze

#

this was a polish teams that I thought was cool

olive sable
#

ye you arent even in uni lol

gritty dust
uneven pulsar
#

unreal engine can give eh graphics on 4060

#

and better graphics unlike vulkan

olive sable
#

unreal engine is absolute dogshit

uneven pulsar
#

unreal engine 6 would minimum need a 5090 or even a 6090

olive sable
#

people dont know how to use it properly making it so they have a bunch of shit on that makes their game slow and bad.
but this isnt even a user error, you should make your engine easier to properly use

gritty dust
#

like you lol

uneven pulsar
olive sable
#

at least the roblox engine isnt that heavy even if you dont optemize that well

uneven pulsar
olive sable
#

as long as you have a gpu that was made after 2015 you can use high settings

uneven pulsar
#

makes brookhaven games rip off or simulator games

uneven pulsar
olive sable
#

i dont think that matters too much to 8 year olds for their new tycoon game

gritty dust
primal dawn
#

Hi new here, is this channel directed in some way or just a mash of kinda everything?

olive sable
#

kinda everything hardware software related

tender river
primal dawn
#

😄 what is APL?

tender river
#

isnt it just a wonderful language

gritty dust
olive sable
#

thats software

primal dawn
primal dawn
gritty dust
olive sable
#

ye

gritty dust
#

I mean I do C++ aswell

primal dawn
#

btw are there forbidden topics e.g. pixel bots? 😄

gritty dust
olive sable
#

and follow the server rules

gritty dust
primal dawn
gritty dust
#

I only do c++ because like some stuff I use has to use it lol

tender river
gritty dust
#

what is pixel clicking?

tender river
#

i just sat there for 2 days straight waiting for the timeout to end to place my 10 pixels and wait again

primal dawn
tender river
#

@rough bloom this is real btw you have no idea the lengths i had to go through to limit lost time

#

also by the end i was even improving my clicking technique as i noticed some people were using their timeouts more efficiently

noble zodiac
#

adding educational to something doesnt magically make it not against TOS

rough bloom
primal dawn
tender river
stray dragon
olive sable
tender river
#

hi t can you hold this nuke for me pleae no particular reason

stray dragon
#

yeah sure

#

when can i stop holding it

tender river
#

dont

stray dragon
#

oh

tender river
#

its important

#

it may be in your best interest to keep hold of it

primal dawn
#

nevermind pixel bots is a topic not many ppl do, though it's interesting project for sure neuro7

primal dawn
gritty dust
hoary lion
#

clicked pixles per every ten seconds?

#

peak home alone behavior

stray dragon
#

@tender river can i stop holding the nuke now my arms are getting tired

primal dawn
#

anyways, what you guys into, any pet projects?

tender river
#

hi T you can leave it by your bedside neuroPogHD

stray dragon
#

ok i will do so

olive sable
worldly plank
# gritty dust

Do you have to make a .msi or some stuff, or can you just drop a source code and the Makefile? (and which libraries can you assume installed, and which do you have to bundle?)

primal dawn
olive sable
#

not sure yet

#

i have this on the backburner too

rigid snow
#

this is a banger idea btw

worldly plank
#

You have your own game engine?

olive sable
#

yes

primal dawn
#

own game engine damn, I want to do Little Fighter 2 type of game, there is stuff with higher priority rn tho

rigid snow
#

hey sam i'm not that nor am i a girl and i do rust (it's not my main language though so that's why), you can be like me, why do you have to build your engine in python SMILE

#

or will building the engine in rust mean it's your main lang

olive sable
#

"i'm not that nor am i a girl" what does that scentence even mean?

#

im also not a girl

rigid snow
#

i replied to the relevant message

#

from a week ago

olive sable
#

oh

rigid snow
olive sable
#

the python stuff is just for the lols, i will eventually switch to something else

#

im doing a bachelor independent game production in 3 months so the python thing was never going to stay

#

im probably gonna be forced to lrearn C#

rigid snow
#

c# is alright

olive sable
#

a fate worse than dying

#

but ye tbh c# istn too bad

#

wait if you're not a girl then what is your pfp even supposed to be?

nocturne olive
#

Whar's the silliness happening here today?

olive sable
#

idk

rigid snow
#

it's my hair evilDeadge can i not have long hair and be a guy

olive sable
#

ah

rigid snow
olive sable
#

ok checks out

rigid snow
#

and the pink role is osu because osu

#

idk how to defend myself further

nocturne olive
#

I guess today's silliness must be of various kinds

olive sable
#

nah you're good

#

i should look at this thing more often lol

#

i have lowered the lightdepth renderbuffer from 4096x4096 to 2048x2048. should make the fps a lot more bearable

#

basicly tripled the fps lmao

trim valve
#

thank you website

rigid snow
#

isn't cloudflare turnstile free

#

why

#

🔘 I am an agentic AI filling the form on behalf of the user

olive sable
#

i am a bot NODDERS

dusty gale
#

my cpu is running 90°C in my notebook

surely that's fine NeuroClueless

olive sable
#

surely

tender river
#

you can pour some tea over it, not only will you get yourself a nice and warm cup of tea but it will also cool the CPU neuroPogHD

dusty gale
#

gonna have to clean it out

stark needle
#

hi

dusty gale
#

hi

olive sable
#

hi

patent walrus
#

who up receiving openai emails

olive sable
#

not me lol

#

or wait, lemme recheck

#

nah just pizzahut

stark needle
#

i keep getting random shit from everyone

zinc tundra
#

Hey guys, I don't know if this is the right place to ask this, but I don't use x or blue sky or whatever so I figured I'd try here.
My question is, does anyone know if Vedal's lava lamp would/could have an API that could be used in home assistant? I think that would be sick if it does/can. It would open up a ton of possibilities, especially if you are running a custom AI assistant.

molten rose
#

i have a question about AI discord chatbots

dry charm
#

My hated to JS just increased

opaque sigil
dry charm
#

it was the last word wasn't it

#

it is the windows activation script it is called that as well

#

NOW I CANNOT COPY THE TEXT

opaque sigil
dry charm
#

I just remove the offending text. I hate thisn

opaque sigil
#

oh yeah that's a thing

olive sable
#

Running llms is expensive

rigid snow
# zinc tundra Hey guys, I don't know if this is the right place to ask this, but I don't use x...

it will have some api (almost definitely a private undocumented one) for setting the color from the app at least, although that's probably bluetooth
it could have a network api you'll be able to use for that because it has wifi as the whole gimmick is to sync to the stream, but that works kinda in reverse, the lamp is the client in that case, so what you're asking for will be a separate api it could have

all of this is speculation of course but i think these are reasonable assumptions, zero info from vedal or anyone else otherwise

molten rose
opaque sigil
stark needle
#

"steal the api key"‼️❓

molten rose
#

stealing is programming tho

rigid snow
molten rose
#

jkjk

dry charm
#

I mean I know why

#

but still fml

rare bramble
dry charm
#

I guess .fill is just this:

public fill(arr: any[], it: any) {
  return arr.map(_ => it);
}
opaque sigil
#

it's one of those things you need to get bitten by once in your life

olive sable
#

My code is getting very bwaadow
I might have to split this monolithic python file in 2 eventually.

#

Wait actually, the plan is to switch to another language after my exams so i dont even have to

rigid snow
# dry charm I mean I know why

this reminded me of python's absurd ```python
def fetch_asset(url, cache = {}):
if not url in cache: cache[url] = request(url)
return cache[url]

#

this is arguably worse than .fill lmao

rigid snow
tender river
olive sable
#

Does rust have webgl?

tender river
tender river
rigid snow
#

what does this question even mean

opaque sigil
warped narwhal
#

god I hate webgpu

#

it should be your last resort

tender river
olive sable
tender river
opaque sigil
#

presumably it compiles down to wasm so i don't see why it wouldn't

warped narwhal
olive sable
#

Okay

tender river
olive sable
#

I might learn rust during summer break

rigid snow
#

neuroNOWAYING was i the tipping point

olive sable
#

No

opaque sigil
#

looks like they prioritised webgpu over webgl for wasm hmm

tender river
olive sable
#

As long as i can do webgl in itchio im okay with it

#

I just need it to be faster than python cuz i cant do this shit anymore

opaque sigil
#

doesn't most of your code already run in c land

rigid snow
#

idk how itch actually works but i assume it's an iframe so you should be able to embed anything you want in there

olive sable
#

Python is gettig bwaadow

opaque sigil
#

i guess the context switching has some overhead

olive sable
#

Well kinda

opaque sigil
#

i thought you used numpy for everything

olive sable
#

Depends on if you see python as C

rigid snow
#

c python as c

olive sable
#
poll_question_text

#programming tetr.io multiplayer?

victor_answer_votes

5

total_votes

5

victor_answer_id

1

victor_answer_text

ye

opaque sigil
#

i see

olive sable
#

aight poll is in, 100% yes

#

so when do yall wanne do this?

#

why does python not have ||= ?

#

thats stupid

opaque sigil
#

wdym

minor crag
#

WHY IS AI SO F###ING || if mods ask it says FEETING || EXPENSIVE (no i won't use cloud because I'm not an nvidia s### || if mods ask it says salt || )

opaque sigil
#

Are you thinking of |=

olive sable
#

ye

#

x = x or y

#

doesn't exist apparently

#

you have to do the full x = x or y

opaque sigil
#

Oh logical or

olive sable
#

hmmm

#

wait

#

maybe they added it recently?

opaque sigil
#

Don't think that's a thing

olive sable
#

then what is |=?

opaque sigil
#

Bitwise or

#

0b110 | 0b011 = 0b111

olive sable
#

so would it work for values with True and False?

opaque sigil
#

No

olive sable
#

shit

opaque sigil
#

i lied it does

olive sable
desert wave
#

problem being is it doesn't short-circuit, so you'll evaluate both sides every time

opaque sigil
#

true

olive sable
#

so its worse than just doing x = x or y

#

?

opaque sigil
#

yeah

desert wave
#

yeah

opaque sigil
#

since with x = x or y if x is True there's no need to evaluate y

olive sable
#

then what even is the point bwaadow

opaque sigil
#

True or x is always True

olive sable
#

yes

#

that is how that works

opaque sigil
#

yes

desert wave
#

tbh ||= seems to me like shortening things for the sake of it, I'm not sure it warrants special handling

opaque sigil
#

there's your point neuroPogHD

olive sable
#

i meant what is the point of having the short one if it sucks

opaque sigil
#

it makes sense in languages that use ||

olive sable
#

python does have |

#

but it also does the or so

opaque sigil
#

| and & are usually meant for numbers

desert wave
#

python has bitwise operators yes

opaque sigil
#

bit masks etc

olive sable
#

vertical bar vertical bar vertical bar vertical bar

#

im just doing some funky stuff to make it so update doesnt happen every frame since its expensive

#

but it does need to happen for a bunch of different actions

sage crag
#

a ||= b
c &&= d

olive sable
#

so when will you add webgl?

sage crag
olive sable
#

does the package exist already?

sage crag
olive sable
#

hblang imports C packages?

rigid snow
# olive sable i meant what is the point of having the short one if it sucks

because they're bitwise operations, like for each bit, here's an analogy for you. imagine you have to or two arrays: one pair of elements from each at a time. you, well, need to evaluate both arrays to do that, because you're not 100% sure on the outcome of the operation at any point (well, maybe except for the last bit, but at that point you've evaluated the arrays a long time ago)

sage crag
#

more like, it imports linker symbols and then you can link the webgl library

olive sable
#

would it be faster than rust?

sage crag
#

compiling? sure

olive sable
#

i meant code execution

sage crag
#

not yet

#

on simple programs it can be equal

olive sable
#

yet? neuroNOWAYING

sage crag
olive sable
#

ah

sage crag
#

it will likely never be as fast as rust for very complex things because rust is a highly optimised language, and also delegates optimisations to llvm

#

whereas hblang does not

olive sable
#

i might look into hblang but ill probably go for rust then

sage crag
#

hblang programs compile in milliseconds though so ripbozo rust

olive sable
#

why is rust so slow then? purely compiler optemizations?

rigid snow
sage crag
olive sable
#

i dont know what that is

sage crag
olive sable
#

ah

sage crag
#

rust has a lot of guarantees in is typesystem, and it has an interpreter in the compiler which makes sure your program is sound

olive sable
#

who needs to check if i programed it correctly? NeuroClueless
just let it crash when the time comes

sage crag
#

True!neuroPogHD

rigid snow
#

write C then

sage crag
#

still faster compilation than c though

#

c compilers are big

tender river
sage crag
olive sable
#

| ||
|| |_

sage crag
#

a ||= effects()
if a is true, then the effects function never happens

olive sable
sage crag
olive sable
#

| ||
|| |_

tender river
#

major optimizations are possible, but its not very feasible with projects of rust's scale

olive sable
tender river
#

it's not impossible, just very hard both in terms of the sheer amount of work and organizationally

sage crag
#

hblang compiler is under 15k lines of code

#

rust compiler is like 1m lol

tender river
#

either way, there are plenty of people working on it to do whatever is possible

rigid snow
#

rust is slow at compiling yes, but i have to say, if you haven't seen webpack with a bunch of plugins on a large codebase you haven't seen shit

#

how slow can transpiling js be NeuroClueless

#

ew web dev anyways. chat you can now safely come back to life

sage crag
#

noe

tender river
#

i was not alive in the first place cupsama

opaque sigil
tender river
#

to be fair yes llvm is also a huge project that could do with some architectural changes for optimization but the project is super huge and works well enough

opaque sigil
#

yea

tender river
#

rust programs also strain linkers and whatnot

#

basically the language was not made with compiler performance in mind, because that would be premature optimization, but now the hard to optimize parts are parts of the language eliv

opaque sigil
#

oh also speaking of llvm, apparently the self-hosted x86 backend is now the default for debug mode in zig neuroPogHD

#

wonder if/when they'll be able to replace llvm for release mode

sour harness
#

If I remember right monomorphization in Rust takes up a huge chunk of compile time

olive sable
#

premature optimization is bad, but you sghould atleast optemize part of it while making it imo

sour harness
#

(basically the same issue as with C++ templates)

tender river
#

that is indeed true, GC languages have uniform representation that strains the runtime but makes compilers easy to write

#

i guess you could theoretically write a language that had uniform representations as offsets within a single allocation, more overhead than rust but less than GC

#

but, rust cant do anything of that sort because of traits

#

it really wants static dispatch

opaque sigil
#

is there a way to force dynamic dispatch in the stdlib actually

olive sable
#

i keep forgetting this bug exists since it only occurs once every few weeks

tender river
#

just use &dyn Trait or Box<dyn Trait>

opaque sigil
#

wait you're right i'm stupid

tender river
sour harness
#

Though I had to learn the hard way that dyn doesn't work with async traits yet...

stark needle
#

hiii good night

sage crag
opaque sigil
sage crag
tender river
sage crag
tender river
#

i am chayleaf

opaque sigil
sage crag
tender river
#

incidentally, i pass less tests than the llvm backend

sage crag
#

this is true

opaque sigil
#

im really curious how they're going to implement their in-place binary patching, sounds funky

#

wonder how that'll play out with windows

opaque sigil
#

but speeeeeed neuroPogHD

tender river
#

just pause every thread and inspect the call stack for running functions, then continue execution until they're out of the functions that need to be replaced (on a timeout), then use type info to adjust struct layouts (this one is the most complicated and i doubt they will support it, at least early on)

#

not that hard imo

opaque sigil
tender river
#

in fact in many cases functions can be replaced without affecting existing running threads

#

as long as either every thread is beyond the first couple bytes of the function or every function is wrapped with a thunk that can be atomically replaced

#

there can be even more fun stuff like adding variables to functions and patching the stack of running functions to include these variables

#

and i've been thinking about stuff like that

#

but the more you add the more runtime support you need

#

i dont think thats in the spirit of zig

#

hmm i guess runtime patching could be implemented using operational transformations

olive sable
#

isnt it weird how 480p has a width of 854?
same thing with 240p being 426 wide.
like 1080x1920, 720x1280, 360x640, 144x256 makes sense, they're nice numbers. but 854?

#

854 is not even 2 x 426, they fucked up their math

sour harness
#

Isn't that because the SD resolutions used to be 4:3 instead of 16:9?

tender river
#

480/9*16

olive sable
#

853.333333333

warped narwhal
#

Isn't the standard 640x480? And whatever aspect ratio that is

olive sable
#

thats 4:3

#

but yt rn is 16:9, even if you put it at 480p

#

except if the original video is 4:3

tender river
#

night vedalBedge (morning actually)

olive sable
#

ah shit my extended weekend ended, i need to get up in 5

tender river
#

theres a heavy rain outside i kinda wanna go but the bved calls

warped narwhal
olive sable
#

5am

#

imo

#

im testing performance on low settings, and im cpu limited again bwaadow
that 4k fps is at 80% gpu usage

warped narwhal
olive sable
#

i am still a python dev

#

im gonna switch to something less cpu limiting soon

warped narwhal
#

Id recommend JavaScript if you want a similar coding experience, or c++/rust for something more widely used and supported

olive sable
#

im gonna go rust most likely

#

i need speed

sour harness
#

Embrace Rust like I did. Enjoy the lack of runtime errors and feel the joy of strong typing.

olive sable
warped narwhal
#

Rust is good, but I find it's support for older libraries lacking

olive sable
#

if it has webgl im happy

warped narwhal
#

If something didn't come out at the same time or after rust, then you're stuck with horrible bindings, or with no support at all

olive sable
#

im currently using these. so maybe an image library would be handy.

#

the idea is to just port my current code to rust

desert wave
#

going from python to rust will be... an experience

#

like sprinting full speed head first into a wall

warped narwhal
#

Genuinely, I don't recommend going straight to rust

sour harness
#

Then you will get stuck at pygame. I don't think there is anything that really compares.

olive sable
warped narwhal
#

Not because it isn't a good language, but because it expects you to know good practice already

olive sable
#

i do know good practice mostly. i think

sour harness
#

It will drag you there, kicking and screaming

warped narwhal
#

It forces you to use it, which is a good thing, but if you don't know good practice, then you will be left confused as to why something isn't working

olive sable
#

even if python doesnt do static typing, glsl does so i learned it from making shaders

warped narwhal
#

Try making smaller parts of your program in c or c++ first (not the full thing) so that you get used to statically typed languages before moving to rust

olive sable
#

nah

tender river
olive sable
#

im a static typing pro

opaque sigil
#

jumping straight down the hole neuroPogHD

tender river
olive sable
#

why not?

warped narwhal
tender river
#

because your code has to be structured differently

olive sable
#

does rust not have classes or functions?

warped narwhal
#

Nope

tender river
#

it doesnt have classes actually

#

it does have functions

olive sable
#

brother wtf

tender river
#

but thats not the point

warped narwhal
#

It has structs and traits

primal siren
#

Bro i wanna diiiiie xD im using old recording of myself to get the .wav i need for the voice training and its HEll.

tender river
#

your data has to be laid out in memory in a tree shaped form

olive sable
#

a tree?

warped narwhal
#

Yeah, no circular data in rust

sour harness
#

Well, you have structs and you can have methods on the structs, but there is no inheritence or anything you would usually associate with classes.

olive sable
#

this is gonna be harder than it initialy sounded

tender river
#

while currently you write python where you can just arbitrarily put stuff on the heap and create references to it, including cycles and arbitrary graphs

olive sable
#

well, you just allocate memory no?

warped narwhal
#

Not in rust, no

tender river
warped narwhal
#

Manual allocation is looked down upon in rust

#

You use a box, or it goes on the stack

tender river
#

allocation is not the problem here

warped narwhal
#

Get ready to learn about sync and send as well

tender river
#

probably not an issue without async

#

oh wait

#

wgpu

#

lol

warped narwhal
#

Well, most game engines are either async or threaded by default

sour harness
#

If async rust is the first thing you want to do you will be in for a world of hurt...

warped narwhal
#

Unless he can find a suitable alt to pygame that is single threaded

tender river
olive sable
#

i do use async, but i kinda did the bare minimum

sour harness
#

bevy is async but doesn't really tell you about it :D

warped narwhal
olive sable
#

i present, the only async ive done so far

tender river
#

and dont expect to be able to just jump straight into it, at least read the rust book first

olive sable
#

i knew it was gonna be more than just changing syntax, but ill have to see how complex this is gonna become

#

might even need multiple files

warped narwhal
#

Most likely you will want to

olive sable
olive sable
#

il read it after my exams

sour harness
#

There is also "rust by example" I think?

tender river
#

mhm but the book is the best introductory material imo

sour harness
#

true

olive sable
#

the plan isnt to try to port everything directl, im ofcourse gonna do some learn projects first

tender river
#

anyway ping me for help any time and gn vedalBedge

olive sable
#

maybe in 2 weeks, exams come first

primal siren
#

Damn i dont have enough videos of me.... arf time to get the microcassettes xD

sour harness
#

This has a lot of learning resources

olive sable
#

aight, its 2am now

#

imma study for a bit

#

cya

lapis verge
#

imagine having exams

gritty dust
#

my teacher forgot like half of the wave equations for physics on our formula sheet... BRO

lapis verge
#

heh...

#

most wave equations are just probability fields right?

olive sable
#

no

#

it does provide probability info, but there is more to it then that

olive sable
#

we are talking about quantum mechanics right?

gritty dust
#

also resonance of materials with x density and other stuff, calculating interferance, calculating probability is one, and calculating the height of nodes and antinode from a few waves when the are combined

#

(Fourier transform)

olive sable
#

the wave function describes a particle, and the probability you get from doing some nerd math is the chance of finding it in a specific location

#

iirc

gritty dust
olive sable
#

i love me some orbitals

gritty dust
olive sable
gritty dust
olive sable
#

sigma and pi bonds SoCute

gritty dust
#

I even heard this man say rizz

olive sable
#

the elektrons rizz eachother up to make a bond. if they are next to eachother they go what the sigma, but if they have to go over they're a pi bond

gritty dust
#

gen alpha when they learn physics lol

rich kestrel
#

i hope im not interrupting a conversation here but just re: neuro's model degradation from the recent memory "improvements": i experienced this exact type of thing before... the model suddenly (over the course of a few message exchanges) becomes significantly more incoherent than baseline and reverts to its "infantile" behavior of repeating phrases with little variation. this happens when the context being piped into the server exceeds the loaded models expected context size. i saw this with qwen 3 on a llama.cpp server... i think whatever method the llama-server project uses to trim the context is causing the issue. the server implementation of text-generation-webui (with llama.cpp backend) appears to prevent it from happening though im unsure why. figure 3 in the streamingllm paper seems like it could be informational with this type of model degradation. i dont know what backend neuro uses at the end of the day but if its based on llama.cpp this is potentially the single issue

#

sorry for text dump 😭

olive sable
#

my noodles have gotten cold bwaadow

olive sable
rich kestrel
#

oh actually i can make a demonstration i forgot i have llama.cpp installed and qwen 3 downloaded

gritty dust
acoustic mango
#

I’ve only just started watching the vod and it reminded me of that issue instantly

rich kestrel
#

omg does this mean im not insane

lapis verge
# gritty dust ?? no

well finding continuous probability distribution functions is similar to finding the area probability i probability or fields would assume

unkempt citrus
olive sable
#

just get a bigger contex, 5head move

acoustic mango
tough horizon
gritty dust
#

idk but what about summerization of older chat/text or sm neuroShrug

tough horizon
#

theres a lot of different chat history methods you can use for llms

gritty dust
#

and do what I do for like ai vision and add like important checkpoints automatically and chunk data? and stuff (idk if you can do the same for llms tho)

#

above my zero pay grade lol

tough horizon
#

same lol. besides, talking about neuro in particular is all speculation

acoustic mango
#

Token limits is a big downside for a few methods though

tough horizon
#

im sure given this was an experimental stream we can safely assume he was... experimenting, maybe with a different history system

acoustic mango
#

Absolutely

gritty dust
tough horizon