« first day (4161 days earlier)      last day (696 days later) » 
00:00 - 20:0020:00 - 00:00

12:25 AM
@emanresuA wait im confused, what exactly does it do?
 
[a, b] = [stack.pop(), stack.pop()]; stack.push(a)
 
oh right i forgot pop is meant to discard an item
i was like "where does the other one go??"
 
1:00 AM
Sandbox posts last active a week ago: Seeing the queen's lasers, Interpret BigTalk
 
i still think bigtalk could work if it changed more about the language
 
Yeah, but I have no idea what to do with it
 
pretty much anything :P
maybe a way to halt early?
 
Ooh, I have an idea
 
:D exciting
 
1:17 AM
0
A: Sandbox for Proposed Challenges

emanresu AInterpret BigTalk Talk is a language which takes a single bit of input and has four commands: 00 If the accumulator is 0, set the accumulator to 0. 01 If the accumulator is 0, set the accumulator to 1. 10 If the accumulator is 1, set the accumulator to 0. 11 If the accumulator is 1, set the accu...

 
There seem to only actually be three things a Talk program can do: Return the input unchanged, return 0, or return 1
Since 00 and 11 are identity operators, and 01 and 10 both set the accumulator to a constant
 
do you think its tc
(talk complete)
 
Possibly
 
the challenge doesnt seem bad but it doesnt really seem like its talk related anymore :P
 
Well, it talks in about the same way some people do, either agreeing no matter what you said, disagreeing no matter what you said, or rewording exactly what you just said and acting like it's adding onto the conversation
 
1:22 AM
lmao
i agree completely
 
lmao
 
so true
 
We're all 11
 
@thejonymyster talk isn't tc, as all talk programs terminate IIRC
 
The variantishn't I've created might be
 
1:32 AM
i mean your variant is just a slashes derivative isn't it? :P
it doesnt do the "keep replacing until it stops changing" thing though, it seems
 
Yes it doe
Oh waitn vm
 
2:10 AM
@RadvylfPrograms I disagree
 
2:21 AM
Just showed a friend ArnoldC
CMQ: I've gone and (partially) implemented nilad-dyad pairs as single monads. Should I just go all the way and group nilads until either there's another nilad or it becomes at least a monad?
E.g. ND is grouped as a single element, so is NMD, but NMND is grouped as (NM)(ND)
Since taking input is a nilad, I don't want to go too far. Thoughts?
 
honestly I don't get the purpose of grouping like that
 
@emanresuA wait what
what does taking input... take
 
Oops, nilad
 
prolly an amouint
oh, i mean monadic input could make sense
"take n bytes"
 
@UnrelatedString Input, silly :p
 
2:33 AM
@Bubbler The main purpose is so that modifiers (Like Jelly quicks) can easily take multiple elements.
 
tbh if youve never seen it done that way i say do it just for the experimental value :P
 
so you want to group ND into an M and NM into an N?
 
Pretty much
 
Either do normal stack-based or go full tacit, but halfway like that is just going to create problems
 
Vyxal goes halfway and it works
 
2:35 AM
sounds like it's subject to recursive grouping explosion
 
i just realized what tho9se letters stood for -_-
 
come to think of it what would the possible problem be with the get-input nilad
are you thinking of also having some kind of implicit cycle-stack, so the problem would be that the grouping actually consumes something that's supposed to live on the stack "reusably"?
 
@thejonymyster How did you hit a 9 in the middle of that sentence
 
it's close to o
 
qwerty o9 adjacency yea
 
2:37 AM
@UnrelatedString Actually I guess not too much. hmm, interesting idea. Will think about it
 
That's actually really cool that google/DDG/whatever you're using can do B64 conversion for you
If a little unintelligently
 
omg how do i get the inverse of that
i just had a great idea :P
 
@RadvylfPrograms Still sus tho
 
needs code golf tag still
nvm
they just edited it in lol
 
2:48 AM
Wait but they also removed the "this is code golf" part...
Fixed
 
3:16 AM
Big problem
26
Q: Add a hidden language to a polyglot

