Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
zxw
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
zxw
14y ago
10+ years here too. Recently forced to switch because it's gotten so bad. Maybe if they aren't working the render engine they will have more time to work on performance.
2.
▲
by
zxw
14y ago
Looks really nice, very readable. However, I want a python version!
3.
▲
by
zxw
15y ago
This is pretty cool but it needs to have a more distinctive style. Maybe the same as it is but green.
4.
▲
by
zxw
15y ago
1023 = 0b1111111111
5.
▲
by
zxw
15y ago
It's common for the free detectable version of popular trojans to be used as the advertisement for the paid undetectable one. Looking at the poison ivy website they have a customer portal, so presumably this is how they did it. There are al
6.
▲
by
zxw
15y ago
You can get the Kindle DX if you want a larger screen. I have one and am very happy with it. http://www.amazon.com/dp/B002GYWHSQ/
7.
▲
by
zxw
15y ago
Yeh it's fairly slow going. I'm at 3,706,382,752 and am going to call it a day. Looks like the code works properly.
8.
▲
by
zxw
15y ago
Here is the code from the first test.[0] It increments a variable and prints a message if their is an inconsistency. I left it running till it reached 1,351,773,471 and didn't come up with any inconsistencies. I then modified the test[1] to
9.
▲
by
zxw
15y ago
I'm not doing power == int(power) though which is what he warns against. I haven't done a lot of testing however as far I can tell it's working. >>> is_power_of_two(2 ** 31 - 1) False >>> is_power_of_tw
10.
▲
by
zxw
15y ago
Is there a reason this won't work? It's the most 'readable' way I could come up with. #(python code) def is_power_of_two(n): import math if n <= 0: return False power = round(math.log(n, 2