#programming

1 messages · Page 10 of 1

stark needle
solar quail
#

Also it is on a legacy system so i am pretty sure that wont work unless someone is ready to code out something for this specific use case which everyone is too lazy to

amber fractal
#

Dang it we do need this

tight tinsel
prime plaza
#

I can say this was my first time ever talking about AI sentience in my entire life**

prime plaza
#

and I did kinda try to stop after I heard it happened a lot

amber fractal
prime plaza
#

sorry I just get upset when people are just rude in their reasoning or debates, so someone just flat out saying "no you're wrong" so bluntly ticked me off a little

solar quail
trim valve
#

now you can join the colour schizoing

prime plaza
solar quail
#

XD nice

amber fractal
#

-# I need to finish the FAQ chart

solar quail
#

"Hey babe new FAQ chart just dropped"

prime plaza
#

can't say I've seen the AI doomposting one before

solar quail
#

Femboy?

scarlet arch
solar quail
#

Who is the femboy here

scarlet arch
noble zodiac
#

who isn't

amber fractal
#

Checks out

solar quail
#

Checks out

prime plaza
#

tbh I can't tell if I am one

solar quail
prime plaza
#

well I'm deciding between that or trans

solar quail
#

Femboy sounds cooler

#

Unless u wanna be a transformer

#

Then do that

prime plaza
#

true I can be an AI datacenter

#

or whatever they're called

solar quail
#

And i will burn saki down to the ground

amber fractal
#

You know what, frick it I got time to work on the FAQ chart today

prime plaza
#

If I could actually learn how to code and understand this chat more that'd be great though

solar quail
#

Im gonna do if else and for loop for all my code ❤️

#

Be like yandev

amber fractal
solar quail
#

My role model

solar quail
tight tinsel
#

bingo when

#

hi shadow

stark needle
trim valve
#

@stark needle actually completely random question but you run w11 right?

amber fractal
trim valve
#

ok good

#

because wide gamut monitors are weird with w10

prime plaza
ruby timber
solar quail
tight tinsel
#

need 24 slots for bingo and past the list I can’t think of any more

ruby timber
trim valve
#

I do hate how monitors say this though

prime plaza
trim valve
#

138% sRGB coverage !!!

solar quail
solar quail
amber fractal
trim valve
#

its just weird formatting

amber fractal
#

I've gotten permission to merge the others

solar quail
tight tinsel
#

is the hiccup census still ongoing

solar quail
#

Hiccup

trim valve
#

I think the 1976 is just meaning its the relative area on this diagram as opposed to one of the older revisions

solar quail
trim valve
#

I can't tell if its dates or just incremental numbers

trim valve
solar quail
stark needle
#

I mean idk

#

It's a good monitor

trim valve
#

idr cie is quirky

#

yeah the monitor looks great

#

just get ready for a world of different software displaying the same thing slightly different

stark needle
#

Yea

#

I got a 4k 32 inch at work

#

I was gonna buy 360hz 27 inch qd oled

#

But nah i alr got 1440p

#

It cost me ~700 usd

trim valve
#

actually annoys me so much

trim valve
stark needle
#

I was gonna buy samsung cause matte screen

trim valve
#

gloss is actually really nice on oled

stark needle
#

Ive had gloss on a 4k oled thinkpad

#

Annoying when glare

trim valve
#

true

#

depends how your monitor is setup in your room ig

stark needle
#

Yea

amber fractal
manic thicket
#

.

amber fractal
#

Regardless of my sanity that is what I got to do.

nocturne olive
#

You're continuing that image thing? I guess just let me know when you need data on my tech

dense cosmos
#

man, my code feels soooo messy

solar quail
#

At least u have comments on it

scarlet arch
#

but no spaces after // aaaaah

unkempt citrus
trim valve
dense cosmos
trim valve
dense cosmos
#

I should pick a standard ngl

rigid snow
tight tinsel
trim valve
olive sable
amber fractal
tight tinsel
#

"hi guys how can i have my own neuro idk how to program also can someone do it for me for free"

solar quail
trim valve
#

I recon it'd be pretty easy to come up with a message that checks off like 1/3 of that board at once

amber fractal
unkempt citrus
#

tbf teyre slightly different

amber fractal
amber fractal
#

Frick

tight tinsel
#

im vedal wdym!??!

#

frick wrong account

noble zodiac
#

time to implement a purely functional persistent hash array mapped trie dittoface

prime plaza
dense cosmos
#

you can, in time

prime plaza
#

I just keep getting stuck and don't know how to learn

dense cosmos
#

what are you stuck on?

prime plaza
#

well this time it's something I was suggested to try and make to help me get more idea for things to make, which is just a randomizer that joins a ton of letters and spaces together like a monkey jumping on a keyboard

#

now that I say it out loud I can't tell if they were joking or not

dense cosmos
#

that's a pretty good task for beginners

prime plaza
#

but basically I got the randomness part down, just not the looping part, and I hate always going to chatgpt to just essentially cheat my way to making it

dense cosmos
#

well, let's work through it

#

first, how many random characters do you want to make?

prime plaza
#

well this is what I got so far, the 'random.shuffle()' thing came from google though

dense cosmos
#

hmm

prime plaza
#

I can think of a really roundabout way to make it loop a specific amount of times, but it probably isn't the greatest

dense cosmos
#

there's an issue with using random.shuffle and the alphabet

#

do you know what random.shuffle() does?

#

well, it shuffles the list

#

the problem is, that's not the same as getting a random word or the such

#

because words can have duplicate letters

safe path
#

where is emacs in the bingo smh

stone cedar
amber fractal
#

Not talked about often enough smh

rigid snow
amber fractal
#

Editor wars would be a nice one for a rare one

prime plaza
amber fractal
#

Linux wars via same catigory

prime plaza
#

because I know there's the lists that use: (), [], and {}, but that's it

dense cosmos
#

