« first day (4088 days earlier)      last day (755 days later) » 

5:14 AM
doesnt this kinda seem like the sandbox: meta.stackexchange.com/questions/377768/…
or am i just going crazy
 
5:32 AM
i would not at all be surprised if it's inspired by it
a couple of sites have their own sandbox already and i had a discussion about it with the cms at our last meeting
 
@AidenChow it's a better version, because it'll (should) be actively supported by SE, rather than some hacky workaround that we use
 
While helpful, it can't actually replace the sandbox without a lot of features that SE's probably not gonna implement :|
 
Idk, a lot of the features detailed in that post are either equivalent or better than existing Sandbox stuff
The only thing I dislike about it from a Sandbox PoV is
> Questions that are not approved by Reviewers will be auto-published after a defined period of inactivity, except for questions that have received a close vote or flag, or where a Reviewer has asked for major changes that were not made.
 
i'm not a fan of it being restricted to people who have access to it as reviewers
unless that's something we can custom set
 
...yeah for this to replace our sandbox it would definitely need some custom tuning
 
5:46 AM
@cairdcoinheringaahing yeah i'm not a fan of that cuz it makes it not really practical for us to use sandbox for very WIP things that might take a long time to actually become usable or are purely ideas for a while
gonna make a bot that autoflags everything in the staging ground to prevent auto-posting
3
 
@allxy now that's a good one
 
@hyper-neutrino I don't hate this, but I do prefer the Sandbox being open to all to review
 
@pxeger and a kinda useful one :p
 
This is definitely doable. It will go on the system with a network-wide default and then would be customizable per site. — Yaakov Ellis ♦ 2 days ago
2
"This" being the inactive posting thing
 
5:49 AM
We'd want it to be settable to "100 years" though
 
perfect
 
is that doable?
 
i'd hope "disabled" is a valid setting lol
 
set it to 5 years, forget it wasn't disabled, and face a dramatic crisis when the time comes
 
there are a lot of things i wish SE let us set per-site that would make the site a lot better catered to small sites / weird sites like us that wouldn't even really require any new features
 
5:50 AM
@pxeger I suspect so. We have quite a few site specific settings that are "high enough to basically mean never"
 
lol yeah isn't our autoprotect setting like 10000 answers or smth
 
@pxeger The year is 2122. Thousands of low-quality questions are flooding the gates of CGCC. We do not know how much longer we can survive...
6
 
@hyper-neutrino Yep, Shog absolutely hiked it up because of the Sandbox
and I think Catija increased it on main a while back as well
 
@pxeger Prefix operators already exist in Python, how hard would the postfix ones be to implement?
 
5:53 AM
Postfix would be slightly harder than prefix, but for just a new statement it would work fine
 
Just add a __rop__ to all the type classes (where op changes for the postfix op name) :P
 
if it's only usable as a statement and not an expression does it even matter which side the ++ is on
or is that not what you meant
 
++a would be ambiguous with +(+a)
which, to be fair, is the same in C
 
To truly settle the debate, it should be ++a++ and both pre and post increment
8
 
@pxeger How does C sort that out?
 
5:54 AM
i assume it just tries to do ++a if it's not illegal to
 
@allxy C has ++ as a separate token
 
@cairdcoinheringaahing I just realised that one reading of this means that ++a++ would add 2 to a
 
and return a+1?
 
...oh god, that's bad
 
tio.run/##Sy4o0E1PTv7/PzOvRCE3MTNPQ1OhWqEotaS0KE/BUEFbW8HIWqH2/… nvm it just tries to do ++ and if it fails it just dies
@cairdcoinheringaahing and even better, it returns the value in between, not a or the final a + 2
 
5:57 AM
2 mins ago, by pxeger
and return a+1?
 
...does Proton have a separate type for 1???
 
sympy
 
ah
 
apparently does
 
5:58 AM
ah
 
keep in mind that proton was made several years ago back when i had literally zero knowledge of how to actually make programming languages
 
It also has a type for Half as well
 
@allxy Also, One should be callable, and return... well, 1, when called
 
i kinda want to make a new language sometime now that i've just finished a course that had us literally make a programming language :P
 
5:59 AM
> return postfix_operators[tree.token.content](tree.children[0], symlist)
 
@allxy yeah thats why flax doesnt use sympy, i dont need a separate type for one lol
 
Proton settles the debate then, ++ is postfix
 
i thought i was taking a course like that but it was just implementing a boneless lisp in java
 
