#💽Programming Chat v2

1 messages ¡ Page 76 of 1

lavish dove
#

I drove through atlanta to get to az 4 months ago

#

I dont remember that

rustic vine
#

Oh ok then you definitely have

#

Mercedes benz stadium

lavish dove
#

does it have that cool roof that opens and closes

rustic vine
#

Yup

#

Now the real question is have you seen one of these

lavish dove
#

bucceess

#

the best icee's eer

rustic vine
#

🙏

lavish dove
#

it was really hard to park the moving truck in there 💀

rustic vine
#

I think I scared the guy 😢

#

Prolly should sleep then. Though im tryna get adjusted to BST before I fly out

lavish dove
#

are you in equality of the seas?

#

(shanghai)

rustic vine
#

Not BST

#

CST

rustic vine
lavish dove
#

oh its morning in bst

#

you could sleep on the flight if its at night in bst

rustic vine
#

The Chinese divers are killing it

lavish dove
#

hell yeah

#

that place is the only mega city untouched

#

by the veils of the enemy

rustic vine
#

Yea thats pretty awesome

lavish dove
#

they even had to increase the resistance on that city lol

rustic vine
#

Are u Japanese?

lavish dove
#

no im irish american

rustic vine
#

Oh ok lol 😅

lavish dove
#

but irish american as in my great great grandmother moved here and she was irish

rustic vine
#

I see

#

Do u speak the language then

lavish dove
#

no

rustic vine
#

Thats goated

#

I respect it

lavish dove
#

I have japanese ime installed

#

I keep saying im gonna learn it guess what i do

rustic vine
#

So true

#

I've always kinda wanted to visit Japan but wasn't allowed to until I was 18 and haven't found a chance to go (it's not cheap) since

lavish dove
#

oh yeah I hear that from everyone

rustic vine
#

When the college is expensive 😁

lavish dove
#

I dont know how expensive it is but im not even gonna check with everyone saying the exact same words lmao

rustic vine
#

Its not even tuition either. The random fees rack up

#

Oh and housing

#

Parking fees bruh

#

@honest loom u get it working?

lavish dove
rustic vine
#

Indeed

#

But at least we have some awesome scholarships

#

My tuition is 100% covered

lavish dove
#

nice

rustic vine
#

And it's guaranteed for everyone in state with a 3.9 GPA iirc

lavish dove
#

oh nice

rustic vine
#

Yea it's pretty awesome sauce

lavish dove
#

I probably wont get a 3,9 gpa since when they moved me here they made all my freshman classes 2.5 even though I got 80+ on all of them

rustic vine
#

Huh

#

Evil

lavish dove
#

yeah

#

😠

#

the only works i can think of when I see something here

#

this place is like the opposite of consumerism times a thousand

rustic vine
#

I thought this was a esoteric clock at first glance

lavish dove
#

it scares me

rustic vine
#

LOL basically my reaction

#

Its temperature

lavish dove
#

ohh

#

in fahrenheit??

rustic vine
#

But mounting it there is evil

rustic vine
#

Hell yeah

lavish dove
#

hell yeah

#

somehow my dumbass thought you were in china allready

#

oh the chinese text

rustic vine
#

Tomorrow!

lavish dove
#

land of communism

rustic vine
lavish dove
#

china in america??!?!??!?

#

equality of the seas and york supreme go hand in hand

rustic vine
lavish dove
#

dyamn

rustic vine
#

For 0 reason too

lavish dove
#

lmao they dont even ahve other lanes

rustic vine
#

Lmk tho if you get it working or not

#

Imma sleep

lavish dove
#

gn

rustic vine
#

Good talk about atlanta then airport terminals

#

Atl airport goated

#

Largest in the world by passenger volume

lavish dove
#

damn

rustic vine
#

Also: America

lavish dove
#

HRAAAA

honest loom
#

@rustic vine back

#

what did you want me to do?

spare quartz
#

You don’t use get property changed signal for Value objects

#

You use .Changed:Connect((newValue: CFrame))

honest loom
spare quartz
#

Use that event

honest loom
spare quartz
#

Yes; the parts inside Connect() are a function stub, elaborate it into a function like you have with get property changed signal now

honest loom
spare quartz
#

Beta features

honest loom
#

how to change it back?

spare quartz
#

Turn them off in File > Beta features

honest loom
spare quartz
#

Whatever seems pertinent

honest loom
spare quartz
timid quartz
#

How good are those for testing

spare quartz
#

what is a jetson

timid quartz
spare quartz
#

ohhh those

#

boring

#

do any of you have suggestions for SODIMM memory

#

preferably as cheap as possible 2x16 GB sticks

timid quartz
#

idk

#

ones that work

spare quartz
#

ggggggggg

#

so expensiveeeee

#

i wonder if the core i7-6700t can support 3200 mhz ram

spare quartz
#

mbmbm

#

$332.82 in total

timid quartz
#

kaboom.

spare quartz
# timid quartz kaboom.
#

everything i ned to get for the server (2)

timid quartz
#

Ok here’s a use for containers

#

I want to test a Galera db replication cluster with MariaDB, but I only have one machine I can test on, and I need at least two separate databases

spare quartz
#

well i dont use databases and as such dont know better ways to use them

#

so go ahead

timid quartz
#

Make containers > install stuff in containers > set up network between containers > boom

pastel tinsel
#

