HNHacker News
TopNewBestAskShowJobs

schrototo

2,051 karma · joined December 17, 2010

submissionscomments
schrototo··on How to understand non-trivial declarations in C. (right-left rule)
Blocks are a C language extension, they're not unique to Objective-C.
schrototo··on Differences between German and British manners
> "In a lift or a doctor's waiting room, talk about the weather in German? I don't think so," she says.

What a ridiculous article. Of course Germans have inane conversations about the weather and other trivialities. You know what the German word for "small talk" is? It's "small talk".

schrototo··on Copyfight: EFF co-founder enters e-G8 "lion's den," rips into lions
Sure, every issue is always more complicated than people think, and I'm not saying that just ignoring copyright is necessarily the "right" thing to do.

But just think about this: I am 23 years old, I barely remember a time when there was no internet. Kids today grow up taking their iPods for granted. They take for granted that music, movies, media of all kind is digital. The take for granted that is easily shared. That there is no fundamental restriction on the consumption of content. Technologically we are at the point where virtually all content is available to virtually everyone at virtually no cost.

Politics and law do not matter. This reality is neither a good nor a bad thing, it just is.

schrototo··on Copyfight: EFF co-founder enters e-G8 "lion's den," rips into lions
The thing that strikes me whenever I hear those crusty old old-media guys talking is that the reality of the generations growing up today is so entirely different. Nobody I know in my generation, regardless of where they stand on the political spectrum, gives a shit about copyright. Nobody. Everyone downloads music, movies and TV shows freely and without thinking about it.

That's not to say they don't ever pay for stuff, just look at the success of iTunes or the record-breaking opening weekends of popular movies. But the young generations fundamentally do no have any respect for copyright, especially if it restricts their abilities to enjoy consumption of content.

The times, they are a-changin', whether "the industry" likes it or not.

schrototo··on Regarding Objective-C & Copland 2010
That's right, but if the receiver needs to have the block on the heap for whatever reason, it's his responsibility to take care of that. Blocks are really no different from any other method argument.
schrototo··on Regarding Objective-C & Copland 2010
Objective-C can sometimes be pretty verbose, yes, but that's a very contrived block example, especially since it doesn't really relate to concurrency in any way.

A more real-world example employing blocks with GCD would be:

  dispatch_queue_t queue = 
    dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0);

  dispatch_async(queue, ^{
    // do some time-consuming work
    dispatch_async(dispatch_get_main_queue() ^{        
      // do stuff on the main thread, like updating UI
    });
  });
That's actually pure C. Typical block usage with Cocoa would be something like:

  [myArray enumerateObjectsWithOptions:NSEnumerationConcurrent
                            usingBlock:^(id obj, NSUInteger idx, BOOL *stop) {
    // do something with obj concurrently
  }];
schrototo··on All the things task apps aren't getting right vs. paper
Apart from those "psycho-tactile" arguments, the biggest problems of those GTD apps is their ridiculous overhead. Projects, sub-projects, sub-sub-projects, tags, folders, due dates, scheduling, etc. I'm sure many find those things useful, otherwise there wouldn't be such a market for these apps, but I inevitably get lost in all the organizing.

The only GTD app I've ever found useful is TaskPaper [1], and that's because it pretty much "just" a piece of paper, taking just enough advantage of the possiblities of software to make it truly powerful.

[1] http://www.hogbaysoftware.com/products/taskpaper

schrototo··on Misuse of 3-D digital lens leaves 2-D movies in the dark
Boy, judging from the replies you guys must have some crappy cinemas...
schrototo··on Misuse of 3-D digital lens leaves 2-D movies in the dark
I don't think 3D is entirely useless, it's just not used to its full potential in my mind. Explosions, space battles and what-have-you are nice and all, but when I saw Avatar the one scene that really blew me away was just a bunch of people sitting around and talking, with no camera movement whatsoever. It felt so real and intense.

I want to see some serious drama shot in 3D, I want to see the technology serve story and character.

(And yes, I am anxiously awaiting the local release of Werner Herzog's 3D cave documentary...)

schrototo··on Misuse of 3-D digital lens leaves 2-D movies in the dark
I have to strongly disagree. The experience of watching a film in a movie theater is completely different than watching it at home, even with a high end home theater setup.

First of all, the vast majority of people can't even come close to replicate this "technological experience" of movie theater. The huge screen as well as the audio system absolutely do change how you experience a film, be it Avatar or 2001 or Metropolis (the last two of which I've only recently seen for the first time on the big screen, and even though I have a pretty huge TV, this was an entirely different experience).

But aside from the technology involved, a movie theater is a completely different environment than your living room, it is designed to keep you entirely focused. I find I am much more immersed in a movie when I see it in the cinema. Also, some movies are just made to be watched as part of a larger audience (e.g. I can't imagine I'd find Borat even remotely as funny as I did when I watched it in a small theater packed with a cheering crowd).

On a somewhat more esoteric note, I seem to remember a study that showed rear-projection (like on a TV) had a different impact on the brain than front-projection (like on a movie screen). I can't find anything about this now and it might've been complete bogus, but maybe someone else knows something about this...

