« first day (3837 days earlier)      last day (56 days later) » 

12:00 AM
Hey Americans here's a fun number to call: +1-760-706-7425
 
DIE
Of old age
Oh no
 
Rickroll?
 
Your mom's phone number?
 
@Ausername No thanks
 
12:02 AM
@Ausername it's a friend of mine
he's also a friend of most people here
 
Obama?
 
no. call my friend and find out
 
wow
 
12:03 AM
It won't give you up or let you down
 
way to spoil the joke
 
2 mins ago, by user
Rickroll?
So I was right
 
Why does that even exist?
 
Why not?
 
12:04 AM
900 dollars a year? Madlad
Why does anyone sponsor them thoough?
 
Because some people need to never be given up!
 
@lyxal -8890
 
That's why
 
12:30 AM
@AviFS Here's the strategy I'm planning to use for the JS-based interpreter I'm currently working on:
const timeLimit = 1.0;
timeout = null;
function halt() {
    done = true;
}
function loop() {
    if (timeout === null) {
        timeout = setTimeout(halt, timeLimit * 1000);
        done = false;
    }
    if (done) {
        console.log("Halted.");
        timeout = null;
    } else {
        console.log("Running...");
        setTimeout(loop, 0);
    }
}
loop();
(with more like a 60-second timeLimit for the real thing)
Hmm... now to figure out the best way to do something like that but in a way that can return a result from each iteration...
I guess I'll have to store them in a global variable.
 
Oh wow that's a long message
BMG kinda died. — A username 47 mins ago
Did it tho? I thought the last couple were pretty active
 
1:12 AM
they're active enough that I wouldn't call them "dead"
 
We've had a bit of trouble stretching them to the scheduled 90 minutes recently, but there's been solid activity either way
 
I think 60 minutes was my initial proposal but we set it to 90 in case we ran out of time (and in our first few did easily exceed that) but even if we haven't hit that activity's seemed alright - idk, i've missed several of the recent ones
 
I remember the last-but-one had a bit of a struggle with activity, but that was at 8am Europe / 9am UK / 1-4am US, so wasn't likely to get a massive number of users, given the location distribution of TNB
 
what if: BMG but it's only cmc's generated by AI
three of us here have access to gpt-3 now
and gpt-2/gpt-J6b should suffice for cmc generation
 
@lyxal Next BMG, please throw in some AI generated CMCs :P
 
1:21 AM
(cc: @AaronMiller and @math)
@cairdcoinheringaahing hehe it might take a bit of fiddling with the settings to actually get doable cmcs
e.g
CMC: Given a string of even length N, output an INDEX of m valid strings to be used as the premises for inductive reasoning
 
@lyxal vtc as unclear ;-)
 
 
1 hour later…
2:28 AM
@DLosc Ah, G-pants
@lyxal Challenges must be self/contained, plz explain more
 
 
1 hour later…
3:42 AM
Haven't been in TNB for 24 hours :/
I've been playing Minecraft all day to make up for the three months I haven't been able to
 
lol, how'd that go
 
I'm on a fairly small island, so I've been working on mining and farms all day so I can get the materials I need for enchanting
Currently have a just-finished auto chicken farm, a manual cow farm, and some basic crop farming and a few dozen diamonds
So I haven't read too much of the surrounding discussion, but I heard there's plans for a new chat event?
 
