#💽Programming Chat v2

1 messages · Page 9 of 1

spare quartz
#

i think they still count to grade though

proud creek
#

ur failing

spare quartz
lavish dove
#

your gpa will not be happy with a 70

spare quartz
#

im not getting a job after school 💀

lavish dove
#

job market L

spare quartz
#

military w

lavish dove
#

holy shit military w

spare quartz
#

oh okay maybe i should read the article on this one

#

i only know these terms cause of learning ada 😭

lavish dove
#

network operating system but I dont think thats how y ou use the word

#

time sharing would be single core and real time

spare quartz
#

nos makes me think of like uh

#

iPXE and all

#

even though thats just a loader

lavish dove
#

yeah thats what I thought

#

like I see the mistakes from before so I think "bruh they mistook network boot 💀 "

spare quartz
#

this one looks like its actually well substantiated so im not gonna assume that rn

#

ill just skip until i get a definition

spare quartz
lavish dove
#

yeah

#

aa

#

im just assuming they are dumb

spare quartz
#

oh thats a weird term

#

im more used to transactional

lavish dove
#

huh

spare quartz
lavish dove
#

lmao

spare quartz
#

oh okay so its just RDP

#

wait

spare quartz
#

ehhhh the lines look a bit intersected

lavish dove
#

and even pay for flights

spare quartz
#

very robust system

lavish dove
#

yea

lavish dove
#

even the ssh in windows can x forward

spare quartz
#

aggh they didnt mention ada for RTOS :<

lavish dove
#

oof

spare quartz
lavish dove
#

I remember I bought a vps and ssh'd into it from my school computer

#

I couldnt get x to work because im a dumbass but I've seen videos of it working so

#

for some reason xorg wouldnt start automatically 💀

#

so I had to start it every time

spare quartz
#

i prefer xrdp honestly

lavish dove
#

I tried to setup a rdp server too but it would also crash 😭

spare quartz
#

did you get a log of why??

lavish dove
#

no the thing didnt make any logs

spare quartz
#

oh

#

weird..

lavish dove
#

it was krdp server

#

with kde

#

I deleted ite ntirely cuz I was afraid it was running even though I disabled it, thats how broken it was

#

and I cant install a rdp client on the school computers, wont even run anything thats signed

#

not even windows S either, they just set it up to only allow programs that were on a whitelist

#

ssh was signed with microsofts key so i dont tihnk they couldve banned it without also banning edge lmao

#

and the builtin rdp one was banned

spare quartz
lavish dove
#

oh dear god

proud creek
#

huh

spare quartz
#

it wants me to write down abstractions over application/system/hardware

#

which is better than questions i have no idea if im getting right or wrong

spare quartz
#

am i oputting too mch effort into this

#

this is the smaple

lavish dove
spare quartz
#

its not wrong with the first half

#

but an http request doesnt really exist that low...

lavish dove
#

fr

#

down there its ip, if even that

spare quartz
#

RAW sockets (sockets not really a thing on hardware but... just raw r/w of the interface) let you send whatever you want so IP isn't really "there" as much as it is on the software side

lavish dove
#

just port

#

sending through port is kinda slow though I wonder if it uses dma

#

oh they use ports

#

wait some of them use dma

#

and some of them use ports

#

and some of them use EEROM idk what that is

#

oh ERROM is readonly huh

proud creek
#

hardware does a beep boop

spare quartz
#

@proud creek

import java.util.LinkedList;
import java.util.ArrayDeque;
import java.util.Arrays;
import java.util.Queue;

public class Main {
    static <T extends Queue<Integer>> T rearrangeWithAuxStack(T tzsmells) {
        System.out.println(tzsmells);
        ArrayDeque<Integer> rearranged = new ArrayDeque<>();
        int d = 0;
        for (int i = 0; i < 2; i++) {
            for (Integer entry : tzsmells) {
                  if (entry % 2 == i) rearranged.addFirst(entry);
            }
        }
        while (rearranged.size() > 0) {
            tzsmells.remove();
            tzsmells.add(rearranged.removeLast());
        }
        return tzsmells;
    }

    public static void main(String[] unused) {
        System.out.println(rearrangeWithAuxStack(new LinkedList<Integer>(Arrays.asList(3, 5, 4, 17, 6, 83, 1, 84, 16, 37))));
    }
}
#

here

#

now with squimble support

proud creek
#

what the flip

#

ok but

#

use a normal queue

spare quartz
#

A more complete and consistent set of LIFO stack operations is provided by the Deque interface and its implementations, which should be used in preference to this class.

#

java docs literally say use ArrayDeque over Stack

proud creek
#

ok but my homework is not about which one is better

spare quartz
#

oh my godddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd

#

do ALL cs teachers suck

proud creek
#

uhhh

#

blame "Jeff Prouty"

spare quartz
#

who

proud creek
#

idk

#

it says they made the problem

#

i think its from university of washingtonm

lavish dove
#

bro even my cs teacher doesnt know shit

#

well he knows a tiny bit but not really anything about how things actually work

#

I swear no wonder people hate C now, they learned the wrong way in college

#

anyways why is it fucking different every time I boot my os

#

sometimes the drive will return the actual sectors, sometimes it will be zero

