News for hackers. Stuff that matters.

cosmo7

Diaspora - Ruby on Rails
Re:The PHP strtod() denial of service bug on Wednesday January 12, 2011 @09:50AM (#2096282)
> GNU Mono

I see Miguel finally caved!

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?
Re:Job description written in Ruby on Thursday September 10, 2009 @11:54AM (#815479)
Unsurprisingly, ubercool job ad is for a site that uses table layouts riddled with inline CSS.
Re:Before Apple introduced the iPhone on Tuesday September 08, 2009 @09:46AM (#810942)
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.
Re:A simple, extensible HTTP server in Cocoa on Tuesday July 14, 2009 @09:59AM (#703673)
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.

Re:Working on It (TextMate) on Sunday June 14, 2009 @05:25PM (#657569)
> 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.

Re:Working on It (TextMate) on Sunday June 14, 2009 @05:22PM (#657567)
> since the Windows stack is so closed in general

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

Re:Pricing a Simple, Useful Desktop App on Thursday June 04, 2009 @11:00AM (#641494)
You might get more money from making the application into a web application and getting commission from click-through sales of actual hardware.
Re:How I Write Code on Tuesday June 02, 2009 @11:47AM (#638005)
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.

Re:Web Applications Should Be Compiled on Tuesday June 02, 2009 @09:57AM (#637822)
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.
Re:Ask HN: Flex or JavaScript. Which way to go? on Monday June 01, 2009 @05:52PM (#636873)
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.

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)

Re:Poll: Do you smoke? on Wednesday May 06, 2009 @11:36PM (#597362)
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.

Re:Poll: Do you smoke? on Wednesday May 06, 2009 @11:30PM (#597355)
Please keep it clean folks.
Re:The Perfect Desktop - Ubuntu Studio 9.04 on Tuesday May 05, 2009 @12:53PM (#594344)
Wishful thinking aside, The Gimp < Photoshop.
Re:Keir Thomas: Why People Quit Linux on Monday May 04, 2009 @11:23AM (#592504)
This guy comes across as being angry that people quit Linux, as though they owe Linux something.
Re:First reprapped circuit on Sunday April 19, 2009 @11:12PM (#570126)
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.

Re:Idea: using code rather than templates to generate HTML on Tuesday April 14, 2009 @02:43PM (#562016)
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.

Wow, what a douchebag.
Well Scala does that () thing too. On the other hand, an infinite loop in Scala would run much more quickly than in Ruby.
Re:Twitter jilts Ruby for Scala on Thursday April 02, 2009 @04:08PM (#543966)
> 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.

Re:Twitter jilts Ruby for Scala on Thursday April 02, 2009 @01:38PM (#543698)
Threading.
Re:Twitter jilts Ruby for Scala on Thursday April 02, 2009 @01:33PM (#543686)
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?
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.

Re:.NET MVC vs Ruby on Rails. Ding on Saturday March 21, 2009 @03:07PM (#526434)
"C# is too verbose for most web work"

Lame.

Re:Rails won on Friday March 20, 2009 @04:49PM (#525545)
This is what people mean by "it just works", because if it doesn't you give up immediately.
Re:Rails won on Friday March 20, 2009 @04:47PM (#525541)
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.
Ohm my god.
Re:Rails is a Ghetto (retracted) on Thursday March 19, 2009 @01:47PM (#523671)
At the risk of sounding vindictive, I don't think I've ever been more happy to see someone getting PSAs on their Adsense.

Older »