emanresu AInspired/mostly copied but I don't think it's a dupe. Also Inspired. In this challenge, you will create polyglots that include all languages from previous answers, and another language which you won't share and others must guess. The first language prints 1, the second prints 2, etcetera. For exa...

Basically every rSNBATWPL answer here is a snippet, not a full program
And I don't think the rules allow that
I think DSO's behavior of acting like a REPL and printing the result of the last statement is really misleading and contributes to that (my fault for not pointing that out earlier)
 
dang shouldve said that earlier lol
like when the answer was posted
i think too late now
 
Didn't realize until now
 
just cite "interpreter is language" and call it a night? :P
 
I suppose an exception could be made since the behavior of literally every interpreter except the Node/NPM one is basically a one-time-use REPL, but it's kind of annoying now that I'm aware of it lol
 
r/accidentalgolfinglang
unrelated but does anyone know how to steal code from google
i want that stupid google docs "draw shit and we'll find a bunch of similar unicode characters" for offline use
(for codepage reasons ofc, im on topic ;P)
 
3:28 AM
No need for google
 
ty kindly
 
As opposed to "ty rudely" :p
 
@pxeger multi threading :P
@RadvylfPrograms i will remove that.
 
@emanresuA sounds good to me
So long as your modifiers are prefix there shouldn't be too much trouble
 
@thejonymyster Agee Ed
 
3:49 AM
CMQ: what *doesn’t a gollang need?
 
Crypto utilities
 
redundancy, sanity checks, the ability to define extra types
 
input
 
So just a redundancy fixing thing I was thinking about for stack languages is putting all trailing nilads at the start of the program before running
Like if you run 3+ 4 it puts the 4 at the front before executing it
Thoughts on the idea?
 
wouldn't be super useful but it could make some literals shorter
like in your example 3+4 is shorter than 4 3+
and you can put a string at the end with no trailing quote then still be able to actually use it
...maybe push trailing nilads under implicit input at the start?
so you sort of have this option of implicit swap in some cases
and choosing to write something with trailing nilads is more usefully distinct from writing them at the start to begin with
 
3:59 AM
@UnrelatedString like adding them to the list of inputs?
 
i suppose so yeah
like if you want to divide the single input by 5 you can 5/ but if you want to divide 5 by it you can /5
...which would confuse the absolute hell out of anyone who tries to think of it like infix :P
 
that rules
could make for some funny cnr antics as well :P
 
ahahahah
yes
 
4:45 AM
@lyxal Ooh, adding this to my WiP golflang
 
And me to Vyxal 3
 
5:44 AM
@UnrelatedString somewhat similar to my variable fixity idea
 
oh?
that sounds
very interesting
 
Nov 16, 2021 at 13:45, by pxeger
@RedwolfPrograms here's an idea I once had: stack-based, but if a function call has fewer arguments on the stack than it needs, it takes them all and puts a partial function on the stack; the next time an item gets pushed on the stack, it will be consumed by the partial function. This would make 1 2 +, + 1 2, and 1 + 2 all the same
 
oh yeah that
 
tictac
 
6:18 AM
@lyxal ಠ_ಠ on the compiled code
 
...investigated that comparative and what exactly does Coherse mean
ah
Oct 26, 2021 at 10:56, by pxeger
my point is that "coherse" is definitely not a word lol
i guess it's somewhere between "cohere" and "coerce"
 
6:39 AM
Is meta down for anyone else?
 
Nope?
 
a bunch of random things are down for me, e.g. discord and some sites
 
Might be a cloudflare thing
 
$ delv meta.stackexchange.com @1.1.1.1
;; resolution failed: SERVFAIL
dammit cloudflare
 
I was having cloudflare issues before but it's working now
 
6:44 AM
For me: Quora, discord, conlang.org. All down. 'Tis quite annoying.
 
interesting, i can access codegolf on my local pc but not on my work vpn
 
yep i'm seeing various issues too
 
Interesting. Perhaps it is geographical in nature?
 
discord mega dead
cgcc seems to load but slowly
 
Is scala-js.org down for everyone?
 
6:46 AM
Reddit is up. Yes, 'tis down @emanresuA. For me, that is.
 
seems so
 