@hyper-neutrino Are you planning on using the language here?
 
@cairdcoinheringaahing Try it online!
 
6:00 AM
@cairdcoinheringaahing wdym, the language that i plan to make or the one from the course
cuz the one from the course is just an extremely small subset of c++ lol
 
Yes
@hyper-neutrino Definitely use it then :P
 
:p
yeah our assignments were like
 
It's already small, it'll do great here :P
 
ಠ_ಠ
 
@hyper-neutrino show the syntax :0
like fizzbuzz
 
6:02 AM
procedures → procedure procedures
procedures → main
procedure → INT ID LPAREN params RPAREN LBRACE dcls statements RETURN expr SEMI RBRACE
main → INT WAIN LPAREN dcl COMMA dcl RPAREN LBRACE dcls statements RETURN expr SEMI RBRACE
params →
params → paramlist
paramlist → dcl
paramlist → dcl COMMA paramlist
type → INT
type → INT STAR
dcls →
dcls → dcls dcl BECOMES NUM SEMI
dcls → dcls dcl BECOMES NULL SEMI
dcl → type ID
statements →
statements → statements statement
statement → lvalue BECOMES expr SEMI
 
@hyper-neutrino Honestly it's not bad
 
that's the parser specification
@allxy oh trust me it is :P
 
BECOMES?
 
BECOMES is = lol
anyway yeah i won't disclose much more in case policy or whatever but as you can see it's extremely limited
 
@hyper-neutrino For a second, I thought that was a sample piece of code in the language
 
6:03 AM
lol
 
^^
 
@cairdcoinheringaahing Lol, same
 
Even the most cursed languages don't replace ( and ) with LPAREN and RPAREN :P
 
well
thanks for the idea
 
oh no
 
6:05 AM
print lparen quote Hello, World! quote comma end equals quote \n quote rparen
 
IN PARSE COPY 3 SWAP MODULO 110 GOTO SWAP SKIP SWAP SWITCH PROCESS 3 RECIPROCAL MULTIPLY FLOOR 9 GOTO PROCESS "LUCKY\N" SWAP "UNLUCKY\N" SWAP SWITCH POP 0 GOTO PROCESS
 
JAVA?
 
add an operator that isn't :: but just the literal text T_PAAMAYIM_NEKUDOTAYIM
 
java was once my primary language
 
6:07 AM
@UnrelatedString ^^
#redundancy
 
what does that mean lmao
 
lol, ADDITIVE_INVERSE :P
617
Q: PHP expects T_PAAMAYIM_NEKUDOTAYIM?

Peter TurnerDoes anyone have a T_PAAMAYIM_NEKUDOTAYIM?

 
It's PHP, what do you expect?
 
what language is that
or does it not actually mean anything
 
6:09 AM
hebrew
 
obligatory phpsadness.com
 
> F BIT_FLIP: Pops the top of the stack, flips all bits, and pushes the result onto the stack. Only works on numbers. For example, 7 F will return 0 because 7 = 111, 000 = 0. 10 F will return 5 because 10 = 1010, 0101 = 5
hyper, I do not like this
 
why not :P
 
so F F is not an identity lol
 
6:11 AM
For starters, you'd expect this to be self-inverse, but 7 F F is 1 :P
 
