« first day (4114 days earlier)      last day (1028 days later) » 

14:00
why
why would you do that
don't do that
that's silly
to be honest... I could do pretty much anything related to chat with this system
I could CREATE rooms
Please don't add flagging or flag handling, though
Not going to
in order to I would have to flag something
and I can't do that
14:01
can I use your chat client to touch grass?
I'm excited to see more competition in the chatbot library market
I've heard there's some good JS stuff lately
heck it must be good if hyper decided to migrate vyxal beep boop over to JS
I think hyper wrote that themselves
well mine will be BETTAH!
@RadvylfPrograms huh.
TIL
14:03
There's not really any existing JS chatbot libraries, other than the totally wack and sussy one NP/SP uses (which I made and glare at myself in disgust every morning in the mirror for)
and I am making a nonwack unsussy Python one
Time for the INTERCAL chatbot
No.
Vyxal or Jelly based chat-bot when?
You don't even need to do much. The code's already "PLEASE DO ..."
14:07
YOOO IT WORKED
Bookmark successfully made!
and deleted!
now use it to make a recursive bookmark :p
uh
okay
How does it handle edits past the two minute thing?
Good question
14:11
Same with deletions, if you have those
let'sa find out
It does nothing
just fails silently
same with edits I think
Maybe make it return a boolean on whether it succeeded
@lyxal I was working on an SE chat library in JS but it doesn't have all the features
mine errors when trying to edit or delete stuff that you can't
which of course it's expected that the user catches that
hMmMmMm
I can do that I guess
i could have it instead return false if it succeeds and otherwise return a status code
i don't have stuff like move, star, or bookmark yet though, just the basic stuff vyxalbot needed
14:18
@Ginger I'm not sure why you send these but I always read them as sarcastic with the MmMmMm thing
p:d
I'mma gon have to steal one of those
can't have excessive display of limbs and body parts like that
Oh no now lyxal steals limbs and tongues?
I'd better upgrade my home security
14:19
CMQ:
Is a tongue a limb?
Okay, boolean added
No, limbs are arms and legs. Checkmate, atheists.
btw ginger how does your event handling look like
i have a client class so you just do client.on("messageCreate", function) to handle messages for example
(100% copied the format from discord.js)
room.on(Events.MESSAGE, [function goes here])
ah. i have handling for individual rooms too i just figured having one for the whole client would be useful for bots like SD that exist in many rooms
14:22
Don't tell anyone but the Bot class is just a thin wrapper around requests.Session with some convenient login functions
the Room class does all the work
although, I am rather proud of the auto-cookie system which allows the bot to not have to log in every time you start it
That's a good feature, since you can get CAPTCHA'd pretty easily during testing
exactly!
NPSP just saves the fkey and cookies to a JSON file on sigint
You Python users are lucky having requests.Session
i just stole NPSP's method of doing it since i couldn't get it to work with sessions, probably because it wouldn't set cookies on redirects
I'm having to implement several RFCs by hand
For the actual library, since request in NPSP is jank and a half
14:25
well i just copied most of it so
at this point i haven't even been working on my stackchat.js so i might as well wait for y'all to finish yours and it'll probably invalidate the need for me to create one since i'm pretty bad at JS anyway :P
It works fine for SE chat, as evidenced by NPSP being up for months without any restarts, but for a general library I want it to be a little more professional
yeah that's fair enough
janky describes 100% of my code anyway ¯\_(ツ)_/¯
@RadvylfPrograms really all it does is pickle and dump the session's cookiejar
It re-acquires the fkey every time you run it, but that doesn't trigger the captcha so
> 14:28:17 up 91 days, 12:32, 1 user, load average: 0.00, 0.00, 0.00
This is the NPSP droplet :D
Imagine 2pm
14:28
wow, 91 whole days
that's more days then I have braincells
Three months without needing to debug NPSP is a pretty good indicator of its reliability
Only took three months of constantly having to fix it lol
lol
hmm
what other things can I shoehorn into this library?
Beans
Definitely beans
Maybe also bread
sacrilege
Print("breans")
14:32
the only food we allow is butter
@Ginger How does it handle pings and repleis?
бутерброды
Does it have a function to acknowledge a reply?
hmmmmmmmmmmm
(Clicking the green (1) in the corner)
(So it doesn't sneed the block owner an email)
14:33
wait, how did I forget to add replies
I a stupid
We all a stupid some of the thymes
i just realized that I don't really need a message cache to store old message content to provide to the bot when a message is edited
since I can just make a utility function to fetch the message history from the publicly visible history
i guess this doesn't work for deletions though
I'm going to make the bot auto-ack any replies
I wouldn't do that necessarily
You might not want that behavior, e.g., if a human uses the same account, or if you want the messages logged to your inbox
Making it an option in the constructor might be a good idea though
^ just as a weird example, you could have a bot set up as an inbox so people can ping it with messages and the user gets them in their email, without giving their email address out publicly
14:43
My WiFi isn't being as much of a sussy baka today
It's still slow, but usable. Which is good since I literally could not do any school work for the last two days
Hi guis
I'm more of a CLI
I'm Microsoft Bob
wait why is lyxal still awake!
14:47
Because I'm almost going
Just finished up teeth brushing
@lyxal Go to sleep NOW
kthxbye
You have no choice in the matter.
Dew it
Dew it now
Fall asleep right now, no time to get in bed
14:48
Lyxal has been BANISHED
You literally have an exam tomorrow
Kick-mutes lyxal
It's almost 1 AM
btw you can have your sunglases back 🕶
now you can fall asleep faster
14:50
@RadvylfPrograms (This is my second favorite song :p)
@RadvylfPrograms somehow sounds like a faulty radio to me
The intro is a bit odd but that just makes it better IMO
well okay only the beginning
But once the actual music starts it gets better and better and better
> I'm supposed to be sleeping, but MCR [Delatrune] is more important. -> youtube.com/watch?v=RSAoJJzVXYY&lc=Ugj0wCDlY53s5HgCoAEC
- theoretical lyxal
14:55
do we seriously not have a sort challenge yet...
@Seggan Thing is, it's a built-in in basically every language
@UnrelatedString oops
oof
ty
it's less built in in wacky esolangs but then with most of those you've barely got lists to begin with
15:08
Nice, just found out I have "an indication for autism"
some crappy online test
Lots of things are "indications for autism" though, right?
yeah
I mean, being socially awkward could theoretically mean you have autism
Existing is a possible sign of autism
Existing is a risk factor for a lot of things, actually
3
@mathcat i don’t see how finding out you have autism could be a good (or bad) thing
You’re just you whether or not you have autism
15:15
well yeah
@RadvylfPrograms ikr, 100% of people who exist die
Not necessarily, nearly 7% of humans who have lived haven't died
woah
that's some advanced maths
@RadvylfPrograms ah yes, we’re immortal until proven otherwise
Well sure, the odds are about 93% that I'll die at some point, but I may not
15:18
Is death actually unhealthy?
seems it is, given that the 93% of people who had it died
proof
Death is unhealthy.
Actually everybody who had death died.
@RadvylfPrograms actually, the odds arr are 0, extrapolating from your life so far
I'm buying one of those mechanical calculators in 12th grade. I've already decided it. I'm bringing it to school, and I'll be in AP stats, and one day when the teacher says "okay, now find the [whatever]" I'll pull it out and be like "hold up I gotta plug in my calculator"
I don't care if I've gotta wait 6 months and pay three or four digits I'm doing it
Mechanical calculators?
15:27
Yep, 40's era things. Like a typewriter that does math.
why not use a real caculator
Because this will be hilarious
For the flex
I'll need to bring like, the calculator, power cord, and an inverter since IIRC they use british plugs, but I don't even care.
That'd make a great meme wait
15:29
@RadvylfPrograms do consider the fact that your classmates will only be momentarily entertained after you go to all the effort
Nah, I can probably spend at least 10m showing off all the cool stuff it does
When you make it divide, it goes clackity-clack for a long time
10m isn’t worth 3 digits
10 million isn't worth 3 digits
But it's a cool thing to have anyway, and I can resell it a few decades from now for double
It’s not going to elevate your social status any
15:30
that's how i read it
@RadvylfPrograms oh then it’s worth it
@user What will I care, I'll be a senior.
> resell
smart
15:31
In particular, does anyone agree with emanresu?
No, me neither
I don't think this is an annoying edge case. Personally, I'm actually a fan of edge cases.
Lgtm too
It's a totally logical edge case, and I'm struggling to think of an algorithm where it would need special handling
15:33
I'm struggling to think of an algorithm :P
Yeah you shouldn’t need an extra if or whatever
@DLosc Brute force. If brute force doesn't work you just need more.
@DLosc I’m struggling —-to think of an algorithm—-
@user And it very well could reinforce my "funny nerd" status from elementary/middle school with a new audience
@user I'm struggling to think of an algorithm
15:35
We're all just really complicated algorithms, and unfortunately we're not turing complete.
I can understand thinking of humans as machines, but algorithms?
0
Q: Shortest restricted superstring

pxegerGiven two sets of strings, \$ D \$ and \$ R \$, find the shortest string which contains every string in \$ D \$, but contains none of the strings in \$ R \$. There are almost always multiple possible outputs; you should output at least one of them, but you can output more. You can assume this is ...

@user On a high level we are algorithms. We take information, from our senses, and produce output, with our floppy limbs and wiggly vocal cords.
2
@RadvylfPrograms it could also easily give you the “funny but weird” status :p (i totally do not speak from experience)
That one's just as good in my book :p
15:37
@RadvylfPrograms I’ll have you know my limbs are solid state, not floppy :p, but okay, that kinda makes sense if you squint enough
Well, I guess we could be nondeterministic depending on which religion and scientific theories you support
Quantum suggests so, most religions say "sort of," loop quantum gravity suggests not (if I remember right)...
Quantum is crazy
Why tf did our universe decide on such crazy rules?
Sane people's brains use general relativity. Mental health correlates to how much of your brain has updated to quantum mechanics.
Why couldn’t we live in a sane, simple universe?
15:41
exactly!
Quantum is too complicated for me
My hobby: simulating universes and occasionally subtly changing how physics works every time they get close to figuring it out
i love quantum just because it makes no sense
If someone makes a door into the Void lmk because I’d rather yeet myself into cthulhu’s domain than stay in this crazy place
i can never spell "because"
@RadvylfPrograms is this from an xkcd lol
15:43
Nope, but it does seem vaguely Randallian
Munroian?
Munroesque? (Munroeesque?)
We need a word for this :p
The Munrosian era of memeing
Seemingly followed by the Muskian...
I was just looking up why the universe expands and thought it would be a short 5 minute presentation but it turns out no one knows why and dark matter is just a lame hypothesis that they’ve found no actual particles for
Machos and wimps are a no and even simps seem unlikely
@RadvylfPrograms Nah, brains are detailed enough on a microscopic level that they've got to use quantum effects. If anything, a brain that didn't use quantum would be too simplistic to be what we normally regard as "sane."
It feels like all these physicists have just been pretending that they’re close to knowing everything but their standard model doesn’t even work
I kind of like the Wolfram Model for that one, which pretty much says the universe expands because it needs to compute more things and an expanding universe is the easiest way to keep a lot of computational material.
The theory is very strange but that part at least works
15:46
My theory is that the universe expands so that the universe's programmers can add more content, but they all died in some tragic 4-dimensional event
That sounds exactly like what a mathematician would say lol
@user yep. physicists are not even sure atoms exist lol
Yeah like what even is matter
@Seggan I'm pressing x on that one
We’re just energy interacting with stuff
15:47
If chemists and physicists agree on atoms they're probably there
It's like Germany and France
wat
I thought it's like england and france
@RadvylfPrograms what if you’re a brain in a jar and the real universe is nothing like this?
@mathcat countries all hate each other
@user Then you don't exist and I have an excuse to say mean things to you
> If chemists and physicists agree on Germany and France, they're probably there
6
tbh the only evidence for an expanding universe is redshift and the CMB, and on that they build the build bang model, distances of quasars, dark energy, and all that kind of stuff
15:48
@user sadge
> only
@user #notallcountries
Well yeah but you know what i mean
So many neighbors hate each other
True
Australia and New Zealand are best buds
15:49
But that's because they were the same country (ish) for a long time
I hear Russia and Ukraine are real nice to one another, and respectful of one another's space, and they're friends
@mathcat No, Texas and Washington Florida
I think redvylf is right-er
argh im so used to discord md
As a Texan I don't particularly care for any states except Pennsylvania and Massachusetts
15:51
Discord aint md
@Seggan Wait discord is markdown?
has
@RadvylfPrograms frick Massachusetts, it’s cold there
And frick pa too
But it has MIT :p
15:51
i lived there for most of my life
@RadvylfPrograms The sad part is, I know someone from Ukraine, and she said she legitimately thought that was true until this year. :(
And Pennsylvania has Carnegie Mellon
and i never regretted moving to SC
@RadvylfPrograms okay frick everything in there but also wxtract mit and seggan to a better place
@RadvylfPrograms Applied there, didn't get in. Are you planning to apply?
15:52
Yeah
@RadvylfPrograms that doesn’t make the whole state good
Cool
@user No but it averages out
There’s no state i like better than DC
I always thought it was Washington BC
15:53
Washington British Columbia
Before Christ
@mathcat No, Washington is definitely AD
Yeah it was Washington AD but they had to relocate after jesus
Wait bc came before ad that’s a bad joke
... I was gonna say ;P
Time flows backwards in dc ok
15:55
I thought DC always flowed the same direction. It's AC that keeps reversing. ;)
Lol
Well, going to my AP Seminar test now o/
nah AD is reversed
@RadvylfPrograms Good luck!
Not sure what that is but good luck
15:56
gl
Hoping they'll at least have lunch for us this time
"Where are we supposed to get lunch?" we asked in an email this morning. "11:00," they said.
There might be a room called 11:00
11th floor, 0th room
or ground floor, 11th room
No, it was a bit more detailed, making it clear that we were supposed to eat lunch at 11 AM, but still with no detail as to how we were supposed to get into the cafeteria to get it
Through the door?
The doors are big steel blast doors that descend from the ceiling
I would need a bulldozer and some semtex to get in through the door
16:09
Do you go to school in a prison?
Practically
I do feel like they took some inspiration from prisons in how it's designed
I have come up with a ridiculous database query language
A sort of..."open concept floor plan prison"
In effect, all schools are prisons.
like SQL but worse
A script to remove expired cookies from a database:
LOAD COOKIES FROM "COOKIES.DB"; REMOVE EVERY COOKIE OF COOKIELIST OF COOKIES; WHERE NOW OF TIME; MINUS AGE OF COOKIE; LIKE NUMBER IS MORE THAN MAXAGE OF COOKIES;; DUMP COOKIES TO "COOKIES.DB";
16:11
That's much more imperative than actual SQL, it's far more usable
it is??
wow
SQL must be even worse then I thought
I think SQL is pretty good
same
I came up with this because I thought a function/property syntax of FUNCNAME OF THING; was funny
> NOW OF TIME;
Well, whatever Radvylf hates...
16:13
I even made a project which uses SQL and has a security breach.
@pxeger I'm sorry for you
granted i get confused when trying to do joins and other more complex stuff due to inexperience but i find sql fine to use
SQL is extremely difficult to get a good mental model of IMO
was using it for the longest time for all of my stuff until i started using mongodb for my discord bots
16:14
You don't just tell it what to do and it does it, you need all sorts of weird stuff
ya mongo is 100% better
granted, in python i had flask sqlalchemy so it abstracted most of the actual syntax away from me but when i switched to js i didn't find a good equivalent so i just used pg and wrote the queries manually
tho i only use mongo if i need online hosting
Well 15m into the time we're supposed to be eating lunch only three of us have shown up and no food is in sight
join a list of things with commas: JOIN OF LIST OF TEXT FROM EVERY THING OF DATABASE;;; WHERE SEP IS ",";
16:15
@Seggan i mean they're just different, like mongo is nicer for my applications with discord bots but sql is just an entirely different model
The one thing SQL could do with is a better way of doing many-to-many relations
SQL also has the same property as PHP where insecure code is the default
sql was nice for some things but trying to store a variable length property of something was minorly annoying cuz of the need to use at least two and often three tables to do linking, and if it was many-to-many then rip
@RadvylfPrograms i mean the library i used had automatic sanitization
@RadvylfPrograms How so? Do you mean SQL injection? That's not really the default
like i just do client.query("INSERT INTO table VALUES ($1, $2)", x, y) and i don't have to worry about it
so yes, sql technically has injection vulnerability but that's if you're rather careless TBH
16:17
You should treat queries like code - you don't construct dynamic queries
@pxeger It sort of is. If I want to look for certain text in the database and I'm a n00b SQLi is easily the default.
@hyper-neutrino That's not even a feature of the library you used, that's part of the database protocol
as long as you treat querying the same way you treat eval/exec you should be fine
Well I guess it depends on the database
@pxeger oh wait it is? that's good
16:18
ADD [1, 2, 3] TO COOKIES;
either way, mongo is easier to use lol, but sql was fine like i didn't dislike it
mongodb can have injection problems as well if you're not careful
why use DROP TABLE COOKIES when you can have NUKE COOKIES;
+∞
SQL to me seems like it tries to do two totally different things at once
Database maintenance stuff, like adding and dropping tables, and actual use of the database, like creating and updating rows
There's just no reason why SQL should be used for the creating and updating rows bit
16:20
They are different things
that's called DDL
And they try to fix it with restricting permissions and preventing SQLi and stuff, but it doesn't fix the underlying issue
but if you're ALTERing rows with DDL, then you might often also need a query to migrate the data
Am I misreading the diagrams on google images or is there something called DML too
Data Manipulation Language (DML) commands in SQL deals with manipulation of data records stored within the database tables. It does not deal with changes to database objects and its structure. The commonly known DML commands are INSERT, UPDATE and DELETE. Liberally speaking, we can consider even SELECT statement as a part of DML commands.
Internet says so
yeah, DML is the "actual use of the database"
16:24
GPT3 says:
DML stands for Database Manipulation Language. This is a generic term used to refer to commands that change the state of the database. It refers to INSERT, UPDATE, DELETE, and MERGE commands in SQL.
Who just starred two 40-minute old messages (which weren't worth starring)
But there's no point in the "actual use of the database" part being the same syntax-wise
It should be something like JSON where commands and data are inherently separate
It's like adding data to a text file with spawn("printf '" + data + "' >> log.txt")
Well it's 4 minutes until the test and still no lunch or other test people
And I'm hungry so I'm sure going to enjoy the next four and half hours
yay!
IME, the best way to fail a test is to have low blood sugar
You might wanna bring a mars bar or something tomorrow
Starvation: it's a risk factor associated with existing.
16:33
Imma jump on the "I like SQL" train
I like it even better since MSSQL recently added the STRING_AGG function.
17:03
postulate: any image can be represented by a finite set of fomulas
if you consider an image as a set of discrete samples of a waveform (or 3 waveforms, one per channel), then yes, a fourier transform with an arbitrary but finite number of waves can represent any image
@Seggan You could also just encode it as a matrix and use some equation that returns that
just something i thought of while trying to draw the radiation symbol in desmos lol
oh, you mean vector image? Yeah definitely
17:16
also
in The Tarpit, 1 min ago, by PyGamer0
esolang idea: super fast ascii only stack based language similar to vyxal and factor. (with a standard library)
17:50
@Seggan Desmos is such a strange language. A surprising number of things are possible in it, but almost nothing is straightforward.
18:39
-27, largest golf i ever had so far

« first day (4114 days earlier)      last day (1028 days later) »