Switching my DNS to 9.9.9.9 instead of 1.1.1.1 has solved some of the problems
but any site that goes through cloudflare itself is still down
 
Likewise @Pxeger.
 
Ah, imma bookmark that site.
Good to know of.
Thanks!
 
6:50 AM
Even outage.bingo is down :(
 
interesting, it works for me
 
I get error 500
 
yeah, apparently it's geographic, people on twitter are saying everything is fine in france
 
i think this is going to be a really interesting writeup
 
6:53 AM
@emanresuA i got that the first time but now it's actually a cloudflare page telling me 522
 
Cloudflare always do a good job of incident writeups yeah
 
Unlike cough SE cough
 
SE never goes down. I don't know what you're talking about
 
and specifically the 522 page is telling me cloudflare servers are connecting fine but are themselves timing out when trying to reach outage.bingo
which is really weird for a problem that is itself clearly with cloudflare
 
^^
@pxeger Yeah, SE going down has never been recorded by SE.
 
6:55 AM
@UnrelatedString pxeger.com shows that too, but if I know for a fact that the origin server is working fine, because it's the same server running staging.ato.pxeger.com
 
amazing
 
Yeah, pxeger.com is down
Although ato.pxeger.com is up for me
 
that's because ATO doesn't go through cloudflare, but my personal site does
 
Why :P
Does your personal email work?
I'll try emailing you
 
Identified - The issue has been identified and a fix is being implemented. cloudflarestatus.com
Thank god!
 
6:59 AM
@emanresuA yes
 
i really wonder what's causing the mismatch in coverage, like what happened to these services that managed to corrupt the local DNSes?
maybe some bad refresh code that wasn't updating them correctly
 
I bet y'all it's a missing null terminator
 
Or maybe (god forbid) a = instead of an ==?
Ah, everything is up again (at least for me).
 
ngl the only site i've found to be down is discordstatus.com lol
(not even discord itself)
 
7:08 AM
Bruh
 
@hyper-neutrino what?
 
amazing
 
@pxeger
> All emails with job offers will be unconditionally ignored.
Auto-filtering?
 
discord finally back for me
...mostly
 
@UnrelatedString basically type dictionaries from vyxal but worse
 
7:19 AM
ah
 
> Monitoring
> A fix has been implemented and we are monitoring the results.
> Posted 2 minutes ago. Jun 21, 2022 - 07:20 UTC
 
7:43 AM
I tried doing the legendary Haskell fix error but it doesn't work
 
7:57 AM
TIL typescript's smart enouugh to handle conditionals where if something executes nothing else will
Like: (a: 0 | 1) => { if(a == 0) return 5; if(!a) return 6;} will throw a compile error on the !a because at this point it'll always be false
 
8:45 AM
Cursed idea: Postfix digraphs for a golflang
 
as in the digraphs are distinguished by suffixes? yikes
 
@pxeger An idea for Newspeak: Don't allow builtin combinations that are collectively NOPs e.g. double reverse or increment decrement
 
 
1 hour later…
May 30 at 9:08, by pxeger
I also thought about trying to write an "optimising compiler", but in reverse, so that you can't write things that are suboptimal like 1+1 (you'd have to write 2 instead)
non-trivial ;)
@emanresuA I think at least one in the Pyth/Japt category has something like that?
 
11:05 AM
@pxeger Although if you mantain a list of redundancies and simply make each character's possibilities depend also on the previous char, that should work
Ooh, since you have such static typing you can do even more optimisation for specific types
 
because this wouldn't necessarily be eliminating arbitrarily large redundant snippets, just eliminating small known redundant sequences
 
Clearly, the general case of this is undecideable
but even simple cases like 1 1 + are very hard to remove from the syntax, and especially will make encoding ridiculously complicated. It's already basically O(n^3)
 
Wouldn't it be as simple as running an optimizer on your code and comparing the changes?
Like maybe running the Closure compiler on some JS and alerting the user wherever the compiler has stuff the source didn't or vice versa
@Bubbler Are you accepting PRs to that repo btw? I want to practice some Rust and writing interpreters would be fun
Btw, what happened to TiB?
 