the documentation tells you how the functions behave

rigid snow
dense cosmos
#

just look it up, and you'll find it

rigid snow
#

tuples are lists kind of

#

but no

amber fractal
dense cosmos
#

I mean, lists as lists or Lists the data structure

prime plaza
#

feels like every time I learn something new, it requires me to learn 5 more things on top of it

rigid snow
#

you can think of () tuples as a kind of list sure, but {} dicts are not lists in any sense

dense cosmos
prime plaza
heady mural
#

I have question

olive sable
#

Ask

heady mural
#

I'm new at coding and I have a problem

prime plaza
#

I'm so lost, there's so much stuff

heady mural
#

So I try to put image but it didnt show up

#

Idk why

dense cosmos
heady mural
#

Also I'm using HTML

rare bramble
rigid snow
#

where’s “html problem” on the bingo

olive sable
dense cosmos
heady mural
#

Awwww

prime plaza
heady mural
#

K k

olive sable
heady mural
#

I will ask again later

tight tinsel
#

no idea for what project i want to do next

stone cedar
rigid snow
#

ask chatgpt or something

#

about the html stuff

tight tinsel
#

meh probably a screensaver or something visual

amber fractal
rare bramble
trim valve
amber fractal
#

I know who did, just didn't want to scroll

trim valve
#

smh my head

heady mural
noble zodiac
#

not much we can do about it without seeing what you actually did

prime plaza
#

wtf does it want me to put a 'k' there for 😭

#

honestly on the brink of giving up learning this it's just so much for something so simple neuroD

noble zodiac
#

sample expects two arguments, a sequence and k which is the length of the sample you want

heady mural
#

I wish I can

#

But nope

dense cosmos
#

let me try and find some

prime plaza
#

what about tutorial hell

dense cosmos
#

worry about that later

#

tutorials can be a great way to start

prime plaza
#

so far all I've really done with tutorials is watch 3 and a half hours of a 12 hour one

#

-# is sending links allowed?

dense cosmos
#

it is

prime plaza
#

then I've been following this one:

#

but the more I go through it, the more specific and niche the tutorials get, like they're useless

dense cosmos
#

https://www.youtube.com/@TheCodingTrain there's this guy, though he doesn't use python, his tutorials are pretty fun

rare bramble
dense cosmos
#

I'd recommend going for shorter ones

#

like 30 mins - 2 hours at most

#

preferably less than an hour

prime plaza
#

it's just a video compiling a ton of shorter tutorials together

dense cosmos
#

yeah, but there's a bit of satisfaction you get from completing tutorials, and a long ass vid doesn't help when you see the progress bar

prime plaza
#

well which tutorials should I watch then?

#

time aside, idk what topics I need

tender river
#

live your life in such a way there's a disambiguation page for <your name>'s theorem

dense cosmos
knotty current
#

for me

#

chatgpt + patience did it

#

i think

dense cosmos
#

I learnt the basic syntax stuff

#

like loops, if statements, etc

prime plaza
#

tbh I don't even know what syntax refers to yet

dense cosmos
#

etc

loud thicket
#

Want the og tutorial i used to learn Java back in the day?

rare bramble
# prime plaza tbh I don't even know what syntax refers to yet

syntax just means how language looks like / what is valid to type in the language,
like python syntax would be

def add_nums(a,b):
    return a + b

but for rust it would be

fn add_nums(a: u32, b: u32) -> u32{
   return a + b;
}

nothing more complicated than that

loud thicket
#

Both my most hated syntaxes

rare bramble
#

Both my most loved syntaxes :D

dense cosmos
#

I don't like python (why dynamic typing MinawanGun ) but rust idk, I've been trying to learn it recently

noble zodiac
#
(define (add_nums a b) (+ a b))
loud thicket
#

I gave rust a shot again recently but their UI libraries were some of the worst ive ever seen

trim valve
loud thicket
ruby timber
#

Language and library

loud thicket
#

C#, C or C++ if i need low level, Typescript or Javascript for anything web or small, and Java if i do anything Minecraft related

ruby timber
#

I see neuroHypers

loud thicket
#

Not counting database languages etc

ruby timber
#

Makes sense yeah

prime plaza
#

so syntax is just vocabulary but for programming

loud thicket
#

I mean it's called a language

dense cosmos
loud thicket
#

Because alot of the ways u do things are different too

#

Its different ways of speaking the same meaning

nocturne olive
loud thicket
#

Though ik kotlin is big for mobile apps

heady mural
#

What the best app for coding HTML?

nocturne olive
prime plaza
#

I'm somehow lost enough that I don't even know what to ask

nocturne olive
#

But if you want a full IDE, I use WebStorm for web languages

dense cosmos
#

I used C++ most of the time, C# for unity, python for ML, Cuda C++ also for ML

loud thicket
#

I use python to experiment with ML stuff sometimes or write little scripts but anything big i do elsewhere

#

C# is my day job though with Unity

nocturne olive
#

Silly thing I wrote fairly recently, an assembler for my Kotlin-based virtual 8-bit CPU

prime plaza
#

tbh I just wanted to learn python because my end goal is to make an AI, like 10 years into the future or something idk

loud thicket
#

Top 10 most abstracted CPUs

nocturne olive
#

Just wanted to mess around

#

Also I've written a ton of Discord bots in Kotlin

dense cosmos
cloud relic
nocturne olive
loud thicket
prime plaza
nocturne olive
#

Obscure oddities every 5 minutes, type system literally doesn't even exist, it just sucks

dense cosmos
loud thicket
#

Yeah hence i mostly use TS now

dense cosmos
#

it'll get easier :3

prime plaza
#

I hope so

#

I'm hoping at some point I can develop some momentum, it's just a matter of when and how

nocturne olive
dense cosmos
stark needle
#

i hate school

prime plaza
#

who doesn't

dense cosmos
#

agreed

stark needle
#

especially english lessons

dense cosmos
#

