#💽Programming Chat v2

1 messages · Page 94 of 1

rustic vine
#

Hm

#

Whay

#

Who Pinged me

#

Theres a ping in this server but I can't tell where

#

Im so confused

#

Oh what

#

Theres this random hidden channel i got pinged in

#

And discord won't show it

#

Brah

spare quartz
#

dr stone season 4.... next cour is in 10 daaaaays

#

cannt waiiit

rustic vine
#

Squid games 2 days ago

spare quartz
#

already watched it

rustic vine
#

Have yall seen it all already

spare quartz
#

good season 👍

rustic vine
#

Ok

spare quartz
#

but i dont like how the detective just got there for like

#

5 minutes

rustic vine
#

I've still got 2 more to go

#

WAIT

spare quartz
#

and immediately had to get out cause they overheated the ball core

rustic vine
#

DONT SAY A WORD

spare quartz
#

and then pbst came in and saved the day

rustic vine
#

NOOOOOO

#

YOU SPOILED IT

spare quartz
#

im trying to remember where the big parts are

#

i think most of them happen on the last epsiode

rustic vine
#

WAIT

#

THERES A KNOCKOFF OF THIS CHANNEL

#

#1388970221066256465

spare quartz
#

💀

timid quartz
#

egregious

spare quartz
#

what is "rust-server" and what does it do

#

what does its directory listing look like, does it support Range, does it have security headers, what is its TLS stack, what is its protocol selection method

rustic vine
timid quartz
#

just a simple thing with GET /

spare quartz
#

uncomparable

timid quartz
#

ur mom is uncomparable

timid quartz
#

egregious that your server even needs 15mb of ram

#

and that is a debug build I'm running

spare quartz
#

okay but do you even cache

rustic vine
#

8 GIGS IS 2 BUCKS

spare quartz
#

thats so expensive

#

you can solve every real world problem with software

rustic vine
#

8 GIGS IS 2 BUCKS AND NVIDIA WONT EVEN GIVE U 16

#

😭

#

PLS JENSEN

spare quartz
#

nvidia gave me 12 actually 🙏

rustic vine
#

THINK OF THE POOR CONSUMERS

spare quartz
#

@timid quartz i bet your rust cant do this

rustic vine
#

I responded in knockoff prog chat and didnt get a reply 😢

spare quartz
#

totally real only using 0.1 mb kernel

timid quartz
#

uh huh right

spare quartz
#

the power of C

#

💪

rustic vine
#

Power of memory unsafety

#

Guys let's just all use cpp

#

Cpp is the superior language

spare quartz
#

One can’t add new features infinitely without risk of turning into C++.

rustic vine
#

Ye thats why its goated

#

We got real dependencies btw

spare quartz
#

cancerous tumor as a programming language

rustic vine
#

No more FetchContent soon

#

No more copy paste

#

#winning

spare quartz
#

hmm

#

i wonder whats the difference between System and Secure System

rustic vine
#

Like imagine if you had to write some code but you were using rust instead of cpp. Then you'd have to be memory safe... yuck!

rustic vine
spare quartz
#

okay but why

rustic vine
#

Hahahaham..ndsehvv j😅 😅

spare quartz
#

they're the same image

rustic vine
#

Prolly cuz bill Clinton decreed it so

spare quartz
#

same os where the disk format dialog hasn't been changed for 2 decades

#

💪

rustic vine
#

Goated os

spare quartz
#

sorry 3 decades

#

oh yeah did you guys see the new yt-dlp gui

rustic vine
#

No i don't download cars

#

And you're reported bud

spare quartz
#

so its an electron app

rustic vine
#

STOP

spare quartz
#

im pretty sure the binary was like

#

200 MB

rustic vine
#

NOOOOO

spare quartz
#

the code itself is ........... 2 MB

#

and the code is

#

umm lemme get teh screenshots

#

so we got empty try catch

#

comment every single line

rustic vine
#

Where are u pulling this code from

spare quartz
#

more useless comments and also random api token

spare quartz
#

the contents are an electron directory

rustic vine
spare quartz
#

next the code is just in resources/app.asar

#

so i put that in 7zip too

rustic vine
#

I was worried it wasnt fixed

spare quartz
#

and thats the source code

rustic vine
#

Oh ok

#

Ye lgtm

#

Ship it

spare quartz
#

its production ready

#

the ai said so

rustic vine
#

✅ FIXED

spare quartz
timid quartz
#

@spare quartz this is the old shield (moderation system before guardsman) api

spare quartz
#

what does it do

timid quartz
#

has a database connection pool, middleware to handle auth, etc

rustic vine
#

This guy flexing his memory usage like its 2003

spare quartz
#

db connection irrelevant

timid quartz
#

kys it's very relevant

spare quartz
#

its not

timid quartz
#

it drives ram use up

spare quartz
#

thats like saying open file handles are relevant

#

those are both externally controlled

rustic vine
spare quartz
#

very true

#

