« first day (3655 days earlier)      last day (1189 days later) » 

1:06 AM
0
A: Sandbox for Proposed Challenges

Dannyu NDosMix my colors This challenge is inspired by the Color Alchemy Patch on NetHack, notably incorporated by UnNetHack 3.5.2. Objective Given two strings indicating colors, mix them according to the rules below, then output it. Colors There are 16 colors in total that are valid inputs. They are catego...

 
1:16 AM
Afternoon y'all
 
3
Q: Output Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo

OrangutanChallenge The goal is to output Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo. Context. (Maybe another interesting challenge could be printing all of the other examples? This would probably use similar logic but involve either a function or just a for loop.) Rules You cannot ou...

0
Q: Code Challenge: How do you write this script?

Micah BolenI have access to a SQL database somewhere in the cloud. I want to download a specific table as JSON. How would I accomplish this? Any programming language. Just something I can run at the command line. Pseudo Code: /* Download a SQL file. */ /* Convert to JSON */

 
 
1 hour later…
2:22 AM
@cairdcoinheringaahing If that's the whole point, just shuffle the built in functions and imported modules in Python (or something).
 
@RedwolfPrograms 32768 is a power of 2 , integer range?
 
@cairdcoinheringaahing I feel like I've seen this somewhere before
The whole entire triples then doubles then singles approach
Hmm.... totally doesn't remind me of my own failed attempt at tacicity
 
2:47 AM
Anyone feel like prepending something like meta.stackexchange.com/a/360350/388243 to the (question) sandbox post?
 
3:03 AM
0
Q: intersection of lists of circles

Michael SternWe have had several challenges about the intersection of circles on a cartesian plane, including Circle intersection area Intersection of circles – How can I reduce this golf code to 127 bytes? Finding Exclusive Area in Circle Intersections This challenge generalizes the task — can you find the...

 
3:19 AM
@cairdcoinheringaahing help: how to make a function in Orst?
okay nvm
I just wrap code in {}
 
4:04 AM
Looks like all but one of my nominations for Best of are doing well.
I should have bet money on them.
 
@cairdcoinheringaahing Wow, this is the perfect language to make you win ! I've been trying very hard to design a language just like this, to no avail.
I fell in love with the language at first sight :P
 
@2x-1 You do realize it’s supposed to make you hate it, roght?
 
@user I don't see the point of hating it. It's the cleverest esolang I've ever seen!
 
Well, I guess love knows no bounds :)
So, anyone want to bet on the winners of Best of CGCC?
 
@user BTW, what I like the most about Hatred is that there isn't even an interpreter for the language. Let's keep it that way.
Imagine this: an empty repository with 50 stars!
 
4:15 AM
Yes, there’s enough evil in the world already, like INTERCAL.
 
CMC: Everyone, star the Hatred repository!
 
Speaking of commands that don't do what you want them to, JS's typeof is horrible
That'd be a good thing to add to Hatred; just skip the 1% of times it works and always return "object" :p
 
@RedwolfPrograms Works in challenges where you could encode the string "object" in a single byte :p
 
Honestly typeof isn't that bad if you don't care about arrays, which is like saying eating a pillow isn't bad if you don't care about food
 
4:45 AM
@cairdcoinheringaahing how does array indexing work in Add++?
 
 
2 hours later…
6:30 AM
Hey have y'all ever made a rock pile?
They are surprisingly fun to make
Just sayin'
 
 
2 hours later…
8:50 AM
@Lyxal Its IMO the most basic approach to parsing a fixed arity tacit chain, just the patterns are horrible
@Razetime Try it online! index goes below the list on the stack stack.pop()[stack.pop()]
 
 
2 hours later…
10:59 AM
Add++ and its function stuff is sometimes aaaaaa
 
@Razetime It's a good example of why you should code to a spec, rather than write a spec for some code
3
 
Reject modernity. Return to tradition. Embrace orst
@cairdcoinheringaahing do square brackets do anything special in Orst?
Or are they just built-ins
 
@Lyxal Errr, I can't remember
 
Lol
Also it seems I'm the top language answerer for orst
Given mines the only answer on the site
(only orst answer that is)
What's the inspiration for the name?
@cairdcoinheringaahing ^
 
11:16 AM
3 mins ago, by caird coinheringaahing
@Lyxal Errr, I can't remember
I think its because it was a shorter better version of Deorst
 