disagreed

#

english was fun!

#

we did skits

stark needle
#

i am doing extremely easy tasks

dense cosmos
#

and read stories

stark needle
#

it's a TTS voice

#

so theres literally nothing u can mess up

dense cosmos
#

bruh

#

sounds like a slog

ruby timber
#

I saw your screenshot and I was like "i bet that's terrible audio"

#

I guess it is, just not in the sense I was thinking neurOMEGALUL

loud thicket
prime plaza
#

my school was weird in that instead of specified subjects we gave ourselves a subject to teach ourselves, for me it was Japanese, if I had found out about Neuro in that time I probably would've started coding then lol

stark needle
#

iv ebeen trying to extract the mp3

#

to just put it into gemini

dense cosmos
#

i'm almost done with my NEAT implementation

#

I think

#

I haven't tested it yet

scarlet arch
stark needle
#

i extracted it

ruby timber
stark needle
ruby timber
#

Eaaaasy

loud thicket
#

More complicated isnt always better

#

Because atp ill write GUI by interfacing with the graphics directly

rigid snow
loud thicket
#

I needed cross platform and only had select options

#

And i didnt want a webapp

rigid snow
#

it is cross platform, dioxus is acting kinda like react in this instance

#

it’s not gonna be a webapp

loud thicket
#

Is it one though currently?

#

Like is it compiled into one?

#

I dont mind webapp like libraries as long as it compiles into a real program

rigid snow
#

and to be clear what i mean by this:

kinda like react…

what i mean is that react by itself has nothing to do with the web (except it being a js library) hence why react-native and react-dom exist, for native apps that just happen to have a js engine bundled in and for web apps respectively

#

my point being that there’s 0 web stuff

#

in freya

loud thicket
#

hmm

#

might give it a look

#

i like libraries like that (because no runtime garbage)

rigid snow
#

it’s native just uses dioxus core

loud thicket
#

ill give it a look

#

might be what ive been looking for

#

idk why it didnt show up on my searches

tight tinsel
#

lmao follow up to this, literally aced the test no problemo, like literally a perfect score

#

yes i knew reading about useless subjects would be useful some day lmfao

rigid snow
rare bramble
#

it doesnt go deep into them, but general overview and what to expect from the syntax and the approach to the application

loud thicket
#

ill check cuz iced was ass

rare bramble
#

iced is fine, it just requires you to approach the application differently

loud thicket
#

yeah no lmao

#

that can be applied to anything

#

it should be inuitive with UI this isnt a game engine

dense cosmos
#

the performance cost is coming from thrust::exclusive_scan, literally everything else is my own kernels neurOMEGALUL

opaque sigil
#

Sounds like it's time to figure out if there's a way to avoid having to do an exclusive scan or maybe make it smaller

dense cosmos
#

nah, I'm pretty sure it's because it's doing memory allocations behind the scenes

prime plaza
#

ngl chatgpt sucks at explaining things 😭

dense cosmos
#

I need to figure out how to make it not do that

trim valve
prime plaza
#

yeah I just can't tell what it means when it says "sum of first N natural numbers" or something as vague as "print a pattern :D"

trim valve
#

😔

#

sum of first N natural numbers just means like 1+2+3+4+...+N-1+N

#

the pattern is supposed to be an exersise on using the index in the loop to manipulate a string instead of just outputing a number

prime plaza
#

what

trim valve
#

idk the second explanation is pretty ass but idk how else I'd phrase it

prime plaza
#

is N something special I've never heard of? I thought it was just a random variable like X or Y or something

trim valve
#

yeah its just a variable

#

so if N=4 then the sum of the first N natural numbers is 1+2+3+4=10

prime plaza
#

oh ok that makes more sense

#

so natural is just whatever order the next numbers in the "numbers alphabet" or whatever are

noble zodiac
#

natural number means positive and whole

scarlet arch
# loud thicket that can be applied to anything

Often the concept of the borrow checker makes other normally available patterns impossible as they're outside of the set of programs that compile with it. This results in new ideas and concept being needed to satisfy borrow checker constraints. Or unsafe Rust. But either way, that's not unheard of. Some approaches simply do not work.

#

And in most cases that's a good thing.

#

I don't know enough about UI development to say anything about it tho

opaque sigil
loud thicket
#

because besides some callbacks and connections you dont need to really go that low for just the interface (thats what the library is for)

rigid snow
# loud thicket it should be inuitive with UI this isnt a game engine

ui isn’t intuitive, react won (by won i mean every ui framework nowadays borrows something if not most things from it) because it created an abstraction - components with state - no one else has thought of before, and then hooks/signals happened which is even more different from anything that existed - basically ui is now a whole different world as opposed to regular coding. ever wondered why non webdevs hate react? and why they love svelte? because svelte introduced a compiler that lies to you by making all that reactive state bs look like regular variables

if anything i’d argue immediate mode UI is the most intuitive even though i’m quite fond of the “react way”

loud thicket
#

components for UI just makes sense

#

and its made more intuitive due to the abstractions

#

thats why components work so good

prime plaza
#

random error(?) I've never heard of number 17 neuroHypers

opaque sigil
#

Did you name your variable sum?

prime plaza
#

no

rigid snow
#

why are you print(sum) ing evilDeadge

prime plaza
#

trying to figure out how to get the sum of a variable

prime plaza
rigid snow
opaque sigil
#

yeye

rigid snow
#

and work

opaque sigil
#

I just woke up cut me some slack neuroSleep

rigid snow
#

good morning neuroWaveA

opaque sigil
#

I want to go back to sleep neuroDeadge

rigid snow
#

someone correct me if i’m wrong i don’t python

knotty current
prime plaza
#

maybe that's what I'm missing, my variable isn't a list

rigid snow
knotty current
prime plaza
#

well it's the sum of an <input> amount of numbers

knotty current
#

u probably printed the method object without the call

#

i think

