HNHacker News
TopNewBestAskShowJobs

AndrewO

731 karma · joined January 15, 2009

submissionscomments
AndrewO··on Sinatra 1.0 Released: Major Milestone for Ruby’s Best Webapp DSL
Haml is an external DSL. Sinatra is an internal DSL. Rubyists insist on using the term so much because Ruby's linguistic flexibility makes it easy to define them, so they're constantly doing it.

Martin Fowler is often credited with coming up with the distinction between the two. The concept is similar to a "fluent interface" from a different point of view.

http://martinfowler.com/articles/languageWorkbench.html#Inte...

http://martinfowler.com/dslwip/InternalOverview.html

AndrewO··on James Randi comes out of the closet at 81
I really debated whether or not to upvote this. I'm guessing that HN has a higher percentage of people who like (or at least know of) Randi than the general public, so it certainly fits the "general interest" guideline. But I'd also (like to) think that we're getting to a point (at least in this community) where this is so acceptable as to not warrant mention. I also worried that I'd be contributing to the "Look Who's Gay Now!" style of news that plagues conventional outlets (well, at least entertainment news).

That being said, I don't mean to take away from Randi's personal decision to come out and the hardships he had to endure for the last 70 years. This comment is my own little part of the "murmur of acceptance" he expected and I hope that he would appreciate me asking (as an honest question for the purpose of social insight), why did you, as an HN reader find this newsworthy?

AndrewO··on America’s Real Dream Team
> If I just have the spark of an idea now, I can get a designer in Taiwan to design it. I can get a factory in China to produce a prototype. I can get a factory in Vietnam to mass manufacture it... And I can do all this at incredibly low prices.

Have you actually done that, Tom? Or are you just reselling us your same old fantasy story about how easy it is to coordinate a bunch of companies from a bunch of different countries and actually bring a product to market?

I can't even remember all of the other stories I've heard about multiple rounds of prototypes, production problems, sub-standard end products, etc (some of which requiring extensive travel to sort out). Or perhaps a partner company dissolves its relationship with you and decides to market the product on its own. Sure, it has to work out some of the time, but stop presenting this idea that international business is somehow this miraculously effortless process.

I know this wasn't the central point of a piece nominally about immigration and youth achievement, but the fact that he had throw in the same stale scenario that he's been writing about for over a decade makes it entirely impossible for me to take this guy seriously anymore.

AndrewO··on Project Manager's View vs. Developer's View
Well, after that much of an XML binge, it's going to take them awhile to go through detox. We just have to be patient and loving and make sure they get the help they need and are kept away from the bad influences/vendors.
AndrewO··on [dead]
> It is highly unlikely that he ever thought of the concept of parallel processing or the idea that a computer might be used for anything other than problem solving and the execution of instruction sequences.

Well that pinged the old poppycock meter. Turing definitely knew of machines that weren't just used for executing instructions. He briefly alludes to so-called "choice machines" that interacted with an operator in his paper on the Entscheidungsproblem—they're just not his focus.

There are also so called "Multitrack Turing Machines" that seem to fit the author's idea of a parallel machine (multiple heads, multiple tracks). However, these are Turing equivalent (and I believe, but can't find a citation, that Turing was the one who proved that, or at least was aware of it).

The author should read this before he proposes any "new" models of computation which Turing "probably never thought of":

http://en.wikipedia.org/wiki/Turing_machine_equivalents

AndrewO··on The Fallacy of Gray
I was interested at first, but it seemed more and more that the author was referring to a context that he thought was shared but was actually obscure. When using examples from novels I've read or exchanges between bloggers, I find some light introduction (e.g. who's the "they" in this "Player of Games" book?) or footnotes is the best way to avoid the "scary homeless person that yells at me when I get off the subway" vibe.
AndrewO··on NBC's broken Olympic coverage
Agreed—I've watched many events, shown in their entirety, where the US (and often Canada) were not even factors. E.g. just recently I've seen multiple biathlon and cross country skiing events where Europeans dominate. There's cursory mention of an American back in 20th or so, but for the most part the coverage is focused on leaders. And these are long races too.

It sounds like the author was just mad that the US-Canada hockey game was pushed to MSNBC. I would have loved to have seen that game in HD on the main NBC, but that's a long way from the coverage being "broken".

