#programming

1 messages · Page 393 of 1

real sierra
#

could certainly have it if need be

#

but i wanna fully rule out automod as a solution first

hollow matrix
#

The angle brackets

glad path
real sierra
#

being platform-native, it's a far cheaper option

#

and far more performant

stray dragon
#

yeah it sees unfinished angle brackets and wants to correct the link inside

hollow matrix
glad path
#

it works

#

for all links by the way

stray dragon
#

maybe it sees the > things as run-on line continuations?

hollow matrix
#

OK Discord is shit, that's really the main takeaway from this I feel

stray dragon
#

they're gonna go public soon

glad path
real sierra
#

the real solution to this is

hollow matrix
#

Anyway brb

stray dragon
#

and then it'll all keep going downhill but faster than usual

real sierra
#

automod should run on the original and post-formatting text

glad path
#

i dont know

real sierra
#

good one

glad path
#

actually

real sierra
#

ive done my due diligence for the night

glad path
#

just

#

just uh

real sierra
#

im going to eat some chocolate and then go to bed

glad path
#

instead of waiting and monitoring chat

stray dragon
glad path
real sierra
glad path
#

maybe 6

stray dragon
#

but is it a critical security flaw for discord

#

because otherwise it is NOT getting past their ai filters for what constitutes a worthy complaint

real sierra
#

walk into an official discord-run server and start sending links with this shit in it

stray dragon
#

perhaps there is a chance

stray dragon
real sierra
#

when they realize they can't figure out a good regex for it they'll update the whole platform

stray dragon
#

honestly the best way to fix the issue i think

real sierra
#

(PSA: dont actually do this, that would be a server raid, in fact a server raid on the people running the platform)

#

but yeah it would be some malicious compliance shit

stray dragon
#

they give us no other option

jagged turtle
hollow matrix
real sierra
#

i mean im not sure any flavour or extension of regex makes this problem any easier

stray dragon
#

in this case: not needed

jagged turtle
#

im aware I'm just saying the regex just sucks in general

stray dragon
#

fair

real sierra
#

i do have to wonder, why rust regex

jagged turtle
#

probably because discord backend uses rust

stray dragon
#

news to me honestly

#

not too surprising i guess

jagged turtle
#

idk what they actually use but wouldn't surprise me

stray dragon
#

maybe the one unpaid intern likes rust

jagged turtle
#

or the rust cult took over discord dev team

#

💀 webpack

unkempt citrus
jagged turtle
#

why settle on one technology

#

when you can have 4

#
  • react tsx
hollow matrix
jagged turtle
#

also wtf are they using python for

unkempt citrus
#

Glue

hollow matrix
unkempt citrus
#

Its supposedly for their API

unkempt citrus
#

Back in 2015, Discord chose two main languages to build their infrastructure: Elixir and Python. Elixir was initially picked to power the WebSocket gateway, responsible for relaying messages and real-time replication, while Python powered their API.

stray dragon
#

it's been out but hidden for a while

#

long while yeah

hollow matrix
young plover
# real sierra i do have to wonder, why rust regex

The rust regex crate has bounded complexity, which requires stripping out some features, but also means they can run untrusted regex on their servers without accidentally running some ⁨O(n^1000)⁩ regex bomb

stray dragon
#

was unhidden for a short period but it's still there if you know how to show it

real sierra
#

i see

stray dragon
#

someone say "happy birthday shiro" so we can change the summary

unkempt citrus
#

Happy birthday shiro

real sierra
hollow matrix
real sierra
#

dont you dare

jagged turtle
#

happy birthday shiro

real sierra
#

i dont know what it is about the summaries

hollow matrix
stray dragon
#

happy birthday shiro

real sierra
#

but literally anyone says hbd like one time

#

and the summary WILL change

stray dragon
#

yeah

#

it's great

real sierra
#

it's so consistent

stray dragon
#

watch it appear in 5 minutes

real sierra
#

at making that the central topic

jagged turtle
#

well, I guess this explains why chat features are so slow

real sierra
#

FIVE omega

unkempt citrus
#

That was in 2020 tbf

jagged turtle
#

and so broken

unkempt citrus
#

its probably like 4 now

jagged turtle
unkempt citrus
#

So what are the other 495 people doing

amber fractal
#

marketing

hollow matrix
unkempt citrus
#

Like sure you have UI, admin, deveops, dbas

#

but if the chat engineering team is 5 people

real sierra
#

they maintain the ticket databases so they can store all of those government IDs they're supposed to delete YES

young plover
stray dragon
#

DAMN IT!!!

#

shiro it failed

#

you're safe

#

this time.

amber fractal
#

no extra hbd SMH

hollow matrix
#

HAPPY BIRTHDAY SHIRO neuroDinkDonk

#

HAPPY BIRTHDAY SHIRO neuroDinkDonk

#

HAPPY BIRTHDAY SHIRO neuroDinkDonk

stray dragon
#

HAPPY BIRTHDAY SHIRO!!!!!!!!!

unkempt citrus
#