prime plaza
#

now I wanna try putting it into a list somehow

knotty current
#

[a, b]?

prime plaza
#

it's possible for the sum to be of more numbers than there are letters in the alphabet

rare bramble
#

huh?

prime plaza
#

maybe this helps

#

just putting "a + b" doesn't work

rigid snow
#
l = []
l.append(1)
l.append(2)
print(sum(l)) # prints 3
#

this is how lists work

prime plaza
#

I feel like if I specify more I'm just gonna be cheating and not learn anything

rigid snow
prime plaza
#

whatever I just gave up and asked chatgpt

#

I am NOT cut out for coding man holy crap 😭

knotty current
#

what did chatgpt say?

#

im curious wether i inteperted the question right?

prime plaza
#

I got it all right up until they added "total" to the equation

knotty current
rigid snow
#

well, they’re called variables for a reason, their values can change. total += i is just shorthand for total = total + i

#

“change the value of total to sum of total and i”

prime plaza
#

I just don't get why 'sum' wouldn't work because 'i' wasn't a number, but for some reason in this version, 'i' is treated like a number perfectly fine

rigid snow
#

because sum() gives you a sum of all elements of a list you give it

knotty current
#

i in this case is an integer

prime plaza
#

so does sum() only listen to lists and nothing else?

prime plaza
#

that's so weird

rigid snow
#

basically

knotty current
rare bramble
#

it's because whenever you take input from user, it is treated as a string, so it would be "1", but when you use the int("1") to the string, it will be converted to a number

rigid snow
#

let’s not confuse them tho

knotty current
#

yeah

prime plaza
#

I'm already confused beyond belief 😭

#

like if something this simple can completely stump me then what else do I do

knotty current
#

coding is like this

#

same for me when i started out

prime plaza
#

just feels like I'm not learning anything when I resort to asking an AI to solve any problem for me

#

sorry if I sound like a doomer I'm just really demotivated right now

rare bramble
#

ye, that is one major issue with AI

knotty current
#

i think because i dont know ai existed when i started that i was able to start at all

rare bramble
ruby timber
#

Drink some water

#

Do something fun

#

And get back to it

unkempt citrus
#

Great thing about coding, there are online books with interactive examples

#

So you can run the code in browser and experiment

#

You can change things and get near instant feedback to see what changes

prime plaza
rigid snow
knotty current
#

same here

#

i think i started around 2 years ago

unkempt citrus
#

If you want to use AI to learn, don't ask it for examples

#

ask it to give you a lesson

#

and then have it quiz you

prime plaza
#

I try to do that in reverse, I ask it for a solution then ask it why it works or what it's doing

#

but sometimes it can't even explain that

knotty current
rare bramble
#

but that was in like 2017

knotty current
#

i still remeber the whole day spent solving package issues

#

ouch

rigid snow
steady heart
knotty current
rigid snow
#

i mean when i started, 2023 youtube is definitely no 2012 youtube

#

that shit was almost worthless as a tutorial

knotty current
#

i have no idea what 2012 yt was like glueless

#

but i think the first tutorial for me was like 2016 ish or something?

velvet crestBOT
#

You have unlocked new role

rigid snow
#

nn leaking

steady heart
#

hi guys have any recommended tutorials for learning web development?neurOMEGALUL

prime plaza
#

run

rigid snow
ruby timber
#

I wish man html existed

#

Cross the bingo square

#

Though I don't think we have one for web dev

rigid snow
steady heart
#

I feel like I'm learning a little bit here and thatneuroD

rigid snow
#

i mean webdev just sucks lmao

trim valve
#

hm is it worth trying to support weird mono image formats where each pixel is 1 bit

#

idk if they're even used anywhere ngl

rare bramble
#

shrug I mean seems pretty simple as a format

trim valve
#

ok but it also seems like a pain to provide an api for

#

like with the image crate there's Image<P, ...>::get_pixel_mut(x: u32, y: u32) -> &mut P, but this would only work if P can have an &mut reference made to it which wouldn't work for a single bit in a byte

dense cosmos
#

for a moment I thought I was CerberDum because I forgot to CudaDeviceSynchronize meaning my benchmarks were measuring how long it took to fire a kernel, but no, even after doing that exclusive scan still takes a disportionate amount of time

trim valve
#

I guess there's always the option of some cursed trait shenanegans

dense cosmos
#

so yeah, it must be the allocations

trim valve
#

like ```rust
fn get_pixel_mut<P: Pixel>(x: u32, y: u32) -> MutPixelAccessor<P>

#

I feel like that's an option actually hm

midnight sigil
trim valve
#

doesn't some 3d software do that

midnight sigil
#

maybe

#

I don't think I've seen those around tho

#

at least among the popular ones

ruby timber
trim valve
#

yeah

ruby timber
#

You could try bitwise operations then

#

Shouldn't be too complicated

trim valve
#

well yeah that works fine if I want to hardcode a format

#

I'm trying to think up an api that works for weird formats like that and more normal formats like packed rgba

ruby timber
#

Oooh multiformat

#

Okay yeah that sounds tougher

trim valve
rare bramble
#

hmmmmm LLM says that the bitmap format is not widely used outside of legacy, documents & embedded systems

trim valve
#

I kinda expected that

#

its an interesting idea to think about though because its an awkward case for the api

#

the other kinda issue I'm wondering about is hw-accelerated formats (which you're unlikely to edit so I guess its kinda w/e)

#

but those are a whole different can of worms

brisk laurel
#

Does anyone wants linux commands FOCUS

#

I have themneuroBritish

fallen patio
#

Hello there,
Although i'm new, i saw a programming channel and i figured i could get some pointers : long story short, my boss wants me to coach him on algorithm programation (python) ; small issue however, while i understand ( somewhat ) what im doing on my console, *explaining * is a whole new level of pain... If you had to explain something extremely nerdy to a board of directors with 0 code knowledge, how would you do ? Chatgpt gave me nonsense answers, claude was too pedantic and i dont have any coworkers on that project so...

#

( i blame the marketing team and their "machine learning" buzzwords)

rigid snow
uneven coral
#

i have mad respects for programmers.

trim valve
#

more zero cost abstractions glueless

olive sable
#

I have used gimp for the first time

dense cosmos
#

let's go neuroHypers I used Cub's exclusive scan which directly allowed me to pass in the temporary storage it needs to do it's thing

#

and I went from 50ms for the exclusive scan

#

to 8

#

FireSynapses can be optimized

#

rn it's using atomicAdd(), which forces serialization

#

which is obviously bad for parallel stuff

#

the alternative requires even more memory usage though... CerberDeadge

opaque sigil
#

how are you adding atomically though

dense cosmos
#

where I map each synapse to an assorted index such that the output of the synapses is sorted by destination

#

well, here's the kernel

#
__global__ void FireSynapses(
    const size_t* synapse_boundaries,
    size_t* active_sources,
    float* membrane_potentials,
    const size_t * destinations,
    const float* weights) {

    int source_index = active_sources[blockIdx.x];
    unsigned int start = synapse_boundaries[source_index];
    unsigned int end = synapse_boundaries[source_index + 1];

    for (int i = threadIdx.x + start; i < end; i += blockDim.x) {
        atomicAdd(membrane_potentials + destinations[i], weights[i]);
    }
}```
dense cosmos
opaque sigil
#