#

oh its sending an error when it doesnt work

#

nice

spare quartz
# proud creek i think its from university of washingtonm
import java.util.LinkedList;
import java.util.Arrays;
import java.util.Stack;
import java.util.Queue;

public class Main {
    static <T extends Queue<Integer>> T rearrangeWithAuxStack(T tzsmells) {
        System.out.println(tzsmells);
        Stack<Integer> rearranged = new Stack<>();
        for (int i = 0; i < 2; i++) {
            for (Integer entry : tzsmells) {
                  if (entry % 2 == i) rearranged.push(entry);
            }
        }
        while (!rearranged.empty()) {
            tzsmells.remove();
            tzsmells.add(rearranged.pop());
        }
        while (tzsmells.peek() != null) rearranged.push(tzsmells.remove());
        while (!rearranged.empty()) tzsmells.add(rearranged.pop());
        return tzsmells;
    }

    public static void main(String[] unused) {
        System.out.println(rearrangeWithAuxStack(new LinkedList<Integer>(Arrays.asList(3, 5, 4, 17, 6, 83, 1, 84, 16, 37))));
    }
}
#

there

#

ugly

lavish dove
#

idk java so it looks ugly with or without improvements

proud creek
#

lol

burnt locust
#

Guys

#

I just started

#

🔥

proud creek
#

no way

#

🔥

burnt locust
#

im fr gonna be sst in a week 🤑

pallid loom
burnt locust
#

this took

#

FOREVER

proud creek
#

the leaderboard is so goofy

#

it needs a revamp

#

i do NOT need tbe creating a folder and putting random values in it

full berry
burnt locust
#

that took an hour

#

😭

proud creek
#

🚨BREAKING

A new vulnerability has been found where Users with malicious intent can upload a script into a Free Model and when a Developer tests the Game in "Roblox Studio" it Grabs the Developer's IP Address and sends it to a Webhook.

#RobloxDevs #RobloxDev #Roblox #Breaking

▶ Play video
#

Omg what will we do

timid quartz
# lavish dove idk java so it looks ugly with or without improvements

maybe you'd prefer it like this

import java.util.LinkedList;
import java.util.Arrays;
import java.util.Stack;
import java.util.Queue;

public class Main 
{
    static <T extends Queue<Integer>> T rearrangeWithAuxStack(T tzsmells) 
    {
        System.out.println(tzsmells);
        Stack<Integer> rearranged = new Stack<>();
        for (int i = 0; i < 2; i++) 
        {
            for (Integer entry : tzsmells) 
            {
                  if (entry % 2 == i) rearranged.push(entry);
            }
        }
        while (!rearranged.empty()) 
        {
            tzsmells.remove();
            tzsmells.add(rearranged.pop());
        }
        while (tzsmells.peek() != null) rearranged.push(tzsmells.remove());
        while (!rearranged.empty()) tzsmells.add(rearranged.pop());
        return tzsmells;
    }

    public static void main(String[] unused) 
    {
        System.out.println(rearrangeWithAuxStack(new LinkedList<Integer>(Arrays.asList(3, 5, 4, 17, 6, 83, 1, 84, 16, 37))));
    }
}
burnt locust
#

@snow oak get over here

snow oak
#

hi

burnt locust
#

hi

lavish dove
umbral monolith
#

perl is cool imo

timid quartz
timid quartz
umbral monolith
#

I've used it for extracting images from markdown to make it easier to transfer from Microsoft office to a custom solution

lavish dove
#

Libreoffice

timid quartz
#

@spare quartz maybe im over-engineering the smtp thing

#

guess the question is whether to make it a library or just an executable

#

tbh do I even need to wrap this in a struct

spare quartz
#

you're still working on that?? how much free time do you have

spare quartz
#

🤨

timid quartz
#

which is why it's taking so long

#

I've barely done anything

spare quartz
#

i still have about 110 things to finish before i can consider myself free

ashen pollen
#

god i wish ohio had a API to access UCC filings it could make my work so much easier

#

thankfully they have afaik zero protection against automated web browsers so i can make something to grab them with selenium

#

and i realize there is a very low chance anyone knows what im talking about. UCC is Uniform commercial code its a bunch of legal shit about transactions and sales for companies

#

i have to pull copies for my job so im hoping i can make a script do it for me so i can just paste in a Debtor and it spit out all the copies named in date order into my downloads folder

pallid loom
#

know from personal experience

#

there's also selenium

ashen pollen
#

theres the double punch of it being a goverment website too

pallid loom
#

fucking hell im dead today

#

not selenium

#

puppeteer

full berry
timid quartz
#

yes

full berry
#

interestingg

timid quartz
#

why

full berry
#

no reason, just intriguing that a communication method on this level is scripted in rust 👁️
i can't wait for my rust lessons in school (we have moved from arrays to string methods (python))

spare quartz
#

GENERALLY its c

full berry
#

well sql is not really a programming language

spare quartz
#

honestly rn i wanna kms

full berry
#

why bro

spare quartz
#

h.264

full berry
#

wjat

spare quartz
#

do you know HOW much effort is put into this

#

stupid video

pallid loom
spare quartz
#

nonexistent on roblox

pallid loom
#