ask chatgpt to make your code better

#

i bet its not even PRODUCTION READY

timid quartz
#

nah it's already in rust it cant get much better

timid quartz
#

for

#

years

#

lol

spare quartz
#

nope

#

didnt have PRODUCTION READY at the top of your entry point

rustic vine
#

It could get better if you wrapped all your code in unsafe blocks

timid quartz
#

man terry was right

#

15mb minimum for a web server is crazy

spare quartz
#

does it do literally anything i said

#

i can assure you it doesnt

timid quartz
#

irrelevant

spare quartz
#

yeah sure

#

delusional rustlet

rustic vine
#

Is your webserver web3 ready

timid quartz
#

delusional cucklin user

rustic vine
#

Does it incorporate big crypto

spare quartz
#

virgin rust

#

chad kotlin

timid quartz
#

nah gigachad rust

#

who uses a jvm language in 2025 amirite @wheat zinc

rustic vine
#

Gigachad rust is just calling into cpp

spare quartz
rustic vine
#

WTH ITS JULY

#

WHY ARE THERE EXAMS

timid quartz
#

british people have no summer vacation

#

they just have exams

rustic vine
#

Huh?????

timid quartz
#

they get like 3 days of break

spare quartz
#

shouldve not gone to school

rustic vine
#

How did they go from biggest empire in the world to examboy

spare quartz
#

fwding from tech chat

timid quartz
spare quartz
#

you still havent even made one aera

rustic vine
spare quartz
#

close enough

rustic vine
spare quartz
#

discord wont let me forward big files to my friends

#

for some reason

rustic vine
#

Checkmate

spare quartz
#

so thats technically a subset of reposting

rustic vine
#

If you hide messages from a user (like a bot) and open a channel with 90% messages from that user and a lot of messages total it crashes your discord

spare quartz
#

its cause they use js

rustic vine
#

Cause when messages are hidden they are collapsed into groups (like "50 hidden messages from user") which makes them fit in 1 line, so discord tries to load hundreds of thousands of messages at once

#

It certainly tries though

#

Oh its lunch time

timid quartz
spare quartz
#

and by tls stack i meant more of how you managed it

#

instead of implementing it cause you obviously didn't

timid quartz
#

library handles managing it

spare quartz
#

okay

#

but

#

do you control what protocols are allowed? schemas?

#

priority? ALPN?

timid quartz
#

Yes it’s possible to do all of those

spare quartz
#

is the TLS encryption/decryption cycle handled by you, or abstracted away?

spare quartz
timid quartz
#

no because the api ran behind a reverse proxy that terminated https

spare quartz
#

then why have a tls library?

#

you dont need that if you have a termination proxy

timid quartz
#

the feature was disabled lol

spare quartz
#

why was it present ever??

timid quartz
#

wdym

spare quartz
#

if you're gonna run it behind a termination proxy

#

why have it

timid quartz
#

by feature I mean that I set it to where TLS wasn’t compiled into the api

#

compile time code exclusion

spare quartz
#

i know what features are

#

im asking why you have it if you're not gonna use it in the first place

timid quartz
#

I’m saying I didn’t lol

spare quartz
#

but why is it there??

#

did you write that feature??

timid quartz
#

no

spare quartz
#

fdsfndfewirfjwefm

timid quartz
#

it’s there because some people might need TLS

spare quartz
#

those people are stupid

timid quartz
#

I’m just saying if you wanted TLS it would be using rustls

spare quartz
#

use a standardized infrastructure

timid quartz
#

though I think there is a feature for OpenSSL

spare quartz
#

okay what the hell

#

what is SIP

#

i swear they're trolling me at this point

timid quartz
#

Stupid Idiot Protocol

spare quartz
#

YEAH YOU

rustic vine
#

Smart Ideas Person

spare quartz
rustic vine
#

Thats goated

spare quartz
#

stupid random ips trying to use me as voip...

#

oh cmon

spare quartz
timid quartz
#

give me your camera feed

spare quartz
#

I DONT EVEN HAVE A CAMERA OR MIC

rustic vine
spare quartz
#

i used to

#

but they physically fell apart

#

now all i have is a GPS tracker

#

but it only works over serial..

#

then again

timid quartz
#

what security headers do you use atp

spare quartz
#

they're adding APIs to JS for serial communication

spare quartz
timid quartz
#

what are all of them

spare quartz
#

every standardized one

#

just go on mozilla

#

or connect to the site

#

all headers are standard except for files targetted* by a .begsm file

#

btw

#

whats the binary size of your two servers

timid quartz
#

shield api 11mb release build
simple server 2.3mb release build

spare quartz
#

shield api is massive

lone sky
#

right?

spare quartz
#

http_router is 35 KB

spare quartz
#

its just electron

#

except debikone is actually like

timid quartz
spare quartz
#

written ... by those people ... and drawn too ...

spare quartz
timid quartz
#

if you consider assembly as bytecode...ig?

spare quartz
#