yeah, it's similar to wezl's initial esolang showcase; basically, the focus is on a particular language (doesn't have to be a crazy unusable/tarpit esolang, or even an esolang like jelly or J would be fine) and for people who've been putting off learning it to get a start, or for people who are curious to just get a first look into it
or at least, that's the interpretation i got out of it
 
That sounds like a really great idea. I'm sure there's a lot of people (like me!) who want to learn a but of a language like Jelly, who'd really benefit from something like that
Maybe we could make it bimonthly, and every other one is the LotM?
Wait not bimonthly, the one where it's twice a month
Oh wait, "bimonthly" can mean either
 
i present to you: the english language, a perfectly sane, consistent, reasonable, and not stupid language
 
3:56 AM
hi
 
yes
 
@hyper-neutrino not this again, haha
we had the same conversation for bmg, lol
 
how do i reply to message :p
 
Click the arrow thing to the right of it, or open the menu on the port side
 
3:59 AM
click the down-right arrow at the right side of the message when you hover, or click the menu on the left and "reply", or on mobile, just tap the message and click the reply button
it's pretty obvious which one it is, but in case the buttons don't show up for you, it's the leftmost one
it's rather annoying when the action buttons just decide they don't want to appear on mobile
because for most people the worst you do is annoy some mods
 
or where is the kindle version
 
for me i could accidentally nuke conversations or suspend people all because stack exchange chat decided to just not actually show me what the buttons do
@PyGamer0 step 1: stop using your kindle / step 2: use your phone/computer / step 3: profit
 
@hyper-neutrino uuh i dont wnt to
 
if you really need to, you can get the message ID manually (from the permalink), and then :####### this is a reply
 
uh i dont think i can
 
4:04 AM
i mean if tapping the message doesn't show a reply button, there's no reply button on hover, there's no menu with a reply button, and you can't get the ID, then I don't think there's any way
this is basically an XY problem; the solution to "how do i reply on kindle" is "use a system that's actually supported" (as much as you can claim chat supports any system, actually)
 
i just figured out how to switch rooms and edit / delete my last message
ooh i can alsk see starred messages
 
anyone else just get a connection issue and a maintenance message on reload?
that was strange
 
Shows the "we are offline for maintenence" for me
 
SE itself is still saying it's under maintenance lol. don't think there was any planned, so i'm looking forward to seeing what bug crashed SE this time (once meta exists again) :p
 
4:25 AM
oh i am back
this time on a phone
 
@DLosc I remembered that async functions exist though... Won't that do the trick for us?
I'm alright with having to restart the page every now and then. It was just annoying to have it keep totally freezing up
 
Ooh, is this something JS related?
 
Haha, yeah why?
 
I've got a lot of experience hating using JS, especially async stuff, so if there's any weird problems you're not sure how to approach I can probably figure something out :p
 
Ooh, thanks that'd be awesome Redwolf!
@AviFS This is what I said.
@DLosc And this is what DLosc responded!
@RedwolfPrograms
 
4:38 AM
What I usually do is use an async function, then await new Promise(r => setTimeout(r, 0)) after every iteration
That allows the browser to pause and do other things in between if necessary, which prevents freezing up
 
Do you mind writing a quick example? I'll do the template here:
function run(prog, inp) {
    while(prog!='') { ... }
}

function onClick() {
    run();
}
 
async function run(prog, inp) {
    while(prog!='') {
        ...

        await new Promise(r => setTimeout(r, 0));
    }
}

function onClick() {
    run();
}
 
That's what I was afraid of when you said every iter, that's why I put the while loop!
But then, I'm afraid I really don't get it
I mean, the easy fix:
I imagine you'd do run().then(n=>console.log(n)); or whatever
But I'm not sure how to make it work when the run() interp gets more complicated
 
You can just await run(), as long as you make the function doing that async as well
It's a bit annoying, but for testing purposes it's usually a lot better than freezing up the tab
 
Imagine using a language that only supports a single thread
 
4:43 AM
Eg. what about a nested while or two in the larger while, for example to naively parse parens
@RedwolfPrograms Can the onclick function be async, though?
 
The onclick handler can be async, yeah
 
Oh awesome!
So I don't have to worry about putting a .then() thing anywhere
I can just leave promises all the way down?
 
@AviFS maybe w3.org/TR/workers would be more suitable
 
And for every nested while, do I just nest a new await?
 
because what you want is the ability to have multiple threads at once
 
4:45 AM
@AviFS You'd just copy the await new promise(...) one-liner to the other loops
 
I see, thanks! I don't really totally get what it's doing rn, but it looks really easy to use!
 
Example:
async function run(prog, inp) {
    while(prog!='') {
        while (xyz) {
            ...

            await new Promise(r => setTimeout(r, 0));
        }

        while (xyz2) {
            ...

            await new Promise(r => setTimeout(r, 0));
        }

        ...

        await new Promise(r => setTimeout(r, 0));
    }
}

function onClick() {
    run();
}
 
Super appreciate it, I'll let you know how it goes
@RedwolfPrograms Awesome!! Thanks again Redwolf : )
That's a great hack
 
relevant SO question (probably): stackoverflow.com/q/63153400/9363594
 
@AviFS Glad I could help, let me know if there's any problems that come up
 
4:46 AM
And, you'd make the onClick() async too, right?
 
Only if you need to use the result of run for something
 
I do, haha. When I click : P
There's a Run button somewhere
 
Well the return value, I mean :p
 
and then when I click it the browser dies
Oh, good point. Yeah, I need that too : P
 