schrototo··on The Author as Agent of Change
But that's exactly the same issue: not only are people who read Lessig predisposed to these kinds of publishing ventures, that very book is about issues related with that. Doctorow or Lessig succeeding at this is somewhat of a self-fulfilling prophecy.
schrototo··on Lodsys explains in-app patent warning letters sent to iOS developers
I can't imagine that Apple would willfully put its entire app ecosystem at risk like that.
schrototo··on Lodsys explains in-app patent warning letters sent to iOS developers
The problem being: patent trolls like Lodsys LLC do not actually create anything. There's nothing to countersue over.
schrototo··on Lodsys explains in-app patent warning letters sent to iOS developers
"But for an app developer to take a year or two to write an application and to see money from the app, is good fortune built on top of the contributions of the entire shared ecosystem, including independent inventor’s patent outputs such as Abelow’s." [1]

Oh give me a fucking break. Yeah, us developers would be utterly lost without the exciting "inventions" of Abelow and Lodsys LLC.

[1] http://www.lodsys.com/1/post/2011/05/q-licensing-patents-is-...

schrototo··on Bizarre Apple Design Choices
What is this FUD? Did that guy even bother to plug anything else in? I've been using that extension to connect all kinds of stuff, and I've never had any trouble. I didn't even notice that there was a ridge on the connector!
schrototo··on What Every C Programmer Should Know About Undefined Behavior #1/3
The original piece of C code has undefined behaviour, meaning LLVM can generate anything it wants. It happens to generate ud2 instructions (because it's better to crash hard and fast) but it could just as well print "puppies puppies puppies" a million times.
schrototo··on New iMacs run fans at full on all drives other than Apple supplied...
Knocking on wood, but I've also never had a harddrive fail on me (and I personally don't know anyone who has). Though I do get a cold at least twice a year...
schrototo··on Why I get my entertainment via BitTorrent
Wouldn't that still violate the license terms? So why not just torrent it directly?
schrototo··on Bret Victor on working at Apple.
That's what I also thought at first, but the second question of the FAQ on the site lends itself to the interpretation that working at Apple was a "mistake". But yeah, the title is somewhat editorializing...
schrototo··on Apple's 30% vig for ebooks just killed the iFlow Reader app
The App Store Review Guidelines [1] state pretty clearly:

11.13 Apps can read or play approved content (magazines, newspapers, books, audio, music, video) that is sold outside of the app, for which Apple will not receive any portion of the revenues, provided that the same content is also offered in the app using IAP at the same price or less than it is offered outside the app. This applies to both purchased content and subscriptions.

11.14 Apps that link to external mechanisms for purchasing content to be used in the app, such as a “buy" button that goes to a web site to purchase a digital book, will be rejected

[1] https://developer.apple.com/appstore/resources/approval/guid...

schrototo··on Google Launching Its Cloud Service Tomorrow, Without Big Music's Approval
I don't know about Google I/O, but WWDC has always had announcements of consumer products: iPhone 4, FaceTime, iMovie for iPhone, upgraded MacBooks, MobileMe,...
schrototo··on Google Chrome Hacked?
Wouldn't "the government" keep quiet about even having found an exploit? Why let VUPEN publicize this if they intend to use it?
schrototo··on The Pirate Bay: “The Battle of Internets is About to Begin”
Here's the link to the actual story: http://www.telegraph.co.uk/technology/news/8481330/Alarm-ove...
schrototo··on Fossil Versus Git
That's why you never rebase something that's already been pushed to a public repo or some other shared "master" branch. Rebasing is for making a clean history before you merge into master or make your changes public.

It's really a magnificent tool because I never have to worry about the cleanness of my work-in-progress commits.

schrototo··on Journal rejects studies contradicting precognition
The TL;DR version: "This journal does not publish replication studies, whether successful or unsuccessful"
schrototo··on Google's Backdoor Access System into Gmail Accounts
Wouldn't whatever party you're communicating with also need to run their own mailservers? Otherwise the government or some other intruder could just read your conversations from the other end...
schrototo··on Objective-C's niche: why it survives in a world of alternatives
> Obj-C went with Smalltalk syntax, while the rest of the world went with C++ syntax and ultimately the Java style syntax we know and love today.

It's more than just a syntactic difference. Objective-C implements true message passing which is not the same as "method calling". You can send messages to a nil object, or have an object dynamically respond at runtime to a message it didn't declare at compile time etc.

Some seem to think the brackets are just some kind of whimsy, but it's important that sending a message is not to be confused with calling a function.

schrototo··on Objective-C's niche: why it survives in a world of alternatives
I don't have any experience with this, but shouldn't it be possible to compile Haskell code into a static library?
schrototo··on Objective-C's niche: why it survives in a world of alternatives
So? Then don't write those kinds of things in Objective-C. I wouldn't want to write UI code in Haskell either...
schrototo··on Finally an iPhone app that shrinks your data usage and thus, your bills.
And how the hell is this supposed to work, exactly?

edit: Ah, it's just a proxy. From their FAQ:

"How does Onavo work?

With Onavo installed, web, email and app data sent to you is streamed through Onavo's magical shrinking machine before reaching your iPhone. For the geeks out there, what happens is that Onavo acts as a proxy server for your iPhone, which compresses inbound data to Safari, Mail, Facebook, Google Maps, Twitter (currently only TweetDeck and EchoFon) and other apps."

← PreviousPage 6 of 8Next →