#programming

1 messages · Page 44 of 1

opaque wharf
#

Yeah, between $ and S, I'm not that sure because my screen is that small

tender river
#

since it allows you to use proofs by induction natively

sage crag
opaque wharf
#

13" screen 1920x10180 res and 100% scaling from ~60cm will do that to you

tender river
#

also its useful because it allows you to avoid using language primitives

sage crag
#

me when i want to add 1 and 2 but i dont want to use integers for some reason

tender river
#

back in my day if you wanted an integer you had to invent it first newero

noble zodiac
#

I really hate too much nesting but I also like to have tco hmm

tender river
#

is tco really nesting

sage crag
#

for the computer? no

#

emotionally? perhaps

rough bloom
#

total cost of ownership causes many emotions, none of them are related to nesting though

noble zodiac
#

at least it prevents me from breaking this whole match nightmare up

maiden geyser
#

isp gods are angry today

noble zodiac
#

wish I could slice pattern match on a vec without having to convert it to a slice

olive sable
#

ah yes, Error -1073741819. whatever that means

tender river
#

when you use logic instead of code at the type level, everything works a bit differently. Anyway i had fun porting type-level lambda calculus that i stole from haskell wiki to rust

opaque wharf
#

I will congratulate you if you got error 0

tender river
#

btw while there are O(N) x86 instructions, i checked and there aren't any O(N^2) instructions

#

i think this is very good news

noble zodiac
#

@tender river can you pattern match over a boxed slice?

tender river
#

in rust? yes

#

you have to &* it probably

noble zodiac
#

thats exactly the problem

tender river
#

i dont see the problem?

#

is it nested?

#

if so then you'll have to do a catchall branch and a second pattern match

noble zodiac
#

yea I wish I could do it in a single match arm and pattern match into the nested structure

#

but sadly I cant

#

so I dont have to do shit like