makes sense
 
I like it
I like it a lot
 
love the use of Cyrillic ligatures in the double-byte codepage
 
love how tio just gives up on byte counting
 
I think I asked Dennis to use the "its complicated" beccause ¯\_(ツ)_/¯
 
11:19 AM
lol
...how does the encoding actually work
 
So I made the language like 2 and a half years ago, I've forgotten how half of the language works :P
 
Let me just bring up the repo, cause I can usually figure out my own code
 
the code page on the wiki doesn't have any obvious byte reserved for a combination
but I'm assuming that that is what the deal is
considering that each character is "one or two" bytes, and there's...
 
Absolutely amazing that + doesn't do addition
 
11:24 AM
That's the decode function
if byte == 0xff:
            continue_byte = True
            byte += bytestring[index + 1] + 1
 
...if one codepoint is reserved for two-byte combinations then it would only be 511 characters wouoldn't it
or am i asleep
 
More likely I made a mistake :P
 
Also, amazing that I can't easily push 0
Very cool
 
20 mins ago, by Lyxal
Reject modernity. Return to tradition. Embrace orst
 
Exactly
 
11:26 AM
I cant really remember why I made the language
 
something is definitely weird here on multiple fronts because 0xff is supposed to be newline
unless it's because of the characters that get deleted from the codepage string after you initialize it
 
Think it was an attempt to match Jelly/05AB1E in golfing
 
wait how would that work
 
All these gosh darn new golfing languages allowing you to push the number 0 without a parsing error
 
11:27 AM
Orst does it properly
If you try to push a plain 0, it calls you up on your weakness
It shows you who's boss
 
There's a reason Lyxal is the only person to have used it on the site
 
Okay so you can actually push plain 0
 
also do you have any idea why you made Geo
 
Just not at the end of a program
0 breaks the interpreter. 0 doesn't
 
11:29 AM
I think I made both languages while I was learning how base encoding and byte encoding properly works, so I made languages around those premises
 
so Geo was sort of an exercise in how you could compress a Boolean matrix into something else
 
12:29 PM
0
Q: How to make Roblox follow bot website

keo164do you know how can I make a roblox follow bot website I tried but its not working Plus im using glitch as a website so please give codes according to glitch

 
1:23 PM
@UnrelatedString The code page in the wiki doesn't match the actual code page used by the interpreter
 
@cairdcoinheringaahing 👌
 
 
1 hour later…
2:48 PM
Could someone whose familiar with Ruby take a look at this answer, I'm not sure if the I/O method is invalid or not.
 
3:33 PM
@cairdcoinheringaahing They're extending the Array class to incorporate z as a function
so that it can be called directly on any array
so b isn't predefined
If you're fine with allowing extending the language to create a zipwith function, then that is correct
 
@Razetime Yeah, idk if that's a valid I/O method tho
 
if your challenge says its okay its okay
otherwise ask them to take the array as a parameter
 
@Razetime My challenge says that only the default allowed I/O methods are allowed
 
hmm then extending the language isn't correct
 
 
1 hour later…
4:51 PM
I need help from someone who knows the TIO API
 
@Razetime I've got some experience with it. Should we move to talk.tio?
 
sure
 
 
2 hours later…
6:31 PM
CMC Given a string of printable ASCII, replace all the ABs with CD and CDs with AB
e.g. ABCDCDCDAB => CDABABABCD
 
@Neil QuadR, 11 bytes Try It Online!
 
6:50 PM
Is there a terminal (for linux) that shows Tamil properly? This looks fine here for example அகத்திக்கீரை but looks really bad in the terminal window
 
ngn
7:35 PM
@Anush apt-get install konsole?
 
@Adám ah, so QuadR tries to match each pattern in turn at each position in turn, moving on to the rest of the string every time it makes a replacement?
in that case, it sounds like it's what this guy needs: unix.stackexchange.com/q/631850
 
@Neil Yup. afaik, Dyalog APL was the only language with that feature until Retina copied it.
 
7:50 PM
@Adám no, Retina doesn't match in parallel... if you try that QuadR program in Retina, it fails horribly
 
@ngn I will try that!
 
8:29 PM
@Neil Thanks. Posted.
 
0
Q: What is "symmetry" in evaluation metrics

