#💽Programming Chat v2
1 messages · Page 94 of 1
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
Squid games 2 days ago
already watched it
Have yall seen it all already
good season 👍
Ok
and immediately had to get out cause they overheated the ball core
DONT SAY A WORD
and then pbst came in and saved the day
im trying to remember where the big parts are
i think most of them happen on the last epsiode
💀
egregious
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
So its like if aera worked at a restaurant
it's exactly what I was telling you earlier
just a simple thing with GET /
uncomparable
ur mom is uncomparable
egregious that your server even needs 15mb of ram
and that is a debug build I'm running
okay but do you even cache
8 GIGS IS 2 BUCKS
nvidia gave me 12 actually 🙏
THINK OF THE POOR CONSUMERS
@timid quartz i bet your rust cant do this
I responded in knockoff prog chat and didnt get a reply 😢
totally real only using 0.1 mb kernel
uh huh right
One can’t add new features infinitely without risk of turning into C++.
cancerous tumor as a programming language
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!
Um, one is unsecure
okay but why
Hahahaham..ndsehvv j😅 😅
they're the same image
Prolly cuz bill Clinton decreed it so
Goated os
https://t.co/2CscqjAmHT is now available for windows.
paste a link
hit download
walk away with 8k video
free. no ads. no bullshit.
so its an electron app
STOP
NOOOOO
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
Where are u pulling this code from
more useless comments and also random api token
the installer is self-extracting so i just pulled it out with 7zip
the contents are an electron directory
Oh ok good to know its ✅ FIXED
I was worried it wasnt fixed
and thats the source code
✅ FIXED
@spare quartz this is the old shield (moderation system before guardsman) api
what does it do
has a database connection pool, middleware to handle auth, etc
This guy flexing his memory usage like its 2003
db connection irrelevant
kys it's very relevant
its not
it drives ram use up
thats like saying open file handles are relevant
those are both externally controlled
Its ok deploy the ✅ FIXED: Reduced memory usage
very true
ask chatgpt to make your code better
i bet its not even PRODUCTION READY
nah it's already in rust it cant get much better
erm...this was used in production
for
years
lol
It could get better if you wrapped all your code in unsafe blocks
irrelevant
Is your webserver web3 ready
delusional cucklin user
Does it incorporate big crypto
Gigachad rust is just calling into cpp
managed languages are the future
I wish him luck on the 5 exams he has to take today
WTH ITS JULY
WHY ARE THERE EXAMS
Huh?????
they get like 3 days of break
shouldve not gone to school
How did they go from biggest empire in the world to examboy
tell atp about the jvm terry
you still havent even made one aera
This ain't forwarded this reposted
close enough
Nope im community noting you
Checkmate
so thats technically a subset of reposting
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
its cause they use js
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
- api doesn’t do directory listing
- probably does but we don’t use them cause api doesn’t serve files
- probably does but we don’t use them, we do authentication
- TLS stack is rustls (pure Rust impl of TLS)
- handled by the library between http/1.1 and http/2
"probably does" is not very inspiring
and by tls stack i meant more of how you managed it
instead of implementing it cause you obviously didn't
library handles managing it
Yes it’s possible to do all of those
is the TLS encryption/decryption cycle handled by you, or abstracted away?
but are you doing them is my question
no because the api ran behind a reverse proxy that terminated https
the feature was disabled lol
why was it present ever??
wdym
by feature I mean that I set it to where TLS wasn’t compiled into the api
compile time code exclusion
i know what features are
im asking why you have it if you're not gonna use it in the first place
I’m saying I didn’t lol
no
fdsfndfewirfjwefm
it’s there because some people might need TLS
those people are stupid
I’m just saying if you wanted TLS it would be using rustls
use a standardized infrastructure
though I think there is a feature for OpenSSL
Stupid Idiot Protocol
YEAH YOU
Smart Ideas Person
Thats goated
I DONT EVEN HAVE A CAMERA OR MIC
Thats what u think
i used to
but they physically fell apart
now all i have is a GPS tracker
but it only works over serial..
then again
what security headers do you use atp
they're adding APIs to JS for serial communication
all of them
what are all of them
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
shield api 11mb release build
simple server 2.3mb release build
shield api is massive
so.... it's just like I would be ripping assets from debikone
right?
http_router is 35 KB
yes
its just electron
except debikone is actually like
cause it's just bytecode
written ... by those people ... and drawn too ...
yours is too, is it not
if you consider assembly as bytecode...ig?
its just bytecode, loading, and dynamic flags
bayachao if you can hear me make another game on javascript and CEF
it matters a ton
memory and cpu efficiency matters more
its not just running characteristics that are important but cross-platform too!
disk is so cheap nowadays
how reliant IS shield api on the disk
cause http_router as well as everything behind it is completely agnostic to it
I mean it's reliant on a database which is reliant on the disk
but it's not bound to a particular FS
everything that uses databases is over
youre just a hater fr
your silly compiled language is nothing to my managed, super fast, super efficient, omega easy to write, jvm
you're just coping from choosing a jvm language in 2025
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...
chao partition table
and it'll be like those linux start up flags... dictating the JVM flags for the kernel ...
so
you're making an actual java OS?
when i have the time and infrastructure for it yes
lame
ive just got a bunch of theory and a precursor (BSL)
bet you dont even have a picojava
i dont cause jvm is lame
your stupid lang doesnt even have first-class smart card support
get dunked on
cause we INVENTED it.
who even uses those aside from the military
actually
that means your credit card is part JVM
you must love it so much you carry it in the real world <3
apparently a required .DLL for microsoft office versions after 2016
welp guess I gotta cut my credit card in half
in jp or en
either works
the subbers for the anime take a ton of liberty with what the characters are saying
its honestly impressive
yeah they're trying to go for more "feel/meaning" than literal translation
anyways @spare quartz where did you get that ada tag from
i bet it still costs a kidney though
oh you meant the docs site
i thought you were talking about the training
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.
embracing* rust
you're literally izanari
I wanna look into using GraalVM soon to see what I can expect out of it
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
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.
i had a white instructor who knew perfect chinese
worked as a factory manager for like 15 years there
damn... thanks for reminding me about the time i was talking with my jrotc instructors... and they start barking back at me in perfect german 💔
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.
that's basically every modern java enterprise application
yeah okay mr "business logic matters"

