#programming

1 messages · Page 57 of 1

dry charm
#

which are defined in an egg

#

Also before we derail with Ptero talk, In this case you still have the option to encrypt your token and decrypt it on the fly, removing the ability to read by third party without running your bot

#

This is not possible with the builder application

#

atleast not what I've seen

rigid snow
#

so this doesn't matter

dry charm
#

You can argue this doesn't matter, but you still have full control over how your token is handled and piped, while the service above is not

rough bloom
opaque wharf
#

DX*

rigid snow
#

what i'm saying is this whole encryption thing is transparent to any legal document, you still give them the token

rigid snow
opaque wharf
dry charm
#

I just brought up the encryption as an example for control, you are correct about them having the decryption keys, but technically any hosting has your whole data in their possession, if they wanted they can just dump everything

opaque wharf
#

See, the thing with that ToS is its stupid

#

Sharing token with third-party is done everytime

dry charm
#

Like for example, I know that my VPS hosting has a weekly full image backup. If they really wanted they can just boot up the whole image and crack open my bitwarden and have all my passwords

rigid snow
#

the tos isn't even stupid

#

bot hosts are exempt

#

it's just how they apply the tos

opaque wharf
dry charm
#

They should not be tbh and discord should create an authorization page for discord bots just like how applications request it

opaque wharf
#

The ToS could be worded differently

dry charm
#

That is why it is in the TOS to discourage from sharing. Yes, it is their responsibility, but still

rigid snow
opaque wharf
rigid snow
rough bloom
#

I guess it comes down to how much Discord trusts these random bot hosting services compared to, say, AWS
the random bot hosting service is obviously much more of a risk, and it seems Discords tolerance for that got a lot lower
(either that, or they just want an excuse to shut everyone else down and ship those features themselves instead)

opaque wharf
dry charm
opaque wharf
dry charm
#

That is a Google issued identity token and shared between host and google, not provided by the user

#

That would be the correct way to authorize bot access in this case on Discord as well

#

the correct alternative to user provided bot token

#

Does the user even receive such token on the clientside for google login?

opaque wharf
#

If a theoretical 3rd party site builder could support google IAM by providing your own token?

dry charm
#

I do not think you are even allowed to do that

#

Like implementation wise

#

I'm 100% sure it has to go through google domain first to be a valid token

opaque wharf
dry charm
#

But even if you could, in theory provide the token, it would be a major problem

dry charm
opaque wharf
#

Application token, so your app can verify that a user has in fact logged in to google

#

Your application is just querying google "Hey, I have this request here, is this request authenticated?"

#

Alright then don't think of it as google IAM, but any google service

#

Since you seems to be confused about application token and user authentication token

dry charm
#

I was confused why you brought this up, but now I understand what you meant

#

but I think that the two situations are not similar

#

Since you are implementing a Google Auth in an application either you wrote, or a plugin, lets say Wordpress site

#

In this case it seems like the same kind, but you still control the plugin which requires the Google Token

dry charm
#

That does not essentially matter, since you are running a generic wordpress site, they are not specialized to host a "Google Login Application"

#

Once again the "host a specific thing" vs "you can do this thing but host others" come up which is on the edge

opaque wharf
#

This will be cursed, but you can create the same authentication service via wordpress

dry charm
#

Yes you can, it is interesting that it was not done yet, but I suppose there are reasons, due to so many services available

opaque wharf
#

Yes, and the point is google doesn't limit their token use to 3rd party. The token requester is responsible for their token. When breaking a ToS is identified to come from said token then that user is responsible because they let the token being misused by 3rd-party

rigid snow
#

in conclusion i don't think the set of employees @ bot compliance handling botghost's case fully understand the tos or the nature of the service they're dealing with; they see: a breach, tokens - we have to shut them down

opaque wharf
#

If the 3rd party that use the token doesn't misuse and break ToS then nothing should matter where the token is located/coming from

rigid snow
#

what they do certainly isn't in bad faith and is fine by their own tos

opaque wharf
dry charm
opaque wharf
dry charm
#

Also why the request is stupid, is that people might as well just download a discord bot from github, put the token there and their discord servers are nuked cause the bot was malicious

#

Didn't even need an external service

opaque wharf
#

The only real alternative is to somehow let the user host their own BotGhost instance by one-click install and the script is transparent how that token is handled

#

So BotGhost can argue, they never store the token. User host it elsewhere

#

What I mean is, bot ghost could keep their editor proprietary

#

Their editor could export a JSON description of the bot

#

And the bot runner is hosted by the user

dry charm
#

I think their model is partially that they run the bots as well, so no burden for the user at all

#

just build and run

rough bloom
dry charm
#

And potentially less resource intensive, since you can just create shard instances inside a cluster of bots and handle each request and branch dynamically

dry charm
#

But those are good points if we want to assume discord is doing is in good faith

opaque wharf
#

But then again, discord shouldn't get the flak theoretically even if a breach happens

noble zodiac
#

it would still reflect badly on them

rough bloom
#

they shouldn't, but they would, and their platform would suffer as a result of many servers being compromised

opaque wharf
#

1 for discord, and 1 for the hosting provider

opaque wharf
#

Yeah, that would reflect badly true

dry charm
#

it would be a huge PR nightmare

waxen niche
#

Guys, I have a question

#

Is anyone here familiar with game development?

opaque wharf
#

Probably Sam since he is currently writing his own engine

waxen niche
#

I honestly just wanted to ask what are good engines to start with. I have no experience but I’ve heard GameMaker is good

stone cedar
waxen niche
opaque wharf
#

2D game is simple enough to do in GODOT while also teaches you a lot about the technical stuff. But if you want to focus on the art, then do GameMaker

waxen niche
#

Okay, GameMaker it is then. Thanks for helping 🙏

lapis wraith
#

If it works for you, it doesn't matter the engine you use. No one is gonna judge if the product ends up "good enough". Even if the engine is laughed off all the time. So don't get discouraged to use whatever.