(I'm guessing it's 1, I don't actually know)
 
oh is that what that is
 
6:12 AM
the TIO version isn't updated
or i never implemented the short form of bit flip
@cairdcoinheringaahing is there something wrong with that
 
no worry, I'll just add it to ATO
 
please don't
 
Please don't
 
I'm sure it's a really valuable use of my time and disk space
 
Save your server
 
6:13 AM
@hyper-neutrino F doesn't change the stack size
 
I̷̢̻̼̖̲̒̀̈́̽̕Ṫ̵̢̧̡͈̻͗͝͠͠ ̵͚͙̻̣̣̀̋̓̀̓B̴̥̞̠̻͔̿͂̿͘͝Ë̵̢̩̠͚͚́̈̒̎̒G̵̦̖̦̜͓̔̑̌͒͝I̸̻̞̹̼̤͆̄̄͐̚Ň̴̪͓̤͉͈̂̏͆̈́S̷̰͙̞̥̱͊̅̆͘͘
 
¯\_(ツ)_/¯
your guess is as good as mine
 
@cairdcoinheringaahing Just did that lol
 
@cairdcoinheringaahing isn't the link you sent me just hello world
 
6:14 AM
You made it :P
@hyper-neutrino Ah whoops
I meant the one that allxy sent
 
ah
anyway if you want even more cursedness just look at the positron source code
it attempts to build the parse tree token-by-token
i think that's LL0?
 
You meant proton, right?
 
no i meant positron
 
Oh great, another one
 
unsurprisingly, hyper-neutrino likes naming languages after subatomic particles
 
6:17 AM
Lol ikr
 
i forget how to define functions
 
@cairdcoinheringaahing Not entirely
 
Branch is actually a cool language :P
 
> final commit
lmfao
 
Lol
 
6:18 AM
@cairdcoinheringaahing And I'm not just saying that cause I helped name it :P
 
it's also really cursed
 
@hyper-neutrino IIRC, it's also got an online interpreter with no sandbox, despite being handwritten C
 
@pxeger i'm pretty sure i killed that
but you are correct
 
6:20 AM
@pxeger If it's on hyper's server, it won't have survived the crashes
 
I remember spending an afternoon trying to find a memory corruption bug, because I was I sure there would be a way to get ACE
 
@allxy Proton 2: Subatomic Boogaloo
6
 
i don't believe it is capable of causing harm since it has too few features to have ACE and it has manual memory and operation counting and commits suicide after enough resources are used
anyway in case you hadn't lost all faith in me yet, here's some positron code
 
is that @ like Mathematica
 
@hyper-neutrino Bash meets Mathematica :P
 
6:21 AM
yes
except you can't call functions without it
for some reason?
 
@pxeger Probably not, coming from hyper.
It's probably the soul-corruption operator
 
I think the soul-corruption operator would be hyper-neutrino himself
 
I need to finish the spec for Mixology :/
 
also the same as Mathematica
 
6:23 AM
oh really?
see i am good at making languages
 
And K I think
^^
 
Mathematica uses list[[index]]
 
ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ_ಠ
 
oh
 
6:24 AM
tbh i think i achieved most of the goals i had in mind when making proton
even though it has a lot of weird bugs i can't figure out and is overall terribly scuffed
 
@hyper-neutrino I think that level of function application is the direct antithesis to Rutger lol :P
Functions taking more than one argument? Nonsense!
 
lol
pro tip when making coding languages
if you don't want to write a parser just make people write code in ASTs
and call it a "feature"
 
@hyper-neutrino even better, if you don't want to write an interpreter, just make people code in the language your language is written in :P
 
big brain moment
 
That's a long line of code: codegolf.stackexchange.com/a/206781/66833
Actually, I have no idea why that works. I overwrite the variable containing the loop during the loop ಠ_ಠ
 
6:30 AM
lmao what
 
Yeah, I have the main loop in the i variable, then immediately overwrite it:
> i=i[{s=Array[Str[$x]];e=Each[$s];e=e[@i]
The e=e[@i] creates a variable i as the iteration variable
 
Rutger is so cursed
At least proton looks usable on the surface and is for basic stuff
 
Rutger is usable :P
It just doesn't want to be :P
 
Lol
CMC: Use Mirror
 
6:46 AM
CMP: What should dyadic pq do?
 
What does monadic pq do?
 
palindromise? (because it's a visual palindrome)
 
wait i mean p and q separatly
 
or horizontal mirror or something
 
I'm sat in Geneva airport at the moment, and idk why or how, but my laptop is connected to eduroam wifi O.o
 
6:51 AM
CMP: What should p and q do (both dyadically)?
 
What do they do monadically? That's the best way to pick a functionality
 
just give up on q like jelly did
 
@cairdcoinheringaahing flax is fixed arity
 
@UnrelatedString Even my fork doesn't have a command for q :P
 
@UnrelatedString ok lol
what about q for quotient after division?
wait thats just integer division oof
 
6:54 AM
make q the quantum command
given two arguments it creates a superposition of the two
 
or, more practically, pick one of the two at random
 
Random choice
 
how many random choices do i need
i got a monadic one already
 
Random choice between the two arguments isn't a bad option if you're struggling to fill out dyads
 
well ok
what about p?
 
6:57 AM
given that quit has no return value, you could just make q a dyadic quit which ignores its arguments
even though it should logically be a nilad
 
@PyGamer0 That should pick, at random, one of its arguments :P
 
or just append :P :P
ok then p is pick
and q is dyadic quit whatever that is
 
dyadic quit is just "quit execution", but where it ignores the arguments provided
 
ok
    "q": attrdict(arity=2, call=lambda w, x: exit(0)),
wait i have 50 quicks what
and i think i added a fold-fixedpoint and scan-fixedpoint
i can overload a lot on fold and scan ....
 
oh yeah what does your fold do on monads
 
7:12 AM
I suspect its the same as my fork: <monad>/ is the same as ,<monad>¥/
 
@cairdcoinheringaahing well i decided to change it
 
I'm heartbroken :P
 
@UnrelatedString it does the same thing as k now
 
i'm almost thinking an option could be to just consume until it hits a dyad, and compose all the monads along the way onto the right
 
@UnrelatedString So DMMM/ would be DMMMʋ/?
 
7:14 AM
@UnrelatedString +AJKHFAKJHFAJKFHᐣ´ should do the same thing
 
yep
not sure how useful it would be exactly
 
That's disgusting, I love it
 
but it is an idea
@cairdcoinheringaahing er, i actually meant DMMMƊ¥/, but that might be more useful
 
That does the same thing
 
er
DMMMƊ}¥/
 
7:16 AM
Oh that's worse :P
 
much worse
it would pretty much just be a shitty way of mapping the monad[s] over everything but the first element before the fold
versus your interpretation actually inserting something into the fold
 
DMMMʋ/ basically allows for "run-time" post processing of the fold, DMMMƊ}¥/ just ^^ yeah
@UnrelatedString Tbh, that's not exactly an easy thing to do. I think Ḣ;MMMƊ€ƊD/ is the shortest
 
to compensate for it being useful, the monads should run in reverse order :P
 
Random order, randomised between each step of the fold :P
 
example for flax's fixedpoint scan: =``W8
exact copy of the k version =\\&8
 
7:34 AM
CMQ In python if I want to convert “278.000” to the int 278, do I really have to do int(float(“278.000”)). ?
 
No
Just int("278.000) should work, no?
 
^
no actually it doesnt
wait
hmm
thats interesting
 
@lyxal sadly not
 
maybe strip the .000?
 
int("278.000")

ValueError: invalid literal for int() with base 10: '278.000'
 
7:38 AM
@PyGamer0 tried that, its the same byte count
wait actually strip returns a string, so it would be longer
int("278.000".strip(".0")) longer than int(float("278.000"))
i dont see a shorter way atm sadly
 
9
0 1 2 3 4 5 6 7 8
36
1 2 2 3 3 3 4 4 4 4 5 5 5 5 5 6 6 6 6 6 6 7 7 7 7 7 7 7 8 8 8 8 8 8 8 8
i implemented k's monadic & in C lol
 
how do i do a markdown table without the header
best i can do is
||||
|:-:|:-:|:-:|
|stuff|more stuff|even more stuff|
but it leaves a gray line on top
 
8:06 AM
@AidenChow thanks for trying!
I actually have a list of these strings so I need the ridiculous [*map(int,map(float(L))]
 
@graffe i think you meant [*map(int,map(float,L))] if im not mistaken
 
@AidenChow yes, sorry
it's still ridiculous though :)
 
8:29 AM
@allxy I think that's a node from an unloaded document (e.g. frame removed)
 
8:44 AM
Interesting and kinda cursed :P
 
9:15 AM
@allxy am I missing something or does ({\u006cog}=console);\u006c('\x5b\x2e\x6c\x46') work?
 
@Neil console contains l
 
That's ... cursed
TIL
({\u006cog}=conso\u006ce);\u006cog('\x5b\x2e\x6c\x46') works though
But wow that's cursed.
Is JS java now or something?
 
and wtf it literally only works with identifiers
 
@allxy should I post that as a crack?
 
If you want, sure
 
9:23 AM
@RadvylfPrograms ... it's actually a minor plot point in OotP?
 
Yeah, umbridge, although doesn't fantastic beasts (the book) postdate OotP?
 
Mar 10 at 16:01, by PyGamer0
does flax count in the "array languages" category :P
 
@allxy apparently the reference in HP isn't to FB
 
@Neil with(conso\u006ce)\u006cog('\x5b\56\x6c\x46') for 45
 
@allxy bah, I've closed the window now
 
9:29 AM
Oh well :P
 
oh I found in my recent upvotes
@RadvylfPrograms only half? slacker
 
9:48 AM
Chrome's navigator.userAgent is cursed
'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.75 Safari/537.36'
Hmm yes
 
 
3 hours later…
12:56 PM
Just been watching gameplay of Patrick's Parabox and holy frick my brain is hurt right now because recursion and cloning
also, I like how VS Code just decided to add coloured brackets in the latest insiders build
 
wdym?
rainbow parenthesis?
 
 
oh taht
@lyxal are there only 3 colors?
 
yes
 
ok
i am forking an existing vim plugin for rainbow parenthesis
 
1:39 PM
CMQ: Online interpreter for HQ9+?
 
Run any valid solution for the HQ9+ challenge
 
but i need it to ignore invalid chars
 
Then no
 
1:54 PM
uh
Why can I not write echo*:/2 3 in J?
 
@BgilMidol what are you trying to do
and what is the error?
 
2 to the power of 3
 
ok
@BgilMidol *: called dyadically is NAND
you should probably get the reference card
 
2:09 PM
whats nand
 
Not AND
 
oh
how do i reduce by pow?
 
@BgilMidol here is the reference card: code.jsoftware.com/wiki/…
 
2:57 PM
CMQ given a bipartite graph I can find a maximum cardinality matching using Hopcroft-Karp. But how can I find two different maximum cardinality matchings?
 
3:49 PM
@Neil Oh, yeah, I think I remember that now. It's been like 8 years since I read the books
 
lol
Wordle 294 2/6

⬜🟨🟨⬜🟩
🟩🟩🟩🟩🟩
 
nerdlegame 80 5/6

⬛⬛⬛⬛🟪🟩⬛⬛
🟪⬛🟪🟪🟪🟪🟪⬛
🟪🟪⬛🟩🟪⬛🟪🟩
🟩⬛🟪🟩🟪🟩⬛🟩
🟩🟩🟩🟩🟩🟩🟩🟩
 
Wordle 294 3/6

🟨⬛🟨⬛⬛
🟨🟨🟩🟩⬛
🟩🟩🟩🟩🟩
 
4:05 PM
Today's wordle word seems very odd
I'm two guesses in and the letters I have have me stumped
 
lol
 
Wait no it's just a very typical english word lol
⬜🟨🟨🟨⬜
🟩🟨🟨⬜⬜
🟩🟩🟩🟩🟩
 
Questions have been really slow recently
 
Yeah, they have. I've been trying to think of one for a while now, I think CGCC just has a collective lack of ideas lol
Plus some of our main question askers have been busy doing other stuff recently
 
@RadvylfPrograms i think i have an idea
but idk if its a duplicate
 
4:13 PM
0
Q: Optimally break a string into words

Radvylf ProgramsGiven a string, like potatocarrot, break it into the smallest number of substrings possible. These substrings can consist either be a single character, or one of a list of words passed as input. For example, if [carrot, potato] was the input, the optimal way to break the string up would be [potat...

 
nerdlegame 80 4/6

🟩⬛⬛🟪⬛🟩🟩🟪
🟩⬛🟩⬛🟩🟩🟩⬛
🟩⬛🟩🟩🟩🟩🟩⬛
🟩🟩🟩🟩🟩🟩🟩🟩
#Worldle #78 6/6 (100%) 🙈
🟩🟨⬜⬜⬜➡️
🟩🟩🟩🟨⬜↖️
🟩🟩🟩🟩⬜➡️
🟩🟩🟩🟩🟨↙️
🟩🟩🟩🟩🟨↙️
🟩🟩🟩🟩🟩🎉
https://worldle.teuteuf.fr
 
hey hey, we have a new question!
finally
 
#Worldle #78 2/6 (100%)
🟩🟩🟩⬛⬛⬅️
🟩🟩🟩🟩🟩🎉
https://worldle.teuteuf.fr
 
bruh
 
4:30 PM
Just came back from Fantastic Beasts 3
It was awesome!
 
ugh #Worldle #78 X/6 (92%)
🟩🟨⬜⬜⬜⬅️
🟩🟩🟩🟨⬜↘️
🟩🟩🟩⬜⬜↖️
🟩🟩🟩🟩🟨↘️
🟩🟩🟩🟩⬜↖️
🟩🟩🟩🟩🟨↖️
https://worldle.teuteuf.fr
oh i never realized there was a country image
 
it's unusually invisible today tbf
 
@Seggan same
92%
 
> I could ... use shaped charges to breach the walls of the datacenter and then go wild on your servers with a shotgun
Not the most subtle DoS attack but I suppose it works
Now I'm curious to see what happens when you shoot a running server point blank with a shotgun
 

« first day (4088 days earlier)      last day (755 days later) »