« first day (1739 days earlier)      last day (3103 days later) » 

4:00 AM
@BrainSteel You're just going to give us your age?
 
You just gave us yours
 
@AlexA. You'd like to think that, wouldn't you?
 
Uh idk. I don't really care.
 
It's pretty hard to be embarrassed about being 18.
 
@BrainSteel On a scale of 0 to 18 how hard?
 
4:02 AM
18, obviously ;D
 
@AlexA. He checks out, he's 18
 
You're checking him out?
I thought we were checking Geobits out.
 
I was checking Geobits out, so by the transitive property of checking people out, so was he.
Checking people out is an equivalence relation.
 
Are we still checking me out then?
 
From the library, yes.
 
4:06 AM
Of course. Since checking people out is reflexive, too, you're also checking yourself out, right?
 
Ok, but I need to be back in a couple weeks.
 
You're also going to need to start checking the rest of us out in return.
We don't do this for free, you know.
 
flexes
 
droops
 
@BrainSteel Then he doesn't do it for free -.-
 
4:08 AM
Do you accept Geocoins? It's the latest semi-crypto currency.
 
semi-crypto is not very reassuring.
 
Is is coded in @GamrCorps 's MotherShip?
 
Your data is half protected. Which half? Guess!
 
@BrainSteel It's randomized isn't it? You never know how protected you are.
 
Doesn't mean you can't guess
 
4:09 AM
@BrainSteel That sounds like a yes to me. I can deposit them into your account if you create one. I'll send you the sign up form tomorrow.
 
Mmmhmm... Send them to BrainSteel@nigerian_prince.com please.
3
 
Oh wow, you're royalty? I never knew.
 
@BrainSteel Make sure to put in a email you commonly use and a password you commonly use.
 
You'll need my SSN, right? Everybody asks for it.
 
@BrainSteel There's a reference I never thought I'd see again :D
 
4:10 AM
@BrainSteel Along with whatever else you think might come in handy.
 
Here's another reference you might not have seen in a while.
3
 
@BrainSteel address and zipcode, favorite food, your pet's name, etc...
 
His favorite food is chunky peanut butter on steak.
 
@AlienG He'll need to have the passcode to my gun-safe too. In case he needs to protect me.
 
4:12 AM
@BrainSteel True story: I learned how to play that on the recorder to mess with my brother.
 
@Geobits Heh. Geo mining.
 
@BrainSteel Oh, right! Almost forgot.
 
@BrainSteel ಠ‿ಠ
@BrainSteel You have a gun safe? :O
Kansas...
Can never be too careful
 
I actually don't. I know people, though...
 
In the future websites will hack your other website accounts to see how similar your passwords are so that you'll have a secure account.
 
4:13 AM
I live in a friendly part of town :D
 
@AlexA. Washingtonians can own guns too you know
 
@AlexA. Better to have a gun safe and guns in it than to have guns and no gun safe.
 
@Calvin'sHobbies I know. :/
 
You see, I was born in Texas. There are a lot of guns in Texas.
 
4:15 AM
You were born in Texas? :O
THERE ARE MORE THAN SEVEN GUNS IN TEXAS???
7
 
There are households with more than 7 guns in Texas.
 
I admit I've never counted
 
There are children with more than 7 guns in Texas...
 
@Calvin'sHobbies Educated guess.
 
@BrainSteel Oh dear
@Doorknob Can you confirm that there are more than 7 guns in Texas?
 
4:16 AM
There are nuns with more than 7 guns in Texas
 
GUN NUNS????
 
Gun nuns with nun guns bigger than MY guns.
 
There are even guns with more than seven guns in Texas.
 
There are practically bullets with more than seven guns in Texas.
 
"Gun for Nuns" Could be a business nam
 
4:18 AM
@AlexA. Jar Jar?
 
@AlienG It probably is, in Texas.
 
Are lists of small things bigger in Texas?
 
As are the small things themselves.
 
Small things are bigger in Texas?
 
We're going to need an tag.
 
4:20 AM
Texas is why you can't buy a "small" pizza.
 
Not everywhere!
Just in Texas
 
Nuh uh, I did not say "only in Texas"
Just... definitely in Texas.
 
Who's Justin Texas?
 
My cousin!
 
4:23 AM
That moment when you take off your headset and proceed to leave your area but then trip on the sagging cable...
-.-
 
