Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dlsspy
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
53 ms
·
451.
▲
by
dlsspy
17y ago
Yes, when a command takes a couple seconds to perform, you don't consider doing it unless you have a really good reason. Classic hg branching came into different forms: 1) a tree clone and 2) the hg "branch" commands. 1 can be very slow
452.
▲
by
dlsspy
17y ago
> I have sympathy for the author insofar as some people (myself included) don't plan ahead that way. I don't either. I pretty much always work on master. If I find myself down a deep path that should've been a topic branch, I make one
453.
▲
by
dlsspy
17y ago
> You can’t merge upstream changes into your local, uncommitted modifications No, you can't, and I'd be horrified if I ever worked in a system that did that again. First, there's never an excuse to not commit. What you commit is not ne
454.
▲
by
dlsspy
17y ago
Here's how mine works: http://www.rockstarprogrammer.org/post/2006/aug/26/space_eff...
455.
▲
by
dlsspy
17y ago
I wrote a blog post a long time ago into a response of a big list someone made of exception handling anti-patterns which (in my opinion) are made possible by checked exceptions. http://www.rockstarprogrammer.org/post/2007/jun/09/java-exce.
456.
▲
by
dlsspy
17y ago
You don't need to be that technical. 1. Open gtalk. 2. Hit menu. 3. Select "Add friend" 4. Type "im@twitterspy.org" Now you can just start tracking topics or login for friend watching or whatever.
457.
▲
by
dlsspy
17y ago
I just use gtalk on my android phone with twitterspy: http://dustin.github.com/twitterspy/
458.
▲
by
dlsspy
17y ago
Yeah. Tossing in another axis for lifespan would be good.
459.
▲
by
dlsspy
17y ago
twisted does it by using deferToThread (so the call sits in a thread pool and the reactor doesn't block). I suppose they just need their twisted loop clone thing to implement deferToThread now.
460.
▲
by
dlsspy
17y ago
$148 is not bad at all. I could rotate some of those pictures for them for the other $2.
461.
▲
by
dlsspy
17y ago
Oh, I don't mean to be perpetuating the argument. I think you guys did awesome stuff. Most of my twisted work doesn't even have a web interface, some of it does, but it's fine. Some could really use some help. Tornado seems to be a grea
462.
▲
by
dlsspy
17y ago
I get what you're saying, but twisted does all that stuff with a great deal of testing. It's the same reason smart companies are compelled to contribute changes to open source projects. That's a lot of maintenance you get for free. That's
463.
▲
by
dlsspy
17y ago
One of the frustrating differences I ran into is the callback mechanism in tornado. You can't attach more than one callback, and the one kind of callback does two different things (meaning the callback has to determine whether or not the c
464.
▲
by
dlsspy
17y ago
"Twisted is no doubt more complete in terms of protocols and such, but many people also value simplicity. One important point that I think has been overlooked here is that the core of Tornado is only a few hundred lines of code." I think th
465.
▲
by
dlsspy
17y ago
"You can't just work on someone else's framework and make it simpler" Are you suggesting that python is more complex to use than x86_64 assembler? Similarly, when I removed code from tornado to make it work with twisted, I neither tornado m
466.
▲
by
dlsspy
17y ago
I'm not reading anything you're saying as being negative towards twisted. The thing, is twisted isn't a web framework, so nobody should find it surprising that it doesn't make it really easy and obvious how one would go about making a web s
467.
▲
by
dlsspy
17y ago
Your perception of twisted may be as it is because you can do SO MUCH with twisted. If it's a web.py replacement you want, it doesn't add complexity. Take a look at the diff to go from a friendfeed ioloop to a twisted reactor loop (with
468.
▲
by
dlsspy
17y ago
I made tornado work on top of twisted by removing 1,389 lines of code and adding 92 (and I believe most of that was adding compatibility wrappers to keep the API mostly sane). My effort is not done -- I do have a lot more code to remove. W
469.
▲
by
dlsspy
17y ago
"In general, it seems like Twisted is full of demo-quality stuff, but most of the protocols have tons of bugs." http://bret.appspot.com/entry/tornado-web-server#comment-163... That's not "wasn't for us" that's a very vague comment insulti
470.
▲
by
dlsspy
17y ago
You don't have to be deep into twisted. You can just try to make an app with it, or run a demo or something and let me know what works/fails. As Tornado has no unit tests, it's difficult to see what's right or wrong without a human actuall
471.
▲
by
dlsspy
17y ago
FYI, I've pushed up some code. Unfortunately, tornado has no tests, so I'm absolutely certain it's not completely functional, but it works as far as I'm able to test a few things on localhost. http://github.com/dustin/tornado I'd love so
472.
▲
by
dlsspy
17y ago
I find twisted relatively easy to work with. There's no particular reason tornado can't sit atop twisted. Hopefully I'll get some time to do that this weekend. The whole tornado vs. twisted thing is unfortunate, though. It exists in its
473.
▲
by
dlsspy
17y ago
It does, but from reading the code, it looks like it's closer to to twisted's getPage functionality. That's OK for things like Friendfeed's realtime API where you do long polls that return chunks of data and then process the data online an
474.
▲
by
dlsspy
17y ago
"How many deployed web apps really use Twisted?" This is sort of the point. twisted isn't a web framework. It's a networking framework. I work on a lot of really awesome networking projects that either don't have web interfaces (various
475.
▲
by
dlsspy
17y ago
I could use this in apps today if it used twisted instead of reinventing it.
476.
▲
by
dlsspy
17y ago
ZFS certainly was in Leopard, though crippled in a couple of ways. The ZFS builds from macosforge had some degree of Apple support but that was not official, if that's what you're thinking. A lot of development went on inside of Apple for h
477.
▲
by
dlsspy
17y ago
All of these lists leave out the only one that matters to me: ZFS
478.
▲
by
dlsspy
17y ago
> you'll replace it long before someone needs their backup How do you know when I'll need my backup?
479.
▲
by
dlsspy
17y ago
"better than every other current choice" That's all that really matters to me. My media system is using ZFS (currently 98.7% full), and I keep a small zpool in my backpack with a bunch of data on it I don't want wasting space on my SSD. The
480.
▲
by
dlsspy
17y ago
It sounds like it's closer to the one I've been using which (at least as I have it configured) is more of a native emacs and less of a native mac app.
More ›