« first day (1749 days earlier)      last day (3097 days later) » 

1:03 PM
Why this is still downvoted.
 
]=\
 
goose?
 
1:20 PM
You forgot the two ducks.
 
1:46 PM
@MartinBüttner
About the ? command, could this regex be used to get the next number?
/(\+|-|)\d+/
Also: "Pushes 0 once EOF is reached." Does that mean that a 0 will get pushed if there are no integers that you can read?
 
/[+-]?\d+/ ... but yes, that's the same thing ;)
and yes
 
@MartinBüttner So what happens if the input integer is 0? :o
 
it's not distinguishable
if that's an issue, you'll have to work with ,
(reading individual characters)
@Stefnotch so say the input is a5-6bc10e. ???? should push [5 -6 10 0]. ???,, would push [5 -6 10 101 -1] ... and ????, would push [5 -6 10 0 -1]
 
Ok, I will write the code and test it... :D
http://codegolf.stackexchange.com/questions/44680/showcase-your-language-one-vote-at-a-time/55684#55684
^^I use that answer rather often as a reference and stuff even though a github page exists...
 
I really need to catch up on that...
 
1:54 PM
:D Can't wait for it!
 
2:23 PM
I think I've got closures working in my C++ template language.
 
2:41 PM
@MartinBüttner um, I'll think about it, but I see it as very low priority
 
Am I the only one seeing that Eridan's and SuperJedi224's conversation is seemingly on the wrong answer in this challenge?
2
 
ooh, 25 stars! :) clicks
27 now, it must be a record
 
2:55 PM
there you go
 
3:06 PM
runs a script to get the highest number of stars
 
@Stefnotch I don't think it's working :p
 
@aditsu he meant to know which message has the highest star.
 
oh, ok, but we already know that
 
I am just wondering if there are any older messages with more stars...
WOW, there really isn't a single message with more stars!
 
told ya
previous record was something about new moderators
 
3:14 PM
:D
 
oh, and somebody being an idiot.. was it quartata?
 
yes, he's the universal idiot now
just like Alex is the universal wrong here
 
That's old news. What's cool now is stopping abusing stars
3
 
not for a time traveler, no.
 
2 mins ago, by trichoplax
That's old news. What's cool now is stopping abusing stars
<-- wants to star that, but won't
@trichoplax By the way, thanks for the bounty. :)
 
3:25 PM
tbh, this one is a forced and fake top star as it is pinned ;)
 
do you guys participate in the world community grid?
 
we are part of the world community grid.
 
I'm not sure if you're talking about the same thing :p
anyway, I was thinking about making a team for code golfers
 
what do we have to do?
 
3:40 PM
Sounds interesting... but^^
 
register and run the software from worldcommunitygrid.org
choose which projects you'd like to contribute to, and let your computer(s)/devices do the work while idling
it's like seti@home (for those who heard of it), but actually useful :)
 
is that really true?
I mean, it really helps and they have really found those things due to extra computation power..
 
yeah, there are various research papers and presentations you can check
IBM is behind it
 
Iv always Considered Taking all the old computers sitting around and making a Cluster computer to run something like that. But Implementing Cluster computers to do anything efficiently is SOOO much work...
 
yeah, you actually need to have small enough individual computation work to scale horizontally
What about privacy? In this world that we are in, I am more worries that NSA might be involved ...
 
3:48 PM
At this point. I feel trying to keep the NSA out is a bigger Flag for them to watch then just acting normal.
 
you can also just install BOINC from whichever source you prefer, and configure it for wcg
 
if they consider mental paranoia about privacy a threat to them, that is.
 
(you still need to register on wcg)
 
Can you "disable" that software whenever you feel like it? (Not uninstalling it, just stopping it from running.)
 
hmm i have an IBM e336 laying around might get it running one of these.
 
