Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
brodie
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
17 ms
·
121.
▲
by
brodie
16y ago
Here's some stuff I find useful when editing Python: (setq-default show-trailing-whitespace t) (setq longlines-show-hard-newlines t) ; displays "\" at the end of lines that wrap past the window's edge ; camel case word naviga
122.
▲
by
brodie
16y ago
There's an inattentive type[1] of ADHD that doesn't connote hyperactivity or impulsivity. Mood, anxiety, and personality disorders also frequently occur along with ADHD[2]. [1]: http://www.webmd.com/add-adhd/guide/types-of-adhd [2]: http
123.
▲
by
brodie
16y ago
What's wrong with httplib2?
124.
▲
by
brodie
16y ago
I don't see an official guideline about this, but I've seen pg mention many times that he doesn't have a problem with downvoting in disagreement. See: http://news.ycombinator.com/item?id=117171 http://news.ycombinator.com/item?id=392347
125.
▲
by
brodie
16y ago
Get like 2 or 3 different cheat sheets and keep them available whenever using Emacs. Steal someone else's ~/.emacs[1]. Make sure you use those Emacs key bindings in your shell. Bonus points if you're on OS X, which has Emacs bindings for al
126.
▲
by
brodie
16y ago
What really turns me off to contributing to Python is waiting a year to even get a reply on a bug report. I'd like to think my reports are decent and usable - hell, some even come with patches - but that's still some pretty terrible triage.
127.
▲
Modern version control: Mercurial internals (PyCon 2010 talk)
(blip.tv)
2 points
by
brodie
17y ago
|
0 comments
128.
▲
by
brodie
17y ago
I agree with you that the two projects have different philosophies on version control, but I'd like to offer some corrections: 1. Both Mercurial and Git use the same history model; both have DAGs and changesets. 2. The dirstate is an intern
129.
▲
by
brodie
17y ago
Is it? I saw a couple of comments that rightfully pointed out some minor things the analysis ignored like git's reflog and denyNonFastforwards, but it seems reasonable to me beyond that. What other issues are there with the report?
130.
▲
by
brodie
17y ago
Have you tried the binary installer? http://mercurial.selenic.com/downloads/ If you're intent on building from source, make sure you're running "sudo python setup.py install; sudo make install-doc". Installing with the makefile directly w
131.
▲
Vim switching to Mercurial
(groups.google.com)
35 points
by
brodie
17y ago
|
9 comments
132.
▲
by
brodie
17y ago
http://www.chromium.org/developers/design-documents/extensio... "The following lists some types of extensions that we'd like to eventually support:" [...] * "Content filtering: Adblock, Flashblock, Privacy control, Parental control"
133.
▲
by
brodie
17y ago
Another interesting side effect of the ban is that it disables the ability to install and run games from the console's hard drive. Is crippling the console's built-in functionality - which is unrelated to Xbox Live - a fair move? I would im
134.
▲
by
brodie
17y ago
It's my understanding that the "HTML" part of HTML 5 is neither new nor invented; in fact, it's a specification of how browsers already parse HTML documents, with the aim of normalizing that behavior among willing vendors. Creating a realis
135.
▲
by
brodie
17y ago
What new syntax was invented here? I can't tell if you're sarcastically lambasting HTML 5 or if you're mocking its detractors. Could you elaborate?
136.
▲
by
brodie
17y ago
It also strips out common prefixes among tab titles that would cause the tab title to become abbreviated. It's pretty clever, I think.
137.
▲
by
brodie
17y ago
Right, it is subjective, but requiring indentation imposes a higher baseline level of readability: what you see is what you get. This is important when you're working with more than just your own code. It's like a forced style guideline, an
138.
▲
by
brodie
17y ago
Increased readability and code clarity are well worth the price of admission.
139.
▲
by
brodie
17y ago
Tune the keys to different scales on different days. Have it play certain themes on important days and holidays when you step through it in sequence. Personally I'd like to hear some video game-style level up music whenever I climb to the t
140.
▲
by
brodie
17y ago
It sounds interesting, but how can they tell if he's tripping out or not if he already has issues expressing himself normally? I guess if he's functioning at a higher level than usual, he's probably OK, but it still seems kind of iffy to me
141.
▲
Bitbucket: On our extended downtime with Amazon
(blog.bitbucket.org)
86 points
by
brodie
17y ago
|
36 comments
142.
▲
by
brodie
17y ago
http://bitbucket.org/brodie/dotfiles/src/tip/.emacs http://bitbucket.org/brodie/dotfiles/src/tip/.emacs.d/plugin... Probably my favorite bit of the config is that it uses flymake to run Pyflakes on my Python code as I'm writing it. I al
143.
▲
by
brodie
17y ago
Sounds interesting, but looking at http://www.restoredhearing.ie/ it seems they're running some kind of pay as you go system. I'm not sure how I feel about that. I guess any therapy is like that, but I'd like to see clinical trials for th
144.
▲
by
brodie
17y ago
That's a very good point about it being bundled already. However, has Gears really been pushed that much by Google? I mean, even as an advanced user, I know that it exists and that various web apps use it, but it seems to be in the backgrou
145.
▲
by
brodie
17y ago
Really? It looks like a site has to opt-in in order to use Chrome Frame, so you could almost look at it like Flash. Consider the following scenario: YouTube releases a suite of new features, but they require some new functionality from HTML
146.
▲
by
brodie
17y ago
Is the Resources panel not adequate? Granted, it does format the headers, but it does show the HTTP method, the request headers, and the response headers for the page and each resource.
147.
▲
by
brodie
17y ago
Well, that's the goal of mod_wsgi, isn't it? To make it easier to deploy Python web applications, especially in shared hosting environments? mod_wsgi should allow you to just drop in a .wsgi anywhere and run it, provided your host allows fo
148.
▲
by
brodie
17y ago
SIMBL will probably fall into obsolescence with input managers being disabled for 64-bit apps. PlugSuit, on the other hand, is SIMBL-compatible and uses a completely different method of injection. The author just needs to work around some n
149.
▲
by
brodie
17y ago
It'd be interesting to see something like this that uses Python 3's function annotations. def greetings(ladies: int, gentlemen: (int, 80, 40)): pass
150.
▲
Making Sense of Revision-control Systems
(queue.acm.org)
17 points
by
brodie
17y ago
|
1 comments
More ›