last day (647 days later) » 

23:01
Hmm, what's our site ID?
Can't find it in full.js
cmon just one more upvote and I’ve hit the rep cap
You've got an hour.
716
That's our site ID
Presuming 718 is our meta lemme check
Nope 717
@Catija yeah that’s why I’m anxious
@RydwolfPrograms Nice, how did you get that number?
23:06
Ended up just using the Network tab
Inspect Elements?
Ooh wait, can you even watch the questions in a private beta if you're not in it?
The watch sockets don't authenticate right?
Yeah no they don't
Interesting
@RydwolfPrograms Yes using the visit link on Area51.SE. After clicking that you will be taken to a login page, just click on the home link.
@RydwolfPrograms can you still commit
Gah so many good questions and answers
Half my vote limit's gonna be stuff from the previous UTC day
23:09
There's at least two things I'm going to upvote as soon as I'm able to in about an hour
Wait hang on I hope the API works for betas
Lemme go check
I think it does I made some queries in the API for a private beta site before. The Data Explorer won't work for private betas.
Yep it does
nice
When our subdomain changes it's gonna break the bot, but oh well
oh my. Look at how I implemented while loops over a year ago
case nodes.StatementType.WhileLoop:
    for (;;) {
        condition = evaluateStatement(statement.condition, scope).val;
        if (typeof condition != 'boolean') throw new TypeError();
        if (!condition) break;
        const result = interpretAST(statement.body, scope);
        if (result !== undefined) return { val: result, propogateReturn: true };
    }
Fun
23:12
Yes I wrote this interpreter in JavaScript for some reason
@RydwolfPrograms when?
We're probably getting it changed to pldi or langdev or similar
There's a meta question atm
5
Q: What's the right domain name for this site?

GlorfindelThe domain name for this site is languagedesign.stackexchange.com. I've been a programmer for more than two decades, but when I read it I still fail to comprehend it's about programming languages, unlike e.g. our sister site about Constructed Languages. Also, the title says implementation questio...

Yeah I’m that, but ure so sure
Ooh we have a nice room ID
23:13
Also this is so funny
0
Q: What are some ways of reporting compilation errors?

IsaiahWhat are some good ways to report errors when compiling code in a new programming language? One answer may be to just stop after the first error, but this can be unsatisfactory because it takes additional time to fix the error, re-compile, and then fix the next error. In contrast, if the language...

1
Q: What are advantages and disadvantages of C-style for loops?

Bbrk24There are two kinds of for loops: the kind that Python has, also called a "foreach": for i in [1, 2, 3]: print(i) and the kind that C has, which is syntactically heavy: int arr[] = { 1, 2, 3 }; for (int i = 0; i < 3; ++i) printf("%d\n", arr[i]); Some languages, such as C#, have both, but I'...