its 3.17 MB with every dependency

#

your binary doesnt contain assembly

timid quartz
#

blah blah blah whatever

#

executable size doesn't matter that much anyways

spare quartz
#

its just bytecode, loading, and dynamic flags

lone sky
#

bayachao if you can hear me make another game on javascript and CEF

spare quartz
timid quartz
#

memory and cpu efficiency matters more

spare quartz
#

its not just running characteristics that are important but cross-platform too!

timid quartz
#

disk is so cheap nowadays

spare quartz
#

how reliant IS shield api on the disk

#

cause http_router as well as everything behind it is completely agnostic to it

timid quartz
#

I mean it's reliant on a database which is reliant on the disk

#

but it's not bound to a particular FS

spare quartz
#

"database"

#

ive heard enough.

#

rust is over

timid quartz
#

not even a rust thing

#

your lang was dead before it was even alive

spare quartz
#

everything that uses databases is over

timid quartz
#

youre just a hater fr

spare quartz
#

i am

#

cause i got facts and logic

timid quartz
#

"facts" and "logic"

#

yeah ok buddy

spare quartz
#

your silly compiled language is nothing to my managed, super fast, super efficient, omega easy to write, jvm

timid quartz
#

you're just coping from choosing a jvm language in 2025

spare quartz
#

i bet your stupid little rust project doesnt even have an assembler

#

OH OKAy

#

@timid quartz you actually

#

just gave me such a good idea

#

when i get to the point of designing an FS i need to create something like an MBR/GPT

#

but instead of just those its gonna be a volume for JDK space ...

#

mwhahahahaha...

lone sky
#

chao partition table

spare quartz
#

and it'll be like those linux start up flags... dictating the JVM flags for the kernel ...

lone sky
#

you're making an actual java OS?

spare quartz
#

when i have the time and infrastructure for it yes

timid quartz
#

lame

spare quartz
#

ive just got a bunch of theory and a precursor (BSL)

timid quartz
#

bet you dont even have a picojava

spare quartz
#

you dont

#

cause you're lame

timid quartz
#

i dont cause jvm is lame

spare quartz
#

your stupid lang doesnt even have first-class smart card support

timid quartz
#

get dunked on

spare quartz
#

cause we INVENTED it.

timid quartz
#

who even uses those aside from the military

spare quartz
#

um

#

your credit card

timid quartz
#

which is known for only using aging and outdated technology

#

like the jvm

spare quartz
#

actually

#

that means your credit card is part JVM

#

you must love it so much you carry it in the real world <3

lone sky
timid quartz
#

welp guess I gotta cut my credit card in half

spare quartz
#

NO

#

ugh i wanna read the dr stone manga again

timid quartz
#

in jp or en

spare quartz
#

either works

#

the subbers for the anime take a ton of liberty with what the characters are saying

#

its honestly impressive

timid quartz
#

yeah they're trying to go for more "feel/meaning" than literal translation

timid quartz
#

anyways @spare quartz where did you get that ada tag from

spare quartz
#

the ada server

timid quartz
#

mm ic

#

woah

#

adacore learning got a new look

#

ngl kinda preferred the old look

spare quartz
#

i bet it still costs a kidney though

#

oh you meant the docs site

#

i thought you were talking about the training

timid quartz
#

kinda preferred the old look

spare quartz
#

In the 1970s the United States Department of Defense (DOD) suffered from an explosion of the number of programming languages, with different projects using different and non-standard dialects or language subsets / supersets. The DOD decided to solve this problem by deleting Rust.

timid quartz
#

embracing* rust

spare quartz
#

your lang wasn't made by a guy from a 100-year-old company

#

so shut it

timid quartz
spare quartz
#

It’s technical details are pretty cool

#

Additionally, the Vector API is something I also want to look at

#

It’s not super super applicable to BSL as most of its operations are logical

#

But it’ll give me a reason to learn more about vectors

lone sky
spare quartz
# lone sky what in the bootleg dell logo

In general, even after decades of research — especially for FORTRAN and C array loops — it seems that auto-vectorization of scalar code is not a reliable tactic for optimizing ad-hoc user-written loops unless the user pays unusually careful attention to unwritten contracts about exactly which loops a compiler is prepared to auto-vectorize. It is too easy to write a loop that fails to auto-vectorize, for a reason that no human reader can detect. Years of work on auto-vectorization, even in HotSpot, have left us with lots of optimization machinery that works only on special occasions. We want to enjoy the use of this machinery more often!

#

Don’t bother. You are years behind HotSpot’s research.

spare quartz
umbral monolith
#

worked as a factory manager for like 15 years there

spare quartz
#

stupid people who know more than one language....

#

it is time to study graalvm

#

ive had this JEP on my mind for an hour now

#

Today's compressed class pointers encode a 64-bit pointer into 32 bits. They are enabled by default, but can be disabled via -XX:-UseCompressedClassPointers. The only reason to disable them, however, would be for an application that loads more than about four million classes; we have yet to see such an application.

