Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ekimekim
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
60 ms
·
541.
▲
by
ekimekim
13y ago
I thought the parent was referring to a filibuster.
542.
▲
by
ekimekim
13y ago
It's definitely harder than your average library, since greenlet (the library gevent is based on) involves such direct manipulation of the call stack / other CPython internals. I'd love to see it, but I don't think it&#x
543.
▲
by
ekimekim
13y ago
Would you say the feds set up a honeypot ?
544.
▲
by
ekimekim
13y ago
There's also flexibility improvements to do with lazy evaluation, and it makes the Twisted guys not hate you.
545.
▲
by
ekimekim
13y ago
It's using a somewhat-obscure guarantee that doesn't come up in normal usage of the function - namely, that it will always get the iterator values in left-right order.
546.
▲
by
ekimekim
13y ago
Agreed. I make heavy use of greenlet/gevent, and one of the primary advantages is that you can import and use naive sequential libraries, and they won't block your process (assuming they're pure python so the monkey patching
547.
▲
by
ekimekim
13y ago
YMMV but I always felt the spirit of that rule was "Don't mix tabs and spaces for indenting (ie. where it matters to the interpreter)". Indeed, a quick test with python -tt shows that the tab-indent/space-align method do
548.
▲
by
ekimekim
13y ago
It's very easy to write crappy code in python. And that's why I love it - it doesn't try to protect the programmer from themselves, instead it lets you do what you want (for better or worse). Compared to languages like java..
549.
▲
by
ekimekim
13y ago
While it's true that "nothing" or "custom" should be poll options, I don't agree with your reasons. Supervisor programs aren't just about restarting processes if they die. They manage dependencies, reloadi
550.
▲
by
ekimekim
13y ago
This year will be my 5th Desert Bus for Hope. I know it doesn't seem like much, but the running gags, the interaction via IRC, the challenges and the auctions really come together to produce the craziest week-and-a-bit of the year, eve
551.
▲
by
ekimekim
13y ago
That's not a trick. That's "use a faster library". I guess the trick might be "always profile, because performance bottlenecks might not be where you expect".
552.
▲
by
ekimekim
13y ago
Unfortunately the law's definition of "publicly accessible" is a bit retarded. If I post a url ending in pic002.jpg, and you try to access a similar url ending in pic001.jpg, and that picture happens to contain sensitive data, then you are
553.
▲
by
ekimekim
13y ago
My approach was this: class UniqueValue: pass
554.
▲
by
ekimekim
13y ago
The fact that it allows whitespace-seperated words. It's just wrong. It's weird, unnecessary, it just shouldn't be there. Personally, I would've preferred: >>> Enum('Example', 'foo', 'bar', 'baz') (ie. Enum(name, *values))
555.
▲
by
ekimekim
13y ago
There's a new-ish one called Endless Space, which I would describe as Gal Civ inspired. It's a little weird in that all players take turns simultaneously (you still have movement restrictions, etc, but it adds a real-time component because
556.
▲
by
ekimekim
14y ago
Minor quibble - I'd say "an open licence", not "GPL".
557.
▲
by
ekimekim
14y ago
This is indeed the solution. If you need the feature "needs to work without needing both computers on at the same time", add a third computer that IS always on. Might cost you a small amount of money on say EC2 or something, but probably ch
558.
▲
by
ekimekim
14y ago
> I think we can safely hold people responsible Responsible for what? Seriously man talk sense.
559.
▲
by
ekimekim
14y ago
You'd probably also need more careful contracts when it comes to stuff done outside of work, so it is feasible for someone to do two of these jobs at the same time, or one and a personal project.
560.
▲
by
ekimekim
14y ago
I don't buy the performance argument (covered by other replies), but I too am getting sick of the "reinvent the OS inside the browser" mentality. If the issue is one of security, the underlying OS should implement some kind of jail, which t
561.
▲
by
ekimekim
14y ago
Your fallacy here is that: Enterprise programmer -> Java Developer Java Developer -/-> Enterprise programmer The correct question is: What madness has infected Enterprise developers (and why do they all use Java)?
562.
▲
by
ekimekim
14y ago
I find that unlikely: Guido doesn't like gevent. Though yes, it's a nice thought.
563.
▲
by
ekimekim
14y ago
It won't be useful if the standard interface is, basically, Twisted. Stack-based solutions like gevent, eventlet get screwed over by this.
564.
▲
by
ekimekim
14y ago
A minor gripe (seperate from all my other gripes, which other people have already talked about): "...run code in another thread - sometimes there is no alternative - eg. getaddrinfo(), database connections" Just thought I'd mention that asy
565.
▲
by
ekimekim
14y ago
Then fix that: s = <1,2,3> I think that's better than using the same brace-type for sets and dicts anyway, and it can't be as confusing as () == tuple(), (x) == x, (x,) == tuple([x]).
566.
▲
by
ekimekim
14y ago
That sounds plausible. Again, I'm not a windows guy, but unless they've statically linked the SSL libraries, you should just be able to inject your own dll and capture the data on the way into the library.
567.
▲
by
ekimekim
14y ago
This is a conflict that I find very interesting. Python is a language very much about readability. You often find examples like this where "good code" is slower than "ugly code". I would imagine, however, that PyPy's JIT makes alot of these
568.
▲
by
ekimekim
14y ago
This bring up a good point. When reading documents (not so much posters, etc), I'd rather put the user in control of the display font. They can choose whatever is easiest for them to read, and it's uniform everywhere they go. For example, a
569.
▲
by
ekimekim
14y ago
All those extra steps have a purpose, all those extra steps can be glossed over if you don't care. git add is never needed if you always git commit -a if you don't care what git fetch && git merge does, just use git pull The biggest
570.
▲
by
ekimekim
14y ago
Once again, it isn't fair to compare an SVN GUI to the git command line. Try some of the many git GUI wrappers and come back.
More ›