They call that the trip of shame.
 
One day when everything is wireless...
 
I was so sure to take off my headset too ;_;
 
Then the trip of shame will be simply tripping on yourself.
 
One day when everything is legolas...
 
4:25 AM
um
 
I, for one, welcome our new fish-person overlords.
 
Then the trip of shame will be simply flopping around on the floor.
 
(Me to my children) Back in my day we didn't got no wireless siz-ouh-ha and the trip of shame....
@AlexA. It happens to the worst of us.
 
@AlexA. Is this "flopping around on the floor" some new-fangled term for dancing to dubstep?
 
New-fangled? I thought that was the definitive term for dancing to dubstep. :P
 
4:28 AM
@BrainSteel Yes, because wireless devices will run out of frequencies and will have to resort to audible sound..
 
It's all coming together now.
 
The Dub-Trip-Over-Nothing-Step
 
One day when everything is floorless..
 
Again, we're back to fish people.
In the end, it always comes back to fish people.
 
@BrainSteel The planet would have to be completely liquid then...
 
4:31 AM
We're 2/3 of the way there!
 
Rip Earth.
 
@Calvin'sHobbies Then the trip of shame will be simply flying through space wearing a Pop Tart and pooping a rainbow.
 
Welcome to Liquid! (+1 to anyone who gets this)
@AlexA. With sparkling stars all around you.
 
There's nothing shameful about Nyan Cat.
 
I like the jazz version
 
4:32 AM
PPCG: Where the shamefulness of Nyan Cat is argued.
 
^
 
I'm not claiming that Nyan Cat is shameful.
 
Anyone entering this chat room for the first time would have no idea what this site is about
 
Honestly, the reason this chat is so good is probably thanks to stars...
 
So off topic the off topic becomes the topic
 
4:34 AM
I guess you could say...
puts on sunglasses
Nyan Cat is trippy
 
uh oh
Eyeahhhhhhhhhhh dun dun dun
 
> I guess you could say... puts on sunglasses
One could say that, yes.
 
0/10 execution right there
learn from my mistakes.
 
@BrainSteel Execution? Oh, we're back to Texas?
 
@BrainSteel I've learned nothing.
 
4:37 AM
@AlexA. So you admit to being forever wrong?
 
If he's in Texas.
 
That's quite a logical jump...
 
Wrongness may be subject to other conditions otherwise.
 
@AlexA. Everything makes sense now.
 
@BrainSteel Terms and conditions may apply.
 
4:38 AM
@AlexA. A logical trip, you could say... No? Okay...
 
:P
 
@AlexA. so you're saying you were born being right about something
Learning is the only operator that changes rightness. The only way you could be right is if the initial learning set contained some rightness
 
I've now spent 3 and a half hours not doing homework. I should probably do something about that.
 
Interesting algorithm
 
No, guessing can produce correctness
 
4:40 AM
@BrainSteel good
 
@BrainSteel What you should do is time_not_doing_homework++
 
@Geobits How many Geocoins to a Nyancoin?
 
It's always the chats for coders that make everything tie in together so perfectly...
 
Remember our motto: abandon all work
 
Let's see... One hour of Quantum Computing, two hours of Complex Variables, an hour of statics... 2:41 AM? I've got time.
 
4:42 AM
oh dear
 
@Calvin'sHobbies Sorry. Part of the ToS for Geocoins is that you'll never convert them directly to or from Nyancoins. You'll need a third currency proxy.
 
@Geobits Don't forget the 41% tax.
 
@Geobits Can Alex's points be traded for Geocoins?
 
@BrainSteel Wait, where are you living? I thought you were in Kansas...
 
Abandon all work dammit @BrainSteel
 
4:42 AM
@BrainSteel Maybe time_not_doing_homework-- :|
 
I have exactly 70 of them
 
Legs?
 
@BrainSteel Alex's points are wrong, so...
 
Clocks?
 
@El'endiaStarman I meant 2:41 AM in 4 hours :D It's not that bad.
 
4:43 AM
Ahh, lol.
 
@BrainSteel With your quantum computer you could do that in log(4) hours.
 
I was wondering if you were actually living in Greenland or something...
 
@BrainSteel I don't think you are in Kansas anymore
4
 
No I think he still is
 
@El'endiaStarman He doesn't live on this planet.
 