timid quartz
spare quartz
#

yeah okay mr "business logic matters"

spare quartz
#

need to make the directory listing more efficient..

timid quartz
spare quartz
#

hu h ?

timid quartz
#

nothing just awake

spare quartz
timid quartz
#

and also contemplating if I really have to return to windows

spare quartz
#

sihhghgh

timid quartz
#

L

spare quartz
#

its fine

#

i dont need it

timid quartz
#

Shoulda used Linux

spare quartz
#

switched from io.File to nio, not a lot better but still something...

spare quartz
#

huh

#

why do i have a screenshot from 2041

timid quartz
spare quartz
#

massive parallelism reduced it from 10 s -> 3 s

#

not checking for readability makes the large computation extremely fast

#

10.24 -> 2.97 (3.44x)
18.21 -> 1.17 (15.56x)

timid quartz
#

I wonder how fast rust could do a directory list

spare quartz
#

large compute is now at ~900ms

#

50,690 file folder

#

what are they doing

#

oh my god its real

#

clearly a sparse file but what could they possibly need a 512 gb img for

timid quartz
# spare quartz

are you having to recursively sum the sizes of all the files and folders within the one folder?

rustic vine
spare quartz
#

yes

rustic vine
#

What is usersata.img

timid quartz
#

meowza

timid quartz
#

ie you go as deep in the tree that you can go and build your way up from there

spare quartz
#

thank you for describing what that means as i do not know that terminology

#

but no

timid quartz
#

how do u do it then

spare quartz
#

a directory stream is accquired, turned into a parallel stream, and recursively gone over

#

until its at the edge of a branch and stops

timid quartz
#

that's kinda depth first tbh

#

just parallelized

spare quartz
#

i do not see the similarity as you said "build your way up"

#

the file attributes are added and then the branch is followed, it can't go up

timid quartz
#

here's an example of a depth first algorithm

#

just not parallelized

spare quartz
#

hmmm then yes

timid quartz
#

"build your way up" would be like

#

uhh

rustic vine
#

Depth vs breadth

#

Why couldnt they just say width bruh

#

Gotta make it sound similar

spare quartz
rustic vine
#

Can u explain what ur doing cuz ur super nice and will explain to a noob like me

spare quartz
#

as in the code snippet sent above

#

or what its for

rustic vine
#

Idk what's the

#

Big img file for

spare quartz
#

i dont know what thats for either

#

its just in my appdata files i saw while testing

rustic vine
#

Oh..

#

512 gb???

#

Disk space is cheap i guess...

spare quartz
#

(sparse file )

#

the file is larger than my disk capacity

rustic vine
#

Whats that mean

#

Like i know what it means but like what does it mean

spare quartz
#

filesystems support this flag for specific files where they'll say they're some size

#

but they'll internally know some sections of the file aren't actually there yet

#

so while the file is written to, those sections grow, until its actually the size it said

rustic vine
#

So on disk its smaller?

spare quartz
#

its how VM software can make giant guest disks

timid quartz
# timid quartz uhh
// this is pseudo code-ish
fun File.calculateSize(): Long {
  var sum = 0L;
  
  sum += if (this.isDirectory())
    for (file in this.files()) file.calculateSize()
  else this.size

  return sum
}
spare quartz
#

but "small" initially

rustic vine
#

Oh ok

#

Huh

timid quartz
#

the "build up" part is the sum +=

spare quartz
#

oh

rustic vine
#

I aint ever encountered that

timid quartz
#

where you're using the result of the recursive call to add up the size

spare quartz
timid quartz
#

that code isn't 100% correct but you get the idea

spare quartz
#

stupid.....

timid quartz
#

well depth first is more general

#

cause there are other depth first algos like searching in a tree

rustic vine
#

There's lots of trees apparently

timid quartz
#

like harry said you really only do either depth or breadth

rustic vine
spare quartz
#

rustic vine
#

Thank u

spare quartz
timid quartz
#

well congrat you basically just made one

spare quartz
#

ew

#

you dont need to go to school and get cs classes

#

you just need the intellij profiler

timid quartz
#

what does .parallel() do under the hood anyways

#

virtual threads?

#

coroutines?

spare quartz
#

not relevant

timid quartz
#

yes relevant

#

how does it parallelize

spare quartz
#

it just forks a stream

#

how it forks is not relevant

#

it could be anything

timid quartz
#

it's relevant cause I wanna know how

#

smh

spare quartz
#

well then work on openjdk

rustic vine
#

Wait thats an external library u cant be using that

spare quartz
#

its not i made it

rustic vine
#

What ..

spare quartz
timid quartz
#

rust has rayon

#

for parallel iterators

spare quartz
#

stupid name

timid quartz
#

ur a stupid name

spare quartz
#

miko is a perfectly good name

timid quartz
#

off-brand niko

#

dollar store niko

spare quartz
#

die

timid quartz
#

"Mom can we have Niko at home" lookin aah

