#programming

1 messages ยท Page 5 of 1

trim valve
#

how dare you use a python version newer than 3.7

safe path
#

python versions were a mistake

#

let's go back to python 2

trim valve
#

print keyword my beloved

hoary lion
#

good morning

olive sable
#

As in too new or old?

native crow
#

Trying to get video permissions by typing a lot of words!

sharp mantle
#

New Codex-1 model PauseSama

frozen igloo
#

Why am I watching this I have no idea what any of this is

olive sable
frozen igloo
#

Topos

stark needle
olive sable
#

Mor

jovial remnant
maiden geyser
#

imagine using python<3.13

olive sable
#

i use 3.12 for webgl, there arent many wheels for 3.13 yet

tender river
stark needle
#

Codex is such a massive bruh moment

#

People REALLY wanna repalce devs

tender river
raw trout
#

Morn! neuroWaveA

safe path
#

today i learn QOpenGLWidget is a thing

#

glueless why is it not the default thing tho

olive sable
#

the what?

safe path
#

all the docs (that i have seen so far) uses QWidget instead of QOpenGLWidget

#

the latter does GPU accelerated graphics, and is basically plug-and-play acceleration if you used QPainter

olive sable
#
QOpenGLWidget provides functionality for displaying OpenGL graphics integrated into a Qt application. It is very simple to use: Make your class inherit from it and use the subclass like any other QWidget, except that you have the choice between using QPainter and standard OpenGL rendering commands.

neuroLookUp

#

huh

#

interesting

#

so opengl on qt framework?

safe path
olive sable
#

i thought c++ would work with opengl pretty well, didnt know you'd need a lib for it

#

altho qt is not the exacxt same thing as c+, but i cant remember the difrence

safe path
#

in general mixing display-type frameworks is a terrible idea

#

especially with Qt, since it has its own memory management rules and all

tender river
olive sable
#

depends on if you count webgl, but even then support is iffy

safe path
#

free acceleration vedalPray

olive sable
#

yay

stone cedar
#

Doesn't Qt use ANGLE anyways? so what API you end up with in the end is still ambiguous even if you write opengl commands.

safe path
#

shrug i don't know enough about Qt to say anything, all I can say is by painting on QOpenGLWidget, my CPU consumption dropped significantly

#

oh is ANGLE windows only?

#

yeah it is

#

it's irrelevant to me then glueless

stone cedar
#

Makes sense, no neet to translate opengl to d3d on anything else shadowhehe

tender river
#

clearly there needs to be a linux-only drop in replacement called DEVIL

safe path
#

DEVIL would switch between Vulkan and OpenGL mhm

olive sable
#

isnt it angle as in a corner? not the diety?

stone cedar
#

MESA already made that and called it Zink syadouNotlikethis

safe path
#

nooo missed opportunity

stone cedar
#

ANGLE - Almost Native Graphics Layer Engine

tender river
safe path
#

pepew can we standardise shaders already

olive sable
#

use the opengl ones, i likse those

olive sable
tender river
#

its a shader IR thats fairly easy to convert from or to anything else

safe path
olive sable
tender river
#

SPIRV is not meant to be written by hand

#

its an IR

#

IRs are made for computers, not humans

#

its like complaining that the LLVM IR printout takes up 20 A4 sheets when you print hello world

olive sable
#

if i understaand this grapg correctly, spirv is also used by opengl?

tender river
#

its not

stone cedar
#

GLSL is probably the best for compatibility, now that D3D12 supports spir-v as well as dxir

olive sable
tender river
#

also this still doesnt mean spirv is used by opencl

#

the graph isnt about what uses what

olive sable
#

then what do the lines mean?>

tender river
#

its about formats and conversion tools

olive sable
#

ohhh

safe path
#

GLSL -> glslang -> SPIR -> SPIRV-Cross -> GLSL mhm

prime ridge
#

W3b assembly

#

Web

stone cedar
tender river
#

wasm isnt a shader language

#

but wgsl is

prime ridge
#

No ik

#

Webgpu tho

#

With webasm

safe path
prime ridge
#

Best workflow for web

tender river
#

also note that theres also other tools like naga

prime plaza
#

thought of the most basic, useless project ever and managed to do it in 3 and a half hours (with insane carrying from chatgpt for getting out of loops and looping inside another loop)

stark needle
#

chargtp

olive sable
#

the small horses

maiden geyser
#

the small and evil and intimidating horses

fringe birch
#

they will steal your soul

stone cedar
#

Breaking out of nested loops is hard shit. 40 years of c++ and they're still deliberating on how to solve this ...

safe path
#

date of birth is a checkmark AINTNEURWAY

prime plaza
olive sable
#

ye

prime plaza
#

oki just making sure

prime plaza
#

also not sure whether to feel accomplished or "meh" after this, since a lot of the difficult parts were done solely by chatgpt

olive sable
#

you should not code with chatgpt, only use it to explains tuff

prime plaza
#

then ask how that worked

olive sable
tender river
prime plaza
olive sable
#

ye

prime plaza
#

still kind of leaving room for myself to learn some things that it gives me before asking what something means too, which ig is an added benefit

#

like in my case it was what the lines "return", "break", "continue", "return()" all meant and how they're different

maiden geyser
#

return()?

opaque sigil
#

yep that's a thing

prime plaza
#

oh I meant return main() but yeah you understand

#

typo on my part my bad

stone cedar
opaque sigil
#

I wish people would stop with their almost irrational fear of avoiding goto at all costs sometimes

stone cedar
#

Even the proposal for named loops admits This code is clear enough, but the goto is socially problematic.

opaque sigil
tender river
#

imo the problem with goto is the unclear raii semantics (they might actually be clear in the standard idk) but goto is normal in some contexts yeah

opaque sigil
#

Just don't do raii and that's not a concern anymore NeuroClueless

noble zodiac
#