hu h ?
nothing just awake
結婚式の余興で流したものです
これからも、優しく見守ってください…!
#気狂い同士の出会い
#歴史の動く瞬間
#最高の瞬間
▼お仕事のご連絡
[email protected]
▼ばやちゃおTwitter
https://twitter.com/BAYACHAO
▼魔けモン!Web
https://bayachao.wixsite.com/makemon
and also contemplating if I really have to return to windows
sihhghgh
L
Shoulda used Linux
Time traveler
ooo
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)
I wonder how fast rust could do a directory list
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
are you having to recursively sum the sizes of all the files and folders within the one folder?
@grok context??
the sum of the entire folder tree
yes
What is usersata.img
meowza
im guessing you just do like a depth first algorithm
ie you go as deep in the tree that you can go and build your way up from there
how do u do it then
a directory stream is accquired, turned into a parallel stream, and recursively gone over
until its at the edge of a branch and stops
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
hmmm then yes
breadth experts group...
Can u explain what ur doing cuz ur super nice and will explain to a noob like me
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
So on disk its smaller?
its how VM software can make giant guest disks
// 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
}
but "small" initially
the "build up" part is the sum +=
oh
I aint ever encountered that
where you're using the result of the recursive call to add up the size
sparse files are moderately niche
that code isn't 100% correct but you get the idea
NOOOOO THIS CANT BE TCO'D
stupid cs nerds coming up with names for a recursive sum of a file tree
stupid.....
well depth first is more general
cause there are other depth first algos like searching in a tree
There's lots of trees apparently
like harry said you really only do either depth or breadth
Is like a forest even
森
Thank u
i hate algorithms ...
well congrat you basically just made one
ew
you dont need to go to school and get cs classes
you just need the intellij profiler
not relevant
well then work on openjdk
Wait thats an external library u cant be using that
its not i made it
What ..
ハッピーバレンタイン!!!!(フライング)
ばやちゃおと一緒に大好きなバレンタインソングを歌って描きました!コラボありがとう~~!!
ばやちゃお
https://twitter.com/BAYACHAO
https://www.youtube.com/c/BAYACHAO
きゐ
https://twitter.com/kiro247
https://www.youtube.com/channel/UCmSU...
stupid name
ur a stupid name
miko is a perfectly good name
die
"Mom can we have Niko at home" lookin aah
we have Rust ❤️
p.s.
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
You dont
im quite certain its not possible to optimize without throwing away cross compatibility
but i want to....
Is readAttrs your own impl
no its directly tied to nio Files
which should be a native call to the (paths file store) file system
theres everything to optimize
Where
I told u brah
need to rewrite that
bmbmmbmbbm,,,,,
i do wonder if FFI upcalls would actually be more efficient than the (probably JNI) native call here
they're very efficient....
Idk what the difference is
@spare quartz can we abnormalize ntoskrnl
shut it linux user
:C
get back to me when you have System and Secure System
on bottom*
and AppArmor
shut it ragebaiter
What da helll
not ragebait if it's true
okay ragebaiter
Isn't JNI just Java's FFI
no
Idk what u mean by that then
The Foreign Function and Memory (FFM) API enables Java programs to interoperate with code and data outside the Java runtime. This API enables Java programs to call native libraries and process native data without the brittleness and danger of JNI. The API invokes foreign functions, code outside the JVM, and safely accesses foreign memory, memory...
Unless youre talking about that new stuff they added in 21
horrible
And 17 sometimes
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
uninstall, delete, quit, get a bad mark put on my record, never get a job again, get homeless
work on openjdk under a bridge, life complete
👍
JDK 25 General Availability
Soon
Be there or be square
you will not want to miss JDK 25
100% missable
JEP 666: Remove the Rust community and its users
nooo
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
My code will ultimately probably be slower
As it’s in the middle of constructing HTML
as well as collecting other related attributes
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
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
damn ok that's a lot of files
DirSizeResult { size: 20760618640, errors: 0, count: 537484 }
ok yeah
I'm counting about 5x as many files as you
it takes about 3s
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...
尻尾の根元が太くてフッカフカ
DAMN
I had a whole ass copy of nixpkgs in my docs folder
that alone was 47k files and 5 gigs
proof that nix is terrible
proof that gcc is terrible
agreed
building a gcc cross compiler yourself is nightmarish
oh man I forgot I made what is basically bittorrent for a class
(but worse)
LMFAO
what is large nested computation
my user folder
large nested just means "a large tree"
large computation means "a large folder (no branches)"
jumpscar
proof that rust is bad
huh
new bayachao art out
but........ its not postable....

