Oct. 6, 2018, 3:23 p.m. |
+1 |
Experience for voted comment Merzix: 1 on Phil15: You don't use given variables "name" and "age". It should replace Alex and 32 on line 9. _There are ... |
Oct. 6, 2018, 3:21 p.m. |
+1 |
Experience for voted comment Merzix: 1 on Phil15: Well, working on a challenging task with scipy and numpy, I discovered a thing you won't like, you w... |
Oct. 6, 2018, 3:21 p.m. |
+5 |
Experience for appreciated comment Merzix: 1 on Phil15: Well, working on a challenging task with scipy and numpy, I discovered a thing you won't like, you w... |
Oct. 6, 2018, 1:59 p.m. |
+5 |
Experience for solved mission The Best Number Ever |
Oct. 6, 2018, 10:09 a.m. |
+4 |
Experience for voted solution niilz: 2 on decorated for doc-Phil15 |
Oct. 6, 2018, 8:58 a.m. |
+1 |
Experience for voted solution alexandrov.net: 1 on sum bool-Phil15 |
Oct. 5, 2018, 5:04 p.m. |
+2 |
Experience for voted comment ndj_ys: 1 on Phil15: all() is really good No need of brackets here: generator comprehension is good too. len(m**[i]**) us... |
Oct. 5, 2018, 5:04 p.m. |
+5 |
Experience for appreciated comment ndj_ys: 1 on Phil15: all() is really good No need of brackets here: generator comprehension is good too. len(m**[i]**) us... |
Oct. 5, 2018, 9:31 a.m. |
+1 |
Experience for voted comment rodka81: 1 on Phil15: Just a little improvment I can suggest. your while loop should be a for loop. Then this can simply b... |
Oct. 5, 2018, 9:31 a.m. |
+5 |
Experience for appreciated comment rodka81: 1 on Phil15: Just a little improvment I can suggest. your while loop should be a for loop. Then this can simply b... |
Oct. 5, 2018, 7:37 a.m. |
+17 |
Experience for voted solution rodka81: 3 on scipy.ndimage power-Phil15 |
Oct. 5, 2018, 7:34 a.m. |
+1 |
Experience for voted comment rodka81: 1 on Phil15: I didn't understand your solution at first, because of my ignorance of scipy (and then scipy.ndimage... |
Oct. 5, 2018, 7:34 a.m. |
+5 |
Experience for appreciated comment rodka81: 1 on Phil15: I didn't understand your solution at first, because of my ignorance of scipy (and then scipy.ndimage... |
Oct. 5, 2018, 1:33 a.m. |
+2 |
Experience for voted solution HeNeArKr: 1 on 8-liner: pure numpy-Phil15 |
Oct. 4, 2018, 4:39 p.m. |
+5 |
Experience for appreciated comment colinmcnicholl: 1 on Phil15: Lines 15-20 in a else and 'return nothing' can disappear :) I never used collections.defaultdict yet... |
Oct. 4, 2018, 4:39 p.m. |
+1 |
Experience for voted comment colinmcnicholl: 1 on Phil15: Lines 15-20 in a else and 'return nothing' can disappear :) I never used collections.defaultdict yet... |
Oct. 3, 2018, 9:52 p.m. |
+20 |
Experience for solved mission Bacteria Colonies |
Oct. 3, 2018, 7:44 p.m. |
+1 |
Experience for voted comment colinmcnicholl: 1 on Phil15: I put a special case when the given length is N**2, it's just the sum of all numbers. Well, it's tru... |
Oct. 3, 2018, 7:44 p.m. |
+5 |
Experience for appreciated comment colinmcnicholl: 1 on Phil15: I put a special case when the given length is N**2, it's just the sum of all numbers. Well, it's tru... |
Oct. 3, 2018, 6:39 a.m. |
+2 |
Experience for voted solution serg3y1999: 2 on sum bool-Phil15 |
Oct. 2, 2018, 9:34 a.m. |
+1 |
Experience for voted comment Merzix: 1 on Phil15: Well 2nd argument is the limit of the length, not the length. But I think best reaches the limit (we... |
Oct. 2, 2018, 9:30 a.m. |
+1 |
Experience for voted comment Merzix: 1 on Phil15: "you can visit no more than N points" just mean len(your path)<=N last example, the answer is clear ... |
Oct. 2, 2018, 7:40 a.m. |
+5 |
Experience for appreciated comment Merzix: 1 on Phil15: Two comments (I'm in the mood tonight): * First, range(len(...)) should be (nearly always) enumerate... |
Oct. 2, 2018, 7:40 a.m. |
+1 |
Experience for voted comment Merzix: 1 on Phil15: Two comments (I'm in the mood tonight): * First, range(len(...)) should be (nearly always) enumerate... |
Oct. 2, 2018, 7:32 a.m. |
+5 |
Experience for appreciated comment Merzix: 1 on Phil15: And for rotation without numpy (of M: a list of list of things) [*zip(*reversed(M))], or [*zip(*M[::... |
Oct. 2, 2018, 7:32 a.m. |
+1 |
Experience for voted comment Merzix: 1 on Phil15: And for rotation without numpy (of M: a list of list of things) [*zip(*reversed(M))], or [*zip(*M[::... |
Oct. 2, 2018, 7:20 a.m. |
+5 |
Experience for appreciated comment fokusd: 1 on Phil15: A little improvement on the end: return any(fill(row, col, '') for row in range(len(grid)) for col i... |
Oct. 2, 2018, 7:20 a.m. |
+1 |
Experience for voted comment fokusd: 1 on Phil15: A little improvement on the end: return any(fill(row, col, '') for row in range(len(grid)) for col i... |
Oct. 2, 2018, 6:41 a.m. |
+4 |
Experience for voted solution colinmcnicholl: 2 on Buttons generator (with DFS) and a reverse_sorting decorator-Phil15 |
Oct. 2, 2018, 3:26 a.m. |
+1 |
Experience for voted comment Chocolater: 1 on Phil15: Dict comprehension is good too... Every single time you want to use range(len(...)), you probably sh... |
Oct. 2, 2018, 3:26 a.m. |
+5 |
Experience for appreciated comment Chocolater: 1 on Phil15: Dict comprehension is good too... Every single time you want to use range(len(...)), you probably sh... |
Oct. 1, 2018, 7:34 p.m. |
+6 |
Experience for voted solution przemyslaw.daniel: 5 on lambda function [sorted(gen), sorted(gen)]-Phil15 |
Oct. 1, 2018, 7:34 p.m. |
+24 |
Experience for voted solution przemyslaw.daniel: 5 on Buttons generator (with DFS) and a reverse_sorting decorator-Phil15 |
Oct. 1, 2018, 7:34 p.m. |
+7 |
Experience for voted solution przemyslaw.daniel: 5 on next(generator, -1), eval and re-Phil15 |
Oct. 1, 2018, 7:34 p.m. |
+9 |
Experience for voted solution przemyslaw.daniel: 5 on With lru_cache/setrecursionlimit and without-Phil15 |
Oct. 1, 2018, 7:33 p.m. |
+6 |
Experience for voted solution przemyslaw.daniel: 5 on 3-lines: Counter-Phil15 |
Oct. 1, 2018, 7:33 p.m. |
+5 |
Experience for appreciated comment colinmcnicholl: 1 on Phil15: You seem to like OOP now. I don't understand all of the code, it seems complicated. Well I was looki... |
Oct. 1, 2018, 7:33 p.m. |
+1 |
Experience for voted comment colinmcnicholl: 1 on Phil15: You seem to like OOP now. I don't understand all of the code, it seems complicated. Well I was looki... |
Oct. 1, 2018, 7:16 p.m. |
+5 |
Experience for appreciated comment Merzix: 1 on Phil15: return list(map(lambda x: list(map(int, x)), fliplr(rot90(data, 3)))) return [[int(n) for n in row] ... |
Oct. 1, 2018, 7:16 p.m. |
+1 |
Experience for voted comment Merzix: 1 on Phil15: return list(map(lambda x: list(map(int, x)), fliplr(rot90(data, 3)))) return [[int(n) for n in row] ... |
Oct. 1, 2018, 6:59 p.m. |
+1 |
Experience for voted comment Merzix: 1 on Phil15: Cool I'm right! ^^ Totally, numpy should have something (a decorator maybe for example) to change a ... |
Oct. 1, 2018, 6:59 p.m. |
+5 |
Experience for appreciated comment Merzix: 1 on Phil15: Cool I'm right! ^^ Totally, numpy should have something (a decorator maybe for example) to change a ... |
Oct. 1, 2018, 5:23 p.m. |
+5 |
Experience for appreciated comment Merzix: 1 on Phil15: Have you check the type of int in the matrix ? Numpy use differents types of int like numpy.int32 in... |
Oct. 1, 2018, 5:23 p.m. |
+1 |
Experience for voted comment Merzix: 1 on Phil15: Have you check the type of int in the matrix ? Numpy use differents types of int like numpy.int32 in... |
Oct. 1, 2018, 4:21 p.m. |
+1 |
Experience for voted solution kogoro1515_b3c768d7c68d4e29b87: 1 on with items coordinates dictionary (so seaside traveled once)-Phil15 |
Oct. 1, 2018, 4:16 p.m. |
+2 |
Experience for voted solution kogoro1515_b3c768d7c68d4e29b87: 1 on strip and split with \n, zip(*rows)-Phil15 |
Oct. 1, 2018, 4:14 p.m. |
+2 |
Experience for voted solution kogoro1515_b3c768d7c68d4e29b87: 1 on lambda function [sorted(gen), sorted(gen)]-Phil15 |
Oct. 1, 2018, 12:53 p.m. |
+1 |
Experience for voted comment oduvan: 1 on Phil15: I saw you wanting this badge with your "magic solution" on "secret room" (Escher Island) after posti... |
Oct. 1, 2018, 12:53 p.m. |
+5 |
Experience for appreciated comment oduvan: 1 on Phil15: I saw you wanting this badge with your "magic solution" on "secret room" (Escher Island) after posti... |
Oct. 1, 2018, 12:39 p.m. |
+5 |
Experience for appreciated comment Merzix: 1 on Phil15: I saw you wanting this badge with your "magic solution" on "secret room" (Escher Island) after posti... |
Oct. 1, 2018, 12:39 p.m. |
+1 |
Experience for voted comment Merzix: 1 on Phil15: I saw you wanting this badge with your "magic solution" on "secret room" (Escher Island) after posti... |
Oct. 1, 2018, 12:30 p.m. |
+1 |
Experience for voted comment Merzix: 1 on Phil15: sorted(..., key= ..., reverse=True)[0] #is a complicated thing for just max(..., key= ...) |
Oct. 1, 2018, 8 a.m. |
+24 |
Experience for voted solution przemyslaw.daniel: 5 on @maxi(paths generator)-Phil15 |
Oct. 1, 2018, 8 a.m. |
+7 |
Experience for voted solution flatline: 5 on It works-Phil15 |
Oct. 1, 2018, 8 a.m. |
+5 |
Experience for voted solution przemyslaw.daniel: 5 on Try to remove from deck with sorted hand-Phil15 |
Oct. 1, 2018, 7:56 a.m. |
+5 |
Experience for voted solution przemyslaw.daniel: 5 on sum bool-Phil15 |
Oct. 1, 2018, 7:55 a.m. |
+9 |
Experience for voted solution przemyslaw.daniel: 5 on with collections.Counter-Phil15 |
Oct. 1, 2018, 7:55 a.m. |
+7 |
Experience for voted solution przemyslaw.daniel: 5 on min(enumerate(cols(wall)), count '#' lambda key)[0]-Phil15 |
Oct. 1, 2018, 7:54 a.m. |
+5 |
Experience for voted solution przemyslaw.daniel: 5 on with items coordinates dictionary (so seaside traveled once)-Phil15 |
Oct. 1, 2018, 7:53 a.m. |
+24 |
Experience for voted solution przemyslaw.daniel: 5 on strip and split with \n, zip(*rows)-Phil15 |
Oct. 1, 2018, 7:20 a.m. |
+2 |
Experience for voted comment kurosawa4434: 1 on Phil15: map is usefull for simple mapping. For complicated ones, list/generator comprehension is more readab... |
Oct. 1, 2018, 7:20 a.m. |
+5 |
Experience for appreciated comment kurosawa4434: 1 on Phil15: map is usefull for simple mapping. For complicated ones, list/generator comprehension is more readab... |
Sept. 30, 2018, 7:58 p.m. |
+6 |
Experience for voted solution Alex_M._Granovsky: 1 on v2: using slicing, sets, generator and translation of punctuation =)-Phil15 |
Sept. 30, 2018, 5:47 p.m. |
+5 |
Experience for appreciated comment przemyslaw.daniel: 1 on Phil15: lambda ...: next(generator thing) seems clear to me (at least for a challenging task, not for an ele... |
Sept. 30, 2018, 5:47 p.m. |
+1 |
Experience for voted comment przemyslaw.daniel: 1 on Phil15: lambda ...: next(generator thing) seems clear to me (at least for a challenging task, not for an ele... |
Sept. 30, 2018, 4:27 p.m. |
+2 |
Experience for voted comment HeNeArKr: 1 on Phil15: No need of itertools.chain counts = Counter(ring for cube in cubes for ring in rings(cube)) you can ... |
Sept. 30, 2018, 4:27 p.m. |
+5 |
Experience for appreciated comment HeNeArKr: 1 on Phil15: No need of itertools.chain counts = Counter(ring for cube in cubes for ring in rings(cube)) you can ... |
Sept. 30, 2018, 2:34 p.m. |
+13 |
Experience for voted solution Merzix: 4 on 3-lines: Counter-Phil15 |
Sept. 30, 2018, 2:25 p.m. |
+2 |
Experience for voted comment Merzix: 1 on Phil15: return Counter(''.join(sorted(x)) for faces in cube_opposites for x in permutations(faces, 2)).most_... |
Sept. 30, 2018, 2:04 p.m. |
+2 |
Experience for voted comment przemyslaw.daniel: 1 on Phil15: I would see pairs like constant here. I like it. And why set(sorted(...)) instead of set(...) ? :-D ... |
Sept. 30, 2018, 2:04 p.m. |
+5 |
Experience for appreciated comment przemyslaw.daniel: 1 on Phil15: I would see pairs like constant here. I like it. And why set(sorted(...)) instead of set(...) ? :-D ... |
Sept. 30, 2018, 2 p.m. |
+2 |
Experience for voted comment przemyslaw.daniel: 1 on Phil15: And if you want it shorter and if you like next. from itertools import combinations tower = lambda c... |
Sept. 30, 2018, 2 p.m. |
+5 |
Experience for appreciated comment przemyslaw.daniel: 1 on Phil15: And if you want it shorter and if you like next. from itertools import combinations tower = lambda c... |
Sept. 30, 2018, 1:35 p.m. |
+5 |
Experience for appreciated comment BrianMcleod: 1 on Phil15: I suggested that for two reasons: * I don't the point of "[*tower_colors]" and not just "tower_color... |
Sept. 30, 2018, 1:35 p.m. |
+1 |
Experience for voted comment BrianMcleod: 1 on Phil15: I suggested that for two reasons: * I don't the point of "[*tower_colors]" and not just "tower_color... |
Sept. 30, 2018, 1:31 p.m. |
+5 |
Experience for appreciated comment likewind: 1 on Phil15: **_Me again, me again, me again..._ on Escher Island.** No problem with tests this last time. I did ... |
Sept. 30, 2018, 1:31 p.m. |
+1 |
Experience for voted comment likewind: 1 on Phil15: **_Me again, me again, me again..._ on Escher Island.** No problem with tests this last time. I did ... |
Sept. 30, 2018, 9:34 a.m. |
+13 |
Experience for voted solution BrianMcleod: 2 on 3-lines: Counter-Phil15 |
Sept. 29, 2018, 12:18 p.m. |
+1 |
Experience for voted comment JimmyCarlos: 1 on Phil15: **_Me again, me again, me again..._ on Escher Island.** No problem with tests this last time. I did ... |
Sept. 29, 2018, 12:18 p.m. |
+5 |
Experience for appreciated comment JimmyCarlos: 1 on Phil15: **_Me again, me again, me again..._ on Escher Island.** No problem with tests this last time. I did ... |
Sept. 29, 2018, 9:29 a.m. |
+5 |
Experience for appreciated comment kurosawa4434: 1 on Phil15: **_Me again, me again, me again..._ on Escher Island.** No problem with tests this last time. I did ... |
Sept. 29, 2018, 9:29 a.m. |
+1 |
Experience for voted comment kurosawa4434: 1 on Phil15: **_Me again, me again, me again..._ on Escher Island.** No problem with tests this last time. I did ... |
Sept. 29, 2018, 9:28 a.m. |
+5 |
Experience for appreciated comment Merzix: 1 on Phil15: **_Me again, me again, me again..._ on Escher Island.** No problem with tests this last time. I did ... |
Sept. 29, 2018, 9:28 a.m. |
+1 |
Experience for voted comment Merzix: 1 on Phil15: **_Me again, me again, me again..._ on Escher Island.** No problem with tests this last time. I did ... |
Sept. 29, 2018, 8:14 a.m. |
+20 |
Experience for solved mission The Tower |
Sept. 28, 2018, 3:26 p.m. |
+15 |
Experience for solved mission Xs and Os Champion |
Sept. 28, 2018, 10:56 a.m. |
+13 |
Experience for voted solution BrianMcleod: 2 on Neighboring coordinates?-Phil15 |
Sept. 28, 2018, 10:11 a.m. |
+30 |
Experience for solved mission Texas Referee |
Sept. 28, 2018, 7:14 a.m. |
+20 |
Experience for solved mission Paper Dice |
Sept. 28, 2018, 7:13 a.m. |
+5 |
Experience for appreciated comment JimmyCarlos: 1 on Phil15: Don't like your show method. '[{1}]{0}[{1}]'.format(self.text, self.fontName) #or f'[{self.fontName}... |
Sept. 28, 2018, 7:13 a.m. |
+1 |
Experience for voted comment JimmyCarlos: 1 on Phil15: Don't like your show method. '[{1}]{0}[{1}]'.format(self.text, self.fontName) #or f'[{self.fontName}... |
Sept. 27, 2018, 2:22 p.m. |
+15 |
Experience for solved mission Text Editor |
Sept. 27, 2018, 1:18 p.m. |
+15 |
Experience for solved mission Solution for Anything |
Sept. 27, 2018, 11:05 a.m. |
+1 |
Experience for voted comment Rafal_Bartko: 1 on Phil15: You don't need cards.sort(), it's already sorted by construction. cards list can be improved with li... |
Sept. 27, 2018, 11:05 a.m. |
+5 |
Experience for appreciated comment Rafal_Bartko: 1 on Phil15: You don't need cards.sort(), it's already sorted by construction. cards list can be improved with li... |
Sept. 27, 2018, 10:45 a.m. |
+5 |
Experience for solved mission I Love Python! |
Sept. 27, 2018, 7:35 a.m. |
+15 |
Experience for solved mission Hypercube |
Sept. 26, 2018, 8:25 p.m. |
+1 |
Experience for voted comment BrianMcleod: 1 on Phil15: Important to know how it ends. Each call of g_key add a thing on path. Then one day, there is length... |
Sept. 26, 2018, 5:45 p.m. |
+1 |
Experience for voted solution rodka81: 1 on Try to remove from deck with sorted hand-Phil15 |
Sept. 26, 2018, 2:57 p.m. |
+15 |
Experience for solved mission Web Log Sessions |