containers ❤️

spare quartz
#

i cant wait to create gps-microserver and radio-microserver

#

ill be able to listen on the local military bases radio!!! <3

timid quartz
spare quartz
#

your use case is specifically database specific

#

as such i cant say anything against it

timid quartz
#

Ok yes

#

But you can generalize the problem

spare quartz
#

no

#

i cant

#

generalization is quite bad

timid quartz
#

“I have one machine but I need two separate X that exist isolated from each other”

spare quartz
#

and why can't X themselves be isolated by design?

timid quartz
#

What if they expect certain network ports

spare quartz
#

they shouldn't

#

the user should be able to specify a port

timid quartz
#

Like this Galera thing for example expects 4567, 4568, and 4444

#

And it expects those on other nodes

spare quartz
#

why doesn't it let you change them?

timid quartz
#

It would be kinda hard to say “ok this node uses these ports, this node uses these other ports, etc”

spare quartz
timid quartz
#

nice birthday cake nerd

spare quartz
#

thats how i feel about the design you're talking about

timid quartz
# spare quartz why doesn't it let you change them?

Ok ok what about if you’re trying to run some of your DNS microservers to test some really basic resolution stuff (say you make a fake DNS hierarchy). DNS uses a very established port that you can’t really change, but you need to have 3 things listening on that one port which isn’t possible

spare quartz
#

you shouldn't be running 3 dns servers on the same port, at all

timid quartz
#

Well I say 3 but

timid quartz
spare quartz
#

and none run multiple servers on the same port

timid quartz
#

Right but

#

If you wanted to set up a fake hierarchy for testing

#

What would you do

spare quartz
#

elaborate on what you mean by "hierarchy"

timid quartz
#

Like

#

Have a fake root server, .org server, beg server, and a 4th server that makes the initial request for a record

#

To see how your server does in all of those cases

spare quartz
#

that'd be incredibly complex and you should really just be testing on the real root servers (they won't mind); but if you really needed it

#

just create a loopback interface with its own ip for each server

timid quartz
#

orrrrrr you could have 4 containers on one private network that each have their own ip without having to add any interfaces at all

spare quartz
#

the containers themselves add their own interfaces

#

and pollute your NAT table

timid quartz
#

Yes but you don’t have to add them

spare quartz
#

okay..

#

so you wanna be lazy

timid quartz
#

They’re added when you create them and destroyed once you’re done

timid quartz
spare quartz
#

then stop using linux

#

use windows

timid quartz
#

It’s all that bayachao in your brain

spare quartz
#

bayachao said kotlin over pure linux is salvation

timid quartz
spare quartz
#

windows works fine.

timid quartz
#

All of my games run as smooth as or smoother than they do on Windows

spare quartz
#

ew

#

you play games.

#

i would be running this in linux IF

#

i could immediately have the parts for my tiny / spectrum didnt be dicks

timid quartz
spare quartz
#

no it doesn't.

spare quartz
#

rn im focusing on more physical hardware

#

radio/gps

timid quartz
spare quartz
#

JPEG parser

#

H.264* codec

#

OR

#

OR

#

maimaiでらっくすPRiSM譜面動画リスト:https://www.youtube.com/playlist?list=PL9gcJooFiMbn6PA5ZXf_4WVU4ZCzkk4Wb
maimaiでらっくすBUDDiES譜面動画リスト:https://www.youtube.com/playlist?list=PL9gcJooFiMblwjg8-WCz_vvvHH8PJlfIZ
maimaiでらっくすFESTiVAL譜面動画リスト:https://www.youtube.com/playlist?list=PL9gcJooFiMb...

▶ Play video
#

a way to hack into these machines

#

and get me the video data

timid quartz
#

There’s already VR maimai

spare quartz
timid quartz
spare quartz
#

i need the raw video data

timid quartz
spare quartz
#

it is owned by SEGAand therefore unpublished!

spare quartz
#

do any of these have use to you.

lone sky
#

rather than the tacky ass offline mode on those machines

timid quartz
#

eg all the discord bots I’ve made

#

that actually do things

spare quartz
#

Funny

timid quartz
spare quartz
#

We also make discord bots

#

As well as the TOTP extractor and http server, dns, …

timid quartz
spare quartz
#

The http server is an inherent use

#

Did you mean BSL

timid quartz
#

idk

spare quartz
#

Anyways

#

I shall hack into SEGA.

#

I need that video so badly

timid quartz
#

It stays a fancy protocol decoder until you make it actually do something that has value to other people

spare quartz
#

okay what about the totp extractor

#

that isn’t a protocol decoder

lone sky
#

there's also private servers made by weird ass mfers

#

but those SUCK.... I want a PROPER mirror of their real server

spare quartz
#

ALLS HX2

lone sky
#

you would get the hardware for one of those machines

spare quartz
#

If i were a billionaire yes

#

But i need to figure out how to do it virtually …

lone sky
#

just to mutilate it by slapping in a hard drive and using it as a BEG microserver

spare quartz
#

Yknow

#

The microservers don’t need a hard drive to function

#

They can run on any file system, on any form of storage medium

lone sky
#

oh so you would probably install it on like

#

fucking RAM then

#

😭

spare quartz
#

Yes

#

If you have a file system on ram it’ll use that

lone sky
#

im PRETTY sure the hardware (just the PC bit, no cabinet) is cheap on ebay