4:44 AM
Time zones are hard on mars :(
 
@quartata I was waiting for someone to say something like that... :P
 
Good. People got the allusion.
 
@quartata If I didn't get the allusion, I wouldn't be a proper Kansas citizen :P
 
@BrainSteel not if you have your quantum computers
 
@El'endiaStarman hehe
 
4:45 AM
@AlienG Unfortunately, like my quantum computers, my motivation at the moment is theoretical.
 
@BrainSteel [lights a fire under your butt]
 
I'm only motivated to do things in theory.
I know exactly what you mean.
 
(Actually, that may or may not help since your chair is now on fire.)
 
And, subsequently, my desk and papers.
Thanks.
 
On the bright side, no more homework!
 
4:47 AM
@El'endiaStarman On the dark side, hospital!
 
> I'm sorry teacher, my homework got burned up by some guy on the internet.
 
On the not-so-bright, my professors don't like the ol' "my buddy internet-burned my house down" excuse.
AAAAaaand ninja'd.
 
@El'endiaStarman My fire ate my homework.
It may or may not of been force-fed
 
crickets
 
@BrainSteel faint nuclear explosions in the distance
 
4:51 AM
I'm not sure I've ever seen "faint" next to "nuclear explosions."
 
Sorry Microsoft, my college records were eaten by my nukes. oops
 
There's no way it was my fault this time.
 
@Geobits How about Calvin's Hobbills? Rainbolt rubles? Doorknobucks?
 
@El'endiaStarman Don't you mean my grades right now?
 
4:54 AM
@AlienG I know that feeling.
 
@Calvin'sHobbies I'd have to consult my charts. It's complicated, so maybe a challenge is in order. It's always better to get others to do my work for me.
 
Just golfed an if-conditional in this Visual C# tutorial that I'm working through. Bahaha. :P
It was literally of the form
if (a + b == c)
{
    return true;
}
else
{
    return false;
}
So I just changed it to return (a + b == c); and it worked!
 
5:09 AM
Haha, usually tutorials try hard not to be golfed.
 
I know, but this is for an example where I would be adding three more copies.
I didn't really want the if-conditionals to take up the whole screen, so I did this first. :P
 
I don't C#, but those parentheses don't look golfed enough ;)
 
:P
Also...
// These integer variables store the numbers
// for the addition problem.
int addend1;
int addend2;

// These integer variables store the numbers
// for the subtraction problem.
int minuend;
int subtrahend;
Are minuend and subtrahend real words?
 
Barely, but I've seen them before at least.
 
....apparently so!
 
5:12 AM
@El'endiaStarman This raises an interesting question, though: in production code, which would y'all prefer, the one-line return, or the if statement?
 
I first saw "addend" last year, I think. :P
 
@DLosc Y'all
 