warped narwhal
#

just made my next desktop background, I'm pretty happy with it cerbyCool

scarlet arch
#

Does Vedal not use version control? Like wtf

olive sable
#

apparently not lmao

#

"this should be a lesson to never vibe code" was a wild statement too

scarlet arch
#

I use it for everything. Like... Even offline and private projects

sour harness
#

Remember, this is the guy who created an AI streamer that broke twitch's all-time subscription record

rough bloom
#

he said "10 minutes before the stream", so I guess he just didn't commit yet kek

nocturne olive
olive sable
olive sable
#

even i use more version control apparnetly

stone cedar
#

Hype train record != concurrent subs record?
Or did I miss something big?

sour harness
#

Oh right, hype train, not concurrent subs

scarlet arch
nocturne olive
#

(using no version control system, just files on a disk)

olive sable
#

i think hes just going for bug fixing instead of reverting

nocturne olive
#

Silly

sour harness
#

Version control is ftp'ing to prod

olive sable
#

oh i apparently have 42k channel points

#

must be form the subathons

tender river
#

i dont have that much because twitch keeps marking my browser as unverified at random

scarlet arch
#

I'm at 43.1k :D

tender river
#

only 180k

nocturne olive
sour harness
#

Welp, time to warm up some food I guess

olive sable
nocturne olive
olive sable
#

bro is almost a channel point milionaire

rigid snow
#

rich

#

millioneir

nocturne olive
#

If just I could get GPUs with that

thin wolf
sour harness
#

Ohhh, timed subtitles for Evil

minor crag
#

So it worked

#

But then I found out 1 bit LLMs are a thing

nocturne olive
#

Sounds pretty useless

minor crag
#

So I'm rewriting like 70% of my code in 86 days

hoary lion
#

huh

#

1bit llms are not super useful

minor crag
#

It isn't literally a 1 bit llm

sour harness
#

I'll be impressed if there is a frontier model running on 1bit. Well, 1.56 bit if we go by that recent paper

hoary lion
#

1.58

#

not 1.56

#

log_2 3

minor crag
#

So I'm ripping off Microsoft in 86 days

olive sable
#

hi konii neuroWaveA

#

i see you typing xdx

noble zodiac
#

the typing notification is too powerful

tender river
#

matrix has read indicators

warped narwhal
olive sable
#

wut?

#

my lurking

tender river
#

on one of the discord servers i was in everyone was reacting to every single message with the same emote which kinda served as a read indicator

opaque wharf
olive sable
#

nooo the web version is fucking up again NOOO

#

fucking gltf laoder

stark needle
#

i typed

#

This is a crucial statement

olive sable
nocturne olive
#

welldoneneuro Silly

sage crag
#

sometimes i just decide im not interested in that thought any more

olive sable
#

fair

opaque wharf
#

My god the memory leak solution is legend

opaque sigil
#

me when i finish typing a paragraph but decide to scrap it and not entertain that thought any longer

opaque wharf
#

Have a memory leak? Install more RAM -Vedal987

opaque sigil
#

i like dealing with memory leaks the erlang way

#

obliterate the process and go again

scarlet arch
#

What kind of shit does he do to have memory issues

opaque wharf
scarlet arch
#

Right

olive sable
#

allocate memory i gues

scarlet arch
#

I've developed shit that lives off of 20MB ram and runs a full DPI and connection tracking. I'm scared of what he's doing

#

Or rather, what unity is doing haha

olive sable
#

ive developed shit that have no memory leaks in ram, but have major memory leaks in vram

opaque wharf
#

To be fair, programming in Game Engine is a whole other beast than CLI/headless software

scarlet arch
#

Haha

scarlet arch
opaque wharf
#

Bevy is technically not a game engine in the traditional sense I think

scarlet arch
#

Either way, very weird. Hope Vedal fixes it. Just rewrite Neuro in Rust neurOMEGALUL

sour harness
opaque wharf
#

Different model cause different issue. This is more and more cursed lol

scarlet arch
#

I thought models are just... frontend

#

Controlled by different software

opaque wharf
#

Dangit I got ads

opaque wharf
#

But if the parser somehow eff things up, it may be possible

#

Which is highly unlikely tbh

scarlet arch
#

Does Unity support memory sanitizers?

tender river
#

whatever issue it is it's with the libraries built on top of it

scarlet arch
tender river
opaque wharf
#

Hearing vedal speak about his issue is very fun to speculate what sort of fucked up shit he is doing lol

sour harness
scarlet arch
opaque wharf
tender river
#

their file format leaves a bunch of 0 bytes to put pointers in

scarlet arch
# tender river mhm

Yeah I figured that doesn't really allocate anything. If it's truly model dependent then I'd be very concerned

opaque wharf
tender river
#

its not capnproto

#

proprietary format is a feature not a bug

tender river
opaque wharf
#

Nice technique to put 0 byte reserved for ptr tho

scarlet arch
#

Give me enough models and it's reversible. I hate closed specs stare

tender river
#

but trust me you're NOT reversing it from looking at models alone

scarlet arch
#

Haha

olive sable
scarlet arch
#

I've reverse engineered network protocols before. Can't be that hard :P

tender river
scarlet arch
#

Ew

#

Nice background

#

But ew

opaque wharf
#

Did Vedal not do caching?

olive sable
tender river
#

there are also different warping methods

#

basically, no, you have to properly reverse engineer it, not just look at the models

scarlet arch
#

The formatting is making me uncomfy kekw

#

Also how'd you go about reversing it? Looking at the library/binary?

tender river
#

i have like 8-9 years of reverse engineering experience so yeah

scarlet arch
#

Neat

frank lava
tender river
frank lava
#

might try nix

opaque wharf
frank lava
wary rover
#

I read some boring stuff. Took a bit more than 5 hours

#

