#💽Programming Chat v2
1 messages · Page 9 of 1
i think they still count to grade though
ur failing
im gonna be so honest im happy with a 70%
your gpa will not be happy with a 70
im not getting a job after school 💀
job market L
military w
holy shit military w
oh okay maybe i should read the article on this one
i only know these terms cause of learning ada 😭
network operating system but I dont think thats how y ou use the word
time sharing would be single core and real time
yeah thats what I thought
like I see the mistakes from before so I think "bruh they mistook network boot 💀 "
this one looks like its actually well substantiated so im not gonna assume that rn
ill just skip until i get a definition
it lumps multitasking in there so i think thats just most oses
huh
lmao
theres a central unix server for all us airlines and if you login to it with ssh you can get flight info
and even pay for flights
oh yeah ive heard about that
very robust system
yea
ssh has x forwarding
even the ssh in windows can x forward
aggh they didnt mention ada for RTOS :<
oof
oh neat
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
i prefer xrdp honestly
I tried to setup a rdp server too but it would also crash 😭
did you get a log of why??
no the thing didnt make any logs
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
uh oh
oh dear god
huh
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
lol
what a weird definition of hardware
its not wrong with the first half
but an http request doesnt really exist that low...
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
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
hardware does a beep boop
@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
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
ok but my homework is not about which one is better
oh my godddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd
do ALL cs teachers suck
who
yeah I only hear bad things about cs teachers 😭
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
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
idk java so it looks ugly with or without improvements
lol
the leaderboard is so goofy
it needs a revamp
i do NOT need tbe creating a folder and putting random values in it
fr
that took an hour
😭
🚨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
Omg what will we do
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))));
}
}
@snow oak get over here
hi
hi
Fr
Did you even change anything
perl is cool imo
the curly braces
perl is interesting
I've used it for extracting images from markdown to make it easier to transfer from Microsoft office to a custom solution
@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
what
you're still working on that?? how much free time do you have
zero
🤨
i still have about 110 things to finish before i can consider myself free
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
automated browsers are a bitch
know from personal experience
there's also selenium
thats what im looking at
theres the double punch of it being a goverment website too
are you coding it in rust still
yes
interestingg
why
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))
sir any protocol can be coded on anything
GENERALLY its c
sql 
well sql is not really a programming language
honestly rn i wanna kms
why bro
wjat
the ffmpeg in question
nonexistent on roblox
the atp in question doing really stupid shit and then being frustrated
only reason i really do roblox anymore is cause its so much more convenient to test a theory/code something and run it fast
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
i thought it was supposed to deliver medical supplies very quickly..?
maybe i can do that in ada
unfortunately im not rich and dont have hardware to do any form of cv right now
the government financing in question
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
go work
good fucking luck with that
i already have a seller
wait atp when are you enlisting 👁️
nnnnnnooo
yes.
like 2 years from now if i dont get a degree first
atp you will be suicided by your government
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
the clueless

