« first day (1825 days earlier)      last day (3021 days later) » 

7:00 PM
@Seadrus LOL
 
@quartata Lisp is worth learning.
 
@mınxomaτ I was looking for an "author" line, couldn't find one. I was about to ask here who wrote it, then I saw the URL... =P
 
> JavaScript is a sword without a hilt.
 
@Roujo His essays are recommended by Joel, Jeff and Chen, so I guess you can trust his experience.
 
7:02 PM
This is true. That's why you should always were gloves whilst programming in JavaScript. ^^
 
@LuisMendo Included your 4 byte version along with an explanation of it.
 
@mınxomaτ Yeah, I know who he is - I just didn't realize the text was on his site to begin with, so I was looking for a PG tagline somewhere =P
 
@quartata Great! Thanks!
 
His page is straight out of the 90s, though.
 
And credit too
 
7:04 PM
@AlexA. thanks
 
I figured that a post explaining that Lisp was cool probably had him involved somewhere. Not saying Lisp isn't cool, either. Anyway.
 
I should be thanking you really since people tend to like built-in answers that have a non-builtin one too
 
All these languages with matrix built-ins and .NET just sitting here like "Yay, I'm a part of things!" msdn.microsoft.com/en-us/library/…
 
@quartata Is "zip" a term meaning "transpose"? I keep hearing it and I didn't know that is meant
 
@LuisMendo Yeah.
It's what they call it in Python.
 
7:06 PM
@TimmyD That's... a highly generalized matrix class, ready for all kinds of uses - Model T-style! =D
 
0
Q: ASCII Box rendering