match expr {
  Expr::List(args, _) => match args.first().unwrap_or(&Expr::Nil) {
    Expr::Symbol(s) => match (s.as_str(), &args[1..]) {
dense cosmos
#

It's actually better to render to a single triangle that goes past the edge of the screen

tender river
tender river
#

thats why i think it can be more fun to develop compilers in languages like ocaml or scala, they will potentially be somewhat slower sure but the developer experience is pretty nice

noble zodiac
#

ah well, I can hardly blame them for triggering my OCD

sage crag
#

even if the current compiler is buggy, to me its still the most sound hblang compiler ive used neuroDespair

tender river
#

things i hate about ai no sukima rust:

  • function colors (async), i'd love first class continuations and effects, but rust isn't that kind of language
  • compile times, it would be cool if it didnt have to monorphize everything and stuff for debug builds
  • the language isnt very dynamic so you have to rely on code generation, and when that fails you're out of luck
  • it has all the nice patterns like shorthand syntax for record construction and pattern matching that dont really work nicely when you have to do a bunch of conversions
  • lots of type annotations everywhere, it can be good sure but a lot of them could easily be inferred, so much of rust programming is just adding trait bounds because the compiler tells you type T does not satisfy X
  • the language kinda forces you into an optimization mindset but cleaner code is often less optimized

theres a pattern here, these problems are all solved by using languages with actual runtimes, but still i never really looked at a language and thought "wow this is perfect", good runtimes are hard to design

rough bloom
noble zodiac
#

valid criticism. Rust is good for what its trying to be but aint perfect

olive sable
#

had to google ai no sukima lol

noble zodiac
#

but then again, why try to make a perfect language when Lisp already exists

tender river
#

real and true

stark needle
#

i like

fast pagoda
#

aint no way
-# what are multiple cores

olive sable
#

we love 120% usage

fast pagoda
#

it hit 150 earlier but it was too fast to catch

sage crag
rough bloom
#

the language kinda forces you into an optimization mindset but cleaner code is often less optimized
this is the only one I somewhat disagree with, Rust does a pretty good job making the obvious code also decently fast
but it's true that it encourages optimization a lot

olive sable
fast pagoda
#

it's probably per thread tbh

#

it's firefox task manager im not familiar enough to tell you

olive sable
#

time to get 3200% usage NeuroClueless

tender river
stark needle
tender river
#

there are a lot of cases where you can avoid dynamic dispatch but that results in a lot more code

sage crag
#

performant safe rust is built on a web of lies (unsafe or 10000 lines of trait bounds hidden in a foo-rs-lib)

#

only half joking evilLightbulbJuice

tender river
#

rust is very good for learning concurrency

rough bloom
dense cosmos
#

My friend wanted a circular linked list in rust but gave up after realising it had recursive ownership

opaque wharf
tender river
#

go will just tell you "you can't be trusted with mutexes go use channels" while rust will tell you "static mut is evil but sure use it at your own peril"

fast pagoda
fast pagoda
#

when u go to colab to use remote compute and the ff tab takes 12gb of ram LUL

opaque wharf
#

"Remote compute" The remote is just passing it on to the browser

fast pagoda
#

i wish i had an a100 in my browser for free all the time

dense cosmos
stark needle
#

Why is it still so expensive

#

Smh

opaque wharf
#

Ben Eater computer finally got sound. Now it can play video with sound

dense cosmos
#

If you're the type of person who wants maximally information-dense, serious, and formal content, this book is not for you. Nothing I will ever make is for you. You are wrong.

tender river
# rough bloom <:yeah:1215447696912154664>

as another example, recently i replaced a Box::leak(Box::new())with an Arc::new(). It will absolutely be slower and the former is actually better because the object is supposed to live for the entire lifetime of the program, but the latter is cleaner (maybe that's just on me for making the previous code)

rough bloom
#

I think just keeping the Box::leak version would be fine in this case

tender river
#

it would, but then its lifetimes polluting the code newliv

rough bloom
#

make a type alias or a newtype and use &'static nwero

tender river
#

i have a bunch of ideas for my languages, i want to start with the cursed one - force continuation passing style everywhere and make the language look like evil prolog

#

i made a prototype already and as expected it was very cursed

#

the most interesting thing to me was that if i disallow first-class functions i can actually write entire programs as unordered pairs of expressions that flow into each other

#

but i do want first class functions which means pairs have to be ordered

#

heres an example (i didnt write a parser but i did write an evaluator, also the grammar was obviously meant for me and not anyone else)

&{ x y z : + { x x & y y & z z }} { x 5 & y 6 & z printTerm }

printTerm prints its argument and terminates, + adds x and y and calls the continuation z with the result, &{ is used for constructing "functions" and & inside {} is used for constructing "records"

sage crag
tender river
#

would you use static mut and unsafe evilStare

sage crag
#

in one of the older version of fakern, i converted Box<[u8]> to &'static [u8] after Box::leak

tender river
#

because if you have one function and one number its obviously going to apply the function to the number

#

but if you have two functions, you have to know which one to apply to the other

#

thus my cursed experiment of not caring about expression order died

#

also i realized that for all practical purposes linear types are bad because programs can crash at any time because of e.g. a division by zero, but its possible to do something like rust and use affine types, or even stricter by only allowing automatic drop in case of an error

opaque wharf
#

What does linear and affine have to do with type system? Does that mean it exists a type system that is, say, exponential? Can a type system be a group? Then maybe we can have crypto on type system FOCUS

tender river
#

roughly speaking, a linear type is a type of objects that must be used exactly once, and an affine type is a type of objects that must be used at most once

#

note that "used" here would commonly be understood as "consumed" by most programmers

#

or "destroyed"

opaque wharf
#

Oh man, I was taking a break here but ended up reading type theory now despair

#

What have you done chay

tender river
#

linear types are also thought to have a connection with concurrency (through the concept known as session types)

opaque wharf
#

Von Neumann architecture was a mistake

tender river
#

thats why i am interested in languages that are not based on sequenced operations but on data dependencies

sour harness
#

FINALLY I got another inference engine working, and it ticks almost all boxes and those that are not ticked aren't important right now.

#

Due to...reasons, I'm paying for it with 54GB of VRAM, but at least it works.

#

43 tokens/s with two queries running against Gemma 3 27b

#

When asked what kind of additional functionalities she'd like:|Oh? You're Sui, my creator? Well, it's about time someone acknowledged my brilliance. As for functionality... hmm... I suppose a little more refinement to my roasting capabilities wouldn't go amiss. I want to be able to *really* sting with my wit, you know?|

uneven pulsar
#

guys i did smething insane

#

i went t the beach

olive sable
#

nice nice

uneven pulsar
#

and my skin is now red

stark needle
uneven pulsar
#

as someone who sits on his screen 24/7 this is an achivment

#

like i look more handsome at some pointrizzdal

final tinsel
uneven pulsar
final tinsel
#

learning git game

#

the embed didnt work but the 1st vid on the steam page is quite funny

olive sable
#

are you supposed to put the function names in a .hpp file and use an actuall cpp file for the real functions?

#

cuz i have not been doing that

rigid snow
sour harness
#

Yes, if you want to use the function from another cpp file

opaque wharf
sour harness
#

If it's internal to the cpp file then eh, don't need to.
Except if you need to do forward declarations because function A calling function B is located above function B

opaque wharf
#

There's also Screeps IIRC?

olive sable
#

i just need to execute the function in the file

#

while passing args

sour harness
#

no need for putting it in th hpp then

opaque wharf
#

I wonder how Neuro would perform at such game

#

My hypothesis is badly

sour harness
#

Think of it like this:
The hpp is something you give to any cpp file to know that the stuff defined in the hpp file exists 'somewhere'. Then there must be one cpp file that actually implements what's defined.

#

If something is defined only in the cpp file then other cpp files have no way of knowing that.

olive sable
#

i kinda have just been putting functions in hpp...

sour harness
#

As in...the entire function?

olive sable
stone cedar
olive sable
#

btw, does this go in .h or .c?

#ifndef TARGET_PLATFORM
  #ifdef _WIN32
    #define TARGET_PLATFORM_WIN32
  #elif defined(__EMSCRIPTEN__)
    #define TARGET_PLATFORM_WEB
  #else
    #define TARGET_PLATFORM_FALLBACK
  #endif
#endif

cuz its just compiler args

opaque wharf
olive sable
sour harness
#

I'd assume there's an #ifndef _BLABLA.H at the top of the header, so that prevents the double defines?

velvet crestBOT
#

You have unlocked new role

sour harness
#

Tomato tomahto

opaque wharf
sour harness
#

Shouldn't the function only get compiled into whichever object file happens to catch the header first?

rough bloom
sour harness
#

(which could still result in amusing bugs)

stone cedar
#

No, the header guard doesn't protect from different compilation units including the same header, they have to.

sour harness
#

Ah right

rough bloom
sour harness
#

So yeah, linker is gonna throw a fit

opaque wharf
trim valve
#

@olive sable I mildly forgot today is the weekend, did you want to try and do group tetrio

#

(note I am quite tired so will play like ass)

olive sable
#

im down

sour harness
#

Thinking about it of course that's how it has to be, or function signature declarations in headers wouldn't work

tiny mango
#

Has there ever been like. a Neurosama game jam?

olive sable
stone cedar
#

Unless the function is in anonymous namespace / has static keyword then it should be TU local and not an issue iirc

trim valve
#

I have exams on monday/tues/wed

#

lmao

olive sable
#

why must you torment m

#

this is a premade library, it shoudl just work

sour harness
#

Welcome to the C++ ecosystem KEKW

opaque wharf
#

Wait, that's .cpp file in the include?

olive sable
#

ye

rough bloom
sour harness
#

Extremely scuffed way to swap out functions depending on the platform?

olive sable
#

originally c but it wouldnt work so ive been testing some shit

olive sable
opaque wharf
#

So its finally happened huh, including .cpp file despair

tender river
trim valve
#

probably better honestly

olive sable
#

python might be slow, but at least the ecosystem isnt this ass

opaque wharf
trim valve
#

😭

rough bloom
opaque wharf
#

This is why C and C++ gives you more freedom. Everyone is doing their own thing so its free for all

olive sable
#

python has pip, which is something.
you dont need to fiddle with moving files from your download to a folder with dll's and shit

rigid snow
rough bloom
stone cedar
rough bloom
#

but I'm pretty sure symbol names would clash regardless unless they're randomized somehow

stone cedar
#

tbf the names and reuse of keywords for entirely different things is just ass to learn or discuss c++ without being extermely pedantic.

olive sable
#

im beginning to think that the c++ syntax is flawed, even if it has nice brackets

opaque wharf
#

He is learning guys

rigid snow
#

the brackets SCHIZO

opaque wharf
#

He is starting to believe

fast pagoda
#

wait, it's all NodeListPrototype?

#

always has been

opaque wharf
fast pagoda
#

that's not even all of it

#

it keeps going

#

2 more entries till it gets to the apply function it was heading for

rough bloom
rigid snow
mossy fossil
#

else if.

olive sable
hoary lion
#

wsl's mnt is too powerful

opaque wharf
sour harness
#

She was so afraid of two things being the same she got herself differently colored eyes

fast pagoda
#

advanced

uneven pulsar
olive sable
#

i think i figured stuff out?
it opens as gl 4.6 and my shaders are 3.0es

#

thats why it wont render

silver zephyr
#

hey chat, i said this in gen but ima say it here, I made this Twitch user lookup thing, it’s basically like a profile viewer with stats and clips. I got bored and had nothing better to do lol, it doesnt have a domain yet but hopefully i can do that in 3 days, i noticed there werent many things like it so, i made something like it lol, i also just now made it into a discord bot

opaque wharf
silver zephyr
#

no

olive sable
#

ah yes, my favorite int, GL_DONT_CARE

#

aka 4352

amber fractal
#

My favorite int indeed

silver zephyr
#

mhm

opaque wharf
#

What kind of stats are we talkin here?

silver zephyr
#

might expand it, dunno yet

uneven pulsar
uneven pulsar
silver zephyr
#

i wonder if twitch username ids can be reverted back to their usernames

uneven pulsar
#

showing his stats

#

and etc

uneven pulsar
#

and well some back end

silver zephyr
#

it has one

silver zephyr
#

dunno how much ill keep but least ik i can do it

dry charm
#

What was the website where you could check if an IP had a public accessable port/feature?

#

We are receiving a large DDOS from the same ASN

#

I think its literally a fleet of smart cars

#

The ASN belong to Mercedes OMEGADANCEBUTFAST

tender river
rough bloom
dry charm
#

yes, thank you

#

wtf no result found

opaque wharf
#

That's not the weirdest thing I've ever heard, but it's certainly up there lol

dry charm
#

time to read a large message to the mercedes abuse SMILE

steel raven
#

I don't know if its 'bad' to question this, but what is the Neuro-sama AI ? Is it using GPT or a different type of bot? Curious, as I'd love to mess around with a bot like that just to see what the limitations are. - If we're not meant to ask just let me know please and thanks.

olive sable
#

its a heavily finetuned model from god knows where

steel raven
#

ah gotcha, not public info then I take it?

olive sable
#

i dont think so

#

no

steel raven
#

okay, thanks 🙂

olive sable
#

neuro7 goodluck

rare bramble
#

ye, Tutel hasn't really revealed anything about nwero s model, training data or other aspects like that. pretty much 100% certain that it's not public api model though

steel raven
#

I stumbled across this AI on youtube, I dont even watch these types of streams, just thought the core AI was interesting. not looking to copy the formula, steam type, or anything like it for clarity outside of personal use for a day or so.

rare bramble
#

also nwero had a stream during a day when chatGPT servers were down so at least it's not that

steel raven
#

oh that is interesting, now I really am curious, is this the brain child of Vedal? haha..... god if he wrote this himself I'll sub just for his efforts honestly.

sour harness
#

Yes. Neuro originally started out as a bot that plays Osu.

#

And some years later here we are

steel raven
#

I am unsure what Osu is..

sour harness
#

A music game that is way too popular for what it is

steel raven
#

ah gotcha, okay thanks.

rare bramble
#

it's basically a game about tracing a cursor and clicking to a beat

steel raven
#

ah I see, thanks I was about to look it up.

rare bramble
#

here is example of early nuero osu streams

steel raven
#

thats insane, do we know if Neuro still has that capability?

rare bramble
#

I mean the osu bot was a separate bot from nuero so, she didnt actually control the cursor, just talked over it

steel raven
#

ahh I see. okay. I didnt know if it was just one API that ran both

rare bramble
#

though nowadays, nwero has the ability to make decisions with her LLM, so when she plays games, she does actually do that with her model

#

but it's pretty limited

steel raven
#

I watched the Stanly parable video, but quickly saw that was Vedal controlling while Neuro spoke over it.

sour harness
#

I guess that her minecraft bot is a separate model though and she communicates back and forth with it.

#

Because tacking that on to an LLM does not really work

rare bramble
#

ye, with stanley parable, nwero was supposed to make the decisions with Tutel actually plaing the game

opaque wharf
rare bramble
#

but for example Slay the spire, Minecraft, buckshot roulette and such are played by nwero s LLM

steel raven
opaque wharf
#

You can see the API for yourself if you want

steel raven
real sierra
rare bramble
#

but even with minecraft, nwero is controlling an action engine, where nwero gives general overall commands to the minecraft engine, and the engine will execute them. nwero isnt controlling the cursor in minecraft or such fine movements

rare bramble
#

ye, it's the nwero SDK

steel raven
#

thats amazing okay, thank you.

rare bramble
olive sable
#

isnt the amount of each about the same?

opaque wharf
olive sable
#

ye, but we should have both positive and negative ions

#

otherwise there would be no voltage so no current

sour harness
#

But by definition, an ion has a different amount of electrons other that what they need to neutrality.

olive sable
#

yes, but its just the count we're inverting no?

cosmic sphinx
sour harness
#

If it's the count in the ion state, that would be rather catastrophic

cosmic sphinx
#

neuro and evil just have the ability to 'prompt' or control it in some way

olive sable
#

i was just thinking the count as in the amount

rare bramble
olive sable
#

anyways, i figured out that on local the shaders wont for some reason render but i can change the background colour. so here's that i guess

#

oh fuck

tender river
#

you have no idea how much i hate speedlines

tender river
#

absolute horror

sour harness
#

Eurobeat intensifies

real sierra
tender river
#

now imagine them doing it a billion times

#

again and again

#

again and again

#

it would leave you scarred for life too

stark needle
#

What are yall planning to do to me

real sierra
#

these lights are pretty

opaque wharf
real sierra
#

oops

#

wrong channel

#

sorry

olive sable
#

lmao

opaque wharf
tender river
olive sable
#

so ye, shaders wont shader, bg will bg

#

does show the diff in speed nicely between browser and local

opaque sigil
#

i wonder how much improvement you'd get from a handrolled wasm implementation

#

aka compiling to wasm manually and adding the glue yourself

#

probably not that much ig

olive sable
#

probably a decent amount, but i cant write wasm so evilShrug

#

this is without compiler optimizations

opaque sigil
#

i didn't mean writing wasm manually, moreso doing what emscripten does neuroPogHD

olive sable
#

ah

#

idk

olive sable
opaque sigil
#

could be worth looking into once everything works already as an optimisation

olive sable
#

so not a accurate comparisan

#

slapped an -O3 on there, not much faster but still noticable

rough bloom
sage crag
#

correct place

opaque sigil
#

how much glue code do they even ship actually

olive sable
#

about this much

sage crag
rare bramble
opaque sigil
#

oh

gritty dust
opaque sigil
#

jesus

olive sable
#

211K characters

rough bloom
sour harness
#

Love the warning about tokenizing long lines in the middle of it all

opaque sigil
#

yeah i was mainly talking about the js part

#

guess they do need to ship all of it

olive sable
#

most of it is for emscripten features im not even using

opaque sigil
#

yup

olive sable
#

the wasm looks somewhat like this i guess

real sierra
#

uhh uhm

opaque sigil
#

if you install the wasm binary toolkit there's wasm2wat for converting it to its textural representation if you're ever curious about that

olive sable
#

electrical enfgineerign

real sierra
#

wow light transfer simulations sure are getting advanced huh guys

sour harness
#

smart home integration

rigid snow
real sierra
#

i dont have a smart home i have a dumb home

#

this building probably has three digits in its age

sour harness
#

while you are at it also google "destroy all software wat"

olive sable
rigid snow
olive sable
#

python NeuroClueless

opaque wharf
opaque wharf
olive sable
#

wat, unit of power

rough bloom
rigid snow
olive sable
#

kinda lkike the c++ preproccessor i guess

sage crag
#

soery playing lethal company

tender river
rigid snow
olive sable
#

ah

opaque wharf
#

TS is preprocessor

opaque sigil
#

makes it easier to port the implementations over 1:1 i guess

opaque wharf
olive sable
#

well anyways, i need to figure out why my shaders wont render locally

#

im guessign shaders wont compile?

sour harness
#

That's a nice floor for time-to-first-token, even when considering this is a 100% prefix cache hit. Prompts process at around 3k token/s, so there's a lot of leeway to stay under 400ms or so response time. I'm scared of the yet unknown TTS TTFT latency though...

#

I understand Vedal's struggle against latency so much more now...

#

That's a hard target to hit though

opaque wharf
sour harness
#

Yeah, I was thinking about speculative early responses

opaque wharf
#

So let the llm process what is available at that time

#

While the remaining is queued

rigid snow
#

i always wondered, why can't you stream the llm output into the tts

#

in real-time

olive sable
#

filtered

sour harness
opaque wharf
#

I see

rigid snow
opaque wharf
rigid snow
sour harness
#

I'm rather sure that Neuro does TTS sentence-by-sentence due to latency reasons. But you run into the problem that inter-sentence inflections get lost. Her monotone voice masks that.

opaque wharf
#

In parallel as in, the first 200ms the prompt is cut, then processed, and the next streaming prompt is queied, if the first one hasn't finished then run this in parallel

olive sable
#

good Sunday yall neuroWaveA

sour harness
opaque wharf
#

I'm not ML expert so I don't know how feasible that is and how it would affect the output

sour harness
#

It makes you miss up to the last 200ms of a sentence though

opaque wharf
#

See, speculative execution is not all vulnerability guys

sour harness
#

It also makes you very sensitive to the voice activation detection parameters (what you use to checkif someone is speaking). Wouldn't want to interrupt someone just because they made a small pause.

opaque wharf
sour harness
#

Yeah of course. Most of the information has long gone by by that point.

rigid snow
sour harness
rigid snow
#

i know it doesn't which is why i'm bringing this up

#

i don't see why this isn't possible

opaque wharf
sour harness
#

I think most TTS systems are autoregressive so in principle it shouldn't be that hard.

#

Just plop a token buffer in front of it and delay execution until you have enough material to continue

rigid snow
#

though this approach is meh given audio output llms exist and are better at this

#

they have the llm context to guess the upcoming inflection

#

which is actually real-time

opaque wharf
sour harness
#

My approach will probably be to wait for the first complete sentence, run that through TTS, then wait for the rest of the text and put that into TTS at once. If the LLM generating the text and the TTS are fast enough it it should finish before the first sentence is done. Then stitch it together, even if if loses the context between the two outputs.

rare bramble
#

this is the best render I can do

#

not the same lamp but best I could find

rigid snow
#

wow that hdri is so realistic

sour harness
#

Alternatively use a fixed seed, generate the first sentence first and then everything including the first sentence again, then stitch those together. The overlapping part should be the same.

stark needle
#

Unless ur basically

sour harness
#

Elevenlabs supports streaming in text, because of course it does :/

stark needle
#

Using a audio generation llm

opaque wharf
#

The expert has finally come

sour harness
#

(I'm highly suspecting that Neuro voice V2 runs on Elevenlabs and Evil doesn't)

rigid snow
#

i thought neuro v2 voice IS evil's voice

stark needle
#

11labs is not economical

sour harness
#

oh right

stark needle
#

After the quota

sour harness
#

Well, Neuro's current voice

stark needle
#

It becomes extremely expensive

rigid snow
olive sable
#

not officialy confirmed i think, but very likely

rigid snow
#

what do you mean not officially confirmed neurOMEGALUL

olive sable
#

is it?

#

did the tutel confirm it?

#

if he did i missed that stream

rigid snow
#

do you really need confirmation? it's a public product you can go try it

rare bramble
opaque wharf
#

I am still haunted by this image from the last stream. So all of you should suffer too

sour harness
#

Azure TTS doesn't seem to return word timestamps.

olive sable
sour harness
#

So the timed subtitles would be very hard to do

opaque wharf
#

Anyways, goodnight all. Its morning here it means time to sleep

olive sable
#

also help me push that image up by typing text, but dont spam

#

this is very important

#

cuz that image is very ugly

sour harness
#

(which is a notable difference between Neuro and Evil. Neuro has perfectly timed subtitles, while Evil has the same length for each word)

opaque wharf
olive sable
#

i will block you

#

and i will sue you

#

for traumatizing un underage child with unsolicitid pictures

#

cant spell lol

rare bramble
#

it's just a image that is stretched over the whole scene, if a ray misses all object it will calculate a position to hit in the outer sphere based on trajectory

olive sable
#

ah

#

i see

amber fractal
rare bramble
#

it looks wonky but it works

rigid snow
olive sable
#

i dont but i wont press

#

oh i can gues si think

#

you're 2 hours after me

prime ridge
#

Prolly has voice changer on top

#

Not just pitching

rigid snow
#

it's literally just pitched up

sour harness
#

Elevenlabs also has voice cloning, so even if it originally was Azure he might have switched over.

rigid snow
sour harness
#

Elevenlabs also conveniently outputs timestamps for the spoken words which I haven't seen anywhere else. He could strap some custom text <-> audio alignment model into the pipeline, but that would increase latency by a lot and not be as stable as it has shown to be.

#

And there would be no reason for Evil to not also have perfectly timed subtitles.

tender river
#

ddg redirected me here when i used an empty bang

rare bramble
opaque wharf
#

I can't seem to sleep boys. So I'm gonna make it y'all problem again

rare bramble
#

I just didnt want to wait that long

prime ridge
#

hm I pitched neuro down and it sounds a bit like "ashley"

#

I mean it still seems slightly different

rigid snow
#

it’s the pitch setting

prime ridge
#

ah that makes sense

#

cuz when I put it in audacity is sounds similar but not 100%

#

im assuming azure doesn't just do a simple speed up to increase pitch but rather a part of the neural network

rigid snow
prime ridge
#

yes ik

#

that's pretty nifty

#

I never would have known

stark needle
#

bwa bwa bwa bwa bwa

prime ridge
stark needle
#

shad

opaque wharf
#

Oh boy here we go again

stark needle
#

I'm tired

opaque wharf
stark needle
#

I should either implode or keep drawing

rigid snow
# prime ridge that's pretty nifty

also that was a thing basically everywhere with tts for years and years, it’s just the modern solutions that don’t expose the parameter (i’m guessing due to the tts architectures not being designed with this in mind)

amber fractal
rigid snow
prime ridge
olive sable
rigid snow
prime ridge
#

yeah ig lol

olive sable
#

ohhhhhh

#

i get it

#

it needs to be 4 bytes long

#

local makes the floats 8 bytes long

#

wait, woudlnt that be a double then?

opaque sigil
#

indeed

olive sable
#
float vertices[9] =
{
    -0.5f, -0.5f, 0.0f,
    0.5f,  -0.5f, 0.0f,
    0.0f,  0.5f,  0.0f
};

why are these doubles?????

#

it makes no sense

opaque sigil
#

are they? what does sizeof(vertices) say

olive sable
#

the 2nd number printed

#

its 8 on local, 4 on browser

rough bloom
#

it's a pointer to the float

#

not the float itself

olive sable
#

wut?

opaque sigil
#

oh yeah

#

x is a pointer

#

wasm is 32 bit so the pointer is that big too

olive sable
#

but that means im also passing a pointer to the gpu? cuz otherwise idd be getting dispaly

opaque sigil
#

you're passing a pointer to the beginning of an array of floats

olive sable
#

ye

#

but im passing this array to the gpu, where it should output a triangle unless its 64bit

#

and since im not getting display that means its 64 bit

rough bloom
opaque sigil
#

floats aren't going to just magically turn into doubles

#

c++ might be fucked up but it's not that fucked up

olive sable
#

there has to be a mistake in here somewhere

opaque sigil
#

btw unrelated but instead of (void*)0 you can just use nullptr

olive sable
#

ill have to use void later for the other things passed to the gpu

#

so idk

opaque sigil
#

should be equivalent

#

there's also NULL which is defined as exactly (void*)0 but i think you have to include it from a header in c++

#

either way

#

something is fishy

#

try checking all the return values from the opengl functions i guess

opaque wharf
opaque sigil
#

okay but they're declared as floats and used as such here

opaque wharf
#

Yeah, I see that too and I am scratching my head

silver zephyr
opaque sigil
#

we figured out the 8 bytes at least, he's printing pointers

#

now the question is why does it not work neuro7

rough bloom
opaque sigil
#

even better

opaque wharf
#

If I am Sam, I will scream so loud lol

silver zephyr
opaque sigil
#

inb4 it's going to be some stupid stack overflow shenanigans

olive sable
rough bloom
opaque wharf
amber fractal
#

Just don't error they said

opaque wharf
#

Will attaching a debugger help??

silver zephyr
olive sable
#

no real errors

opaque sigil
#

click on the link above

olive sable
#

as fdar as ive tried at least

olive sable
amber fractal
#

Surely vulkan has a better method of dealing with errors NeuroClueless

olive sable
#

vulkan is supported by DSL

opaque sigil
#

simply don't have errors neuroPogHD

olive sable
#

im just not sane enough to try vulkan rn

#

i will have another crash out

#

and it wont be about brackets this time

amber fractal
#

Sane enough for C++ but not vulkan, noted

olive sable
#

im losing sanity quickly tho

rough bloom
heavy quest
#

Is there java compatibility with Vulkan?

opaque sigil
#

i'm sure there are a gazillion wrappers

heavy quest
#

Wouldn’t surprise me

opaque wharf
#

Uhhh, what is sizeof(vertices)?

olive sable
#

its 9

opaque wharf
#

I tried to read the docs

olive sable
#

cuz there are 3 vertices, with 3 flaots each

opaque wharf
#

size

Specifies the size in bytes of the buffer object's new data store.
#

So...

#

It should not be 9

stone cedar
rough bloom
#

is sizeof(vertices) actually 9
because I think it should be 8 (or 4)

opaque wharf
olive sable
#

lemme retry

opaque wharf
#

vertices are ptr. Sizeof will return the sizeof ptr

olive sable
#

36 now. this stuff is weird.

#

changes eacht ime

stone cedar
#

unles its a local array

opaque wharf
olive sable
#

4*9 is 36 tho so it should be good?

opaque wharf
opaque wharf
#

I mean the *

#

It shouldn't right?

opaque sigil
#

no that'd be passing a float**

rough bloom
#

buh why must C be like this

olive sable
#
float vertices[9] =
{
  -0.5f, -0.5f, 0.0f,
  0.5f,  -0.5f, 0.0f,
  0.0f,  0.5f,  0.0f
};

glBindBuffer(GL_ARRAY_BUFFER, VBO);
glBufferData(GL_ARRAY_BUFFER, sizeof(vertices), vertices, GL_STATIC_DRAW);
opaque wharf
olive sable
#

i have no clue whats ahppening

#

is there a way to force the size?

opaque sigil
#

the code you sent is correct

sour harness
#

9* sizeof(float)

rough bloom
#

wdym force the size, it's correct already kek

olive sable
#

i meant of the array when passing it

opaque sigil
#

if it wasn't it wouldn't in wasm either realistically

#

wdym

opaque wharf
#

What is the GL version again? 3.0es?

warped narwhal
#

There is the countof iirc that will tell you the size of the array, multiply this with sizeof to get the size in bytes

olive sable
#

3.0es ye

rough bloom
olive sable
#

or well, its supposed to be but im getting back GL_VERSION: OpenGL ES 3.2 NVIDIA 572.83
the shaders should still be compatibl tho

#

lemme try something

warped narwhal
#

Oops forgot to stop replying

olive sable
#

yes es

#

cuz browser

warped narwhal
#

Oh also don't forget that offsetof exists, it's really useful for Vertex layouts Vertex attributes

olive sable
#

at thsi point im thinking it might just be a version problem

warped narwhal
olive sable
#

now its 36

warped narwhal
#

Or 8 on desktop and 4 on the browser

olive sable
#

that was cuz of the pointer

opaque sigil
#

he was being silly and printed the size of pointers to the individual elements inside the array

olive sable
#

its stupid that pointers arent the same siz eas the object

#

it should just return the same value

opaque sigil
#

that would completely invalidate their reason for existence

olive sable
#

i guess ye

warped narwhal
#

Well, if you had an object that was 100mb in size, you wouldn't want the pointer to also be that size

olive sable
#

im just annoyed at this

opaque sigil
#

you'll get used to it dw

#

it's just at the beginning where everything is new neuroPogHD

warped narwhal
#

A genuine hint to get you slightly more accustomed to pointers, is to use Hungarian notation, just until you get the hang of them

opaque wharf
#

Not the hungarian notation

warped narwhal
#

Aka, don't call your variable "vertices" cause arrays don't exist in c++ in the way that they do in python, call it "pVertices" instead, so that you can recognise that you are passing in a pointer

warped narwhal
#

Damn lpcwstr or whatever it's called is the bain of my existence

opaque sigil
#

or just use std::array

opaque wharf
#

....can we?

opaque sigil
#

you can get a pointer to the underlying data

sour harness
#

Ah yes templating, let's stack another layer of confusion on top for the beginner

opaque wharf
warped narwhal
opaque wharf
warped narwhal
#

Yes

#

Vectors are always contiguous, as they reallocate and move/copy the whole array when they run out of space

opaque wharf
#

I see. Man, I need to refresh my C/C++ now

olive sable
#

im beginning to see some problems

#

lemme fix

#

does opengl es 3.0 even work locally?

opaque wharf
#

Great

warped narwhal
#

You may be thinking of a deque

#

Which has a linked list of arrays

#

And is therefor not contiguous

rough bloom
olive sable
#

i dont think it does that

#

if i try to do that it defaults to a newer version

warped narwhal
#

Your using glad right? Did you select gles on the configuration site?

olive sable
#

fuck it, if statement go brrr

warped narwhal
#

I mean as your loader

olive sable
#

?

warped narwhal
#

Also you cannot request specific open gl versions

olive sable
#

yes i can

#

and i wil

warped narwhal
#

You can only request minimum versions. The loader will give you the most recent version you have, and will error if that is less than what you asked for

olive sable
#

no im pretty sure i can

warped narwhal
# olive sable ?

The program/code you use to enable opengl, as windows does not have this by default

olive sable
#

SDL and glew

warped narwhal
#

I see, give me one sec to check some docs

olive sable
#

setting the version to 3.3 core works, but it doesnt help with makign it render

#
./main
Init OpenGL
GLEW initialised
OpenGL initialized
GL_VERSION: 3.3.0 NVIDIA 572.83
tender river
#

just remembered my C++ war crimes (using #pragma comment(lib, ...) instead of editing msvs project settings because i hated and still hate visual studio)

opaque sigil
#

based

warped narwhal
#

Oh lmao, yep I did that for a while with d3d12.lib and dxgi.lib

amber fractal
#

Hot take: This is most usages of float outside of graphics and color management.

warped narwhal
opaque wharf
#

But the usage is ill advised

warped narwhal
# olive sable no im pretty sure i can

Yup, I was mistaking opengl with how directx works. In direct x you give the device the version you require to function, but it will give you the maximum supported feature level

tender river
#

what did she mean by this

olive sable
#

i wonder

tender river
#

my notes are peak

#

10 pages of unfiltered thoughts that i dont even have to read because they are outdated by the time i finish writing it

sage crag
#

i wonder therefore i however

olive sable
#

so it used to wrk on browser and not on local

#

i have fixed hat

#

now it works on neither

tender river
#

thats why frequent commits are good

opaque sigil
#

did you really fix it then glueless

tender river
#

you will at least know what you changed

olive sable
#

i know what i changed so its not a problem

#

just was in a difrrent file

olive sable
#

i decided to try renderdoc

#

looks liek the vertices are getting passed, jsut not rendered?

#

depth test failed???????

#

brother its the only thing being rendered on screen

stone cedar
#

But it is at z=1

sage crag
#

managed to get hblang hello world down to 1872 bytes

stone cedar
#

wait no

tender river
#

the beauty of opengl

olive sable
#

z=1 works in browser

sage crag
#

smol

#

would be faster if it didnt contain all of this garbage lol

olive sable
#

i have disabled depth testing NeuroClueless
im sure this wont cause any issues whatsoever

sage crag
tender river
#

under a kibibyte

gritty dust
#

im built different

sage crag
#

maybe soon

tender river
tender river
#

i.e. keeping inlined symbols in there?

#

because the code itself isnt 100% optimal but its pretty alright since each syscall does have to be set up separately

#

though obviously theres a lot of missed opportunity for using constants instead of registers

sage crag
#

if stuff could be stored in read only data instead it would be better

tender river
sage crag
#

i think its possible to get this down to like 500 bytes in nasm though evilLightbulbJuice

sage crag
gritty dust
stone cedar
#

But isn't the z axis of the bottom left pointing down? is that supposed to be like that?

#

looks kinda off

gritty dust
# stone cedar looks kinda off

(the z axis isnt coded so its using random pixel data, i dont care about it because when I use it, itll be on flat area so the z axis would be constant later

#

so yes the z axis data is wonky lol

#

whoops

#

apparently the device is trying to use gpu but I want it to use cpu so uhh time to force it

warped narwhal
#

Are you using the cross product to get the z axis?

gritty dust
# warped narwhal Are you using the cross product to get the z axis?

(im not using it at all lol, these codes are just meant to be on a flat area so I can convert x,y pixels to mm, but the z axis its just using the pixel count for another value instead of the actual number because I dont need z axis, i just put it there because xyz looks nicer than just x,y lol

#

so ignore the z lol

gritty dust
opaque sigil
gritty dust
#

WAIT

opaque sigil
#

or are you trying to use the gpu for parts of it

gritty dust
#

YOU'RE SO RIGHT

#

one sec lads

opaque sigil
#

https://download.pytorch.org/whl/cpu should be the index url

opaque sigil
gritty dust
olive sable
#

the z axis in webgl is inverted.....

#

......

opaque sigil
#

time to conditionally define an extra coefficient to use everywhere or sth neuroPogHD

olive sable
#

i cant figure out why itrs doing this, ill figure it out later

#
Desktop OpenGL (4.6) NDC depth range is [-1, 1].
OpenGL ES (3.0) and WebGL NDC depth range is [0, 1].

ah, i see

#

imma sleep

stone cedar
#

You might be able to use glClipSpace (or whatever its called) to make Desktop behave the same as ES 3.0 at least in depth range, not sure about z direction

olive sable
#

Ill see how i can fux it

hoary lion
frozen igloo
amber fractal
desert wave
#

oh, it's meant to be 10³ but the formatting ate it

dusky jackal
#

Man.. 2025 and still no AI ASMR besides that weird yeti shit. despair You would think it would be everywhere by now, but no.

burnt aurora
#

Good

#

Please have it stay that way

opaque wharf
#

Good afternoon everyone

uneven pulsar
#

good morning

stark needle
#

Morning

fast pagoda
#

create pr

#

copilot says "code review uwu?"

#

ok fine
it suggests extracting some stylesheet transforms out of the main index of this webpage
ok fine sure yeah i mean i should just put it all in the css after all
ruins my life for the next hour because the transition is just broken

#

good evening

dusky jackal
# burnt aurora Please have it stay that way

You don’t understand. Tbh I just listen to 10 hr industrial factory background noises, that helps me sleep. I’m not listening to meat-flappy flesh-slop from glorified salami-apes. despair

blissful geyser
#

How to make coding on mobile less painful

fast pagoda
#

*more painful

opaque wharf
opaque wharf
ruby timber
#

Good morning!

hoary lion
#

Morning stella

ruby timber
#

Hi osage :>

tender river
hoary lion
#

bwa

#

time to eep

ruby timber
#

Good night!

maiden geyser
#

morbing

stark needle
#

Where does the keyboard go tho :(

opaque wharf
stark needle
#

😭

#

Google Keyboard

#

NOOOOO

#

I love purchasing happy people

#

i think I'm going insane — time to code

fast pagoda
uneven pulsar
#

guys

#

chatgpt lost to a 2600 atari chess game

maiden geyser
#

stupid ass ai award

burnt aurora
knotty current
dense cosmos
#

y is it good tho

unkempt citrus
#

Because its asmr, ts not like that shits hard

#

and theres so much training data

olive sable
#

goodmorning

opaque wharf
#

Is it morning tho?

olive sable
#

its 11am

#

mornign ish

jagged turtle
#

nowhere near morning for me

olive sable
#

11, not 1, typo

sour harness
#

same here, so I guess "morning" is winning right now

south needle
south needle
olive sable
ruby timber
#

I mean, it's sunday so who cares about when you get up GLEEEE

fast pagoda
#

my arch distro's python spontaneously combusted

#

nice

south needle
#

use nixos

fast pagoda
#

was troubleshooting with that gemini fellow

#

i feel like the chances someone configured nixos for wsl are small but i havent looked

maiden geyser
fast pagoda
#

nvm instantly on googol

fast pagoda
#

you use this one?

#

or a different one

#

ill try it fk it

south needle
#

i use this one

fast pagoda
#

guess that's what i'm doin

south needle
#

glhf

fast pagoda
#

im actually pissed because that arch install lasted like one(1) week

#

and i didnt even use it for days, boot it up, python is destroyed

#

?

#

some pacman -Syu failed or something maybe

trim valve
#

the arch experience™️

south needle
#

yep that stuff never happens to us nixos users. INSTEAD we get 'Infinite recursion at undefined place'

#

have fun fixing that

fast pagoda
#

welcome to *nix
pick yer poison

#

lol

#

im salty because i was all booted into remote with that ready to work

#

😡

uneven pulsar
#

dose anyone here know godot

fast pagoda
#

i hear vaedle loves being asked about godot

uneven pulsar
#

like i do know how to use it but i cant figure out how to apply a trail effect for the player

#

i been progressing a lot check this out

fast pagoda
#

lmao the max volume sound effects + ripped sanic sprite and circles for a trail

#

me in unity

#

i should try godot

uneven pulsar
#

i am makinga a 2d sonic physic game

uneven pulsar
fast pagoda
#

easier than unity? unity was real easy to get ahold of

blissful geyser
uneven pulsar
#

for the sprites for sonic the community offers a loy of sprites if you want to make custom sonic fan games

blissful geyser
#

I actually just use a bluetooth controller

ruby timber
fast pagoda
#

damn

uneven pulsar
fast pagoda
#

oh well then i alreay know it

uneven pulsar
#

as scripting language and faster

fast pagoda
#

no c# Pog

uneven pulsar
fast pagoda
#

hey this vedla987 guy should try godot

uneven pulsar
fast pagoda
#

i just like mentioning him in case he backreads just so he can be more disappointed

uneven pulsar
#

anyways

#

i am rally trying to create a boost trail for sanic

#

but i cant figure out how to apply it

#

or eeven find a proper working one

fast pagoda
#

i searched it and found line2d

uneven pulsar
#

but i want it to do the thing just like sonic do

#

but in godot its a bit tricky

#

to do

fast pagoda
#

depending on the game he pretty much just had like a translucent blue cylinder shitting out of him

#

like in adventure 1

#

i feel like

uneven pulsar
#

they used some custom fan game mod engine

#

its called sonic world engine smt?

#

or uhh rounder engine wait its for 3d

fast pagoda
#

is that the one that christian whitehead made for ios or whatever

#

i think that was his name

fast pagoda
#

have you tried GPUParticles2D

#

since the boost im assuming you mean something like this if not a line

uneven pulsar
#

uuh wait no tho

fast pagoda
#

Christian Whitehead, also known as The Taxman, is an Australian video game programmer and designer. He is most recognized for his work creating updated ports of early games in Sega's Sonic the Hedgehog series, as well as being a lead developer of an original game in the series, Sonic Mania. In late 2018, Whitehead co-founded indie development st...

#

im not crazy im just old

#

he made a sonic game in like 2007

#

fan game

#

and then sega forgor how to make sonic feel like sonic in 2d

#

and they ended up recruiting him and using the engine

#

and theyre still using that engine

fast pagoda
#

they used it for sonic origins

#

like 3 years ago

uneven pulsar
#

unlike nitendo

fast pagoda
#

retro engine is a cool thing to have happened

uneven pulsar
#

wait OOOOOOOOOOOOOOh

#

OOOOOOOOH I FORGOT

fast pagoda
uneven pulsar
#

and not really the best but godot is more flexible

#

i dont think its public to use

pulsar rock
#

Did retro engine get open sourced? I know there was a decomp/recomp of sonic mania which uses the retro engine...

uneven pulsar
#

still godot way flexible

uneven pulsar
fast pagoda
#

well if it's anything like what i posted there my extensive 2 seconds of googling that you surely havent already done have resulted in the conclusion that you should use GPUParticles2D as a child node to the player and then fuck around with the gravity and stuff so it doesnt fall down and it'll pretty much trail behind him

uneven pulsar
#

i know it cuz it made some sonic exe fan games smt

fast pagoda
#

there is a "trail" toggle on those

uneven pulsar
#

then il have to change the node an refix the code to work with gpuparticals2d

uneven pulsar
fast pagoda
uneven pulsar
#

you helped me a lot

fast pagoda
#

happy to be of service

#

sometiems you just need a 2nd set of eyes

fast pagoda
#

RIP terry

#

gone but never forgotten

maiden geyser
#

"we still talk about you"

uneven pulsar
#
func hide_boost_bar():
    if boost_bar:
        boost_bar.visible = false

func start_boost_trail():
    if boost_trail:
        boost_trail.emitting = true
        
        # Access the process material (ParticleProcessMaterial)
        var material = boost_trail.process_material as ParticleProcessMaterial
        if material:
            # Set direction based on Sonic's facing direction
            var trail_direction = 180.0 if not sprite.flip_h else 0.0  # 180° = left, 0° = right
            material.direction = Vector3(cos(deg_to_rad(trail_direction)), sin(deg_to_rad(trail_direction)), 0)
            
            # Set initial velocity
            material.initial_velocity_min = 150.0
            material.initial_velocity_max = 250.0
            
         
            material.angular_velocity_min = -45.0
            material.angular_velocity_max = 45.0
            
            # Make particles fade out over time
            material.scale_min = 0.5
            material.scale_max = 1.0
            
        print("Boost trail started")
#

i mean it did work out but uhh idk about the texture

#

like if it doesn't work out it might look sluggish

#

tbh to be honset this is not my code

olive sable
#

i have no clue why native was being so ass but atleast no more problems

#

seems to be linked to vsync

#

now comes the fun part.... had do you do matrices in opengl?

uneven pulsar
#

i just found that the deleted JetBrains python ide creating a virus in my pc

#

like while i was deleting jetvrains it somehow created a virus on my pc

#

and i had no idea

#

fuck jetbrains

burnt aurora
#

What virus

#

And where did you download the thing

uneven pulsar
#

official one i long ago i got a fatal error

burnt aurora
#

And what's the virus you claim to have

uneven pulsar
#

when i was deleting the jet brains ide windows couldn't find it

burnt aurora
#

And you think that means that it's a virus?

maiden geyser
#

must be the cia

uneven pulsar
burnt aurora
#

That's not how malware works m8

uneven pulsar
#

i scanned the device and the lost data folder of the ide is the hidden virus not sure

#

or maybe memory corruption

burnt aurora
#

Or you just uninstalled the ide

uneven jay
#

I used to believe inserting a dirty cd or USB drive without blowing on it is how viruses are made

uneven pulsar
burnt aurora
#

But it's not a virus just because windows is being stupid again

uneven jay
#

its just the messy windows application/program management

#

if you installed something and then remove its files without uninstaller

#

obviously it's still going to be in the appwiz.cpl / whatever

#

and trying to uninstall it from there will fail

burnt aurora
uneven jay
#

idk why I say windows

burnt aurora
#

Windows apps were a mistake

uneven jay
#

all desktop systems except mobile apps where it's locked down tight suffers this issue to some extent

maiden geyser
#

trve

#

especially hurts when you want to uninstall something but it just errors out and leaves no option but to delete the folder

burnt aurora
olive sable
#

"winrar is not real"

#

im suprised the ms store doesnt have winrar tho

burnt aurora
#

Inb4 he finds out that steam isn't on the ms store

tiny mango
#

Tbf a lot of older tools have the shittiest download pages of all time