3:57 PM
@Stefnotch sure, although the way you can do that may vary depending on the OS
on my computer(s) I do /etc/init.d/boinc stop/start, on my tablet there's a suspend button in the app
 
I got a Windows PC..
 
i am sure there is a ui to start/stop it
 
I'm not familiar with that, but yes ^
 
of course "i'm not familiar with that" is the first line that comes out of a unix/linux guy wrt UI
SE should also switch to hearts for stars. Will garner at least 6% more hearts..
 
LOL! XD
"of course "i'm not familiar with that" is the first line that comes out of a unix/linux guy wrt UI"
I bet the unix/linux guys say the same stuff about the Windows/Mac users! :P
 
4:03 PM
I used to be a windoze guy, but I switched before starting to contribute to wcg
 
I used to be a unix guy, but then I took an arrow to the knee
 
so you switched to windoze to play skyrim? :p
 
no, I just wanted to post that line :P
although, I was restrained to switch to mac/linux from PC due to the games.
 
you can play nethack in linux just fine ^_^
huh, btw, I should check on my openttd game..
 
I am sorry but I fail to see how nethack is a game ;)
 
4:09 PM
why, is it too realistic? :)
 
yeah, and thus, too boring and mundane
 
oh, I just found it now, there's a kind of recruitment link for wcg: join.worldcommunitygrid.org?recruiterId=658427 (it would earn me a badge or something if you sign up through that)
 
That game looks....weird?
 
yes
 
@Stefnotch which one? nethack?
 
4:12 PM
Yeah! XD
 
its so weird that the mods here love it.
and some other users like aditsu
 
it looks fine... for text mode :p
I never played it :p
I think I tried it once.. had no idea what was going on
 
lol
@aditsu just like real life
> had no idea what was going on
 
I played life more, I'm kinda getting the hang of it a little bit.. but it really sucks that it doesn't have savepoints
also, it doesn't have a clear goal
 
Can I suggest a goal? :P
 
4:18 PM
you just explore things, gain experience, choose your own goals... @Stefnotch sure
 
