HNHacker News
TopNewBestAskShowJobs

cosmo7

277 karma · joined August 7, 2008

http://cosmo7.com
submissionscomments
cosmo7··on Ask HN: What programming language was ______ written in?
Diaspora - Ruby on Rails
cosmo7··on The PHP strtod() denial of service bug
> GNU Mono

I see Miguel finally caved!

cosmo7··on Apple in talks with Microsoft to make Bing default search engine on the iPhone
I wouldn't be surprised if Apple starts more collaborations with Microsoft. Remember how IBM was Apple's big enemy and then they got into bed with each other?
cosmo7··on Job description written in Ruby
Unsurprisingly, ubercool job ad is for a site that uses table layouts riddled with inline CSS.
cosmo7··on Before Apple introduced the iPhone
Article is predicated on the idea that evil and innovation are mutually exclusive. I think it's more true that evil and innovation are pretty tightly coupled.
cosmo7··on A simple, extensible HTTP server in Cocoa
I love embedded servers. I don't think adding SSL would be that hard. I've done something very similar in C# and kept putting off SSL, only to find that X.509 authentication was trivial.

The harder part is maintaining session info between requests and garbage collecting dead sessions, though you could just authenticate each request.

cosmo7··on Working on It (TextMate)
> I'm just hoping MacRuby will enable the Ruby world to build our own open source Textmate clone so we'll be able to ditch this abandonware piece of crap.

Thanks for reminding me why I don't want to do Ruby.

cosmo7··on Working on It (TextMate)
> since the Windows stack is so closed in general

Huh? What about NetBeans or Eclipse? There is tons of open software for Windows.

cosmo7··on Pricing a Simple, Useful Desktop App
You might get more money from making the application into a web application and getting commission from click-through sales of actual hardware.
cosmo7··on How I Write Code
I write code by analyzing requirements and then breaking them into a series of milestones and attaching requirements to each milestone. I show the client how I have interpreted their requirements and make sure we are in sync. I then delegate as much non-core work as possible to others. I tend to separate the functional and visual aspects of each milestone.

Regarding the ordering of milestones, where there is some discretion available I tend to do things that will keep the client happy. The objective is to deliver the project on time with the minimum level of stress for all involved.

I don't lie about in bed dreaming about imaginary packets.

cosmo7··on Web Applications Should Be Compiled
I agree that compiled statically typed code is more robust than scripts, but I'd choose a safer language like C# or Java over C.
cosmo7··on Ask HN: Flex or JavaScript. Which way to go?
You might want to consider separating your front and back ends with an API that could be accessed by Flash or AJAX.

You can then introduce a simple client and progressively enhance it according to your client's sensitivities. If you use AJAX I recommend jQuery.

cosmo7··on Popular languages on GitHub ranked by number of bytes stored
That doesn't mean they're the most popular. It might be people all sharing stuff to say "look how retarded this code is."

(just saying)

cosmo7··on Poll: Do you smoke?
I've given up smoking several times, the last time, successfully, about 3 years ago. The previous attempt was pretty much doomed - it was mid-August 2001 and I was living in lower Manhattan.

The thing that is most difficult about nicotine is that it is intimately connected with the way your brain processes novelty. If you're a smoker and you're learning (say) a new language or API, your body automatically makes you light cigarettes and smoke them; you only become aware that you have been smoking when you're stubbing them out.

cosmo7··on Poll: Do you smoke?
Please keep it clean folks.
cosmo7··on The Perfect Desktop - Ubuntu Studio 9.04
Wishful thinking aside, The Gimp < Photoshop.
cosmo7··on Keir Thomas: Why People Quit Linux
This guy comes across as being angry that people quit Linux, as though they owe Linux something.
cosmo7··on First reprapped circuit
Pouring molten solder into a mold seems kind of crude; solder is rather blobby even with flux.

I'd have thought that using printer technology would be easier. You could print conductive areas and semiconductors and resistors directly onto an insulator. You could make 3D objects as papercraft.

cosmo7··on Idea: using code rather than templates to generate HTML
My project, phpSprockets (http://code.google.com/p/phpsprockets/) does nested markup by working as a node system. After all, if you're going to generate HTML in code you might as well do it in an object oriented way.

$table = new Sprocket( 'table' );

$tr = $table->tr();

$tr->td( "OMG I'm in a sprocket" );

I've done similar things using XElement in C#, though using PHP's magic methods makes for very short readable code.

I agree that templates are handy for separation of concerns though.

cosmo7··on Obie Fernandez: My Reasoned Response about Scala at Twitter
Wow, what a douchebag.
cosmo7··on Twitter, Ruby on Rails, Scala and people who don’t RTFA
Well Scala does that () thing too. On the other hand, an infinite loop in Scala would run much more quickly than in Ruby.
cosmo7··on Twitter jilts Ruby for Scala
> My point is I seriously doubt Scala is much better at scaling than Ruby

I spoke with some people at Twitter the other day. They said that they were switching to Scala just to annoy alecco on Hacker News. The performance and scaling advantages are entirely negligible.

cosmo7··on Twitter jilts Ruby for Scala
Threading.
cosmo7··on Twitter jilts Ruby for Scala
Although the Reg sensationalizes the story, it's interesting to see how Ruby is in limbo. How much damage has been done to Merb by the 1.8 to 1.9 fiasco?
cosmo7··on [dead]
Wow, Hacker News is playing by Fox News rules.

The warning is to avoid situations where someone has sent intellectual property without legal basis and then feels that that property has been misappropriated. It's entirely normal for a VC to not want to hear secrets until a relationship is established precisely to avoid the possibility of being suspected of stealing ideas.

A better headline would be Google Ventures Launches with "Don't Tell Us Stuff And Then Try To Sue Us" Caveat.

cosmo7··on .NET MVC vs Ruby on Rails. Ding
"C# is too verbose for most web work"

Lame.

cosmo7··on Rails won
This is what people mean by "it just works", because if it doesn't you give up immediately.
cosmo7··on Rails won
This is very similar to my own experience of working with people who prefer Ruby on Rails. The technology is fine, but the culture seems to attract the worst people to work with.
cosmo7··on Ask HN: What's the purpose of the resistor in this circuit?
Ohm my god.
cosmo7··on Rails is a Ghetto (retracted)
At the risk of sounding vindictive, I don't think I've ever been more happy to see someone getting PSAs on their Adsense.
Page 1 of 5Next →