that's a lot of global memory accesses neuro7

#

have you profiled it to see what's actually the problem?

dense cosmos
#

not really, I have a rudimentary timer

#

which is what's printing to the console

trim valve
#

I mean evilShrug

#

as long as I can make something rust is happy with without diving into unsafe its kinda whatever

opaque sigil
#

atomicAdd isn't inherently bad necessarily, you can first do a warp wide counter and then a block wide and then have one thread from the block add to the global

trim valve
#

I can loosely see a way to make this work

#

generally speaking you'd probably only be using a small handful of image formats

#

though I get why it could be an issue

dense cosmos
trim valve
opaque sigil
#

idk when in doubt throw shared memory at it ig

dense cosmos
#

XD

#

I wonder how I'd do that...

#

ah well, dinner time

#

:D hey the temporary memory that the scan needs isn't even that big!

hoary lion
#

gm chat

midnight sigil
scarlet arch
raw trout
#

Morning!

fierce juniper
#

im trying to learn to use game maker

nocturne olive
#

Sounds like a pain
It seemed way worse than Godot

opaque sigil
#

@dense cosmos you made me jump into the cccl codebase to see what thrust's exclusive scan allocates but i forgot it's actually impossible to find anything in there neuroDeadge

olive sable
#

nah you're just raytracing

#

btw, how does your cube have 859K vertices????? welpsagiri welpsagiri welpsagiri welpsagiri

opaque sigil
patent walrus
#

what if microsoft teams had spotify integration

#

so my coworkers could see what im listening to

trim valve
#

what if spotify and teams merged into the same app

noble zodiac
#

it plays the teams message notification every time a new song is released

noble zodiac
#
Err("Some(Func(0x5b9095f5a850)) is not a function")

BABA_IS_THINK

opaque sigil
scarlet arch
#

while investigating a bug I found another bug. upon contacting other developers and trying it on even earlier versions we noticed that it's also a thing in our upcoming release. even worse: it's invisible to the user, UI just hangs, and it's basically a SQL unique constraint error...

#

why. 3 days before my vacation. whyyyy

#

I added a collapsable part to the issue haha

dense cosmos
#

eepy time chat CerberCozy

#

Wait! I figured out how to improve my synapse fire kernel! I map each synapse to a float buffer, which is divided into contiguous blocks per destination neuron. I run a reduction sum algorithm over this buffer, and with another (smaller) mapping from this buffer to destination, I'll have the algorithm working without any issues! I could even used shared memory somewhere I think

#

It's only going to cost extra 4 bytes per synapse (for float buffer), and 8 bytes per neuron for second mapping

rare bramble
olive sable
#

i have no clue what im looking at, but it doesnt look good

#

ps3?

rare bramble
#

that's sparking inside of my ultrawide monitor

olive sable
#

oh

rare bramble
#

it decided that it was a good time to die last thursday

olive sable
#

ye the power circuit will have to be replaced

hoary lion
#

me waiting for google io GoogleDevelopers

dense cosmos
#

wanna hear a horror story? Our cat pissed into my brother's (at the time) new pc build

#

It was destroyed

rare bramble
# olive sable ye the power circuit will have to be replaced

The sparking is near the panel, there is probably a sort somewhere and I have no idea where. All the components looked good and I might buy a replacement board for like 200e and it probably wouldnt fix it. and if it's the panel, then I cant replace that alone and the repair costs more than a better new screen

#

also the panel is slightly damaged from me carelessly knocking on it couple of years ago, so even if i get it fixed, i would still have a slightly damaged screen

sharp mantle
#

they highlighted that gemini 2.5 pro beat pokemon blue

noble zodiac
#

ok..... I'm sure the billions in investments were worth taht milestone

desert wave
rough bloom
#

FOCUS they're making a Gemini diffusion model
(not for art, an LLM like LLaDA or the one by Inception Labs a while back)

rigid snow
#

what are the benefits? PauseSama

rough bloom
#

goes way faster than traditional autoregressive LLMs since it predicts multiple tokens at once

#

also has some theoretical advantages since it can choose which tokens to predict first, but so far there is no SOTA model using diffusion, so it's hard to tell if that's real

rare bridge
#

can my machine not lose access to the internet

#

for 5 minutes

#

well rn it's outright dead

safe path
#

rip bingo

rough bloom
rare bridge
#

i'mma go kill the power and forcefully restart

trim valve
opaque sigil
#

something actually new and interesting for once

rough bloom
#