there are not many people I would trust to use goto and not fuck it up

maiden geyser
#

isn't it a basic functionality of c

opaque sigil
#

If you can't use goto to break out of a nested loop then idk you might be a lost cause

stone cedar
#

Jumping out of a scope will cleanup all objects in that scope properly. Jumping past object initialization is not legal iirc and should not compile.

dense cosmos
#

The only time I saw goto being used was the default cuda cpp file from visual studio

opaque sigil
#

Or using it for a simple defer

stark needle
#

Combine goto with dynamic programming and mallocglueless

noble zodiac
#

I would first question why you ended in a situation where you feel the need to use it. Most likely you already fucked up at that point

opaque sigil
#

That's fair I guess

dense cosmos
#

They used it to handle errors, i.e cleanup data before returning

#

But yeah I haven't ever used goto myself, I forgot it even existed

scarlet arch
dense cosmos
#

I guess, but the example basically had multiple if statements that goto a deallocation before exiting the function

noble zodiac
#

its not always desirable to bubble errors up

#

the linux kernel uses plenty of goto but I trust them to know what they are doing

dense cosmos
#

If they returned without deallocating it would've caused a memory leak because I believe the memory was allocated in the very same function (I might be misremembering)

#

And I guess it's slightly more inconvenient to slap those deallocations in every if statement

dense cosmos
#

Yep that's basically it

opaque sigil
#

The poor man's go defer

#

Is nice sometimes

#

thanks for making it the correct defer

#

i'll never not get annoyed when thinking about go and defer

scarlet arch
#

So if I return something from the arena it's basically garbage by the time the function exits? Surely the compiler prevents this? milk

maiden geyser
#

based

scarlet arch
#

I like compiler guardrails made by smarter people than me. Idk belly

dense cosmos
#

What about multiple defers

#

abc to cba? Hum

opaque sigil
#

usually it'd be

#

since you're adding them to a stack and then popping them off one after another

#

that's how it works in zig at least

#

well, not literally since the compiler just throws the code where it belongs but that's the idea

#

can't you just print to verify

#

ah

#

that's why i assume it was possible

dense cosmos
#

Is it legal to place the defers above the variable they reference, since they get called afterwards anyways

opaque sigil
#

no

dense cosmos
#

XD

#

I just had the thought

opaque sigil
#

why are two of those pascal case

#

and the rest snek case

#

ah

#

i guess that's true

#

fair enough

hexed grove
#

my random commit messages

opaque sigil
#

@typeInfo when

#

just implement all the compiler built-ins while you're at it pls

#

this is peak code

#

honestly? not really no

#

i don't usually do one file per struct i'll group them

#

i guess if it's a big struct then sure

#

it is convenient but idk

#

feels weird

dense cosmos
#

Array of structures vs Structure of arrays?

#

Mhmm

opaque sigil
#

yeah?

#

just take a type parameter no?

#

yeeeeeeeah

stark needle
#

Gemini Ultra

opaque sigil
#

true

#

i don't think that's really an issue, checking overlap for an array of pointers makes no sense in the first place

#

yeah

#

could just throw a compile error if you pass pointers i guess

maiden geyser
#

is there a way to inline asm

opaque sigil
#

wdym i can't write arbitrary bytes into the executable wherever i want SMH

#

speaking of which, jai public beta when

opaque sigil
#

JIT my beloved

olive sable
#

welp, i have become a contributor to the openGL wrapper im using

opaque sigil
#

it's all downhill from here

#

why live

olive sable
#

i wonder what the #programming ven diagram is of being an insomniac and being depressed

#

there has to be at least a large corelation

stark needle
sharp mantle
#

catdespair I thought AlphaEvolve was on Gemini 2.5. I'm more stunned now

stark needle
sharp mantle
stark needle
#

If u need many ideas similar to e.g. alphago or stockfish or whatever they generate a ton of samples quickly and figure out best

#

Aka playing the lottery

olive sable
#

i love gambling

sharp mantle
#

Humans too are just brute forcing intelligence, change my mind glueless

stark needle
#

Brute forcing random text generators

#

Till something good appears

#

google tpus cause nvidia is overpriced and making ur own chip is cheaper than buying like 30x markup

#

Moment

#

And now they use llms to generate better chips

#

lol

maiden geyser
#

because they're google

stark needle
sly grove
#

Hello i am a beginner to programming and i wanted to ask what are good python projects for getting better/improving at programming

stark needle
maiden geyser
olive sable
stark needle
#

Same with the new google arm chip

sly grove
stark needle
#

Why pay amd/intel 10k$/chip when u can make ur own

#

When u got idk 100M servers or how much they ever have or something and on that scale servers break 24/7

olive sable
#

when u try to optimize and it becomes slower bwaadow

maiden geyser
#

it means your compiler is smarter than you

olive sable
#

its python

maiden geyser
#

optimising python xd

stark needle
#

I love pretraining llms which cost a gazillion dollars on the almost slowest language possible

#

Iirc openai uses torch

#

Hopefully they use the c++ version lol

dense cosmos
#

I don't think there's that much stuff happening in python

#

Compared to the model itself

#

That being said, I still would rather write in cpp

opaque sigil
#

i don't there's a non c++ version of pytorch

#

unless you want to count the original lua one

#

python is just a fancy frontend

olive sable
opaque sigil
#

sure there's some overhead in context switching but that's negligible

#

or rather, should be

#

idk if it actually is

olive sable
#

same thing with my opengl code, its slow but the bottleneck is my shadercode

maiden geyser
#

boooriiiing

opaque sigil
#

tldr: you suck git gud

dense cosmos
#

Apparently python because ml researchers are math first programming second I guess

opaque sigil
#

konii do you know if there's a way to not have page faults handled by the linux kernel

#

let's say i want to handle them myself

stark needle
#

Someone told me once

ruby timber
stark needle
#

