HNHacker News
TopNewBestAskShowJobs

brodie

1 karma · joined May 19, 2022

submissionscomments
brodie··on Why I gave marijuana to my autistic child
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. Maybe it's just the stigma surrounding cannabis that's coloring my perception on this.

I wonder if a medical study for something like this would be feasible. I also wonder if there could be negative long term or developmental effects from a treatment like this.

brodie··on Teen Inventors Fight Tinnitus
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 this, assuming their idea has validity.

I suffer from chronic tinnitus myself, and I would be a changed man if I could get the ringing to go away. But I'm also pretty skeptical of any treatments that claim to reduce ringing, considering everything I've heard from doctors is, "you're stuck with it."

brodie··on Google Has A Solution For Internet Explorer: Turn It Into Chrome
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 background and not all that advertised. I don't even use it myself.

I think a new browser engine offers a lot more opportunity for more tangible, up front enhancements to a user's web experience than client-side offline storage would, at least in an immediate sense.

brodie··on Google Has A Solution For Internet Explorer: Turn It Into Chrome
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 HTML5. This is fine for Firefox, Safari, Opera, etc., but if you're using IE it'll prompt you to install Chrome Frame, just like it prompts you to install Flash. I could see it getting to the point where people instinctively do this just as they do with Flash.

Hell, maybe it could even be used to subvert Flash itself. Suddenly IE users everywhere are viewing <video>-based YouTube videos.

brodie··on Google Chrome 3.0
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.
brodie··on How PHP became such a huge success - Talk with Rasmus Lerdorf
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 for that. Do you think there's anything preventing it from catching on?

brodie··on Mac OS X 10.6.1 is out already.
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 new limitations introduced in Snow Leopard before it works with 64-bit apps. I would keep your eyes peeled for an update.

brodie··on Scratch.py -- hyper-fast mini-webapp production, in Python
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
brodie··on GNU Emacs 23.1 has been released
Here's a MacPorts Portfile for 23, if you're into that sort of thing: http://paste.lisp.org/+1T5E
brodie··on Is Cursive Handwriting Dead?
I write in a mixture of cursive and print. Sometimes I'll write in cursive to offset text written in print, or vice versa. Ever since I learned cursive in the 4th grade, I've preferred writing in it. It feels more natural, more flowing.

I'd like to think my cursive is legible, but I generally write notes, papers, etc. for others in print.

brodie··on Trapped in python package; send food.
http://docs.python.org/distutils/setupscript.html#installing...

"The only clever feature is that if the first line of the script starts with #! and contains the word “python”, the Distutils will adjust the first line to refer to the current interpreter location. By default, it is replaced with the current interpreter location. The --executable (or -e) option will allow the interpreter path to be explicitly overridden."

brodie··on "KeyFixer" Firefox Plugin: Forces correct behavior of HOME/END keys on the Mac.
I believe all three of these methods should work in most native OS X applications:

  Cmd+left arrow/Cmd+right arrow
  Ctrl+left arrow/Ctrl+right arrow
  Ctrl+a/Ctrl+e
And Cmd+up/Cmd+down will send you to the beginning or end of a textarea.

I personally use the built-in Emacs bindings whenever possible.

brodie··on Unacceptable Browser HTTP Accept Headers (Yes, You Safari and Internet Explorer)
I'd prefer that it display all text/* content in the browser. If I want to save it, then I'll save it.
brodie··on Pypants (Django Dash 2009)
I'm a little disappointed that Pypants hasn't graded itself. Got something to hide, hmm?
brodie··on Oh Yeah? Where's Your Patches Zed?
I agree. I'm not sure what the fuss is all about - it's not like the standard library was coded by the Python core monks in seclusion a thousand years ago. Much of it has grown and taken in new things over time.

And it's not the end of the world if his changes aren't accepted. He'll still have his own libraries, and people can enjoy them through PyPI.

That said, Guido is definitely very picky about changes to the language itself. I think that's a good thing.

brodie··on Djng - a Django powered microframework
I see what you're saying here about how Pylons makes heavy use of WSGI chaining, but I really just cannot fathom that Django is "approaching" Pylons. Perhaps things have improved since I last used Pylons, but there were so many issues with it that drove me absolutely crazy and eventually drove me away from the framework all together.

Off the top of my head:

- Poorly written, half written, scattered, or plain old missing documentation all over the place.

- Poor release coordination and communication.

- Version incompatibility hell between different releases of its components/dependencies.

- Incomplete solutions for basic things like form generation. At the time that I was using Pylons they seemed to jump between a quite a few different libraries, none of which really worked well.

- Tons of magic that both offended my sensibilities and made debugging a nightmare.

To be honest, I don't think any Python web framework was quite "there" at that time, but I think today Django has far exceeded Pylons.

Also, I'm not sure I'd consider Pylons a micro-framework.

brodie··on Ask YC: My school wants to shut down my app. How should I respond?
I don't know, I could imagine them being somewhat serious about the license/number of connections violation.

Speaking from direct experience, I wouldn't underestimate the amount of bureaucracy internally that would come down on this like a ton of bricks. Like others have mentioned, his best bet is to get someone to champion his cause internally. It doesn't even necessarily have to be someone in their ITS department - it could be a faculty member, or even someone in administration.

Hell, you might be able to get a job out of this.

brodie··on Making the HTML5 &lt;time&gt; element safe for historians
HTML 5 is two things: a codification of how browsers parse documents and handle errors, and a slew of new features for HTML and JavaScript.

The first part is more of a set of guarantees that browser vendors can agree upon, and I believe it's largely based on IE's behavior.

The new features are already slowly trickling into browsers. For example, Firefox, Opera, and Safari all implement <canvas>. There are a number of other features that are already implemented in browsers, which you can read about here: http://wiki.whatwg.org/wiki/Implementations_in_Web_browsers.

So, right now some new features are closer to the mainstream than others, especially where there are 3rd party implementations for IE (like ExplorerCanvas, and Google Gears which will probably have HTML5 APIs at some point). I wouldn't hesitate to play around with these new technologies, especially at the rate they're being implemented.

brodie··on Python switching to Mercurial
I believe the initial consensus was that a Python-based version control system was greatly preferred over anything else, and that for Git to be considered someone would have to show that it's much more compelling than the other systems. Git was allowed into the PEP later on, however.

Besides being able to say they're eating their own dog food, I think having the ability to easily extend their version control system was a factor in the choice. The Python developers would just be writing Python, after all, and Mercurial has a very simple extension system.

I believe Guido has had direct communication with some of the core developers of Mercurial as well, which was probably another factor. I'm not sure what Brett's DVCS usage survey had to say about Mercurial or Git, but that could also play a role in his decision.

Here's the original thread that led up to the PEP: http://thread.gmane.org/gmane.comp.python.devel/98191. From what I understand, there wasn't supposed to be a lot of discussion until the PEP was written, but people couldn't help but voice their opinions on the matter. I'm guessing this is why Guido put his foot down: to prevent an endless religious debate. Hopefully the PEP will be revised with a more detailed explanation of his rationale.

← PreviousPage 5 of 5