AndrewO··on Apple insult their customers, women, free speech
Poppycock: when a company decides that it doesn't want to be seen as demeaning to women by profitting off of the sale of pornography (a highly subjective label, but one that they're going to take to safest, most conservative definition of) by taking its percentage of the App Store sale price it's absurd to say that they're being demeaning to women by _not_ taking profits from pornography.
AndrewO··on Microsoft’s Creative Destruction
I agree with both points. In addition, from the sound of the article, it seems like the biggest problem with having 80k employees is the jealousy and feudalism at the management level when it comes to actually implementing the great ideas across multiple teams—the ClearType and Tablet PC incidents being examples of this.
AndrewO··on Deleting omgs out of Rails
I's say it's reasonable to think that it will always be around as long as someone has the code and the ability to compile it. It probably won't be the VCS of choice in 30 years, but for people with that kind of interest, I'm sure it'll be available.

And hey, storage is cheap (and only getting cheaper). Even if Github, Sourceforge, etc are gone, barring a major calamity, I think it's safe to assume there will be a backup of those somewhere, even if it's offline.

AndrewO··on Deleting omgs out of Rails
I think it's fair to say that Git is going to be a major tool for software archeology and cultural studies of our little subculture. I can almost imagine someone reading through Rails commits in 30+ years who will have no idea what a LOLCat is.

(Although I guess it's valid to wager what will last longer: Rails or LOLCats. IMHO, Rails has a slight edge.)

AndrewO··on Evolution of a Python programmer
Doesn't PEP 20 say that there should be only one way to do it? :-)
AndrewO··on Apple's New Thing (iPod) - Oct. 2001
I love how that guy was so incensed that they'd devoted so much to iPods instead of making better servers. Just imagine a world with no iPods, but beefier Xserves... Oh, and Apple going out of business before 2005.
AndrewO··on The Touch Book
http://www.alwaysinnovating.com/wiki/index.php/Faqs#Does_the...

> Does the Touch Book support multitouch?

> No. And we don't think that it's an issue. Multitouch is interesting when you want to zoom in / zoom out. At 1024×600, the Touch Book screen is big enough so that you don't need to zoom all the time as you have to do it on the iPhone.

Hmm, that seems to be missing the point a little bit... It's like saying, "Does this laptop have a trackpad?" "No. The mouse is great and all when you want to highlight text, but we find that using shift and an arrow key works just fine. And now you won't have to worry about accidentally moving the pointer like on some _other_ computers."

AndrewO··on The Real Disappointment
Yeah, but there's no reason to think that they will either. In fact, I would highly doubt that they'd do that given that they haven't for the iPhone and they're notoriously minimalistic when it comes to making different versions of the same product.
AndrewO··on The Irony of iPad: A Great Day For Open Technologies
It's ironic that Steve's much criticized initial suggestion of "why don't you make web apps?" in lieu of an SDK when the iPhone first came out is now more and more acceptable. Certainly Safari advances and all the negativity about the approval process have played a part in that.

I just find it funny that Steve had to be "wrong"* about something just to show how right he was about something else...

[*] open to interpretation of course, depending on how you feel about the SDK and the AppStore.

AndrewO··on How geek communication differs from the norm.
Good call—I completely missed the date and thought it was recent.

Pretty much everything that comes up when you google the name is about this, so it doesn't look like anything came of this, which is a shame. Also, it being 1999, I'm guessing the only videos that may exist would be sitting on someone's shelf somewhere (if they weren't taped over or thrown out...). :(

Any Minicon 1999 organizers or attendees in the house?

AndrewO··on How geek communication differs from the norm.
While reading this, I couldn't help but think of one thing: Comic Book Guy from The Simpsons. While I'm certain that the creators were drawing from existing characteristics, I wonder how much has been reabsorbed and amplified as a common foundation for speaking with other fen.
AndrewO··on Kindle Development Kit
The laptop in the top banner appears to have some kind of curly-brace language code open in Eclipse. By the look of the syntax highlighting and flow of indentation, my guess would be Java (or possibly C++).

> It will never happen of course. But I wish someone would do it.

Amen.

AndrewO··on NewsCred Relaunches, Looks To Become “Ning For Newspapers”
I hadn't heard of either before. I'm somewhat interested (nice design—especially the signup form), but not quite sure if I understand it completely. I think a demo video and/or some examples of good user newspapers would help clear this up immensely.

(I looked at the "Discover more newspapers..." link and most seem to be ones people just started to play around with and gave up on.)

AndrewO··on Avatar: The Holocaust We Will Not See
I'm sure all of this will make it's way into the sequel(s)...
AndrewO··on Why Textmate 2.0 is not Developed in the Open
What about the "Edit in TextMate" command?
AndrewO··on Why Textmate 2.0 is not Developed in the Open
Ack in Project to the rescue:

http://github.com/protocool/ack-tmbundle

Sure, it's not the native find in project, but it's way faster. Not a day goes by that I don't use it.

AndrewO··on JSON as a Universal DB Model DSL
I hope you take this as constructive criticism (and not me just being a jerk :), but I see a couple of problems:

1) JSON gives no benefit over a Ruby DSL (like ActiveRecord migrations). Is the schema file going to be consumed by client programs written in other languages? (Even so, in that case, you should probably just define ActiveRecord::Base.to_json_schema). Two languages are unnecessary when one will suffice.

