#programming

1 messages · Page 63 of 1

opaque sigil
#

idk knowing c++ you can probably overload switch

tender river
#

lol doubt that

opaque sigil
#

okay yeah it has to be an integer type

tender river
#

will drawModel be a function on makeModel????

opaque sigil
#

i feel like what you want is a Model class with a constructor and a draw method or sth

dry charm
#

That is one of the selling points yes

#

but in the case of ROCm, you are looking ahead for multi day rebuilding

tender river
#

anyway, class names should be nouns, make is a verb so it should be a function

dry charm
#

if you have a cachex where you can push the build, you can just build it remotely and use it

#

but I did not setup a personal cachex yet

nocturne olive
#

16GB version?

dry charm
#

yeee

#

ASROCK

nocturne olive
#

I'm gonna have a 3090 soon

dry charm
#

compared a lot of cards and this was the one I chose

nocturne olive
dry charm
#

still works iwht a single 8pin, have eno... who am I kidding. I was drunk and it was high number but lower cost than other options

#

happy with it aside from the morning pain of figuring out that I needed bios update and manual linux-firmware build

#

the BIOS itself was freezing every 5-7 seconds and beeping SMILE

rough bloom
# dry charm but I did not setup a personal cachex yet

even Cachix wouldn't really help, they just store the build artfacts, you still have to build it yourself buh
maybe in combination with nixbuild or a powerful VM or two, but have fun finding one that can build ROCm in a reasonable amount of time kek

dry charm
#

I mean I need to build it once until new releases

#

so I can allow it to build for 2-3 days

#

the bad part is I cannot use my PC until then lol

rough bloom
#

yeah, that works
though you don't really need Cachix for that, can just keep it in the local nix store

olive sable
olive sable
olive sable
#

Anyways im going to a festival now

#

Bye

opaque sigil
sage crag
#

ora

dry charm
#

i love nixos

#

why is it so fucking hard creating a modular system where each .nix file is loaded into a property

olive sable
nocturne olive
#

Silly

rare jewel
olive sable
#

Belgium

#

Its 9.30pm rn

rare jewel
#

9 28 here

olive sable
#

Sun us actually setting, just camera exposure

rare jewel
#

and its pitch black

olive sable
#

Its just the exposure

stark needle
#

Hii

olive sable
#

Hi neuroWaveA

stark needle
uneven pulsar
rare jewel
#

oooh

olive sable
uneven pulsar
olive sable
#

Sound test rn, were getting drinks

uneven pulsar
#

i was playing ultrakill like after 100 tries of beating gab on brutal mode😭

olive sable
rare jewel
#

enjoy ur drinks

uneven pulsar
#

i wanna be in the beach relaxing😭

#

not playing ultrakill out of boredom😭

#

@olive sable i want you to cherish that moment and enjoy it whit the fullest

#

enjoy it to the best and have a great time

rare jewel
#

i put a trojan into the trash and it worked

#

pc

tender river
#

anyway i can help with that error if you send code

dry charm
#

i want to configure nixvim in folders so I can just create a nix file with the plugin name

#

I threw it out so I cannot send it sadly

opaque sigil
tender river
# dry charm I threw it out so I cannot send it sadly

something like

{
    imports =
      map
        (f: args: {
          plugins.nixvim.${lib.removePrefix ".nix" f} = lib.applyModuleArgsIfFunction (toString ./plugins/${f}) (import ./plugins/${f}) args;
        })
        (lib.attrNames (builtins.readDir ./plugins));
}
#

but its easier to just export plugins.nixvim.{pluginName} in the files themselves

dry charm
#

Yeah that is what I'm during currently

#

that is why I thrown the towel in and just define everything manually now

tender river
#

its like 20 characters per file and allows plugin config to configure stuff in other plugins or in nvim itself, worth it imo

dry charm
tender river
#

you can use builtins.readDir for importing everything in a directory

dry charm
#

and nvim can easily have 50 config options

tender river
#

i dont understand what you mean but whatever

dry charm
#

i mean if I keep the nvim config in a single file, it'll be longer than 2k lines

stark needle
tender river
#

i'm saying that having to prefix each plugin config file with plugins.nixvim.pluginName = ... isn't a big deal

#

i don't understand how what you're saying relates to that

#

interestingly my nvim config is only 568 lines long (if we ignore notlua which is 1.5k lines of nix code)

dry charm
#

Oh that, that was just my irk that I did not want to do

#

