« first day (1882 days earlier)      last day (2963 days later) » 

6:00 PM
I forget what currying is. Or maybe I never understood it. Does anyone have a simple tutorial on currying? And maybe functional programming too?
It's ok if the answer is no
 
@quartata Well, not really, it's a fork. 1(+?) is a syntax error in J.
 
You can think of currying like this: instead of a function taking all of its arguments at once, it takes them one at a time and returns a new function with the argument "filled in."
 
In general, f g h applied to x and y is (x f y) g (x h y), except if f is a value, then it's f g (x h y)
 
@Zgarb oh I thought the question mark was a placeholder for another function
not literally ?
 
@Sherlock9 Currying is when you apply strong spices and herbs to meat and/or vegetables.
 
6:03 PM
@quartata It's the random choice function (Conor and I discussed it yesterday)
But it does look like a placeholder. :P
 
All of these currying jokes are making me hungry.
 
@Sherlock9 Would you like to learn Haskell? I strongly recommend it. ;)
 
I would, actually. I just haven't taken the time to yet
I should see if my semester, starting Monday, is going to be a mess before embarking on this endeavor, though
 
@Sherlock9 This is the best tutorial I know.
 
6:12 PM
@quartata If you curry favor with the right person they may make you some.
 
A little cash should curry me enough favor to get some tofu curry at my local Vietnamese restaurant
 
@quartata Vietnamese curry is alright but if you're going Southeast Asian, Thai curry is where it's at.
 
@Geobits If you curry flavor the right person, you already have some.
4
 
Welp, I don't think I can beat that. Star time.
 
Have we had a challenge about graph automorphisms?
 
6:16 PM
@Zgarb Thanks! :) I'll go read this now instead of sleeping
 
:D
 
@quartata Search doesn't think so. Even on automorphisms it says no result found.
 
@Doorknob Nethack3D
Actually not bad, with fair graphics.
 
@quartata There's this, which is related but not exact
 
@quartata ^^^
 
6:23 PM
@EasterlyIrk nh3d_OSX
:(
 
nethack3d OS X
 
ven
@TimmyD you like APL shenanigans
?
 
Sure? I'm interested in it because it's a golfing language that's not a golfing language.
If that makes sense.
 
Like Perl
except not garbage
 
No, Perl is just garbage
ninja'd
 
6:25 PM
Ninja'd
 
ven
Yeah; I only golf with "real" languages, because I don't yet know any other :v
 
ven
Bears \o/
 
@TimmyD Bob Ross, it is?
 
@zyabin101 Yep. There's a happy little tree in the linked APL code.
 
6:31 PM
@zyabin101 ?
 
@EasterlyIrk It's called nh3d_OSX. It says "OS X" but I have Windows. ;(
 
ven
APL is so amazing
 
@TimmyD Surely Mr. Ross would notice that an apostrophe is missing.
 
@TimmyD It's a delta stile surronded by jots. Still looks pretty.
Talking about terms such as "delta stile" and "jot", I think of an APL discussion group called Lampshade. :)
We could be able to make an APL golfing discussion group called Up Shoe Jot. :P
 
6:41 PM
can you retract your nomination?
 
Yes.
 
Alright, time for a python question.
When I call:
 
Ghostbusters
4
 
bar = Foo()
 
ven
@zyabin101 thanks :p
 
6:42 PM
that calls foo.__init__ right?
 
lol
 
@EasterlyIrk I don't have any nomination. I didn't have helped the community enough, I only have 10 helpful flags.
 
I have a score of 4.
@zyabin101 rofl not you
 
@AlexA. Hah, I didn't even notice that. Curse you, first image result!
 
I meant is it possible for anyone to retract their nomination.
 
6:43 PM
> Curse you, "I'm Feeling Lucky"!
FIFY
 
@MyHamDJ Yes, with one argument, self.
 
WHERE ARE BOB'S FRIENDS?????????
 
@zyabin101 "I'm Feeling Lucky!" doesn't take you to image results, it takes you to the first page.
 
6:44 PM
Then why does that work if I leave __init__ undefined?
 
@MyHamDJ No. Python is case-sensitive.
 
@TimmyD got just in there...
@MyHamDJ Because nothing happens.
 
@Dennis ಠ_ಠ
 
It just is like def __init__(self):pass.
 
@Dennis Python is case sensitive? TIL
 
6:45 PM
So it's already defined, I just override it?
 
@TimmyD ಠ_ಠ
@MyHamDJ pretty much
Or it catches the error.
 