the atp in question doing really stupid shit and then being frustrated

spare quartz
#

YES

#

its simply just how i learn things

pallid loom
#

peak autism

#

okay i have a challenge for you

spare quartz
#

only reason i really do roblox anymore is cause its so much more convenient to test a theory/code something and run it fast

pallid loom
#

we've got a drone that needs to search for people, detect them using ai, and then pinpoint them with a gps marker

#

this is a drone that is going to be used purely for rescue purposes

spare quartz
#

i thought it was supposed to deliver medical supplies very quickly..?

pallid loom
#

that aswell!

#

sorry forgot!

spare quartz
#

maybe i can do that in ada

#

unfortunately im not rich and dont have hardware to do any form of cv right now

pallid loom
spare quartz
#

i mean my future plan is to buy a model of a sidewinder and make it

#

actually work

#

but AS OF NOW ill wait until i get money

full berry
#

go work

pallid loom
#

good fucking luck with that

spare quartz
#

i already have a seller

full berry
#

wait atp when are you enlisting 👁️

spare quartz
full berry
#

yes.

spare quartz
spare quartz
#

i love noseartdisplays so much <3

full berry
#

ok back to studying logs

pallid loom
#

atp you will be suicided by your government

spare quartz
#

teo ive already spoken to a colonel about how i like to mess with the dod intel communities sites

#

(as well as 3 other enlisted)

#

i think im going to be fine

pallid loom
spare quartz
pallid loom
#

just waiting for it

full berry
#

atp did you see the CIA's new post about how to securely contact them over the tor network

spare quartz
#

as long as i dont cure cancer

spare quartz
pallid loom
full berry
#

english version

#

🙏🏽

pallid loom
#

the enemy government in question wanting to recruit engineers

spare quartz
full berry
#

i follow them on social media dont ask

spare quartz
#

so do i bro ..

full berry
#

is there a

#

english version of the instructions

spare quartz
#

give me a SEcond

full berry
#

i had to use gemini to translate

#

ty

spare quartz
#

im not an engineer though

#

i just hook up wires

pallid loom
full berry
#

why what

spare quartz
#

why do you want them

full berry
#

i like to toy around with random things

spare quartz
#

such as

full berry
#

your mom

spare quartz
#

are you planning to send false reports or something

full berry
#

about you yes

#

(no)

spare quartz
#

then no

full berry
#

im jokinggg

spare quartz
#

go find it yourself

full berry
#

i dont think they have what i have on that lmfao

#

what i meant*

spare quartz
#

fdvujkgvf

full berry
#

can you send it

#

if you know what im reffering to lmfao

spare quartz
#

no

full berry
#

why smh

spare quartz
#

because i odnt have it

full berry
#

gah okay

spare quartz
#

havee this

#

maybe they'll find you thru that

full berry
#

what is that

spare quartz
#

click it

full berry
#

um

#

nah i think im umm good

spare quartz
#

just accept

#

its fine

full berry
#

what is it.

spare quartz
#

just click it broo

#

oh

#

right i have certs you dont

full berry
#

ok what am i looking at,,

spare quartz
#

nothing!

full berry
#

ATP

#

what did i click on

spare quartz
full berry
#

wjah

spare quartz
#

do you want the certs for the site :3

full berry
#

WHAT even is this site,,

spare quartz
proud creek
spare quartz
#

no thats an 8

#

illnumeric

proud creek
#

dors logo

spare quartz
#

BREAKING: Gen Threat Labs finds Rootkit targeting Arch Linux.

This puts at least 50 people worldwide in danger.

Quoting Gen Threat Labs (@GenThreatLabs)

🚨 New #rootkit alert! We've discovered #Snapekit, a sophisticated rootkit targeting Arch Linux (6.10.2-arch1-1 x86_64). It hooks 21 syscalls, hides its payload, and evades detection by dropp...

full berry
#

found it

#

ciadotgov4sjwlzihbbgxnqg3xiyrg7so2r2o3lt5wz5ypk4sxyjstad.onion

proud creek
#

bro what are you doing

full berry
#

your dad

#

im actually drawing a log. function

spare quartz
#

what

full berry
#

?

#

i have a math test first thing in the morning

spare quartz
#

why do you need the cia for a logarithmic function

full berry
#

what

#

the two are unrelated 😭

spare quartz
#

bro does not know how to correlate

full berry
#

shur

proud creek
#

why so serious

full berry
#

DREAM

timid quartz
# spare quartz

man I didn't know that onion links were written in croatian @full berry

full berry
spare quartz
#

nya

timid quartz
spare quartz
#

a costco would look so nice here

#

while i prepare to redo the h264 codec.

timid quartz
#

NERDDD

#

of course you play satisfactory tho

spare quartz
spare quartz
#

i bought it almost 5 years ago

timid quartz
#

/j

spare quartz
#

i was totally expecting that honestyl

#

another japanese song invaded my feed

#

unfortunately its good

timid quartz
#

the algo knows you too well

spare quartz
#

MORE LIKE CAUSE I PLAYED THE SAME SONG LIKE

#

500 times

timid quartz
#

Guessing this new song also involves fluffy furries

#

Send it to me in dms @spare quartz

lavish dove
#

I wonder how difficult av1 is

