« first day (4055 days earlier)      last day (791 days later) » 

8:02 PM
@RadvylfPrograms here:
WHO IS RED?
RED IS THE IMPOSTOR
RED IS SUSSY
WHEN THE IMPOSTOR IS SUS?
WHILE SUS
VENT 1
VOTE OFF
WHEN THE IMPOSTOR IS NOT SUS?
VENT 0
VOTE OFF
 
GAME: [RED, GREEN, BLUE]
RED IMPOSTOR
RED SUS IF INPUT
BLUE SUS RED IF SUS?
BLUE TALK GREEN
EMERGENCY MEETING
WHILE RED IS NOT SUS
VENT 1
 
which language?
 
@mathcat Amongus, i think
 
Hypothetical amogus lang
The idea is, game terminates if red is voted off
 
nice
 
8:06 PM
@emanresuA wat
where did we say that
 
Didn't, this is my own idea
 
0
A: Sandbox for Proposed Challenges

AnttiPDoes it halt? Perhaps code-golfopen-ended-function Your task is to write a program so that it's unknown (an open problem) if the program halts or not. To clarify, this doesn't mean that the program can flip a coin and halt or not halt based on that. Rather, the program should always definitely ei...

 
@RadvylfPrograms ahhhh
@emanresuA that's i-couldn't-think-of-a-better-hidden-message level :P
and my-encoding-is-way-too-dense level
 
nvm
 
@RadvylfPrograms Correction: Redwolf has managed ... and deserves all the credit for this!
 
No, it was your idea :p
 
True, I was the inspiration. But that's to be expected :p
That's super exciting!! It's working for me.
I think you should add an error box to the front-end like right away! That's where OISB shines over all others, so I think you really want to demo that and show it off!
Right now both stdout & stderr are shown in the output box.
 
Only reason I don't yet is to hide the fact that stderr currently is a bit broken for compiled languages :p
 
If you mean Vyxal, that's always been a bit broken...
@RadvylfPrograms Do you mean compilation errors?
 
8:53 PM
Partially those, but also weird stuff happens with all sorts of errors
 
60592333 Haha, you can always set those up to stream "stderr for compiled langs in progress" to the stderr box, and add 2>/dev/null.
 
Small issue though, likely a typo
 
@AviFS :60592333 works
 
Or, if you're willing to add a bit of logic to the front-end, just hide or dim the box for compiled langs.
 
That would take longer than just fixing the issue with compiled languages :p
 
8:55 PM
Oh. It would?
Well, do it then :pp
 
Soon, busy right now. I want to work on the config-to-start script some though.
 
No rush at all!
 
CMC: Fix Stack Exchange with as little code as possible
 
0 bytes
 
9:07 PM
0
A: Sandbox for Proposed Challenges

musava_ribicaPick the best seat in a vehicle We have eight seats in a vehicle, represented by numbers: 1 2 3 4 5 6 7 8 Two people get in. First person will pick the seat X. Number X will be inputted to the program. The second person will pick the furthest seat from the first person. For example, if per...

 
Syntax highlighting bug of theday
@hyper-neutrino Can you deal with this please?
 
@emanresuA Is that the greek or whatever letter that looks like a semicolon?
or an actual syntax highlighting bug
 
Actual bug afaict, but it disappeared when I tried editing it
 
Well, I now have a 30% in Latin!
10% of that is 8 participation grades in their own category
So I have 22% of the actual work done
And even then, some easy quizzes near the beginning have biased that quite a bit
This class is so possible to complete in the next few months mhm yep definitely
There is no problem and there is nothing that needs to be done about it
 
9:27 PM
use google translate
Actually, that might work?
 
No lol
Google translate is utter garbage at Latin, and what we're quizzed on mostly wouldn't be improved by using google translate
We do use some latin-specific dictionaries though
 
Oh, ok
 
And share quiz answers and finished assignments
 
Thought it might be good because latin's so structured
 
Yeah, but not structured in the way google translate's machine learning is good at
 
9:29 PM
Oh
 
Even with like, über-cheating we're still ridiculously far behind where we should be
After I do some work on config-to-start, I'll add Elixir, 05ab1e, Vyxal, Husk, Japt, Bash, Zsh, and BF
APL would be on the list but I'm waiting until 18.2 because I can't figure out how to use 18
 
What did you replace gvisor with?
 
gVisor's still there, but with some shims and hacks for certain languages
There are some possible security risks involved in what we did, so the specifics won't be specificified
 
... it's open-source
Someone's gonna find it eventually
 
This is a very temporary setup
It's not going to get pushed and it's not going to stay up for more than a few months
But we're running it on a more or less disposable droplet, and we've decided it's better to have RTO running at a slight security risk than to let the project die off
The worst case scenario is RTO goes down for a few days and someone runs a crypto miner on our $6/mo droplet
And even that would take a ton of effort and I trust y'all not to do that
 