Math people are bad at coding and software engineers are bad at math, so they had to dumb it down significantly

scarlet arch
#

this is one of the reasons we try not to do premature optimization at our company. simple naive solutions most of the time compile down to a very good result.

#

sadly the C monolith we translated in 2018 to Rust still has very C like things in it

opaque sigil
#

yeah catching sigsev would unfortunately be way too late

#

ideally it wouldn't touch the kernel at all

#

i guess you could do all the memory management yourself?

#

yea

#

i wonder

#

if i use a thin wrapper for an array and hand out pages myself

#

i should be able to detect page faults before they occur

#

yeah but there's another issue, it'd have to run on a gpu neuro7

#

handling gpu page faults on the cpu is painfully slow

dense cosmos
#

What are you trying to do

opaque sigil
#

surely there's a hidden register bit somewhere in x86 you can use to disable specific hardware interrupts NeuroClueless

#

are you familiar with the gh200

dense cosmos
#

Can't say I am

noble zodiac
#

what could possibly go wrong if you dont handle interrupts dittoface

opaque sigil
#

basically you have a cpu and an h100 connected with an interconnect to let the gpu access cpu memory directly

dense cosmos
#

Oh, ai chip?

opaque sigil
#

problem is

#

there's a single shared system page table where things get registered so if you run into a page fault on the gpu it needs to send a request over the interconnect to the cpu to handle said page fault and then populate the page table and send back the data

#

expeeeeensive

scarlet arch
#

pretty much. and one of the latest version of Rust has a debug assert that a dereferenced pointer is not null. guess what exploded when I tried updating :D luckily it was only test code that didn't fully initialize the "main app" struct

#

we're at a point where fixing that pointer mess needs a comment with a counter of how many times it has been tried. so we're trying, but PO says "no customer value"...

opaque sigil
#

ah yes, thanks libc

#

interesting though

noble zodiac
#

I cannot stress enough how bad of an idea it is to mess with the interupt handller

opaque sigil
#

oh i know

#

what's the worst that can happen NeuroClueless

noble zodiac
#

your PC can literally catch fire

#

thats the worst

#

with real hardware on an already initialized system? pfff, what could possibly go wrong if the system doesnt react on whatever the hardware is doing

maiden geyser
#

even better idea: don't feed your pc well and put more radiators instead

opaque sigil
#

looks like i would need a way to hook into the mmu on the gpu which uhh, i guess doesn't work without reverse engineering but frick that

#

time to get a job at nvidia and yoink the internal docs mhm

#

yeah idk

#

i'm sure some smart soul is going to figure this out eventually

#

or realistically nvidia finds a way around the expensive page faults

#

what do you do when your working set exceeds the amount of physical memory

#

true, why didn't i think of that pogs

#

they should just stop caring about the economy and laws of physics and give us a 1TB HBME4 gpu tbh

noble zodiac
#

no one will ever need more than 12 mb

#

that aint melting nothin

scarlet arch
opaque sigil
#

using otherwise wasted pcie lanes

noble zodiac
#

when you want your m2 drive to be cozy warm

scarlet arch
opaque sigil
#

apparently they do support gen 5 drives, that must get so toasty

opaque sigil
scarlet arch
#

m.2 extension cable, free floating drive? :P

opaque sigil
#

but they don't need that many, especially "lower tier" cards like this 4060 ti

olive sable
#

wouldnt putting an ssd in your gpu limit gpu bus speed?

opaque sigil
#

well yeah

#

but when you can already halve that without losing more than a couple % it doesn't matter too much

olive sable
#

i guess its fine

#

nothing gpu wise is using the full pcie gen5 anyways

noble zodiac
#

just stream your storage over network 24/7

olive sable
#

no

#

ssds are more that gigabit

noble zodiac
#

not a 100 gigabit

olive sable
#

i dont have 100 gigabit

#

i have 100 megabit

opaque sigil
#

800GbE mhm

olive sable
#

too bad, ssd burns allong with the 5090

noble zodiac
#

you dont even need fiber for it. You can copper that all up

#

We have dozens of VMs at work that are purely network based with no local image whatsoever

stark needle
#

It's not even bad

#

I like the balatro home screen music

noble zodiac
#

I have never played balatro to me it doesnt sound odd a tall. Just a single song that doesnt have too much going on

#

it sits in an odd stop for me. not chill enough but also not stimulating enough

stark needle
#

konii

#

Ye this is based

noble zodiac
#

adhd speedrun

hoary lion
#

attention span of an amoeba

noble zodiac
#

I wonder if gen Z can sit through a 20min prog song

stark needle
#

And ads

hoary lion
#

i never heard any peak song over 8 min

noble zodiac
#

naah, the best songs are longer

opaque sigil
#

bury the light my beloved

maiden geyser
stark needle
# hoary lion i never heard any peak song over 8 min

My favorite genre https://youtu.be/LmBI77ugdK4

Composers such as Arnold Schoenberg, Anton Webern, Alban Berg, Karlheinz Stockhausen, Pierre Boulez, Luigi Nono, Milton Babbitt, Elisabeth Lutyens, Henri Pousseur, Charles Wuorinen and Jean Barraquรฉ used serial techniques of one sort or another in most of their music. Other composers such as Bรฉla Bartรณk, Luciano Berio, Benjamin Britten, John ...

โ–ถ Play video
noble zodiac
#

I would say that I love the distortion of the cello but thats just the mic peaking like crazy

olive sable
#

it sure does have sound

maiden geyser
olive sable
olive sable
olive sable
#

umg owns it, so no embed for some reason

maiden geyser
#

no, it isn't available even in browser

olive sable
#

it is for me

#

still sounds bad tho

stark needle
#

Ur county censors this Masterplan

noble zodiac
#

if you dont add a random flute solo in your rock song are you even trying

stark needle
#

Masterpiece