HAPPY BIRTHDAY SHIRO neuroDinkDonk

real sierra
young plover
opaque wharf
#

Happy birthday Shiro!

young plover
#

HAPPY BIRTHDAY SHIRO neuroDinkDonk

hollow matrix
#

That'll do it mhm

amber fractal
stray dragon
#

yeah probably

hollow matrix
#

I think it needs like at minimum 3 messages

stray dragon
#

nah it depends on how cohesive the rest of chat is i think

amber fractal
#

Can we give the summary bot a question to answer neurOMEGALUL

stray dragon
#

if there's nothing else it likes to latch on to "happy birthday"

amber fractal
unkempt citrus
#

it can be 2

real sierra
#

i found out a while ago you can prompt inject google's AI

jagged turtle
hollow matrix
real sierra
hollow matrix
amber fractal
#

and of course gamble on noise

unkempt citrus
#

There was a period where you could google certain things and the ai would respond in chatbot mode rather than summarising results

#

I can't find any pictures atm

hollow matrix
amber fractal
#

I see nothing wrong here, it is a real outlet after all glueless

azure lynx
#

literally says it's America's Finest News Source right on the tin.

hollow matrix
#

You could google something like "how many rocks should I eat" and it would tell you it's recommended to eat like 15/day or something neurOMEGALUL

amber fractal
azure lynx
#

it depends on your activity levels obviously

jagged turtle
#

oh boy I wonder what's going to happen here

amber fractal
#

slooooooop time

hollow matrix
#

@lucid sonnet

hollow matrix
amber fractal
#

waiter, more slop plz I need more sauce for the spaghetti

jagged turtle
#

oh it's about them building stuff that uses AI

#

not them using AI to build

young plover
jagged turtle
#

still kinda funny tho

hollow matrix
#

ye

jagged turtle
hollow matrix
jagged turtle
#

"most actively developed" implies they use more than just those langs

#

which ngl actually kinda scares me

hollow matrix
#

How much of discord is COBOL neurOMEGALUL

amber fractal
#

here before nix deployment reveal

real sierra
#

that one legacy PHP script that nobody can deduce the inner workings of anymore: b1lanfurry

hollow matrix
jagged turtle
#

oh lovely they do remote development environments and immediately realise that sending all of that html/css/js over is such a bad idea

azure lynx
# jagged turtle <:evilWheeze:1131316260353867887>

omg. i know Elixir. As in I once had to do security audit of a codebase written in Elixir. And I still found several vulnerabilities despite not actually being able to explain the language.
and i've never seen the language again.

jagged turtle
young plover
jagged turtle
#

if the app is so large

azure lynx
#

they need to make it slower so I can read the loading messages. i get part way through the "Did you know you can..." thing and it's gone

opaque wharf
#

I have decided to ditch rust GUI project and back to QT

hollow matrix
jagged turtle
#

what devs are not comfortable on the command line neuroStare

jagged turtle
#

engineering blogs are a gold mine

#

you learned some best practices after a memory leak

azure lynx
jagged turtle
#

why is this an article in the engineering & development category

azure lynx
#

the console with powershell/cmd whatever. i can get one or the other to automatically come up, so i can't easily test the python parts with the C++ parts without opening a prompt myself

#

i'm guessing for the same reason they have a monorepo?

hollow matrix
azure lynx
#

"lack of internal organization and no clear idea of a good structure for where things should go" seems like an excuse for both

jagged turtle
hollow matrix
opaque wharf
hollow matrix
amber fractal
#

discord is a functional platform with no active bugs

unkempt citrus
olive sable
#

Half the links and stuff dont work on mobile

#

The files and stuff

#

So ill have to backread again bwaadow

olive sable
hollow matrix
#

It's basically Shiro dying over the fact that a scammer found a way do use discord's link autocorrect to turn something that barely resembles a link into a link, so it isn't caught by automod

opaque wharf
glad path
#

shrio actually might have fixed it i think

#

sorta

#

idk

real sierra
#

will brainstorm something better for the long-term

olive sable
#

I respect how the mods take a lot of their own time and spend it here

#

But modding and stuff just takes the fun out of discord for me

unkempt citrus
#

Have you tried mod abuse?

#

it adds quite a lot of spice back in

real sierra
#

I wouldn't say it's a very fun task

#

but I really like helping others so it gives me some sense of reward to be able to assist members of a community I care about like this

#

certainly not the only way to help and not something everyone is suited for

olive sable
#

If it was just the handfull of channels im active in id be fine with it

#

But its not

real sierra
#

yeah, once again very fair

#

luckily I'm active in almost every channel here

#

except artist alley because I suck at art

#

and gaming because I suck at umamusume

olive sable
rigid snow
#

artist alley isn't very active

#

you can open it once a day and do 20s of backreading and you're not missing anything

dusky jackal
#

It has its moments.

opaque wharf
#

Moderating General and NN however, neuro7

thick karma
#

yolo

olive sable
thick karma
#

I've seen it being used

#

in Roblox game arbiters, regular projects etc etc