Hm. I would have thought that would raise an error.
 
@MyHamDJ Yes, I think it's inherited from Object unless you redefine it.
And Object.__init__ is a no-op.
 
@EasterlyIrk scoop, muc and dizzy?
 
So what if I want foo to only be called from with foo() as f:
 
6:47 PM
user image
4
 
What's the best redefinition for foo.__init__()?
 
@Optimizer The painter, not the builder
 
@EasterlyIrk What? I've just always programmed Python in lowercase. And languages I use regularly -- BATCH, VBScript, and PowerShell -- are case-ambivalent.
 
@Dennis In Finnish: "tiede"
@MyHamDJ I think you need an __enter__ method to use the with syntax. I don't know much about that, though.
 
@Zgarb Yes, that's right. I have that part working.
now I want to make not using with an error.
 
6:53 PM
@Dennis I thought science is wissenschaft in German. It's golfier.
 
Right now I'm just raising a NotImplementedError
Oh nvmd, I'm a dum dum. __init__ gets called either way.
 
@MyHamDJ Yeah, it seems __init__ is always called, and __enter__ and __exit__ are also called when you use with.
 
Yep. I thought that __enter__ was called instead of __init__.
 
@zyabin101 Maybe "natural sciences?"
 
@CᴏɴᴏʀO'Bʀɪᴇɴ I didn't know that they meant "natural" science. ¯\_(ಠ͜ ಠ)_/¯
 
@Mod can you clear the comments here?
@Dennis ^
@CᴏɴᴏʀO'Bʀɪᴇɴ what are you doing at the moment?
You seem to do what I do, and hop in and out of school?
 
I'm not in school at the moment ^_^
Spring break
 
@EasterlyIrk Done
 
ninja'd
@EasterlyIrk An actual flag might be easier and more effective than writing @Mod...
 
thankee @Dennis and/or @AlexA..
@Dennis Hesitant to flag, but will next time.
 
7:09 PM
Not that Alex wouldn't have ninja'd me anyway. He's a lean, mean, flag-handling machine.
8
 
@EasterlyIrk It's what the flags are for
 
@HelkaHomba okai
 
0
Q: Continue the sequence

aliqandilThis used to be an old Computer Olympiad Question, not sure what the actual source was. Assume function f: f(1) = 1 This f(1), f(2), f(3), f(4), ... sequence of numbers are in ascending order. Number n has been repeated f(n) times Here is the sequence up to the fifteenth number: n : 1 2...

0
Q: Print out a shape in printable ASCII art based on a specific number of sides provided by the user

R. KapThe Challenge: Just as the title says, your challenge is to use the printable ASCII characters to print out a random polygon in the terminal based on the number of sides, n provided by the user, where n is an integer in the range 3 -> 10 including 3 and 10, in as few bytes as possible. For exam...

 
ven
Ooh I could use some Perl 6 for that sequence question
Tomorrow.
 
Back from acquiring some of that aforementioned tofu curry
 
7:24 PM
Picture or it didn't happen
 
Too late I ate it
 
>:U
 
@quartata Picture of your stomach, then.
 
@TimmyD no
 
7:31 PM
@EasterlyIrk That looks weird. What's the black stuff?
 
receipe exchange chat room
 
anyone want to test my bot in bbm? @EasterlyIrk
 
sure
@AlexA.
in The Frying Pan, 30 secs ago, by Easterly Irk
Do you guys happen to make tofu curry and send it to seattle?
 
@epicTCK Yes.
 
7:34 PM
@EasterlyIrk ...
 
@flawr Probably The Frying Pan, the chat room for Seasoned Advice, AKA Cooking.SE.
 
I put CA under it, i don't mind curry either.
 
That image is not tofu btw.
 
@AlexA. But we need
 
2
A: Fibonacci function or sequence

CyoceCy, 33 31 bytes (non-competing) This is going for the function option (takes N, outputs F(N)) 0 1 :>i {1 - {&+} times} &if :< Ungolfed/explanation: 0 1 # first two fibs are 0, 1 :>i # read input as integer (let's call it N) { 1 - {&+} # add the last two values ti...

 
7:35 PM
^^
 
how's this indentation/explanation style?
 
nice
but put it through the make this code explanation pretty again code.
 
what's that?
 
14
Q: Make this code explanation pretty again

DenkerAffeIntroduction Most code-golfers here add explanations to their submissions, so it's easier to understand what's going on. Usually the codelines go on the left and the corresponding explanation to the right with some kind of separator. To make it look pretty, the separators are all on the same col...

 
but it's already like that...
 