Make me dictator of the entire planet? (Look, I am being humble, I didn't say universe!)
 
that sounds like a stupid goal
 
LOL! It is, unless you are me....
 
I feel like you would like it over there on WorldBuilder.
 
1
Q: Rotate the anti-diagonals

ZgarbBackground In most reasonable programming languages, it's very easy to rotate the rows or columns of a 2D array. In this challenge, your task is to rotate the anti-diagonals instead. Recall that the anti-diagonals of a 2D array are its 1D slices taken in the northeast direction ↗. Input A non-...

 
4:30 PM
there was a great Louis CK bit, but I can't seem to find it ><
 
@aditsu just like mario
@Stefnotch you need more than one life for that. Played spore ever?
 
Oh, Doorknob's record went up!
I haven't played that game....
Goodbye!
 
what record?
 
star this to break Doorknob's record!
 
;( T.T
 
I want to give Zgarb a bounty for coming up with that challenge.
 
@MartinBüttner :P
 
Somehow, I think diagonals would have been even harder.
 
I got the inspiration from J's /. adverb, "apply to all anti-diagonals".
But yeah, in general it should be easier to extract anti-diagonals than diagonals, and to reconstruct the array from them.
 
4:53 PM
I feel like I'm missing some neat trick for the reconstruction
 
me too
 
5:14 PM
@aditsu huh, I found something, but not on youtube
tune.pk/video/3370845/… starting at about 5:30
 
tune.pk? more like puke.tn
 
haha, it doesn't seem to be that bad
there's a guy who asked about that clip on reddit, I wanna reply to him, but that seems to require creating an account, hmm...
 
nice try
 
5:29 PM
@MartinBüttner Your anti-diagonals doesn't seem to work for 123 \ 456 \ 789 ... it doesn't rotate the 6 and 8
 
@aditsu instead of the usual 2 bytes, I could save three bytes this time if we already had n ;) (codegolf.stackexchange.com/a/63756/8478, the {},No at the end could become (n ... also notice the use of {} :P)
let me check
@TimmyD oh right, this is why I used to have Sf- ... let me fix that
 
n?
ah, print with newline
 
@MartinBüttner Oh, no!
 
oh, that's an interesting challenge
 
5:37 PM
I think I'll add this to the list of exemplary questions
 
6:07 PM
0
A: Can you handle the pub?

JimmyJazzx VBA, 251 bytes Function k(x) As Boolean:q=Split(x):g="b1e0h2j0r6t7v6w3":h="B03C25G02K50S.2":For i=1 To UBound(q):j=j+Left(q(i),Len(q(i))-3)*Mid(h,InStr(h,Mid(Right(q(i),3),1,1))+1,2)*Mid(g,InStr(g,Mid(Right(q(i),3),3,1))+1,1):Next i:If q(0)/2<j Then k=1 End Function Readable Format Functi...

I now remeber why using Arrays in VBA is not freindly
The built-in's are just terrible and make me want to go back to java
But i really doubt it would be any shorter
 
@Zgarb I was hoping (1&|.)&./. in J would solve your question :) (basically take anti-diagonals, rotate them, and then "inverse take anti-diagonals")
but this is incorrect for multiplereasons
 
@aditsu both our solutions would benefit from this: sourceforge.net/p/cjam/tickets/34
(the 31 I was about to send you would work in all cases if this was implemented)
 
What's the consensus on using the text of a text editor for input or output, like in this meta question?
 
6:23 PM
For a question or an answer?
 
An answer...I'm not sure how you would do that in a question.
 
Hey all!
 
I would agree with the Meta Post. Really its up to the OP, But If that is for some reason shorter then printing to SDOUT i don't see why it would be a problem....
But I code in VBA so i like to break the rules for output, So take that with a grain of salt.
 
@randomra My motivation for the challenge came from the observation that that doesn't work. :)
 
@feersum hello... So you were asking about the name of the sandboxed challenge of mine (hopefully going to post it today!)... Should I change it to the OEIS name of the sequence?
 
6:30 PM
@TanMath I don't remember what the name was, but its description of the task as concatenation made sense.
 
How do I find all messages of a certain user?
 
Do you mean in chat?
 
Never mind, found what I was searching for: chat.stackexchange.com/users/112128/martin-buttner?tab=recent
 
@Dennis You earned it :)
 
@MartinBüttner I don't think I need that anymore
(for my answer)
 
6:40 PM
@aditsu I had finally figured out how your code worked, just to find out you redid it completely...
 
haha, it's basically the same idea but much more succint now
 
Is revision 2 still the same L-rectangle approach?
 
yeah, with a bunch of tricks
golfing it a bit more...
 
Well, you can save three bytes by making it a function.
 
4 bytes are kinda wasted to deal with an edge case, reducing that to 3...
@Dennis hmm, that might help
just write it as a block, right?
 
6:43 PM
is there a mini game going on in which you have to link the last "crossed 44 is still normal 44" comment in a comment with the same wordings whenever the case arises?
 
@aditsu Yes.
 
@Optimizer yeah, but only 1 guy is playing afaik
btw, crossed 44 looks different here
 
doorknob is also playing
@aditsu :O :O :O
 
not very obvious though
 
Nov 9 at 4:05, by Dennis
@El'endiaStarman Are all of you using the same font? I can distinguish crossed out 44 from regular 44 just fine, both on my phone and my desktop.
I'm not alone!
 
6:45 PM
you guys are missing all the fun!
 
Am I the only one who has no idea what ^ that link is both the times and also no idea why it is being posted here ?
 
@Optimizer no you're not
 
Doorknob's post has 30 stars .-.
I wish he hadn't pinned it. That's unfair to hard-working idiots like me.
12
 
6:53 PM
31
 
I would be veeery cautious about American things with "patriot" in the name
 
