News for hackers. Stuff that matters.

pl0nk

Re:Google Blocked in Mainland China on Thursday July 29, 2010 @06:09PM (#1559450)
Thank you -- with this comment I finally realized that I have no need to read HN.
Re:Hurt Locker Producers To Sue Thousands of Piraters on Thursday May 13, 2010 @02:22AM (#1343489)
> If your are not making money on a movie it's your own fault - not bittorrent

Are you implying that theft is not wrong as long as you're still making a profit?

Re:Hurt Locker Producers To Sue Thousands of Piraters on Thursday May 13, 2010 @02:14AM (#1343475)
> It's their own fault for being idiots and not actually screening it in cinemas

Do you think they really just forgot to screen it?

Or could it instead just be that it's difficult to get broad distribution without a gigantic budget and/or sequel to a safe franchise? Somehow I imagine it was harder for them to get screenings than it was for Iron Man 2.

Re:Action Script 3 Memory Management on Sunday March 28, 2010 @01:03PM (#1224849)
> Making sure every "new" was matched by a "delete" was tedious but absolutely necessary

Anyone who thinks this is necessary should check out boost::shared_ptr, weak_ptr, and scoped_ptr:

http://www.boost.org/doc/libs/1_42_0/libs/smart_ptr/smart_pt...

C++ has been around long enough to have had several distinct epochs of style and best practice. It's not necessary to do much manual heap management in modern C++.

And the subtle upside of using ref-counting is that the ownership and lifetime of your data becomes self-evident in the types. It takes awhile to appreciate that, but it makes garbage collection feel a bit like dynamic typing: yes, it requires you to think less, and there are heroic, inspiring optimizations behind it, but ultimately makes it harder to understand the runtime behavior based on just looking at the code.

This post is interesting because he's identifying those limitations of GC: he's ending up having to add reference management to his GC code, by making sure to null out references, etc. It's nice to have the type system do that for you.

Re:Flyfire - New Display Technology on Sunday February 21, 2010 @03:55PM (#1141220)
1. The videos show these flying pixels in a grid using variable output to form images like the Mona Lisa -- but a perhaps more interesting possibility is using them for non-uniform sampling of an image.

Imagine all of them emitting max light output, and having none of them fly in the black areas of the image, and the highest concentration in the brightest areas.

2. This could be a basis for free-floating advertisements or information. Imagine walking around a giant outdoor mall (like the labyrinthine Irvine Spectrum) and having pixels appear above you announcing that the next IMAX 3D showing of Avatar is coming up, forming into a giant floating arrow saying RIGHT THIS WAY and floating towards the theater at walking pace.

Re:On how Google Wave surprisingly changed my life on Wednesday January 13, 2010 @12:05AM (#1049494)
Aren't you working with them because you have something they want?
Re:After Credentials on Saturday December 20, 2008 @04:27PM (#404827)
> the French is that they don't have a word for entrepreneur

Hmm. You might want to check the etymology of the word.

Re:San Jose is hell on earth on Tuesday May 20, 2008 @12:56AM (#194741)
You are surprised that a webpage from 1996 has dead links? I am more surprised that any of the off-site ones work.
Re:Amazon #2 in digital music sales on Friday March 28, 2008 @02:09PM (#148719)
The download client is pleasantly lightweight and unobtrusive.

It's a far cry from the standard Windows crapware that sits uselessly in your tray, wants to be always running, and bothers you to ask about downloading inconsequential 0.0.1 incremental updates every week.

Re:Ask YC: Which internship, Cisco or small C++ startup? on Friday March 28, 2008 @01:17PM (#148657)
> Startup: Rogue Wave Software

not to disappoint you but:

"Rogue Wave® Software has been serving the needs of the developer community for almost two decades" http://www.roguewave.com/company/history-milestones.php