« first day (2348 days earlier)      last day (2487 days later) » 

12:00 AM
:)
I'll upgrade probably around when school starts (early Aug.)
 
@Zacharý Up to you. You're just missing out on all the new cool features. Anyway, I wanted someone to test something on 16.0 non-Windows. Never mind me then.
 
How would one go about getting perfection Fortress into TIO?
 
@Adám Is Dyalog open source? (Just asking)
 
No
 
(I don't even know)
@Zacharý Oh
 
12:06 AM
@Mendeleev No. Proprietary.
 
@Adám Sad
But I guess it makes sense
 
GNU APL is there if you need it.
(Dfns are a joke though)
 
@Mendeleev Well, my children have to eat.
ngn/apl has proper dfns
 
@Adám I mean, if it's free for personal use, you could release it under a license that says you can only use the source code for personal use, and then have commercial support sold separately... I don't even know
 
ngn/apl is IO 0 only.
 
12:08 AM
I don't even know APL*
 
@Zacharý True. You're 1er?
 
I take Dyalog's stance of allowing either.
 
ngn/apl is written in JavaScript. It should be easy to modify to one's needs.
 
And you can override primitives.
Always fun.
 
@Zacharý Allows for some pretty obscure code.
 
12:10 AM
Or total breakage.
 
@Zacharý The ⎕IO opinions at Dyalog are very split, but actually we all agree than any default value is better than the settable one. Of course, having the choice is great for golfing.
10
A: Make your language unusable

AdámNGN/APL NGN/APL allows redefining primitives, so redefining (←) all primitive functions to ⊢ ("pass through": both ⊢3 and 2⊢3 gives 3) makes the language completely useless: ⍪←-←+←?←⍵←∊←⍴←~←↑←↓←⍳←○←*←⌈←⌊←⍕←⊂←⊃←∩←∪←⊥←⊤←|←<←≤←=←≥←>←≠←∨←∧←×←÷←⍒←⍋←⌽←⍉←⊖←⍟←⍱←⍲←!←⌹←⊣←⍎←⊢ Try it here.

 
That means you could implement Iota Underbar
 
@Zacharý Yup.
 
This ⍯.
 
@Zacharý No idea. Even ngn didn't remember what some of his operators did.
 
12:17 AM
Not a thing. But ... makes no sense why to even include it.
 
@Zacharý He probably had something in mind. But then he went on a crusade to prove APL superior to K, got enamored with K, and quit Dyalog.
 
Wait ... he worked for Dyalog at one point?
Or he quit using Dyalog APL?
 
@Zacharý He worked here for several years. RIDE 3 and 4 are his handiworks.
@Zacharý Just left effective this past new year.
 
Yep ... your team changes often, don't they?
 
@Zacharý Not really, no. Look at the years when people joined. We do have interns though.
 
12:26 AM
I damaged one of the cables on my HTC Vive.
 
Oh noes!
 
If the cables weren't replaceable, I'd be down 1.4k
I'm just down 30 dollars.
 
@ATaco :/ is this a brag that you own vr
@ATaco good ol' ethics in technology
 
I've been bragging about that for a year now.
VR's awesome.
10/10, would recommend.
 
also I made a room for my board game, but it is on puzzling just because
 
12:27 AM
Heh, I have something that very few people have: Dyalog APL 17.0 installed.
 
so if you wanted to playtest:

 nodea

For a boardgame in development, by me, the lemon. rules are be...
 
I'd install Dyalog, but TIO.
 
Thought v17 was still in MAJOR development?
 
@Zacharý thatsthepoint.jpeg
 
WhatIsThePointToRandomSuffixes.fss
 
12:30 AM
Memes.vbs
 
Stop.dyalog
 
hypocrite.txt
 
MuchYes.fss (Fortress for life)
 
help.md
 
nopePythonIsBetter.py
 
12:32 AM
TrashThis.fss
 
@ATaco hi just down ... ok I won't
 
@ATaco APL is so much better when used interactively.
 
We both said Dyalog 17.0 ...
 
@Zacharý It is. But I'm an insider :-)
SpaceX launch now!
 
So, not v17 final, just a dev build.
 
12:34 AM
@Zacharý yeah. But installed with real installer.
 
@ATaco ono
@ATaco Yep. My school has a Vive
@Adám Wait, seriouslt?
 
I also have something very few people have ... Fortress.
 
@Adám What's with the insanely high zoom?
 
Any new primitives? Or is that a secret?
To hide secrets, probably.
 
12:39 AM
@Mendeleev Windows borky scaling. Looks fine on my screen.
 
@Adám OK, makes sense
@Adám Was aborted!!
 
They will do tomorrow
 
On 4th of July ... classic Americans
 
@Zacharý Dyalog doesn't really have secrets other than customer info. We just had a the first 17.0 devt meeting today. So far the only primitive on the "17.0 required" list is Under , but if we get that, then we'll probably get Obverse too.
 
12:41 AM
@Zacharý isn't SpaceX American though?
 
Wasn't sure ...
 
@EriktheOutgolfer Discrimination Standard Time
2
 
I should really get going. I'm in the middle of writing automated tests for the Student Competition Phase 1.
 
@Adám Bye
 
I'm out of here, and thanks again Adám.
 
12:45 AM
@Zacharý Have fun.
 
1:22 AM
CMC: find an xkcd containing a backslash or a backtick (and make sure it's really truly supposed to be one)
 
how about that one with the backslashes
and ba'al
 
That one works, is there one earlier though?
 
is the comment \\ or //?
 
My sister is going INSANE because I returned some candy she took from my mom
Like wtf
She's having a temper tantrum
@DestructibleLemon //
 
I'm hesitant with buying eth.productions for $43 a year when I could buy etj.productions for $7 a year... :P
 
1:37 AM
 
oh my
Hey, quick question: are nested subdomains evaluated left-to-right, or right-to-left? That is, is codegolf.meta.stackexchange.com a subdomain of codegolf.stackexchange.com or of meta.stackexchange.com?
 
right to left
 
So meta.SE.com?
 
cool, thanks
 
2:05 AM
@ETHproductions Right to left
WTF is this abomination
 
0/10 off topic oneboxes take up one entire mobile screen lol :P
fun fact: to change my new programming language from left associative to right associative, the only thing needed is to change >= into >
well rip my wifi will die soon so bye people
 
2:23 AM
bye
 
 
1 hour later…
3:26 AM
bye
@HyperNeutrino tell your dad
actualyl
show your dad
 
3:52 AM
@ETHproductions time to change your username?
 
Any CMCs? I'm bored and I can't find anything to do on main.
 
Why is your icon gone?
 
I accidentally wanted to see my favicon, but when I changed I realized I didn't have a saved version of my image. I've been too lazy to remake it.
 
I think I tried it a while back, kc+ascii-art is not very fun for Brain-flak
 
3:55 AM
I know it has a brainfuck answer
 
hm more interesting, I'll give it a try
thanks
 
Input by charcode is acceptable.
 
psh, what do I look like a baby. I'll just write my own Input parser.
3
I think I want to input by charcode now
 
@EinkornEnchanter
 
0
Q: Capped string ladder

Leaky NunGiven a string s and a positive integer N, gradually duplicate each character more and more until N duplicates, then step down again. For example, given abalone and 3: a we start with 1 copy bb then 2 copies aaa then 3 copies, which is our second parameter lll so we continue using 3 copi...

 
4:06 AM
Thanks
 
I just searched "wheat wizard" on Google Images
 
I think it is still my github avatar
 
Man, I'll miss ShareX when I switch to Linux
Most useful Windows-only software I have
 
@LeakyNun huh?
 
24 mins ago, by Einkorn Enchanter
Any CMCs? I'm bored and I can't find anything to do on main.
@EinkornEnchanter do my challenge?
 
4:17 AM
Still working on Phenix's, but I'll check it out.
 
5:17 AM
Wut
How
 
5:40 AM
CMC: 9, 3 -> [1,2,3,3,3,3,3,2,1]
(obviously inspired by my main challenge)
 
5:52 AM
0
Q: Am I an imperfect String?

Mr. XcoderFor this challenge, an imperfect string has the following properties: The number of vowels (aeiou and uppercase) does not equal the number of consonants (bcdfghjklmnpqrstvwxyz and uppercase) it contains (case insensitive comparison between the number of vowels and the number of consonants)...

 
@LeakyNun In response to your comment on Main: a test case with a String much longer than 2N and one that only contains one letter (repeated). Just for guidance.
You may ignore me if you consider it is not necessary
 
@Mr.Xcoder ok?
 
@LeakyNun Yes, thanks :P
 
6:10 AM
What's the shortest way to get the alphabet in Python? Doesn't need to be a string - any data structure is fine
Set is preferable
 
@musicman523 {chr(i)for i in range(X,X)}
but {*"abcdefghijklmnopqrstuvwxyz"} seems to be shorter
 
@LeakyNun Ah, the good ol splat. Thanks!
 
Anonymous
@musicman523 If you already have string imported, string.uppercase is pretty short (Python 2 only). Otherwise, one of the methods Leaky Nun suggested are best.
 
@Mego I don't already have string imported, but we'll see. Thank you!
 
Anonymous
Also if you're ok with byte strings in Python 3, bytes(range(b'a',b'{')) is pretty short
 
Anonymous
6:15 AM
Or just range(b'a',b'{')
 
@Mego wow nice
 
'bytes' object cannot be interpreted as an integer
neither can 'str' object
 
Anonymous
Shortest: range(*b'a{')
 
Anonymous
@musicman523 In Python 3, it absolutely can. A bytes object is a sequence of 8-bit unsigned integers.
 
that works for some reason
@Mego what you suggested at the beginning doesnt work
 
6:16 AM
Not in Python 3.5.2 (default, Nov 17 2016, 17:05:23)
[GCC 5.4.0 20160609] on linux
Oh wait
That last one did work
It only works when you splat?
 
just do bytes(range(97,123)) lol
 
Anonymous
@musicman523 Apparently. That's weird.
 
maybe a splatted byte string gets treated as individual characters
while b'a' is treated as a string
 
Maybe...
 
because when I repr it, it shows range(97,123)
 
Anonymous
6:18 AM
@LeakyNun If case doesn't matter (or uppercase is preferred), bytes(range(65,91)) is shorter
 
Even so, I need the characters, not the ascii values. And I think map(chr will end up being longer, but we'll see
@Mego It does not matter, thank you
 
@musicman523 you can use bytes on a range
 
@LeakyNun Oh yeah makes sense yes
 
Anonymous
I think bytes(range(65,91)) is optimal for any case. Both bytes(range(97,123)) and bytes(range(*b'a{')) are one byte longer for lowercase.
 
Even better than bytes, I can just use str when I actually use it
Nooooooo the post I was working on answering got deleted :(
@Mr.Xcoder Y u do this 2 me
 
6:26 AM
@musicman523 Because I felt so.
I don't like people downvoting and not leaving comments behind. That's why I decided to delete the challenge
I am very sorry @musicman523
There were no answers, so...
 
Just repost it now XD
Yeah I wasn't quite done haha
 
@musicman523 Stack Exchange meta post I answered, about deleted answers in order to get rid of downvotes. It's not really my style to get rid of downvotes by posting another question though
 
@Mr.Xcoder Yeah, I agree. I wouldn't repost it either.
My answer was garbage anyways, I'm glad no one will see it
 
@musicman523 I want to help golfing it.
Although the challenge isn't there anymore, I am pretty extremely bored.
 
Oh wat
The TIO link is too long to send in chat
Why is it so long omg
 
6:32 AM
SHIFT+Return and then paste the link
 
@musicman523 Because TIO links update dynamically depending on the size of the program and the input/arguments
@musicman523 URL shorteners are evil
 
@Mr.Xcoder You're not wrong
@Mr.Xcoder Wait, so does the URL contain the entire code in a compressed format?
 
Oh, wow
@musicman523 Better ask Dennis, that's just what I noticed over the months I used TIO.
 
I found the error lul, I was still using the lowercase vowels after I switched to uppercase.
 
6:36 AM
@musicman523 Trying to golf it soon
 
https://tio.run/##fZJRT9swEMff/SmOTFrszkSkpYVWy6YMIbQHtD6ANGnw4CVOG82xs7NTUSY@e7HTdpRJLJEi393v8r87X7t2S6NHmyq72yjR/CwF2BlV1HLBPqZgEMJ5xY6y3ne8YkzosgfKA6Bk79MQACU1tWwwSMafau3oi8mIyvYC3M1s19BGtNQmXdtKpCwpTKcdd4yRMotP0uHodDw5O5/GRGR/BgEtlshR6IWkkzGfpow9kZUPxfnl12@38dPGYSctZPAjatEsUDSNxIiTaL6zar2Aeff4qDwVSr0wpYQro6oA9XrhwJPwQvgE8xoT@F54Ej0RHPnxzbqV8EU4J3Ed3RNSCWV3wnn@8Kso8zzi8A5oabxbGweNlA7cUkJqHaD83dUoG6kd2@q@RQ99kaHQEZaHWdaniXT4v6zXGvP5xdVb9D//9rSSjdHCj@bkdHJ@Nv0cWkRpO@VCj6q2rr@4ikM/cH9f@@iHg/DfXQpqld8BDts5eZ7UFQil6C6PzQj4p8WwMHGuFDjp51SIMNVWWHsUMyJ97ivuEtHgrG9G7FK2dOLpF26vsXkG
Use that version, it's fixed
 
@musicman523 IDK, I woudn't really do it that way, I'll come up with my own solution and I'll ping you here. I might golf yours, though, because I like the set-twiddling.
 
Sounds good. I'm going to bed, it's nearing 3am here
Actually I'll dump my new challenge in the sandbox for you to look at since you're bored
 
Oh, okay. Still going to ping you though
@musicman523 Thanks
 
Yeah do ping me, I'll look at it in the morning
 
6:43 AM
hi all.. anyone know the answer to the blank line question at codegolf.meta.stackexchange.com/a/13185/9206 ?
how to make a blank but still grey line, essentially
 
@musicman523 Python is weird. In ruby it's just *?a..?z
 
@Mendeleev Yeah, I get frustrated golfing in python with string/char/int related challenges
 
@Lembik After leaving 4 spaces, drop a backtick I think, I am not completely sure
 
@Mr.Xcoder isn't that what he tried?
"` <-- THIS SHOULD BE AN EMPTY LINE BUT STILL IN GREY (thanks for your help)"
 
@Lembik Oh,
IDK then
 
6:46 AM
np
 
@Lembik Mark it with <pre> and </pre> (the whole code)
 
@Mr.Xcoder can you test that first and then add a comment?
 
I will edit his challenge
 
thanks
 
How do you get the badge?
 
6:48 AM
0
A: Sandbox for Proposed Challenges

musicman523Decode Reddit's Voting System code-golf number Background Users with a high enough reputation on Stack Exchange can see the number of upvotes and downvotes on each question and answer. On Reddit, however, the net vote count and percentage of upvotes are displayed. Unfortunately due to rounding ...

 
@musicman523 I was submitting my edit when you NINJA'D me!
 
@Mr.Xcoder oops sorry wasn't watching chat, just kinda did it :P
 
@musicman523 Np
 
@Dennis Do you know why the auto-generated TIO link for this code is so long?

https://tio.run/##fZJRT9swEMff/SmOTFrszkSkpYVWy6YMIbQHtD6ANGnw4CVOG82xs7NTUSY@e7HTdpRJLJEi393v8r87X7t2S6NHmyq72yjR/CwF2BlV1HLBPqZgEMJ5xY6y3ne8YkzosgfKA6Bk79MQACU1tWwwSMafau3oi8mIyvYC3M1s19BGtNQmXdtKpCwpTKcdd4yRMotP0uHodDw5O5/GRGR/BgEtlshR6IWkkzGfpow9kZUPxfnl12@38dPGYSctZPAjatEsUDSNxIiTaL6zar2Aeff4qDwVSr0wpYQro6oA9XrhwJPwQvgE8xoT@F54Ej0RHPnxzbqV8EU4J3Ed3RNSCWV3wnn@8Kso8zzi8A5oabxbGweNlA7cUkJqHaD83dUoG6kd2@q@RQ99kaHQEZaHWdaniXT4v6zXGvP5xdVb9D//9rSSjdHCj@bkdHJ@Nv0cWkRpO@VCj6q2rr@4ikM/cH9f@@iHg/DfXQpqld8BDts5eZ7UFQil
 
@musicman523 Because the code is huge. All the code is encoded in the URL.
 
6:54 AM
another challenge posed :)
 
@Mendeleev That's what I thought too, thanks!
 
So ask 5 questions that are well received in 5 separate days, and keep your upvotes.
 
Yes I think it just means more upvotes than downvotes (net positive votes) on all of questions (or perhaps just net positive overall on average)
 
well that didn't work :)
(failed challenge posed and deleted)
 
7:06 AM
@Lembik And another challenge removed
 
@Mr.Xcoder snap
I should have banned mod completely
 
Why ban mod
 
to make the challenge less trivial
 
ALSO, you must "run your code to completion" is annoying.
 
well.. actually I am not sure how trivial it was in the first place
 
7:07 AM
(I wasn't the one to downvote though)
 
@Mr.Xcoder I am really sorry you find it annoying. I actually really like that restriction
 
Ugh every time I try to answer a question it gets deleted
 
in fact it might have been ok with mod allowed now I think about it
 
@Lembik I can see that.
@musicman523 Thought you were sleeping :P
 
@musicman523 how were you going to answer it?
 
7:08 AM
@Mr.Xcoder Although some challenges don't work with that restriction, in general it makes the code testable, which is the only way to be sure it works.
 
@Mr.Xcoder I should be sleeping....thus is the life of the programmer
 
It runs out of memory on TIO
 
@musicman523 ah ok
that's the problem you have to solve :)
 
I'm running it locally with 8gb of RAM to see if it works
 
7:08 AM
@Lembik modpow(Q,1e11+1,1e11+3)
 
@LeakyNun modpow was banned
 
oh
 
Otherwise my solution worked fine
 
then just build it
 
That's a lot of effort
I'd rather craft an answer that can't be run on any modern computer
 
7:09 AM
CMC: Given a letter, except for z, output the next letter in the english alphabet
(case does not matter, you must only handle lowercase)
 
I will put the question back in a moment
just fixing up the problems
 
@Lembik Repost or undelete?
 
@Mr.Xcoder lambda c:chr(ord(c)+1)
 
It memory errored on my computer as well :(
 
@LeakyNun Seems legit
 
7:11 AM
@Mr.Xcoder Repost as I don't know how to edit a deleted question
 
@Lembik Add test cases before posting
 
@Mr.Xcoder Haskell, 4 bytes: succ
 
CMC: Given two stings, reverse the second and interleave them
The two have equal length, higher than 1
"abc", "xyz" -> "azbycx"
"1104", "2920" -> "10120942"
 
reposted
 
@Mr.Xcoder Python, 3 bytes: zip
I have no idea why it works, but it works
 
7:18 AM
@musicman523 "Reverse the second"
 
@musicman523 Do not post snippets, please
@musicman523 You must return a String
 
Oh wait. It worked because I wrote 'zyx' not 'xyz'
 
Exactly
 
7:21 AM
Recursive functions.... I Should learn how to write one.
 
Darn, I only got down to 49: lambda a,b:''.join(x+y for x,y in zip(a,b[::-1]))
 
@musicman523 I swear I just came up with the exact same code with you
even up to the variable names
 
@musicman523 I just did it too, with x and y
 
hopefully the new version is better
complete with test cases :)
 
@Lembik This one doesn't receive attention anymore :((
 
7:25 AM
true!
 
Darn, strings don't have a pop method. If they did, I would have 42 bytes.
 
@musicman523 We all would like str.pop()
 
0
Q: Compute the inverse of an integer modulo 100000000003

LembikThe task is the following. Given an integer x not equal to 0 given to your code in any way you find convenient, output another integer y so that (x * y) mod 100000000003 = 1. You must have run your code to completion before submitting an answer. Test cases Input: 2. Output: 50000000002 Inpu...

 
argh.. is it a duplicate of codegolf.stackexchange.com/questions/215/… ?
 
@NewMainPosts FAR slower than ususal
 
Jim
7:34 AM
@Lembik Did you sandbox it?
 
@Jim no!
I have a controversial question in the sandbox now
but no one is helping with it :(
 
Jim
@Lembik When wondering if a challenge is a duplicate, you should post it in the sandbox first and ask if it is acceptable instead of posting to main and hoping it will not be considered as a dupe
 
@Lembik The one with the PDF and latex?
 
Roberto Remigio Benigni, Cavaliere di Gran Croce OMRI[1] (Italian pronunciation: [roˈbɛrto beˈniɲɲi];[2] born 27 October 1952) [...]: the Remigio is silent
 
Jim
@DestructibleLemon About my Totem challenge: when referring to "Indians" you think first of Indians from India and not American Indians?
 
7:57 AM
@Jim that makes sense
@Mr.Xcoder yes
isaacg's answer is really great
@Mr.Xcoder I just really want a tool that can grep for 2^n :)
 

« first day (2348 days earlier)      last day (2487 days later) »