spare quartz
#

i hope for your sake its easier

#

i probably should've just reencoded the video to use RAW or MJPEG

#

actually no JPEG would probably be painful too

#

ive never been good at data compression

lavish dove
#

if an old anime compressed is 20 megabytes... I cannot even imagine how bad a raw video would be...

spare quartz
#

my goal rn is to get something rendering, and then add codecs on top

#

but considering one of the test samples is 720p @ 4 minutes long

#

... nope!

lavish dove
#

lol

#

I wonder if my old computer could even read uncompressed video that fast

#

that drive was slow asf

spare quartz
#

lemme put in some numbers

spare quartz
#

(excluding audio)

lavish dove
#

but 14 megabytes would probably use alot of that old drive

spare quartz
#

reencoding compressed audio to be raw aswell would kinda just be rubbing it in tho

lavish dove
#

I mean .wav from hatsune miku wasnt really that bad
it was mono tho

spare quartz
#

oh RIGHT

#

i still need to decode the audio data

#

and then figure out how to pitchshift a 500 hz sine to get a semblance of audio

lavish dove
#

o

spare quartz
#

roblox workarounds™️

#

hoping in the future they expand the whole Wire system they got going on for custom audio

lavish dove
#

theres custom audio!?!!?

#

wait your making this shit in roblox!?!?

spare quartz
spare quartz
lavish dove
#

damn

#

when I made my video streaming it was raw

#

I think it was like 2 gigabytes fo throughput for 200 frames

#

and roblox downloaded it slightly slower than 24 fps

spare quartz
#

i tried delaying the stream a bit to fully show at 60 fps

#

never got it to work though

lavish dove
#

oof

lavish dove
#

im gonna see if I can add some rudimentary compression to my thing

#

I think roblox was throttling the HTTP get's though, if I made it multithread they would complete at the same time

spare quartz
#

8 requests per second is your limit

lavish dove
#

I didnt hit a limit on requests per second

#

just requests per minute

#

it let me get every frame at the same time

spare quartz
lavish dove
#

wait then how did I hit 20 fps streaming

#

oh

#

wait what

spare quartz
lavish dove
spare quartz
#

(you may need to send multiple frames in a single request as a result)

lavish dove
#

so I haved to make a thing that compresses frames, uncompresses them on the roblox end and sends multiple frames!??!??!

#

might as well reinvent tcp

spare quartz
#

nobody said streaming was easy

#

on the good side if you ever need to make twitch 2 you can

lavish dove
#

im just happy I got 200 frames now

spare quartz
#

wonder why your mp4 wasnt embedded?

#

oh you're an employee

lavish dove
#

I dont have nitro so I had to use av1 to upload it

spare quartz
#

ohhh

lavish dove
#

how much ram does roblox give you

#

or well whats the largest a table of buffers can be

spare quartz
#

max sane is about 4-6 gb iirc

lavish dove
#

o

#

thats alot actually

spare quartz
#

script wise yeah its a ton

lavish dove
#

thats actually an insane ammount when a few hundred thousand of those are running at the same time

#

and probably millions when adoptme updates

spare quartz
#

the memory cap scales with your usage (recent change)

#

generally the heavy hitter in memory usage comes w/ a lot of players or physics objs

lavish dove
#

oof

spare quartz
#

though uh

lavish dove
#

wait now I want to make a thing that can handle hundreds of players

#

like it sends http to a master server that acutally handles the players

spare quartz
#

there is a sorta implicit limit of memory in lua

lavish dove
#

I dont think so

spare quartz
#

because of how "slow" it is, you hit a throughput limit

lavish dove
#

ohh

#

but lua is pretty fast though??

spare quartz
#

not as fast as a regular computer so you have to cut edges at some points

#

