« first day (1607 days earlier)      last day (3240 days later) » 

10:06 PM
I got my first edit on OEIS approved! :)
 
\o/
I am Vioz- on Stack Exchange.
Proof and everything. :P
 
Haha :P I kind of wish I could figure out how to edit it now
Since you're here and you know CJam, this is what I came up with for #1 in the decathalon: q~,{2#}%{+}*
This looks kind of long for the task at hand
 
2# won't work well for cubes.
 
Oh turd, didn't realize it was cubes, not squares :P
So 3# then for that bit
 
It's shorter with the infixes f and : Sp3000 recommended.
{binary}* is just :binary.
{argument binary}% is just argument f binary.
 
10:13 PM
Cool, so that gets me down to 8 :) q~,3f#:+
I think that's as good as it can get, I have no clue though
 
That works.
7 is the shortest for CJam, but that requires some trickery.
 
I don't think I'm ready for that yet :P
 
any FOSS folks here should come join opensource.stackexchange.com for the beta
 
0
Q: Rubiks Cube Challenge 2

moonman239Objective Build a program that: 1) randomly generates a Rubik's cube consisting of six colors of your choice, then 2) solves that Rubik's cube. Rules -No use of a third-party puzzle-solving module. You may use modules you coded yourself. Scoring Programs will be scored on the following criter...

 
10:41 PM
In CJam, if I have a stack like [[a b c d] n], how do I get the nth element from [a b c d]
 
=
 
Yep, just figured that out :) Thanks!
 
@Dennis s/yet/any more/
 
@MartinBüttner I admit it. I was too lazy to go through the question's timeline. :P
 
I'm not even sure it's possible to find out its vote history, but I remember that it was just about valid at some point and is now quite far off the 2:1 ratio
ohhh
first n non-negative
removed the spoiler :D
 
10:52 PM
Why should 1 return 0 for #1 D:
That means 2 should return 1?
 
yes
"first n non-negative" means it starts at 0
the first three non-negative cubes are 0, 1, 8
 
@MartinBüttner Going through meta.codegolf.stackexchange.com/posts/1061/timeline and counting the votes for hosch250 should work, but I don't feel like doing that. :P
 
I'm dumb
 
@Dennis what the... I have never seen that page
is there a link to it anywhere?
 
I think #9 in cjam is probably my best bet at having a short one, unless Pyth is < 6 bytes for that
 
10:54 PM
Only in some user scripts.
I wish people voted more. The highest number of votes of all decathlon answers is 2 right now, but 8 users have already answered the question.
 
11:07 PM
@MartinBüttner Just saw the notification. Yes, that's the one.
Nobody found it yet. I bet that would be shorter in most languages.
Correction, somebody already did. Sort of. The entire approach is quite different.
 
Do Python 2 and Python 3 count as separate languages? :P
 
Watch out, it'll be pyth 0.1, 0.1.1, and 0.1.2 competing next ;)
 
@Vioz- Nope. Footnote 1 says: Languages count as different if they are not different versions of the same language, so there's only one JavaScript and one Python, but C and C++ are two different languages.
 
Ah, ok, I missed that
 
11:23 PM
@Vioz- You CJam code will only work for 2-dimensional arrays.
 
Darn, ok
 

« first day (1607 days earlier)      last day (3240 days later) »