« first day (2336 days earlier)      last day (2802 days later) » 

15:00
space and dash counts
but in the case of a language like sed, supplying the first -r arg counts as 1 byte (because I think you need a flag to call sed without any additional flags)
I've heard 1, 2, and now 3. Is there a meta-post?
I've never heard 2
@KritixiLithos In Martin's example under #The Catalogue, he wrote 43 + 2 (-p flag) = 45 bytes
290
Q: "Hello, World!"

Martin EnderSo... uh... this is a bit embarrassing. But we don't have a plain "Hello, World!" challenge yet (despite having 35 variants tagged with hello-world, and counting). While this is not the most interesting code golf in the common languages, finding the shortest solution in certain esolangs can be a ...

Could I get some expert Haskell golfers to take a look at this? Every byte I take off greatly reduces my score.
@obarakon what
@obarakon Its just the number of bytes that has to be added to the command. This can be 1, 2 or 3 depending on the conditions.
spent 3 hours today fucking with pcaps to prove to some american SIP provider that the quality issues are on their end
fun times
@KritixiLithos In this post Martin wrote 43 + 2 (-p flag) = 45 bytes hence the 2-bytes per initial flag example.
How to avoid this disturbing repetition: "Unicode Codes of the characters"?
15:05
Uni(code)*2s
@WheatWizard Ok, that's what I'm leaning towards. So this is in fact +2 bytes for the -P flag, right?
@HyperNeutrino Seriously now. I am writing a sandbox post.
Oh okay sorry
@obarakon Why is -P in the input?
How about "Unicode charcodes of the characters"? That at least puts something between the repetition.
15:06
Usually it would go in the arguments
@WheatWizard That's where they go in Japt.
How do you evoke this in a standard terminal?
i.e. not TIO
@HyperNeutrino That's better, but now we repeat both char and code, although it sounds better :P
@Mr.Xcoder How about "Unicode points of the characters"
@WheatWizard I don't know how to answer that, I've only used TIO and the interpreter
15:08
@WheatWizard Perfect, thanks
ooh nice
@obarakon I don't know how many bytes this is. I would consider taking it up with meta or asking the creator if there is a way to evoke this in a standard terminal environment
@HyperNeutrino How in the world did you achieve Mortarboard already?
@Mr.Xcoder By posting 3 questions that got a fair amount of upvotes
@WheatWizard Ok, thanks
15:10
It might not even be allowed at all. IIRC extra input is not allowed, and this might be considered extra input
Cool @HyperNeutrino
Output a highway: 29 upvotes yesterday, 5 today
How much rep did you lose today?: 11 upvotes yesterday, 8 upvotes yesterday (but separate events because of UTC time
etc.
So I should have gotten 275 rep yesterday + assoc
75
(well actually 5800)
but I lost 75 to the cap
@WheatWizard That would be unfortunate, I will ping the creator.
15:13
@HyperNeutrino NO, you have written that: "How much rep did you lose today?: 11 upvotes yesterday..."
Could I get some expert Haskell golfers to take a look at this? Every byte I take off greatly reduces my score.
@Mr.Xcoder oh well that was the name of a challenge lol
Oh, I am so dumb (again)
man, Golfing in Rust is basically scouring the docs for the shortest default available type conversions. Still, seems to usually beat other lower-level compiled langs.
0
A: Sandbox for Proposed Challenges

Mr. XcoderWhere should we play tennis? Johnny really wants to become a famous tennis player, but he is very sad because the town he lives in does not have a court for him to train on... Your task is to make Johnny's dream come true: Build a tennis court. In other words, output this exact text: ╔════╦═══...

15:20
Can I have your opinion on the new sandbox post. I have found this challenge:
43
Q: Let's play tennis

DopappI suddenly really want to play tennis, but alas I do not have a court! Surprise! This is where you come in. You have to print a tennis court for me, but you have to do it in the fewest bytes possible because of confidential reasons. Tennis court --------- | | --------- | | | xxxxxx...

But that one ^ is far easier
Can it be considered a dupe?
IMO, this is not the case, because my challenge also follows a slightly different pattern
And different character distributions.
Can those answers be easily or trivially modified to answer your challenge?
And also, ASCII vs UNICODE
I wouldn't CV for anything
Jim
Jim
@Mr.Xcoder Challenges about Kolmogorov complexity are popular lately
@HyperNeutrino Keeping in mind that one is like 10x15 and mine is like 40x75, no
ah yes, true
They cannot be trivially modified.
15:24
then it would probably not be a dupe.
@Mr.Xcoder that one is 9x9
@EriktheOutgolfer Yes, just counted by eye.
Well anyway gtg now, I have a math exam to go write :P (see my most recent challenge post by NMP later) :P o/
btw why caret reply doesn't work
anti-ninja died maybe?
15:25
@EriktheOutgolfer What is caret reply?
taco script
carrot.jpg
@Mr.Xcoder I should implement box-drawing drawing in SOGL :p
@dzaima how to draw a box drawer?
carrot.svg
Okx
Okx
15:29
@EriktheOutgolfer how to draw a drawer of a box drawer?
@Okx how to put a drawer of a drawer of a box drawer in a box?
4
Q: Classify Quadrilaterals | Help me with my math exam!

HyperNeutrinoHelp! My math exam is coming up soon and I didn't study! 1 Part of the exam is to classify a quadrilateral given its vertex coordinates, which I, unfortunately, do not know how to do. 2 So, your challenge is to write a program to do this for me so I don't fail! Challenge Given four vertices su...

@dzaima Do it fast.
Okx
Okx
@Mayube you be dennis
I am planning to post it tommorow or so.
Okx
Okx
15:31
Well, adding a feature and knowing it will give you an advantage to a specific challenge that is known to be posted in the future is a standard loophole.
If I ever implement it I'd add it as an extra submission in the same post just for fun :p
@Okx I think we were both joking
In the programming language (I gave up) creating, it was about 75 bytes.
@HyperNeutrino are the coordinates in order?
nvm that's a dumb question
just realized that my palindromisation commands don't do anything for box drawing characters
Okx
Okx
palindromisation*
15:33
@dzaima I feel evil now
bye implementing it
@dzaima Mark it as non-competing then
I'll add it as a non-competing don't worry
Can anyone suggest a better title for this?
1
A: Sandbox for Proposed Challenges

Mr. XcoderWhere should we play tennis? Johnny really wants to become a famous tennis player, but he is very sad because the town he lives in does not have a court for him to train on... Your task is to make Johnny's dream come true: Build a tennis court. In other words, output this exact text: ╔════╦═══...

Is x↑(x↑y) equal to x↑↑y?
15:35
I changed the title. Is it better now?
@Mr.Xcoder but uses characters ಠ_ಠ
I there any simpler form of x↑(x↑y)?
tag wiki: " Typically this uses only 95"
@KritixiLithos I didn't tag it as ascii-art
Someone edited, and I said thanks without looking at the edit :\
@WheatWizard AFAIK you can use double-arrow
15:40
Ok
How should I tag it, if it is output art, but made of unicode characters?
@Downgoat How am I supposed to build VSL before testing it, again?
@Mr.Xcoder
@LegionMammal978 you odn't beed to build when doing a test
@DJMcMayhem It's because of the rendering on mobile
15:41
@Dennis could you add babel-preset-es2017 to babel jode
@Downgoat But the cache is being annoying
@Downgoat Actually I think its weaker than double arrow, I'll just have to leave it
@DJMcMayhem ^
@DJMcMayhem seems like its drawing spaces smaller than box drawing characters
@dzaima How does it look on your device?
Is this a mass rendering-problem?
15:44
@DJMcMayhem ^
@Mr.Xcoder worse :p
@LegionMammal978 It seems correct
the lines don't fit in the screen
Are you on mobile @dzaima ?
@LegionMammal978 rm ~/.babel.json might mot be a dotfile`
15:45
@Mr.Xcoder On PC it looks fine, but on mobile browser - no
yup, clearing the cache made it stop bork
@dzaima It's ASCII art, on mobile not even test cases are displaying correctly
@Mr.Xcoder We've goat to get a court
It's a goat-court
@Downgoat I'm not sure if I want the title to be that way
I don't want to get downgoated by evil sheeps
Why the downgoat?
No more clutter! Deleted the sandbox post
Can anyone figure out why this implements (x↑(x↑y)) instead of (x↑↑y)?
16:11
@Downgoat How do I put multiple statements into the REPL at once?
@WheatWizard Is x!y tetration?
If so, it should be x!y=x^(x!(y-1))
@LegionMammal978 Yeah unfortunately that costs me bytes.
@WheatWizard Then too bad, that's the definition
I forgot that was not commutative.
Also, it should be x!1=x
yeah, but My aim is to create the fastest growing function so I get free points for using 0
16:16
@WheatWizard I was young and dumb when I created Japt and didn't know how to do anything in a terminal, so you actually can't run a Japt program directly from the terminal (You have to write a JS file that imports Japt and runs the program with the input). That's why TIO uses a custom wrapper and why flags go in the input field.
Hm this seems like it might need a meta then
@WheatWizard ??? 2³ = 8 < 9 = 3²?
Alright, I'll write one up
@LegionMammal978 Yes? I don't see your point.
@WheatWizard I don't see where you got the idea that exponentiation was commutative
16:19
Multiplication is commutative
addition is commutative
...by definition
My personal opinion is this: generic flags only require two bytes to be added to the input, so it should only count as two bytes. Not sure whether putting them in the input affects anything
And exponentiation is the first operation not specified by the actual field
yeah, I just didn't think about it too much
Oh well, I don't think sometimes either :p
@Downgoat ?
16:21
@ETHproductions I was young and dumb when I created Carrot, so now I am rewriting the interpreter for the fourth time :P
@LegionMammal978 semicolon
@KritixiLithos No kidding. I've already rewritten the internal side of the Japt interpreter twice, and now I'm getting ready to do it a third :P
@Downgoat thx
@ETHproductions in node this time? :D
It already supports node halfway
I mean, you can use it in node
16:23
I really should rewrite SOGLs preprocessor and execution system, but I'm too lazy :p
It's just not designed for node
You should do in node and webpack it
But it's freakin' designed to be easily integrated into the online interpreter :P
Back in the day the internal and external sides of the interpreter were one and the same
But... yeah, maybe it is time to move on
question: should I sandbox that?
@ETHproductions yea that is what webpack does
You get benifits of node (multi files, modules, up to ES8 features, and still get to do in browser)
16:30
@BusinessCat I made a relationship chart for my languages
@cairdcoinheringaahing it's a login page? o_O
wut
When I put class A { init() {} } into -dast it works fine
@EriktheOutgolfer yeah of course! (Not really, I hate my computer)
But when I write a test with that in it, it borks and says it's ambiguous
Yeah I just get a login screen when I click on the link
16:33
@Downgoat Alright, I'll put that on the menu for Japt 2.0
@cairdcoinheringaahing you still have to login
@totallyhuman there you go
@EriktheOutgolfer its not inspired by any language
Okx
Okx
16:40
@totallyhuman brain and chuck was not made as a result of valyrio
@Okx its from brainfuck
it's not mine :P
yeah its not very clear
i know what it means tho
wait Valyrio isn't √aı¥®IØ¿?
You have any ideas @Downgoat?
16:42
@EriktheOutgolfer no they have totally different syntax
Yes
@LegionMammal978 Yes
@Downgoat As to why the test is bork?
Wat test borl
See my messages above
@DestructibleLemon BTW, you added Sad-Flak to the list of PPCG-language relationships, but it caused a bunch of errors because of the -. I fixed it by changing Sad-Flak to "Sad-Flak"
16:50
@LegionMammal978 hm try updating from master. Does it give ono ambiguity error?
@Downgoat fancy doing my challenge with Cheddar?
Or a type deduction ambiguity
@LeakyNun link? On mobile atm
19
Q: Swap the two given indices

Leaky NunGiven an array of positive integers and two distinct valid indices, return the array with the two elements corresponding to the two indices swapped. You may choose to use 0-indexing or 1-indexing, but the testcases below will be 0-indexed. array m n output [1,2,3,4] 0 1 [2,1,3,4] [5,8...

Also, @DestructibleLemon What is your language design question? You asked me while I was asleep last night, haha
@Downgoat kinda been writing some tests, don't want to lose them
It's not ambiguous with -dast tho
Jim
Jim
16:51
@LeakyNun I didn't notice you were the OP ;)
@Jim well you know now
Jim
Jim
@LeakyNun Tell me, you had the Pyth answer all prepared, yes?
@Jim no I don't
Jim
Jim
I can't believe you wrote it that fast
@Jim oh, my record is 52 seconds
Jim
Jim
16:53
Well, I assume I'll just have to believe it now
10
A: Create a checkerboard matrix

Leaky NunJelly, 4 bytes 52 seconds! +€ḶḂ Try it online!

@LegionMammal978 stash pull unstash?
@Downgoat More like stash checkout-master pull test checkout-develop unstash?
and this goes together
"52 seconds!" like I'm not used to it... — Erik the Outgolfer Jun 15 at 17:35
16:57
@LegionMammal978 git stash; git fetch origin; git merge origin/develop; git stash pop
@Downgoat So what's the difference between fetch and checkout?
Checkout switches to branch fetch downloads the bew stuff from github
And git merge?
fetch downloads changes but keeps them seperately. To merge downloaded origin changes you have to explicitly do that
you could call git pull but it's less powerful
1
Q: Full programs, functions, and snippets in Mathematica

ngenisisRelated: Are objects in Haskell valid if there is no input? This answer prompted a question that I've wondered for a while so I could answer New users' guides to golfing rules in specific languages, which is what exactly constitutes a full program, function, and snippet in Mathematica (more accu...

17:02
@Jim so will you change your answer?
But yeah, still get an ono ambiguity error when adding the test to master
Oh don't touch master
just use develop things
master is eeird
Also, what does M <filename> mean on git checkout's output?
Modified filename
13 mins ago, by Downgoat
@LegionMammal978 hm try updating from master. Does it give ono ambiguity error?
Did you mean origin?
@Downgoat Does it store that somewhere?
17:05
@LegionMammal978 oh shit >________< sorry
@LegionMammal978 store what specifically?
Jim
Jim
@LeakyNun If you don't mind
@Downgoat The modified file on a non-checked-out branch
@Jim of course not; that's the whole point why I commented
17:07
@TuxCopter XD
@LegionMammal978 its stored as a commit?
@Downgoat ??? I did your commands to switch to master and fetch from origin, rewrote the test there, ran npm test (which borked), and ran git checkout develop which gave me an M test/...
And you don't want me messing with master
Wait did you stash the change?
You only have to do these:
13 mins ago, by Downgoat
@LegionMammal978 git stash; git fetch origin; git merge origin/develop; git stash pop
No need to checkout master
> DECEARING EGUEEGEGEGE EGG - sums up literally half the video
Oh god, I didn't notice "Delicaceness of deep-sea squeeze trees" the first time through. That's the best xD
@Downgoat I stashed the change on develop before doing all this
Ok have you popped the stash yet?
17:13
one sec
3
Q: N-dimensional identity "matrix"

Leaky NunGiven a positive integer n, output the N-dimensional identity "matrix", which is the N^N array with 1 where all the components of the indices are equal and 0 otherwise. N^N means N-by-N-by-N-by-... 1: [1] 2: [[1,0],[0,1]] 3: [[[1,0,0],[0,0,0],[0,0,0]],[[0,0,0],[0,1,0],[0,0,0]],[[0,0,0],[0,0,0]...

(Don't do it if you haven't)
@Downgoat The last several commands in my bash history:
 2062  npm test
 2063  git stash --help
 2064  git stash save
 2065  git checkout master
 2066  git pull
 2067  ./vsl --help
 2068  ./vsl -dast
 2069  git fetch --help
 2070  git merge --help
 2071  git info
 2072  git fetch origin
 2073  git branch
 2074  git merge origin
 2075  ./vsl -dast
 2076  medit test/Parser/classes.js
 2077  npm test
 2078  git checkout develop
 2079  history
What should I do from here
Jim
Jim
@LeakyNun I learnt .r by the way. I think its documentation is quite obscur, but I cannot come up with a better description ^^
"Translate each element of A to its cyclic successor in B."
@LegionMammal978 ok now that you are in develop, run the commands I specified before and tell me what it outputs at the end
17:17
@Jim nice
@Downgoat But what about the M ...?
@LegionMammal978 that basically says that file is modified and not committed yet
git won't discard that change thouj
lm978@basement:~/VSL$ git fetch origin
lm978@basement:~/VSL$ git merge origin/develop
Already up-to-date.
lm978@basement:~/VSL$ git stash pop
error: Your local changes to the following files would be overwritten by merge:
	test/Parser/classes.js
Please, commit your changes or stash them before you can merge.
Aborting
Ok yeah commit and then pop the stash
Can I erase the changes? Don't want them commited
17:22
Yea u can git checkout @ -- things to disard
Where things to disard is the filename?
Yeah or if you have multiple files separate their paths by spaces
Okay, I popped the stash
Test is still bork
Ok now what is bork given
That class A { init() {} } works in ./vsl -dast but valid`class A { init() {} }`; gives an ono ambiguity ;_; error
17:26
Hm try rebuild using npm run dev and try in REPL
Same results
In REPL? Can U do a git diff origin/develop -- src/vsl/parser
???
class A { init() {} } still works in ./vsl -dast after npm run dev, valid`...`; still fails
Ok what is output of git diff command
17:32
Wat
try remove babe, json
???
Okay, removed ~/.babel.json, now what?
Retry test
Test still gives an ono ambiguity
Try create branch and push
???
lm978@basement:~/VSL$ create branch and push
No command 'create' found, did you mean:
 Command 'pcreate' from package 'python-pyramid' (universe)
 Command 'pcreate' from package 'pbuilder-scripts' (universe)
create: command not found
17:38
Commit your changes then do git checkout -b test/name-of-test-changes and the git puhs
*push
trying to buy a game - "The Steam Store is experiencing some heavy load right now. Please try again later."
lel summer sale
lm978@basement:~/VSL$ git add .
lm978@basement:~/VSL$ git commit -m"constructor tests"
[develop 27d304b] constructor tests
 4 files changed, 31 insertions(+), 102 deletions(-)
lm978@basement:~/VSL$ git checkout -b test/constructor
Switched to a new branch 'test/constructor'
lm978@basement:~/VSL$ git push
fatal: The current branch test/constructor has no upstream branch.
To push the current branch and set the remote as upstream, use

    git push --set-upstream origin test/constructor
quick coding challenge... iterate over all pairs of sets of integers A and B each with 7 elements in them so that |{ab | a in A, b in B}| <= 19
is that too hard for code-golf?
you mean a...CMC?
@betseg can you explain CMCs to me? All I know is what the acronym stands for
is it just literally something you ask in chat and people do what they like with it?
17:42
@Downgoat ^^^^^^
or is it something more formal?
i.e with points and winners etc.
like, someone says "CMC: return 1" and others message with f(){return 1;}, ·f->1 etc, nothing formal
ok so let's say CMC then :)
see how that goes
@LegionMammal978 run the command it suggests
history has been revised :)
17:47
@Downgoat remote: Permission to vsl-lang/VSL.git denied to LegionMammal978.
Oh wait, I misunderstood
Shoot, my bad
@LegionMammal978 check gh, sent u invitation
And I accepted it
That is a 3d Identity matrix, not an N-dimensional
But it still won't let me
17:50
@LegionMammal978 try now
Why make all test one line?
Because that is the method of the Almighty Sheep
my CMC may have been a little tricky :)
I will sandbox it
n-dimensional identity matrix forces you to code in infinite dimensions...
17:58
CMC: Identity matrix in brain-flak
why won't this work
@DJMcMayhem that's not exactly cmc though...how many dimensions?
Only 2
@totallyhuman Don't see the issue
it doesn't error
but why does it change every cell to 1
18:02
The funny thing about this is that this didn't even show up on my math exam.
Question: Is connecting via both WiFi and Ethernet bad?
Jim
Jim
@HyperNeutrino Usually only Ethernet is used in that case
Rod
Rod
@totallyhuman deep vs shallow copy of the list
@EriktheOutgolfer Fair enough. How about this: I'll give 50 points to the shortest brain-flak answer to this challenge at the end of the week?
4
Okay. Thanks.
@DJMcMayhem why not make an infinite bounty?
18:05
Nah, not hard enough for an infinite bounty
@totallyhuman Because all of your arrays are the same thing. You're multiplying a nested list, which is a shallow copy, so all of the elements are updated at the same time.
(Not star-begging or anything, but could someone star that for visibility?) (Thanks!)
I have that problem all the time.
@DJMcMayhem That one?
>.> i totally thought i had that
18:05
@HyperNeutrino Yeah
@DJMcMayhem How exactly do you represent matrices in BrainFlak?
@HyperNeutrino IDK, by pushing spaces/newlines between ASCII numbers? :P
@Rod oh hey that worked
is my answer different enough?
18:08
@DJMcMayhem oh like that
ok
1
Q: How to score "command-line" flags in Japt

ETHproductionsWhen I first created Japt I was young and innocent, and I didn't know how to use a command line. So I created the interpreter with HTML and incorporated the JavaScript right into that. As Japt grew up, I added more features, one of which is a set of flags that slightly change the behavior of the...

0
A: Sandbox for Proposed Challenges

caird coinheringaahingUse all your characters! Your task is to output the largest number possible, using all characters in your language's code page. Code Page There are two options when talking about your language's code page: A predefined code page, such as in Jelly or 05AB1E If your language doesn't have a pre...

0
A: Sandbox for Proposed Challenges

LembikIterate over pairs of sets Consider all possible pairs of sets of integers (can have positive, negative and zero values) A and B such that |A| = |B| = 7. Define the set T_{A,B} = {a * b | a in A, B in B}. We say that two pairs of sets X1, Y1 and X2, Y2 are equivalent if T_{X1, Y1} = cT_{X2, ...

18:25
too many proposed challenges!
Rod
Rod
@Lembik challenges are like coffee, there is never too many
Amen, fellow coffee lover
I suspect you are wrong on at least one of those two counts
@ASCII-only just noticed slice and aren't in the docs and encoding respectively...
18:42
@DJMcMayhem I agree, but my stomach doesn't.
My stomach may becoms relevant in the near future now that finals are over, but up to now I've been drinking all the coffee
Question: if I am not of drinking age can I still go into a bar (I'm not going to drink or anything)
@Downgoat Probably depends on the bar/jurisdiction
@Downgoat Not in the United States
18:55
:(
Also, you have any ideas why the test is bork?
@EriktheOutgolfer I have an acid stomach. Coffee doesn't exactly help with that.
The Node debugger is regularly unhelpful
@Downgoat Why do you need to go to a bar?
@Dennis I'm just imagining a stomach consisting of entirely (lining and everything) corrosive acid
18:57
caret reply sucks
@Downgoat Move to Germany. At 16 years, you're allowed to enter bars without parental supervision and drink beer.
@Dennis oh...\
@LegionMammal978 But the concentration of the acid depends on what you ingest. It gets quite uncomfortable when the concentration is too high.
@Dennis wait don't you guys have like autobahns where you can go at very high speeds O_o
that seem like bad idea to combine with low drinking age >__<
@Downgoat Sometimes (for concerts I have many times)

« first day (2336 days earlier)      last day (2802 days later) »