12:09 PM
@user You are grossly overestimating how good optimizers are today. They have some basic heuristics for replacing bits of bytecode for more efficient bits of bytecode. They don't normally remove a entire part of a program if it's a no-op, especially if someone is purposefully opposing it
 
Ah ok
 
I watched a talk recently about the impacts if a real optimizer was ever invented. You could hard code input into a program, then optimize it to create a specifier. Thus optimizing a interpreter with a program would create a optimal program like a compiler. Optimizing the optimizer on itself would create a optimal compiler from any interpreter.
 
12:30 PM
@user No, not accepting PRs for now, though my mind may change later
I'm aiming for performance and a usable cli this time
and for TIB, I concluded the current design doesn't quite work
Maybe I'll make TIB 2 if I feel like it would work again
 
1:07 PM
Ah ok
 
 
2 hours later…
2:42 PM
i just realized that most is scored in base 255
 
how so?
 
> The fig is the edible fruit of Ficus carica, a species of small tree in the flowering plant family Moraceae. Native to the Mediterranean and western Asia, it has been cultivated since ancient times and is now widely grown throughout the world, both for its fruit and as an ornamental plant.
vs
> Flax, also known as common flax or linseed, is a flowering plant, Linum usitatissimum, in the family Linaceae. It is cultivated as a food and fiber crop in regions of the world with temperate climates.
cmp: which is the cooler wiki description :P
@Seggan wait how?
 
3:02 PM
@PyGamer0 Obviously fig
@PyGamer0 @lyxal becuase we score in bytes, not bits
each byte = 255
@PyGamer0 they messed up your casing
Fig is longer anyway
 
@Seggan thats not what base 255 means :P
if it were actually base 255 (and i think you mean 256 but whatever) the program b would score higher than the program a
 
oh yeah
*facepalm*
 
...which could be a funny code challenge score system if it werent almost the same as regular code golf lol
 
@emanresuA Yes! #inclusiveor
 
4:11 PM
anything else this before post?
there was a small issue where i flubbed the test cases but it should be all fixed now :)
 
0
Q: Find the walls឵឵឵឵឵឵឵឵឵឵឵

pxegerThis is a simpler subset of my previous challenge Don't touch the walls!, as suggested by Jonah. Given a multi-dimensional rectangular array of integers between 0 and 9, output all the elements which are "touching the edges". Output is very flexible: it can be in any order, and may be flattened o...

 
@NewPosts I haven't tried to program it yet, but I suspect this one will actually be harder in BQN than the previous challenge
 
4:37 PM
@DLosc what do you (yes you) think about this codepage
 
i wish there was a way to force monospace regardless of font :P
 
@thejonymyster 𝚝𝚑𝚎𝚛𝚎 𝚒𝚜
𝚒𝚝'𝚜 𝚓𝚞𝚜𝚝 𝚔𝚒𝚗𝚍𝚊 𝚜𝚝𝚞𝚙𝚒𝚍
 
4:54 PM
@pxeger what is the way ? :-)
 
oh lolol
no i meant for anything
like all the weird unicode n such
 
there needs to be a "combining monospace" char :P
 
Yeah, because what Unicode really needs is more features
 
Unicode should just be ASCII, and then everything else is combining characters
 
5:02 PM
Unicode should be reduced to the null character and one combining character, to make a unary encoding
 
@PyGamer0 you should maybe get rid of the note about .s representing empty spaces :P
 
CMC : shortest program to attempt to allocate memory infinitely (like while true { malloc(1) } or string = ""; while true { string += "x" }))
exact spec: memory usage must be at least linear with time, and the program must run forever or until it runs out of available memory
 
5:36 PM
@PyGamer0 I'd like it quite well, if it weren't for the fact that most fonts won't properly monospace all the characters. :( I appreciate how there's only one set of dotted letters, and I like the mathematical symbols and Greek letters.
Though I will say that lowercase o and lowercase omicron shouldn't both be in there, since unfortunately there's no way to distinguish them. Same probably goes for superscript 0 and degree symbol.
If you want a Greek letter to use instead of omicron, ϡ might be a good option.
 
6:21 PM
@pxeger bf, depends on the flavor: +[+] or +[>+]
 