olive sable
noble zodiac
#

music genre names is the only thing still beating tech bro product names

stark needle
#

"music is subjective"

#

9 hours adhd

#

Scammed it said 10 hours

noble zodiac
stark needle
#

Cbat

#

gdpr

olive sable
stark needle
olive sable
#

๐Ÿ—ฃ๏ธ

stark needle
#

And konii why are you 17 minutes in

noble zodiac
#

I love both shoegaze and math rock

#

unironicaly

stark needle
#

It's working

olive sable
#

๐ŸŽธ NO2 โž• 4๏ธโƒฃ ๐ŸŸฐ pg_char_6 ๐ŸŽต

noble zodiac
#

or just be sleep token and do all the genre

stark needle
# olive sable ๐ŸŽธ <:NO2:1213183264613732402> โž• 4๏ธโƒฃ ๐ŸŸฐ <:pg_char_6:848253993817735210> ๐ŸŽต

ๅฎถใฎ่ฃใงใƒžใƒณใƒœใ‚ฆใŒๆญปใ‚“ใงใ‚‹P๏ผˆmanbo-p๏ผ‰ใงใ™ใ€‚

ๅฐ‘ๅนดใฏๆ•ฐๅญฆใ‚’ๆ„›ใ—ใฆใ„ใŸใ€‚ใ—ใ‹ใ—ใ•ใ‚‰ใซๆ„›ใ—ใฆใ„ใ‚‹ใฎใฏๅนผ้ฆดๆŸ“ใฎๅฐ‘ๅฅณใ€‚
ๅฐ‘ๅนดใฏๆ•ฐๅญฆใฎ็Ÿฅ่ญ˜ใ‚’ๅˆฉ็”จใ—ใฆๅฝผๅฅณใซๅฟ…ๆญปใฎใ‚ขใƒ”ใƒผใƒซใ‚’็นฐใ‚Š่ฟ”ใ™ใŒโ€ฆโ€ฆใ€‚

ใ€Šใƒœใƒผใ‚ซใƒซใ€‹๏ผšGUMI
ใ€Šไฝœ่ฉžใƒปไฝœๆ›ฒใ€‹๏ผšใ‚ฟใ‚ซใƒใ‚ทใƒจใ‚ฆ
ใ€Šใ‚คใƒฉใ‚นใƒˆใ€‹...

โ–ถ Play video
olive sable
#

what in the fuck?

noble zodiac
#

there is a Miku shoegaze album and its amazing

olive sable
#

what?

#

bro its 5 min

maiden geyser
#

it's peak

#

all phone zombies lead to rome is also a peak

olive sable
stark needle
olive sable
#

now im Aware

noble zodiac
#

maybe they sing about flowers and rainbows

olive sable
#

they said "sayonara" so no

stark needle
olive sable
noble zodiac
#

eh, I got worse songs dittoface

olive sable
#

i like how it sounds, but it makes me sad so idk if i should get into the genre

stark needle
olive sable
prime ridge
olive sable
#

i forgot im using the alpha channel too so i was wondering why it was invisible neurOMEGALUL

#

depthmap go brrr

desert hawk
#

Did I lose my embed perms

olive sable
#

its jsut down

desert hawk
#

Oh

#

Hmmm

#

I see

stark needle
#

clyde what are u on about

scarlet arch
#

classic

#

edge server died

olive sable
#

clyde go brrr

scarlet arch
#

or I think discord calls it shard

olive sable
stark needle
#

But isnt that for dms only

scarlet arch
#

no I had that in a server before

stark needle
#

That is very neuroPogHD

hoary lion
#

?

maiden geyser
#

the gif doesn't embed

hoary lion
#

is this some kind of high knowledge behavior that I cannot comprehend

#

or is it just embed fail

maiden geyser
#

it doesn't embed on multiple cerbers

#

at least 2 now

#

all gifs

hoary lion
scarlet arch
#

fuck that got me. I was like ":O konii voice reveal"..

maiden geyser
#

yes, but it doesn't embed anymore

scarlet arch
#

oooh haha

maiden geyser
#

I'M NOT SCHIZO

gritty dust
olive sable
#

is 1.1TB of data for an llm normal?

#

and if so, how does it even train that? i dont have that much vram nor ram

#

i dont even think i have that much storage space

scarlet arch
#

isn't training done in batches and stuff?

opaque sigil
#

think of it as a sliding window through your dataset

olive sable
#

ahhh

#

but ye so 1.1TB is normal?

#

cuz it sounds expensive to train on my 3090

scarlet arch
#

I'm honestly surprised it's not more

opaque sigil
#

idk you'd have to ask shadow or someone else

olive sable
#

im watching shadow play balatro in vc rn so i dont want to bother him with llm stuff

#

btw, what about hard drive sepped being an issue?

#

cuz for 1.1TB ill have to spread it over multiple drives, including a hard drive

olive sable
#

nope

#

this time its on discord side

#

works in browser

scarlet arch
opaque sigil
#

ideally it should just load whatever it needs so i guess if your drive is so slow that it becomes a bottleneck that could be an issue

olive sable
scarlet arch
#

and it's not from tenor

opaque sigil
#

would depend on how fast it can actually process data idk

scarlet arch
#

IT LOADED

#

hahaha

#

so I'm gonna assume discord is routing it

#

which means discords server is down. which explains the previous error with Clyde

olive sable
#

installed crystaldisk info to check

#

but its in russian or something

scarlet arch
opaque sigil
olive sable
#

its slovakian apparently

#

i would say close enough but idk if i should

#

this is the hard drive stats

maiden geyser
opaque sigil
#

that is indeed a hard drive mhm

olive sable
loud thicket
#

avoid twitch API at all cost

scarlet arch
#

one of my oldest drives power on hours :D

loud thicket
#

almost at 50k

desert hawk
olive sable
#

how shoudl i know?