#

(cheap in arcade machine terms)

spare quartz
#

that’s so muchhhh

#

It’s probably more than it costs to setup our second server

#

To setup every beg server it’d cost like $560

lone sky
#

nvm it's 380 dollars

spare quartz
#

Ghghhhhhh

spare quartz
#
#

improving directory listing (stage 4923942)

#

シンボリックリンクです

spare quartz
#

hmmm

#

making directory lister support symlinks..

#

the html construction is getting so complex

rustic vine
#

Ancient OS and compilers tho.

spare quartz
#

listing folers + labeling symlinks

spare quartz
#

i think i might've been on drugs when i wrote this caption calculation code

flint belfry
#

your always on drugs from the look of it

spare quartz
#

okay but i somehow got a good idea with this code

#

like really good idea

spare quartz
#

path based symlink recognition

#

this took so much thinking to do

#

(mainly cause the path is actually constructed backwards)

spare quartz
#

connection stats!

spare quartz
#

AUUGHHH

timid quartz
#

@spare quartz lmao?

spare quartz
#

i saw yeah

#

currently too focused on rewriting secure part of http_router though

timid quartz
spare quartz
#

they'd say the same thing

timid quartz
#

nah

spare quartz
#

im unsure why they don't want to be on CZDS

#

but its whatever i suppose..

timid quartz
#

japanese isolationism ftw

spare quartz
#

its funny cause their staff works in tandem with ICANN

#

and the WIDE project is apart of the DNS any-cast root servers...

lone sky
#

🎉

spare quartz
#

maybe if i email them nicely at a later time they'll give me their zone files

spare quartz
#

im so tired

#

time to write one of the hardest parts ever made in java

spare quartz
#

aauughh

#

i just dont understand why

#

on linux SSLSockets worked fine

#

but on windows theres this stupid bug where at ~64,000 bytes it just blocks indefinitely to the client

#

you'd think it's an OS level bug where the buffer is overfilled but the client is immediately working off it, so it can't be buffer

#

regression maybe? SSLEngine first...

timid quartz
#

I tried to record a ~5min (~100mb) video on macOS using the built-in screen recorder and it just....didn't save anywhere

#

wtf

#

but a 30s video is fine

spare quartz
#

oh yeah

#

codev discovered a bug in kotlins typesolver funnily enough

timid quartz
#

lol

#

if it was rust there would be no bug /j

spare quartz
#

hes too afraid to report it to the kotlin youtrack but essentially, if a generic type is restricted to a @Nullable of something, intellisense still thinks it can't be null

#

we had to get around it by reflecting the method

timid quartz
#

reeks of jvm copium

spare quartz
#

im sure the real javac/kotlinc would've accepted a null, but our intellisense just can't recognize the generic well enough

#

gotta love it

#

compilers more sophisicated than the actual intellisense

#

reminds me of ANOTHER language

#

well time to shove hot coals down my mouth

lone sky
#

@timid quartz ook so

#

my fucking power grid thought it was a funny idea

#

to kill itself while I work on a school project!

#

how joyful!

timid quartz
timid quartz
spare quartz
#

an LSP!!!!!

timid quartz
#

eughhhhhhh

#

not only does that require implementing the actually yuge lsp protocol

#

but it requires figuring out how to correctly semantically analyze ada

spare quartz
#

welli mean..

#

you could pick any languge..

#

a generic lsp by itself is useful..

timid quartz
#

there's no such thing as a generic lsp?

#

they're all tied to a lang

spare quartz
#

protocol layer

timid quartz
#

nerd emoji

spare quartz
#

saves you a lot of time if you design it right

#

stupid cs.

timid quartz
#

well then it would have to ingest some kind of format like tree-sitter

#

or smth

spare quartz
#

damn ive really fallen far

timid quartz
#

you have.

spare quartz
#

i used to suck balls at networking 😭

#

like not even half a decade ago

timid quartz
#

networking is cool!!!!

spare quartz
#

yeah but 99% of the people who do it dont actually know how it works

#

and thats so lllllaaame

timid quartz
#

bro my boss has this thing where he can load an image onto an sd card for a raspberry pi and have it phone home to his server and automatically become an endpoint for a vpn tunnel

spare quartz
#

you lost me at "load an image onto an sd card"

timid quartz
#

image -> put onto sd card
sd card -> put into raspberry pi

spare quartz
#

OH

#

OH

#

DISK IMAGE

#

i thought you meant like a picture 😭

timid quartz
#

raspberry pi -> plug into basically any network with access to my boss's server
boom vpn tunnel created

lone sky
spare quartz
#

like excellent excellent

#

like computationally infeasible excellent

timid quartz
spare quartz
#

okay thats ascii art

lone sky
spare quartz
#

thats basically just a less secure RSA key

timid quartz
spare quartz
timid quartz
#

womp womp

spare quartz
#

thats more akin to CRIME in the context of encryption...

timid quartz
#

some moderately popular guy on youtube named Pirate Software stores his passwords encoded in images

spare quartz
#

ew that guy

#

literally only reason i know them is cause

  • they used to be on my shorts
  • they also have a problem with taking blame apparently
#

FYM

#

when have i ever!

timid quartz
#

anyways I just re-re-re-re-recorded that 5 minute video in obs

#

only realize my mic was off the whole time

spare quartz
#

just caption the video