with arbitrary-sized integer cells, +[+] increases only logarithmically with time, right?
 
oh right cause of like, how numbers work :P
its probably doable that way in bf but yeah idk how then /shrug
 
@pxeger APL:
x←⍬
→x,←2
 
i was scared for a second there that you meant the empty program
having trouble thinking of langs where it isnt as trivial as the string thing but also probably possible :|c hmm
 
6:43 PM
@pxeger W1lPB1 should work in Pip, I think
 
GitHub Copilot is now generally available: github.blog/…
6
 
@pxeger Oh dear... if that starts being used frequently, bad things will happen.
 
@pxeger BitCycle, 6 bytes (doubles the number of bits on the playfield every 4 ticks)
 
@pxeger Linear in theory, or for real?
Wouldn't be surprised if V8 optimizes away a lot of the obvious ways in JS
@pxeger I don't think that's a correct usage of , right? It's not just "a program that does a thing", otherwise it would apply to practically everything
Ooh TIL ray tracing can be done with sound too
 
6:59 PM
@RadvylfPrograms woah? link?
 
@RadvylfPrograms sure it is, read the tag desc
 
Well sure, but that fits a huge variety of challenges
 
its an open ended tag :P
 
I read it as more of "a function (as in, you give it input and it produces output) which can implement one of a variety of algorithms which satisfy some property"
@thejonymyster Which is bad :p
 
7:01 PM
it should be rewritten a bit maybe
cause intuitively i think we all know what it actually means but like
yknow
 
I think "function" in "open ended function" is referring to functions in the more mathematical sense...taking input and producing output, and allocating infinite memory is not a function (nor is it at all open ended IMO)
 
right agree
is this an open ended function?
 
I'd say yes, since there's infinitely many ways you can do it, due to the variety of distributions you could choose from.
But it's borderline, and I personally wouldn't've included the tag
Since it adds basically nothing and devalues the tag in the future
 
i dont see how this is open ended at all :P
sorry now im just scrolling through the tag and nitpicking XD its fun for some reason
 
7:17 PM
@RadvylfPrograms I don't see how its use on that challenge is different to on most others
It's arguably something like a meta tag
 
But what you're asking for is neither open ended nor a function
 
it doesn't really describe the approach you'll need to take in solving the challenge, which is the main use for tags
 
No, but it's a particular type of challenge, which yours clearly doesn't fit in
 
"can implement one of a variety of algorithms which satisfy some property" is clearly the important part
The fact it's not a mathematical function is not very relevant
 
@pxeger But that's true with every challenge
There's always a way to do it with a different algorithm. What matters is that if one answer f(x) returns 2 given 3, another answer g(x) might return 3 given 3. The actual values of the inputs and outputs doesn't matter or have to be consistent with other answers or some spec, it just needs to follow some property.
E.g., a function which always returns an even number. Doesn't matter which even number, or how it's determined. That's obviously a super trivial and boring example, but it's different from regular in that the actual function you write can vary in what it does not just how it does it.
 
7:36 PM
@pxeger IMO meta tags is a dumb concept. It's not really a thing, it's basically a proxy for bad tags but with a nonsense definiton that only serves to obfusticate conversation. There are bad tags and it's more useful to discuss whether a tag is useful rather than whether it is "meta".
 
@RadvylfPrograms and how do these challenges not fit the description of "varying in what they do, not just how the do it"?
 
phrasing mistake?, the f(x) 2=>3 g(x) 3=>3 is an example of an open ended function in contrast with standard code golf where f(x) 2=>2 and g(x)2=>2/
 
@pxeger Difficult to say since your challenge doesn't even involve any functions
 
(i think i misunderstood which challenges were "these challenges" oopsie)
 
There's no input and output, so there isn't really anything you can do other than side effects, which I don't think can really be talked about in terms of open-ended vs. not-open-ended
 
7:49 PM
i definitely think the tag desc should be clarified either way :P
 
It's a bit difficult to clarify in just the excerpt though
But yeah it definitely needs more clarity
 
00:00 - 20:0020:00 - 00:00

« first day (4161 days earlier)      last day (696 days later) »