9:40 PM
... Can't someone just poke around the inside of the containers?
 
Yeah
That's going to be possible regardless of what security's in place
And I invite people to do all the damage they want to a container that will cease to exist 20s later
 
@emanresuA google translate is unbelievably bad at latin
 
What I mean is, they can get the runner code from there
 
Oh, no. It's all either stuff outside the container, or just changes to what environment the language is running in (like installing stuff on alpine instead of debian)
 
Oh :P
I was trying to run ls in haskell
import System.Process
main=putStr readProcess "ls"
 
9:45 PM
2022-03-07 21:44:19.8340 dock(rgookfocqboo).child.on(throw): "\n"
2022-03-07 21:44:19.8350 dock(rgookfocqboo).child.on(throw): "main.hs:2:6: error:"
2022-03-07 21:44:19.8350 dock(rgookfocqboo).child.on(throw): "\n"
2022-03-07 21:44:19.8360 dock(rgookfocqboo).child.on(throw): "    • Couldn't match expected type: String ->"
2022-03-07 21:44:19.8360 dock(rgookfocqboo).child.on(throw): " t\n"
2022-03-07 21:44:19.8370 dock(rgookfocqboo).child.on(throw): "                  with actual type: IO ()\n"
2022-03-07 21:44:19.8370 dock(rgookfocqboo).child.on(throw): "    • The function"
There's your error
In nice readable format too
 
Oof
 
Sample config file for C:
{
    "id": "c",
    "start": [
        {
            "type": "stream",
            "from": {
                "type": "code"
            },
            "to": {
                "type": "file",
                "file": "main"
            }
        },
        {
            "type": "child",
            "child": "gcc",
            "args: [
                {
                    "type": "c_args"
                },
                "-o",
                "main"
            ],
            "stdin": [],
            "stdout": {
Opinions?
 
@RadvylfPrograms This is what shell scripts are for
 
10:01 PM
 
CMQ I have a text file with lines like bpa.st/KTOA. I want to read it in a line at a time in Python so I get the three floating values and the list put into 4 different variables. How on Earth do you do that?
this chatroom isn't as busy as it used to be!
 
good point
not sure why
 
I asked on SO but they already hate me :(
 
10:18 PM
@Anush ill work on it
 
@BgilMidol thanks!
 
@Anush golfed or not?
 
@BgilMidol let's start not golfed
then golf :)
 
@RadvylfPrograms At least Lyxal can't as easily make puns about your username
 
@Anush will there always be 3 floating points in a line?
 
10:22 PM
@BgilMidol yes
 
@Anush what is the expected output?
 
@BgilMidol set the three floats to a, b, c and the list to l
 
@Anush I mean the exact output.
 
@BgilMidol well I really want a,b, c to actually contain floats and l to actually contain a list of integers. I am not sure how to show that in the output
 
10:26 PM
@Anush can I remove the spaces in the list?
@emanresuA same answer for me. also, we allow duplicate answers
 
@BgilMidol once it is a list of integers then I guess that is automatic. But you can't change the input
 
@emanresuA Deleting the program is different from making the code execute once.
@Anush hmm
 
It's a subset though :P
 
@Anush I can do it if the list values don't have spaces ([1,2,3])
 
10:33 PM
@BgilMidol not the question though :)
 
@Anush why not try to remove the spaces in the lists
 
here is a non-golfed answer
def parse(line):
    p1, p2 = line.split('[', 1)
    p2 = p2.split(']', 1)[0]
    a, b, c = [float(n) for n in p1.strip().split()]
    list_of_integers = [int(n) for n in p2.split(',')]
    return a, b, c, list_of_integers
now it just needs golfing!
 
@Anush alright
how about:
@Anush Try it online! for 147 bytes (was 223 bytes)
 
@emanresuA No
OISB's start files need some very specific buffering and preprocessing, shell scripts don't work for that
 
write your own language
 
10:44 PM
I mean, the config JSON almost is its own language, tbh
 
True lol
Wow the new MDN docs look cool
 
Dadvylf programs
5
 
Chadvylf programs
 
Plaidvylf programs
 
10:58 PM
TIL Radvylf has an arity of 2
 
I suppose monadvylf programs would also work
 
As would triadvylf
 
Niladvylf
 
I could continue UserScript but with radvylves
 
7 mins ago, by lyxal
Chadvylf programs
 
11:01 PM
gladvylf
fadvylf
madvylf
 
Hey whoa let's not devalue radvylf puns. We need to save them up and use them sparingly to do the most damage possible.
 
I have one more
I swear it's funny
 
Wow. just wow.
 
@RadvylfPrograms this'll give me time to build up a library of horrible name jokes
 

« first day (4055 days earlier)      last day (791 days later) »