(part of why we can't make screenspace shaders, let us at the gpu!!)

lavish dove
#

lol

proud creek
spare quartz
#

satisfactory OVER

#

back to h.264

spare quartz
#

oh

#

the 500hz test tone on studio was playing this entire time

#

just muted cause it was out of focus

#

what

lavish dove
lavish dove
spare quartz
spare quartz
#

1 tb has existed for a "while" now

lavish dove
#

no way

spare quartz
#

we're starting to see 1.5 tb

lavish dove
#

👀

spare quartz
#

but will it be able to hold the AAA games of the future i wonder

#

a 512 micro sd is actually kinda cheap

#

never thought id be saying that

lavish dove
spare quartz
#

512 GB

lavish dove
#

wait I can prot my renderer thing to a bootsector I just realized that

#

WOAH WHAT THE FUCK 512 GIGABYTE IS 32 BUCK!s?!??!

spare quartz
#

yeah 💀

lavish dove
#

THATS LARGER THAN MY FUCKING SSD

spare quartz
#

32 GB (pack of 2/4) are dirt cheap too

lavish dove
#

FOR A PACK OF THEM!??!

spare quartz
#

its just lacking in R/W speed (but not by much to be honest)

lavish dove
#

12 BUCKS FOR A PACK 😭

#

goddamn

#

I am flabbergasted

spare quartz
#

i wanna try a stupid engineering project in the future (GDDR6 on DDR4)

#

itll probably not work though,,,

lavish dove
#

are you gonna hold a DDR4 stick hostage until it goes up to GDDR6 speeds

spare quartz
#

nono like

#

GDDR6 modules, on a stick with a DDR4 controller

lavish dove
#

woa

#

wait how owuld taht even work

spare quartz
#

no clue!!

#

GDDR modules are pretty expensive though so

#

probably will only be a few gb of capacity (if anything)

lavish dove
#

oof

#

I wonder if you can make your own gpu

spare quartz
#

id probably die

lavish dove
#

I think theres a way to make your own cpu without having a few million to get those fancy tricking silicon into thinking machines

#

oh yeah you can make it like they did the old way

#

I dont know how you would even find info on that though

spare quartz
lavish dove
#

yeah but their size is measured in atoms

spare quartz
#

super simple ICs you can get for cheap

spare quartz
lavish dove
#

yeah I kinda forgot what I was talking about

#

whats an IC

spare quartz
#

integrated circuit

#

black things with metal pins on the sides

lavish dove
#

yeah those

#

isnt there a cheap way to make those

spare quartz
lavish dove
#

woah their cost is in cents

#

oh those are chips

spare quartz
lavish dove
#

woa

spare quartz
#

if i really wanted i could maybe like

#

sketch up a cpu design and ask a manufacturer to make ics out of it

#

but

  • i suck at electronics
  • that'd cost a lot of money i dont have
lavish dove
#

yeah thats what i was talking about with millions

spare quartz
#

it depends on the process as well

lavish dove
#

ik the machines are expensive and wont fit in your garage

spare quartz
#

10nm lithography is much harder than 600nm for example

lavish dove
lavish dove
#

isnt there a cheap lithography machine

spare quartz
lavish dove
#

that fits on a desk

spare quartz
#

it'd cost thousands though

lavish dove
#

aaw

spare quartz
#

the funny

lavish dove
#

big shiny disc is the best thing ever to show a investor

spare quartz
#

well its a lot prettier to show that than the boules

lavish dove
#

what the fuck are those

spare quartz
#

silicon boules

#

wafers are cut from them

#

they're very pure

lavish dove
#

o

lavish dove
#

at the end he says he just pointed a projector at a microscope without even jerry rigging it and it worked perfectly

spare quartz
#

serializer now virtually perfect

#

should probably make it less aggressive on stuff like booleans

spare quartz
#

good enough for science

#

there NOW its perfect...

#

but values should really be ref counted instead of immediately being stored in a variable....

#

Out of local registers when trying to allocate SK_CE_CameraEditor_Content_Colour_Value_TextButton_TextLabel: exceeded limit 200

#

well thats a new error!!

umbral monolith
proud creek
#

Fr

normal bison
umbral monolith
spare quartz
#

HELP

full berry
#

WHAT THE FUCK

#

is that

spare quartz
full berry
#

render them right then

spare quartz
full berry
spare quartz
normal bison
umbral monolith
normal bison
#

also ew programming chat

#

what is this wretched place

spare quartz
#

the only sane part of qs

normal bison
spare quartz
#

THERE

#

now its perfect

#

referenced counted and no longer fills up the local limit

#

now i just need to compress the actual locals...

#

should be as simple as a type generator

proud creek
young needle
#

urrgghhh gay people

proud creek
#

you

spare quartz
#

This is a no jokes channel. We will shoot you on the first sight of sillyness.

young needle
spare quartz
pastel tinsel
#

so true

proud creek
spare quartz
#

mrow

full berry
pastel tinsel
proud creek
young needle
pastel tinsel
proud creek
spare quartz
#

Influencers hate this one small trick to encrypted internet traffic on public WiFi

Quoting Robert Graham 𝕏 (@ErrataRob)

Hi.

Cybersecurity expert here. I'm tweeting this from a public Wi-Fi network without a VPN. I never use a VPN when using public Wi-Fi.

VPN company security claims are (mostly) scams. They sponsor a lot of podcasts to promo...

spare quartz
#

file system design

spare quartz
spare quartz
#

hmm

#

thats a horrible idea

#
#

add support for java in the serializer

#

how does my serializer already outperform codify??

spare quartz
#

im looking at reclass

#

and im beating myself over how simple it is

#

you're saying i could've been paid for making this??

spare quartz
#

I SAW THAT

timid quartz
#

HAWK TUAH TRANSFER PROTOCOL

spare quartz
#

i chuckled a bit its a terrible joke

timid quartz
spare quartz
#

steam tranferral complete!

timid quartz
#

Or arcane C code with #define macros that literally look like they came from a 15th century spell tome?

spare quartz
spare quartz
#

ill just leave it at that

timid quartz
# spare quartz C........

🎵
Program in C, program in C!
Pointers, assembly, manage your memory with malloc() and free()!
Don’t sink your app with runtime bloat.
Software in C will stay afloat!
Do what you want there, close to the hardware, program in C!
[instrumenta- SEGFAULT

spare quartz
#

replace that with General Protection Fault and you now have the version for embedded programmers

timid quartz
#

Dude

#

Ok

#

So

#

A few months ago I remembered I had an Arch partition and I wanted to try Sober out

#

However it kept crashing every time I opened it even after reinstalling multiple times

#

With a general protection fault

spare quartz
#

ugh. bleh. that thing

timid quartz
#

I commented on a similar open issue on their GH but it got closed after a few days

spare quartz
#

i wonder why it had a gpf?

timid quartz
#

And the only way I fixed it was by reinstalling arch entirely

spare quartz
#

???

timid quartz
#

Yep

spare quartz
#

was it just not playing nice with a system library or something?

timid quartz
#

I have absolutely no clue

spare quartz
#

honestly i dont really

#

"trusts" not the right word, but i just dislike sober from the way it immediately presents itself

#

its literally just like bluestacks with roblox installed it doesn't need to be this flashy and "closed source"

#

everywhere i go

#

i see its name

woven flicker
#

atleast when it comes to most linux junk

spare quartz
woven flicker
#

yea but

#

the nsa can eat my anus

#

anyway

spare quartz
#

the correct answer is "i trust the nsa" smh

woven flicker
#

vinegarhq
i could TEST sober but im not all that confident

#

i can rather easily reinstall arch cause i have separate home partition but

#

bleh

woven flicker
#

seems more like wine or some shit

spare quartz
#

it says right on its page its just an android emulator for roblox

woven flicker
#

it says its a runtime "bridging the gap between android and linux"

spare quartz
#

an emulator yes

woven flicker
#

fair
but aint bluestacks different

#

its a container

#

a vm

#

or wtv

#

not a specialized runtime

spare quartz
#

probably but im just pointing it out at a high level

#

not like theres a source to really know

woven flicker
#

well
do you think its worth testing?

spare quartz
#

?

woven flicker
#

you know what i said

spare quartz
#

whats worth testing

woven flicker
#

sober

spare quartz
#

well im not a linux or sober user so thats your choice

woven flicker
#

im a linux user
fuck it ima try

#

kind of annoying tho

#

considering im gonna have to install

#

flatpak

#

ew

spare quartz
#

flatpak is good

woven flicker
#

i dont like stuff like flatpak or snap

#

if you wanna do crap like that just give me an appimage

#

or whatever i dont even

#

remember

spare quartz
lavish dove
#

is there a android emulator that isnt 50 gigabytes to install

#

and works on linux

#

cant find anything

lavish dove
#

theres a av1 coder thing that uses opencl and it works on fucking everything

lavish dove
#

wtf violated rule 2

#

uhm how is a flatpak command violating rule 2

#

anyways why cant I jsut copy paste a flatpak command and ahve it downloaded

#

plsu the downloads are really fucking slow

#

and it wont finish any downloads if they fail, it will restart them.. and the sizes of them are in teh fucking gigabytes

lyric mesa
#

next time use the term "xyz"

lavish dove
#

ohh

lyric mesa
#

because our filter is weird

lavish dove
#

xxxtentacion

#

oh nice

#

i can say rapper names

lavish dove
lyric mesa
lavish dove
#

imitating roblox flter

#

fr

spare quartz
#

i love roblox

#

SIIIIIGH

woven flicker
#

@signin.aws.amazon.com

#

@spare quartz honest to god
sober is actually kinda good

#

its either running equal or BETTER to roblox on windows

#

with no stability issues so far

#

and thats with no optimization changes

spare quartz
#

afaik the android subset is more restricted than the desktop version due to.. it being made for mobile devices

#

so that sounds about right

woven flicker
#

its the exact same as desktop roblox

#

thats how it looks

#

feels

#

and acta

#

acts*

spare quartz
#

internally?

woven flicker
#

internally its probably the android build tricked to function like desktop

woven flicker
#

but it looks the exact same

#

and acts as it

#

i'd just say
its better

#

its just better

pastel tinsel
#

I thought Roblox blocked Linux

spare quartz
#

im gonna have to

#

break someones skull

timid quartz
pastel tinsel
#

then what does sober use

spare quartz
#

android

#

(from them, no source available)

timid quartz
#

@spare quartz didn’t know you worked on Arc browser

spare quartz
#

im not a fox 💀

pastel tinsel
spare quartz
#

rn im kinda wanting to kill someone because i just discovered a feature i never knew existed in roblox

spare quartz
timid quartz
spare quartz
#

okay look im blind

timid quartz
#

also

#

tried discord streaming on wayland with firefox

#

worked in regular vc, crashed in dms LOL

spare quartz
#

well you know what that means

#

make a discord client in rust for full control

timid quartz
spare quartz
#

naw

#

👍

timid quartz
#

👎

spare quartz
spare quartz
lavish dove
#

like cant they make x12 or something

timid quartz
#

wayland architecture is supposedly a lot better because it prevents stuff like any arbitrary x11 app being able to keylog you

#

and other stuff idk im not well versed

lavish dove
lavish dove
timid quartz
#

you also forget how slowly things move in regards to major software like this

#

Wayland started in '08

lavish dove
#

why cant they update x11 to x12?

#

lol

#

well why didnt they?

#

if x11 was flawed, I think the main thing was because of required 2D acceleration

#

why didnt they just make a new version that was better

#

especially if wayland is made up of people who used to be with xorg

timid quartz
#

im no freedesktop employee

lavish dove
#

lol

timid quartz
#

ask chat gpt

#

get some hallucinated ai bullshit that will answer your question idfk

lavish dove
#

wayland is made by the same guy who made x11

timid quartz
#

so then it's basically x12

lavish dove
#

yeah

#

they didnt change x11 because they "didnt have the power to"

#

cuz every computer used it it was too difficult to just update

lavish dove
#

which is kinda weird but ok

proud creek
pastel tinsel
#

lmao

pastel tinsel
spare quartz
lavish dove
#

W

full berry
lavish dove
#

why tf is making a android app so fucking complex

#

my fucking hello world makefile is 60 lines

#

and theres like 8 gigabytes of bloat

#

atleast the final apk is pretty small

#

it wont let me add any files to the apk though because theyre "duplicates"???? I kid you not its going
./assets/test.txt is a duplicate of
./assets/test.txt (original)
AAPT. They arent duplicates theyre the same fucking file you fucking 8 gigabyte bloat dumbass

#

I ended up copying some guys example then rewriting the entire fucking makefile because he used some weird linker and ahd a weird version of clang

#

LMAO IT CRASHED VSCODE NAWW

#

apparently if you click sync changes after downloading 8 gigabytes of bloat vscode crashes

#

and apparently github reatelimits you to 2 megabytes a second

proud creek
#

use like android studio or something 😭 😭

full berry
#

isnt android made in like java

proud creek
#

I think it’s kotlin now

full berry
#

interesting

lavish dove
#

I literally dont ahve a drive big enough to hold that thing 😭

proud creek
#

Lmfaooo

spare quartz
#

@full berry

#

is this true

timid quartz
spare quartz
#

vsc is TOLERABLE

#

its not super smart and sometimes the language server just doesnt want to live anymore (but i think thats more an adacore thing)

#

ts is just the pits of hell though

full berry
timid quartz
#

yeah ts isn't great

#

if I had to use it then it wouldn't be as bad as having to use python

#

but given a choice i'd choose smth different

#

vsc is just ehhh electron bloat

#

ig it works most of the time and is easy to set up but like

#

mmm

spare quartz
#

if adacore still developed GPS id still use that

full berry
#

intellij >>>

spare quartz
#

unfortunately the only version i can access is from 2013 and the modern versions are behind massive paywalls

spare quartz
timid quartz
#

if I'm developing a website I'd rather use TS because JS (and TS by extension) are web native

#

wasm is just too immature

spare quartz
#

okay but

#

if wasm WAS mature

#

would you

timid quartz
#

mmmaybe

#

TS is still more web native

#

I'd have to try wasm

spare quartz
#

im gonna be honest i have no idea how wasm actually works

#

but if its anything like the real asm it must be somewhat good

timid quartz
#

I don't think one writes wasm directly

#

but

spare quartz
timid quartz
#

also wasm seems less useful for making interactive websites and more useful for making web apps that need better native performance

#

eg if you make davinci resolve in a web browser

#

you'd choose wasm because of the performance

#

and probably still keep the interface in JS

#

you'd use wasm for all of the graphics processing work intensive stuff

spare quartz
#

an app is just an interactive format in a different format, no?

#

ood

#

GOd

#

interactive WEBSITE

#

i just woke up sorry

timid quartz
#

you'd use wasm for all of the graphics processing work intensive stuff

#

the stuff that JS would choke on

spare quartz
#

okay so basically the native keyword in java

timid quartz
#

yeah prob

spare quartz
#

... still ... you could just do away with the middleman, can't you?

timid quartz
#

well it's a lot easier to make 1 web app that runs on like just chrome

#

rather than make at least a windows and a mac app

spare quartz
#

we should bring back java applets

timid quartz
spare quartz
#

hey they furthered the internet along by a ton

timid quartz
#

go back to the 1990s they want their tech back

spare quartz
#

though SecurityManager kinda sucked balls...

timid quartz
#

java sucks balls sometimes

spare quartz
#

no...

#

okay well

#

the language might

#

but not the JVM i lov eit

timid quartz
#

dotnet runtime >>

spare quartz
#

scripting docs :<

timid quartz
#

c# >>

spare quartz
#

take your .NET and go away

#

actually that just made me think

#

if i do make a JVM in ada... how do i do garbage collection??

timid quartz
#

cry

spare quartz
#

i wonder if the basic memory allocators could handle it

#

(but ive never made an ada app over like, 6 mb of memory)

spare quartz
#

or like that RAII thing

#

(which iirc is just cleaning up after leaving a scope)

timid quartz
#

pretty sure C# is gc

spare quartz
#

RAII is associated most prominently with C++, where it originated, but also Ada,[3] Vala,[4] and Rust.[5]

#

cool

timid quartz
#

Rust's design really encourages RAII I think

timid quartz
spare quartz
#

cat language runtime

timid quartz
#

smth like that

#

that's why you should use it

spare quartz
timid quartz
#

yeah

spare quartz
#

i like the way ada does it, but i get a lot more scopes as a result

spare quartz
#

but at that point iid just use kotlin

#

and maybe kotlin/native if thats stable enough

timid quartz
#

or you could just use .net

spare quartz
#

im trying to find a picture of a function in C# with like

#

10 modifiers/prefixes/whatever is the name for those things

timid quartz
#

?

#

like

#

public, static, ...?

spare quartz
#

yes

#

what else could be a prefix

#

oh my god downloading imageso n this internet is a pain

spare quartz
#

i rest my case

timid quartz
#

can you do operator overloading

spare quartz
#

where

timid quartz
#

java

#

can u do LINQ

spare quartz
#

uhhhhhhhhhhhh

#

uhhhhhhhhhhhhh

#

well in kotlin yes but java. ...

#

i say unfair constraints

#

LINQ extends the language by the addition of query expressions, which are akin to SQL statements, and can be used to conveniently extract and process data from arrays, enumerable classes, XML documents, relational databases, and third-party data sources.

#

this sounds like peak microsoft but

#

i dont. know what it means

timid quartz
# spare quartz i dont. know what it means
using System;
using System.Collections.Generic;
using System.Linq;

public class Person
{
    public string Name { get; set; }
    public int Age { get; set; }
}

public class Program
{
    public static void Main()
    {
        // Create a list of Person objects
        List<Person> people = new List<Person>
        {
            new Person { Name = "Alice", Age = 30 },
            new Person { Name = "Bob", Age = 25 },
            new Person { Name = "Charlie", Age = 35 },
            new Person { Name = "David", Age = 28 }
        };

        // Use LINQ to filter and sort the list
        var filteredAndSortedPeople = from person in people
                                      where person.Age > 27
                                      orderby person.Name
                                      select person;

        // Display the results
        foreach (var person in filteredAndSortedPeople)
        {
            Console.WriteLine($"{person.Name}, Age: {person.Age}");
        }
    }
}
#

idk I just like C# better than Java

#

it feels better

#

more well designed

#

but that's entirely subjective

#

and in the end they're both pretty similar

spare quartz
#

very kotlin like (everything else) though

#

filteredAndSortedPeople is very easy to do in kotlin aswell, just not in that sql format

timid quartz
spare quartz
#

people.filter { it.age > 27 }.sort() for kotlin

timid quartz
#

it

spare quartz
#

default receiver!!

timid quartz
#

ok in C#

#

without LINQ

#

this becomes uh

spare quartz
timid quartz
#

person.Where(p => p.Age > 27).OrderBy(p => p.Name)

#

smth like that

spare quartz
timid quartz
#

did I ever say how much I love sql

spare quartz
#

no because you dont

timid quartz
#

no I really do though

spare quartz
#

🤨

timid quartz
#

I've been doing so many things in software that I could have just done in SQL

#

for example for qdf, getting how many hours someone has patrolled this month

spare quartz
#

oh for THAT

#

for sure

timid quartz
#
select 
  Operative.roblox_username as 'Name', 
  sum(timestampdiff(HOUR, Patrol.start_time, Patrol.end_time)) as `Total Time` from Patrol
inner join Operative on Operative.id = Patrol.operative_id
where Patrol.start_time >= '2024/09/01'
group by Operative.roblox_username
order by `Total Time` DESC;
spare quartz
#

jeez thats a big function

#

or command or statement

timid quartz
#

statement

spare quartz
#

do you manually run statements

#

or prepare them

timid quartz
#

I should be preparing statements like this but

#

idk the orm that the bot uses may prepare them

spare quartz
#

bleh :<

#

someone should make their roblox username a sql injection

timid quartz
#

tell that to my orm

#

which sanitizes inputs

spare quartz
#

"sanitizes inputs"
"idk if it prepares statements"

timid quartz
#

bro I barely know what a prepared statement is

#

because I never use them myself

spare quartz
#

USE THEMMM

#

im not even a sql expert and they're awesome

timid quartz
#

WHYY

#

I don't have a set of statements that I'm constantly running myself

spare quartz
#

instead of typing out that whole thing and introducing holes in your statement... you can just use it like a function!!

timid quartz
#

why would I need to prepare them

#

here

#

if you switch to C#

#

I will use prepared statements

spare quartz
#

im only loyal to really ada and lua rn ...

#

what should i write in c# to make you do that

timid quartz
#

hmm

#

whenever you reach for java or kotlin

#

use C#

spare quartz
#

any project in specific

timid quartz
#

all of them in general

spare quartz
#

because the kotlin project i work on rn cant use C# (minecraft mod)

timid quartz
#

yeah except for cases where you're restricted like that

spare quartz
#

ummmmm,,

#

not sure what i really will use kotlin for that i wont just use ada for

timid quartz
#

guess I won't be using prepared statements then

#

though

spare quartz
#

NO

timid quartz
#

I will advocate for using transactions

spare quartz
#

okay fine ill like write a DNS server in C#

#

okay..

timid quartz
#

fine...

#

dns server sounds ok

#

though it's fairly simple

#

add security into it too

#

dnssec

spare quartz
#

all i really need is TLS for DNS iirc

#

oh .

#

right .

timid quartz
#

dns runs over udp anyways nerd

spare quartz
#

okay no theres like

#

dns over like

#

i forgot im not smart

timid quartz
#

ok there's dns over https

#

but that's stupid

#

classic dns over udp with dnssec

spare quartz
#

okay this is from cloudflare and i hate them but

#

see

#

TLS

#

itll take me a bit to even get started on this though

#

i still have 3 things i need to finish