spare quartz
#

"mom can we have an actually good language at home"

#

rust looking ass...

timid quartz
#

we have Rust ❤️

spare quartz
#

horrible

#

kotlin on top

spare quartz
#

im not actually sure what the effects of parallel and populateData are here

#

i am completely uncertain of what the call stack will appear as if its even relevant

#

but it works great so im not changing it

rustic vine
#

Im not actually sure how you live with those tab characters

#

They seem so intrusive!

spare quartz
#

File system caches corrupted

#

how to optimize .........

rustic vine
#

You dont

spare quartz
#

im quite certain its not possible to optimize without throwing away cross compatibility

#

but i want to....

rustic vine
#

Is readAttrs your own impl

spare quartz
#

no its directly tied to nio Files

rustic vine
#

Ok so you dont

#

You dont optimize it

spare quartz
#

which should be a native call to the (paths file store) file system

rustic vine
#

👍

#

Theres nothing to optimize

spare quartz
#

theres everything to optimize

rustic vine
#

Where

spare quartz
#

nvm

#

its the windows kernel whos slow

#

fml

rustic vine
#

I told u brah

spare quartz
#

need to rewrite that

rustic vine
#

U dont

#

Maybe there is a faster way

#

Some bulk retrieval

spare quartz
#

bmbmmbmbbm,,,,,

rustic vine
#

Or just use uhh

#

Cpp!!!

#

😁 😁 😁 😁 😁

spare quartz
#

i do wonder if FFI upcalls would actually be more efficient than the (probably JNI) native call here

#

they're very efficient....

rustic vine
#

Idk what the difference is

lone sky
#

@spare quartz can we abnormalize ntoskrnl

spare quartz
lone sky
#

:C

spare quartz
#

get back to me when you have System and Secure System

lone sky
#

SELinux

timid quartz
lone sky
#

and AppArmor

lone sky
spare quartz
#

SE

rustic vine
#

What da helll

spare quartz
#

Java SE

#

Java, Standard Edition

lone sky
#

SECURITY ENHANCED

#

LINUX

timid quartz
lone sky
rustic vine
#

Isn't JNI just Java's FFI

spare quartz
#

no

rustic vine
#

Idk what u mean by that then

spare quartz
rustic vine
#

Unless youre talking about that new stuff they added in 21

spare quartz
#

yes

#

JNI is mutually exclusive to FFI

rustic vine
#

Which I have no idea about

#

Cuz im still on 8

#

And 11

spare quartz
#

horrible

rustic vine
#

And 17 sometimes

spare quartz
#

java nux.....

rustic vine
# spare quartz horrible

Well atp if you ever go out into the world and work software in corporate, and its Java, its probably 8, maybe 11 if you're lucky

spare quartz
#

work on openjdk under a bridge, life complete

#

👍

spare quartz
#

Soon

#

Be there or be square

spare quartz
#

you will not want to miss JDK 25

timid quartz
#

100% missable

spare quartz
timid quartz
#

nooo

spare quartz
#

Inferior, obsolete, pain to upkeep

timid quartz
#

rustls ❤️

#

also uh

#

rust took 20 seconds to (non-parallel) list my docs directory

#

which is like 30gb

#

well it took 20 seconds to calculate the size

#

I wonder if I add rayon what the speedup would be

spare quartz
#

My code will ultimately probably be slower

#

As it’s in the middle of constructing HTML

#

as well as collecting other related attributes

timid quartz
#

oh dang

#

using iterators sped it up to 9s

#

commented took 20s, iterators (uncommented) took 9s

#

rayon (parallel iterators) takes 4.71s

#

@spare quartz how many files are in the directory that you were listing

spare quartz
#

hold on let me get back to my computer

#

Large nested computation took 3.334256300s [8.62 kB]
ファイル数: 147,915、フォルダー数: 27,162
Large computation took 1.015787300s [9.09 MB]
ファイル数: 50,702、フォルダー数: 0

timid quartz
#

damn ok that's a lot of files

spare quartz
timid quartz
#

DirSizeResult { size: 20760618640, errors: 0, count: 537484 }

#

ok yeah

#

I'm counting about 5x as many files as you

#

it takes about 3s

spare quartz
#

heres the full function its located on

#

i think im gonna look at using that FFI if on windows

#

maybe i can get just a tiny bit faster...

#

尻尾の根元が太くてフッカフカ

timid quartz
#

DAMN

#

I had a whole ass copy of nixpkgs in my docs folder

#

that alone was 47k files and 5 gigs

spare quartz
#

proof that nix is terrible

timid quartz
#

ough and that one time I tried to build gcc

#

damn that's a massive folder

spare quartz
#

proof that gcc is terrible

timid quartz
#

agreed

#

building a gcc cross compiler yourself is nightmarish

#

oh man I forgot I made what is basically bittorrent for a class

spare quartz
#

(but worse)

timid quartz
#

yes but worse

#

not only is it very simplified but we were forced to use python