timid quartz
#

lame

spare quartz
#

no

timid quartz
#

too much work

spare quartz
#

youll go youtube shorts famous

timid quartz
#

ok this isnt for yt shorts, this is for my boss that has never used git or seen the github ui before

spare quartz
#

same attention span

lone sky
#

LOL??

spare quartz
#

@lone sky new woman izanari dropped btw

#

would you like it in your inbox

timid quartz
lone sky
#

sure

spare quartz
timid quartz
#

he already has made it lmao

spare quartz
#

hes not gonna make it

timid quartz
#

guy's like 50

spare quartz
#

oh my god shove glass shards in my stomach

timid quartz
spare quartz
#

i will destroy every single nws nexrad

timid quartz
#

wat.

#

noooo

#

we love nexrad

spare quartz
#

they cant report excessive heat if they cant report

#

also trump would probably approve anyways

lone sky
#

want my weather

#

😭

#

idm the heat cause I live in a fucking oven of a city anyways

spare quartz
lone sky
#

in the middle of a very irrelevant state

#

on a half relevant country

spare quartz
#

@timid quartz hey could you buy me a maimai machine

#

pls

#

:pra:

timid quartz
#

well

#

I did look into this

spare quartz
#

like im not gonna lie im half tempted to just

timid quartz
#

you would need

  • maimai machine
  • power outlet capable of giving enough power of the correct type (idk if it does AC or DC)
  • reinforced floor
  • somehow pay sega to put you online
spare quartz
#

lug NS-2 with that radio dongle im getting into an arcade and just committing SIGINT

#

for that stupid bayachao video

lone sky
#

LOL 😭

spare quartz
#

granted he did it "legally" and im not but

#

thats not the point...

lone sky
#

simply pay a hefty amount to some tacky arcade owner in japan somewhere to let you setup a VPN in a machine

#

👍

spare quartz
#

funny you say that since the machines themselves have VPNs

lone sky
#

oh?

spare quartz
#

so i'd actually be asking "hey can i install a MITM between your network connection and these arcade machines"

lone sky
#

since it IS just fundamentally windows

#

you could actually do that

#

mind you a very outdated windows version

spare quartz
lone sky
lone sky
#

ngl I think sega would just

spare quartz
#

kill me

#

yes

lone sky
#

do a cartel style takedown on you

spare quartz
#

but i want my bayachao video

lone sky
#

the youtube version

#

😭

spare quartz
#

its not

#

theres a modified clip thats about 7 seconds long

#

in the middle

lone sky
#

OH?

spare quartz
#

that isnt there anywhere

#

yes

#

it has chiharu, chabashira, kokuri

lone sky
#

HUH

#

that's interesting

#

HOLY SHIT

#

MATT ROSE UPLOAD

spare quartz
#

as you can see

#

content not present on youtube

lone sky
#

it surprises me in first place

#

that the source files for that EVEN still exist

#

😭

spare quartz
#

bayachao has good storage practices

#

well also they own like 5 ipads

#

but

#

whatever

spare quartz
#

the guy in this video is great at this game

timid quartz
#

you wouldnt believe how cracked some of the ppl who play this game are

#

when I was in japan last summer

#

some of those people

#

were actually nuts

spare quartz
#

hold on

#

please hold on to the term ななひら for me

#

okay no

#

its just that specific clip

timid quartz
spare quartz
#

you never develop an implementation for a protocol all at once

timid quartz
#

with a spec that large it's impossible to determine what's necessary

#

smh

spare quartz
#

uh

#

yes it is

#

you have an IDE.. use it

#

the IDE will run whatever it wants on your server, you add fail-fasts to whatever you haven't added

#

do that until your crash rate is "optimal"

spare quartz
#

dont do it

lone sky
#

had to buy minecraft for the...

#

checks notes 10th time in my life

#

for a school project.

timid quartz
#

L

#

putting the L in Linux

timid quartz
#

mmmmmmmmmmmmmmmmmmmmmmmmmmmmaybe

#

next-gen ada lsp.....written in rust :3

spare quartz
#

ooh good

#

its putting SSL consumation data in the stats

lone sky
timid quartz
spare quartz
#

just realized SSLEngine is literally just a subway for tls

#

NEED_UNWRAP (rx), NEED_TASK, NEED_WRAP (tx)...

lone sky
#

ok taht worked

#

however..

#

@spare quartz I NEED A SKIN!!! RAH!!!!!!!!!

lone sky
#

LOL

lone sky
spare quartz
lone sky
#

send me a skin miko.

spare quartz
#

i odnt knwo any 😭

spare quartz
#

is this too schizo

#

am i too tired

timid quartz
#

LOL

lone sky
#

@spare quartz another power outage

#

:C

timid quartz
#

You should just stop trying to do work rn

#

or go buy a UPS

lone sky
#

showering

#

so i took a very dark and cold shower

spare quartz
#

alright

#

SSLEngine fixed the bug!

timid quartz
#

i hate galera

#

so much

spare quartz
#

why ..

timid quartz
#

impossible to set up a cluster

#

for db replication

flint belfry
flint belfry
lavish dove
#

omg its hakita

spare quartz
#

I’m filing a complaint with the manager

lavish dove
#

isnt 64k like some kind of limit

timid quartz
#

@spare quartz does the jvm have any concept of forking

#

if you wanted to like, make a daemon