Like if you needed to console.log(run()), you'd have to make it async, but just calling run() and ignoring its return value doesn't need async or await
 
4:48 AM
@lyxal Thanks! Not helpful for now though, or at least I don't want to read all of that to figure this out
@RedwolfPrograms Great! Thanks!
 
Also, if you just need this for testing/debugging, there's the simpler but less elegant approach of just using a counter to terminate the while loop after a few thousand iterations, which is good for simpler things like parentheses parsing that's not likely to exceed that while not being an infinite loop
Cool, I think I broke duolingo :p
 
posted on August 01, 2021 by Razetime

Challenge You will be given a string and an ascii art as input. The string must be placed above the ascii art, and centered based on its longest line. The text...

 
> by Razetime
what a gamer
 
5:14 AM
hi
 
yes
 
5:24 AM
no
maybe
 
@lyxal keep gaming
 
5:47 AM
I am making my own keyboard layout
 
6:16 AM
I have made my layout. f←{⍵+⍺*2}
⌸⍠
nice
 
6:34 AM
@PyGamer0 sus
 
Agreed
 
6:54 AM
I've VTC'd codegolf.stackexchange.com/questions/231794/park-lake-santa-fe/… because there's been no clarification from OP about case-sensitivity after several days
 
@PyGamer0 Something you'd show/share?
 
7:33 AM
Announcement: Langjam, a weekend-long code jam event to create a programming language, starting on August 20th
 
8:32 AM
@cairdcoinheringaahing Writing a Fishing interpreter to try
@lyxal Hi
 
 
Sounds cool
I should probably figure out permalinking :p
@pxeger Can you show me the code you have for permalinking?
(On ATO)
(This is for DSO)
 
Thanks
 
9:54 AM
@Adám probably put it on gh
 
@PyGamer0 I'm interested in hearing about your design principles.
 
@Adám i random put chars lol; although related chars are altgr and altgr+shift like and and or
i would definitely change it a lot though
 
So what was it about the existing layout that prompted you to roll your own?
 
@Adám i added other characters
 
My layout gives access to lots of other characters. Which ones were you missing?
 
9:59 AM
A Vyxal keyboard would be cool :p
 
@Ausername Maybe I can add that to abrudz.github.io/lb
 
Oh cool
Vyxal has the builtin keyboard in the interpreter but it'd be nice to have one for general-purpose (chat & co)
Gosh DSO's "compressor" is inefficient - The empty program in s10k "compresses" to 2Q,OBxjiktSfTb/fdV&7<QwR2RFO
 
Is DSO on GitHub?
 
@Adám non apl ones
also your kb layout was for us and uk not for in
 
ty
 
?
Hasn't been updated in a while
 
@Ausername ty = thank you
 
why have you committed .DS_store?
 
10:15 AM
Because I can't be bothered .gitignoring it
�kml���^F����z�,�#�[e" was mean to be some sort of JSON...
 
just don't use a mac kappa
 
It appears something's wrong withmy base conversion :p
 
10:51 AM
@Adám that'd be cool if you did add it
 
@PyGamer0 Yes, which characters?
@PyGamer0 Oh, so you'd want it with Devanagari?
@lyxal I'll be delighted to. I can scrape the glyphs and their meanings from the interpreter, but would you want an actual layout, using a prefix-key, or bi-glyph tab substitution? Also, should the language bar include easily typeable ASCII?
 
@Adám bi-glyph tab substitution
And if you want to scrap the descriptions, use the text file: github.com/Vyxal/Vyxal/blob/master/docs/elements.txt
It's made for easy scraping :p
@Adám and I would prefer printable ascii included too
Thanks in advance!
 