@AlienG (I'm asking everybody.)
 
@DLosc One-line return
 
@AlexA. Yeah, should be fine with a one-liner.
 
5:16 AM
That's what I figured, but I was a bit unsure whether my coding style preferences have been too influenced by this site. ;)
 
Roses are #ff0000, violets are #0000ff, all my base are belong to you.
XD
 
... spinach is #00ff00, and so are you?
 
@DLosc Ouch.
The internet is the place.
 
I just came back after an hour and the starboard's already done a makeover o_O
3
 
@AlienG #00ff00 in the environmental sense, of course...
 
5:22 AM
@DLosc Course.
 
Does anyone have further feedback on my tinylisp Sandbox post?
2
A: Sandbox for Proposed Challenges

DLoscTiny Lisp, tiny interpreter code-golf interpreter recursion Lisp programmers boast that Lisp is a powerful language which can be built up from a very small set of primitive operations. Let's put that idea into practice by golfing an interpreter for a dialect called tinylisp. Language specifica...

 
@Sp3000 We did a celebrity makeover for the starboard
 
5:41 AM
Hmprf! Python's Valve parser doesn't understand this question's format.
 
Anonymous
@DLosc Stuff like if(b == true) and return boolean_variable == true kills baby dolphins.
 
Anonymous
Stuff like if(a==b){return true;}else{return false;} makes puppies get abandoned.
 
Anonymous
Be kind to the animals, don't write stupidly redundant code
 
Anonymous
It doesn't add additional clarity, it just makes you look like an incompetent moron
 
Anonymous
And those are my thoughts on the matter
 
5:59 AM
Ouch.
 
... So, no feedback on the Sandbox post? :P
 
@DLosc I'm not the one to ask XP
 
Anonymous
@DLosc I gave you an upvote, what more could you want? :P
 
@AlienG Fair enough.
@Mego Thanks! Well, do you think I should ban eval/exec to avoid potentially trivial solutions in Lisp-family languages?
 
@DLosc I'd recommend it
 
Anonymous
6:08 AM
@DLosc No, because I'd imagine the shortest Python solution would involve eval/exec in some way, and that would be an unfair detriment
 
Anonymous
Instead, I would recommend making the language not trivial to eval in LISP dialects
 
The other option is to say "if there's a trivial solution using eval/exec in a Lisp language, please downvote it" but no one ever does
Actually, I think Mego's suggestion is better than mine
 
The third option is to say "If there's a trivial solution using eval/exec in a Lisp language, it wins."
(I.e. is not necessarily a bad thing.)
But anyway, I don't know enough Lisp dialects to judge how possible that is.
I do know the Common Lisp language definition doesn't require tail-call recursion, but Scheme does.
I suppose the scope rules might make a translation infeasible... I'll have to make sure the test cases cover those robustly.
 
@DLosc What should happen if the result to print is a self-containing list?
 
@feersum No such thing. Everything is pass-by-value.
tl> (d lyst (q (1 2 3)))
lyst
tl> lyst
(1 2 3)
tl> (c lyst lyst)
((1 2 3) 1 2 3)
See also my comment in response to your comment.
 
6:23 AM
Apparently I misunderstood in your earlier answer when you said you could define l to (l).
 
The confusion probably stems from the difference between evaluated and unevaluated data/code.
If you have the list (l) and you don't evaluate it, it's a singleton list that contains a symbol--think of it like a string "l".
It doesn't have anything to do with the variable l unless you evaluate it.
If you evaluate it, since l is the first item of the list, it tries to interpret it as a function or macro and call it with the rest of the list as arguments (here, no arguments).
The trick is that if you type (l) in your program, it will be evaluated--unless you quote it with q.
So (l) in the code does a name lookup on l and tries to call the result as a function/macro; (q (l)) in the code evaluates to the actual list (l).
Clear as mud?
 
Yeah, I don't think I get it now.
Functions have to be quoted, but if you call a function it automatically tries to eval it?
 
In Lisp, code is data and data is code. And most of it is lists.
Any list that you put in your code unquoted is interpreted as a function call.
So something like (+ 1 2 3) in the code will send 1 2 and 3 as arguments to the + function.
 
I don't understand when you would have to use v to use something that was quoted, and when not to.
 
Yeah, it can get a bit tricky... I was going around and around for a while yesterday trying to code a map function.
You can think of q as freezing its argument, preventing execution of anything inside it.
So (q 4) is 4, and (q (+ 1 2 3)) is (+ 1 2 3) (and not 6).
Good so far?
 
6:38 AM
Writing (q 4) anywhere would be exactly identical to writing 4?
 
For an integer, yes, because integers always evaluate to themselves.
(q 4) returns the integer unevaluated (which is 4); 4 returns the integer evaluated (which is 4).
 
Would (q (q 4)) also be identical to 4?
 
No, it'd be (q 4).
 
^ The outside q is the only one that gets called.
The inside q gets "frozen" because it's part of the argument to the outside one.
 
Is it allowed to make functions other than by using the d statement?
 
6:43 AM
You can make an anonymous/lambda function. In order to assign it a name, you have to use d.
 
Can you give an example? How would you make the parameter list?
 
So any function is a list of two elements: the arglist and the expression.
The arglist is just a list of argument names: (x y)
Or, it can be a single name, in which case the whole argument list is bound to that name (like *args in Python).
 
This is also possible for macros?
 
I'll get there in a sec.
 
I think I have a truth-machine in 2 bytes.
 
6:47 AM
The expression is any expression, which is probably going to be some other function call, written as a list of course.
(+ x y), for example.
Then we wrap both of those in a list.
But we don't want them to be evaluated right away, so we've got to quote them.
(q ( (x y) (+ x y) ) )
 
(Sorry to interrupt this conversation) Does anyone here know anything about agriculture?
 
That's the equivalent of lambda x, y: x+y.
@AlienG Not a whole bunch, besides some backyard gardening.
 
@DLosc Best plants to bring to Mars?
I have no idea where to start, I need so much info on them ;_;
 
I think one of my biggest sources of confusion is thinking of q like an operator that creates a string.
@DLosc Actually what I wanted to ask is whether a function can be dynamically created.
 
@feersum What q says is essentially, "Don't evaluate this thing yet."
 
6:52 AM
E.g. a currying or composition function.
 
I think the current scope rules are such that currying isn't possible, though I could be proven wrong.
But I think one could write a composition function that takes two functions and returns a third.
It would take some rather involved list manipulation.
Hm... well, maybe currying would be doable, come to think of it. Just involved.
I'll have to try it sometime.
 
Anonymous
I have a REPL for Seriously! It doesn't do much, but it exists!
 
7:10 AM
@feersum Ha! I did it! (Currying, specifically.) Might have to add to the test cases just cause it's neat.
 
Good to have some test cases that will stress-test it more.
 
The list is getting pretty long already. ^_^ But I don't mind adding more.
 
@DLosc I'm reading the test cases now. So for a macro definition, the first parameter does not have to be an empty list directyl, but can be an expression that evaluates to an empty list?
 
What's the file extension for a UNIX executable?
 
Anonymous
@BetaDecay Usually none
 
7:20 AM
@Mego Ah that's good thanks
 
Anonymous
:)
 