just waiting for it
atp did you see the CIA's new post about how to securely contact them over the tor network
as long as i dont cure cancer
they send those every year yes
what you're doing is enough
the enemy government in question wanting to recruit engineers
?
so do i bro ..
give me a SEcond
blehhh
good enough to make algos for missiles
also why
why what
why do you want them
i like to toy around with random things
such as
your mom
are you planning to send false reports or something
then no
im jokinggg
fdvujkgvf
no
why smh
gah okay
what is that
click it
what is it.
ok what am i looking at,,
nothing!
wjah
do you want the certs for the site :3
WHAT even is this site,,
is that doors
dors logo
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...
bro what are you doing
what
why do you need the cia for a logarithmic function
shur
why so serious
DREAM
man I didn't know that onion links were written in croatian @full berry
is your interpretation of the croatian language still 50% english + smashing the keyboard
get a NEW joke
nya
mofu mofu
ITS JUST ONE IMAGE
idsfjngfdgd
i bought it almost 5 years ago
i was totally expecting that honestyl
another japanese song invaded my feed
unfortunately its good
the algo knows you too well
Guessing this new song also involves fluffy furries
Send it to me in dms @spare quartz
I want to do the av1 codec
I wonder how difficult av1 is
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
raw would be too large for any usecase I would try
if an old anime compressed is 20 megabytes... I cannot even imagine how bad a raw video would be...
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!
lol
I wonder if my old computer could even read uncompressed video that fast
that drive was slow asf
lemme put in some numbers
it'd need to read at a pace of 14.03136 mbyte/s for this test sample
(excluding audio)
audio wouldnt be alot anyways
but 14 megabytes would probably use alot of that old drive
if thats uncompressed too it'd probably be pretty bad..
reencoding compressed audio to be raw aswell would kinda just be rubbing it in tho
I mean .wav from hatsune miku wasnt really that bad
it was mono tho
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
o
roblox workarounds™️
hoping in the future they expand the whole Wire system they got going on for custom audio
nono im hoping they add it
yeah
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
i made a desktop viewer like that
i tried delaying the stream a bit to fully show at 60 fps
never got it to work though
oof
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
8 requests per second is your limit
I didnt hit a limit on requests per second
just requests per minute
it let me get every frame at the same time
8 req/s was extrapolated from that limit
you hit the 500 limit in 25 seconds
ah shit
you should send a request every 1/8 of a second to remain stable
(you may need to send multiple frames in a single request as a result)
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
yup 👍
nobody said streaming was easy
on the good side if you ever need to make twitch 2 you can
its in .av1
I dont have nitro so I had to use av1 to upload it
ohhh
I wonder if you can download the entire episode lmao
how much ram does roblox give you
or well whats the largest a table of buffers can be
"infinite" but a server will shut down at a certain point
max sane is about 4-6 gb iirc
script wise yeah its a ton
thats actually an insane ammount when a few hundred thousand of those are running at the same time
and probably millions when adoptme updates
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
oof
though uh
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
there is a sorta implicit limit of memory in lua
I dont think so
because of how "slow" it is, you hit a throughput limit
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!!)
lol
Supposedly it gives you more for each player in the server
oh
the 500hz test tone on studio was playing this entire time
just muted cause it was out of focus
what
who tf is brad linder and why are you trusting him
the largest is 512 gigabytes. And you can only get that if you buy in bulk for a business
and
Ideal for Android smartphones and tablets, Chromebooks, and Windows laptops, the SanDisk Ultra microSD UHS-I card gives you the freedom to store more than ever. With capacities up to 1.5TB, it has room for hours of TV shows, movies, and Full HD video, plus documents, games, photos, and podcasts. ...
1 tb has existed for a "while" now
no way
we're starting to see 1.5 tb
👀
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
512 byte maybe
512 GB
wait I can prot my renderer thing to a bootsector I just realized that
WOAH WHAT THE FUCK 512 GIGABYTE IS 32 BUCK!s?!??!
yeah 💀
THATS LARGER THAN MY FUCKING SSD
32 GB (pack of 2/4) are dirt cheap too
FOR A PACK OF THEM!??!
its just lacking in R/W speed (but not by much to be honest)
i wanna try a stupid engineering project in the future (GDDR6 on DDR4)
itll probably not work though,,,
wat
are you gonna hold a DDR4 stick hostage until it goes up to GDDR6 speeds
no clue!!
GDDR modules are pretty expensive though so
probably will only be a few gb of capacity (if anything)
id probably die
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
it is just decoders and some registers iirc
yeah but their size is measured in atoms
super simple ICs you can get for cheap
oh those are a totally different class of semiconductors honestly
they're manufactured in the same way as CPUs, just a lot more cheaper because you can put a lot on a single wafer
woa
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
yeah thats what i was talking about with millions
it depends on the process as well
ik the machines are expensive and wont fit in your garage
10nm lithography is much harder than 600nm for example
wartyuiop-=
yes the lithography thing
isnt there a cheap lithography machine
a silicon wafer machine would be a DREAM to have
that fits on a desk
it'd cost thousands though
aaw
yeah those are in all the advertisements
big shiny disc is the best thing ever to show a investor
well its a lot prettier to show that than the boules
what the fuck are those
o
woah this guy took a projector jerry rigged it then glued it onto a microscope and he started lithography
at the end he says he just pointed a projector at a microscope without even jerry rigging it and it worked perfectly
serializer now virtually perfect
should probably make it less aggressive on stuff like booleans
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!!
@normal bison reveal
Fr
am not a stink yeen
yeah right
i rendered the uvs wrong 😭
render them right then
where’s your proof
i dont need it :3
the only sane part of qs
then your claim is invalid
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