#

hmmmmm

spare quartz
#

Why do you ask btw

#

Just woke up

timid quartz
spare quartz
#

REMEMBER WHEN KADE ASKED ME TO MAKE THAT VPN OVER UNIMAGINABLY HARD CONSTRAINTS

#

i finally found a place to use those skills !!!!!

#

but whats youridea

timid quartz
#

Oh interesting

#

ipv6 is goated anyways

spare quartz
#

ipv6 is mid

timid quartz
#

imagine not needing a NAT — you can with v6

spare quartz
#

yeah cause you're just giving away blocks of billions of them away at a time

#

lame

spare quartz
#

what is your idea for forking the jvm!!!!!

lone sky
#

jvm-rs

spare quartz
#

kys!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

timid quartz
timid quartz
spare quartz
#

im not cause i never use processbuilder

#

like, ever

timid quartz
#

But if I tell you then you would make a program that uses it probably

spare quartz
#

what program could i possibly make that would find any use out of it

timid quartz
#

ugh

#

so

#

yknow how right now you’re using tmux to run processes and then detach from tmux so they run in the background

spare quartz
#

are you making an orchestrator

timid quartz
#

yeah ig that’s what you could call it

spare quartz
#

oh

timid quartz
#

I’d call it maybe a “manager”

spare quartz
#

i would make that, but right now im just "if it works it works"

timid quartz
#

SEE I TOLD YOU YOUD STEAL IT

spare quartz
#

well cause i already had that idea like months ago

#

before you were even born

timid quartz
#

but the idea is that you have a long-lived daemon that all the processes that you wanna run have as the parent

#

but the JVM doesn’t just have fork()

spare quartz
#

well i mean

#

it does have fork in the way of you can use FFI, or execute java.exe...

#

but not in the common sense you'd use it with C

timid quartz
#

I was thinking like

#

ProcessBuilder to execute “java daemon.jar” or whatever

spare quartz
#

my thinking process is just

#

why would you use processbuilder for that? just execute that jar in the manager's vm

#

minimization of risk (not relying on os processes/scheduling)

timid quartz
#

so that the daemon itself runs in the background

spare quartz
#

java has daemon threads

timid quartz
#

but when the main thread dies then the daemon threads die?

spare quartz
#

then use a platform non-daemon thread

#

(or find a way to prevent main from dying)

#

(a manager with a dead main thread is probably an issue...)

timid quartz
#

but that’s the point of the daemon

#

so like uh

#

manager start -> process created by the shell creates main daemon that’s backgrounded -> shell command dies but daemon lives on

spare quartz
#

i see

#

that is a more reasonable usecase

#

you'd still want just one JVM preferably though

#

RMI or some other form of loopback instrumentation service would probably be useful

timid quartz
#

lmao

timid quartz
#

cause that could be done but idk

spare quartz
timid quartz
#

that’s pretty similar to ProcessBuilder too huh

spare quartz
#

its essentially a shortcut

#

local Players = game:GetService("Players")
local TweenService = game:GetService("TweenService")
local OverlapParameters = OverlapParams.new()
OverlapParameters.FilterType = Enum.RaycastFilterType.Include
OverlapParameters.RespectCanCollide = false
OverlapParameters.FilterDescendantsInstances = {}
local function UpdateDescendants()
    local NewEntry = {}
    for _, Player in Players:GetPlayers() do
        if not Player.Character then continue end
        table.insert(NewEntry, Player.Character)
    end
    OverlapParameters.FilterDescendantsInstances = NewEntry
end

Players.PlayerAdded:Connect(function(NewPlayer: Player)
    NewPlayer.CharacterAdded:Connect(UpdateDescendants)
    NewPlayer.CharacterRemoving:Connect(UpdateDescendants)
end)
UpdateDescendants()
#

hmm

#

i wonder what a better way to do this would be

#

im assuming FilterDescendantsInstances would want a stable table... but if not i could just it[hash] = character

#

unfortunate

#

it wants a table without gaps

#

ドラゴンクエストⅣ リメイクとでびコネ発売日かぶったけどデフォルトネームがソロで同じなことに気付いてしまった!w勇者と引きこもり(正反対)

timid quartz
#

“java MyClass.class”?

spare quartz
timid quartz
#

that doesn’t really

spare quartz
#

that doesn't really . . ?

timid quartz
#

explain what to put in the string array

spare quartz
#

... exec(arrayOf("java", "-jar", "service.jar"))

#

... exec(arrayOf("java", "-jar", "service.jar"), arrayOf("LOCALE=YR.MOM"))

timid quartz
#

ok

spare quartz
#

i hope this thing DIES soon

timid quartz
#

mmm

#

I did just “java” “Main.java” “--daemonize”

#

And it doesn’t appear to do anything

timid quartz
#

Yeah the exec call doesn’t appear to do anything

spare quartz
#

are you printing out the process details

timid quartz
#
import java.lang.management.ManagementFactory;
import java.util.concurrent.TimeUnit;
import java.io.IOException;