just my stupidity wants to only declare nvim-tree = {

#

or not even that, just have the file contain the actual plugin config

dry charm
tender river
opaque sigil
#

why overcomplicate it when there's a simple solution neuroPogHD

tender river
#

simple AND more flexible

opaque sigil
#

Mhm

rigid snow
#

this isn't the simplest solution

#

the simplest solution is to throw out the pc and move to a farm

noble zodiac
#

that is the ultimate goal

dry charm
#

also I should configure vim the default way and then migrate to nix lol

tender river
#

better yet

#

configure emacs the default way and dont migrate to nix neuroPogHD

spice raven
#

question i know i might be clueless but how difficult would it be to make a card game like magic as a beginner in coding. what would i need to learn ?

tender river
#

anyway, depends on how fancy you want the graphics to be

spice raven
#

it does but i wanted to make like a card game based on the neuro verse that would play like mtg or yugioh

#

i just wanted to make something simple like 2d art nothing to much art detailed

tender river
#

card games are probably the simplest to make programming wise but obviously they're harder to balance and make "feel" good

spice raven
#

right now i am learning python but i was wondering if another languge would be better for it

tender river
#

i mean, python can work, unity or godot would probably be easier to work with

opaque wharf
#

Do you want the card to have a fancy graphic?

#

Also Toast, has your issue about the superglue resolved yet? You could try Nitromethane or Acetone. Both are Cyanoacrylate solvent and should soften it

opaque wharf
sage crag
#

hblang compiler now has dead code elimination

#

meaning that the hashmap benchmark is only 3979 bytes

past crane
#

sup

olive sable
#

hi

#

im back home neuroHypers

ruby timber
opaque wharf
sage crag
#

int main() {

#

}

opaque wharf
olive sable
#

some guy puked on my pants so im taking a sjower

#

it was 99% beer so im not havign a total meltdown over it, but i still dont like it

olive sable
#

i also got superbox's 500 in cash now

#

i can make a money fan now

#

just need to go on the train for 12 hours tomorrow now

tender river
#

it looks like the company might be huawei

#

(with the langdev job)

wary rover
#

Cut down the number of compiler errors to just 6. Fishies shall work soonrizzdal

sage crag
tender river
#

nyaaa

olive sable
#

that was already how it worked

wary rover
#

Random question: for how long have you been coding/studying computer science guys

sour harness
#

Oh god I'm old

tender river
#

erm for like 9-10 years

wary rover
#

I mean, such an experience is something to be proud off

amber fractal
#

I've been doing coding for about I want to say 12ish years as a hobby

#

So that's over half my life

rare bramble
#

Need pc to do computations over night but you have blinding RGB? Solution:

gritty dust
#

what do you guys think of this differential for the rover im designing in cad?

amber fractal
wary rover
#

You can also close your eyes3Head

rare bramble
olive sable
# rare bramble

ah yes, the old xbox360/ps3 gpu fix, AKA the heatbox or arsonstation

amber fractal
wary rover
gritty dust
warped narwhal
wary rover
# gritty dust its litterly 100kg/cm and 200rpm so no where near the max load

Then it doesn't really matter. Transmissions are not really my specialty, but most of the differentials I saw in textbooks were using spiral hypoid gears, for smoothness of the transmition and more even distribution of force, but the subject of my education is commercial vessels where the engine is the size of an average house and axles can be half a meter thick

opaque wharf
#

Aluminum is another story tho

olive sable
#

9.81?

#

ye i think so

#

wait nah

#

thats only with gravity

#

???

#

ye idk

wary rover
#

Allowable stress for a part made from ASTM A485 hardened steel is up to 30000 kgf/cm² NeuroClueless

#

I assume he meant kgf/cm²

opaque wharf
wary rover
#

Hahhahaaha, good question

opaque wharf
#

Yeah, I'm just throwing my punch here because I have no real alternative for now lol

tender river
#

ok there are some options

#

i think bricscad is available

opaque wharf
tender river
#

but there arent good free options

opaque wharf
#

I just don't have the money for now lol

#

Coming from a country where the yearly wage ~12000 USD is considered high

wary rover
#

You see, we are forced to learn to design stuff in the software that was made here, in Russia. Therefore everything I ever touched in terms of software is Kompas-3D

#

Or КОМПАС-3D without transliteration

tender river
#

we had it installed on our uni pcs but i never used it

sour harness
#

Looks like the next vllm release will finally support Blackwell out of the box \o/

opaque wharf
#

Honestly, I wish CAD and art program is not monopolized so much

wary rover
#

I am not smart enough to go out of my way and disregard all the education that I am getting just to prove a point

#

Especially since I didn't have a computer for the most of my life and now everything tech-related is a herculean task for me

olive sable
#

aight the code is compiling, i just cant see it

#

time to get out renderdoc

#

motherfucker

opaque wharf
olive sable
#

i dont actually drink that much

#

mostly had coke

desert wave
#

the Vedal Peak is at about 0.4 vedalRum

olive sable
#

cant be hungover on the train for 12 hours

#

i would die

wary rover
#

Vedal is doing a job of like 20 people now, so it is expected that his proficiency at 1 out of 20 jobs might drop a bit

olive sable
#

he does have a whole team

#

its not like he is oding this alone

#

ved has about 30 employees iirc?

#

???

wary rover
#

I feel like his perfectionism wont let him completely delegate a job to someone else without being directly involved in the process and just check the results from time to time

olive sable
#

ye is very protective yes

opaque wharf
#

"Then you are my father"

#

"Happy fathers day Vedal" neurOMEGALUL

wary rover
#

Do people actually celebrate Mothers and Fathers day in other countries?

opaque wharf
#

Here its more family tradition thing so it depends on each family

#

The whole country itself is indifferent to it

wary rover
#

I feel like around 5% of people here know when those holidays are

#

We are too preoccupied with never ending religion related holidays to keep track of those

opaque wharf
#

Also to those that recommends me Kotlin Multiplatform, I ended up back to flutter. Android Studio doesn't like me

olive sable
#

we do

#

jsut a card or some good liquer

wary rover
#

Interesting

#

Time to kill creatures of hell in Ultrakill as I listen to Celldweller - Wish Upon A Blackstar album

lapis wraith
#

Gotta love computer math neurOMEGALUL

gritty dust
ruby timber
opaque wharf
olive sable
#

ye

#

it works in halfes iirc

lapis wraith
#

SMH I'll have to find another way

opaque wharf
wary rover
opaque wharf
#

So you can have value of int from 0-100

wary rover
#

How do i insult my computer in computer language

opaque wharf
#

Since you seems to need it a multiple of 0.01 anyway

olive sable
#

cuz bninary is in base 2 you work with halves
you can get 0.5, 0.25, 0.125, 0.0625, ....
so 0.07 would be like 0.0675 + 0.0078125 + ...., not exactly 0.07

#

same thing with 0.01

opaque wharf
olive sable
#

ye i tried

#

also im pretty sure my math is off

lapis wraith
desert wave
opaque wharf
#

Then you limit the range of the int from said base unit

tender river
#

but also make sure to use integer instead of number as the schema type

lapis wraith
olive sable
opaque wharf
#

Theoretically, what is the most optimal way to modularize unit converter?

#

Like, if I have unit distance, and wanted it to be able to convert from a distance unit to any other distance unit

#

Should each unit be its own class with tons of member functions?

desert wave
#

define "optimal", also what language

opaque wharf
#

Let's say rust

olive sable
#

eh idk
i myself would make the code run on meters and have some functions for converting for things liek the ui

lapis wraith
#

I'm... i'm gonna stick with this. Seems to work fine. Thank you.

opaque wharf
#

Optimal as in, the best practice to structure it so when I want to add new conversion it doesn't take much copy pasta

olive sable
#

idk if its better to have a ton of extra data per class instead of copypasta'ing

opaque wharf
desert wave
#

if you're converting between arbitrary units without massive code duplication, I think you'd pick one base unit (metre), and have everything have a conversion to and from that, then adding a new unit is only 2 methods

opaque wharf
#

So yeah, that's what makes me think about it. I do usually do internal representation with canonical unit if I need to do some math

olive sable
#

i agree with worm

opaque sigil
opaque wharf
#

So still the same approach huh

#

Yeah, that makes senses now that I think about it too

desert wave
#

in some languages (e.g. C#) you can define implicit conversions so you can hide it from the caller, as length_in_feet.toMetres().toMiles() looks somewhat odd

#

idk on rust though

opaque wharf
#

Because if not, I suggest change the schema type to integer

lapis wraith
opaque wharf
tender river
#

software design for flexibility (a book by gjs) has an entire chapter on units

opaque wharf
tender river
opaque wharf
lapis wraith
opaque sigil
opaque wharf
#

Or use the parseInt

tender river
lapis wraith
olive sable
# olive sable

looks like im properly loading the meshes, and the drawcalls work, just not going on screen apparently. cant wait to figure out why the fuck its doing this bwaadow

opaque wharf
#

Just my suggestion tho

opaque wharf
lapis wraith
bitter coral
#

Im still procrastinating as to how to have undo/redo in the art program, but in the meantime I added the paint bucket and line tool. I have no idea why but the paint bucket doesn't work on the color black which is weird but not really a big issue at the moment.

opaque wharf
#

Hmmm, I suppose the typo works fine

sick owl
#

Loving the rebrand Mistral ICANT

olive sable
#

nooo

#

oh well i dotn really care about that company

sick owl
#

They're my fave lab

unkempt citrus
#

MS word art logo

rocky stratus
#

coding is starting to hurt my brian

olive sable
rocky stratus
#

Legit question but has anyone here tried to make an ai like neuro sama here?

olive sable
#

kinda

#

there have been some low effort clones for shit and gigles, and some original projects

#

but no attempt to 1:1 recreate iirc

opaque wharf
#

Melba...

olive sable
rocky stratus
#

I kinda wanna create one to be my Fren

olive sable
#

i havent seen much talk about them here

opaque wharf
olive sable
#

i thought the question was specifically about one made here

#

cuz like, atorin and elvyn exists

#

lilac and paige do too

#

but those arent meant to do the exact same thing as neuro

tight tinsel
#

oh my what has happened to my internet its so slow i cant even google for the speed test

opaque wharf
tight tinsel
#

91 BYTES

#

absolutely wild

#

network bridge brought my 210mbps download speeds to 1mbps

olive sable
#

ok

#

thamks

#

so yes it from here if you mean neurocord, no if you mean #programming

olive sable
#

ok im done rewriting the entire gltf laoder

#

lemme see if it compiles to emscripten now

olive sable
#

correct

#

its including glew somewhere, which is bad

#

ye im including it correctly everywhere

#

maybe the makefile is fucked?

#

fixed okp

#

makefile was not fucked, but it did not help

#

nah, it was all fucked

#

ah, im getting a memeory overflow

gritty dust
#

gn lads

olive sable
#

gn neuroWaveA

opaque wharf
olive sable
#

-s ALLOW_MEMORY_GROWTH=1
im sure this will bring no issues NeuroClueless

opaque wharf
#

For WASM target?

olive sable
#

ye

opaque wharf
#

Ahh yes, WASM memory management is a nightmare from what I remember

olive sable
#

im also jsut loading every single file in the folder instead of what it needs

opaque wharf
#

At this point I think it's better off to create the engine in JS and distribute the desktop version as electron apps neuroTroll

ivory tiger
#

this is actually prolly a good place to ask. Im Doing a 3D unity game prototype, i was researching free / opensource was to convert low quality video data to unity compatible fbx animations cuz i want a way to make humanoid animations fast. I looked into rokoko / deepmotion and they look good but they need payment. Is there opensource alternatives for this kind of tech? (now that i think bout it its vtubing basically but the animaitons are in an fbx file / unity humanoid compatible format)

olive sable
ivory tiger
#

yes basically

#

i know mediapipe can do pose estimation but thats just realtime. im not well versed in animation like that so just curious about options,

opaque wharf
#

Yeah I think if the goal is pose estimation you may want to use OpenUSD format since it can be scripted

olive sable
#

i dont have much experience with that, i just animate myself.

ivory tiger
#

i get the process but it will need time to get quick at

#

so if there is a way i can figure out just do the stuff , record myself boom fbx generated automatically slap that in unity that will be huuuge

#

for the project im planning i will need to do custom character creation later on tho, i might find someone to help here long time later

opaque wharf
#

You said mediapipe, but have you look into it?

ivory tiger
#

but idk how to convert that into stored animations compatible with unity

opaque wharf
#

I don't know how FBX format works tbh. I just assume that it describes a bone to move and how it move relative to the joint

olive sable
#

idk either, i use gltf

opaque wharf
#

So you already got the hard part done, that is detecting the joint poisition

ivory tiger
#

apparently its owned by autodesk also

#

so idk whats up with that

opaque wharf
#

That is why I suggest using OpenUSD

#

Or yeah, gltf. But I don't know if gltf can store animation or not

olive sable
#

it can

ivory tiger
#

I think ill use rokoko

#

it seems it provides unlimited usages as long as the animation is 15 seconds long which is good enough for me

opaque wharf
#

Well, mocap is another matter entirely then

#

Because you can have more tracker than pose estimation

ivory tiger
#

yea sorry thats what i wanted to say

opaque wharf
ivory tiger
#

ye i saw that

#

but not in detail

#

i think i could output a blender scene format, then edit it there then export to unity

#

that flow could work ill try that out and rokoko

fast pagoda
#

hi friends

olive sable
#

it actually renders now on web, just 2 small issues

#

and no keyboard input

opaque wharf
#

Image renderer neuroHypers

#

Try to render this sam

olive sable
#

no

opaque wharf
#

But its not RTX Vedal

olive sable
#

its not much better

#

aight its workign now

fast pagoda
#

chatgpt finally understands this

#

agi is here

opaque wharf
#

Now try to ask ChatGPT to render it as photorealistic image

olive sable
#

im running out of low quality music

#

youtube doesnt have that many apparently

opaque wharf
olive sable
fast pagoda
opaque wharf
fast pagoda
#

gemini's take (on non realistic) is spooky

opaque wharf
#

Sam, you won't believe me

olive sable
#

almost 6k fps tho

#

its higher when im not recording

opaque wharf
#

P H Y S I C S

olive sable
#

ye ik ik

#

i need to port that over still

#

need to port a lot of things

opaque wharf
#

That is already further than what I could achieve tbh

amber fractal
#

Well I've known this project enough to know this is test scene the second

opaque wharf
amber fractal
olive sable
#

so ye and no.
its complicated

#

its more of an evolution

amber fractal
#

Wonder who did texture art for that one ReallyInnocent

olive sable
#

it started with a terrain shader, i added texturing to that and some basic water.
then i added the buildings, and the terrainshader had to go cuz of using webgl now

olive sable
amber fractal
#

I still need to set up payment as Sam still owes me payment

olive sable
#

what was it? 2 bucks?

amber fractal
#

2 euro yeah

olive sable
amber fractal
olive sable
#

oh come on

fast pagoda
#

you like what you see

olive sable
#

i ddnt think it was funny to begin with, and its still not funny now

#

so no

#

i dont like what i see

fast pagoda
#

dang that's rough man i'm sorry to hear that

opaque wharf
opaque wharf
fast pagoda
olive sable
fast pagoda
#

i don't

#

all i have is 3 bucks

olive sable
#

brother

#

3 is more than 2

#

where did you learn to count?

olive sable
#

Casually flexing what isnt mine

#

i nee dto get on the train in like 5 hours bwaadow

opaque wharf
fast pagoda
opaque wharf
fast pagoda
#

i like going to canadia and getting their money

olive sable
#

i do wonder why all these bills have some dudes signiture under the europa flag

#

Mario Draghi apparently

amber fractal
#

100%

#

Wish USAian dollers had cooler rings

olive sable
#

ye ngl, yalls money ugly

#

jsut some old guys on green paper

rigid snow
#

is it bad if i like usd bills

autumn ore
#

i made nuerosama rplace

#

who wants to test

olive sable
autumn ore
#

here i slink

#

im still woprking on it btw

amber fractal
#

I prefer quarters over bills, purely cause variety exists

#

sadge no 727,727 disco

autumn ore
#

i see yall drawing

amber fractal
#

I need to hop on pc because mobile ui is borked

#

@olive sable drawing :bwaadow:

olive sable
#

where?

opaque wharf
olive sable
#

damn

amber fractal
#

After ff stops having a stroke

olive sable
#

here 500 is just 1 bill

opaque wharf
#

Highest denomination that is not a novelty is 100k here

rigid snow
#

but our highest denomination is like $50

rigid snow
#

trust me it's as legal and fine as it gets

opaque wharf
#

Oh damn, it's even lower

#

6-7 USD apparently neurOMEGALUL

rigid snow
#

it's probably very convenient for you to measure llm pricing

#

per token

opaque wharf
#

The smallest still circulating denomination is 100 coin. So yeah

rigid snow
rigid snow
opaque wharf
rigid snow
#

so you have 2 decimal places in banking

opaque wharf
#

Yes

#

Which is why the l10n for IDR usually Rp #.###,##-

#

Or the dot and comma switched for truly local use

olive sable
#

bwaa bwaa bwaa bwaa bwaa

amber fractal
#

bwaa bwaa bwaa

olive sable
autumn ore
olive sable
#

its my budy ol pal shadowlilac

autumn ore
#

canvas so far

olive sable
#

ignore top right xdx

autumn ore
#

yeahg im guessing that was you

#

anyways i added all this

olive sable
fast pagoda
autumn ore
#

THE'RE EXPANDING

olive sable
amber fractal
#

FLAG ALERT

opaque wharf
autumn ore
#

btw this saves

olive sable
#

the belgian are invading! hide your chocolate

opaque wharf
#

And shuffled too

olive sable
#

its jsut thew belgian fglag bruv

rigid snow
#

also yes holy hyperinflation neuroMonkaOMEGA

opaque wharf
opaque wharf
amber fractal
olive sable
#

noboy likes the usa

#

not even the usa

amber fractal
#

stole the words out of my mouth

amber fractal
#

@autumn ore Can we not have the currently selected pixel set to none once you get a response from the backend?

autumn ore
amber fractal
#

I'm placing pixels too fast and my position keeps getting wiped because of server delay

autumn ore
#

fixing that now

#

should be good in like 2 minutes

tight tinsel
#

bwaa on the canvas

autumn ore
#

upadte pushed, sould be out in like 30 secs

amber fractal
olive sable
#

i have it i think

autumn ore
#

i added mobile support too

#

update out

olive sable
#

it wasnt before? i was using mobile

opaque wharf
#

Me zooming in on the canvas: "Firefox has stopped responding"

autumn ore
#

oh crap

amber fractal
#

I'm grabbing this on OBS

autumn ore
#

i made bug

#

forgot to comment out aline

#

bout 10 secs

#

5

#

4

#

3

#

2

#

1

#

done

amber fractal
autumn ore
#

what is goin on

olive sable
#

firefox

autumn ore
rigid snow
#

maybe you should stop rendering the grid at a point

amber fractal
rigid snow
#

when zoomed far enough out

opaque wharf
#

Mmmmm, yummy slideshow. Yeah what mlnt said

olive sable
#

ff perf is still bad for me

#

idk

opaque wharf
#

Implement some Level of detail stuff

autumn ore
#

im asking chatgpt for help

opaque wharf
#

Also, which one of you here suggested rendering a table cell in HTML as a pixel?

amber fractal
#

Nope

olive sable
#

installing an intel app on my amd pc for c++ profiling KEKW

opaque wharf
# autumn ore its a canvas

I know. But I remember someone here made a suggestion to render something on the web using HTML table cell

olive sable
#

ye

autumn ore
#

fixing the canvas rn

#

should be iu sec

amber fractal
#

Me when zooming in and out of canvas

autumn ore
#

dang

olive sable
#

ye my gpu is jumping to like 5% when zooming

autumn ore
#

toi like 5 percent is crazy

opaque wharf
olive sable
#

oh ye

#

i forgot about the rng

rigid snow
opaque wharf
rigid snow
amber fractal
#

ohhhhhhhhhh that's why it is funny

olive sable
#

i was hinking about arg's

autumn ore
#

POUWSHING NEW CHANGE TO FIX PIXEL PLACING

#

10

#

9

#

8

#

7

#

6

#

5

#

4

#

3

#

2

#

1

#

done

rigid snow
opaque wharf
#

So this is what it feels like to test in prod huh

autumn ore
#

yeah

#

fixed

#

any ui designs people

amber fractal
#

I could do UI

autumn ore
#

ill add u as contributor on github

olive sable
#

moving my mouse to place pixel makes my sleected pixel move

autumn ore
#

just fixed that

autumn ore
amber fractal
olive sable
#

might take a sec to go down the wire underseas

autumn ore
#

invited

#

check ur email

#

we now have full mobile support

amber fractal
#

will be able to see: Your IP address, ip grabber smh

autumn ore
#

ther eis no ip grabber 😭

amber fractal
#

github itself has ip grabber features smh

#

let me grab a drink and figure out a design

autumn ore
#

ok

desert plaza
opaque wharf
amber fractal
autumn ore
#

i hate it how mobile browsers force css

#

try in another browser or uncache it

amber fractal
#

I do have a dark mode plugin as well

autumn ore
#

true, its using the medaia flag tho, i dont know why but movbile browsers just like to cache css

#

This is what it should look like

amber fractal
#

Slideshow but the touch controls are better than mouse zoom

rigid snow
#

you do know that's a solved problem, with caching i mean, right

autumn ore
#

No…

rigid snow
#

if you use a bundler it should just give you a differently named css each time

#

or, most common hack

#

./index.css?983742897492 change numbers for each deployment

#

usually a timestamp but does not matter

autumn ore
#

I’ll do that after we get the full design of the up

#

Ui

olive sable
#

acording to vtune, my code is dogshit cuz i only use 1 core.

#

which is fair

rigid snow
#

multithreading in a game engine neuroDespair

olive sable
#

also, 71% usage is swapping buffers AquaCry

#

aka putting what you need to see on screen

amber fractal
fast pagoda
autumn ore
#

yeah i need to optimise

rigid snow
#

because everyone builds on the assumption everyone will run it in chrome

fast pagoda
#

chrome just doesn't sweat at some stuff that makes firefox crawl for me

#

yeah

rigid snow
#

i mean it's still laggy for me in chrome

#

but yeah

autumn ore
#

guys yall do stuff and give @amber fractal your ui desing ideads

amber fractal
#

I'm lucky I spent time in design, just quickly figuring out what the codebase is

fast pagoda
#

what is the UI for

#

i have ideas

#

they're terrible

#

but i have them

amber fractal
#

Bet

fast pagoda
#

im a moderntkinter expert

autumn ore
#

or just igve normal ideas

#

should i make a project thread

amber fractal
fast pagoda
#

ahh ok

autumn ore
amber fractal
autumn ore
#

okie

#

well this i sig

fast pagoda
#

well looking at it it's pretty much html/css/js without anything else which is based but also you could use like tailwind

autumn ore
#

i mean the backend consists of just like the grid

#

so we can

#

ill add u as a contrib

#

is ur user afuntun

fast pagoda
#

afunyun

#

on like gh? yeah afunyun

autumn ore
#

lemme add u

amber fractal
#

@autumn ore not the best at js, think you can add something to collapse the sidebar?

autumn ore
#

i could

fast pagoda
#

what is the main repo

amber fractal
#

ye

autumn ore
#

added you

amber fractal
#

at least you can pull that down and it still works

#

easier time than erroring due to not being on the github

autumn ore
#

ill only cvchnage the backend if we need it in the frontend

fast pagoda
#

lemme clone it and look at it

fast pagoda
#

aye aye capn

#

hit read all
10 failed ci runs open in tabs

#

thanks

autumn ore
#

we need 5to rework the entire site

#

and maybe use tailwind

fast pagoda
#

i would redo it in like react

autumn ore
#

we could

#

does react have really easy to implement ui

#

i dont use it that much

fast pagoda
#

yeah i find it very simple

#

could break it into a few components like <Canvas> <ControlBar> <PixelLog>
and slap like material-UI library in there boom

amber fractal
#

I'm just editing what exists as I haven't used any libs suprigingly enough

olive sable
#

Damn, i bought train tickets till in ans, but i need to go further

autumn ore
#

@fast pagoda @amber fractal renamed the respository to neuro.place

fast pagoda
#

the greatest readme of all time

autumn ore
fast pagoda
#

mfw codeium is active in wsl
that'll have to change

fast pagoda
#

i try all the AI code assists once in a while just to see how they're doin, give a task then cry at the results

#

codeium is one

#

well i guess it's called windsurf now

autumn ore
#

oh crap i killed the serve rby accident

fast pagoda
#

F

amber fractal
#

Removed the most annoying scrollbar in history, feeling good

autumn ore
#

its back up

olive sable
fast pagoda
#

i wish houston had trains

olive sable
#

Too bad

fast pagoda
#

are you on a branch iggly

#

nvm there's just main

amber fractal
#

Nope, compiling a few changes before opening a new one

fast pagoda
#

lmk when i'll merge into this one i just made to fart around with

opaque wharf
#

Sam is now Sam Gamgee confirmed

olive sable
#

?

opaque wharf
#

"I'm going on an adventure"

olive sable
#

what is the gamgee supposed to be?

fast pagoda
#

that's his name

#

in lotr

olive sable
#

and nah i depart in like an hour or 5

fast pagoda
#

sam gamgee

autumn ore
#

what are yall up to

opaque wharf
#

Samwise Gamgee

fast pagoda
#

well so far biome has changed like 2 lines in script.js

#

as a formatter code action

olive sable
#

crying in "wglSwapBuffers is using 71.7% of the cpu time"

fast pagoda
#

was waiting for iggly to commit what he's doing

autumn ore
#

im waiting for a commit too

fast pagoda
amber fractal
#

I'm pushing the commmit, had an extra to do

olive sable
amber fractal
#

I'm not as fast with coding as some of the others here

fast pagoda
#

no rush lmao i was just answering le question

olive sable
#

if im coding fast, it means i used chatgpt

fast pagoda
#

chatgpt big wpm

autumn ore
#

i mean i used chatgpt for a bit to fix the selection bug

olive sable
#

i use it daily, mainlky cuz im not used to c++

fast pagoda
#

i fixed my local repo to use the right remote WITHOUT destroying my entire local repo

#

i'm so proud of myself

autumn ore
#

(the entire script totally wasnt written by ai)

olive sable
#

that expalins the shit performance lmao

autumn ore
#

what, i dont know js

#

i know css html

#

some lua

#

apple shortcuts

amber fractal
#

fuck it we push main

autumn ore
#

pulling

opaque wharf
amber fractal
#

Small edits for now

amber fractal
#

it do be faster than python

#

(by 1.5x)

olive sable
#

in python we were cpu limited to 4k in 1080p

#

now im doing cpu limited to 6k in 1080p

autumn ore
#

ill be back soon

#

im going to make a figma design

opaque wharf
#

Perform async i/o read and do it in separate thread

fast pagoda
#

i started a branch

amber fractal
#

Sound whenever it exist should also be on another thread

autumn ore
#

cool

olive sable
#

the funny thing is, i cant use the same multithreading in local as on web

#

so every single thing i multitheread will need 2 files

fast pagoda
#

and by that i mean, formatter changed one(1) line slightly in 2 files

#

so i pushed that ish

opaque wharf
amber fractal
#

it just is two processes with a random socket

fast pagoda
#

doesn't the GIL mean you can only exec python on one thread anyways

olive sable
#

i already tried to optemize this with the commented out code, but it caused webgl to shit itself

#

cuz multithreading

#

lemme see if i get more fps tho

opaque wharf
#

I'm loving the chaos that happens today

amber fractal
#

As long as it isn't AI, I do love this chaos

opaque wharf
#

The torture AI? Yeah

olive sable
#

no real diffrence cuz thats not the botleneck

opaque wharf
fast pagoda
#

https://svelte.dev/ might be more ideal for this particular use because thinking about the react DOM trying to handle a whole pixel canvas is giving me second thoughts

#

i mean it would work but it's not compiled in the way that something like svelte is, react pretty much would re-render like
the whole canvas
for a websocket update because it'll essentially re-run the component + all child components each update

olive sable
#

the buffer shenanigans are not that bad i feel

#

lemme push the cod

fast pagoda
#

svelte would already know what needs to be updated in the dom

amber fractal
#

Anything for the canvas to not cause a meltdown

#

Honestly that is my main issue tbh

olive sable
#

its actually not that bad this time

#

im pretty happy with most of this code

opaque wharf
amber fractal
fast pagoda
#

sorry was renaming branch lule

it would be good yes

rigid snow
#

or through react at all actually

#

and that's not "best practice" or whatever it's just not a fucking thing

fast pagoda
olive sable
rigid snow
#

react-three-fiber is a thing tho but that's completely different

fast pagoda
#

was thinking if using react would use like useRef to handle <canvas> and then messing with it through useState/setState w/ a useEffect hook for the mouse events

rigid snow
#

that's fine

opaque wharf
fast pagoda
#

i was just thinking that setState would essentially trigger a whole rerender

#

i could be stupid af though

rigid snow
#

if no changes in dom it doesn't do anything

amber fractal
#

Canvas is a single element, that's the issue

rigid snow
#

you're confusing react rerenders with dom updates

fast pagoda
#

yes i think you are right

#

so it wouldn't be as horrible as i was afraid of

opaque wharf
amber fractal
autumn ore
#

its 500x500

amber fractal
#

250000 element list ReallyInnocent

autumn ore
#

could make it bigger with optimisation

rigid snow
#

on a good day

opaque wharf
#

So you could track the pointer position and only perform update to the canvas when needed

#

Such as after confirming the pixel placement

fast pagoda
#

my thought was action like mouse moevement triggers onMouseMove
inside the state handler we then calculate new offsets
once we set those it would trigger a rerender right here which reruns everything in the component
react then creates a new vdom to compare diffs but there would be no diff to worry about so no DOM update
so the real overhead would just be comparing the "diff" that doesn't do anything i guess

#

i wasnt thinking in terms of canvas being its own self contained single element

olive sable
#

bruh does intel expect me to read assembly? catdespair

opaque wharf
#

Wait, onclick also provides the X-Y coordinate no?

amber fractal
opaque wharf
#

Then you don't even need to track the position all the time

fast pagoda
#

true

#

just dont update any state unless clicking a spot

#

ignore the whole thing

#

but zooming would be slow

amber fractal
#

(It already is slow as balls)

fast pagoda
#

that's true lmao

opaque wharf
#

I don't work with canvas directly lmao

rigid snow
opaque wharf
#

I just use marker.js and call it a day

olive sable
#

why dont you just, actually zoom in on the render instead of the entire asset?

olive sable
#

idk how this works but cant you just render to a buffer if a block changes?

amber fractal
#

Canvas is basically a buffer (correct me if I'm wrong)

olive sable
#

a lot of things can be buffers

#

you're not limited to 1

rigid snow
#

everything is a buffer that's right

olive sable
#

i mean like, if the canvas itself is too laggy to move around and zoom in on, dont move it around and just render it to a png or whatever and move that around

olive sable
#

bro does not have glew installed and it shows smh

rigid snow
olive sable
#

nope

opaque wharf
olive sable
#

okay

amber fractal
#

I've only used figma during my graphic design course

#

never again

rigid snow
#

neuroD figma is goated

olive sable
#

figma balls

amber fractal
olive sable
amber fractal
#

I'd do it again

opaque wharf
#

I just re-read all of the MDN spec

#

CSS can zoom canvas

rigid snow
#

no

#

don’t use that

#

also it’s not gonna scale the pixel density

#

which i think i s what you want

opaque wharf
rigid snow
#

but it’s gonna be blurry

opaque wharf
amber fractal
#

That's an issue yep

opaque wharf
#

But its fast tho

rigid snow
#

evilDeadge fixing perf issues with css

fast pagoda
#

excuse me while i fight with npx sv create because the guide i was reading that says use npm create svelte is outdated apparently

opaque wharf
amber fractal
#

Hmmm, How bad would it be to just calulate a subsection of the grid on the fly (besides the idea of moving the grid being the most jank code on the planet)

opaque wharf
#

Maybe take a look at marker.js zoom implementation there

fast pagoda
#

we're gaming so far lads

opaque wharf
#

The renderer will accept the pixel placement and pan position to then render it on the canvas

rigid snow
fast pagoda
#

yeah ive noticed

rigid snow
#

i think that’s what it’s saying

opaque wharf
#

So the pixel placement state is an array of 500x500, each with rgb value. The render state is the zoom and current panning position/offset

fast pagoda
#

well i tossed vite into the mix

#

and it generally wants to use postCSS to mess with css variables

#

and that's not playing nice with tailwind

#

ootb

autumn ore
#

whats up

opaque wharf
#

Chaos as usual

fast pagoda
#

installing 10000 dependencies to use tailwind + vite + svelte

amber fractal
#

Inflated runtime cost for two snippits of code neuroHypers

#

afyunyn plz ping once the figma is done, I want to do some more reading

noble zodiac
#

one would think that plain html and css are highly contagious diseases that can only be approached with 20 layers of indirection

autumn ore
#

ill add u two to the figmje once i create it

#

playing roblox rn

olive sable
#

ye idk how this Vtune works, the swapbuffers is down to 5% cuz i changed some compiler settings

#

it can probably just see what the cause is better now

autumn ore
#

@amber fractal @fast pagoda sdont forget the serve rlink

rigid snow
autumn ore
#

@amber fractal @fast pagoda what are yalls emails so i can add yall to the figma

rigid snow
#

don’t put them here neuroMonkaOMEGA

noble zodiac
#

I've done plenty web projects of varying complexity and can't say that it ever scarred me for life to do css and html

rigid snow
rigid snow
#

it’s not because css or html are hard

autumn ore
#

looks like im buying dev mode

rigid snow
#

you don’t need that

autumn ore
#

need to export to react

#

so we dont have to recreatew

rigid snow
#

it assumes a perfect mockup which even people paid to do figma don’t ever do

#

from my experience

amber fractal
#

Much better to reimplment

rigid snow
#

visually recreating isn’t that hard anyways

#

the hard part is behavior

autumn ore
fast pagoda
autumn ore
#

simple design for mobile

#

sorta finsihed desktop layout

#

should i implement

rigid snow
#

this is sure something

autumn ore
#

<!DOCTYPE html>
<html lang="en"><head>
<meta charset="utf-8"/>
<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
<title>Neuro.Place</title>
<script src="https://cdn.tailwindcss.com"></script>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&amp;display=swap" rel="stylesheet"/>
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"/>
<style>
body {
font-family: 'Inter', sans-serif;
}
</style>
</head>
<body class="bg-gray-100 flex flex-col min-h-screen">
<header class="bg-white shadow-md py-4">
<div class="container mx-auto px-4">
<h1 class="text-3xl font-bold text-gray-800 text-center">Neuro.Place</h1>
</div>
</header>
<main class="flex-grow container mx-auto px-4 py-8 flex items-center justify-center">
<div class="bg-gray-500 w-full max-w-4xl h-[60vh] rounded-lg shadow-lg">
</div>
</main>
<footer class="bg-gray-200 py-4">
<div class="container mx-auto px-4 flex justify-between items-center">
<div class="flex items-center space-x-3">
<div class="w-10 h-10 bg-black rounded-md border-2 border-gray-300 cursor-pointer hover:border-blue-500 transition-colors"></div>
<span class="text-gray-700 text-lg">Selected: (0,0)</span>
</div>
<button class="bg-gray-600 hover:bg-gray-700 text-white font-semibold py-3 px-6 rounded-lg shadow-md transition-colors focus:outline-none focus:ring-2 focus:ring-gray-500 focus:ring-opacity-50">
Place
</button>
</div>
</footer>

</body></html>

olive sable
#

the 71% swapbuffer has now become "unknown stack frames"

#

how does that help

#

??

#

intel vtune wtf

fast pagoda
#

vtune just kicked in YO

olive sable
#

im like "vtune what is causing the botleneck"
and vtune is like "Hmmge shit dawg i have no fucking clue what im even lookign at"

opaque wharf
rigid snow
#

no it looks like crap evilDeadge

opaque wharf
#

How do you guys get 8 hours of sleep in under 2 hours?

opaque wharf
rigid snow
#

my sleep schedule shifts constantly, i know it looks like i'm up seemingly 24 hours but it's different days

fast pagoda
#

looks neat

autumn ore
#

ai implemented the design for me

fast pagoda
#

that looked like stitch lol

#

yuge

autumn ore
#

ok guys i have to shut down the server

#

for a bit

fast pagoda
#

oh yeah i noticed the server is kill

autumn ore
#

Yeah

#

I had to shut down my of

#

Pc

fast pagoda
#

not your onlyfans

fast pagoda
#

well at least that confirms that my server integration is working normally

olive sable
#

i have discovered that the SDL_GL_SwapWindow(window); is indeed using a lot of cpu

#

without it i get no video output, but i do get 50K fps

opaque wharf
#

I sure hope it doesn't do what I think it do

olive sable
#

it swaps the buffers

#

berween what is written to and what is displayed

opaque wharf
#

Oh, then safe. But why must it be called window. I thought it swap the entire app window instance lol

olive sable
fast pagoda
#

lmaooo this was feeling scuffed so i ran biome lint

#

some errors

#

just a couple

ruby timber
fast pagoda
#

it goes for so long

#

way longer than this video

ruby timber
#

why is it all outputting to stdout neurOMEGALUL

fast pagoda
#

it just does by default

#

it seems

#

i JUST bun add --dev @biomejs/biome

#

and ran it

#

and that's what it's doing lol

ruby timber
#

Something has, in fact, gone terribly wrong

fast pagoda
#

i think it's detecting a shitload of vite output generated garbage files

#

now why it's generating that much trash output

#

good question

opaque wharf
opaque wharf
fast pagoda
#

i just didn't realize vite would be blasting that much random junk into a temp dir

uneven pulsar
#
    public static void haltCondition(){
        int[] numbers = {1,2,3,4,5,6,7,8,9,10};
        for (int i = 0; i < numbers.length; i++) {
            if (numbers[i] % 2 == 0) {
                Vector<Integer> vector = new Vector<>();
                vector.add(numbers[i]);
                numbers[i] = vector.get(0);
                System.out.println("Even number found: " + numbers[i]);   
            }
            if (numbers[i] == 6) {
                System.out.println("Halt condition met at index " + i + " with value " + numbers[i]);
                break;
            }
        }
        
    }
#

alan turning halt concept is really fascinating

noble zodiac
#

why the vector

uneven pulsar
noble zodiac
#

?

rigid snow
# autumn ore

make your tailwind look like bootstrap 2025 tutorial

stark needle
rigid snow
noble zodiac
#

bwa indeed

uneven pulsar
# noble zodiac ?

idk i though i can add many vectors and increment them so the halt condition doesn't fail and since they well meet a 5 and 6

#

if i made the numbers from a range of 1 to 6 they would meet at 2 3

stark needle
#

🫠

noble zodiac
#
Vector<Integer> vector = new Vector<>();
vector.add(numbers[i]);
numbers[i] = vector.get(0);

You allocate a vector, put a single number in it, then get the number from it again and then just drop the whole vector

#

no?

#

whats that for

uneven pulsar
#

i always keep to 5 to 6 looping inside the same argument

#

when i aded 0 it went from 6 to 6

#

wait yea its no use

olive sable
#

i like having more wait time than time elapsed

#

breaking the laws of phyiscs

fast pagoda
#

well now that it's using the .gitignore properly it's much less terrifying

#

extremely classic that the only remaining issue is a random any given it's me

noble zodiac
near sundial
#

Guess what

#

I'm back

desert plaza
#

💀

near sundial
#

So

#

Abt slothy

#

He's been able to get some improvements