spare quartz
#

wow okay

#

i just made explorer run on my user dir

#

and it took 57 seconds

timid quartz
#

LMFAO

spare quartz
timid quartz
#

what is large nested computation

spare quartz
#

my user folder

#

large nested just means "a large tree"

#

large computation means "a large folder (no branches)"

timid quartz
#

jumpscar

spare quartz
#

proof that rust is bad

#

huh

#

new bayachao art out

#

but........ its not postable....

timid quartz
spare quartz
#

i think she has a crush on one of her characters again

timid quartz
spare quartz
#

回視聴

spare quartz
#

progress

#

If the function succeeds, the return value is a nonzero value.

#

hooray

timid quartz
#

oh atp

#

the place where I work is apparently taking an order to disassemble a reactor control cabinet

#

it looks super cool

#

tho it's small

spare quartz
#

what kind of reactor

timid quartz
#

seems like it was from a pwr

#

judging from the labels

spare quartz
#

aw man i was hoping from a chemical reactor :<

#

this new SpecializedIO file will be super cool

spare quartz
#

waahhh

#

even with direct native calls its still the same

#

stupid windows

timid quartz
spare quartz
#

should've written it in Kotlin

timid quartz
#

nah RUST

#

💪

#

who wants to run a VM just for an OS

spare quartz
#

isnt that like, docker, and linux containers, and proxmox, and stupid crap like that

timid quartz
#

ok let me rephrase

#

who wants to run a VM for their primary OS

#

on bare metal

spare quartz
#

isnt that just

#

Windows Hyper-V

timid quartz
#

not really?

#

hyper-v is more like what you said earlier

spare quartz
timid quartz
#

im saying like

#

when you boot your computer...who wants to start up a VM for the OS that gets loaded

spare quartz
#

JVM would ESSENTIALLY just be a Type 1 hypervisor

#

so its not that strange or odd

timid quartz
#

but why do that...when you could just run it directly on the computer

spare quartz
#

because its better in every conceivable way

timid quartz
#

because it's not really common at all for someone to run their primary os in hyper-v on their own physical computer

#

maybe if you're doing some weird cloud pc sure but

timid quartz
#

provably false

spare quartz
#

provably correct*

#

linux, windows, macos

#

all have the plague of having software gradually contaminate the system over time...

#

a JVM... would fix that... and more

timid quartz
#

better than the immediate contamination that is the jvm

spare quartz
#

nah

#

immediate purification

timid quartz
#

immediate damnation

spare quartz
#

your hardware will get 900x faster

timid quartz
#

because if I say...remove some program or switch desktop environments or whatever

#

once I do sudo nix-collect-garbage -d it's gone

#

entirely

spare quartz
#

"nix-collect-garbage"

#

"collect garbage"

#

z "garbage collector"

#

ZGC. JVM. JAVA

rustic vine
#

ZGC

#

ZGC

#

ZGC

#

I'll be able to use zgc finally cuz we're moving off of the arm32 softfp platform

timid quartz
#

you should make nix.kt, a pure kotlin implementation of nix

spare quartz
#

i dislike nix

timid quartz
#

unironically might do better than nix-cpp which is the defacto nix impl

spare quartz
#

BUT that jvm

rustic vine
#

CPP MENTIONED

#

⚠️

spare quartz
#

i can start working on it eventually

#

since we have our own assembler and CPU virtualizer

rustic vine
spare quartz
#

need to convert it into java nio FileTime

rustic vine
#

thats fun

#

fun win32

spare quartz
#

this is what i have rn but it dont work

#

it just makes broken dates

timid quartz
rustic vine
#

tragic

#

well

#

cpp is goated

#

but tragic

spare quartz
#

yuck a person who thinks programming langauges are a theory

#

they're just words

timid quartz
#

without theory, you wouldn't have had kotlin

#

nor java

spare quartz
#

nah

timid quartz
#

nor even the jvm

spare quartz
#

theory is useless

timid quartz
#

ok ragebaiter

spare quartz
#

actually on an unironic note while reading thru the openjdk projects

#

a lot of what they're trying to do is (paraphrasing) "let people without phds write more performant code" with the uh, flat value stuff

#

so thats neat ... unfortunately it'll take eons for it to stabilize

#

i wish i could help on some of the other projects since stuff like Nashorn hasn't been updated in a decade

spare quartz
timid quartz
#

this is true

#

you've had to put a lot of effort into self-teaching

#

but it has paid off

spare quartz
#

yeah

#

i discovered bayachao

#

which means it was worth it

timid quartz
#

life took a massive downward spiral after that

spare quartz
#

bsl is so phat

timid quartz
#

should change it from bsl to bdk

#

bread development kit

spare quartz
#

maybe thats what ill name the jdk ill eventually have to develop...

rustic vine
#

if ur smart theres nothing you cannot learn that is taught in school

#

for smart people thats not why they go to school

#

im not smart so I like having the info presented to me 😁