public class Main {
    public static void main(String[] args) throws InterruptedException, IOException {
        System.out.println("args:");
        for (String arg : args) {
            System.out.println(arg);
        }

        if (args.length != 0 && args[0] == "--daemonize") {
            System.out.println("Spawned");
            while(true) {
                String vmName = ManagementFactory.getRuntimeMXBean().getName();
                System.out.println(vmName);
                TimeUnit.SECONDS.sleep(2);
            }
        }

        String[] cmdArray = {"java", "Main.java", "--daemonize"};
        Runtime.getRuntime().exec(cmdArray);
        System.out.println("Ran thing");
        TimeUnit.SECONDS.sleep(6);
        System.out.println("Exiting");
    }
}
spare quartz
#

and what do you see

#

because as far as i can tell you seeing nothing except the main jvm log says its working fine

timid quartz
#

args:
Ran thing
Exiting

#

though uh

spare quartz
timid quartz
#

I'm expecting to see the daemon printing pids

#

but also

spare quartz
#

the daemon has its own input/output stream

#

you need to actually tell the main jvm to read off it to see anything

timid quartz
#

rr how

spare quartz
#

exec returns a Process

#

Process a = exec ...
a.getInputStream().transferTo(System.out);

timid quartz
timid quartz
spare quartz
#

outputstream would be the daemons stdin

timid quartz
#

wh

spare quartz
#

you can only write to that

timid quartz
#

oh

spare quartz
#

yes its relative to the process it runs off of

#

ouputstream -> output to...

timid quartz
#

idk I would expect to connect stdout to the output stream

spare quartz
#

well that would be relative from the daemon process view

#

which isn't you

timid quartz
#

oh dear lord it keeps spawning

#

threads

#

what

#

oh wait

#

uhh

#

no idk

#

oh

#

stupid

#

string equals

#

I hate java

spare quartz
timid quartz
#

this is why java SUCKS

spare quartz
#

this is why your hands suck

#

spell it right you nerd

timid quartz
#

how to get...current process...

#

to detach stdin...

spare quartz
#

wdym

timid quartz
#

hold

#

the daemon thread runs

#

but I must now

#

make it detach

spare quartz
#

good luck with that

timid quartz
#

oh

#

I think I did it

spare quartz
#

good jo b

timid quartz
#

can just

#
Process proc = Runtime.getRuntime().exec(cmdArray);
System.out.println(proc.pid());
#

yipee!

spare quartz
#

yipnay.

timid quartz
#

and its alive even if I murk the terminal

spare quartz
#

hmm wonder if this will expand the vector correctly

#

it does! hitboxless door

#

hooray

timid quartz
#

I think Java's way of doing that is actually less aids than C

spare quartz
#

so small

#

i cant believe it used to have parts for each tween position ...

timid quartz
#

im thinking like

manager start \
  --exec="dns_microserver <args>" \
  --exec="http_microserver <args>"
#

etc

#

and then you can also

manager add --exec="maven_microserver <args>"
spare quartz
#

hmmmumum that would be cool

#

what would also be cool is if you used the classpath argument to share libraries between jars

timid quartz
#
manager list
1: dns_microserver <args>
2: http_microserver <args>
3: maven_microserver <args>

manager stop 1
stopped 1 (dns_microserver <args>)
spare quartz
#

since distributions are a bit wasteful by default

timid quartz
#

lower priority feature

spare quartz
#

hes already prioritizing... deployment brain...

timid quartz
#

higher priority is just

spare quartz
#

mmbm im hungry

timid quartz
#

making it equivalent to what tmux would do

#

does bsl have a ....nice argument parsing thingeymabob

spare quartz
#

yeah do you want to see how to use it

timid quartz
#

yes and pls give creds to yoink it from your maven server

#

well...maybe I dont need creds

spare quartz
#

you dont need credentials

#

    logger.fine("- Argument read")
    val (singleArgs, multipleArgs) = readArgs(
        args,
        "http_router",
        "Distribution of software for Bread Experts Group operated port/shared file routing servers.",
        Flag<String>(
            "keystore", "The PKCS #12  keystore on which SSL/TLS requests will be encrypted via.",
            required = 1
        ),
        Flag<String>(
            "keystore_passphrase", "The PKCS #12 keystore passphrase.",
            required = 1
        ),
        Flag("ip", "The IP address on which to listen to.", default = "0.0.0.0"),
        Flag("port", "The TCP port on which to listen to for SSL/TLS requests.", default = 443, conv = ::stringToInt),
        Flag(
            "port_insecure", "The TCP port on which to listen to for plaintext requests.",
            default = 80, conv = ::stringToInt
        ),
        Flag<String>(
            "route", "A route on which to direct requests towards, specified by the Host header.",
            repeatable = true
        ),
        Flag<String>(
            "redirect", "A route on which to redirect requests to another server, specified by the Host header.",
            repeatable = true
        )
    )
timid quartz
#

ok cool

spare quartz
#

args -> array<string>
project_name
project_description
<vararg flags>

#

it'll handle conversion + required checks + -help for you

#

just uh strict argument formatting
-a = boolean <true>
-a=3 value <3>, type depends on passed conv function, default is string "3"

timid quartz
#

atp making a helpful library? who could have thought

timid quartz
#

YEAH ACTUALLY BSL IS AN EXTERNAL DEPENDENCY

#

RAAAAH

#

NO BSL!!!

spare quartz
#

its an internal dependency :3

#

heres the entire commandline kt

timid quartz
#

external.

spare quartz
#

okay gonna get lucnahbles to eat im sarving

timid quartz
#

the store employees watching you roll in for the 5th time that day to take their entire stock of lunchables

#