7:38 PM
@Cyoce You should've used semicolons for comments.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Nope. too weird
 
@CᴏɴᴏʀO'Bʀɪᴇɴ also I like my comments to be syntax highlighted as comments
 
@flawr Take food thing. Add heat until cooked. Eat.
 
7:39 PM
I se no syntax highlighting
 
That is true
On mobile however...
 
Mobile ಠ_ಠ
 
Also why does your page look so different?
 
I use the user script style
 
7:41 PM
@MartinBüttner Why doesn't this code loop? Is it something with how the latest version of Retina works? retina.tryitonline.net/…
 
"user script style"?
 
the PPCG user script...?
Where have you been the past month?
 
@mbomb007 parentheses no longer loop
they're just groups now
they need to be combined with the + option to loop them, but there are shorthands { and } for +( and +) respectively
so just change the ( to {. and you'll want to move the s after the { or else it's going to apply to both stages in the group
 
@CᴏɴᴏʀO'Bʀɪᴇɴ not on chat?
 
7:47 PM
@flawr ... you're the only person in the top-50 rep (for PPCG) that doesn't have a gold badge. Bravo!
 
ven
Hahahaha
How much rep to get in top50/100? :P
 
More thank me :D
 
@ven #50 is Cᴏɴᴏʀ, with 8934
#100 is TheDoctor, with 5251
 
Aw yus, #16
 
7:57 PM
@TimmyD Yaay=)
How did you find out?
 
^^^
 
4 mins ago, by TimmyD
http://stackexchange.com/leagues/88/alltime/codegolf
 
Not sure whether I should be proud or not.
 
@AlexA. Ninja'd
 
@TimmyD Wow, I'm exactly 50 :D
 
7:58 PM
32 mins ago, by Alex A.
>:U
 
@flawr I'd say you should be. That means you're walking a very fine line between "being good at golf so that you get a lot of rep" and "being so good at golf you get a popular answer or question"
 
My gold badge is fanatic :P
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Mine too. I bet most of the lone ones are.
 
I wouldn't mind popular answer :P
 
@Zgarb I lost a bunch of streaks on the network yesterday :/ ...
 
8:00 PM
@TimmyD I've just been here for too long, I do not really get a lot of rep. And I'm not really good at glofing=)
 
interestingly, I'm closest to fanatic on SF&F (90 days) without ever visiting it for the purpose of keeping up the streak, and without ever posting anything there.
 
I think most of my rep comes from a handful of answers/challenges.
 
@MartinBüttner I read that as "I lost a bunch of steaks" and I was like "Oh no where did they go"
 
I'm slowly closing in on Electorate.
 
I think either Fanatic or Electorate was my first gold here.
 
8:02 PM
20/25%
 
I'm 16 challenges away from Socratic.
 
nice
 
I take bets, what do you thinkg is going to be my first gold? =)
 
8:04 PM
electorate.
@flawr flagged as [2] and [3]
 
@flawr Offensive like your fuck onebox a while ago???
Somebody go review low quality questions.
 
@EasterlyIrk Oh comon, that was not really offensive.
 
@EasterlyIrk That's just Community being stupid
 
8:08 PM
For oneboxing xkcd links.
 
The review queues are almost always empty when I go to them. A pox on us for having a responsible community. :D
 
@flawr buy annoying.
@TimmyD rofl
 
oops, s/buy/but/
 
@MartinBüttner Also, is there a way you could have a table of contents on the Wiki? That'd be really helpful.
 
8:16 PM
i love this deleted answer:
because it's like
"i'm going to cheat, but not even really that well"
 
@mbomb007 I'll look into that.
 
could have called it p in the current directory, could have printed directly instead of going through a variable, open() assumes 'r' if no second argument is provided...
it's really good
 
@undergroundmonorail you forgot to hide the user name
 
ah
uh, whoops i guess
at least it's different than their se name
 
0
Q: Shortest code to overwrite function pointer

MathuSum MutWhat if we had to write code that calls a function, let's call it f(), but the actual executed function is not the one we originally called because it has been overwritten, but not overriden (ie. using inheritance is banned)... Consider the following C program: int main() { return f(); } i...

 
8:28 PM
My most-starred chat post is 16.
 
What was it about?
 
Mar 17 at 17:57, by TimmyD
> When the inventor of the USB stick dies, they'll gently lower the coffin, then pull it back up, turn it the other way, and lower it again.
 