spare quartz
#

super duper fast ...

rustic vine
#

however don't get me wrong tho

#

theory matters

#

but you certainly don't have to learn it in school

#

DOGE?????

spare quartz
#

allocation is so expensive......

rustic vine
#

2L as in 2 liters

#

on an unrelated note, A+E key ssds are like impossible to find

spare quartz
#

hmmm

#

i think ill stash this specialized io for other stuff

#

it performs worse than the java direct one but it does give me more access to stuff not exposed in nio

spare quartz
#

nvm

#

it performs as good or better than the former

#

JDK 24 also added a better allocation feature

timid quartz
spare quartz
#

die

lone sky
#

@timid quartz holy shit

#

i found a pretty nice (and open source!) office suite

#

it also has

#

with external services

#

so that's pretty cool ig??

#

-# p.s: @flint belfry would you mind if i setup a nextcloud under my vm

spare quartz
#

okay

#

this should improve efficiency on cache invalidation by an unholy amount

timid quartz
lone sky
#

it's actually pretty nice to use

#

on another note right now im gonna strangle tailscale cause wtf does this mean

#

I already gave you your cert bruh 😭 what else do you want from me

timid quartz
#

I’ve seen those yeah

flint belfry
#

no not really lol go for it

timid quartz
#

@spare quartz apparently u can’t use java to control a nuclear reactor

#

So we know nuclear reactors are not among the 3.1 billion devices

rustic vine
#

yea instead they run on the much more fault tolerant c89

#

what am I saying, its prolly fortran

timid quartz
#

maybe some cobol in there too

spare quartz
#

and that just says they dont want you to do those things

#

you still can

lavish dove
#

they said that because of oracle jdk's terms of service which says the same thing

spare quartz
lavish dove
#

djfewiof'

spare quartz
#

cache revalidator improvements are amazing in the new bsl

#

updates huge directories very quickly

#

need to consoldiate the data in the future though

#

also need to create a two stage system in the future

#

partial list (no statistic) -> statistic list (when computed)

spare quartz
#

cooked up a massive storm here

lone sky
#

@timid quartz RAHHHH

#

getting my nextcloud setup

#

but I'M STILL DEALING

#

WITH THE FUCKING HTTPS CERTS LIMBO

spare quartz
lone sky
#

NVM

#

A REBOOT DID IT

lone sky
#

FUCK

#

actually

#

I think that's only accessable to me

lone sky
#

@timid quartz @spare quartz @flint belfry IT WORKS!!

#

NOW I JUST NEED MY HTTPS CERTS

spare quartz
#

@rustic vine opin ino

#

parser™

spare quartz
#

@timid quartz

#

another reason why reification is on top

#
inline operator fun <reified E, T> EnumEntries<E>.get(n: T): E where E : Enum<E>, E : Mappable<T> = this.first {
            it.id == n
        }
#

file:///C:/Users/Adenosine3Phosphate/Downloads/Telegram%20Desktop/FULLTEXT01.pdf

#

oops

spare quartz
spare quartz
#

nah

#

its beautiful

#

plus you literally have the rust type system behind you so you cant judge

