#💽Programming Chat v2
1 messages · Page 3 of 1
Why are you
@jolly lake do you use linux
yes
Your definitely both
im astro
Ur a dumbass because that wasn’t the question!!!
WOW reporting
i guess its just too much to ask roblox to give me access to the devfourms..
womp womp
you must read for 26 hours per week
this is the 2kth message
doubt
per day*

you just need to read a bit
like i got it by reading the devforum for my programming issues and stuff
how do you not go insane
how do you use your desktop for normal activities
ie gaming
why would you ever do that to yourself
I USUALLY dual boot
But my computer i dual boot with is broken right now
It’s getting repaired though
Mint cinnamon
interesting
In onther news
discord.js try not to break everything in a single update
you now need to cast channels as GuildChannel s otherwise it shits itself
Did you change major versions
Eg 14.x -> 15.x
From?
let me check git 1 sec
from 14.15.3 to 14.16.1
Huh weird
its a really simple
I suppose that’s not a giant breaking change but still
Lmao when I upgraded my IDE didn't throw any errors so I ran the code through the TS compiler and that threw the 6 that i've shown above
but ig that's every djs update like ever now (idk how it's not a meme yet)
Fr
of course YOU send THAT
furry chat 3
Says you
bro i hate it when
intellij just randomly reorders my dependencies like this
like before it was all in one line now it turned to this wtf
@spare quartz is there a setting to fix this (you're like the only intellij user i know)
is it possible to script a part that rotates on a tool without rotating the whole tool or the player
ive been unsuccessful so far
With physics or with tweens?
i tried with what i think was physics
i dunno how to use tweens
tweens should be simpler than physics
Cause physics you'd need some kind of joint to rotate it around iirc
and apply a velocity
tweens would look something like uh
local TweenService = game:GetService("TweenService")
local Part = script.Parent.whereverThePartIs
local TweenInfo = TweenInfo.new(
2, -- Time
Enum.EasingStyle.Linear, -- EasingStyle
Enum.EasingDirection.Out, -- EasingDirection
0, -- RepeatCount (when less than zero the tween will loop indefinitely)
false, -- Reverses (tween will reverse once reaching it's goal)
0 -- DelayTime
)
local Tween = TweenService:Create(Part, TweenInfo, { CFrame = Part.CFrame * CFrame.angles(0, 180, 0))
Tween:Play()
Something like that
oh i didnt know about this
so should this rotate the part then without spinning the whole tool?
It's important that you understand what the code that Aera provided does.
Obviously, you're the boss so you can do things as you wish, but generally you should probably understand the code that you put into your game, so that if you want to change things around in the future, you can do so without asking people in some goofy programming chat;
https://create.roblox.com/docs/reference/engine/datatypes/Vector3
Also, google is your best friend
simply dont use intellij
i feel like we need a derogatory word for this kind of dev
Quoting Leon Si (@leonsilicon)
good developers only use a terminal
i've really burned my time
i gotta make this mail server and client in 11 days
ialready did all the gui just need the code
why
?
why do you need to make it in 11 days lol
because
i wanna do this but it doesnt accept gmail.... so im making my own server..
of course thats the first option you thought of
what..
making ur own server...
mrow
😭
It gets crazier down the page
HOLD UP
EXCUSE ME
WHAT THE HELL IS RULE 63
MHM RIGHT
IDK MAN
THE DEFINITION OF THAT WORD IS SOMETHING COMPLETELY DIFFERENT...
SEARCH IT UP BRO
wh
dawg idk my browser does NOT give me that definition as the first pop up
arc
Bruh
the original thing was related to programming...
no one caresessss
SHUR UP
its entertaining to watch a boomer talk about tech (and it actually makes sense)
SERVER AUTHORITATIVE
this is big
i only understood 50% of what he said about it
can you like
explain 🙏🏽
ROBLOX OPEN SOURCING SOMETHING???? impossible
Astro happened
of fucking course 
ASTRO WHAT THE FUCK
kotlin 
nya-nya-nya-nya-nya-nya-nya-nya
pub fn destroy_atp(atp: AtpStorages) {
std::mem::drop(atp);
}
blehhh
i also read about uh
generic... associated types?
i think thats what they're called
they look cool
yeah its a rust rfc thing
i dont know too much about it cause
the terms used are all .. alien
but apparently it can really speed up your code and not have to use as many unsized types
(whatever "unsized" means)
probably types whose sizes aren't known at compile time
lil screenie of what I'm currently working on
@pallid loom .....................
im using a mobile hotspot and i (for some reason) can't access my cdn
any other subdomains are fine and work but wtf
im calling their support number im gonna scream at them
.xyz
invest in a .gitignore
ew Croatia
Because xyz is not a main top level
@spare quartz how do I get the government to hire me for SWE
At this point it may only take an entity as desperate as the govt if I wanna get a job
the cs job market 😭
idk if im not understanding you or if its the other way around but
i can go onto any other subdomain (gitlab, guardsman, apex, gitea, you name it) and it will not trigger
they just dont like ur name fr
Military!!!
Or just look at your federal job listings
There’s bound to be cyber somewhere
alright
awake now
heres clearance jobs if you wanna look through
.... .... you will need a clearance
?
a.. security clearance..?
im not too certain about that
i know some you have to have an SSBI/polygraph
but generally the company you work at will pay for you to have a clearance
yes
ah nice
-- newer link: https://clearedjobs.net/security-clearance-faqs
i'll give it a read ty
only for US citizens tho
non-US citizens can't get clearance iirc
EDIT: I swear I smell fine.
guh whatt
i was mega obsessed with joining the military like a year or two ago i think you can you just cant ts/sci
but thats if you get citizenship (naturalization or other methods)
but take it with a grain of salt because i could very well be wrong
heres the ultimate guide for it
sci will be given if your job requires it
Like a mouse.
Quoting PC Gamer (@pcgamer)
Seriously, how the hell do you aim with a controller? https://trib.al/Hqv1NqL
this is cool..
I mean you can join your OWN country’s military
I’m sure they have clearances too
bro hell naw
our president called his secretary of exernal affairs a "trojan horse on four wheels"
i dont even know
what he meant by that
also
america is like the land of the gays so
bro i saw a femboy the other day in my town (11k people)
💀 💀 💀
THIS GUY HAD A BEARD AND ALL
literally sterotypical CS major
bro if call of duty had this option I would be so happy
lmao I thought your work just requested it and the fbi did the investigating themselves
since they ask for all that themselves I wonder if you could fabricate everything (like even get teachers on your payroll and stuff)
yeah they even ask for everything indvidiually, you could just put people who live there on your payroll then request and wait
would be difficult but way less difficult than spoofing a fuckin manual search where the fbi finds evreything about you themselves
on SF 86
well I never said creating a innacurate or false statement, I said paying off the people who will vouch for you to the fbi to only say good t hings
do you understand what im saying 😭
its not lying about records, im putting the correct records but giving them money to put in a good word for me
that doesnt fit under bribery I dont think, or false statements
well lets imagine you had bad records, right?
would those paid people be told not to tell them about it?
mhm
thats lying by omission
shit it is
i mean hey as long as you dont work for the fsb
or would like, sell meth in a department
i think you'd pass anyways
well theres different levels
and I dont tihnk alot of department entry jobs even get a security clearence
its just a matter of if you really need it
like we saw with that ANG kid a while ago you dont need to be a senior in your field to have one
whos the ang kid 😭
air national guard kid who leaked those war plans to thug shaker central
LOL
well he was in the cyber intel division iirc
the national guard can still work with the active service
the job or the plans
national guard getting the plans
maybeeee..?
he probably got assigned to something adjacent to managing such plans
went on SIPRNet and just
searched for them for fun
loll
the highest national security thing i've seen is ic scc on niprnet so like, i wouldnt be able to tell the whole story
but thats my assumption
bro woke up one day and said "naw im gonna leak war plans"
yeah
there was a doctor in the military who did something similar, except it was about browsing for joe bidens medical records or something
isnt there some clause in the constitution that lets him release information that should be public
i wouldnt know anything about the constitution...
oh wow junior enlisted 🤣
do you mean like, FOIA (freedom of information act)?
cause that has to be requested by some other party (and those are medical records! you can't foia pii...)
well I gotta research it more to tell you
well not for the president it isnt
everythings public when they decide to run
i mean yeah they are in the spotlight
they released obama's birth certificate when people were asking if he was even born in the usa
but if he had like, stage 9 cancer, i dont think that'd just be freely available
it should be
maybe it is; i'm sorta just spit balling here
I forgot
oh its when you do something really odd that should have gotten you banned but you didnt get banned cuz
I think
spitballing again
any of the 3 admins watching pls rsespond
"birthday spamnt role"
oh I got it for spamming someone after their birthday ended like a fucking dumbass
oh 😭
so im right lmao
x86 is the fucking best
intel is just a piece of shit
and intels gonna go under anyways so maybe we will get more x86 competition
i think all isas are great its just
lotta people linking stuff like "risc v" to good cause its adjacent to linux and nerdy stuff
but x86 bad....
QSO BAD
SHITTING MYSELF NOW 🚨
woah
PUTTING ON THE TINFOIL HAT
yes
@spare quartz I love SQL ❤️
I learned about aggregation functions and GROUP BY HAVING
❤️❤️❤️❤️❤️
sql is the fucking best
until you give yourself an sql injection
i love sql injections!!
🫡
do not try being smart with queries.. again..
well this doesn't involve anything that could modify the db
select
concat(employee.fname, ' ', employee.lname) as 'Name',
sum(timestampdiff(HOUR, shift.start_time, shift.end_time))
as `Total Shift Time`
from shift
inner join employee on employee.tax_id = shift.employee_id
where
shift.start_time >= '2024/08/01'
and shift.start_time <= '2024/08/31'
group by `Name`
order by `Total Time` DESC;
Oh I see, what's the use case here though (or did you just thorw in some random values)
if you had like a database of employees and the shifts they work
The select from is pretty obvious I think
As well as the inner join if you've ever worked with joins
inner join is the middle
you get the intersection of two tables where some condition is true
the where is obvious too I think
eh kinda
you're taking two tables and mashing them together based on some condition
group by basically tells SQL to group everything by some attribute (Name in this case)
concat adds things together right
So like if you have employee with a name "Astro Weston" and he worked like 50 shifts in that date range, the result for him will all be in one row
strings yes
oh i see
and then group by and order by is just
This is one row
So it summed all of the minutes I patrolled
and put it in one row with my name
oh that's neat
order by just defines an order
the order by clause in that query will put the person with the highest amount of hours worked first
you can do all of this with any orm or query builder, especially if it allows you to write raw sql
yep figures
i mean raw sql is 😬
well its okay if you dont have any input or if you have pre-selected input
Well if you use your library right it'll still sanitize inputs
thats true yeah
We love PreparedStatements
judging by the font and design im gonna take a wild guess at saying that that's datagrip
We love the Oracle Database Connection
Aren’t you Croatian?
sql is so good bro
Honestly… I’m surprised people still have OR 1=1 being their bane today
huh what
OR 1=1
Yknow? When sending SQL commands directly from user input?
<command> <user escape> OR 1=1
OH loool
Yes
ic ic
OR 1=1 is… always true, so instead of a Normal operation like getting a user entry you just get everyone
Jskelrog I should really sleep
you should
oh bruh i need to apply for physicist
bleh i cba im too busy with school
the last time I tried to be smart with a DELETE query I ran into something like this
and yaeh
that was fun
thank goodness for backups 
what happened lmfao
oh speaking of
is there any good way of doing backups (mariadb) without like doing a mysql dump
I dont remember it was years ago lol
uh you kinda have to mysqldump
that's kinda how you back it up
brahh
that's alr but my problem is the db in question is connected to a roblox game which
yes its good to have backups but it has data of like 30k users so it will either
- have inconsistensies because it takes a long time to back allat up (unless i enforce a lock)
- if i DO enforce a lock, the data wont save for a while and iirc if the http request doesnt return a response within 30 seconds roblox considers it as a failed request (but i could be wrong)
30k is an estimate, i think its higher, i only checked fully like a month ago
no I was waiting for you to complete your sentence
ah i see
but yes neither one is a good option
because i think knex waits as long as it has to
but
I mean one way or another you're gonna have to stop the database temporarily to get a consistent state
or just cope with inconsistencies
yea
i think the second option is better because
even if a lock is enforced, the game can still receive data
like my mysql dumps can take upwards of 10 minutes to complete
and you'll pin the state down temporarily
hm?
(by locking the tables)
also if you were to like
set up replication
you could pause the replication on one, back it up, and then restart
"master-slave relation" i fucking hate that wording
i tried doing that but i have a windows and a linux server
needless to say the windows server just shat itself when i tried editing the config for maria
yeah your replication will have to be on the same server probably
if i do it on my hetzner
it will eat all the cpu up because i already have gitlab running which is resource intensive in itself
and a bunch of other things
my maria instance on my linux server is ran on docker tho

i dont think its bad to run things on docker
especially with tools like portainer
brb
the L was in response to your server already being bogged down
coming back to this, i can actually see use in this for something i already have made
basically i do something similar to this query but i do it in TS instead of immediately in SQL
hmm @timid quartz our of curiosity, do you store discord ids as a string or as a number in your db (if you use ids for anything)
String
asking because discord uses them as snowflakes so they have to be a string when you're using them
yeah i thought as much
Number gets funky because databases like to round them if you store them as ints
sorry what 😭
Like
My discord id (195942662241648640), if stored as an int, might get changed to something different
eg like 195942662241648000
bruh thats weird
i mean ig its good to store them as strings anywasy because
of the snowflake thing i mentioned earlrier
join club
u guys might kill me but i like sqlite
i tend to do smaller projects and nothing production
sqlite is really fast
bro it so hard it started speaking unknwon character
192.168.0.0/16 is an internal IP 
its almost like im portforwarding windows to WSL..
so the ip gets masked....
how tf u have graphical env in wsl
xrdp
i was planning on making an http server but
definitely not now
also thered be like
3 versions to have to deal with + ssl
HELO aerasto.xyz
MAIL FROM:[email protected]
this smtp server will.. expose the mail of everyone who uses it
but its just a simple little project so
accept my mail damnit
dont expect someone to actually use it
mf it turns into an echo server after the first response
😭
not even an echo server it just pipes the input to my terminal
wait huh
wrong protocol
LOL
if you're homeless just buy a house
actually probably doesnt work here
maybe half works
Woah
Wtf
sending or receiving?
rx
tx will take a bit more since i need to resolve the RCPT TOs emails and act as a client
i dont think its required
no it is
:<
im like 99% sure
cause when we went over telnet and smtp in a networking class last year
I tried talking to gmail and it didn't like that I didn't have TLS
yeah @spare quartz
4kt0sgjidkh
wait you have an smtp server?
telnet
actually i kinda jumped to that conclusion
ah i see
yeah i have no clue what i was looking at lmao (ive heard of telnet but idk what it does=
WORKKK
Telnet basically lets you talk directly with servers yourself
eg you can telnet aerasto.xyz 80 and start talking HTTP to it
Though this will force a redirect to HTTPS
its just standard input directly connected to a socket
nginx,,,
ssh is its own thing
😀 what
standard input = what you enter into the terminal
socket = imaginary "ports" between computers
hm
speaking of sockets in my old web project we had to use them once and based on the stuff they made us make, had zero relevance
we had websockets for the stupidest shit
but we had to have at least 1 to pass
yk whats funny, my website (astrohweston.xyz) is done in svelte because i was testing it out
you two
despite not even having a pinch of css in it
like look at it for yourself lmfao you'll see how useless svelte is in this use case but i cba to swap it out
or well idk how to do it in plain html/idk how to make it read subdirectories and files
your server sucks..
nginx my beloved
http is so weird today
have you heard of WebUSB/WebHID
ok well this telnet thing sounds interesting
ill look into it a bit more when i get the time
oh fuck off
dont get too invested in it telnet is older than everyone in this server
no way that exists
it does
i like ancient tech
try doing GET /index.html HTTP/1.1
ehttps://developer.mozilla.org/en-US/docs/Web/API/WebUSB_API
yes it is one sex
telnet is a microsoft windows invention
wh
honestly one of the only good inventions
use cmd
wtf
why
is it in that hidden away optional features windows
like the same place as ssh
ok no its not
yes i know that
NOOOOOOO
but its a unix based os is it not
ah i see
learn something new every day lmao
👁🗨
wtf is this eye emoji
aera your server is ass
i try writing it just dies ok
did you write the headers right
you need the method, path, protocol, host, user-agent
godddd not DKIM
do you have your own mail server?
thought you would tbh
telnet smtp 25
HELO <domain>
MAIL TO:<email>
RCPT TO:<rx email>
DATA
...
<CRLF>.<CRLF>
QUIT
da hell
is smtp a placeholder
yes
a
helo
most servers will probably also require a Message-ID in the email header
Message-ID: <the [email protected]>
angle brackets required
who here has their own email
I think terry does
well terry uses tuta
meee
[email protected] but its on skiff
its offline rn though (and still heavy wip)
and again they kinda died so i need to move that
should turn it on 

WOAH WOAH WOAHHHHH
slooooow down aera this is qsp
im gonna end up sending mail through telnet is that what this is
wha???????????
I just sent an email over telnet to terry's tutanota email 
at least the server said it queued the message
idk if it will internally reject it or what
hold on
can you send one over i wanna see if its any different
did you check what commands are available
if its just plain text then
I did EHLO yes
im trying to see if the command to see mailing list membership is available
Pipelining, etrn, starttls, enhancedstatuscodes, 8bitmime, chunking
give me a domain
astrohweston.xyz?
(i meant did you run HELP)
uhh yes
(the only command there is ETRN)
although hm
ijeudvc
do it yourself
gimme the hostname ten
if that doesnt work let me know ill give you a gmail one but that's bleuh
gmail will reject me
yeah connection refused
guh
theres a useless ip
UH HUH
lol yeah
might have to do a -type=NS for it first
but what port
25 duh,,,,,,,,,,
my college
maybe that's why lol
it sees my IP and is like "ok this belongs to a place with a mail server"
i dont jhave a bpvn..
oh I have this same server under wsl
seems whatever windows uses is proxied through that for wsl
my eyes hurt :<
my school's infra is ran on a windows server
ok wait so if im understanding this correctly
i can send mail with anyone's domain name.. even if it's not mine..?
yes but thats what stuff like SPF and DKIM are for
isn't spf just a text record
oml webstorm EAP is shit
they modified the console its so fucking slow for some reason
yes lmao!
Lots of schools are
I should switch to windows server 2003
you should kys now
TLS time
What does Ada have for TLS
Iunno
by Joakim Strandberg – Apr 29, 2024. Today, we at wolfSSL (https://www.wolfssl.com/) are happy to announce the availability of an Ada/SPARK binding that enables Ada applications to use post-quantum TLS 1.3 encryption through the wolfSSL embedded SSL/TLS library. The wolfSSL library is thread safe…
I went to bed before I could look at it
@spare quartz I wonder if I left telnet open if I would get a reply email
👁️
I'm also surprised tutanota doesn't require TLS or any auth
turn on your mail server and try to reply to smth I send
IM ON BED!!!
GET OUT OF BED!!!
And it can’t reply yet
I’m busy making the threads actually work
The latest thing was writing mail to inboxes
An SMTP server can function as a client
maybe these
So initial client sends server message
server acts as client, sends to-
there's these
An email does not need to have those
yeah but if I say RCPT TO:[email protected]
it could be a real reply
or just another email
The server will send it to them as a full email anyways
It’s up to a client to determine what it is and how to represent
I will read the entire RFC
Dew it
@spare quartz go to bed
no im working on making this able to send emails
IS IT WORTH STAYING UP FOR IT??
i woke up like 3 hours ago so
guh your sleep schedule is ass
what am i
a meower
also your console looks quite nice
Yo cool

i will have that CRAB executed

POP3 time.
doing a stem cell approach like this probably isnt the best idea
but oh well
stmp
die
perfect
might need to play with the threads a bit though since this is
75 threads
TLS only or optional
what's your domain again
javart.zip
TROLL
i reopened it without tls forced :3
ooh a new mailbox!!!
and some crazy guy in my console
STOP SPAMMING 500
:3
i really need to stress test the server someday
STOP SPAMMING :3!!!!!!
i should block your ip IF IT WEREN'T HIDDEN BEHIND 3 NATS
:3
oh yeah theres also "imap/pop3" support
but they just instantly terminate the connection
trolled
you didnt even use two threads
I can fix that
on that note theres no timeout for commands yet which i need to add
@spare quartz are you dual booting or
this is wsl
@spare quartz can you open it one more time
fine
open?
there
really nice when the smtp server is just a gui and not
whatever the heck postfix is
what?
what were you even trying to do
oh what
@spare quartz is it working
oh crap googles ack
i dont see anything special on my console
except for the 2 extra disconnects that just happened
the lowest thread count was 23, counting googles
why is it not workingggg
now its 25
im so glad i made this just print the name and message
before it had like 50 line stacktraces
you need to put the port number in
are you using port 25
duh
i put in 25 it shat itself
what
try it again
connection failed
well then your telnets just screwed
considering google was just able to send me mail
and aerosto is struggling with his connections
my servers fine
br
@spare quartz see anything?
best rust programmer:
IDK WHY IT'S NOT SENDING
maybe...
hmm
maybe you need to input from the socket first
or flush the stream?
i dont know how your sockets work
in ada its literally just String'Write(Channel, "HELO yourmom.com")
@timid quartz are you able to connect even
he is
his side just disconnects and doesnt send anything though
in the wsl drive
lets see
what did you get there
two end of stream errors
is it just
can you open a server so i can write a program to spam you 🥺
going too fast?
you're not sending any data
oh or you know what
maybe you're just not terminating them
<command><CRLF>
try this
yes
now why is it not reading
whats your code
your buffers too large
you need to read character by character until you get CRLF
or else itll hang infinitely waiting for data
there it goes
it should be

