#šŸ’½Programming Chat v2

1 messages Ā· Page 87 of 1

lone sky
#

spanishchao

lone sky
#

stadia sucked, aera

#

accept it

#

cloud streaming is overall just not quite ready just yet

#

feels like a great thing in paper, but the execution for it is poor most of the time

#

(unless you count using steam play/moonlight as cloud streaming. but that's cause you probably have a good connection between both devices)

timid quartz
#

hmmm @spare quartz what's a good way to create log files for managed applications

#

I was thinking commandArray[0] .txt for the name but that could get odd if you do java -jar jar1.jar and java -jar jar2.jar

timid quartz
#

specifically naming sorry

lyric mesa
#

can i hear..

spare quartz
timid quartz
#

atp

#

raah

timid quartz
#

if I incorporated the pid into the name, the log file would have to wait until AFTER the process is spawned, meaning that some logs could get lost

spare quartz
timid quartz
#

"transfer control to file handler" you mean redirect the inputstream rot

spare quartz
#
val temp = StreamHandler(ByteArrayOutputStream())
pl.addHandler(temp)
pl.ops ...
pl.removeHandler(temp)
temp.to.transferTo(file)
pl.addHandler(FileHandler(file))
pl.ops ...
timid quartz
#

I can't attach a logger to a process can I

spare quartz
#

what does that mean

timid quartz
spare quartz
#

it is

#

P[rocess]L[ogger]

timid quartz
#

but managed applications/processes may not be java

#

they might be shell scripts

spare quartz
#

irrelevant_

timid quartz
#

carpool -add_application="./whatever-executable"

spare quartz
#

how you determine what parts of stdout constitute as a new entry for your logger is your business

timid quartz
#

or I just redirect all of stdout

spare quartz
#

good enough

timid quartz
#

rather than try to impose some kind of logging scheme on applications, I'll just let applications log however they want, and if it happens to go to stdout it just gets dropped into a file

spare quartz
#
val temp = StreamHandler(ByteArrayOutputStream())
pl.addHandler(temp)
pl.ops ...
pl.removeHandler(temp)
temp.to.transferTo(file)
[pl is useless now]
exec.out.transferTo(file)
#

ćŠé”˜ć„ļ¼ć‚³ćƒ³ć‚³ćƒ³ćŠēØ²č·ć•ć¾ - ARMĆ—ē‹å¤¢ęƒ³

timid quartz
#

oh

#

outputStream has methods to read it

spare quartz
#

i would suggest wrapping it in a reader of some kind

#

since output stream is byte-by-byte, and a reader reads character-by-character

#

although that might not be of any difference if you pipe the two straight to a file..

lone sky
#

so bored right now ngl @spare quartz

#

got anything to do

spare quartz
#

no unfortunately

#

im too busy debugging

timid quartz
#

seems like .transferTo might also just by default dump whatever's there to the file

spare quartz
#

output.write(output.readAllBytes())

#

this is essentially transferTo at its core

lone sky
#

quite the bummer

spare quartz
#
00b8b98cec03
00b8b98cec03 03 00 b19203
             ^ /
03b0c4fbc804 00
             
#

little confusing bug fixed

timid quartz
#

mmm path is not serializable

#

great

spare quartz
#

what's wrong

timid quartz
#

keeping track of the log file

spare quartz
#

you could send its canonical representation as a string

#

the only problem possible there is that the other end might not be on the same filesystem as you, but... i don't assume you'll be developing for such an exotic setup

timid quartz
#

nah

#

well

#

even if it is

#

it'll refer to a path on the FS where the process is being run

#

so the path will be valid on that FS

#

well

#

eh nvm

#

it wont be that exotic

spare quartz
#

wow its still thundering

#

the super fast flashes have stopped (since its day now) but i can still hear them out in the distance

#

its also drizzling

#

as expected the first 3 logs take a few microseconds since it has to cache + write

#

but everything after is much faster

#

as a result of memorized level detailing the file is a lot more sparse

#

the majority is just message data

#

which... is compressible...

#

(theoretically. im unsure if the benefits outweigh the costs)

#

brb resetting router

timid quartz
#

ayoooo

#

hmm is this enough for a v1.1.0?

spare quartz
#

Router setup agaainnn

timid quartz
#

atp...would you consider using carpool

#

for a server of yours :3

#

or even multiple

spare quartz
#

Like actually or just for a test

#

Cause if your setup is OK enough then I’ll consider it when the new server is operational

#

But rn it just has to be for a test

timid quartz
#

hmm

lone sky
timid quartz
#
val transferThread = Thread.ofVirtual().start {
    app.inputStream.transferTo(appLogFile.outputStream())
}
#

how can I kill this

lone sky
#

also holy fucking shit i didn't know you were THAT white

timid quartz
#

once the app is removed

lone sky
#

(tbf im pretty white aswell)

spare quartz
#

I’ve just gotten… regular burnt and friction burnt

timid quartz
#

hmm

spare quartz
#

boo burn marks I was stupid as a child

#

Hooray router is setup

lone sky
#

was making french toast for my mother like 3 years ago

#

burnt myself with oil

timid quartz
#

thread.stop() is deprecated

spare quartz
spare quartz
timid quartz
#

oh and then add a condition and be like

#

actually dont even need a condition?

spare quartz
#

.interrupt should in theory produce an interruption exception with transferTo but I’m not certain

#

depends on the underlying stream

timid quartz
#

well we'll see

spare quartz
#

alright

#

time to open dns on my router..

#

and see if the dns server can receive

#

augh

#

just checked CZDS

#

expired

rustic vine
spare quartz
#

Attachments and embeds brokenSubscribe
Investigating - We are investigating an issue with attachments and embeds not being rendered in the app.
Jun 12, 2025 - 11:02 PDT

#

OK

#

ive come up with an idea to produce even more compression

timid quartz
#

v1.1.0

timid quartz
spare quartz
#

you must release it as a distribution

timid quartz
#

what does that mean

spare quartz
#

sigh

#

cant upload images cause discord is broken rn

#

gradle task > build
project root/build/distributions/<YOUR DISTRIBUTION>.<zip/tar>

#

you need to upload this, not the jar

#

the jar itself is unusable to 99% of people

upbeat badgeBOT
#
Members

11317

spare quartz
#

i dont have kotlin installed

timid quartz
#

ughhh womp WOMP

#

I’ll do it later

timid quartz
spare quartz
#

sounds like good design

rustic vine
#

Just ai it

#

Ai will fix it

#

Ask copilot to fix it

spare quartz
#

aera is the type of guy to put every entry in his fs in PATH...

#

IVE COME UP WITH AN ENTROPY INCREASING IDEA

#

IT IS TIME TO COMPRESS!!!

timid quartz
#

Just java -jar bruh

spare quartz
timid quartz
#

You’re unusable

spare quartz
#

you're assuming the user has BSL, kotlin, annotations all on their system classpath?

#

are you mad?

spare quartz
#

this is why they made distributions

upbeat badgeBOT
#
ID

958867830579806248

Name

Director of Science

Color

#9e6bff

Mention

<@&958867830579806248>

Hoisted

Yes

Position

114

Mentionable

No

Managed

No

timid quartz
spare quartz
#

you shouldn't do that though

rustic vine
#

<@&958867830579806248>

#

Neat

spare quartz
upbeat badgeBOT
#
ID

1043211131612835901

Name

—┨Shame Roles┠—

Color

#ffffff

Mention

<@&1043211131612835901>

Hoisted

No

Position

42

Mentionable

No

Managed

No

spare quartz
#

actually... not a bad idea... but a distribution is easier to use + you can specify default jvm args

rustic vine
#

Shame on u

spare quartz
#

so go for the distribution

#

the size is about the same anyways (give a few extra bytes for the .bat/.sh scripts gradle drops in for you)

upbeat badgeBOT
#
ID

346444423271415819

Name

@everyone

Color

None

Mention

<@&346444423271415819>

Hoisted

No

Position

0

Mentionable

No

Managed

No

rustic vine
#

Huh

#

What is hoisted

#

Managed

spare quartz
#

means appears as its own category in the role list

#

means its owned by a bot

rustic vine
#

Oh huh

#

Cool

upbeat badgeBOT
#
signin.aws.amazon.com

@spare quartz

Joined

Sat, Jun 1, 2024 4:05 AM

Registered

Sun, Nov 25, 2018 12:38 AM

Roles [5]

<@&945385997519159376> <@&1381559477760823327> <@&945386020155846718> <@&1381272488876703824> <@&1341111867266961520>

#
Quantum Science Public
Owner

cosmo

Members

11,317

Roles

115

Category Channels

13

Text Channels

79

Voice Channels

15

Threads

303

Boost Count

76 Boosts (Tier 3)

timid quartz
rustic vine
#

79 channels???

timid quartz
#

I don’t specify default args

rustic vine
#

115 roles????

spare quartz
#

JVM args, as in arguments pertinent to the JVM

#

not you

rustic vine
#

Like -XX

#

😁

spare quartz
#

yes like -XX

upbeat badgeBOT
#
Ranks

Patch Notes
Events
Minecraft
QBC Followers
Sneak Peeks
QOTW Recipient
End of Month Disco
Combative Changes
Giveaways
Birthday mentions
Dev Stream

#

dynoSuccess You joined Minecraft.

rustic vine
#

WAIT

#

SEND MEBACK

upbeat badgeBOT
#

dynoSuccess You left Minecraft.

rustic vine
#

Oh ok

upbeat badgeBOT
#
237 Static, 38 Animated (275) Total

QUANTos8ball QUANTosBan QUANTosDenied QUANTosDone QUANTosInfo QUANTosKick QUANToseval QUANTosFailure QUANTosMute QUANTosSearch QUANTosWaiting QUANTosError SSTBENEFACTOR SSTSUPPORTER SSTBENEFITSPROGRAM qspride QS QBC QSST QIAD QCOD DOMESTIC agony2 boohoo QSUK BRUH bruhcat bruhcatboom bulgariansquidward ca0 ca1 ca3 ca12fresh

ca12mrshock ca13ploobie ca14 ca15gatoexplode ca16AtomDestroyer ca17blehh ca18eebydeeby ca35 ca66jumpscare calliesnacks cannycatto catjam_static CaToast CatStare Catthumbsup catthumbsup clearly cool countdown danc DAYMADE DAYNOTMADE disgusted distressedredball donot ecstatic fat fatfucktrain fear fine flabbergasted fuming

guy hasMods her jebreverse jebwins LETSFUCKINGGOOOOOO lucy_disappointed lucy_stare Luna MAN manyecstatic manyfuming manyrot manysmiler me moai MYMAN openingqsp qsp nothoughts QuantumCool rot Sadge sadyeehaw salute shut skelefan skullplanet smiler starehollow steamhappy steamsuffer stinky suspicion

upbeat badgeBOT
upbeat badgeBOT
rustic vine
#

Oh

#

Sorry guys im done

timid quartz
#

yeah my build.gradle.kts files specifies no default args :3

spare quartz
#

entropy time

timid quartz
#

also atp did you see Apple’s Java-Swift compatibility thing

spare quartz
#

yes

timid quartz
#

Your JVM is getting invaded by a better language

spare quartz
#

you already said that

timid quartz
#

Swift will be what Kotlin was meant to be and failed to become

rustic vine
#

Did u see they got 40tb drives

#

10tb platters

timid quartz
#

Damn that’s big

rustic vine
#

Yea it should fit a few next gen games on it

timid quartz
#

It can fit maybe 2 copies of GTA VI

spare quartz
#

@timid quartz [ęƒ…å ± | 06/12 13:28:37.381844 | Banked File Reader Tests | nextRecord[1]] Finished; compression: 4.910237224836283%

#

5%!!!!!

#
[ęƒ…å ±     | 06/12 13:29:38.711590 | Banked File Reader Tests | nextRecord[1]] Plaintext log: 1000359 bytes
[ęƒ…å ±     | 06/12 13:29:38.761898 | Banked File Reader Tests | nextRecord[1]] Wrote [2711] times
[ęƒ…å ±     | 06/12 13:29:38.835281 | Banked File Reader Tests | nextRecord[1]] Banked log: 49113 bytes
timid quartz
#

halve it again rot

spare quartz
#

i plan to.. using the power of encapsulation

#

the compression i did just now either does nothing or completely reduces a message to one byte

#
   message length byte
   v
...LLLLLLLC...
          ^
          1 = message follows
          0 = LLLLLLL0 >> 1 is the message index from before
timid quartz
#

Discord shitting itself

timid quartz
#

Someone misconfigured their S3 bucket

#

Or forgot to pay the bill

spare quartz
#

which means that using some sort of smart chunk detection system we can do something like what LZW does

#

and turn a bunch of blocks of the same messages indices into only one + length

#

but first i need to sleep

timid quartz
timid quartz
spare quartz
#

I just did

#

And I finished it

timid quartz
#

chug another

spare quartz
#

then google what a gradle distribution is

timid quartz
#

oh

#

I needed the application plugin

orchid wadi
#

Has anyone else seen this

#

this is a fucking TERRIFYING concept lmao

timid quartz
#

damn

#

I tried vibe coding but holy hell it was so bad

spare quartz
#

yeah cause you’re bad at programming

lone sky
#

@timid quartz LOL

#

CLOUDFLARE DOWN!!!

#

šŸŽ‰

timid quartz
#

YIPEE!!!!

lone sky
#

i wouldn't try pushing changes or whatever for now

timid quartz
#

too late already did

lone sky
#

ā˜ ļø

timid quartz
#

they pushed fine

lone sky
#

thank god

rustic vine
#

dang thats neat

rustic vine
#

might as well try

lone sky
#

fair enough

rustic vine
#

thats funny tho

#

half the web went down

rustic vine
#

Yo is he cooked?

lone sky
#

(yes. they're very cooked)

rustic vine
#

I can't be the only person who enjoys how loctite tastes

#

what is the employee color

#

oh its a nicer red

#

can I like be demoted from corporate

lone sky
#

@timid quartz WHAT THE FUCK IS THIS

rustic vine
#

awwww its frowning

#

whats wrong with it tho

timid quartz
lone sky
#

is it curved like that

rustic vine
#

its sad!

#

cheer it up by writing some happy phrases

runic sierra
#

sorry lemme fix that file..

lone sky
rustic vine
runic sierra
rustic vine
#

more details?

#

how are u moving it

runic sierra
#

Tween Service

rustic vine
#

ye thats normal I think

#

theres 1 solution I can immediately think of

runic sierra
rustic vine
#

is this in a script?

runic sierra
#

ye

rustic vine
#

not a localscript right

runic sierra
#

just a normal script

rustic vine
#

ok

lone sky
rustic vine
#

no

#

although u can give that a try

#

I don't think that'll change anything

#

@runic sierra actually thats easier try that first

#

copy paste it into a localscript

#

and disable the script

runic sierra
#

k

#

uh oh

#

it not moving anymore

rustic vine
#

oh

#

mb

#

put it in uhhh starterplayerscripts

#

and make sure you change the reference to point to the part still

runic sierra
#

yea idk what am I doing

#

like do I put local script in the starterlplayerscript orrr

rustic vine
#

yes

#

and then you have to change the part variable to point at the part

#

cuz the part won't be the parent of the script anymore

runic sierra
#

how I do that..

rustic vine
#

well, do you know how to traverse the like.. datamodel tree

#

like how to find a specific item

#

like say in the workspace

#

say you have

game
  workspace
    part1
    part2
    part3
      part1
      part2
        part1 <--

do you know how to find that part in a script?

runic sierra
#

ye

rustic vine
#

how would you do it?

runic sierra
#

clicking the white plus symbol?

#

white arrow*

rustic vine
#

im

#

not sure what you mean

#

how would you reference that part from a script thats in serverscriptservice

#

like, a line of code

runic sierra
#

idk man im new to coding šŸ˜”

rustic vine
#

ok um

#

I can explain in more detail a little later

#

if you're still on

runic sierra
#

tbh I gotta go to sleep so I could ask later

rustic vine
#

ok

runic sierra
#

but hey at least the platform goes up and down

rustic vine
#

I can tell you the code to write if you want to check if it works

runic sierra
rustic vine
#

ok I can do it but u really should learn why and how it is how it is

rustic vine
#

you'll need to name it something special

#

maybe Platform

#

then to reference it from anywhere you can do

local part = workspace.Platform
runic sierra
rustic vine
#

any luck?

spare quartz
timid quartz
spare quartz
timid quartz
spare quartz
#

what is that

spare quartz
#

ä¼šē¤¾ć‹ć‚‰ć®åø°ć‚Šé“ā€¦ęø‹č°·ć§č­¦åÆŸć«å‘¼ć³ę­¢ć‚ć‚‰ć‚Œć¦ćˆć‚‰ć„ē›®ć«ć‚ć£ćŸć€‚
č­¦åÆŸć€Œćƒć‚±ćƒƒćƒˆć®äø­å‡ŗć—ć¦ćæć¦ć€
äæŗć€ŒćÆć„ćƒ¼ć€(ćƒćƒ­ć£)
č­¦åÆŸć€Œļ¼ļ¼ļ¼ļ¼ć“ć‚ŒćÆćŖć‚“ć ļ¼ć€
äæŗć€Œć—ā€¦CPUć‚°ćƒŖć‚¹ā€¦ć£ć™ć­ā€¦ć€
č­¦åÆŸć€Œč–¬ć‹ļ¼ļ¼Ÿć€
äæŗć€Œćƒ‘ć‚½ć‚³ćƒ³ć§ć¤ć‹ć†ā€¦ć€
č­¦åÆŸć€ŒćŖć‚“ć§ęŒć£...

timid quartz
spare quartz
#

oh

#

boorrring

timid quartz
#

no u

spare quartz
#

mini thinkcenter on top

timid quartz
#

specs?

spare quartz
#

gonna tinker around in JavaFX

#

need to create a program for tagging fs objects

timid quartz
spare quartz
#

that would require an insane amount of work because id need to make a

  • file dialog
  • pane
  • list
  • label w/ editing
#

and considering its primary use before integration into BSL is terminals, it's pointless to add these into that

timid quartz
#

wowwww atp actually realizing that rewriting everything is way less convenient than using premade libraries?

#

you’re basically ready to use rust now

spare quartz
#

?

#

i said that making a file dialog in a library designed for terminal design is pointless

timid quartz
#

you also said it’d be an insane amount of work

spare quartz
#

which i dont actually mind

#

but if the end goal is pointlessness it doesn't matter

#

but fine, since you wanna act that way, ill build it in Swing instead...

timid quartz
#

Even bigger dependency

spare quartz
#

its not

timid quartz
#

I want you to build it into your library and use that

spare quartz
#

swing is

#

inside the JDK

#

you realize that, yes?

timid quartz
#

No it not

spare quartz
#

it is

#

you cannot be this dumb

timid quartz
#

I’m not addicted to the JVM bro

spare quartz
#

well then become addicted

timid quartz
#

I don’t drink 16L of Java every day

spare quartz
#

stupid rustlet.

timid quartz
#

Our glorious stdlib isn’t crammed full of bloat like Java’s

spare quartz
#

yeah cause it sucks

#

imagine needing a library to do something already in your stdlib cause your stdlib does it in trash way

#

(cough cough locks)

timid quartz
#

?

#

link the crate or it doesn’t exist

spare quartz
timid quartz
#

That’s the beauty of it though we aren’t bound to the stdlib

spare quartz
#

and neither is java

#

but your stdlib sucks so bad

timid quartz
#

Also for that argument imagine needing log4j

spare quartz
#

you need to rewrite it

spare quartz
timid quartz
spare quartz
#

tf you on about

timid quartz
spare quartz
#

the logger in java is fine

#

your locking primitives are not

timid quartz
#

The synchronization primitives in rust are fine

spare quartz
#

they're not

#

if a crate can do them so much more efficiently they suck

#

log4j doesnt do java.loggings job better

#

it just adds more crap

timid quartz
#

mmm yeah it does :3

spare quartz
#

have you used it?

timid quartz
#

otherwise why do so many people use it

spare quartz
#

because either

  • they saw others using it
  • they have incredibly complex logging setups and dont wanna configurate that all using java.logging
  • they got told by someone to
#

your locking primitives suck and your stdlib needs to be checked up using an external dependency

timid quartz
spare quartz
#

accept it your language is bad

#

it can

#

incredibly complex

#

it might be easier for some to use XML than the integrated logging configuration

#

i dont care, its just "more crap"

#

its not the job done better at an intrinsic level

timid quartz
# spare quartz

rust doesnt provide an async runtime in the stdlib so you can choose which one suits your needs better

spare quartz
#

those are the top dependents of parking lot

timid quartz
#

Say that next time

spare quartz
#

i feel like it would've been obvious from the ... python interpreter, and string interning alongside it

timid quartz
#

no

spare quartz
#

boooooring

timid quartz
#

anyways rust is beautiful ā¤ļø

timid quartz
#

Much better than Kotlin which tethers itself to the past (the JVM and Java) rather than ascending beyond

spare quartz
#

more like you're stuck in the past

#

read the HotSpot code if you dare

timid quartz
#

Kotlin was meant to be so much more but just became Java for people who go ā€œum actually I don’t use Javaā€

spare quartz
#

wtf is that even supposed to mean

#

do you know what you're saying or just saying it for saying it

timid quartz
#

Kotlin is just Java in a trenchcoat with a facelift

#

Nothing new

spare quartz
#

uh huh

timid quartz
#

Still just Java

spare quartz
#

rust is C in a trenchcoat with a facelift

#

nothing new

#

still just C

timid quartz
#

mmm except automatic memory management with no GC, enforced memory safety, and zero-cost abstractions

#

To name a few

spare quartz
#

to name a few

#

god i love making analogs

timid quartz
spare quartz
#

that'd be like saying C is the base for every language which is obviously false

timid quartz
#

what lang is the JVM built in ca

spare quartz
#

assembly, why?

#

and you do realize the JVM isn't Java, right?

#

its an ACM

timid quartz
spare quartz
#

its not from C but go off

timid quartz
#

It’s in the name

spare quartz
#

you might be dumb

#

you mmiiiight be dumb

timid quartz
#

The JVM was built for Java and then other things decided to use it too

spare quartz
#

the rust leeched into your brain

timid quartz
#

I think all the soda has deposited critical levels of microplastics in your brain

spare quartz
#

remember x86 is IA-32 (Intel Architecture, 32-bit), that means everything built for it must be by and for Intel

#

and then other things decided to use it too

#

this argument is soooooo dumb

#

come up with better ragebait

timid quartz
#

I would if Rust wasn’t so good

spare quartz
#

just give it up

#

rust is dead

#

nobody but femboys use it

lone sky
#

oh wait no he falls under that category

timid quartz
spare quartz
#

nope

#

his source: a flawed study by a group dying from AI

timid quartz
spare quartz
#

stack exchange you dope

timid quartz
# spare quartz nope

ppl still out here using Java to make Android apps, Kotlin can’t even succeed at the thing it’s most known for

spare quartz
#

"still" implies that its a small population, not the majority

#

so your counterpoint is immediately dead in the water

#

@lone sky

lone sky
timid quartz
#

ā€œstillā€ because they tried to push everyone to Kotlin but nobody listened wheeze

spare quartz
#

source?

timid quartz
#

ur mom

spare quartz
#

exactly. terrible

timid quartz
#

rust will take over the world

#

No more C

#

It’s already taking over Ubuntu

spare quartz
#

yeah cause ubuntu is weak

#

oh yeah on a more serious note

#

@timid quartz so i was doing that thingwith my brain when i was waking up where i just run through a bunch of scenarios AND

#

i came up with a solid idea for the JVM kernel i wanna make

#

a 2-stage JVM

#

the first stage is a stripped down bytecode interpreter after the bootloader

#

which loads the actual JDK

#

for kernel initialization

lone sky
#

fedora on top

timid quartz
lone sky
#

jokes apart

#

i might try sudo-rs on a fresh arch install

#

just to see what really

#

is the difference (if any)

spare quartz
#

from the project description there isn't supposed to be one

timid quartz
#

^

spare quartz
timid quartz
spare quartz
#

and it will beat redox... and windows... and macos....... and.....

#

kidding... but it'd be really cool tech

timid quartz
#

~~wouldn’t be necessary if you ran a Rust program compiled as an ELF but ~~

spare quartz
#

making it work with the nanokernel design i have in mind would also be neat

lone sky
spare quartz
#

your silly os is a monolithic kernel

#

mine is completely different

lone sky
spare quartz
#

ACL driven nanokernel > *

timid quartz
#

microservices >>

spare quartz
#

the whole point of it is just

#

the kernel doesn't do anything, its just an authoritative ACL

#

the user services are given to hardware/cross-service resources using that ACL

#

a program by design is not allowed to do anything with the computer unless authorized

#

now THAT... is good design

timid quartz
spare quartz
#

thats not what a microkernel is

#

a microkernel does not do facilitation of ACL

#

it is just an IPC facilitator

#

ADDITIONALLY, microkernels are incredibly less dynamic, modular, and safer than the possibilities of a JVM nanokernel

timid quartz
spare quartz
#

everything does

#

thats a requirement of all processors

#

kernel architecture agnostic

spare quartz
#

and memory blocks are a far cry from what an ACL is

timid quartz
#

I think ur just dumb

spare quartz
#

i think you failed your cs class

timid quartz
#

nope

spare quartz
#

yup

timid quartz
#

I actually got an A in the OS class

spare quartz
#

(cause he didnt make the os)

timid quartz
#

get rekt liberal

timid quartz
spare quartz
#

you ADDED to it

timid quartz
#

You do not understand how involved the process of even adding to it is

spare quartz
#

its cause it wasnt a JVM

timid quartz
#

JVM would be worse

spare quartz
#

if it was a JVM im telling you it wouldve been so much more better

#

S+

#

look

#

even ACPI is putting bytecode in their firmware crap now

#

thats basically just a micro JVM

pastel tinsel
#

hey aera

#

@timid quartz

lone sky
spare quartz
#

JVM showed ominous white square on screen

#

should i be worried ?

lone sky
timid quartz
timid quartz
spare quartz
#

nah

#

its telling me to write a JVM in x86 real-mode

timid quartz
spare quartz
#

the world when we switch to using rust

timid quartz
#

The world if Java was what C is now

#

^^

spare quartz
#

3 TRILLION devices

#

3 QUINTILLION devices

timid quartz
#

Do you know how many run C?

#

all of them.

spare quartz
#

nope

timid quartz
#

ALL OF THEM.

spare quartz
#

none of them actually run C

#

its compiled

timid quartz
#

ok Stallman

spare quartz
#

JVM? all runs CLASS files... a creation of the Java creators, Sun + Oracle

#

šŸ’Ŗ

timid quartz
#

You’re so annoying smh

spare quartz
#

its 1 AM

#

shouldn't you be asleep dreaming about crabs

lone sky
timid quartz
#

I’ve never sold anything out I’ve always been a Rustacean

spare quartz
#

kotlin user btw ^

timid quartz
spare quartz
#

making file view

odd thunder
#

weirdo

spare quartz
#

no.

odd thunder
#

fat

spare quartz
odd thunder
#

weirdo lobotomy

lavish dove
spare quartz
#

neat

#

oh right i cannnnnnnot show that here

#

there

spare quartz
#

neat thing i also added, multiple selection

spare quartz
#

file watching

timid quartz
#

Man I’d love to play with this R210 but I’m lacking a power cable and a vga cable

spare quartz
#

i am currently using my newly built program for what it was designed for

#

furry art cataloging

timid quartz
spare quartz
#

honestly if that thing knew how to properly use user-defined file attributes it'd be super useful

#

rn im just hand typing the FS attributes using this program, which funnily enough dont even appear in explorer

spare quartz
#

indexing speed needs to be improved though

spare quartz
#

it can now render images!

timid quartz
#

cause you didnt write the windowing system yourself :3

spare quartz
#

what libraries?

timid quartz
#

didnt you use spring

spare quartz
#

wtf is spring

timid quartz
#

the gui thing

#

or no you used javafx

spare quartz
#

no

#

i used javax.swing which is an integrated part of the JDK

timid quartz
#

SWING

#

that's what it is

#

not spring

timid quartz
spare quartz
#

you're an external library

timid quartz
#

you could never rewrite me

spare quartz
#

why would i

#

you're an active threat to existence

timid quartz
#

everything shall become rust

spare quartz
#

okay time to make this thing multi-threaded

#

a lot of the indexing time is waiting for the windows FS to tell us if something is a directory

#

jesus yeah

#

using two Thread.ofVirtual and the thing is instantly responsive

timid quartz
#
Thread thread = Thread.ofVirtual().start(() -> {
  Atp atp = new Atp();
  atp.codeBadly();
  atp.watchBayachao();
  System.out.println("meow");
});
Thread.SECONDS.sleep(5);
thread.interrupt();
spare quartz
# timid quartz ```java Thread thread = Thread.ofVirtual().start(() -> { Atp atp = new Atp(); ...

ćƒ­ć‚¼ćƒƒćƒˆć”ć‚ƒć‚“(娘)(OSTER恕悓)ćØć®åˆć‚³ćƒ©ćƒœé…äæ”ļ¼OSTERć‚½ćƒ³ć‚°ć‚’ę­Œć‚ć›ć¦ć„ćŸć ććŖćŒć‚‰ę„½ę›²ć®åˆ¶ä½œē§˜č©±ć ć£ćŸć‚Šć€OSTERć•ć‚“ćØć®å‡ŗä¼šć„ćŖć©ćŖć©ć€é›‘č«‡ć—ć¦ć„ćć¾ć™šŸŒŸ

šŸŒŸęœ¬å®¶å‹•ē”»ćæć¦ļ¼ļ¼ļ¼ļ¼ļ¼ļ¼ļ¼ļ¼(åøƒę•™)
ćƒ¦ćƒ”ć‚Æć‚¤
http://www.nicovideo.jp/watch/sm8947460
ćƒ•ć‚­ć‚²ćƒ³ćƒÆ...

ā–¶ Play video
lone sky
#

we need to kill argparsetoe

spare quartz
#

arg parse
bread_server_lib reference??

lone sky
spare quartz
#

indexing something massive (C:\Windows for example) uses all of your cpu

timid quartz
#

aww you're basically mimicking intellij now

spare quartz
#

i love massively concurrent programming

timid quartz
#

Hey no spoilers

#

I’ve not played Ch 3

#

I had to restart from Ch 1 when I moved to Linux

lone sky
lone sky
timid quartz
lone sky
spare quartz
timid quartz
#

The JVM has NONE.

spare quartz
#

MrBeast if he was cool: WE PUT A JVM IN AERASTOS PACEMAKER!

boreal helmBOT
spare quartz
spare quartz
lyric mesa
spare quartz
#

a lot

lyric mesa
timid quartz
timid quartz
#

You have trapped them in your stupid program

spare quartz
#

well only like 49 rn but i plan to add more

spare quartz
#

nneed to optimize the threading logic

spare quartz
timid quartz
spare quartz
lone sky
#

that's just

#

pixiv naming schemes

#

idiot

timid quartz
#

oh wait are you using my pixiv downloader

spare quartz
#

no

#

im doing this all manually

timid quartz
#

:( why did i even make it then

spare quartz
#

beeeeeecause

#

i needed user attributes

timid quartz
spare quartz
#

annnnnnnnd you got to learn some kotlin

timid quartz
spare quartz
#

best program ive ever made.....

#

i should make more UIs

lone sky
#

it might be an external dependency

#

but it's a good one.

spare quartz
#

EXTERNAL DEPENDENCY!!!!!

#

FUCK QT!!!!!!

#

C++ ASSHOLES!!!!

lone sky
#

SMH..

spare quartz
#

literally me to that rn

lone sky
#

-# @lyric mesa @timid quartz is she normally this insistent about not using dependencies

#

ok i'll

#

take the radio silence as a yes

lyric mesa
#

i'm not in here that often to know 😭

lone sky
#

oh also dms rq

lone sky
rustic vine
spare quartz
#

not you.

#

YOOO

#

got gif rendering working

rustic vine
#

interesting drive name

spare quartz
#

UGHHHHHHHHHHHHHHHHHHHHHHHH WHY DO I DO THIS TO MYSELF

rustic vine
#

LOL

#

wait its ironic right

#

the name

#

pls.......

spare quartz
#

duh

#

i dont store stuff like that on my disks

rustic vine
#

oh u store it on your cds

#

floppys

spare quartz
#

also corrected the time unit

#

now unfortunately i must write an APNG extension to ImageIO

spare quartz
#

i couldn't wait for propagation anymore

#

its so easy

#

not propagated yet šŸ’”

timid quartz
spare quartz
#

?

timid quartz
#

You don’t need any of those access requests

spare quartz
#

yes i know

#

i have an entire dns_microclient

timid quartz
#

yeees

spare quartz
#

but its so much easier and opens future possibilities with a zone file

#

plus they'll practically give them all to me cause i have such a good reason

#

okay time to reimplement this

timid quartz
#

They should give none of them you

spare quartz
#

"none of them you"

timid quartz
#

Japan was very based in that regard

spare quartz
#

yeah at least im literate

timid quartz
#

Blame my autocarrot

spare quartz
timid quartz
spare quartz
#
  1. bayachao merch
  2. the WIDE project and their stupid zone files
timid quartz
#

Very based Japan

spare quartz
#

very unbased

timid quartz
#

I’ll make a dns_nanoclient in rust

spare quartz
#

give up

#

give up

#

give up

#

give it up

timid quartz
#

Never!!

spare quartz
#

1,2,4,8,16

#

hmmm

#

how to check if number.. is a square.. of 2..

timid quartz
#

Well all powers of 2 are of the binary form 10{0}

spare quartz
rustic vine
#

yo atp

spare quartz
#

?

rustic vine
#

do u know if theres a way to check from code if it was originally kt

#

or if it was java

spare quartz
#

in what context

#

... are you aiming to check some file manually or programmatically?

rustic vine
spare quartz
rustic vine
#

programmatically

spare quartz
#

language?

rustic vine
#

like I want to know if a child class was originally kt

#

wdym language

#

oh, java

spare quartz
#

what language

rustic vine
#

I tried searching for an answer but couldn't find anything

spare quartz
#
  • iterate thru SomeClass.class.annotations
  • for each annotation, check annotationClass.canonicalName
  • if the canonicalName is kotlin.Metadata, it is a kotlinc compiled object
#

kotlin.Metadata is runtime-visible targettng only classes so it should be visible thru reflection

rustic vine
#

is there a better way than comparing names?

spare quartz
#

heres a test sample if that helps

rustic vine
#

oh I guess I can't get a reference to that annotation since im in java land

timid quartz
spare quartz
rustic vine
#

I work with what I got

rustic vine
#

but I will just check name

spare quartz
rustic vine
#

thank u!

#

right, but it could also be a java only project

#

so it wouldn't be

spare quartz
#

you cannot load a class with kotlin annotations without kotlin in the JVMs classpath

spare quartz
#

unless you're intentionally doing some incredibly strange classloader stuff or instrumentation

#

but you shouldn't be doing that for 99% of things

rustic vine
#

the base class is distributed in a lib

#

inheritors can be in kt or in java

#

I need to know if they are kt or java

#

from the base class

spare quartz
#

well then kotlin will always certainly be in your classpath, so you have two ways to check

rustic vine
#

so its not guaranteed I will have kt stuff

spare quartz
#

either thru the name or invoking loadClass of your local classloader

timid quartz
spare quartz
#

java, not kotlin

lone sky
rustic vine
#

what is that

spare quartz
timid quartz
spare quartz
#

thats kotlin code, aera.

timid quartz
#

all Kt classes end with Kt

rustic vine
#

they do??

spare quartz
#

they do not

timid quartz
#

they do?

spare quartz
#

they dont have to

#

kotlin.Metadata is the only way you can reliably check as that's a compiler intrinsic

rustic vine
#

ok I will just check the annotation

#

good enough for me

#

thx

spare quartz
#

qed

timid quartz
#

copium

timid quartz
#

false: blue section needs to be smaller

#

LOL IT STARTS SPINNING

rustic vine
#

wait aera

#

by "ends in kt" u mean like the file extension?

lone sky
lone sky
#

go back to working on the qdfhq.

rustic vine
#

why does every class end in kt

spare quartz
#

the JVM cannot recognize either .java or .kt files

lone sky
#

smh.

spare quartz
timid quartz
spare quartz
#

just functions in top level scope

rustic vine
#

does the kt compiler add that?

spare quartz
#

yes, but ONLY in files without a class

rustic vine
#

wdym

spare quartz
rustic vine
#

oh so if you write your own class it gets named whatever you named it?

spare quartz
#

yes

rustic vine
#

oh ok

#

sorry im java pilled

spare quartz
#

jvm šŸ™

#

ughhhh

#

this dumb datainput is giving me brain damage

lone sky
#

if i were you

#

i would lay down for a bit

spare quartz
#

theres somehow a delta of 8 instead of 4

lone sky
#

then continue working

#

that's what I do when shit doesn't work the way i want it

spare quartz
#

the computer won't magically know what i want it to do if i lay down so i must make it work

lone sky
#

you lay down for a bit and then try fixing whatever

#

once your mind is clear again

lyric mesa
timid quartz
#

@spare quartz I had to restart from ch1`

#

now im on ch2

#

snowgrave again rot

spare quartz
timid quartz
#

proton >>

spare quartz
#

ughh,, headache,,

timid quartz
timid quartz
lone sky
#

@timid quartz took me long enough

#

but im on ch3 now

#

@flint belfry

spare quartz
timid quartz
spare quartz
#

??

timid quartz
spare quartz
#

babio.......

timid quartz
#

that's you and bayachao

#

and kotlin and ada

spare quartz
#

<3333333

timid quartz
#

THIS is me and rust

lone sky
lone sky
#

anyways please finish CH2 already im tired of not being able to discuss the rest

lone sky
#

wrong

#

you would not kick anyones ass

#

you suck at kicking ass

timid quartz
#

@spare quartz snowgrave again? rot

spare quartz
#

2342352737849200140-3-4939

timid quartz
#

im jk I wont torture noelle

#

...yet

lone sky
#

IS THAT

timid quartz
#

SSH

#

SSSSH

lone sky
lone sky
timid quartz
#

saving this for when I argue with atp

lone sky
#

as i said you're just the queen

timid quartz
lone sky
spare quartz
timid quartz
flint belfry
flint belfry
#

valid

lone sky
#

FUCKING EXAMS KADE.

flint belfry
timid quartz
#

I DO

flint belfry
timid quartz
#

I do IT

#

my boss gave me a dell R210 yesterday lmao

flint belfry
timid quartz
#

/j

flint belfry
timid quartz
#

ok but I also have an R710

#

in addition to this new R210

#

BOTH for the low low price of $0

flint belfry
#

where did you get the r710

#

point still stan-

timid quartz
#

I did some IT for my high school a few summers ago

#

got it from there

#

:3

flint belfry
#

ARE YOU GETTING THIS SHIT

#

LOOK

timid quartz
#

I was friendly with the IT guy when I was in school

#

asked him if he wanted help

#

he said yes :3

flint belfry
#

THEY JUST MARK SHIT AS DCR

#

AND THEN TAKE IT OUT BACK

#

NOT IN A MILLION YEARS WOULD THEY LET US TAKE ANYTHING 😭

rustic vine
timid quartz
#

wtf does dcr mean

rustic vine
#

don't care repair

spare quartz
#
   function PaethPredictor (a, b, c)
   begin
        ; a = left, b = above, c = upper left
        p := a + b - c        ; initial estimate
        pa := abs(p - a)      ; distances to a, b, c
        pb := abs(p - b)
        pc := abs(p - c)
        ; return nearest of a,b,c,
        ; breaking ties in order a,b,c.
        if pa <= pb AND pa <= pc then return a
        else if pb <= pc then return b
        else return c
   end
The calculations within the PaethPredictor function must be performed exactly, without overflow. Arithmetic modulo 256 is to be used only for the final step of subtracting the function result from the target byte value.
flint belfry
#

essentially

rustic vine
#

wth is a paeth predictor

flint belfry
#

everything marked as DCR is going to a giant warehouse

#

or something

rustic vine
#

predicts when u will mispell the word path

flint belfry
#

or a e recycling center

spare quartz
flint belfry
#

or refurbished so

rustic vine
#

little do u know everything marked as dcr goes straight to me

spare quartz
timid quartz
#

ic

flint belfry
#

the tech lady is also a jackass and called me the other day in a panic trying to ask me to reset two computers bioses beacuse some two fuckass kids put a bios password on it

timid quartz
#

kade is your high school private or public

flint belfry
#

(she has yet to call me back)

#

public but under a county

timid quartz
#

mm mine was private

flint belfry
#

wtf

timid quartz
#

government funds make things tricky

flint belfry
#

ohhhh yess that makes sense

rustic vine
#

WTH

timid quartz
#

but private school gotta buy it with their own money so its their property

lone sky
#

y'all living better school wise

#

mine is private

flint belfry
#

i went to a private school and it was like

#

ass

rustic vine
#

HOW IS THIS GUY BROKE HE WENT TO A PRVIATE SCHOOL

lone sky
#

yet the only thing I could take is

flint belfry
#

the tech lady was just

lone sky
#

some old crusty PCIe TV tuner

#

😭

flint belfry
#

the single ruler of all tech related things there

rustic vine
flint belfry
#

and she just only knew how to reset Chromebooks