desert hawk
#

Itโ€™s in the sw name

#

Thought youโ€™d know since u installed it

maiden geyser
opaque sigil
#

she's a mascot

#
Crystal Dew World [en]

In celebration of Crystal Dew Worldโ€™s 25th anniversary, we are pleased to welcome a new supporting character, Suisho Aoi! Profile Name Suisho Aoi Relationship Cousin Shizuku Suisho (17 years old) Age 18 years old (high school student) More details to comeโ€ฆ Credit Character Design nijihashi sol...

olive sable
#
Then, the fragmentโ€™s position is transformed into world space, using the camera inverse
modelview matrix Mc-1 (which need not be a full inverse โ€“ the top 3x3 portion could be
transposed only if scaling is not used).

optimizations neuroHypers

#

altho idk if it will actually be faster cuz python

amber fractal
#

Classic python

molten island
#

i hate cabal

opaque sigil
#
VideoCardz.com

Arc B770 coming? Intel says to stay tunedย  Intel is cooking for Computex 2025 and there are now several rumored products to be announced next week. So a quick recap: Intel has confirmed there will be an Arc PRO announcement at Computex 2025. As we previously revealed, this announcement specifically concerns the Arc PRO A60 [โ€ฆ]

olive sable
#

inverse uses a C function via numpy

#

transposing is also a C function, but doing only the top left uses list slicing

opaque sigil
#

i guess depending on how much vram they give and the performance i might end up saying goodbye to my 5070 ti

#

though ig realistically it'll be significantly slower so unless they add a ton of vram

olive sable
#

B770 64GB variant when?

amber fractal
#

I'd be yoinking that so fast if it was real

olive sable
#

the , None needs to be there or it wont work, apparently

#

python weird quircks

opaque sigil
#

that reminds me of a blog post i came across yesterday

amber fractal
olive sable
#

"If you could use loops, this would be easy:

y = np.empty_like(x)
for i in range(100):
    y[i,:] = np.linalg.solve(A[i,:,:], x[i,:])

But you canโ€™t use loops."

#

yes you can

#

nobody is gonna stop you

opaque sigil
#

the python police will stop you

#

they will lynch you

#

PEP for removing loops when

olive sable
amber fractal
opaque sigil
#

oh you're right

#

this website is kinda fucked up

amber fractal
#

Vibe coded smh

opaque sigil
#

i didn't notice cause i just used my trusty rss reader

olive sable
#

"I donโ€™t love NumPy broadcasting" ok? good for you?

opaque sigil
#

a fellow broadcasting hater Gladge

olive sable
#

its fine for most things. for vector and matrix multiplication jsut use @ and you wont have problems

#

to me * should be element-wise, and @ is matmul

opaque sigil
#

vector and matrix multiplication has never been the issue

#

when you have a handful of dimensions and suddenly you're broadcasting across 2 of them it gets really confusing neuro7

#

but i also suck so

amber fractal
#

Yeah I can vouch for that

olive sable
opaque sigil
#

i'm complaining more about pytorch than numpy tbf

olive sable
#

ah, i don use pytorch so

opaque sigil
#

they both share the same broadcasting semantics for the most part

#

it's pretty easy to end up with high dimensional tensors in pytorch

olive sable
opaque sigil
#

think of a simple rgb image for example
you'd have 4 dimensions, one for each channel + one for the batch

olive sable
#

ahhhh

#

interesting

#

checks out

#

rgba 4 dimensions? or just rgb?

opaque sigil
#

just rgb

#
  • one dimension for handling multiple images at once
olive sable
#

oh i mixed the sentence up in my head

#