jagged turtle
olive sable
#

"performance, type safety, concurrency, and memory safety"

#

supposedly

jagged turtle
jagged turtle
#

i've not heard it be called good for concurrency

#

usually go is what I hear about that

olive sable
#

Shruge idk i dont use rust

thick karma
# jagged turtle also wdym rblx game arbiters

I'm apart of the Old Roblox Community which reverse engineers Roblox clients (old and modern ones), Roblox game arbiters (technically custom ones) is the program responsible for launching RCCService (Roblox Compute Cloud Service which is an internal Roblox program), Executing Jobs (such as character rendering jobs, game servers, etc...) and much more.

#

Most of them

#

are written in rustlang

#

an example of this is Hexagon's arbiter and meowblox's arbiter

#

If only I had media perms I could send how RCCService looks like

#

or yk what I'll just do an embed fail using catbox

rigid snow
#

lang suffix is so funny

#

"ohhh i thought it was written in Rust, the hit game by Facepunch"

thick karma
rigid snow
#

rust is iron oxide

thick karma
#

both have differences

rigid snow
#

rust is a word

thick karma
#

real rust

#

is a word yes

olive sable
#

you could then also say, c is a letter, python is an animal, ....

thick karma
#

it technically comes from corrosion

olive sable
#

go is a verb

rigid snow
#

go is a game too

olive sable
#

or something like that, idk english gramme

thick karma
#

and rust (the game) is a video game

rigid snow
olive sable
rigid snow
thick karma
#

though actually the names are kind of confusing for both

rigid snow
#

golang is established

#

rustlang sounds weird

#

mixin hell SCHIZO

olive sable
#

i think all things considered, rust is not that bad.
there is far worse

thick karma
thick karma
#

Binary

#

Assembly

#

you name it

thick karma
olive sable
#

i know

rigid snow
#

binary is a base and assembly is a way to write machine code

#

not langs

thick karma
rigid snow
#

wasm isn't a programming language either it's bytecode Awkward

thick karma
#

WebAssembly is basically assembly for browsers

olive sable
#

people going to#programming like "neuroPoint brainfuck"
ive been here for 2 years, i know it exists tiredcoffee

thick karma
#

One time someone compiled Roblox from the 2016 source code

#

Into wasm

#

I think it's economy simulator that did it

#

Yeah it was

olive sable
#

compiling to wasm isnt even that hard with the proper tools

rigid snow
#

also sorry for being pedantic but wasm isn't like assembly, that would be wat, wasm is like machine code in this parallel we draw

unkempt citrus
olive sable
#

wasm is more high level than actual assembly. structured control flow and stuff

thick karma
#

true man

thick karma
#

I could ask him

#

if he could recreate

#

the web client

#

aka the wasm client

rigid snow
olive sable
#

roblox is vulkan but with opengl fallback iirc. so it would jsut be using webgl instead in browser probably

thick karma
#

as there were some things

#

ECS devs had to rewrite

#

in the 2016 source code

#

in order for it to compile

olive sable
#

checks out

rigid snow
#

300 INJECTION FAILURES

olive sable
jagged turtle
#

would you like a d back as consolation?

rigid snow
#

sure why not

jagged turtle
rigid snow
#

java explod

nocturne olive
#

Kotlin smart casts would fix this

rigid snow
#

no superbox

#

i will not use kotlin

#

thank you

nocturne olive
#

Sily

thick karma
rigid snow
#

why would i use optional

#

null references are convenient

opaque sigil
sage crag
#

phrr

olive sable
#

hi toast

#

hi konii

#

oh

#

hi shuni

rough bloom
#

hi sam nub

opaque sigil
#

Hiii

olive sable
sage crag
#

wron name

#

samuel manuel vanuel ee

olive sable
#

ee?

sage crag
#

ee ee

rough bloom
#

koni vedalEye

rough bloom
#

hi samuel manuel vanuel

sage crag
#

🎤enub

olive sable
#

"《wrrrr♡idol☆princess♡~《《《{▪☆" neuroSideEyes

rigid snow
#