J AtkinTask Your task is to write a program that will output ASCII boxes at the locations specified by the input. Input You will be given a list of numbers. The format here is a bit flexible, in that you can use any deliminator you want (e.g. 1,2,3,4, 1 2 3 4, [1,2,3,4], but not [[1, 2, 3, 4], [5, 6,...

 
@NewMainPosts Funny how I was just working on something like this
 
Does the bot like it when we talk to it?
 
Not really
 
That's a shame
 
7:09 PM
@quartata Thank you. I know very few languages apart from Matlab :-)
 
@LuisMendo Hey, MATLAB is a pretty good general-purpose language.
Better to know one language really well than to know 10 million poorly like me
 
@quartata Yes, I use for almost everything
Exactly
Hey, I didn't see the "like me" part
Sorry
:-DD
 
I wouldn't have put it in there if I didn't want you to agree
:P
 
@Roujo It's just a way of pointing to which post we're talking about
 
7:28 PM
@Roujo Yeah. It can handle any matrix manipulation you want, so long as it's 3x3.
2
 
0
A: Sandbox for Proposed Challenges

J AtkinMake a string twister code-golf Task Create a string twister that works on multiple inputs. How strings are twisted The twisting algorithm is very simple. It takes all but the first char in the string and moves it down onto the next line, with each line below it shifting down, except the ver...

 
... and it's an affine transformation ...
 
7:42 PM
Can anyone guess why this is attracting down-votes?
 
@feersum Probably because people are silly and are assuming that grep isn't a programming language
 
Anonymous
@quartata It's one of the most widely-used encodings, since it was one of the first, thanks to IBM
 
Huh. Got +5/-0 last time I used it.
 
@Mego I know.
 
Anonymous
tmyk.carrot
 
7:45 PM
By the way, do you know of a good terminal emulator that has CP437 support? Right now I'm having to use CP862 with gnome-terminal
 
Anonymous
xterm has it
 
Anonymous
You just have to go into settings and change the encoding
 
Oh it does?
Thanks.
 
Anonymous
Yep
 
Anonymous
Yw
 
7:49 PM
CP862 only really worked for Nethack
 
@feersum Maybe because the comments say it doesn't handle the large cases?
Woo, beating JavaScript and Haskell, but losing to Python ... I'll take that.
 
0
Q: Output all valid classful public unicast IPv4 addresses

Digital TraumaIPv4 addresses are 32 bits wide, and thus the size of the address space is 232, or 4,294,967,296. However, this is only a theoretical upper-bound. It is not an accurate representation of all the addresses that may actually be used on the public internet. For the purposes of this challenge, it ...

 
@ThomasKwa I remembered that TI-BASIC had a identity built-in but I couldn't remember if it was one or two bytes. Definitely a nail chomper there when I saw you come online :P
Looks like it is one byte but you need another for the input anyways
 
8:03 PM
@CᴏɴᴏʀO'Bʀɪᴇɴ I noticed the canvas output section of the Jolf interpreter. Does that mean Jolf has graphical output now?
 
@feersum The question says Your code should handle any of the test cases in a few seconds., but your answer doesn't handle the test cases period.
 
@quartata Yes! It does.
 
how worky
 
0
A: Sandbox for Proposed Challenges

npocmakaWindows batch polyglot/hybrids challenge with any language possible /* I need some help to refine my challenge */ As the batch scripts are pretty limited, hybrid files that embed a code from another language into a batch file are used a lot lately. Though usually there are some requirements fo...

 
How would I, say, draw a point at (x,y) on the canvas?
 
8:10 PM
 
@quartata You can't.
It's a turtle
 
:(
Can I draw a 1-pixel box?
 
I should probably add it
 
I see ,a
 
That's an ASCII box
 
8:11 PM
Ohh
 
Are you reading the source code? o_o
 
No the command list.
 
Oh.
Um
Where is that?
 
> Ʀ - does something.
 
8:11 PM
 
-2
Q: Java. Hello. How to code it better?

CuriousGirlThere is a task to receive the word "Hello", printed like : hello This is my solution: public class Hello { public static void main(String[] args) { String a = "* * "; String b = "*****"; String c = "* "; String d = "****"; String s = " "; String p1 = c+c+a; String p2 = a+b+s; String ...

 
@quartata Ah, right
 
@quartata I'm pretty sure that's a stick figure leaning backwards and throwing his arms up in surprise.
 
@TimmyD You should see what it does
 
@CᴏɴᴏʀO'Bʀɪᴇɴ I know what it does
I was just amused that was your "explanation"
 
8:15 PM
@quartata :3
 
Think I got something working with the canvas: conorobrien-foxx.github.io/Jolf/jolf.html
2
 
@quartata nice try
 
?
Yeah it's not that golfy.
 
Your star looks like crap man
 
But it's something.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Well, obviously, it does something.
 
@TimmyD But what kind of something?
 
Depends upon if it's acting against an int or a string.
 
Oh? Do tell.
 
Lol. Those flags in a foreign language.
 
Anonymous
8:20 PM
@quartata how on earth did you do that
 
Where's my Google translate?
 
@Mego Thank me :3
 
@Mego bwahaha
 
Anonymous
 
Darn you multiline formatting
 
8:22 PM
@Mego Yes, I am bad.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Well, if it's acting against a string, it does something, but if it's acting against an integer, it does something.
 
Anonymous
I should probably kill off Heroku once and for all
 
@TimmyD Oh, I see. What about an array?
 
Is it an array of ints or an array of strings? Follows the same, just acting on individual elements.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ i tried doing a jolf program. is this right? i joined a string that was split by the empty string conorobrien-foxx.github.io/Jolf/#code=xqZNR2lFZDM
 
Anonymous
8:24 PM
@TimmyD Your explanations today have been on point
 
@Seadrus You have learned well.
 
Anonymous
@Seadrus Not funny the second time, go home
 
@Mego :(
 
@Mego It's a wonder we still have new users... ;)
 
@Mego Did you actually fall for it a second time?
Remind me to rickroll you more often.
(i mean jeez we were even talking about that command in chat)
 
Anonymous
8:26 PM
@quartata No, I guessed what Ʀ did based on the context
 
FUUUUUU MY STARS ARE GONE
 
@Mego OK good.
 
@Mego :D
 
I will add a 1/100 chance that, when opening the regular jolf interpreter, every command will act as Ʀ
 
Anonymous
Bbs, time to go to the doctor to get meds
 
@CᴏɴᴏʀO'Bʀɪᴇɴ haha
 
Is there a certain voting etiquette in PPCG? A threshold higher than just thinking "That's pretty neat" before upvoting?
Being new, I'd rather not start bad habits and all =P
 
@Roujo nope voting is 100% your own prerogative
 
Upvotes flow pretty freely here. Almost as much as stars.
2
 
You can go by the on-hover tooltips ... "This answer is useful" and "This question shows research effort; it is useful and clear"
And similar for downvotes
 
8:36 PM
19
A: Usefulness of an Answer

Bill the Lizard Does Bob's answer deserve an upvote for being indirectly useful? How you spend your votes is entirely up to you. If you had been unable to find the answer because you didn't know the right keyword to search for, that answer might be just what you needed. If you already knew that you needed t...

The other three people that answered my question all started the same way. "How you vote is up to you"
 
Nice. Thanks, everyone =)
 
@KevinW. 'Unless there is a restriction...
 
Not that anyone answered my actual question in that post: is an answer that solves your problem but only after you leave Stack Exchange to do more research "useful"?
 
Also there are three relevant posts on Meta
 
@quartata Here is your "pixel" function, until I actually implement it: ΎyGHSyg1ys. Put your two coordinates after the expression, then call again with Ύ<1><2>.
 
8:39 PM
Unfortunately, people vote for all the wrong reasons. Spent a few hours on a difficult problem? Who cares... Made a joke about cat breeding? OMG +1!!!
11
 
@Dennis yah that happens sometimes.
>:|
 
@Dennis If you ask what the right reasons are nobody will answer you, as shown by my earlier linked question.
Maybe their assumption is that if you care enough to ask on meta, you don't need help, and if you don't care, then you aren't going to read anything on meta anyway.
 
@Dennis I note that this got starred while my answer with helpful links to Meta didn't ... :-/
Thanks for the pity star. :D
 
@Rainbolt One would think voting on other SE sites is actually easier. Unless you're parsing HTML with regex.
 
Mini-challenge: Take input, print a range (backwards or forwards) from 0 to the input. . Score = (# of languages)/(bytes)
 
8:43 PM
Inclusive or exclusive?
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Like this: ΎyGHSyg1ysΎ0 0
?
 
@quartata no; no space.
@Dennis Either
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Oh OK
 
Hmm, the input is going to be the tricky part
 
@quartata And for the definition, you don't need to re-say the Y thingy
 
8:44 PM
.. is a range operator in many languages
 
CJam/GolfScript, 2/4 = 0.5, q~,p
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Transpiles to this:
var y=new Pen("draw");var S="\n";var Y=[];(Ύ=function Ύ(H,S){
	return y.goto(H,S)})(y.go(1),y.stroke());
Y;
0;
0;
Where did I go so wrong
 
uhh
OH RIGHT
Hahahahaha
I forgot I didn't make procedural function, only value functions
 
Ideally I'd just like to be able to map this function over an array of points
 
Oh, that's easier.
DyGHSyg1ys} should be okay as an argument for map
Brainbash/Jolf, 2 / 31. "#[[->+~+*]>-~[-*+*]>~>][;<]"zj
 
8:50 PM
@Dennis Not to mention FGITW
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Not to sound like a complete idiot, but uh... what's map? :P
The letter I mean.
I can't find it in the docs
 
@quartata Oh, it's not a problem.
It's in there...
Under "array", you'll find the capital mu
 
Ah there it is
Looking in the wrong place :P
 
Yeah, my docs are all over the place
 
And x is evaluated input right
 
8:52 PM
yup!
 
@Dennis Oh ok, I didn't know about that.
 
Did I do the array notation right? I always forget if it is [ or { in JS
 
You're rounding a function...
 
Rounding a function?
 
> For readability, each space will be replaced by an underscore. Use a space when coding.
 
8:55 PM
Oh lol
` m` then
 
I really have a hard time reading all of the information on a page.
 
All right now I just need to figure out Jolf's math commands, generate the florets and convert them from polar to rectangular
 
A while ago I was having trouble with a Linux syscall not working like I wanted it to. I tested it and reread the man page millions of times before I finally could notice the relevant line.
 
Oh I'm so close to mortarboarding for the first time in a lonngg time
I just haven't done anything in a while I guess
 
@feersum This is why questions should also be golfed
 
9:07 PM
@trichoplax We usually those downvote and close as unclear, don't we?
 
@trichoplax chlgne yur chlnge iz to otpt hlo wrld to stdot
 
Lol yes there's an ideal compromise somewhere inbetween...
 
"You need to construct an identity matrix in as few bytes as possible. Shortest code wins." <- We would close that.
 
As short as possible without losing clarity is good
 
Dammit, I thought I hit "reply"...
@TimmyD That's exactly how I feel. And English is my first language.
 
9:11 PM
@ETHproductions u ndz to cnstrct nxn eye mtrix gvn n as inpt in a fw btes as psible. eye mtrix iz mtrix with digonl of 1s and teh rst 0s. cde glf lol glhf
 
@quartata Which challenge? Maybe I can help you....
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Graph Florets of a Flower
It's my challenge :P
 
25
Q: Graph Florets of a Flower

quartataTake a look at this chamomile flower: Pretty, isn't it? Well, what if I told you that this wasn't actually one flower? A lot of flowers (including sunflowers, chamomiles, daisies and others) actually consist of many very small flowers (the black dots on sunflowers) on a flower head. These min...

 
English is my first language, too. It's horrendous. (And really my only language, yay America. I mean, I know a little bit of Spanish and a little bit of Russian, but haven't used either in 15+ years)
 
9:13 PM
@TimmyD I know just enough Russian to know when my teammates are swearing at me in Dota/CSGO
 
@quartata looks like lolcode
Can has eye matrix, plz? Kthxbye
 
@TimmyD I tried.
 
@quartata Μ (Capital Mu) is also map.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Is that one byte in ISO?
 
@quartata In ISO-8859-7 it is.
you can upload a file encoded as such
 
9:15 PM
@Mego Not sure how you place the shortened-syntax-v-another-language line between TeaScript and Japt... And Jolf is pretty much the Pyth of JS, being prefix-based and all.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ k
 
@ETHproductions This is true.
 
The only Russian I really remember from class is, as a class, we read out loud to the group One Day in the Life of Ivan Dinisovich ... one person would take one day, another person the next, etc. Took us several weeks to get through it, but it was a really amazing experience. My first (and only) time reading something in another language not a textbook.
 
@ETHproductions I thought Japt was prefix
And TeaScript
 
@quartata Nope, both are infix.
I think that's what infix means, anyway.
 
9:17 PM
@ETHproductions Infix? Like APL?
Huh.
 
As in A+B=infix, vs. +AB=prefix?
 
@quartata He means like javascript
 
@ETHproductions Yeah.
AB+ is postfix.
+AB is prefix.
A+B is infix.
 
Yep. Japt and TeaScript are both infix.
 
That's funny.
 
9:18 PM
And have very similar feature sets as well.
 
I've programmed in TeaScript before and I didn't realize that.
I swore it was prefix...
 
LOL, sometimes it's confusing
 
And ESMin is stack-based, right?
 
Partially.
 
Or is it like pl where it's hybrid?
 
Yeah, I think it was originally going to be stack-based, but he changed it during development.
 
180/200 rep with 2 hours 30 minutes left in UTC day yikes
 
So now it's somewhere in between.
 
@ETHproductions It was the opposite for me :P It was going to be postfix but functional during design and turned into basically stack-based during development
 
@quartata Oh, which language?
 
9:20 PM
@ETHproductions pl
 
Stopped working on it when I realized how good Jelly was
 
I didn't know that one was yours.
Haha
 
Wow. Seed is... interesting.
 
Yeah that was me.
@Roujo It's kinda boring
 
(I honestly didn't realize that pl was a PPCG-designed language, or designed for golfing at all, I thought it was smth like J :P)
 
Now Malbolge is cool.
 
Not really useable, but it's the first language I've heard that's anything like it so that's pretty interesting to me ^^
 
@ETHproductions Really? lol
Yeah I made it. There's a room for it but it's frozen.
 
TF2 fail: I charge as demoman. Pyro continues to spycheck me for another ten seconds.
 
9:22 PM
I could try to take it up again but the interpreter was getting very difficult to maintain due to some design boo-boos
 
@quartata I've never mortarboarded ... PowerShell's not a popular language for upvotes, surprisingly
 
Anyway, I think I'm leaving Japt for a little while to work on this new language that I'm scratching out the spec for now. It's called Crayon, and it's designed to be killer at ASCII-art challenges.
 
I had an idea for shortened Asymptote for graphical output challenges
 
@ETHproductions sounds interesting
 
A stack, lots of handy operators, 2D output, 2D strings, 2D regex's... it's gonna be sweet :)
 
9:24 PM
sweet mortarboard
 
@quartata you're welcome
 
@ETHproductions You designing your own 2d regex lang? :3
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Sortof... it's not entirely based around 2d regexes, but that'll be one of the features.
 
@ETHproductions Cool!
You should employ more than one.
 
9:25 PM
I'm planning to use bytes 00-1F as positional and directional chars, along with the printable ASCII range
But not 7F-FF
 
It'll be clearer when I finish the spec.
 
Japt's use of whitespace confuses me.
 
Looking back on it, I can see why you'd think pl was like J :P
The off-by-one rule is similar to hooks
 
@Dennis Yeah, I understand. All my future langs will ignore whitespace, as most civilized langs do today.
 
9:27 PM
Me too.
Whitespace is prototype in Jolf :(
 
Wait, what?
 
Most of my languages just ignore whitespace.
 
@ETHproductions (space)(character)(this)(args) => this[character](args)
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Ah
 
9:28 PM
How is that different from (character)(this)(args) tho?
 
@ETHproductions There's nothing wrong with it. But every time I see a Japt program, my first instinct is to golf the spaces. :P
 
@Dennis Yeah, haha :P At least it's not quite as crowded as other langs. I think that was my original intent.
 
@ETHproductions Some stuff isn't important as others
 
That's a pretty impressive zoo answer btw.
 
@Dennis Thanks :) I thought of it as I was going to sleep last night, then wrote it out as soon as I woke up. Fortunately, it was pretty golfable after the initial 51 bytes. (Apparently, I don't golf well in my sleep.)
 
9:39 PM
Hmm I just noticed that Rotor's Hello World is really slow on TIO.
 
s/'s Hello World//
 
Normally I'd blame groovy but I think there might be an interpreter issue
Hm, it runs OK on my computer.
 
Haha, Japt beat Pyth fair and square for once! :D
13
A: What is the frequency of this note?

ETHproductionsJapt, 41 37 35 34 bytes I finally have a chance to put ¾ to good use! :-) 55*2pU¬®-1¾ª"C#D EF G A B"bZ /C} x Try it online! How it works // Implicit: U = input string, C = 12 U¬® } // Take U, split into chars, and map each item Z by this function: -1¾ // Subtract 1.75 f...

By only one byte!
 
Feature request: Ban mothereff.in/byte-counter from comments.
 
^
Even when you say "custom encoding" in the answer people still assume UTF-8
 
9:42 PM
@Dennis Why? Because of "Isn't this X bytes?" comments?
 
Feature Request: Discourage users from pushing their answers (directly or indirectly) in chat .
 
Someone should post an easy string challenge so I can finally get my bronze string badge
 
I need 35 votes for cg silver
 
I need 73.
 
Feature Request: Discourage users from creating a new language for the 2spooky4me challenge.
 
9:44 PM
@ETHproductions Yes.
 
@Dennis Yeah, those comments are not helpful 95% of the time.
 
@ETHproductions I think pl's answer is as short as it gets.
 
@ETHproductions Especially on TI-BASIC answers >_< it's so hard to explain
 
@quartata 4me2spooky, 0 bytes The empty program in 4me2spooky is the 2spooky4me program. :P
But yeah, the pl one is seriously short.
 
9:47 PM
Ooh I just thought of a TIO feature
Byte counter right next to the "Code" label
And it actually works for custom encodings
 
That is already .
Along with an encoding selector, since some languages can handle more than one encoding.
 
@Dennis when are you gonna hook up the debug button to interpreter-specific features? ;)
 

« first day (1825 days earlier)      last day (3021 days later) »