you meant: you'd have 4 dimensions, [one for each channel + one for the batch]
i read it as: [you'd have 4 dimensions, one for each channel] + one for the batch

opaque sigil
olive sable
tender river
olive sable
#

ye, which is why i asked

#

as ive been spending a lot of time in shadercode, rgb is a vec4 in my head

#

this function is using 25% of execution time bwaadow

#

the np.linalg.inv(view @ proj) is especialy heavy there

tender river
#

i recently had to refactor some rust to not use arenas so i can use it with some other code that relies on static lifetimes due to concurrency, literally 1984

opaque sigil
tender river
#

true

opaque sigil
#

should be able to do something like

cornerX, cornerY, cornerZ = viewcorners.T
#

less garbage is always good

olive sable
#

Its indeed transposable

tender river
opaque sigil
tender river
#

memory and processing

#

an array pass is expensive when done often

opaque sigil
#

i wonder if the python interpreter is smart enough to reuse the arrays allocations (unless their size changes idk)

olive sable
prime ridge
#

numba is amazing

olive sable
#

That isn't the issue

tender river
#

also note that theres numpy.amax/amin

#

idk if it would be usable here

olive sable
opaque sigil
#

when in doubt you can also just try seeing if it runs under pypy

amber fractal
opaque sigil
#

i know they've been working on getting support for more libraries over the years

loud thicket
tender river
#

what why would you need chatgpt for that

#

just answer from memory

#

"I'm ChatGPT, a language model developed by OpenAI. Let me know if I can help!"

prime ridge
tender river
#

sometimes

prime ridge
#

last time he sent a messege here was 16 days ago

#

sometimes with 4 months of a dry spell ๐Ÿ˜ญ

#

he has sent less messeges here than me...

#

and I only started chatting here a few days ago

tender river
#

he's sent less messages in the entire server than me

#

i think

prime ridge
#

but u been here for a while

#

I basically just joined

#

ig bro is a bit busy

opaque sigil
#

@olive sable do you have an example i could try getting to run via pypy btw

#

i'm actually curious

#

since pygame and pygbag both seem to build just fine

olive sable
#

My GitHub is not up to date, but it does have a week or 2 old version

paper nova
opaque sigil
#

let's seeee

olive sable
#

The rest of it is game assets and such

prime ridge
#

damn u don't many public repos

#

dropped a follow tho

olive sable
#

Ye, it's the only repo I've made so far

olive sable
paper nova
#

Will have take look when I get home

opaque sigil
#

it doesn't seem to like opencv

#

do you actually need python 3.12

amber fractal
opaque sigil
#

idk what kind of performance i'm supposed to be expecting menherathonk

#

it's ~60-70 in librewolf and 140-150 in chrome

#

with a 5070 ti

#

though ig good news is that pypy does seem to run

olive sable
#

Just running locally by running the file normally is max gpu

opaque sigil
#

i guess it just doesn't reach high enough then

#

i do have a 240hz monitor

olive sable
#

That could be it ye

#

I do get 70fps on both Intel igpu on laptop, and this snapdragon 870

opaque sigil
#

it keeps crashing though i'm also trying to run it under wsl

#

time to try windows ig

#

funnily enough pygame doesn't seem to care too much when i tell it to target 3.12 but running it via 3.10 (pypy)

olive sable
#

ye i am doing 3.13 myself

amber fractal
#

I did manage to get it running linux native

#

also 3.13

olive sable
#

the one for python -m pygbag --PYBUILD 3.12 --ume_block 0 --template noctx.tmpl . is mainly for getting the right python interpretor in browser

prime ridge
#

You should publish some more code

olive sable
#

this is all the code i have

prime ridge
#

I mean like projects

#

like make some more projects

#

u def got the talent for it

olive sable
#

i already have my hands full with school and this one

#

im doing bachelor independant game production in a few months

opaque sigil
#

i love it when msvc comes in and ruins all the fun

prime ridge
#

oh ur an undergrad?

olive sable
#

im still in hs

prime ridge
#

oh same

opaque sigil
#

imagine

olive sable
prime ridge
#

so ur engine is a pygame improvement?

#

I didn't comb through all the code I just looked at the website

olive sable
#

not really, pygame is just the window

prime ridge
#

oh I see

olive sable
#

its just opengl

prime ridge
#

writing opengl kernels ๐Ÿ˜

olive sable
#

kernels?

#

nah, i just call it

opaque sigil
#

shaders

prime ridge
#

shaders

olive sable
#

ah

prime ridge
#

shaders are opengl kernels thooo

olive sable
#

ye i do write shaders

prime ridge
#

but idk I don't do any rendering shit thank god

opaque sigil
#

i don't think opengl and kernels have anything to do with each other

#

they're completely separate things

#

i mean sure, compute shaders can act as kernels

prime ridge
#

Diff name

#

basically same thing

#

a cuda kernel ~= Opengl shader

opaque sigil
#

cuda kernels give you far more control

#

but i guess yeah they both run stuff on the gpu

prime ridge
#

I just mean "code that runs on gpu"

#

which is fucky

opaque sigil
prime ridge
#

Honestly my fav type of programming might be 6502

#

It's honestly a pretty good language

#

it's pretty fun too

#

programs these days don't have fun solutions to anything

opaque sigil
#

..\numpy_core\meson.build:175:4: ERROR: Problem encountered: "complex.h" header does not include complex type complex float
thanks for being too lazy to update your parser microsoft

#

(for context)

prime ridge
#

99 ๐Ÿ˜‚

olive sable
# tender river idk if it would be usable here

it was usable

cornerX = [*viewcorners[:, 0]]
cornerY = [*viewcorners[:, 1]]
cornerZ = [*viewcorners[:, 2]]

minX = min(cornerX)
maxX = max(cornerX)
minY = min(cornerY)
maxY = max(cornerY)
minZ = min(cornerZ)
maxZ = max(cornerZ)

is now

minX, minY, minZ = np.amin(viewcorners, axis= 0)[0:3]
maxX, maxY, maxZ = np.amax(viewcorners, axis= 0)[0:3]
#

huge

prime ridge
amber fractal
olive sable
#

what i find very weird is how i get as lot more performance when zoomed out, eventho im rendering more.
i will relook at my LOD code

opaque sigil
olive sable
#

in the meantime im gitpushing this

#

i like how the first time i test the compiled version it always takes 3 min to load EvilDIESOFCRINGE

#

i forgot to add --git to the command arg for compiling

#

without that one cv2 dont work

#

its been a week or 2 since i tested compiling, i got Could not create EGL context (context attributes are not supported) now

prime ridge
#

Week or 2

opaque sigil
#

it failed now because of avx512

#

why do you detect half of avx512 as supported on zen3

#

can you like

#

not

olive sable
#

cant use 3.3 either, needs to be 3.0

#

but renderdoc only works on 3.3+...

#

high quality cde neurOMEGALUL

#

array indexes for fragment outputs must be constant integral expressions motherfucker

#

so many rules

simple mural
#

Random question: I'm looking to buy a new 27 inch monitor that's at least 1440p, problem is that I can't decide between an IPS or an OLED. Since I game and do programming I would think likely an IPS would be better despite the lower quality since I've heard that OLEDs are terrible for productivity and struggle with burn in but I was curious what other people were using.

olive sable
#

recent models are pretty decent in terms of burn in

#

i would say: productivity -> ips, entertainment -> oled

simple mural
#

Coding can be a form of entertainment

olive sable
simple mural
#

Debugging code is not entertaining lol

#

Or finding that the library you've been using isn't supported by anyone anymore and you have to completely change your code

tender river
#

depending on what you mean by "entertainment" that is

simple mural
#

Well, ideally you will but in the moment...MokouCringe

olive sable
tender river
#

like analyzing memory safety issues eventually lead to rust

olive sable
#

its finally compiling to web again neuroHypers

#

what was the reason im doing this again?

olive sable
#

im bedge

#

gn

final tinsel
#

gn

amber fractal
#

gn

final tinsel
#

q4_k_m goated

#

perfect balance of speed and like responsiveness

#

and quality

#

every time

#

i end up doing this

final tinsel
#

Qwen3 why must you process each line individually

fast pagoda
#

go on requesty

#

click on prompt library out of curiosity

#

oh shit y'all bear grylls AI v2 is out

amber fractal
fast pagoda
#

ive got 272 tests in this LMAO

low flame
#

Hi!

idle fractal
#

so quick question,
If I wanted to get into game development how much math and computer science would I need to understand to actually make a good game

tender river
#

cs isnt really needed

#

its good to know good software engineering practices and sometimes DSA i guess

#

if you look at many games' code it's really bad

#

the important thing is a good concept and persistence

#

of course the simpler the concept is to execute the better

tender river
idle fractal
#

I have a little bit of artistic prowess, and I have a good friend of mine thats obsessed with making music beats. So I think Id be pretty good in that regard as long as I give him a cut of money for a bit of my soundtrack. Just need to do a bit of studying in code

#

thanks for all the tips bhy

hoary lion
#

oh

#

i got nitro testing

#

interesting

amber fractal
#

Doing some python frickery with a funny side project. This would be normal code if it wasn't static.

sullen marsh
#

gradio is goat

stark needle
#

nreuo

stark needle
ruby timber
#

nrewo

safe path
#

good morb mhm

stark needle
#

i find it weird how

#

learning to draw improves my drawing with mouse in ms paint skills

maiden geyser
#

does playing osu improve your drawing

ruby timber
#

I wish

stark needle
#

she can sketch pretty stuff but idk if thats just from drawing otherwise or her gigabrain figuring out the wacom tablet

#

at least hand eye coordination must increase

tender river
#

i'm an osu! beginner (close to top 200k) and i still cant draw straight lines, but it should at least build the muscles and tendon strength you need for drawing

safe path
#

i was 5 digits at some point, i cannot draw LULE

noble zodiac
#

just use a ruler 4head

safe path
#

my handwriting is atrocious as well

stark needle
safe path
#

penmanship is an ancient concept, we should type everything instead

noble zodiac
#

I'm a big fan of writing on paper

stark needle
#

writing on paper > writing on pc when u need to concentrate

tender river
#

too bad writing on pc is faster

stark needle
#

otherwise when u need high throughput writing pc is better

safe path
#

i have a epaper tablet i use for writing when i need to

#

it's useful when exploring math

stark needle
tender river
#

the uuh resomething?

safe path
#

but outside of that it's raaaaaaaaaaaaaaaaaaaaaa

noble zodiac
#

I always felt weird about this whole X is faster to type. Especially when talking about mechanical keyboards. How often is your brain faster than your fingers really

stark needle
#

remarkable

tender river
#

yeah that

safe path
#

ceramic nibs, never dies

#

i never need to replace the pen

ruby timber
stark needle
#

my stepmom has the remarkable pro i find it kinda a waste tho since she already owns 3 12.7 inch ipad pros

safe path
#

3 holy

stark needle
tender river
#

because i'm looking for something to write conspects in because it doesnt feel good to sit at my pc while ereading a book just so i can conspect it

noble zodiac
#

I'm on the other end and make my own notebooks instead dittoface

stark needle
#

she earns multiples more than my dad lol

safe path
#

eink tablets are cool because it's not a light emitting display

#

like

stark needle
#

good for reading on beach

safe path
#

it looks like paper, so it doesn't destroy my attention span

stark needle
#

also battery lasts 300 years

safe path
#

not on a writing tablet LULE

stark needle
#

not?

#

bruh

safe path
#

but about a week or so mhm

tender river
nocturne olive
safe path
#

writers don't really

cobalt sigil
#

so I'd rather use paper lol

safe path
tender river
#

thats all i really need

stark needle
#

remarkable propagandaSCHIZO

tender river
#

might buy it if i have spare cash

noble zodiac
#

the world we could live in if the patent holder of eink wasnt a dick

tender river
stark needle
#

whos the patent holder

#

i dont mind product ads on google but the sponsored stuff is a bit annoying

#

since sometimes it has what i need

tender river
#

okay supernotes cost $1k here neuroDeadge

#

might have to find a chinese alternative

noble zodiac
safe path
#

how is it so expensive MONKA

tender river
tender river
cobalt sigil
#

apple and Samsung sponsoring the same thing neuroNOWAYING are they finally frds now

#

(i think it's scam btw

noble zodiac
#

what I really need is ocr for greggs but somehow no one ever bothered to do that

safe path
#

you do it xdx

cobalt sigil
#

vedal can help lol

noble zodiac
#

I have like 5 dozen half done projects, I'm good

safe path
#

but have you considered

#

greggs ocr

noble zodiac
#

I'm sure the two dozen ppl who can write gregg would be ecstatic

tender river
#

but

maiden geyser
#

why do you remove embeds?

tender river
#

i dont like taking up vertical space

#

i leave them when they're small

noble zodiac
#

A bunch of the kobo ereader have note taking features and a pen

tender river
#

i have a kobo but its display has a bad response time

#

my biggest complaint though is armv7 rather than arm64

noble zodiac
#

sadly I'm stuck in the kindle ecosystem which I hate but eh

tender river
#

i had a jailbroken pw2 back in the day

stark needle
#

back to working on the balatro bot todaySCHIZO

tender river
#

heard they are much higher to jailbreak these days

noble zodiac
#

I can't be bothered tbh. its not like I would really get anything out of it anyway

tender river
#

koreader

noble zodiac
#

ok but what for

tender river
#

for not having to convert everything to mobi/azw

#

also it has plugins and cloud sync and stuff

noble zodiac
#

I only read books on it ๐Ÿคท

tender river
#

i mean, i also only read books on my ereader? i dont get your point

noble zodiac
#

I have nothing to convert. I buy novells and they are there

tender river
#

yeah in that case theres no point i guess

noble zodiac
#

due to amazons predetory practices often times its the only source I could even get some novels from

tender river
#

i get that, i wanted to read a manga in japanese back in 2016 and i had to go through a lot of hoops to buy it from amazon.co.jp and then got banned right after buying it

noble zodiac
#

dont get me started. Its the year of our lord 2025 and the concept that someone might be able to speak more than one language, got forbid one of them isnt english, is still a foreign concept

#

Using the web based kindle reader is the only thing that works

tender river
#

yes but like every pine64 product it's basically "you're on your own, go fight it out"

stark needle
#

this is what i gotta work withSCHIZO

scarlet arch
midnight sigil
#

POC of cross communication of strings(arrays) between objects using geometry nodes

ruby timber
midnight sigil
tender river
#

neuroPogHD i'll keep at it then

safe path
#

pogs straight lines

tender river
midnight sigil
#

this is the cursor trail when I want to do a jump

maiden geyser
#

bro doesn't have an optimal cursor path

tender river
#

super expensive tho

#

actually wait

#

i can just use a bluetooth keyboard on my ereader maybe?

midnight sigil
tender river
#

ok it doesnt have bt but i can build a wifi keyboard

molten island
#

really strange thing happens after learning / diving into functional langs
my fucking head works different

tender river
#

good

#

languages should teach you new things

midnight sigil
#

I think recreating the curve I drew with only two control points is possible

#

idk why I think of that

tender river
molten island
tender river
molten island
#

but

#

ty

midnight sigil
molten island
amber fractal
#

html doesn't deserve to be on the list (Nor does js)

midnight sigil
#

me mouse player

tender river
stark needle
#

google started censoring gemini's reasoning

#

lol

tender river
#

companies love stealing data but hate data being stolen from them

prime plaza
#

ethical AI is a myth at this point

#

at least among huge corporations

ruby timber
sick owl
#

Imo training on anonymised scraped data is way less evil than what, say, Facebook have do with people's info

stark needle
#

setting up the action space for balatro is a mega pain

#

theres so many actions

#

and i need to make so many masks

prime plaza
noble zodiac
#

When it comes to south africa .... dittoface

tender river
tender river
#

(no AI can even manage these actions, i hope to get around to simplifying it at some point)

#

in my experience sending context is much harder than actions though

stark needle
#

in my case

#

i'm working without LLMs

#

soSCHIZO

tender river
#

thats the only way to go if you want good results in non-narrative-driven games anyway

tight tinsel
#

sick again smh of course its a weekend

stark needle
#

the cards are represented as the cartesian product of 8x53 spacesneuroDeadge

#

no idea how to represent otherwise

#

i will figure it outNeuroClueless

olive sable
#

Goodmorning!

#

I will not be gome today cuzofa baby shower from people i dont know bwaadow

noble zodiac
#

dont forget your umbrellla

amber fractal
stark needle
stark needle
#

it's handled to be permutation invariant cause it doesnt matter in what order the cards are

#

and one hot encoded so it can be any

amber fractal
stark needle
#

is that a thing

amber fractal
#

Bold of you to assume only 5 slots exist

amber fractal
stark needle
#

dont be like suriel trying to troll me into random shit pls๐Ÿ˜ญ

#

i see 5

#

i will use 5

#

if theres more

#

then skill issue

amber fractal
#

skill issue for you

stark needle
#

isnt that for items

amber fractal
#

Game spoilers: ||Also a hidden perk does this||

stark needle
#

no clue

#

i will let the RL agent work around it

amber fractal
#

I forget the max hand size that is possible. Balatro is definitely a game meant to be broken.

amber fractal
stark needle
#

i will not make it ivisble then

#

so ez

#

idc about all easter eggs and shit possible as long as the ai can play balatro somewhat

amber fractal
#

These aren't easter eggs

#

it's just as part of the game

stark needle
#

it will figure it outglueless

midnight sigil
olive sable
tender river
#

i sometimes forget not everything is about programming

#

just googled "timestamped tombstones"

midnight sigil
#

yea I got the apache cassandra docs too

tender river
#

decks can be safely ignored but negative is harder to ignore

stark needle
#

i guess i need to add n extra dimensions yippee

tender river
#

technically you can build arbitrarily large decks and joker stacks

#

but for the purpose of beating the game something like 50-100% buffer should statistically cover nearly every playthrough

tender river
#

theres 1 voucher per ante you can buy

#

(unless you reroll the shop of course)

stark needle
#

this game will have a mega ton of embeddings

tender river
#

note that you can beat the game with many restrictions (like not using jokers at all)

#

so dont worry about it too much

stark needle
#

since i have almost no idea what im doing

tender river
#

fair

#

its probably worth investing at least like 5-10 hours into just playing the game to understand it better

#

also probably download a 100% save with all unlocks so the gameplay stays consistent

stark needle
#

true

tender river
#

or wait is there a button that unlocks everything but disables achievements

#

i remember something like that

stark needle
#

that is alr enabled in the mod

#

it said somewhere

tender river
#

ah good

stark needle
#

why is there among us in the game files

scarlet arch
#

What? heh

opaque sigil
#

There's an among us deck

tender river
#

hello clippy, HOW is this a complex type please explain in great detail

sullen marsh
tender river
#

i'm starting to suspect humans need food to survive

stark needle
#

18900 card combinations in total per playing card

scarlet arch
tender river
#

if they made AI play starcraft surely this is doable

tight tinsel
# sullen marsh

ive seen the end to this story before, same messaging ui and everything...

stark needle
tender river
#

should be light work for an ex googler NeuroClueless

stark needle
noble zodiac
#

but can the ai pull off an idra rage quit

tender river
#

it probably can if you give an LLM high-level control of it

stark needle
#

To be fair

#

LLM has ~4e-6^(seq_len) odds of generating any specific sequence

#

With a tokenizer of 256000