can i book you 《wrrrr♡idol☆princess♡~《《《{▪☆

sage crag
#

me have

#

NOT upcoming concerts

rigid snow
#

ye asking if i can book you

sage crag
rigid snow
#

so that there will be upcoming concert

sage crag
#

no

olive sable
#

party invite booking

rigid snow
#

what about virtual

rigid snow
#

vr chat or fortnite or roblox or minecraft or

#

club penguin

olive sable
#

roblox AINTNOWAY

sage crag
#

ne

rigid snow
#

clash royale like lil wayne

olive sable
#

lil wayne?

rigid snow
#

ye lil wayne had a clash royale show

sage crag
#

hopital for you

olive sable
#

thats crazy

rigid snow
#

why hopital

sage crag
#

need hopital

rigid snow
#

chip decay -> long time -> now soil

olive sable
sage crag
#

sam is

rigid snow
sage crag
#

large tumour

olive sable
#

well

rigid snow
olive sable
#

thats not nice

sage crag
rigid snow
#

huh

sage crag
rigid snow
sage crag
olive sable
#

tv

rigid snow
#

where point

#

in meringue implant

sage crag
olive sable
#

meringue crunchy

sage crag
#

shaped like spiral evilShrug

rigid snow
#

at the top NeurOhISee

sage crag
#

snaaaake

#

snake put in

olive sable
#

is it pointy because its the top, or is it the top because its pointy?

sage crag
#

snakes is worms

olive sable
#

i think the latter

rigid snow
#

sam NOT know how meringue made

olive sable
#

its the food thing

#

food grade bagpipe

#

idfk what its called

rigid snow
#

my jolly reaction to her jolly reaction

sage crag
rigid snow
olive sable
#

we say

rigid snow
#

candy floss

olive sable
#

suikerspin

#

sugar-spider

rigid snow
sage crag
#

"we"

olive sable
#

yes

#

we

sage crag
#

sam

#

only

olive sable
rigid snow
#

sugar cotton in russian

#

catEat cotton

olive sable
#

catEat spider

rigid snow
olive sable
#

we use the word spin as verb, like to spin cotton.
but the word spin is also spider in dutch

rigid snow
#

cottonwool?

rigid snow
#

machine translate say wadding

#

sugar wadding

#

yum

rough bloom
#

Wadding is a disc of material used in guns to seal gas behind a projectile (a bullet or ball), or to separate the propellant from loosely packed shots.
neuroNOTED

rigid snow
#

neuroNotNoted like what they put in pillow

#

stuffed animal

rough bloom
#

weird word

#

context-dependent

sage crag
#

im two dimensional

rough bloom
rigid snow
#

i decided no direct translation but in this context cotton

rigid snow
jagged turtle
#

mlntcandy why do you not move the d to the end of mlntcan

sage crag
olive sable
# sage crag

i guess the bottom one is the closest to what mlnt and i have

rigid snow
#

candy floss sounds weird and unappealing anyway

sage crag
#

pssk

olive sable
#

candy floss makes me think of the dentist

#

i odnt like the dentist

rigid snow
#

that's why you should remove all your teeth right now

olive sable
#

so

sage crag
olive sable
#

ew

rigid snow
#

and you're saying spider is weird

#

it all makes sense now

#

web = floss

sage crag
#

especially doesnt mean specifically

#

:mlntcandy:

rigid snow
#

especially however does mean especially

#

so it does solidify my case

olive sable
#

i like how the dutch one is coincidentally spider related, and the floss one is jsut actually based on spider threads

rough bloom
#

someone should make spider that makes cotton candy

#

keep as pet

#

candy floss also acceptable name then

olive sable
#

give the spider diabetes and the thread will taste like sugar

rigid snow
#

keep as pet live in your mouth

sage crag
olive sable
#

but spider thread = floss

#

its the literal definition

sage crag
#

you have stupid

rough bloom
olive sable
olive sable
sage crag
olive sable
#

do you floss?

#

i hate flossing

#

anything food related should not make me think of floss

rigid snow
#

a mass (kg) of soft (mohs scale), smooth (ISO N roughness grade) threads (zuckerberg twitter competitor) especially (= specifically) produced (music instrumental) by particular (microscopic particles) insects (stick burn smell good) and plants (nuclear power)

#

floss (fortnite dance)

olive sable
azure lynx
#

easier: candy, candy floss.

#

(but only if you learned british english)

rigid snow
#

look like cotton but candy
floss made out of candy

#

both make perfect sense

olive sable
#

true

olive sable
#

the lenses arrived neuroHypers

#

before the pi somehow

#

the pi got held up by customs, they made me pay 80 bucks of import taxes on a 200 euro part

opaque wharf
opaque sigil
#

that doesn't seem right

#

unless they charge stupid fees i guess

olive sable
#

40 bucks of it was fees ye

opaque wharf
opaque sigil
#

checks out

rough bloom
opaque sigil
#

here it's like 12€ or something in fees so 40 is crazy

rough bloom
#

VAT + high fees neuroNODDERS

opaque sigil
#

i think i can get rid of the fees too but i don't want to bother with the import stuff myself neurolingSlep

olive sable
#

if thats the case, then the projector would have 300 bucks worth of taxes VedalNotLikeThis

olive sable
#

48.73 euro in taxes, 40 euro in "border-formalities"

rough bloom
opaque sigil
#

importing still ends up being cheaper overall a lot of the times for me

olive sable
#

most of the stuff i buy is under the min value, or labelled incorrectly

opaque sigil
#

though you pay in time i guess

olive sable
#

ye

opaque sigil
#

some shops will also give you two invoices for uhhh

#

reasons

olive sable
opaque sigil
#

2021 was nice because they lowered vat to 16% so eur + vat was exactly usd

opaque wharf
#

VAT is 11% here

olive sable
#

21% here bwaadow

opaque sigil
#

it varies here but the default is 19 enub

opaque wharf
#

Used to be 10%, but they raised that 2024 evilBwaa

tender river
# sage crag

NeurOhISee i didnt know the uk name
and in australia it's called fairy floss apparently

olive sable
#

I sent superbox's 3090 as a gift, so it had 0% vat

opaque wharf
opaque sigil
#

he shouldn't have to pay vat anyway

#

it's only paid once it enters the eu

olive sable
#

Big lens

#

im not sure yet if the small one is gonna be big enough even if directly ontop of the stock lens, but we'll see

#

from my understanding it should only affect the brightness if it doesnt fully cover evilShrug

olive sable
#

the projector is Estimated delivery 04 February 2026 meow

#

i think they might want to change their estimation

opaque sigil
#

oh right it's chinese new years at the moment

opaque wharf
#

Uhh not yet

#

Around 12th

#

Usually 2 weeks holiday

opaque sigil
#

they usually shut down before too already no?

opaque wharf
#

Nope, at least not this early

opaque sigil
opaque wharf
#

But I guess that also depends on the company

#

But yeah, they have 2 weeks holiday so even if they are already on break, Sam purchase it from USA evilWheeze

opaque sigil
#

oh did he

opaque wharf
#

Does ebay have chinese seller?

olive sable
#

ye

#

ebay

opaque sigil
#

ah, i thought you got it off aliexpress

olive sable
#

i replied ye to toast

opaque wharf
olive sable
#

its from the usa

opaque sigil
#

you can buy stuff from china via ebay but those may as well be fake listings om

olive sable
#

im pretty sure chinese people are also on ebay

#

my package came from neuroReading PHILADELPHIA

maiden geyser
opaque wharf
olive sable
hollow venture
#

I’m at a Robotics competition right now, Vex 5VRC robotics and each game will be live streamed (not self promotion since the broadcaster from the Vex Official account)

opaque wharf
#

I prefer NHRL style

obsidian mantle
#

what the fuck

#

just assign it dumbass what are you checking here

#

is he telling me int and unsigned int are different size

opaque sigil
#

not every instance of a signed int is guaranteed to also be a valid instance of an unsigned int

opaque sigil
#

need to cast manually

#

to tell it that "if this number is negative that's on me"

obsidian mantle
#

4 bytes is 4 bytes vedalRage

opaque sigil
#

cool let's just completely bypass the type system

opaque wharf
opaque sigil
#

converting the value -1 into an unsigned integer makes no sense, yes it's 0xFFFFFFFF

opaque wharf
obsidian mantle
#

honestly im not using unsigned int everywhere because they made its name so long
"U N S I G N E D"

#

just call it uint

opaque wharf
#

So I assume it is already converted explicitly?

obsidian mantle
#

uint ulong whats wrong with these names?

#

why should i write entire essay

opaque sigil
obsidian mantle
#

"the variable after this statement has no sign and is considered unsigned int" lets call it this

obsidian mantle
#
the variable after this statement has no sign and is considered unsigned int var1 = 0;
#

humane

opaque sigil
#

make your own aliases Shrug

olive sable
#

so uint vs int only makes a difference if you need to do math with it or something?

obsidian mantle
#

only if you need sign

opaque sigil
#

uint implies the value should never be less than 0

obsidian mantle
#

my case was packed bits into int so i didnt care

opaque sigil
#

then that's fine, just cast it

#

or make it a character array

obsidian mantle
#

yeah but why do i need to explicitly do it

obsidian mantle
#

i guess in some cases it might be useful to be told

opaque wharf
#

They are indeed a different type

opaque sigil
#

because the compiler cannot read your mind

olive sable
#

i was thinking purely on the bits side

obsidian mantle
#

and only now it warned me

opaque wharf
olive sable
#

if you keep the same bits, the read value will increment or decrease by 2147483648

opaque wharf
#

But again, 0xFFFFFFFF is -1 or a very big number

#

But since that is a source code, there is a thing called types

tender river
opaque sigil
#

oh right this is c++, for some reason i thought he was using C# enub

#

i blame visual studio

sage crag
#

cstdint

olive sable
shrewd cloak
olive sable
#

yes

shrewd cloak
#

which is kinda useful for low level implementations

olive sable
#

depends on the usacase ye

#

like ye, i know there's a reason we distinguish between int and uint meow

sage crag
#

c integer types bad anyway

opaque sigil
#

one thing you can do if you're really lazy is use a u31 and cast between signed and unsigned at will

sage crag
#

always use stdint

olive sable
#

i do use stdint so i havent experienced c int types

sage crag
#

not defined in c standard

olive sable
sage crag
opaque sigil
#

the standard only defines some inequalities that have to hold

#

fun

sage crag
#

ye

shrewd cloak
olive sable
#

so stdint makes it always the same?

#

4 bytes iirc

sage crag
opaque sigil
#

stdint gives you a mapping to more sane names whenever possible

shrewd cloak
#

inequalities with uint and signed int ahh yes

olive sable
#

oh

obsidian mantle
#

they really put a lot of hidden shit like this that needs filtering

olive sable
#

you just meant using uint32

#

defining the amount of bit

opaque sigil
#

yeah it'll define those types when possible on the current platform

obsidian mantle
opaque sigil
#

you can't stop me

olive sable
opaque sigil
#

it's just a u32 with extra compile-time checks in place

olive sable
#

would it be more performant than casting?

sage crag
opaque wharf
#

I cannot sleep knowing there are people out there that will implement u31

sage crag
sick owl
#

Claude Opus 4.6 going schizo and fighting with its own reinforcement learning

idle dune
sage crag
opaque wharf
olive sable
opaque sigil
#

very convenient for packed structs

opaque sigil
#

it's not faster

olive sable
#

meow then its worthless

sage crag
#

unless your platform has a u31 native

#

even then, very minimal

#

since addition ops for all width integers are typically a single cycle

olive sable
#

true

sage crag
opaque wharf
#

Also, I hate windows for using word, dword, and all that

sage crag
#

one language that uses them is zig

opaque wharf
shrewd cloak
olive sable
#

im 3d printing a dragon for my sister. 18 hours NOOO
also, my tpu seems to be doing pretty well even without drying it

opaque sigil
#

all additions on modern cpus is 1 cycle YES

opaque wharf
azure lynx
#

probably done on multiple 128-bit or 256-bit words

shrewd cloak
sick owl
opaque sigil
#

i don't actually remember if vector addition is guaranteed to be 1 cycle

opaque wharf
olive sable
#

you can even do 16 additions at the same time in a single cycle with avx 512 meow

opaque sigil
#

nah

#

it takes a couple cycles

shrewd cloak
sage crag
#

no

opaque wharf
olive sable
idle dune
opaque wharf
#

Prime number to be precise

opaque sigil
#

i don't think there are any avx512 instructions that run in 1 cycle, though i could be wrong

#

cba to look up amd's manual

opaque wharf
azure lynx
# opaque wharf A reaaaaaally big number

Your 2048-bit key will be something less than 32317006071311007300714876688669951960444102669715484032130345427524655138867890893197201411522913463688717960921898019494119559150490921095088152386448283120630877367300996091750197750389652106796057638384067568276792218642619756161838094338476170470581645852036305042887575891541065808607552399123930385521914333389668342420684974786564569494856176035326322058077805659331026192708460314150258592864177116725943603718461857357598351152301645904403697613233287231227125684710820209725157101726931323469678542580656697935045997268352998638215525166389437335543602135433229604645318478604952148193555853611059596230656.

olive sable
#
AMD Zen 5: Features a native 512-bit data path, allowing it to handle 512-bit operations, including additions, in a single cycle.

supposedly

sick owl
shrewd cloak
#

i get 2048 bits part, dunno rsa private key thing

sick owl
opaque wharf
shrewd cloak
#

i see

opaque wharf
#

Konii, does LLVM variable integer can be used to make a packet encoder-decoder

olive sable
#

it should be able to i think

#

idk why you would tho

opaque sigil
sage crag
#

work for packed struct

#

work for packet

opaque wharf
#

I want to make a simple protocol to communicate with MCU and always ended up writing too many utils for the encoder-decoder

sage crag
opaque wharf
#

Neat

sage crag
#

try in zig

opaque wharf
rigid snow
opaque wharf
#

Can't remember zig or nim tho

#

Probably zig

#

Yep, they are still at v0.# neurOMEGALUL

olive sable
idle dune
opaque sigil
#

this xlsx is choking my libreoffice to death

olive sable
#

from what i understand, am4 had to do 2 cycles with 256bit native hardware stuff

#

idk

#

i'm very glad i don't have to think about the specific cpu hardware when i'm programming my crimes

opaque sigil
#

dw gpus are just as bad if not worse

olive sable
#

true

opaque wharf
olive sable
#

cuda cores are in the thousands, but there are only 8 to 16 xe cores in a intel gpu so they must not be the same type of core
and what amd is doing i have no clue

opaque sigil
#

my condolences

#

cuda cores are a lie

#

the only thing you could kind of compare are SMs

maiden geyser
olive sable
#

idk

#

id be suprised if 128 doesnt exist

#

arent the cpu architectures still 64bit in terms of x86_64 thing

opaque sigil
#

maybe that's where the 64 is coming from enub

olive sable
#

i think the general purpose registers are 64bit, and the avx ones are 512 or something

opaque wharf
#

They are all the same on the die anyway because register renaming and voodoo magic

olive sable
#

so the 64bit ones are also 512 but just waste most of the space?

#

or wdym?

opaque wharf
#

But also no, it does not waste space

sage crag
#

there are multiple differently sized registers

opaque wharf
olive sable
#

im getting 2 very different answers here

sage crag
#

well, there is a difference between physical registers and the registers you use in asm

olive sable
#

we're talkign cpu hardware physical

opaque wharf
sage crag
#

ye ye

olive sable
#

so then how is it not wasting space if the 64 ones are only using 64 of the available 512 bit space?

sage crag
#

no, avx is different

opaque wharf
#

Voodoo black magic

olive sable
#

so the 512 bit avx ones are larger?

sage crag
#

ye

#

as far as im aware that's typical

opaque wharf
#

Ohh, I get what you mean now

olive sable
#

jsut one 512bit avx register

opaque wharf
olive sable
#

according to some docs they can do 64bit operations via a seperate 64bit "opmask" register

sage crag
#

xmm registers are the low bits of the ymm registers

#

and the ymm registers are the low bits of the zmm registers

opaque sigil
olive sable
opaque wharf
#

Thanks for composing the word

sage crag
#

so, xmm0..15 (sse), ymm0..15 (avx/avx2), and zmm0..15 (avx512) are alll using the physical zmm0..15 registers, but they use the low-bits (sse 128, avx/avx2 256)

olive sable
opaque sigil
#

the 64-bit ones are available as multiple smaller ones too

#

don't remember the exact names

#

there's some funky optimisations you can make with this

#

by abusing it

opaque wharf
#

That's the voodoo blackmagic

opaque sigil
#

i say you but let the compiler do that

olive sable
#

if you're not abusing the cpu hardware for more performance, are you even using it properly? NeuroClueless

sage crag
#

that's the cool thing about

#

turing machines

olive sable
#

how so?

#

oh

#

cpu = turing machine

opaque sigil
#

cpus are register machines

#

not that it matters the end result is the same, they can compute anything

olive sable
#

turing complete but not turing machine?

opaque sigil
#

different model of computation

opaque wharf
#

It is called register machine as toast said

opaque sigil
olive sable
#

thats crazy

opaque sigil
#

they're equivalent too in that iirc each one can simulate every other one

opaque wharf
#

I also still highly recommend to watch the liveoverflow video if you want to know the low level stuff

#

Especially the cpu vuln series

olive sable
#

its a whole 26 minutes tho

#

ill watch it later

opaque sigil
#

there's so much implicit shit

olive sable
#

welpsagiri but im an idiot and have autism

opaque sigil
#

like how writing to xmm0 automatically clears the upper half of ymm0

#

so you can clear ymm0 by xor'ing xmm0 with itself

#

because of course, duh

opaque wharf
#

x86 🏛️

#

I don't have the duck classic emote so that'll do

olive sable
#

new discord error unlocked

opaque wharf
sage crag
#

writing to eax clears the top bits of rax, but writing to ax doesnt clear the top bits of rax

olive sable
#

it seems to be a firefox issue or osmething

sage crag
#

32-bit writes get zero extend

#

but 16 bit doesnt

#

x86 🏛️

olive sable
#

discord crashed when i changed the tab on the localhost of the 3d printer website

#

im assuming discord also just runs through firefox

opaque wharf
olive sable
#

im most definetly doing somthing wrong, the question is exactly what

azure lynx
#

being able to trigger it controllably would be interesting.

olive sable
#

that would narrow down the issue i guess

#

but id rather just fix it completely

azure lynx
#

if it's in their code then you can't fix it

#

it shouldn't crash error like that on you no matter what crap you throw at it. it should just fail.

olive sable
#

its something to do with whats happening between firefox and my hardware.
i think its gpu related too

olive sable
#

so it will just show errors instead of silently dying

sage crag
#

wrr

olive sable
#

id rather have it show errors than pretending nothing happened

azure lynx
#

so that's what it does... i have that mode set too coz i almost always enable dev mode.

olive sable
#

i enabled it to start with so i could easily copy people's discord id

olive sable
#

we're back to the first error enub

#

it also seems to not like it when i hover over a server, the tooltip servername thingy also crashes it sometimes

opaque wharf
olive sable
#

why the lottery?

azure lynx
#

once is chance, twice is coincidence. three times is enemy action. (or a bug in something somewhere)

olive sable
#

like i said, its a problem between firefox and my hardware

#

all the things that use firefox on my pc crash on occasion

#

i think its a gpu thing

azure lynx
#

i think the error is "it stopped sending json "packets" but didn't clean up after itself". something else might've crashed.

olive sable
opaque sigil
#

i'm inclined to blame hyprland

olive sable
#

it worked fine when i was still on cachyos

#

it has to be a nixos setting i fucked up

opaque sigil
#

well, what's the error

olive sable
opaque sigil
#

discord website NeurOhISee

olive sable
#

i fed the file to chatgpt, lets see what it says

opaque sigil
#

that report seems kind of useless

#

just a state dump

azure lynx
#

that text blob just gave stats. there's probably another file with the stack traces and memory maps

opaque sigil
#

maybe journalctl has something useful?

olive sable
#
WebRender enabled
EGL failed at least once
GL context eventually created
WebGL works

ReallyInnocent i may have some setting about egl wrong in my nixos config

#

probably

opaque sigil
#

egl is kind of just broken in general tbf

olive sable
#

i have some stack overrides on opengl when i tried to fix my ff14 crashing

amber fractal
#

vulkan to opengl mabe

#

I swear there is some way to make those only target one game as I've first seen it as a checkbox for minecraft in prism

olive sable
#

welp

#

its my nixos 100th generation

#

i should prob clean my older gens, i havent deleted the old ones in a while

#

+21GB evilNya

opaque sigil
#

might be a good idea to enable automatic cleanup

olive sable
#

nah

#

i dont want to have it delete too much

#

i want at least one or two backup gens, even if they are a month old

opaque sigil
#

i have it set to delete 2 week old ones once a week, is a nice enough buffer

#

fair enough

#

you can do that too btw, pretty sure it takes an option to keep x many

olive sable
rough bloom
opaque sigil
#

actually

#

the man page seems to indicate you can only delete older than a certain period?

rough bloom
#

ye that what I use

#

nix-collect-garbage --delete-older-than 30d

#

also I lied

#

I use a month catSUS

#

-# need to run as root probably, I don't think it'll delete the generations otherwise

opaque sigil
#

that's kind of weird that it wouldn't let you say "just keep the last 5 generations"

#

my favourite part of nix is finding out you have 6 versions of your project's flake in the so you have several copies of the same 150gb folder despite it being gitignored FOCUS

olive sable
#

you have WHAT?

rough bloom
#

at least btrfs deduplicates it

#

or nix store hardlinking if you do that

opaque sigil
#

i should probably enable hardlinking huh

rough bloom
#

wine has some issues with it apparently

#
  • it's annoying to run
#

btrfs better

opaque sigil
#

i think i tried bees once and decided i'd rather eat the storage cost than the ram cost

opaque sigil
rough bloom
opaque sigil
#

i think the recommended was 4gb per tb or something?

rough bloom
#

I set it to have the worst possible RAM usage neuroBee
but I'm pretty sure it would get 90% of the way there with a much lower setting

opaque sigil
#

which is uhh

#

a lot

olive sable
#

neuroCatUuh could you elebaorate how changing a flake copies 150gb of files?

opaque sigil
#

oh wait it's 4gb if you want 4k extents for the full deduplication

rough bloom
#

but it's a stupid configuration

#

just use 16k extents or something

rough bloom
olive sable
#

so the /etc/nixos/flake.nix i have copies the whole /etc/nixos/ to the store?

idle dune
#

Subscription for laptop

olive sable
#

i wonder what the policy is for theft or breakign the laptop

idle dune
#

I'm curious too

olive sable
#

if its lax id just start taking them

idle dune
#

What fi someone grabs the subscription and someone "steals it"

olive sable
#

oopsie i lost it NeuroClueless

idle dune
#

Exactly

opaque sigil
amber fractal
#

surely they track it perfectly

idle dune
#

Okay so there is no option to buy out, and the contract forbids sale of the laptop. There is also no included damage coverage, that is an extra cost.

olive sable
idle dune
#

HP can get fucked

olive sable
#

what if i take on the subscrription of 20 of their most expensive laptops, and then flee the country?

olive sable
#

i can get around the software i imagine

#

jsut put another ssd in there

idle dune
#

BIOs lock I imagine

olive sable
#

bios flash?

idle dune
#

Perhaps

olive sable
#

if need be reflash the eprom

idle dune
opaque wharf
#

That is a very possible route to take

olive sable
#

they get exponentially more expensive as time goes on

#

wait

idle dune
#

Who the fuck is going to pay 129.99 a month for a gaming machine.

olive sable
#

(120/m)^2
or
120/(m^2)
hmm

idle dune
stray dragon
# idle dune

so it's the cost of the entire laptop per year

#

damn that's a ripoff

idle dune
#

Year 1: Half price
Year 2: full price paid
Year 3: Replacment offered

stray dragon
#

i don't see why you would get this over the "pay over x months" option

idle dune
#

¯_(ツ)_/¯

warped narwhal
#

Do you get to keep the laptop after you fully pay it off?

idle dune
stray dragon
#

you will own nothing and you will be happy

idle dune
#

If you don';t pay the subscription its on your credit report and HP reserves the right to remote lock your system after 45 day grace period

idle dune
#

Its been out for 8 months ish

opaque sigil
#

okay i was going to say this could be nice if you only need a laptop for a short period of time (let's say a month or two) but you're locked into a year at minimum huh

stray dragon
#

oh that's even more fucked

warped narwhal
#

The only way I see this being worth the money is if you keep replacing it every year

opaque sigil
#

30 day trial period at least i guess so if you need something once for a bit maybe? idk

warped narwhal
#

and you were going to replace it every year even without the renting

opaque sigil
#

Mhm

#

you get a pretty decent discount + a bunch of stuff that comes with it

idle dune
#

Its basiclly a scam

opaque sigil
#

i wouldn't call it a scam

idle dune
#

But this is the same company that has a sub for printer ink

opaque sigil
#

there is absolutely a group of people this is really nice for

amber fractal
#

It is "innovation"

azure lynx
#

what? there's a corporation out there not looking out for MY interests?

idle dune
opaque sigil
#

idk

#

maybe

#

not for me to decide anyway neurolingSlep

idle dune