Cherry WuI'm seeing Mean absolute percentage error (MAPE) is not symmetric. Tried to understand what is symmetry here but didn't find a good answer online. Can I ask: What is symmetry in evaluation metrics? If you can give an easy to understand example will help a lot Why MAPE is not symmetric? What's th...

 
 
1 hour later…
10:03 PM
Gosh diddly darn morning y'all
 
Good afternoon!
I've been thinking a lot and I think I'm going to make Ash stack based instead.
It's boring, but I'm not necessarily trying to make it interesting; I'm trying to make it intuitive and effective at golfing.
 
@RedwolfPrograms have you compared which would be hypothetically shorter through examples?
 
They're exactly the same length for most things, and for anything involving variable numbers of arguments the stack based option is shorter.
If you made the current version of Ash postfix instead of prefix, it pretty much would be the same experience as using a stack based language, but more limited
 
Well welcome to the stack club!
 
10:31 PM
No wonder they call it the stack exchange
 
I mean, I don't think you're wrong - they probably call it that because of Stack Overflow, and that's called that because of...stacks.
 
Exactly
 
I just realized I used // for comments in an explanation for a Python answer.
Too much Java on my mind
 
Well played
 
10:47 PM
Looks like there's going to be some competition between Vim and Whispers for Language of the Month next month.
 
Looks like Vim has won
Don't you mean ARM?
 
No, I just voted for Vim
I saw that @cairdcoinheringaahing used tabs to indent their Hatred code, and decided to punish them for it.
 
Well now whispers is lotm
 
Wait, did you just remove your upvote and downvote Vim?
 
Yee
Caird ftw
Caird forever
Caird is love caird is life
3
 
10:52 PM
They've still both got the same number of upvotes, though.
 
It goes off net total
 
Oh ok
@Lyxal Could more people star this?
 
@cairdcoinheringaahing notice me senpai
Your language is lotm
Come and celebrate with us
 
Factor (which was way late in the game) is surprisingly at +7, tying ARM and Vim
 
Nice
@Bubbler How easy is it to learn (and how fun is golfing in it?)
 
10:56 PM
From my understanding, think forth but easier
 
Well, I haven't actually tried Forth out either, but OK
 
It's not very hard, it's a high-level language that happens to be stack-based
 
Forth looks easy but then you get into the low level stuff
And from there you just die
 
Forth is hard because it's pretty low level, Factor doesn't have that kind of barrier
 
Thank goodness
 
10:59 PM
Golfing it is pretty cool. You don't even need to count imports when the interpreter can do that for you
 
@user I didn't like the stock
 
0
A: Sandbox for Proposed Challenges

EasyasPiGolf this Thumb-2 constant! code-golf integer bitwise number decision-problem Hopefully these tags are correct The sequel to my adds challenge. Hopefully more people like it, as it replaces text parsing with some bitwise operations. One thing that is constantly frustrating when golfing ARM Thumb...

 
And for math guys, Factor implements the whole numeric tower (bigints, rationals, floats, complex numbers supporting them).
 
Sounds tasty and fresh
 
@Bubbler Nice. I need to try it out.
 
11:13 PM
So apparently 05AB1E's Z (maximum of list) deep flattens the list first then gets the maximum element
good to know
CMQ: Should a list of 0s be considered truthy?
E.g. bool([0, 0, 0, 0])
I know python says it's true, but it doesn't feel truthy
 
Just created Factor chatroom for anyone interested
@Lyxal It's your call, you could call a list falsy if all of its contents are falsy, or if any of its contents are falsy, etc.
Like having an implicit any() or all()
 
11:50 PM
someone needs to write an esolang called Stack Exchange whose premise is exchanging stacks
 
@Neil On it.
 
Well, Stack Cats can exchange stacks
I can't imagine how exchanging stacks would be of use, unless you can operate the contents of the stacks too
Or is it stacks of stacks of stacks of ...?
 
Ooh, a Turing-complete language where the only data type is a stack. Is it possible?
 
I think it's definitely possible, because you can represent numbers with stack height
 
I just made a room for it. Let's see how it goes.
 
11:59 PM
@Bubbler it's stacks all the way down!
 
I'm thinking of something like BF for while loops
 

« first day (3655 days earlier)      last day (1189 days later) »