@Seggan what is that from
Tour
I managed to get the other half
Okay I now have NPSP configured for PLDI, I just need to get it to persist in this room
lol I just found this buried in the code:
> https://chat.stackexchange.com/rooms/240/sandbox
23:20
sus
Someone forgot to change the room name when switching to prod room :p
@RydwolfPrograms mmmmmm
I am pleased
@RydwolfPrograms wait why tf are you hardcoding your URLs
I had to do this one, it's a base URI
Don't you just give the room ID to your chatbot lib?
I don't have a chatbot lib
23:21
He doesn’t have one
I am the chatbot lib
skill issue
Oof chat delays
NPSP's so tightly integrated it doesn't make sense to factor out the chat stuff into a separate library
And since there was no existing Rust chatbot library, since I maintained the only semi-functioning chatbot library at the time and it was in Node and had dead bodies in it, that wasn't there as a reason to convince me to use one
I should make that rust chat library we all need so much
23:23
@Seggan I'm working on one too
We should team up :p
Esp since I’m working on lightchat
@RydwolfPrograms yeah /srs
Thinking of putting a joke answer on my for loops question:
#define ever (;;)
for ever {}
I won’t actually put that
Yeah, I do kinda have a monopoly on the chatbot lib market
Yeah chatbot.py is totally broken, I've had to make several tweaks to the copy OSP uses
Well, not a monopoly
SOBotics are kinda doing their own thing tho
23:26
While the thing old NPSP and old VyxalBot used is still technically functioning, like I said, decaying corpses
I wouldn’t mind writing a bot in Rust honestly
better than Python
I had to write a custom HTTP library that handled cookies and everything
@RydwolfPrograms not really - it stopped working for us
@RydwolfPrograms use sechat! Feel the power!
@Ginger Go convince caird then :p
They wrote OSP not me
23:27
@RydwolfPrograms can confirm, I was the one that had to port Vyxal Bot from it q:
Wait really? lol sorry I made you go through that
"Abomination" is too charitable for that mess
But now VB uses sechat v2 and it's way better
It's Node's fault
But of course
Tell me, why did you decide to make it in Node?
It's the only backend language I was comfortable in
I could've done Python but chatbot.py was already seriously showing its age
23:29
Thank Skeet for that "was" :p
So I'd have had to do the same amount of work either way
(I assumed)
(wrongly)
Say what you will about JavaScript, it’s an incredibly portable language
@Bbrk24 YES
@Bbrk24 Java(VM) is more
No, it’s incredibly difficult to get Java code running on iOS
Ok barring iOS, apple is too selfish
23:33
The JVM breaks some of LLDB’s assumptions, so even when you do get it running you can’t debug it
Java also doesn't run on the web natively
Wait nvm
It doesn't do so nowadays
Java was designed for the web silly
@RydwolfPrograms GWT would like to disagree
Also, TIL D has built-in ObjC interop. …why?
--why not---
If you’re not interfacing with Apple’s frameworks, there’s not really a point, is there? The only other language I know with built-in ObjC interop is Swift, and that was made by Apple
23:42
Okay I just built NPSP
About to try it
yay!
No errors yet
I'll have to wait until someone posts a question to see if it's really working
0
Q: What are some options for function definition syntax?

JacobWhat are some ways that existing programming languages handle function definitions, and what are the pros and cons of each method? By "function definitions" I mean either named (i.e. function foo(a, b) { return a + b; } in JavaScript) or anonymous (lambda) functions (i.e. (a, b) => a + b in JS). ...

Rydwolf Programs has stopped a feed from being posted into this room
Rydwolf Programs has stopped a feed from being posted into this room
0
Q: What are the advantages/disadvantages of prefix types on functions

SegganFamously, C’s functions have their types specified before the function name: bar foo() {…} Most older C derivatives also use the prefix syntax (e.x. Java, C#, C++). However, many newer languages (e.x. Rust, Kotlin, Typescript) use a postfix type syntax for functions: function foo(): bar What ar...

23:46
Whoa that was fast
first question also
Yeah, it's slower than I'd like but workable
I can halve the average post time but it reduces the reliability
Wait did we just ask the same question twice?
0
Q: Utilising recursion schemes when implementing compilers

JakeI haven't personally seen much use of recursion schemes when building compilers or interpreters, and I'm honestly not quite sure why. Almost all the common ones (cata/ana/para/apo) seem quite handy for various tasks, especially when manipulating ASTs. Is this just because most implementation lang...

I’ll move mine to variables then
> watch_0: did post in 947ms
23:47
If it’s CV’d
Unacceptably slow smh
GitHub's updated if y'all want to see the updated code for some reason
nah, I like my eyeballs
Nah this code's nice and clean for the most part
Well, aside from the fact that it's async Rust that does multiple things at once so there's so many Arcs it'd get shut down by the fire marshall
But yeah I'mma go ahead and push this to the droplet
YES hit rep cap just in time
@RydwolfPrograms lol arcs are my savior from the borrow checker
@Seggan you're welcome
23:56
Ok now i hit rep cap
apparently its 201, not 200?
@lyxal ty

  last day (647 days later) »