@feersum Technically not the first parameter, but the item before the parameter list.</nitpick> And you're right.
Actually, in the reference implementation, it doesn't matter whether it's an empty list or anything else as long as it's there.
Taking the example from earlier: (q ( (x y) (+ x y) ) ) is a function, but (q ( () (x y) (+ x y) ) ) is a macro.
I'll add more test cases before posting. But for now, buenos noches.
 
Anonymous
I'm going to bed too
 
Anonymous
I need to sleep on some design considerations for Seriously
 
Anonymous
Well, implementation considerations
 
Anonymous
7:35 AM
Whatever
 
@quartata Oh, one important thing I forgot to mention about the truth machine: please don't call it a catalogue explicitly, at least not in the title. In theory, there shouldn't be any difference between a catalogue and a normal challenge (except for the lack of an accepted answer).
 
ಠ_ಠ So. Close.
 
upvotes a question and downvotes two other questions
 
Lol. Please don't. >.>
 
7:42 AM
1004
 
Yeah. Only @MartinBüttner is allowed to use the word "catalog" :P
I don't accept an answer for any code-golf question where multiple languages are competing.
 
Oct 29 at 22:37, by VoteToClose
user image
 
@xnor I like your glob of functions :P
 
I just realized that I've made almost all my rep on AppleScript. This seems... backwards.
 
@feersum Did I use it in a challenge title?
 
7:58 AM
Beats me.
 
Also obviously I'd never use the word "catalog". I'd call it a "catalogue".
 
I see it as another spelling of the same word.
 
+1 for catalogue
Also: looking forward to BF truth machine
 
8:21 AM
@feersum That's....all of them?
 
@El'endiaStarman No.
 
I think I lower the bar quite a bit, though I see no one attempt at cracking it codegolf.stackexchange.com/a/61918/6638
Probably because I posted too late when the challenge has cooled off
 
8:42 AM
0
A: Halloween Golf: The 2spooky4me Challenge!

Κριτικσι ΛίθοςCarrot (version ^3), 14 bytes #spooky(#+2)me Explanation: Carets ^ have now been made optional if you do not want to use commands. The # is the variable representing the input. Every instance of # is replaced with the value of input. Going to the parentheses, the expression inside the parenth...

@Mego
 
 
2 hours later…
11:08 AM
0
Q: Quine multiple times

Christian IrwanYour task is make program that do following: You should take number. (Positive, negative, fraction is possible input) If it is negative, you reverse the quine. and negate that number(Become positive) Then you repeat (integer part) times and print first (floor(fraction part*length)) from your so...

 
11:25 AM
0
Q: Upvoted challenge but no answer

Christian IrwanI'm confused by my question Fix the Meeesesessessesseesseessedessed upp teeexexextext. I get 7 upvotes but no answer. It is well defined, too, as Martin Buettner has fixed it during sandboxing. What's wrong with my question?

 

« first day (1739 days earlier)      last day (3103 days later) »