urrgghhh gay people
you
This is a no jokes channel. We will shoot you on the first sight of sillyness.
so true
mrow

Lmfao
I cannot
I’m sorry to say you might be blind 😔
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...
file system design
Rust is the easiest language to start using someone else’s code in is a perspective I hadn’t really heard articulated before that I really like
Quoting Zac Harrold (@bushrat011899)
@Lucretiel Yeah for real. Rustdoc for library documentation l, Clippy for "tricks", rustfmt for style guide, rustc for correctness, and examples/ for quick start...
hmm
thats a horrible idea
Codify converts Roblox Instances into code snippets in a flash. Whether you use vanilla Roblox Luau, TypeScript JSX, or a framework like React (react-lua)/Roact, Fusion, Vide or Rojo, Codify’s got you covered! Codify supports all Instances available in Studio. This means you can generate code snippets for anything from GUI to models. Codify i...
add support for java in the serializer
what
how does my serializer already outperform codify??
im looking at reclass
and im beating myself over how simple it is
you're saying i could've been paid for making this??
i think im gonna throw up
I SAW THAT
HAWK TUAH TRANSFER PROTOCOL
i chuckled a bit its a terrible joke
But don’t you love reading through poorly documented and poorly written Java code
steam tranferral complete!
Or arcane C code with #define macros that literally look like they came from a 15th century spell tome?
java code is moderately easy to understand just by looking at it
C........
ill just leave it at that
🎵
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
replace that with General Protection Fault and you now have the version for embedded programmers
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
ugh. bleh. that thing
I commented on a similar open issue on their GH but it got closed after a few days
i wonder why it had a gpf?
And the only way I fixed it was by reinstalling arch entirely
???
Yep
was it just not playing nice with a system library or something?
I have absolutely no clue
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
i dont trust it if its closed source...
atleast when it comes to most linux junk
the nsa backdoor in your cpu:
the correct answer is "i trust the nsa" smh
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
i dont think its like bluestacks
seems more like wine or some shit
it says right on its page its just an android emulator for roblox
it says its a runtime "bridging the gap between android and linux"
an emulator yes
fair
but aint bluestacks different
its a container
a vm
or wtv
not a specialized runtime
probably but im just pointing it out at a high level
not like theres a source to really know
well
do you think its worth testing?
?
you know what i said
whats worth testing
sober
well im not a linux or sober user so thats your choice
im a linux user
fuck it ima try
kind of annoying tho
considering im gonna have to install
flatpak
ew
flatpak is good
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
embedded programmers managing memory by using parts fo it when they need it because they are too lazy to implement malloc and free
is there a android emulator that isnt 50 gigabytes to install
and works on linux
cant find anything
what a bunch of bullshit
theres a av1 coder thing that uses opencl and it works on fucking everything
why cant I copy paste something and just have it installed for flatpak
like bruh
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
ok so
next time use the term "xyz"
ohh
because our filter is weird
discord filter turning into roblox filter
it's a filter we made 😭
whar
@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
afaik the android subset is more restricted than the desktop version due to.. it being made for mobile devices
so that sounds about right
its the exact same as desktop roblox
thats how it looks
feels
and acta
acts*
internally?
internally its probably the android build tricked to function like desktop
so yeah
but it looks the exact same
and acts as it
i'd just say
its better
its just better
They blocked Wine
then what does sober use
@spare quartz didn’t know you worked on Arc browser
im not a fox 💀
bruh?
rn im kinda wanting to kill someone because i just discovered a feature i never knew existed in roblox
WAIT WHY IS MY NAME THERE
That's why I said "I didn't know you worked on Arc browser"
okay look im blind
also
tried discord streaming on wayland with firefox
worked in regular vc, crashed in dms 
but that breaks TOS and will get you banned!!!!
👎
why do they haved to make a whole new thing
like cant they make x12 or something
idk something about x11 sucking really bad and just being old and designed bad
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
well if it was designed bad it would be replaced by now
well I mean it works the same way in windows
......wayland
you also forget how slowly things move in regards to major software like this
Wayland started in '08
goddamn
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
idk fuckin google it
im no freedesktop employee
lol
I just looked it up
wayland is made by the same guy who made x11
so then it's basically x12
yeah
they didnt change x11 because they "didnt have the power to"
cuz every computer used it it was too difficult to just update
which is kinda weird but ok
@pastel tinsel linux massgrave!!
lmao
L no more stupid jet brains
where debian
hidden fourth option
W
ur stupid + i renewed my license :3
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
use like android studio or something 😭 😭
isnt android made in like java
I think it’s kotlin now
interesting
thats literally like 50 gigabtyes fo bloat
I literally dont ahve a drive big enough to hold that thing 😭
Lmfaooo
windows 👍
TS 
vsc 👎
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
NO
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
if adacore still developed GPS id still use that
intellij >>>
unfortunately the only version i can access is from 2013 and the modern versions are behind massive paywalls
rust to wasm .......... ?
no that's worse
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
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
same with ASM, honestly
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
an app is just an interactive format in a different format, no?
ood
GOd
interactive WEBSITE
i just woke up sorry
you'd use wasm for all of the graphics processing work intensive stuff
the stuff that JS would choke on
okay so basically the native keyword in java
yeah prob
... still ... you could just do away with the middleman, can't you?
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
we should bring back java applets