yeah, and they spent a whole 30 seconds of their 1h+ keynote on it mahi

trim valve
#

you may not do what I want you to do but you sure do something

opaque sigil
#

i'd imagine they probably have a working version already, there's no way they'd announce it and then it just doesn't work or spews out garbage

#

though ig it doesn't have to be SOTA to be useful

rough bloom
#

they said it's in a tiny closed beta or something

stark needle
#

Subscription thing

trim valve
olive sable
trim valve
rough bloom
#

yeah, it's still cool
probably the best language diffusion model when it's out

trim valve
#

(very weird challenge but I swear there's a reason glueless)

#

glueless surely this was not broken by accidentally using a 30fps source video

trim valve
stark needle
noble zodiac
#

trash

cosmic sphinx
#

tldr this year's google i/o is a disappointment and a nothingburger..

noble zodiac
#

to the suprise of absolutely nobody

rough bloom
mortal anchor
trim valve
#

I don't really know much ffmpeg

#

cgpt was suggesting -filter_complex "[0:v]crop=in_w/2:in_h:0:0,fps=60,setpts=PTS-STARTPTS[left];[0:v]crop=in_w/2:in_h:in_w/2:0,fps=120,setpts=PTS-STARTPTS+0.008333[right];[left][right]hstack=inputs=2"

mortal anchor
#

I'm not sure if it's possible in cli

stark needle
#

@sage crag you don't even need to understand german to understand the stupid shit that "preparation for math" is

nocturne olive
#

Can the container you're encoding to even do 120 FPS?

trim valve
nocturne olive
#

Then it probably can

stark needle
#

what is a + b i need to know

#

I'm kinda dumb so sorry

nocturne olive
stark needle
#

True

rough bloom
#

thought for 30 seconds
it's 23

trim valve
#

yes unfortunately it is not as easy as "just" doing that, I need to express that in a way that ffmpeg understands

nocturne olive
#

Crop goes something like so

trim valve
#

and whilst I might have a good understanding of the ffmpeg library I do not get the cli at all

cosmic sphinx
#

gemini in AI studio can access website content now neuroNOWAYING

#

also new Flash iteration

olive sable
#

Answer is 0 apparently

nocturne olive
mortal anchor
nocturne olive
cosmic sphinx
#

theres NO fucking way

#

they used bling bang bang born

rough bloom
#

the Mashle OP neuromegadance
I was so confused

cosmic sphinx
#

for the ending

#

LOOOOOOOOOOOL

sharp mantle
#

No gemini 3.0, guess they'll drop it on a random thursday, as allured at the beginning

stark needle
#

What

rough bloom
#

neuroPog YouTube Premium /j

opaque sigil
#

i'll buy it just for the yt premium

rigid snow
#

i guess 30tb is cool

cosmic sphinx
stark needle
#

Realistically

#

Are u hosting ur company data on google drive or what

rigid snow
#

so basically unlimited, even better

opaque sigil
#

i miss the unlimited data

rough bloom
stark needle
opaque sigil
#

yeah

stark needle
#

r/datahoarders

ebon basin
ebon basin
rigid snow
ebon basin
#

I think also it is 5-6 grade it is preparation for using formular by bringing in variables

rigid snow
rare bramble
ebon basin
rigid snow
#

why are you being baited so hard do you think there are 12 year olds in this channel that aren't asking how to create neuro (they have no friends)

#

what is NaN*Infinity i need to know

ebon basin
#

I'm to smart for such jokes

covert garnet
#

Hello (sorry for interfering)

rigid snow
#

you're not interfering with anything of value, hi neuroWaveA

rigid snow
#

neuroNOWAYING not html or python

ebon basin
covert garnet
covert garnet
rigid snow
#

sounds like you're gonna get hired at least

covert garnet
rigid snow
#

i know. floats are boring you can just calculate the answer immediately neuroSad2

#

also NaNs are contagious every expression they touch becomes NaN

sour lotus
#

Evening chat neuroWave

rigid snow
#

floating point arithmetic is NOT invited to the maths club

#

they can have their own if they like

ebon basin
#

NaN!=NaN

sage crag
#

that is the principle used in the undefined guard

stark needle
sour lotus
#

Shudder
Maths
I'll stick to my lane, always impressed with Math knowerers
Cheers to you 🍻

opaque sigil
#

now test against pypy NeuroClueless

#

i'm actually curious, don't make me write this myself

#

i wonder why loops are banned in cpython

amber fractal
opaque sigil
#

now all that's left is a perfectly valid constexpr version

#

nuh uh, python is python NOPERS

#

20ms huh

#

guess you still need to start and run the vm

#

oh

#

right

#

yeah fair

#

is this python 3.11 pypy

#

oh

#

tbf pypy3 is implemented via python 2 so i guess it probably doesn't matter too much

#

damn

#

scammed

#

this is why i love pypy, i don't have to change any of the code Gladge

ebon basin
#

Why do you not save it in a file ?

#

fibonacci numbers are the same you never need to recompute them

opaque sigil
#

those 8 bytes are precious

#

they use chunks of 64 bit numbers or sth

#

or was that v8

#

idk

#

one of them did and the other did a list of digits

stark needle
#

hi

#

Hi konii

#

How are u

opaque sigil
#

okay it's a linked list of uint32_t/uint16_t's

#

they apparently have some extra cases for numbers that fit into 2 digits

stark needle
#

👩‍🚒 🖲️ 💱 🛖

opaque sigil
#

optimisations work??

#

i always find it funny when i go through these stdlibs and they have special cases for multiple numbers with hundreds or thousands of digits

#

as if anyone is going to use a scripting language for that 😭

trim valve
#

so uh

opaque sigil
#

python only has one cutoff for karatsuba but v8 has like 5 different ones

#

all the way up to the fft algorithm

trim valve
#

the way I've previously had two discord clients on mobile has stopped working

#

and now I need to find a new way

#

what are my options

#

(android btw)

opaque sigil
#

if i see you write the implementation in pure python ima bonk you CutieWatchingYou

#

you could try fiddling with the package name

#

but that breaks stuff sometimes

#

or keep the official app and a patched one around

trim valve
#

I may have solved it

#

there is a fork of my fork

amber fractal
stark needle
#

If u can run basic linear layers, u can run a llm

opaque sigil
stark needle
#

the 2 hardest parts

olive sable
#

what in the?

#

thats the type of math idd have to look at for 3 weeks to understand

opaque sigil
#

it looks way more intimidating than it is tbf

olive sable
#

thats the case with these most of the times ye

#

the sideways M is just a bunch of addition in desguise

opaque sigil
#

matmul go brrr

olive sable
#

my shaders dont like this image neurOMEGALUL
4 fps

opaque sigil
#

i don't like that image either

#

am i a shader

stark needle
olive sable
stark needle
#

Layernorm

opaque sigil
#

i suppose

olive sable
#

there is no diffrence between the 2 in terms of actual data, PIL is just a bitch

amber fractal
#

I love redoing code that was so jank I don't know how I managed to figure it out

trim valve
olive sable
#

kinda

trim valve
#

neuroSob I did something similar when I was trying to do cursed stuff for vrchat with shadow

#

(sorry shadow I got hyperfocused on a different thing and forgot about it)

olive sable
#

instead of
r 0000000000000000
i have now
r 00000000 g 00000000

#

well, except that the imag is using green and blue due to opencv shenanigans

#

i have no clue what im looking at

#

i know what that means niuh

amber fractal
olive sable
#

cant we just use the same?

amber fractal
#

I do not want to be the person coding hardware with both types of chips

#

Cursed formatting

olive sable
#

in python, the with makes sure to close the file after the operations are done ye?
so what if i do:

with Image.open(filepath) as self.pixels:
  self.img = ctx.image(self.pixels.size, 'rgba8unorm',  np.array(self.pixels))

???

#

it goes to a class variable, so it doesnt get closed no?

amber fractal
#

It is copied I'm 90% sure

opaque sigil
#

^

olive sable
opaque sigil
#

open file -> read file -> copy to np array -> close file

olive sable
#

nice

#

this should keep ram usagew down

#

i never closed the files before

amber fractal
opaque sigil
#

it's only a handle it's not like it takes up any space

olive sable
opaque sigil
#

oh i didn't even notice that

#

yeah maybe don't do that then lmao

olive sable
#

self.img could be a return instead, but idd have to change a bunch of shit ngl

#

well, not that much actually

#

i do need acces to the self.pixels value for the heightmap to sample on cpu side, so idd have to return that too

#

is that better?

opaque sigil
#

could you store the pixels and then when you need the image build it?

#

idk how often you need it

#

if not then open the image normally without the with and just assign that to self.pixels

olive sable
#

so the self.img is only used on init as all the shaders are built then
self.pixels is used every time the player moves

trim valve
#

catdespair why is it suddenly so hard to find a good 60fps video to test with

opaque sigil
#

okay yeah just build it that one time then

olive sable
trim valve
#

I didn't realise quite how much 30fps there was though

olive sable
#

i think almost everything on netflix is 24fps

trim valve
#

but those are both 30fps so aren't applicable

nocturne olive
trim valve
#

its pretty cursed but yes

nocturne olive
#

What does it look like?

#

I'm curious how bad it is

trim valve
#

ffmpeg -i input.mp4 -filter_complex "[0:v]fps=120,split=2[main][shifted];[shifted]trim=start_frame=1,setpts=PTS-STARTPTS[right_half];[main]crop=iw/2:ih:0:0[left_half];[right_half]crop=iw/2:ih:iw/2:0[right_half_crop];[left_half][right_half_crop]hstack" -r 120 -c:v libx264 -crf 15 -preset veryslow output.mp4

olive sable
trim valve
#

looks worse because one line in the filter but still

trim valve
nocturne olive
amber fractal
#

This is just funny to me

trim valve
#

aha a live recording of a porter concert

#

unfortunately this isn't particularly worst case for what I'm testing

#

an evil karaoke might've worked but meh I found a video

amber fractal
trim valve
#

uh

#

its a bit stupid but I'm trying to figure out just how bad it would look if I tried to play video across two different monitors without a reference timing

#

true but that's osu

#

I want to try it with real video

sharp mantle
#

https://www.youtube.com/watch?v=Xx4Tpsk_fnM puzzle spoiler from the vid || (in case anyone has too much time on their hands there's a binary code at 06:01 to decode) First two lines should make 'The computer ||

The so-called 'Forbidden Technique' with Chana Messinger -- Check out Brilliant's courses and start for free at https://brilliant.org/computerphile/ (episode sponsor) -- More links in full description below ↓↓↓

Chana Messinger from 80,000 Hours talks about why we shouldn't give AI access to its own chain-of-thought. More from Chana:
http...

▶ Play video
trim valve
#

ffmpeg what hath thou done to my cpu

#

[libx264 @ 000001d9b951dfc0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 AVX512 VedalOh

olive sable
#

welpsagiri 9950x

opaque sigil
#

ffmpeg is the only program i've come across that can push my cpu past 80 degrees

trim valve
#

anything makes this bad girl overheat its incredible

#

I have no idea how the cooler even remotely manages

mortal anchor
opaque sigil
#

tbf the newer zen cpus are meant to run hotter in general aren't they

trim valve
#

I was more shocked at the seemingly low utilization and clocks

opaque sigil
#

ah true

trim valve
#

but if its doing avx512 then its pretty justified

opaque sigil
#

i guess avx512 will do that yeah

olive sable
#

this should be the end of the going schizo commit history saga

amber fractal
#

Saved, I don't have to rewrite the entire program

amber fractal
#

(This does not count for the FAQ bingo slot)
The FAQ code seems manageable again, it is finally able to handle its new reality. Now I just need to use some templates to slot everything in the final image.

olive sable
#

(is FAQ in this context frequently asked questions? cuz it doesnt sound like it is)

trim valve
#

190w my beloved

#

(this cooler is absolutely underspecd for this)

olive sable
#

i didnt know the 9950x coudl even pull that much

trim valve
#

its a 170w tdp or something

olive sable
#

yep

amber fractal
#

I reccomend not a single person check how this was implmented before, but now it is a bit more sane

olive sable
#

i know you have a 1660 so i expected this ngl, but why go overboard on the cpu and not get a good cooler for it?

trim valve
#

I don't have space

olive sable
#

neuro7 housing market, bred's room isnt big enough for a nh-d15

trim valve
#

so my gpu, motherboard and cpu are all competing for width

olive sable
#

ah

#

it looks cool, but the fractal terra is a terrible case for high power stuff imo

trim valve
#

I mean I don't really care

#

the cpu is fast enough for what I use it for

olive sable
#

fair

trim valve
#

its not like it living at 95c under load is a huge issue

olive sable
#

true

trim valve
#

though neurOMEGALUL

#

I basically hear the fans spin up if a single core starts actually doing work

olive sable
#

its not happy

trim valve
#

I plead the ffmpeg

olive sable
#

cant relate, i never go above 40c

#

atho 5950x only does 105W

#

maybe i should overclock, altho i only have 750W psu

amber fractal
#

I defently can't go over 40c laptop and all

trim valve
#

I mildly remember hearing about undervolting for performance reasons

#

kinda tempted by it

olive sable
#

that was due to the temp being lower makign it boost more

amber fractal
#

less volts is less heat from what I remeber

rigid snow
#

gpt cot agi rag mcp. openai hire me

olive sable
#

just gotta find the sweetspot

trim valve
#

anyways my conclusion from the weird video experiments is that in the worst case it looks horrific

#

but for normalish video you'd probably not notice unless you were looking for it

#

(or more accurately if you're not a massive nerd)

olive sable
#

i mean, thats the case with most high end stuff

#

99% of people dont see the diffrence between 200hz and 240hz, same thing with performance and other such things

trim valve
#

holly hell though I do not like the effect of 120fps strobes at max brightness

wide flicker
trim valve
trim valve
#

one moment lemme upload a clip

rigid snow
trim valve
#

(you need at least a 120Hz monitor for it to be accurate to what I'm trying to simulate)

olive sable
#

i got 165, i should be good

wide flicker
amber fractal
olive sable
#

horizontal screentearing

trim valve
#

yeah basically

olive sable
#

interesting

trim valve
#

the idea is supposed to be two tvs next to each other both having the same video played but "maximally" desynced

olive sable
#

ah, kinda like 3D movies?

trim valve
#

theoretically you could desync >0.5 frames but arguably that should be possible to correct for

trim valve
#

just simulating a worst case

olive sable
#

arent they interlaced?

#

oh well

trim valve
#

nonono literally just imagine two tvs next to each other acting as one large tv

#

this is what screen tearing would kinda look like

#

like that nvidia feature but scuffed

olive sable
#

where did you get that video from lol?

trim valve
#

youtube

#

I just found a random porter concert recording

amber fractal
#

I've forgotten how high refresh rate feels

olive sable
#

the file has contributing artist and everything

#

i hope thats not your name there

trim valve
#

nop

#

idk blame cobalt.tools for being fancy

amber fractal
#

But yeah it is interesting how the tearing happens

trim valve
olive sable
#

120fps video is something i havent seen much before tbh

trim valve
#

a lot of stuff struggles with it

olive sable
#

it works pretty well for me

#

jsut getting it to 120fps was hard then?

trim valve
#

idk I just find a lot of stuff really doesn't like playing high framerate stuff

#

though that could just be bad experiences with discord and higher bitrates

amber fractal
#

iPhone spotted

trim valve
olive sable
#

i mean ye my phone can do high fps too, but nobody really uses it

rigid snow
trim valve
#

its a signal converter thing-ey

#

but it has a port for a reference signal so you can sync them all up

#

so every frame changes at the same time

#

(thus no tearing / tearing is fully correctable)

olive sable
trim valve
#

it does a lot more than that but its the first thing I thought of that could work

olive sable
#

like how you have to sync your av thingy for surround sound with the tv?
but automatically

trim valve
olive sable
#

ive done that a bunch before

#

syncing the audio with the video

#

kinda wanne test phone performance now

trim valve
#

is my very cursed idea

#

I don't like it

#

but it is one option to sync the displays

olive sable
#

idk what im lookign at, but its long

trim valve
#

tl;dr "budget" video wall made of 21 displays

olive sable
trim valve
# trim valve

theoretically you could do most of this without the updowncrosses and the reference clock, you'd just probably have tearing like I simulated above

#

(all this because I want to watch shitty anime on a videowall because it sounds like a funny idea)

olive sable
trim valve
#

idk how to check my framerate on the web

#

but it runs ok

olive sable
#

and shadowmapping + terrain doesnt appear on screen, so im wasting 80% of the rendertime on things that dont work

trim valve
#

did fall through the floor though

olive sable
trim valve
#

o

#

I have too many tabs open

olive sable
#

should be vsync on chrome, or 60 on certain other browsers like firefox

#

if its reaching that high at least

olive sable
olive sable
trim valve
#

smh why can't the gpu I want just drop

#

its been stuck in preorders only for like a month now

olive sable
#

what you trying to get?

#

9070?

trim valve
#

powercolour 9070xt reaper

olive sable
#

ye rip

trim valve
#

oh apparently novatech have 5 in stock

#

neuroSus w/e

#

I'll wait until other places actually stock it

dry charm
#

damn it takes a while to load

olive sable
olive sable
trim valve
#

also need to make sure the backplate isn't an issue