11:10 AM
@lyxal Was that a question as to what it is, or did you understand my "or" as "xor" (which it isn't)? (It means e.g. Av<tab>→Ǎ, but someone would have to decide what pairs would be supported…)
 
It's not cor?
*xor
 
No, e.g. my APL language bar supports both e.g. `,a and aa<tab>→.
 
Aha, I see
Both would be good
 
But both need careful design.
 
We (as in, those who frequent the vyxal chat room) would be able to choose the pairs
Is there a particular format you require them to be in?
 
11:15 AM
No, I use APL for data munging, so pretty much any regular format is easy to deal with.
@lyxal For 2-char <tab> inspiration, explore the APL, Brachylog, and Jelly language bars, and for 3-char inspiration, look at Husk. For prefix-key layout inspiration, look at APL and BQN.
 
11:34 AM
@Adám no
i dont use the script while programming
@Adám some in the unicode 20-ff range and others which i found interesting
i actually made the kb layout because it was easy to make it
 
14
Q: Enlarge ASCII art, Mark II

A usernameRelated Given a piece of ascii art and a factor to enlarge it by, which will always be an odd number >1, replace each character with the corresponding ascii-art, resized to fit on a grid the size of the input number: Character What to do \ \ \ \A line of \ to the length of the enlargi...

 
@PyGamer0 My layout has all the spaces and dashes, most “fancy quotes”, , , all superscript and subscript digits and mathematical symbols, , etc.
 
@Adám ooh
i think i should modify yours
 
11:51 AM
@PyGamer0 Or tell me what you want and I could add.
 
@Adám I'd like to use the two character pairs here: vyxapedia.hyper-neutrino.xyz/misc/char-combos
I'll distill it into a list of only 2 character pairs
Is it okay if some characters have more than one mapping?
 
@lyxal Yes, that's fine, and unless there's a conflict, all mappings also work in reverse. So, e.g. in APL, both -> and >- give but |- gives and -| gives .
 
12:14 PM
Last question: can there be both pairs and triplets?
E.g. div<tab> -> ÷ and -: -> ÷
@Adám ^
 
@lyxal No. Because it wouldn't be clear how back to "look".
 
alright, that's fine. I was just wondering if it was possible
@Adám here's the pair list. The mapping is pair<literal tab>result
I don't think having prefix keys is neccesary
just digraphs + tab should be fine
 
 
1 hour later…
1:31 PM
@Adám Not true, you could just make sure there are no triplets that have a pair as their suffix
Even easier if most of the pairs are two symbols (like -:) and most of the triplets are alphanum
 
Yeah, you're right.
 
1:51 PM
I love how when you google "[language] pronounciation guide" it shows you how to pronounce "guide" in [language]
 
> I'm 11 and I'm new to python,
 
Would have been more interesting if it said "I'm 11 and a Python expert,"
 
@Adám hahaaha
i started programming 4 years ago at my school in 5th standard: CQ: Guess the language
 
Java?
 
@Adám that is what i am currently learning in 9th
why they would teach java to 10yr olds?
 
2:02 PM
They might see, or have seen it, as giving the best chance for a job.
Or maybe, if you can handle Java, you can adapt to most mainstream languages.
Or maybe Oracle was giving incentives…
 
@PyGamer0 Python or Scratch, probably
 
they were teaching QBasic
just the next year they changed the sylabus to teach 5th standard scratch
 
QBasic‽ Sounds like some one in charge of the curriculum grew up in the '80s.
 
@PyGamer0 Mod flag necessary?
^^
 
@user raised
 
2:05 PM
CMP: Which languages did you learn at school/college, if any?
 
@user qbasic; currently JaVa
 
@user You which did I learn at that time, or which ones did they teach?
 
Both ¯\_(ツ)_/¯
 
@user I was (always) learning APL, but taught myself QBasic (and some other Basics, including TI-Basic), some Pascal, MS Word macro language, batch, a little x86 assembler. They taught nothing.
 
Oh wow
 
2:10 PM
It was a different time. Most people didn't have a computer, and fewer still an internet connection…
 
The wow was for the languages, not the school. Unfortunately, a ton of schools still don't have good CS-related classes :/
 
I was learning python, c++, and jelly and was taught java in hs (although i already knew more than what they got to beforehand) and racket and C in my first year
 
Wonder why they teach Java at school
@user In third grade, we were taught a bit of Logo, and then a friend of mine introduced me to Scratch. In middle school, I took a class called Software App Design where they taught IF statements in Excel. That was it. In high school, they finally started teaching Java, but it was mostly useless
 
2:45 PM
@user oh then i learnt vb and python and rn c and little of others
@user yes now i hate java for no reason
 
Meh, it's not a terrible language, but its boilerplate is unnecessary for newbies
 
2:59 PM
62
Q: Use Force Lightning can Yoda?

PriestVallonIn Star Wars Episode II, battling with Count Dooku Yoda was. Force Lightning against Yoda Dooku uses. The lightning from affecting him Yoda stops. Then Force Lightning back at Count Dooku he uses. Using Force Lightning was Yoda or Count Dooku's Lightning back at him just reflecting?

 

« first day (3837 days earlier)      last day (56 days later) »