Oh=)
How can you view all your posts?
 
This is my most-starred chat post at 22 stars:
 
8:30 PM
Think my most is 12:
Jan 18 at 16:34, by RikerW
@Doorknob what is Vim?
@El'endiaStarman well, belated "Nice!".
 
How did you find out what your most starred post is?
 
and s/22/23/
@flawr YOu don't.
I've tried, but I think he just guessed.
 
@EasterlyIrk ...neither he nor I guessed. TimmyD provided the link.
 
Oh gosh, my most starred message is something that isn't even that funny...
 
This is my most-starred chat post at 11 stars:
Feb 15 at 18:02, by mbomb007
user image
 
@El'endiaStarman Is that like a variation on magic squares? I don't think I'm smart enough at the moment to follow that.
 
@TimmyD Man, I'm great at stars
 
My highest:
Mar 9 at 5:40, by Cᴏɴᴏʀ O'Bʀɪᴇɴ
HAPPY 10K @DONMUESLI
 
@TimmyD We have a PPCG challenge on it.
23
Q: Print all 3 by 3 sturdy squares

Helka HombaA sturdy square (akin to a magic square) is an arrangement of the integers 1 to N2 on an N by N grid such that every 2 by 2 subgrid has the same sum. For example, for N = 3 one sturdy square is 1 5 3 9 8 7 4 2 6 because the four 2 by 2 subgrids 1 5 9 8 5 3 8 7 9 8 4 2 8 7 2 6 all sum to ...

 
8:36 PM
Feb 23 at 19:29, by Alex A.
Well, now that we've graduated we no longer have to try to get 10 questions per day. Back to slacking, everyone.
29 stars :D
But I have 32 pages of starred posts, so I don't know what the highest starred one is
 
This is my favorite message:
 
I need more stars :P
 
Jan 11 at 16:10, by quartata
>>> set("test");
set(['s', 'e', 't'])
@AlexA. I have 10.
 
Oct 30 '15 at 18:51, by Alex A.
I'm so confused right now. I'm just imagining Beta and Peter drinking pot tea while Lembik does lines of cocaine.
Wow, I sure don't remember this conversation
 
I do
 
8:40 PM
Oct 14 '15 at 20:48, by flawr
When doing a golf intro course I learned that humans actually sound like bags of water if you hit them hard enough with golf clubs in the face.
 
@El'endiaStarman Ah, so my magic squares comment wasn't too far off. And your sequence is how many MxN "squares" fit that "sturdy" definition -- meaning there are 20,352 4x4 squares. Cool.
 
@AlexA. damn son. I only have 10
or is there a limit of 10 pages for non-mods?
 
Oh this post actually deserved it's stars:
 
Aha, that's clever.
 
@MartinBüttner Another Retina question? (How) does Transliteration work with extended ASCII? I want to do Transliteration on the range 0x00-0xFF
 
8:52 PM
should work out of the box
it's just going to be tricky to supply the null byte on TIO
 
Yeah.
Did you see my earlier questions?
nvm
I didn't see the ping
@MartinBüttner Thanks. And I want the s to apply to all stages in the loop. :D
 
@mbomb007 if you use it offline though, you can just put a null- byte and the 0xFF in the source code
@mbomb007 ah okay. that should do it then.
 
Yeah. Dennis said I can base64 encode the bytes into the URL
I'm working on creating a BF interpreter in Retina for the fun of it. :D
Since it hasn't been done yet.
 
The other way around also hasn't been done yet.
 
@mbomb007 that's mainly because it isn't really possible yet
 
8:56 PM
Yes it is.
I already have an interpreter that works without loops.
 
you can't print a single character without losing all the information about the current state
 
Yeah? So just keep a record of the output, and print it at the end.
 
right, but then you won't be able to implement something like a truth machine in your BF
 
You mean blocking input?
or what wouldn't work?
 
I mean infinite output
 
8:58 PM
True.
If there were separate output streams, it'd work.
 
if it wasn't for that I probably would have already written one
 
@TimmyD already exists
it's probably going to be the next thing I'll implement anyway
 
:(
(I don't really follow development of Retina, or any other esolang, I just wanted to be a part of things)
2
 
the other issue is that infinite input isn't possible at the moment, and I'm not entirely sure yet how to make it possible
 
8:59 PM
@MartinBüttner Here's my finite output, no-loops BF interpreter in Retina:
 

« first day (1882 days earlier)      last day (2963 days later) »