hey they furthered the internet along by a ton
go back to the 1990s they want their tech back
though SecurityManager kinda sucked balls...
java sucks balls sometimes
dotnet runtime >>
scripting docs :<
c# >>
abstract computing machines on top
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??
cry
i wonder if the basic memory allocators could handle it
(but ive never made an ada app over like, 6 mb of memory)
isnt C# garbage collected?
or like that RAII thing
(which iirc is just cleaning up after leaving a scope)
pretty sure C# is gc
wait C++ is RAII
RAII is associated most prominently with C++, where it originated, but also Ada,[3] Vala,[4] and Rust.[5]
cool
Rust's design really encourages RAII I think
the CLR was made to be language-agnostic and supports closures, coroutines, and pointer manipluation :3
what is a clr ...
cat language runtime
what because of the whole borrowing logic?
yeah
i like the way ada does it, but i get a lot more scopes as a result
mmmmmmmmmmmmm maybe ...
but at that point iid just use kotlin
and maybe kotlin/native if thats stable enough
or you could just use .net
im trying to find a picture of a function in C# with like
10 modifiers/prefixes/whatever is the name for those things
yes
what else could be a prefix
oh my god downloading imageso n this internet is a pain
can you do operator overloading
where
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
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
oh that is WEIRD
very kotlin like (everything else) though
filteredAndSortedPeople is very easy to do in kotlin aswell, just not in that sql format
yeah the alternative is like person.filter(p => p.Age > 27).sort() or whatever
people.filter { it.age > 27 }.sort() for kotlin
it
default receiver!!
not that bad...
I've made a fully automatic, heat-seeking nerf sentry turret to defend my poor meatballs from being ravaged. Will the turret succeed in driving away from the freezer which it defends? Or will an eighth inch thick piece of see-through material spell its doom?
There were so many bugs in this stupid project its crazy. Turns out its actually kinda ...
did I ever say how much I love sql
no because you dont
no I really do though
🤨
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
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;
statement
I should be preparing statements like this but
idk the orm that the bot uses may prepare them
"sanitizes inputs"
"idk if it prepares statements"
instead of typing out that whole thing and introducing holes in your statement... you can just use it like a function!!
why would I need to prepare them
here
if you switch to C#
I will use prepared statements
im only loyal to really ada and lua rn ...
what should i write in c# to make you do that
any project in specific
all of them in general
because the kotlin project i work on rn cant use C# (minecraft mod)
yeah except for cases where you're restricted like that
NO
I will advocate for using transactions
fine...
dns server sounds ok
though it's fairly simple
add security into it too
dnssec
dns runs over udp anyways nerd