2) When you start to define the schema in code[ft. 1], rather than in the database itself, you're leaving the Active Record pattern (as defined in PoEAA) and should probably look at other patterns (and the libraries that implement them). Data Mapper/DataMapper would probably be a good fit here.

Also, you're loosing the benefits that migrations give of dealing with changes to the schema over time non-destructively. Dr Nic's Sexy Migrations did something that would diff a single schema file with the existing DB schema, but this is not the default solution.

3) Automatically generating forms from a model has tempted many Rails developers over the years. A rudimentary method would be possible using the existing reflection data (i.e. no need for a JSON schema DSL) and some added metadata. Google "rails admin ui" for some examples.

However, "metadata" can easily turn into "writing forms in the model instead of the view" (I've seen it happen). That's why I'd avoid this.

Also any forms more advanced than a simple create/edit interface and you're probably going to end up writing a partial anyway, especially if you need to add markup for formatting (e.g. how do you control if the generated form vertically or horizontally oriented? Meant to go in a table with others or independent?).

ft. 1: Rails' Migrations are a special case. They should be a seen as a separate system from the ORM that was created later on to manage the complexity of changing schema. ActiveRecord classes still define their fields based on reflection from the database.

AndrewO··on JSON as a Universal DB Model DSL
Wait, so the author says we should design our own schema definition DSL, write some JSON that uses that DSL to define a database schema, and implement whatever transformations are required to generate a working migration from that DSL?

How is that lazy?

AndrewO··on Nuclear Reactor Wall Charts
Not to criticize this one, but it's interesting to see the difference between a diagram like this one and the ones linked. Definitely gives me an appreciation of technical illustrators that can make something that preserves information and looks impressive.
AndrewO··on Submersible glider spent months collecting data on Atlantic waters
I'm surprised that the fact that it was the first robotic submersible to cross an ocean wasn't in the headline.

I have to say, the whole glider idea is pretty cool.

AndrewO··on [dead]
tl;dr summary: author presents several straw-man arguments that are predicated on a shallow understanding of not only Christianity and its views on the afterlife, but humanity's bounds.

One of the better comments (by "Matt"): "I really don't see 'meta-atheism' as explaining anything that can't be accounted for by the limits of human discernment, prudence, and will."

Although this one's good too (especially out of context): "People simply don't posess the capacity to behave in a way that reflects perfectly consistent intertemporal preferences. Many of the people I cite above know perfectly well the bad fates that await them for their poor choices. It's just that at the time, Salma Hayek's heaving bosom seems more urgent than whatever might happen the following day."

AndrewO··on Not-so-safe Sex
Out of curiousity, how does the industry not have to fulfill Cal/OSHA now? Is it that performers are not currently employees and the proposed law would change that?
AndrewO··on CrunchPad Litigation Imminent
Agreed. I keep having to remind myself there's two sides to every story (and the only side we've heard so far has a widely read blog to use as a mouthpiece).

Still, Fusion Garage has a lot of explaining to do.

← PreviousPage 4 of 7Next →