i think she has a crush on one of her characters again
回視聴
progress
If the function succeeds, the return value is a nonzero value.
hooray
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
what kind of reactor
aw man i was hoping from a chemical reactor :<
this new SpecializedIO file will be super cool
waahhh
even with direct native calls its still the same
stupid windows
slow ass kernel
should've written it in Kotlin
okay tbf
isnt that like, docker, and linux containers, and proxmox, and stupid crap like that
im saying like
when you boot your computer...who wants to start up a VM for the OS that gets loaded
but why do that...when you could just run it directly on the computer
because its better in every conceivable way
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
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
better than the immediate contamination that is the jvm
immediate damnation
your hardware will get 900x faster
in a different sense this is why I like nixos
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
ZGC
ZGC
ZGC
I'll be able to use zgc finally cuz we're moving off of the arm32 softfp platform
you should make nix.kt, a pure kotlin implementation of nix
i dislike nix
unironically might do better than nix-cpp which is the defacto nix impl
BUT that jvm
i can start working on it eventually
since we have our own assembler and CPU virtualizer
also its not in rust? 😭
rm im kinda fighting with Win32 FILETIME
need to convert it into java nio FileTime
there is tvix that is rust but nix-cpp is the original and defacto impl
nah
nor even the jvm
theory is useless
ok ragebaiter
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
tbf... ive gotten pretty far with no classes in cs...
this is true
you've had to put a lot of effort into self-teaching
but it has paid off
life took a massive downward spiral after that
maybe thats what ill name the jdk ill eventually have to develop...
because cs classes don't matter
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 😁
however don't get me wrong tho
theory matters
but you certainly don't have to learn it in school
DOGE?????
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
nvm
it performs as good or better than the former
JDK 24 also added a better allocation feature
nope, worse
die
@timid quartz holy shit
i found a pretty nice (and open source!) office suite
it also has
cloud sync
with external services
so that's pretty cool ig??
-# p.s: @flint belfry would you mind if i setup a nextcloud under my vm
what’s it called?
onlyoffice desktop editors
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
biohazard
no not really lol go for it
@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
yea instead they run on the much more fault tolerant c89
what am I saying, its prolly fortran
maybe some cobol in there too
I know .
and that just says they dont want you to do those things
you still can
they said that because of oracle jdk's terms of service which says the same thing
djfewiof'
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)
@timid quartz RAHHHH
getting my nextcloud setup
but I'M STILL DEALING
WITH THE FUCKING HTTPS CERTS LIMBO
@rustic vine opin ino
parser™
@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
that's nasty
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
@timid quartz FUCKING FINALLY
GOT HTTPS WORKING
ALL IT TOOK WAS MY SANITY
(GUESS WHAT!!! FUCK SELINUX!!!!)
lobotomy
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
hi kyubi
apic
Album PICture
Fireworks warehouse explodes in Yolo County
Quoting BNO News (@BNONews)
︀
BREAKING: Fireworks warehouse explodes in Yolo County, California, destroying 2 homes
So this is not as bad as that beirut one right?
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
Nah it had RTP, it was just waiting on another RTP server, and another, and another…
NTP**
Stupid brain
NTP servers can be layered based on where they get their time
Either another server, a satellite, an atomic clock, a radio, …
Oh it was the solar flare
Took all the NTP servers offline
Unfortunate circumstance
OH
A massive explosion rocked Beirut, Tuesday, August 4, flattening much of the port, damaging buildings across the capital and sending a giant mushroom cloud into the sky.
–––––––––
READ MORE: At least 60 are dead and 2,500 injured after a massive explosion Tuesday rocked the port area of Beirut in what a Red Cross official cal...
So that’s what that looked like
oh shit a nuclear bomb
one of the most powerful explosions that wasn't nuclear
apparently it was as strong as 136 MOABs detonated at once
big nukes aren't really that important anymore
its (relatively small) ICBMs with many MIRVs
thats what you think until a tsar bomba hits you
it wont because they're never gonna make another
arent there the ones that are launched underwater and then surface right before the shore
for coastal targets
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
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
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
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
and also probably president xi
putin is 72 years so honestly
we got like 15-20 years tops
before world collapse
I am very familiar with chud's law of happenings
you cant just draw internet speech over a graph of an asymptote
but honestly the play is to live in a major metropolitan area or near a strategic military target
That was close.
Reuploaded from my Twitter (https://twitter.com/Enderborn_)
Greenscreen Link: https://drive.google.com/file/d/1eiw2EeHBloZB5f3LjgeKeafe-rbGd0To/view
wow are you calling me out
okay yeah but you haven't lived in a military target for your entire life
like everywhere
ok but I've lived within 15 miles of one my entire life
meh norad shmorad
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
and then 5,000 MIRVs hit across the US (and then more across the rest of the world) and then modern society ends
I legit give it 15-20 years tops
hold on lemme find a video
modern society won't be around by 2050 I'm actively betting on it
this is gonna happen when they fire one at bayachao
Submarine Trident II D5 Missile Test Launch Failure 12-13-1986 USS Tennessee SSBN 734 the first trident II D5 submarine launch.
This video was recorded from news one satellite feed when I was a master control engineer at KCAU-TV Channel 9 Sioux City Iowa 1986-1989
well if you wanna be technical
modern society doesnt exist
its contemporary society
duh
likely because of global thermonuclear warfare
nope we're all gonna die and the ones who remain will be trapped in nuclear winter
people will be using their glooble boxes
either that or we'll all burn to death from global warming
woooo