wait you dont go outside nvm

#

neet

#

hikikomori

spare quartz
#

im not omori im chadchao

timid quartz
#

引きこもりだ。

#

bayacringe

lone sky
#

hop off

spare quartz
lone sky
#

@flint belfry @timid quartz WHEN

#

WHEN IS IT

timid quartz
#

microservice_manager?

spare quartz
#

whatever you ant ,,

timid quartz
#

also are you a gradle fan or do yuo do maven

spare quartz
#

gradle grad le never choose mavne

timid quartz
#

intellij rot

spare quartz
#

thats okay too

timid quartz
#

intelligay

timid quartz
#

name

#

nameeee

spare quartz
#

hjuh ?? huh??

#

im working awht..a.

#

t..1

timid quartz
#

idk if __micro__service_manager is approprite because you might not use microservices

#

service_manager sounds like systemd

#

it doesn't really orchestrate anything

spare quartz
#

application_carpool

timid quartz
#

carpool lmfao

#

I like that

#

maven build system :3

spare quartz
#

この想いのせて歌よ響け!
すずしーとの歌ってみたコラボ、おかわり!

🎡Original
Glory Steady Go!/キノシタ feat.初音ミク
https://youtu.be/Y-QhzXC9NbI
Glory Steady Go! / ワンダーランズ×ショウタイム × 巡音ルカ
https://youtu.be/JoM4JGqQyCU

🎨Illust
蜳暯
https://twitter.com/a_si_yu
...

▶ Play video
timid quartz
#

im jk

#

grad el

spare quartz
#

this is how i feel about our maven microserver rn

timid quartz
#

I hate to put this under beg but here we go

spare quartz
#

theres so many versions i delete in the background that you dont see cause they're not in storeMain

#

but every mistake i ever made is in storeBackup

timid quartz
#

lmao gg

#

is it org.bread_experts_group

#

or com

spare quartz
#

org

timid quartz
#

krilling myshellf

spare quartz
spare quartz
#

there are no 1.x.x bsl versions

#

(they were all destroyed by an accidental rm -rf *)

timid quartz
#

LMAO

#

now do uh

#

sudo rm -rf /

spare quartz
#

❌

timid quartz
#

✅

#

EW

spare quartz
#

i can't even anymore since NS-1 is "down" due to spectrum legal

timid quartz
#

WHAT WAS THAT

spare quartz
#

huh

timid quartz
#

THE INTELLIJ STARTUP SPLASH SCREEN

#

EWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW

spare quartz
#

JAVA 30 YEARS

#

BASED

timid quartz
#

java 0 YEARS!!!!!!!!

#

NO MORE JAVA

spare quartz
#

3 BILLION CAKES USE JAVA

timid quartz
#

and that number is shrinking every year.

#

to TS and to Rust.

spare quartz
#

nope!

#

:3

spare quartz
#

that means they'll make their wish at java 150

#

i can't wait

timid quartz
#

stack overflow 2023: 30.55% of all respondants used java
stack overflow 2024: 30.3%

#

RAAAH

#

JAVA IS DYING

spare quartz
#

nnooope

#

also btw my computer is living proof against this

#

never die seagate disk from 2007

timid quartz
#

JAVA. IS. DYING.

spare quartz
#

i wonder how many used kotlin?

timid quartz
#

DEAD LANG!!!

spare quartz
#

or scala?

#

hmmmmmm??

timid quartz
#

2024: 9.4% kotlin, 2.6% scala
2023: 9.06% kotlin, 2.77% scala
2019: 6.4% kotlin, 3.8% scala

spare quartz
#

OOOOOOHHH

#

JVM NEVER DIE

timid quartz
#

kotlin is unfortunately getting very small amounts more users, while scala is slowly losing them

spare quartz
#

💪

spare quartz
#

EHEHEHE

timid quartz
#

let's look at rust shall we

spare quartz
#

BYE

timid quartz
#

2024: 12.6% (more than kotlin and scala combined)
2023: 13.05% (more than kotlin and scala combined)
2019: 3.2%

#

LOOK AT THAT MASSIVE GROWTH

#

YUUUGE GROWTH

spare quartz
#

BIOHAZARDOUS

timid quartz
#

hey if we can convert them to use an actually good language.

#

it's better than them staying TS programmers.

spare quartz
#

they'll always be ts programmers

timid quartz
#

let's see ada

spare quartz
#

1%!!!!!!!!

#

ada never dies!!!!!!!!!!

timid quartz
#

2024: 0.9%
2023: 0.77%
2019: DOESN'T EVEN REGISTER REKT

#

ew ada is growing??

#

even if very marginally

spare quartz
#

LETS GOOOOOO

timid quartz
#

lame

spare quartz
#

THE YEAR OF THE ADA PROGRAMMER

timid quartz
#

zig still sits higher at 0.83% in 2024

#

even ZIG is more popular

spare quartz
#

honestly its cause AdaCore is doing an excellent job at marketing

timid quartz
#

REKT.

spare quartz
#

TOY LANG ^

timid quartz
#

good lang.

spare quartz
#

this is all rust/ts/zig users btw

timid quartz
#

ADA IS THE TOY LANG.

spare quartz
#

hype moments and aura languages

timid quartz
#

DOD toy lang

spare quartz
#

DOD based lang

timid quartz
#

DOD stupid lang that is only used by 3 people globally

