Dec
20
awarded Notable Question
Oct
9
awarded Supporter
Oct
4
awarded Good Question
Oct
1
awarded Critic
Sep
25
awarded Yearling
Sep
25
awarded Yearling
Sep
17
revised Cut a pizza into identical slices
Avoided the use of _() while minifying
Sep
17
comment Cut a pizza into identical slices
@aditsu: The golfed code works fine on my Mac with PHP 5.4.43, but it appears _() is an alias for gettext() on other platforms. Changed minifier to avoid _() altogether.
Sep
17
comment Cut a pizza into identical slices
@aditsu: there is only one function _() in the golfed version. Did you accidently copy-paste the code twice?
Sep
14
awarded Famous Question
Sep
12
revised Cut a pizza into identical slices
Swapped if-else to replace == by < to save one more byte. Removed unnecessary brackets
Sep
12
revised Cut a pizza into identical slices
added 182 characters in body
Sep
12
revised Cut a pizza into identical slices
Saved more bytes by directly testing each slice shape, rather than first storing them in a shape list. Added documented, ungolfed source code.
Sep
12
revised Cut a pizza into identical slices
deleted 649 characters in body
Sep
11
awarded Teacher
Sep
11
revised Cut a pizza into identical slices
Inlined function to save 44 bytes
Sep
10
revised Cut a pizza into identical slices
Precalculate the 4 orientations of the shape to speed up matching
Sep
10
awarded Editor
Sep
10
revised Cut a pizza into identical slices
Scrapped off 12 bytes by removing superfluous brackets
Sep
10
answered Cut a pizza into identical slices
1 2 3 4