and that's the funnier/less dangerous side ^ :)
 
4 hours ago, by Optimizer
tbh, this one is a forced and fake top star as it is pinned ;)
 
@TheDoctor care to explain what that graph is showing us? For us that are not up to date with our NSA spy programs?
 
6:59 PM
@JimmyJazzx NSA might wipe out his explanation before it reaches us
given that what he knows is close to truth anyways..
 
score based on number of fixed vulnerabilities
 
WHY ARE YOU FIXING VULNERABILITIES IN NSA SYSTEM???
3
 
Can somebody access php.net ? My connection gets refused >:(
 
php hosted on .NET application ?
 
the site is probably not working because it's written in php
 
7:00 PM
-.-
@aditsu Yes, that's my guess, too.
Ironically, I can access php.net/downloads.php ...
 
OMG, I think someone is trying to take over my comput
 
Is it your scarf?
 
@Optimizer Yet you somehow managed to hit enter.
 
You know, I have to say that this is still my favorite of my challenges:
13
Q: Confidant Numbers

quartataConfidant Numbers Let x be an integer of an arbitrary base, such that D is an array of its digits. x is a Confidant Number if, for all n between 1 and the length of D: D[n+1] = D[n] + D[n-1] + ... + D[1] + n Take, for example, the number 349 in base 10. If we label the indices for this numb...

Especially considering it has an awk answer
@Optimizer I'm glad you agree.
 
@quartata Do you want me to pin your message?
 
7:14 PM
@Dennis What, my "I'm an idiot" one?
 
That's the one that got outstarred, no?
 
@MitchSchwartz hi
 
No, because then it wouldn't be as much of an accomplishment.
@Dennis Yeah.
 
To level the playing field, I mean. It's only fair.
 
I'm trying to decide what kind of spiral SpiralFuck should use.
 
7:20 PM
An IUD?
 
@quartata eww
 
...
It's a BF derivative.
I was thinking maybe Fermat's spiral:
That would be nice since it is bidirectional
 
have you heard that some animals have weirdly-shaped penises?
 
hey @aditsu ! can I say that you are sooo right?
 
sure, you can say that anytime
although I would prefer nicer contexts, but it's still true :)
 
7:25 PM
@TanMath Couldn't that wait until Alex is wrong about something? :P
 
I think the Nineteenth Byte wins the award of weirdest room on SE.
But seriously can anyone help me pick a spiral to use for the tape in my BF derivative
 
if Alex is being wrong but there's noone around to see it, doesn't it still warrant a tag?
 
The idea is I want to make it so that you can "jump" up and down a layer in the spiral
@aditsu But the transcript is always listening
 
@quartata I don't know any other SE chat rooms, but I'm guessing that it's far from the weirdest.
 
@Dennis But only we abuse stars
That gives us a competitive advantage
 
7:27 PM
@quartata I mean when he's not in the chat
 
@quartata If you're looking for on topic discussion about esolangs, you might be better served in this room :P
 
@Dennis why should I wait? he is always wrong!
 
@quartata I don't know what the spiral is supposed to represent, but I would probably choose a spiral representation of ℤ²
 
I wonder if @Doorknob 's message has the most stars in this room!
 
Yes.
 
7:34 PM
@Dennis it truly does?
 
Yes, it does.
 
@Dennis how do you know?
 
Black magic.
 
^ I can confirm that Dennis's last three statements are true.
 
I can confirm the first two of them
(not denying the last one)
 
Anonymous
7:46 PM
So a user threw a 50-point bounty on the Seriously question. I now have collected 150 rep from bounties on that question :P
 
@Mego good!
@Mego can you seriously teach me Seriously so I can seriously use it in golfing challenges? :p
 
Anonymous
Meanwhile my indefinite 100 rep bounty is still there for an answer that gives the correct output for all test cases (including silver and gold cases), without using the run-and-check method
 
Anonymous
@TanMath Let's start with the basics. Do you understand how a stack (the data structure) works?
 
@Mego not really...
 
Think Pancakes... wait,no,Code not food stacks.
 
Anonymous
7:50 PM
@TanMath A stack is a data structure that can hold an arbitrary number of "things"
 
Anonymous
There are two main operations: push and pop. Push puts a "thing" on top of the stack, and "pop" takes the top "thing" off
 
@Mego i get that...
@Mego like in an array..
 
Anonymous
@TanMath Yes, but without the ability to say "I want the 4th element"
 
Anonymous
You can only access stuff by popping things off the top (the 0th element, if you want to think of it like an array)
 
Anonymous
Stack-based languages don't have variables. You can't do x=0, like you could in Python. Instead, data storage is exclusively done with a single stack that you can push and pop from.
 
7:53 PM
@Mego ok...
 
@aditsu This is interesting, I hadn't thought about a square
And to answer your question it's for the tape.
 
Anonymous
For a simple example, let's say you want to get a number as input from the user, add two to it, and output it
 
Anonymous
In Python, that would be x = input(); print x+2
 
well, it's very useful for the tape then
 
@Mego correct...
 
Anonymous
7:55 PM
With a stack-based language, you would have psuedocode like read input and push; push 2; pop top two elements and add them, pushing the result; pop and output
 
@Mego CJam has variables. Rotor has a register. This isn't always the case.
A "pure" stack-based language would use just the stack though.
 
Anonymous
@quartata Yes, but I'm talking about a theoretical "pure" stack-based language
 
Anonymous
Better to start simple
 
@quartata actually, I didn't pin it. A friendly neighborhood blue person did. :P
 
@Mego Right.
 
Anonymous
7:56 PM
@Doorknob da ba dee da ba die
 
@Doorknob dammit alex
2
Geobits fell off
 
Anonymous
@TanMath following so far?
 
@Mego yes...
 
@MartinBüttner I wish I had known about this room when I made Rotor
 
Anonymous
@TanMath Ok, so in Seriously, each of those 4 commands has a 1-byte character associated with it. , is read input and push, 2 is push the value 2, + is pop top two, add, and push result, and . is pop and output
 
Anonymous
7:58 PM
So your program then would be ,2+.
 
ah...
that's it?
 
Anonymous
Yep
 
Anonymous
Now, Seriously was designed for golfing
 
Anonymous
And in code golf, usually the last thing you do is pop everything off the stack and print it in that order
 
Anonymous
(in other words, having a . at the end of the program for every value on the stack)
 
Anonymous
8:00 PM
In Seriously, at the end of execution, the stack is automatically popped and printed
 
Anonymous
So you don't need that . at the end: ,2+ is identical
 
@Mego anything else about Seriously?
 
Anonymous
Now in Seriously, there are 4 main data types - numerics, strings, lists, and functions
 
Anonymous
Numerics are integers, floats, and complex numbers, strings and lists are exactly what you'd expect, and functions are bits of Seriously code like a Python function or lambda
 
@quartata In fact, neither did Alex.
 
Anonymous
8:04 PM
Single-digit integers can be pushed with the 0-9 commands, but other numerics require using a literal. Numeric literals are surrounded with :, so :100:, :1.25:, and :1+2j: are all numeric literals.
 
@MartinBüttner That leaves you and Dennis.
I trusted both of you.
 
or does it...
 
Which one of you has betrayed me
 
neither
you jump to conclusions too fast :P
 
Actually it could be Elendia
 
Anonymous
8:05 PM
Strings are surrounded with ", like in Python, and lists are encased in [], also like in Python. Functions are surrounded with backticks (`)
 
Anonymous
And that's all you really need to know to get started with Seriously
 
or the fabled gnibbler
Or Zizouz the wandering village idiot
 
Anonymous
Oh, and don't put infinite loops in the online interpreter
 
there are at least two more blue regulars in here
 
trichoplax is too srs for something like that
 
Anonymous
8:06 PM
iirc trichoplax was part of the star spam :P
 
@Mego Wait, what?
 
Anonymous
@quartata If I remember correctly from yesterday, he was one of the ones slapping stars on everything. There's a decent chance I don't remember correctly.
 
@Mego what do you mean by a numeric literal? like "100"?
 
Anonymous
@TanMath Like the number 100. The code 100 won't push 100 - it'll push a 1, a 0, and a 0
 
Anonymous
So if you want numerics that are more than one digit, you need :
 
8:10 PM
@Mego oh..
Now I need to apply the knowledge... thanks!
 
Anonymous
I think the IDE is all client-side, so if you put in an infinite loop, it's your browser that's getting hosed
 
Anonymous
But still, don't do it
 
Anonymous
Wait, no, it can't be
 
Anonymous
But it'll timeout after like 10-15 seconds anyway
 
8:31 PM
here's a math problem/puzzle I was thinking about:
let's say there is a circle drawn on grid paper, centered at (0,0)
 
@PhiNotPi I give up
3
 
any grid cells that contain the circle's edge (not counting edges/corners of the cell) are shaded black
 
@PhiNotPi so the circle has to fully cover the grid cell, or just the center point of the grid cell?
 
Anonymous
@Doorknob I think he means the edge of the circle has to be in the grid cell, not just tangent to the edge or corner
 
I'm talking about the curve of the circle, not the area of the circle. The curve must pass through the cells.
 
8:34 PM
oh, ok
(can a curve be tangent to a point? :P)
 
Anonymous
A curve can be tangent to the intersection of two vectors
 
wouldn't you just say the point is on the curve, though?
 
Anonymous
shh
 
uhhh, let me draw a diagram in paint or something
 
Anonymous
I understand what you mean :P
 
8:36 PM
I understand now :P
 
Hello!
 
Anonymous
There was a challenge that my attempted solution involved a similar concept
 
the stupid pyth executor doesn't let me copy the output!
 
Anonymous
The one where you were given W and H, and you had to output N, the largest number of points on the WxH grid such that every distance between any two points was unique
 
@TanMath Works just fine over here. What browser are you using?
 
8:40 PM
well, anyways, it's a question of which radii cause the shaded cells to form a set of 1-wide rectangles
 
@Dennis safari ipad... I am trying to copy 100 numbers from the output...
 
Anonymous
> safari
 
Anonymous
Well there's your problem
 
Anonymous
@PhiNotPi That's an interesting premise, mind if I borrow it for a related challenge?
 
@Mego whay is wrong with Safari?
 
Anonymous
8:43 PM
@TanMath It would be easier to list what isn't wrong with Safari, as that set is finite
 
@Mego ok, examples of what is wrong with safari?
 
paint drawing incoming
The green circle (r=5) works, but the red circle (r=2) doesn't.
 
@TanMath A <pre> tag for output isn't very mobile friendly. That's why I use a disabled <textarea> for my own online interpreter.
 
@Dennis so should I use chrome?
 
Anonymous
@TanMath It's made by Apple, for one
 
8:49 PM
I don't know what issue you're having with Safari. Trying to select all output with Chrome grabs either items before or after the output box.
 
As far as I have been able to tell by hand, only r = 1, sqrt(2), sqrt(5), sqrt(8), sqrt(13), and 25 work.
 
Anonymous
@PhiNotPi The similarities between that sequence and the natural numbers makes me wonder if there's an error in the math somewhere
 
(it should be r=5, not 25, above)
 
@quartata I wish I could take credit but alas I cannot
 
@Mego it's because the circle has to pass through gird points (which are the shared corners of the rectangles)
 
8:57 PM
Ok, I got it to work in chrome... I am going to post! so excited!
 

« first day (1749 days earlier)      last day (3097 days later) »