#
[ID3Frame."ID3"[][#0][v3.0], ID3Frame."TIT2"[][#0][UTF_16."Death"], ID3Frame."TPE1"[][#0][UTF_16."C418"], ID3Frame."TRCK"[][#0][UTF_16."4/24"], ID3Frame."TALB"[][#0][UTF_16."Minecraft - Volume Alpha"], ID3Frame."TPOS"[][#0][UTF_16."1/1"], ID3Frame."TDRC"[][#0][ISO_8859_1."2011-03-04"], ID3Frame."TCON"[][#0][UTF_16."Pixel"], ID3Frame."POPM"[][#2], ID3Frame."TENC"[][#0][UTF_16."C418"], ID3Frame."TPE2"[][#0][UTF_16."C418"], ID3Frame."TCOP"[][#0][UTF_16."2011 C418"], ID3Frame."TSSE"[][#0][UTF_16."Lavf60.16.100"], ID3Frame."WOAS"[][#54], ID3Frame."COMM"[][#102], ID3Frame."USLT"[][#170], ID3Frame."APIC"[][#69496]]

#

first metadata!!

#

popularimeter

spare quartz
#

it has lyrics??

#

this is apparently an id3 picture type

lone sky
#

@timid quartz FUCKING FINALLY

#

GOT HTTPS WORKING

#

ALL IT TOOK WAS MY SANITY

#

(GUESS WHAT!!! FUCK SELINUX!!!!)

spare quartz
#

image exported

spare quartz
#

RALEIGH, NC—Describing the woman as bafflingly at peace with the simple enjoyment of her hobby, confused sources confirmed Monday that a local fucking weirdo was really good at something that she wasn’t trying to capitalize on. “She’s so good at this it could be a secondary source of income, and yet she seems to have absolutely no intere...

#

how it feels programming

spare quartz
#

ID3 v2 parsing

lone sky
pastel tinsel
#

apic

spare quartz
#

Album PICture

spare quartz
rustic vine
#

So this is not as bad as that beirut one right?

spare quartz
#

No, but

#

Yolo County

rustic vine
#

YOLO

#

Wait I hope everyone is ok

#

It says 2 homes

spare quartz
#

Well.. it says 7 people “unaccounted” for

#

but they evacuated the area

rustic vine
#

Oh

#

Well they are probably ok then

#

Hopefully

#

Warehouse clock was probably not a RTC

#

And doesn't have an NTP server

#

Ran 2 days ahead

#

Truly a disastrous scenario

spare quartz
#

Nah it had RTP, it was just waiting on another RTP server, and another, and another…

#

NTP**

#

Stupid brain

rustic vine
#

Lol

#

Waiting on? Wdym

spare quartz
#

NTP servers can be layered based on where they get their time

#

Either another server, a satellite, an atomic clock, a radio, …

rustic vine
#

Oh it was the solar flare

#

Took all the NTP servers offline

#

Unfortunate circumstance

spare quartz
#

OH

#

So that’s what that looked like

timid quartz
spare quartz
#

apparently it was as strong as 136 MOABs detonated at once

timid quartz
#

meh

#

russia, bring out the tsar bomba

spare quartz
#

big nukes aren't really that important anymore

#

its (relatively small) ICBMs with many MIRVs

timid quartz
#

thats what you think until a tsar bomba hits you

spare quartz
#

it wont because they're never gonna make another

timid quartz
#

for coastal targets

spare quartz
#

huh

#

oh you mean SLBMs

#

those can target practically anywhere in the world

#

those also use MIRVs

#

one of the most prominent are the trident iis

timid quartz
#

I thought there was a kind meant for coastal targets

#

that would surface right before they struck

#

basically undefendable because you dont see them until right before they hit

spare quartz
#

well thats applicable to every suborbital weapon

#

the MIRVs of an ICBM/SLBM/what have you reenter so fast and with so many numbers its a losing game

#

it would ultimately cause the end of modern civilization as we know it though

timid quartz
#

yep

#

it's only a matter of time tbh

spare quartz
#

as everyone has a gun to each others head, in every possible point of the world, with some you can't even see

#

but thats why we're safe and it'll never happen

timid quartz
#

putin will probably send at least one off before he dies

#

same with kim jong un

spare quartz
#

nah me and kim are best buds

#

he said he'll nuke every rust programmer

timid quartz
#

and also probably president xi

#

putin is 72 years so honestly

#

we got like 15-20 years tops

#

before world collapse

spare quartz
#

nah

#

wont happen

#

nothing ever happens im telling you

timid quartz
#

I am very familiar with chud's law of happenings

spare quartz
#

just like how rust will never be a good language

#

nothing will ever happen

spare quartz
#

you cant just draw internet speech over a graph of an asymptote

timid quartz
#

but honestly the play is to live in a major metropolitan area or near a strategic military target

timid quartz
#

so that way when the nukes do drop you die faster

#

ideally in the fireball

timid quartz
#

I mean me too

#

I live in the biggest metropolitan area in the southeast

spare quartz
#

okay yeah but you haven't lived in a military target for your entire life

#

like everywhere

timid quartz
#

ok but I've lived within 15 miles of one my entire life

spare quartz
#

15 miles blah blah blah

#

bros probably never lived near peterson

timid quartz
#

never heard of it, sounds lame

#

probably sucks

spare quartz
#

NORAD HQ

#

😭

#

it is THE target

timid quartz
#

meh norad shmorad

spare quartz
#

die

#

bayachao save me

timid quartz
#

they cant do anything against a bunch of MIRVs

#

basically pointless

spare quartz
#

yes they can

#

think about it

#

japan was hit with two atom bombs

#

and as a result bayachao was made

#

so if you hit somewhere with 1 mirv (which is like a lot of atom bombs)

#

you'll get 1 super bayachao

timid quartz
#

and then 5,000 MIRVs hit across the US (and then more across the rest of the world) and then modern society ends

spare quartz
#

nuh uh

#

im wagging my finger at you

timid quartz
#

I legit give it 15-20 years tops

spare quartz
#

hold on lemme find a video

timid quartz
#

modern society won't be around by 2050 I'm actively betting on it

spare quartz
spare quartz
#

modern society doesnt exist

#

its contemporary society

timid quartz
#

blah blah blah

#

whatever we have now

#

won't exist by 2050

spare quartz
#

duh

timid quartz
#

likely because of global thermonuclear warfare

spare quartz
#

nuh

#

its cause of technological advancement

timid quartz
#

nope we're all gonna die and the ones who remain will be trapped in nuclear winter

spare quartz
#

people will be using their glooble boxes

timid quartz
#

either that or we'll all burn to death from global warming

spare quartz
#

oh yeah did you hear

#

xbox layoffs again

timid quartz
#

woooo