I now respect my computer immensely, because it might be more complex than me

tender river
#

+2k lines of code in my dotfiles neuro7

opaque wharf
#

What is raid spoiling?

tender river
opaque wharf
#

Ahhh, thanks. I only use twitch to watch neuro lol

tender river
#

(same)

wary rover
#

AstralSpiff is a good streamer too, I watch him and neuro

gritty dust
olive sable
#

its going...

gritty dust
#

... going good or...

olive sable
#

not sure yet

#

im trying to do the input stuff for sdl

gritty dust
#

ahhh I see

#

Sam can I show my dad who does coding as his job the beautiful spinning turtle with Michael Jackson lol

olive sable
#

sure lmao

gritty dust
#

Lolll

#

Time to show him peak coding

#

I need to make a new GitHub, it's been like 3 months and the support team hasn't responded on why I got suspended lol (I think it's from the middle finger detection code I wrote lol) neuro7

#

rip

olive sable
#

woudl they really suspend you for that?

scarlet arch
gritty dust
gritty dust
#

They haven't directly said why they suspended me even though I appealed 3 months ago and did a follow up every month

olive sable
#

i may have deleted my taskbar lmao

gritty dust
#

Wtf howww

#

??

olive sable
#

printscreen doesnt seem to be workign so idk

gritty dust
#

Here a fix is to delete system 32 neurOMEGALUL (kidding)

olive sable
#

good idea

gritty dust
#

Lolll

nocturne olive
olive sable
#

no not really

#

its probs cuz of explorer patcher

gritty dust
olive sable
#

seems like explorer isnt running at all, which would explain the taskabr not existing

nocturne olive
olive sable
#

No taskbar neuroSad2

nocturne olive
#

Meanwhile

opaque wharf
gritty dust
#

I'm back

gritty dust
opaque wharf
#

Oh yeah, thats weird

gritty dust
olive sable
#

ye

#

im broke

opaque wharf
#

Any more and its just distracting

gritty dust
sour harness
#

Why did commit 100 have to be a workaround hack neuroSad

opaque wharf
opaque wharf
olive sable
#

it looks lik my windows background is also gone lmao

gritty dust
#

Weird

sour harness
#

Thankfully I'm hosting on my local gitea so shit doesn't affect me

gritty dust
#

My lockscreen neurOMEGALUL

olive sable
#

Windows Classic

#

Wait guys i lied i still actually have a taskbar

scarlet arch
olive sable
#

This is the base windows taskbar i guess

olive sable
scarlet arch
#

Didn't ask for a link lol

wary rover
#

Did you censor youtube music?

olive sable
#

yes

#

my music is private info

wary rover
#

Understandable

#

Based

nocturne olive
#

Meanwhile me:

this has gotta be one of my fav covers i've ever done... and its even got special vocals! swarm is the most dedicated fanbase. ABSOLUTE CINEMA 💜

come chat w/ me on discord if u like! discord.gg/8ry5dn3UjA

NeuroSynth-BETA-3 developed by Superbox & Wispers
(actually amazing work btw)

Motifs:
Raise Up Your Bat (Toby Fox)

SUPER COOL ART BY O...

▶ Play video
sour harness
#

I hate how gitea only displays relative dates for commits like "3 weeks ago". Nice. So, what was the exact date?

opaque wharf
gritty dust
olive sable
gritty dust
sour harness
#

At least I learned you can hover over the relative timestamp to display the actual date

#

seriously, why is this a thing

opaque wharf
gritty dust
#

@olive sable

olive sable
#

which one did you send?

gritty dust
#

That one

#

Hold up

olive sable
gritty dust
#

Haha

sour harness
#

The perfect fit

olive sable
#

i have figure out movement neuroHypers

stone cedar
#

Yoo, ||crank that turtle boy|| cerbySmug

olive sable
opaque wharf
olive sable
#

jokkes on you, the model is rigged

#

i jsut need to do the shaders

opaque wharf
olive sable
#

i made that model myself

#

im a blender man

opaque wharf
#

Woah, nice

opaque wharf
#

And FreeCAD is still ass to work with evilBwaa

olive sable
opaque wharf
#

At least KiCAD is usable tho

opaque wharf
olive sable
#

its apparentlky pretty easy to do in blender, you just need to wait a long while for it to render

opaque wharf
#

If you actually compute the cloth physics then yea it will take a good while to compute

olive sable
#

iirc that one took like 10 hours even with a 3090, granted i could probably have made a bunch of optimizations if i bothered to do that
like fast gi aprox or caching some stuff in vram

opaque wharf
#

Physics usually done in the CPU so that will always be a bottleneck

olive sable
#

i do have 16 cores so idk

opaque wharf
olive sable
#

it can be

#

depends on how mny subdevisions and some other settings

opaque wharf
#

I'm used to an accurate sim rather than an artistic one I guess. And with huge ass machine

olive sable
olive sable
opaque wharf
#

But technically it should give more accurate (true to life) result

#

Also depends on the physics engine / solver

#

Too small of a sub division may make the simulation numerically unstable/yeet off to fucking wherever (as freya holmer put it)

olive sable
opaque wharf
#

Oh ye, 16 point in 4×4 grid turns into 64 point

amber fractal
rigid snow
#

triple-A engine right here

rigid snow
sage crag
#

i just got out of osu enub

opaque wharf
sage crag
#

real world

tender river
#

real neuro fumo

sick owl
#

Been doing some red teaming for what I assume is an unreleased model

#

That's not at all horrifying

gritty dust
olive sable
#

like a said before

#

anyways i have my last 2 exams in a few hours

#

goodnight

amber fractal
gritty dust
olive sable
somber tree
gritty dust
sick owl
gritty dust
tight tinsel
#

hour 2 of trying to set up this pc, apperently for the entire time the gpu wasent even being detected

#

woo

olive sable
#

Goodmorning neuroWaveA

tight tinsel
#

alright i managed to make it connect to my laptop so i can use it without a monitor

#

gpu not being detected is probably because i dont have drivers so ill do that soon

#

no wifi card problem is """solved""" by connecting it using an ethernet cable to my laptop and then network bridging

#

which is so incredibly convoluted but its alright

gritty dust
olive sable
#

I have my last 2 exams so ye

hoary lion
#

hi i was not here today but anyway goodnight

#

I forgot to write my journal

#

lol

safe path
#

i cant use zoom screenshare until this is fixed

#

the fix is alr accepted but its not landed onto webrtc yet feelsWeakMan

#

struggle feelsWeakMan

opaque sigil
#

just tell the others to rotate their screens neuroPogHD

#

or necks i guess

safe path
#

i think ill just side install i3 tbh

safe path
#

surely i dont need that much effort to use a shared config between sway and i3

#

x11 didn't have this issue

#

why is this so sad

#

also it is bonkers to me that xdg-desktop-portal-wlr relies on xdg-desktop-portal-gtk for screenshots

#

in what dimension does that make sense feelsWeakMan feelsWeakMan

opaque sigil
#

it does?

safe path
#

it does

#

i uninstalled portal-gtk and flameshot stopped working

opaque sigil
safe path
#

from dbus monitor the screenshot method is just no longer registered

#

i checked with portal-gtk installed and confirm that the provider is still from wlr

#

then i checked online and it turns out -wlr depends on -gtk specifically only for screenshots

opaque sigil
#

this reminds me of a really small program that depends on gtk for file dialogs, forgot what it was though

safe path
#

tbh its weird that it relies on -gtk, the source code doesn't say anything

#

does -gtk pull something extra that -wlr relies on that isn't somehow automatically pulled when i installed the -wlr package

#

oh maybe i misunderstood, i might just be using -gtk cause im somehow missing grim

dry charm
#

that sounds like a dep issue, where -gtk install/initializes the protocol for screenshot tbh

#

cause it is supposed to be using dbus no?

dry charm
safe path
#

i also just checked, i do have grim

#

so tbh i have no damn clue

#

whatever, if gtk works then it works im not gonna think about it FOCUS

hard raptor
#

Wasn't hyprland gonna have a premium subscription or something?

dry charm
#

what?

hard raptor
dry charm
#

OH @safe path are you using XDG_CURRENT_DESKTOP=sway for flameshot?

safe path
#

nodders am using sway

#

yes i have that set

dry charm
#

what the fuck

dry charm
#

not the whole hyprland

midnight sigil
#

so we have ^^

#

insert cat ears in my cpp!!

olive sable
#

Im done with my exams evilHyperYay

hard raptor
olive sable
#

Most of it went well

#

Im slightly worried about history and chem

#

Anyways i have vacation now neuroCool

trim valve
#

gj discord on the typo

#

wait no I misread I think

#

just weirdly worded

opaque wharf
#

I'm back. And I will make it everyone's problem

jagged turtle
trim valve
#

some ad about boosting

jagged turtle
#

that sounds stupid

#

not the perks part, the perks are good

just the yap about how it works like brother be more specific

uneven pulsar
uneven pulsar
olive sable
#

No

#

I get paid more for not having a job

uneven pulsar
olive sable
uneven pulsar
uneven pulsar
olive sable
#

Chem

#

I have no fucking clue whati was doing

#

Redox reaction balances and pH values

uneven pulsar
olive sable
#

Im a python pro so eh

uneven pulsar
olive sable
#

Aight brb

#

Getting of bus

uneven pulsar
#

i am an idiot in python

#

I just had ram added to mine so I can run a local k8s node while compiling some backend monolith while watching neuro with a game tabbed out

uneven pulsar
#

oracle: eats 16mb insert file in 5 minutes with minimum 4gb ram
pg: same file 20s 200mb

#

DO

scarlet arch
uneven pulsar
scarlet arch
#

that.. doesnt mean anything?

#

wonder how clickhouse would deal with that file :D

#

anyway, lunch nyaaMunch

tight tinsel
#

pc is finally set up

#

got vdd so i dont need a fat monitor clogging up my desk and i can just parsec into it

#

uhhh what else

#

still need to set up some stuff, debloating windows

#

but it should be functional

uneven pulsar
#

idk i think PostgreSQL is great

topaz tendon
#

idk if this made the news here, but apparently Discord just rolled out AV1 embed/upload support

#

Seems legit

rare bramble
uneven pulsar
sick owl
#

Does this make them the first country to appoint an AI to a government position?

oblique moon
#

Now we just gotta get Neuro in there when they aren’t looking.

lapis wraith
#

Neuro's rights neuroHypers

stark needle
#

💀

olive sable
#

im sure that will hold up

ruby timber
#

Your honor, my client is illiterate, therefore he cannot read the law

tight tinsel
#

i cant believe the person who was streaming a pc game on his jet dosent own a laptop!

stark needle
olive sable
#

you must understand, he was using his fridge

#

your honor, a fridge does not count as a computer

uneven pulsar
#

"hey openai u broke promise"
"ok but u really no use pc??"

rough bloom
trim jungle
#

Hi programming chat

#

What's this about Elon?

#

I've been under a rock this past week

olive sable
uneven pulsar
trim jungle
#

Checks out

#

Goated pfp+border btw neuroHypers

uneven pulsar
#

heart neuroHeart

trim jungle
#

Is he still on the us government?

#

Kinda cringe tbh

olive sable
#

#politics NODDERS

trim jungle
#

Mb

olive sable
#

nah im joking

uneven pulsar
#

jokes are the politics of the funny bone

#

my motivation to interview prep is gone

#

help

trim jungle
#

Just hash everything NeuroClueless

rough bloom
trim jungle
# uneven pulsar help

Whenever I lose motivation I play a fromsoft game for a few minutes and visualize the man I wanna become...

olive sable
trim jungle
#

Nightreign's been my only source of cope this past week

uneven pulsar
#

i did not expect to find a "vedal femboy" gif but here we are

trim jungle
#

Surely accurate

uneven pulsar
#

also leetcode is more boring than I expected

#

(how do people exist without auto complete)

trim jungle
opaque wharf
olive sable
#

doodling on pc is a bit hard

trim jungle
uneven pulsar
#

or real

trim jungle
#

It's real NeuroClueless

uneven pulsar
#

i lost hope in vedal

olive sable
#

its real

#

but its not actually vedal

#

just a random dude cosplaying vedal

trim jungle
#

Nah. It's actually vedal NeuroClueless

olive sable
#

the raytracing is too good for it to be ai

#

cuz its like, actual physics

trim jungle
#

Veo 3 makes some videos look really legit though

opaque wharf
uneven pulsar
opaque wharf
#

For even Filian could flip Vedal

olive sable
trim jungle
#

But what if vedal uses 100% of his back?

olive sable
#

we would all die

#

thats like an apocalyptic nuclear event

trim jungle
#

The man is carrying the whole ai content creation on his back

#

Have you seen those videos with veo 3?

#

Most of them now look super realistic

olive sable
trim jungle
#

And then here on LATAM they make grandads jump and do backflips

opaque wharf
scarlet arch
#

god I love 94 commit rebases..

#

only 4 conflicts tho :D

wary rover
#

Spent 3 hours reading what is cache. Still don't really understand what is cache

nocturne olive
#

CPU cache?

wary rover
#

I love computer science

#

Yeah, that's the issue. Like there is a part of CPU integrated memory thing that is cache, there is also like a micro cache thingy that stores the pointer, then there is a cache in the realm of coding that is specific for every app that has it

#

So it got me very confused

#

But now I know what is memory allocation and how it works (in very broad sense)

olive sable
#

afaik cache on cpu is just the values currently needed and/or frequently needed

nocturne olive
#

Well, the CPU has the cache and registers, the registers are the fastest locations on the CPU, the cache comes in multiple levels, with the lower levels being faster to access
The CPU's cache is a bunch of very fast memory on the CPU where recently fetched data is stored, which is designed so that reading the same data repeatedly will be faster since it'll already be in the cache

nocturne olive
#

When a value is accessed from main memory, it gets copied to cache, if it gets read again it's read from the cache

wary rover
#

The cache hits!

uneven pulsar
nocturne olive
#

That's not really an understandable summary of what I said

uneven pulsar
uneven pulsar
wary rover
#

I believe that if data is drawn from CPU memory and doesnt need to be searched for its called cache hit

uneven pulsar
#

its just accessing memory data

#

i mean i dont know your just accessing the cpu memory and seeing how fast it is?

olive sable
#

ive always thought of cache layers like in irl, fastest is whats next to you on your desk, after that you have the stuff in the same room, then the stuff in the rest of your house.
ram is like getting is from a warehouse and ssd is gettign it imported from overseas.
idk but it makes sense to me

opaque sigil
#

it's a basic hierarchy

#

the closer the faster

#

try accessing faster first before trying slower

nocturne olive
uneven pulsar
uneven pulsar
#

.......

#

i sometimes forget what i am even talking about

#

most of the time i feel stupid

#

but idk why now ny brain is working

opaque sigil
#

the only thing you really need to know is that ideally you want to reuse memory and do sequential accesses

#

rest is handled by the hardware for you

olive sable
opaque sigil
#

sth sth temporal and spatial locality if you want some words for it

uneven pulsar
#

idk what to now say

opaque sigil
olive sable
#

ideally you limit the amount of data you're passing around. either by reusing it if possible or by making it as small as possible form my experience

#

for example instancing instead of making 1000 times the same mesh

uneven pulsar
#

this gives me c++ vibes

wary rover
#

Also I understood that stack has an order and is sequentially added to memory, while data from the heap is being tossed haphazardly in the memory space that was allocated and allowed by the OS, so if you will try to put the stack in this general area you might run into the issue, that this space is being "littered" by pieces of heap data, so you will have to allocate more, which is called external fragmentation, but why can't you allocate the heap in the stack-like way, just placing pieces of it tightly one after the other instead of "shotgunning" them into allocated region? Kinda a mystery to me rn

olive sable
uneven pulsar
uneven pulsar
opaque sigil
maiden geyser
uneven pulsar
#

i should use a spas 40

wary rover
#

Also I know why stack overflow is called like that now

#

That was a cool discovery

opaque sigil
wary rover
#

I'll go watch some more memory related stuff, I really liked it. You have fun guys!neurooper

opaque sigil
#

have fun neuroPogHD

#

i would love to have fun but texas instruments says no

maiden geyser
#

is this the first ever Low Level stream

olive sable
#

c++ isnt hard, its just a pain i guess.
just spent 10 min bugfixing a missing ;

opaque sigil
#

was it glsl at least

olive sable
#

no

#

it was just very roundabout about it cuz it was part of a class that im using inside a diffrent class, and both of those are inhereting from a base class

#

this basicly

rough bloom
olive sable
#

ive had enough memory issues already

rough bloom
#

you're still using C++, so clearly not catSUS

olive sable
#

i woudl rather have 100 memory leaks than rust

opaque sigil
#

why not both

olive sable
rough bloom
#

true, leaking memory is okay in Rust

#

it's bad, but not unsafe

uneven pulsar
olive sable
#

we dont need an alert for this, weve been over this

uneven pulsar
#

bwaaaa

olive sable
#

bwaa

rare bramble
#

though Rust is also pretty good with preventing memory leaks, since it tries to keep as much things in stack as it can and only use the heap when it needs to. C++ on the other hands just throws random stuff into heap whenever it feels like it

olive sable
#

you could micro-manage it im pretty sure

#

at the end of the day im compiling to wasm anyways so idk if it actually matters that much

wary rover
#

Rust has borrowing an ownership which avoid the step with heaps and garbage collector, so if you are good enough you can make your code memory unleakable. I think

rough bloom
olive sable
#

Rc?

rough bloom
#

reference counted pointer

rare bramble
#

ye, runtime reference counting

rough bloom
#

if two of those somehow keep each other alive, then their reference counters will never be 0 and so they will never be dropped/freed

olive sable
#

ah

#

i mostly have issues with my refernces not being kept alive

#

doing a cheeky std::shared_ptr since i have no real solution

wary rover
olive sable
#

never

rough bloom
opaque wharf
olive sable
#

TI connect?

#

its usable...

rough bloom
olive sable
#

CLR?

opaque wharf
#

Btw @wary rover , cache is just another storage. RAM is also a storage. Register is also a storage. The difference is how the CPU access those. Cache is usually close to the CPU so the signal has to travel shorter distance than the RAM

olive sable
#

almost everything a pc does is just storage

opaque wharf
#

A calculator that could connect to computer despair

olive sable
#

their calcualtor connector app has a built in ide for writing ti basic

rough bloom
opaque wharf
olive sable
#

that does not help

#

.net is the c# thing no?

opaque sigil
rough bloom
olive sable
#

ah

opaque wharf
olive sable
#

huh

maiden geyser
rough bloom
#

Common language runtime

olive sable
#

its awfully slow, but it works i guess

rough bloom
#

that reminds me, some TI calculators (including that one I think) are overclockable, and it's actually somewhat useful kek

#

makes graphing way faster

opaque wharf
rough bloom
#

I don't think it even changed any actual clock, just memory timings or something

olive sable
#

mine isnt overclockable, but it is possible to lower the wait state

rough bloom
#

yeah, that

olive sable
#

never bothered to actually do that tho

scarlet arch
opaque wharf
#

Slap them now

opaque wharf
desert wave
scarlet arch
scarlet arch
opaque wharf
#

I legit think you should use pijul if you're doing that many changes at once quite often

scarlet arch
#

nah we rebase this branch maybe every two weeks, takes at most a day, but not because of conflicts but rather because of reference files that need updating and that takes a while

#

it's already rebased and the code is fine. the thing I'm doing right now is just updating reference files in commits that need it

opaque wharf
#

That's good to hear at least

scarlet arch
#

I even fully automated it :P

#
git rebase -i --exec "if git diff-tree --no-commit-id --name-only -r HEAD | grep -q 'tools/<diff tool>/ref'; then echo 'Running tests - reference files changed'; cd <project>; make <find diffs>; else echo 'Skipping - no reference changes'; fi" origin/master
opaque wharf
opaque wharf
scarlet arch
#

funnily enough, a second branch depends on that branch, and that one has equally as many commits

#

and another branch depends on that one. kekw

#

this mess should be over in two months or so

opaque wharf
#

Really growing and nurturing that tree huh

scarlet arch
#

just checked, about 20 active branches

opaque wharf
#

But with big enough project I think it is the best practice possible

scarlet arch
#

oh yeah definitely. works well for us

olive sable
#

"I’ve been coding in C and C++ for 40 years, now that im finally gettign good at it"

opaque wharf
#

Oh it gets better Sam, don't worry NeuroClueless

maiden geyser
olive sable
#

do you have something against him? neurOMEGALUL

tender river
maiden geyser
# olive sable do you have something against him? <:neurOMEGALUL:1097297318119743638>

Hello, my friends! Let's hit 20K likes? Check out my website! https://enderman.ch
❗Dave took down this video with a fraudulent copyright strike in the morning of April 13th, 2025. The video was reinstated in the evening of April 14th, 2025.
https://x.com/endermanch/status/1911338535002550324
Today I am going to tell you a tale of SoftwareOnlin...

▶ Play video
olive sable
#

ah

#

hmmm

opaque wharf
#

Also don't use new operator on latest C++ I think

tender river
#

hm? why?

opaque wharf
#

Isn't object creation now handled with smart pointer?

olive sable
#

ye the evidence is pretty damning

#

but scamming people is the microsoft way so evilShrug

maiden geyser
#

was scamming people before it became mainstream

olive sable
#

even if you leave the company, the company never leaves you

opaque sigil
olive sable
#

im using them at least

opaque sigil
#

Imagine if you could have their benefits without the runtime overhead, that'd be so nice Gladge
Too bad we don't have the technology

tender river
#

toast about to invent the st monad

olive sable
#

i currently dont have a diffrent way to deal with the memory life issues so idk

opaque sigil
#

Arenas neuroPogHD

olive sable
#

a new fighter has...

#

so what are arenas?

opaque sigil
#

They let you group allocations into a single lifetime, you just free the entire arena at once

opaque wharf
warped narwhal
#

god that reminds me of a lifettime allocator I made in c++. It was an RAII class, and you would pass it to your vector or whatever, but the class would just ignore calls to free, and it free's all it's allocations when it is destroyed

sage crag
#

yes that is an arena enub

opaque wharf
#

I love it when you're explaining the concept to someone and they argue against it but as you explain it more and more they slowly come up to the things that you're explaining in the first place

warped narwhal
sharp mantle
#

chatGptFor500dollars (from r/ProgrammerHumor)

uneven pulsar
#

i can do that

sharp mantle
#

just a wrapper? xdx

uneven pulsar
#

get a domain, redirect to gemini

#

bam

sour harness
#

set up and skin open webui, use others as backend, done

uneven pulsar
#

ain't doing all that for 500

sage crag
#

managed to get hblang hello world down to 531 bytes

warped narwhal
sage crag
#

the only way this can get smaller now is code optimisations, most of which are only possible if the _start is unified with the main

#

i could make the binary smaller myself by optimising the program of course

opaque wharf
#

Or forego software and just make hardware neuroTroll

sage crag
#
_start:
    sub rsp, 0x08
    mov rax, 0x02
    mov rcx, [rsp+0x08]
    add rax, rcx
    mov rdi, rsp
    add rdi, 0x10
    mov rsi, rax
    sub rsi, 0x02
    call :main
    mov rsi, rax
    mov rdi, 0xE7
    mov rax, rdi
    mov rdi, rsi
    syscall
main:
    push rbx
    sub rsp, 0x08
    mov rbx, 0x01
    lea rdx, [0x0000000000000007]
    mov rcx, 0x0C
    mov rsi, rdx
    mov rax, rbx
    mov rdi, rbx
    mov rdx, rcx
    syscall
    lea rdx, [rsp]
    mov rax, 0x0A
    mov [rsp], al
    mov rsi, rdx
    mov rax, rbx
    mov rdi, rbx
    mov rdx, rbx
    syscall
    mov rax, 0x00
    add rsp, 0x08
    pop rbx
    ret

right now still pretty bad

warped narwhal
#
lea rdx, [0x0000000000000007]

MONKA

sage crag
#

the two syscalls in main are because im separately writing hello world and \n lol

sage crag
sage crag
#

its ok

olive sable
#

remember when my brother bought a new laptop over a $60 part breaking?

#

well, my sister is going to be needing a new laptop for school and we're giving the broken one to her now neuroHypers

#

no e-waste

#

lenovo 15itl05, only 8gb of ram but besides that its decent

#

also, aint no way they're making the usb-c output higher res than the fullsize hdmi port

opaque wharf
opaque wharf
olive sable
#

its my sisters laptop now, and its for school

#

so VERY BIG NO

#

im just waiting for the new part to arrive this friday

sage crag
opaque wharf
#

Indoctrinate the youngling early to linux

olive sable
#

cuz linux is unusable for most people

tender river
#

i wouldnt say that actually

#

its usable for most people if you use a beginner friendly distro

#

its when you have to do some "mid-skill" stuff that a layperson wouldnt be able to do anyway that windows becomes more convenient

olive sable
#

fair, but still i need something that my sister can use without issue

#

i dont get paid for tech support

opaque wharf
#

Depends on the school honestly. If they use mostly google docs/office 365 then your sister is good for linux

olive sable
#

idk what they use tbh, but the old one has obs and pycharm preinstalled

#

for some reason

opaque wharf
#

Both are available on linux so still safe

olive sable
#

look im not trying to say linux is bad, cuz its not

#

but it jsut isnt an option

opaque wharf
#

Yeah fair

olive sable
#

my sister knows windows, the school teachers know windows. this will make it easier

#

and i also dont really feel like installing a new os on it

cosmic sphinx
#

@sick owl new feature on AI studio
we might (?) have better resolution for images/video now

#

sure works better than last time I guess, wasnt able to correctly decipher this previously

#

real game begins when they add 'High'

opaque wharf
#

It seems like the memory and intelligence upgrade is working good now

sour harness
#

No more thesaurus rants neuroSad

sage crag
#

hheelllloo,, wwoorrlldddlrow ,olleh

#

still smaller than c hello world

opaque wharf
opaque wharf
sage crag
#

before:

$for_each := fn(self: ^Self, $func: type): void {
    loop {
        x := self.next()
        if x.finished break
        _ = func(x.val)
    }
}
```after:
```rust
$for_each := fn(self: ^Self, $func: type): void {
    while x := self.next() _ = func(x)
}
opaque wharf
#

Man, neuro pause when mentioning S.S. Duck-sama is something else lol

opaque wharf
sage crag
#

discord doesnt even support zig syntax

#

lol

opaque wharf
#

That would be wicked if they did neurOMEGALUL

rigid snow
#
Content-Security-Policy: default-src 'self'; script-src 'self' https://trusted.com; img-src 'self' https://images.com;
#

???

rigid snow
#

explain why CSP syntax highlighting is needed??

sage crag
#

look up the list

rigid snow
rigid snow
opaque wharf
rigid snow
sage crag
#

xquery, vimscript, god damn "test anything protocol"

sage crag
#

yes

#

"angelscript"

#

"cap'n proto"

opaque wharf
#

Eyy, no flatbuffer wtf

sage crag
#

straight up "papyrus" enub

#

but no zig

rigid snow
#

neuroSadge not the font

rigid snow
#

that wasn't a question, how do you think syntax highlighting for a font would work

tender river
hoary lion
#

jesus what is this

sage crag
rigid snow
# hoary lion jesus what is this

Glyphs.app apparently (actual link, not accident)

#

actually goated branding tho, everyone seems to call it Glyphs.app because macos and it's the domain

real sierra
#

0FA

sage crag
#

A

olive sable
#

chatgpt is down?
i need it to help me with pointers bwaadow

rigid snow
olive sable
#

guess ill go try gemeni

olive sable
#

i have 2 classes.

class Camera: public Object
{
    public:
        glm::vec3 forwards;
        float zoom;

        Camera(glm::vec3 center): Object()
        {
            forwards = glm::vec3(0,0,1);
            zoom = 3.0f;
            position = center;
        }
        ~Camera()
        {
        }
};
class Player: public Object
{
    public:
        Camera cam;

        Player(): Object(), cam(position)
        {
            position = glm::vec3(0,0,0);
            eulers = glm::vec3(0,0,0);
            glm::vec3 forwards = glm::vec3(0,0,1);
        }
        void update()
        {
            makeTransmat();
            cam.makeTransmat();
        }
        ~Player()
        {
        }
};

it would be pretty cool if the vec3 for center was a pointer instead of a copy

olive sable
#

i know

olive sable
zealous cobalt
#

ah

#

me blind

zealous cobalt
rigid snow
olive sable
sage crag
zealous cobalt
olive sable
#

yes

rigid snow
#

did we

sage crag
#

ideally you would use a reference instead

olive sable
#

kowalski analasys

opaque wharf
final river
#

hire me vedal

sage crag
#

though

#

you cant change the reference value afterwards

#

so use ptr if you want to change it at any point

rigid snow
opaque wharf
#

So
Step 1: Buy a book
Step 2: Overfit the hell out of said book
Step 3: AI output can't be copyrighted
Step 4: ???
Step 5: Profit?

rigid snow
#

damn

#

shoulda kept quiet and made bank

sage crag
#

problem: ai input can be copyrighted

opaque wharf
#

And just then, training for AI is fair use

rigid snow
#

buying the book illegally neuroMonkaOMEGA

opaque wharf
rigid snow
#

buying

final river
opaque wharf
sage crag
opaque wharf
#

As in, it's not printed by a legal publisher

sage crag
#

(dont get on the bad side of publishing agencies they will send you to a new realm)

rigid snow
opaque wharf
# sage crag its not fair use because the terms for ownership of a copy of the book and owner...

The Northern District of California has granted a summary judgment for Anthropic that the training use of the copyrighted books and the print-to-digital format change were both “fair use” (full order below box). However, the court also found that the pirated library copies that Anthropic collected could not be deemed as training copies, and therefore, the use of this material was not “fair”. The court also announced that it will have a trial on the pirated copies and any resulting damages, adding:

sage crag
tender river
rigid snow
#

i should make up my own laws and tell them to people so they commit crimes

opaque wharf
sage crag
olive sable
#

and its beautiful

opaque wharf
tender river
#

i think theres a level of cursed past which you want more rather than less

rigid snow
sage crag
#

i swapped

@syscall(1, 1, any.ptr, any.len)
@syscall(1, 1, &'\n', 1)
``` for `@syscall(20, 1, .(any, "\n"), 1)`
and i gained 29 bytes ![neuroBritish](https://cdn.discordapp.com/emojis/1187548551144820857.webp?size=128 "neuroBritish")
opaque wharf
#

Okay fine, do it

tender river
#

any are you okay

olive sable
sage crag
olive sable
#

i think so?

opaque wharf
olive sable
#

is there a reason for it to not be?

olive sable
#

you should do keeto

sage crag
olive sable
#

huh

sage crag
# olive sable huh

if the thing owning the value at position gets deconstructed or moved, position will go bye bye

olive sable
#

i guess it works as long as player's position is valid

tender river
sage crag
#

this is also true

tender river
#

and this is leaving aside the fact pointers are a massive pain to deal with because of lifetimes

sage crag
#

you dont save any computational efficiency by using a pointer instead of a value

olive sable
#

i thought it would be better cuz of using the same vector?

sage crag
#

its better in terms of memory efficiency, but all you save is 3 bytes per camera

tender river
#

basically, instancing is not done via pointers

#

its done via better code structuring

sage crag
#

since you are only going to have a few cameras in any one scene, it makes a lot more sense to just leave it as an owned value

olive sable
#

the main focus is speed, not really memory usage

sage crag
tender river
#

this has nothing to do with memory usage honestly

opaque wharf
olive sable
#

i thought copying the array was slower

tender river
#

its not an array though?

sage crag
olive sable
tender river
#

whenever you have a pointer, you must also think "when should i free it"
if you can't answer, chances are you should rethink your architecture

sage crag
tender river
sage crag
#

its pointless (pun intended)

tender river
olive sable
sage crag
olive sable
#

yes

tender river
#

there is a valid answer btw

#

and shared ptr is the wrong answer

sage crag
#

bool is_freed glueless

olive sable
#

wdym share the pointer?
i thought only the camera class would have a pointer?

sage crag
#

shared ptr is a standard ptr

#

anything can read it and anything can write it

tender river
sage crag
#

there is no explicit ownership

olive sable
#

huh

rigid snow
#

ok chay maybe you were right about rust being a better learning tool

sage crag
#

just use an owned value enub

tender river
#

tldr sam - just consider pointers the spawn of satan and dont use them unless you're very sure of it

sage crag
#

its harder to make your program segfault that way

olive sable
#

well yes, those 16 bytes dont matter

sage crag
#

and the level of micro-opts to use pointers is genuinely inconsequential compared to the actual usage of the engine

olive sable
sage crag
#

what

olive sable
#

valid response

tender river
#

shared_ptr lol

#

well, you can write python in c++, so enjoy

olive sable
#

it needs to be done this way cuz of otherwise the object gets deleted

sage crag
#

shared_ptr is a smart pointer evilsmol

tender river
#

its the same as a gc cell in python

sage crag
olive sable
#

cuz the copy doenst retain the opengl bindings for some reason

sage crag
olive sable
#

i shoudl look into why that is but the gltf loader code is not mine and im scared of it

tender river
#

you might want to use move constructors

olive sable
#

NeuroClueless ahyes, move constructors

#

@grok what is a move constructor

olive sable
#

thanks grok

tender river
#

construction sets (like lego) are called constructors in russian which is probably somewhat confusing to people new to programming

olive sable
#

i used to have a building system named "construx" at my grandparents

#

was very poggers, but 3x my age so all the plastic started breaking bwaadow

rigid snow
sage crag
#

p

gentle bear
olive sable
#

i dont speak russian so im not gonna make any statements about it

olive sable
opaque wharf
rigid snow
#

unc alert

olive sable
#

i forgot balckberries existed

#

thats not part of my pop culture reference list lmao

opaque wharf
olive sable
#

oldge

opaque wharf
#

I'm probably the same age as chay

tender river
#

well i have never used blackberry

opaque wharf
cosmic sphinx
#

imagen 4 available in ai studio at last..

tender river
#

my first phone had a 128x128px display and in 5th grade i bought myself an android phone

olive sable
rigid snow
#

omg the passport was the coolest thing ever

opaque wharf
#

My first phone is a phone with Java-based OS, had a shitty display, and not qwerty keyboard

tender river
#

i doubt it was actually java based