Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Ysx
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
61.
▲
by
Ysx
13y ago
Lazy troll is lazy.
62.
▲
by
Ysx
13y ago
CVE and exploit at http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2013-731...
63.
▲
by
Ysx
13y ago
Hmm? What doesn't that apply to?
64.
▲
by
Ysx
13y ago
Works in UK, showing local pricing.
65.
▲
by
Ysx
13y ago
Mind sharing the URL?
66.
▲
by
Ysx
13y ago
A modal that you can't dismiss isn't a great idea either, with it taking nearly half of my phone's viewing area. http://imgur.com/3K2CUG1
67.
▲
by
Ysx
13y ago
Great news! Thunderbird was horrific on my aging Windows machine last year, so always had Opera open just for email.
68.
▲
by
Ysx
14y ago
Linux doesn't support options, unfortunately. The executable path /usr/bin/env is parsed, then the remainder of the line is used as a single argument, spaces and all: $ cat x.py #!/usr/bin/env python -i $ ./x.py /usr/bin/env
69.
▲
by
Ysx
14y ago
Most of the download links are broken on the English site - looks like they're pointing to the previous version. http://www.brischalle.de/Lua-Quick-Try-Out/Lua-Quick-Try-Out... has the correct URLs.
70.
▲
by
Ysx
15y ago
lessc is part of less.js ( https://github.com/cloudhead/less.js/blob/master/bin/lessc ), so should be identical, but fair point.
71.
▲
by
Ysx
15y ago
Interesting! ''.join() has the advantage on longer strings though: $ python -mtimeit "'aaaaaaaaaaaaaaa' + 'bbbbbbbbbbbbbbb' + 'ccccccccccccccc' + 'ddddddddddddddd'" 1000000 loops, best of 3: 0.224 usec per loop $ python -mtimeit "''.join(('
72.
▲
by
Ysx
15y ago
Good stuff, though there's a few outdated idioms: Lists, or any iterable, can be reverse-sorted with reversed(sorted(my_list)). That'll give you an iterator, though you can call list() on the result if you need it. "while True" should be us
73.
▲
by
Ysx
15y ago
Google cache: http://webcache.googleusercontent.com/search?q=cache:qmKT38N...
74.
▲
by
Ysx
16y ago
I don't know why this is so entertaining. Puppy! You're a snack!
75.
▲
by
Ysx
16y ago
Honeypot fields and their ilk are easy to bypass with a focused attack. For smaller sites, that's fine - who's going to make the effort to target you? Keep out the opportunistic bots rattling your contact form, and life's good. For juicier
76.
▲
by
Ysx
16y ago
Is that a criticism? TheDailyWTF is a big site - some stories feature incompetent women, while most have incompetent men. Big whoop.
77.
▲
by
Ysx
16y ago
Definitely some spam: the trevania, salimmadjd and gavrielh accounts were created less than 30 minutes ago. Billshander has had an account for some time, but only posted in this and one other Micromobs thread, both less than 30 minutes ago.
78.
▲
by
Ysx
16y ago
Broke! The page is serving as "content-type: text/plain" for some reason.
79.
▲
by
Ysx
16y ago
Ah, it's a slideshow without mouse controls. Felt stupid for a good five minutes while testing in various browsers, just trying to get /something/ to work. Not a great experience.
80.
▲
by
Ysx
16y ago
Twitter started in 2006, not 2003: http://www.crunchbase.com/company/twitter
81.
▲
by
Ysx
16y ago
Django avoids dirctory traversal with django.utils._os.safe_join() http://code.djangoproject.com/browser/django/tags/releases/1...
82.
▲
Pick the dominant colour from a logo using Python
(nreynolds.co.uk)
1 points
by
Ysx
16y ago
|
0 comments
83.
▲
by
Ysx
16y ago
Android doesn't show this as standard. You need a third-party app to show memory usage or kill processes.
84.
▲
by
Ysx
17y ago
Clintina for a girl, Fleen for a boy.
85.
▲
by
Ysx
17y ago
You're building the URL yourself though, e.g http://www.stdicon.com/mp3?size=16 . If you're not escaping, maybe a user could upload a file named "evilfile.<script>alert('evil')</script>", but I'm not sure how stdicon.com co
86.
▲
by
Ysx
17y ago
With <img> tags? Is that possible?
87.
▲
Opster: Pythonic option parsing
(blogg.ingspree.net)
24 points
by
Ysx
17y ago
|
24 comments
88.
▲
by
Ysx
18y ago
That's never been the case.
89.
▲
by
Ysx
18y ago
But he doesn't suggest that: "You'll find someone else who really knows this stuff. No doubt about it. And firing one intransigent bully is a lot less painful than shutting down an entire division next year because he paralyzed your decisio