#

literally a DARPA toy that got out of containment

spare quartz
#

meanwhile rust where 99% of their userbase doesn't actually know why memory safety means anything:

timid quartz
#

nah

#

more like

#

0.99%

spare quartz
#

you're missing a *10

#

stupid rust user

#

language can't fix your arithmetical problems.

timid quartz
#

arithmetical problems?

spare quartz
#

how do you encode the acceptable values and boundaries for a type

#

with just the type

timid quartz
#

uhm how do you do that in kotlin.

#

with just the type.

spare quartz
#

thankfully every single type in kotlin is an object

#

you just do a check on init {}

#

ahhh i love OOP

timid quartz
#

ok so

#

watch

spare quartz
timid quartz
#

lemme check if this works

timid quartz
spare quartz
#

Rust user realized they had nothing planned against Ada users, so they started writing bad code

timid quartz
#

hold on family is here

spare quartz
#

i think im gonna have an aneurysm

#

trying to solve the simplest problem and my brian just isnt saying anything

timid quartz
#
struct BoundedU32<const MIN: u32, const MAX: u32> {
  inner: u32,
}

impl<const MIN: u32, const MAX: u32> BoundedU32<MIN, MAX> {
  fn new(val: u32) -> Option<Self> {
    if val < MIN || val > MAX {
        return None;
    }
    Some(Self { inner: val })
  }
}

@spare quartz gottem.

timid quartz
#

hey.

#

you asked how it could be done.

#

there u go.

#

it can be done.

spare quartz
#

"it can" < "it should"

timid quartz
spare quartz
#

nuh uh

timid quartz
#

rust is encroaching on Ada

spare quartz
#

aug yiyr rust code made my brain hrut

timid quartz
#

soon Ada will be obsolete

timid quartz
#

unlike ada

spare quartz
#

I KNOW

timid quartz
#

where you use =

#

(which is dumb)

spare quartz
#

no

#

it makes snse

timid quartz
#

nope.

spare quartz
#

010314823

timid quartz
#

thanks for your barcode

spare quartz
#

CONNIE

timid quartz
spare quartz
#

luau i will kil lyyou

timid quartz
#

ez fix

spare quartz
#

NO

#

actually i dont even have strict on this script huh

timid quartz
#

turn off the new type resolver then

spare quartz
#

i sshouldnt have it on

#

yeah

timid quartz
#

ok well

#

maybe roblox is just telling you your code sucks

spare quartz
#

its perfectly adequate

timid quartz
#

nope.

spare quartz
#

yeah no

timid quartz
#

your code sucks. studio closed.

spare quartz
#

this solver just sucks

timid quartz
#

turn off strict

spare quartz
#

This AST sucks ass. Syntax tree truncated.

spare quartz
rustic vine
spare quartz
#

perfectly adequate.

rustic vine
#

turn off new solver

#

yw for the tips

spare quartz
#

IT IS OFF GREJ034U8U2843

rustic vine
#

and keep strict on nonstrict is useless

#

why do u have any

spare quartz
#

i dont

rustic vine
#

any is like locally turning off the typechecker

spare quartz
#

i dont

rustic vine
#

drop the code

spare quartz
#
return function(Object: Instance, TagMap: { [string]: { Instance } })
    print(Object)
    local EventListener = Object:WaitForChild("__TweenEvent")
    assert(EventListener:IsA("RemoteEvent"))

    local Tweens, TweensOrigin = {}, {}
    local LocalTweenInfo = TweenInfo.new(Object:GetAttribute("TweenTime"))
    for _, Tweened in TagMap["__TweenedActivation"] do
        assert(Tweened:IsA("PVInstance"))
        local Origin = Tweened:GetPivot()
        local State = Instance.new("CFrameValue")
        State.Changed:Connect(function(Delta: CFrame)
            Tweened:PivotTo(Origin * Delta)
        end)
        table.insert(Tweens, TweenService:Create(State, LocalTweenInfo, { Value = Tweened:GetAttribute("Offset") }))
        table.insert(TweensOrigin, TweenService:Create(State, LocalTweenInfo, { Value = CFrame.new() }))
        State.Parent = Object
        print(Tweened)
    end

    EventListener.OnClientEvent:Connect(function(Mode: boolean)
        print(Mode)
        for _, Tween in (if Mode then Tweens else TweensOrigin) do Tween:Play() end
    end)
end
rustic vine
#

ur code is usually un type checkable anyway (I read ur vox thing)

#

wgeres the error

spare quartz
rustic vine
#

use a variable

#

yw

spare quartz
#

thats so lllllllaamme

rustic vine
#

yea well I think ur code is lame

#

nobody codes like that

spare quartz
#

you're lame.

timid quartz
#

yeah brah bad code

#

session terminated

spare quartz
#

perfectly adequate.

rustic vine
#

u know the real solution is to just rewrite that

#

its actually pretty bad

#

use 1 array, fill it differently depending on Mode

#

yw for the tips

spare quartz
#

why

rustic vine
#

nvm u take mode as an argument later

#

wth

#

thats cursed

#

I think you should pursue a different career

#

this one is done

spare quartz
#

nah

#

perfectly good code

rustic vine
#

use a variable

#

😁

spare quartz
#

❌

rustic vine
#

why so many asserts too

spare quartz
#

assert

rustic vine
#

oh god theres attributes involved