HNHacker News
TopNewBestAskShowJobs

Niten

2,488 karma · joined September 14, 2008

submissionscomments
Niten··on Jacob Appelbaum detained at U.S. border, questioned about Wikileaks
> [...] when he was pulled aside by customs and border protection agents who told him he was randomly selected for a security search

> [...] Receipts from his bag were photocopied and his laptop was inspected but it's not clear in what manner, the sources said. Officials from the Immigration and Customs Enforcement and the U.S. Army then told him he was not under arrest but was being detained, the sources said. They asked questions about Wikileaks, asked for his opinions about the wars in Iraq and Afghanistan and asked where Wikileaks founder Julian Assange is, but he declined to comment without a lawyer present, according to the sources. He was not permitted to make a phone call, they said.

What's more worrisome to me is that doublespeak like nonrandom "random searches" and "not arrested but detained" — not to mention state officials imprisoning citizens and holding them up to some political litmus test over their opinions of our foreign wars while searching through their documents and confiscating their equipment without a warrant — has apparently become such a norm in the USA that even more open-minded news sources like Wired don't bother to question it.

Niten··on Apple starts patenting mobile app ideas
pg puts forth a similar view in his essay on software patents:

http://www.paulgraham.com/softwarepatents.html

But I don't think that logic applies here. Sure, if you're a small operation going head to head with some huge corporation, that attitude toward patents makes perfect sense.

But that's not the order of things in scenario; Apple doesn't see small app developers as their competitors, rather they see Google's Android and possibly Microsoft's Windows Phone 7 (and the manufacturers who build the corresponding devices) as their competitors. So Apple's most likely use for these patents is to threaten developers building apps for Android and other non-iOS platforms. And that, in light of Apple's recent history of patent abuse, gives startups every reason to worry.

Niten··on Rakudo Star - a useful, usable, "early adopter" distribution of Perl 6
Thanks to everyone who put this together. This probably sounds silly, but Perl was the first programming language I ever did anything "real" with (it was my second language, after Microsoft QuickBASIC), and no matter how many other languages I try I'll always have a soft spot in my heart for Perl. So it's great to see a real release for Perl 6 which, as it matures, I think will prove itself as the best mainstream dynamic imperative language out there.

EDIT: In particular, I think macros and stm will be killer features with respect to other languages, once they're implemented in Rakudo.

Niten··on The English-Likeness Monster
I'm not a remarkable programmer by Hacker News standards, but I have experience in what I think is a decent variety of languages. I've done C and assembly; I've done a stack-based language; I've done the popular dynamic imperative languages (Perl, Python, JavaScript, a little Ruby); I've done Lisp and Haskell. Heck, I've even programmed in Visual Basic.

And in all my programming adventures, AppleScript has to be the weirdest, most backward, hardest to figure out language I've ever had the misfortune of using. I think Gruber nails it here -- English and other natural languages are not nearly precise enough to express program text, and the problem is exacerbated when you try to support multiple natural languages simultaneously. Visual Basic may not be a terrific programming language, but at least it's internally consistent.

To quote Einstein, "Everything must be made as simple as possible, and not simpler." AppleScript's designers tried to simplify away the essence of programming, and wound up making scripting much, much harder than it should be.

To anyone out there who needs to script OS X, save yourself a great deal of pain and avoid the temptation of using AppleScript just because it's OS X's "native" scripting language (this is was my mistake). Access OSA through a sane language like Ruby or Python instead.

Niten··on Desperate Perl Hacker
I think Perl 6's Rules are a natural and important extension to the language. Perl has always been a tool of choice for text processing; but people tend to [ab]use regular expressions even where a real parser would be much more appropriate because their language -- Perl, Python, Ruby, C#, pretty much any commercially popular language these days -- gives you regular expressions on a platter, and their presence in the core language or standard library sort of enshrines regexes as a tool of choice.

Look at it this way: pretty much any "Programming ______" book will at least touch on that language's regexp implementation. How many such books currently cover implementing basic parsers for non-regular grammars?

So yeah, if Perl 6 can bring parsers to the mainstream by providing easy, visible tools to implement them, and even simply by making parsers something you learn about in the course of learning Perl, that'll be a huge win for us all.

Niten··on Xcode 4 public preview - Single window, LLVM 2.0, streamlined editing
It may not be a hands-down winner yet, but in the long run it's the way to be headed.

I'm more interested in using LLVM on FreeBSD or Linux than on OS X, but I'm happy to see Apple pushing its development.

Niten··on Google pulls plug on Nexus One
Let me rephrase that, since you appear to have entirely missed the point of my post. It doesn't matter that Android 2.2 isn't out yet, because Android 2.1 still compares favorably to iOS 4.
Niten··on Google pulls plug on Nexus One
Best in terms of what exactly? Baseline snarkiness?

Most customers don't know, much less care about, the exact version number of their phone's operating system. They care about what the operating system can do for them. But I suppose if Gruber were to compare the actual capabilities of currently available Android systems vs. iOS 4, he would have much less to be snarky about on Apple's behalf.

Niten··on Google pulls plug on Nexus One
No, it's emphatically not a problem with the ecosystem. Android 2.2 phones are being designed as we speak, and Android 2.1 works perfectly fine for people in the meantime -- it's not like Google had to play catchup with Android 2.2 the way Apple did with iOS 4.

Like you said, typical users such as your parents have no idea what software their phone is running; they just want it to work. Android 2.1 works perfectly well, and the fact that 2.2 has been announced but is not yet commercially available is no hindrance to people who don't care for such matters.

The only people who really seem to be getting up in arms about Android 2.2 not being available right now are the Apple fanatics.

Niten··on iPhone vs. Droid GPS signal quality
I haven't done any iPhone development, but can't the GPS sample rate be overridden in software? I know it can on Android -- My Tracks will let you tweak the sample rate if you want, for example.
Niten··on iPhone vs. Droid GPS signal quality
I'm not experiencing this issue with my own HTC Incredible, for what it's worth. Maybe there's some glitch with Google's wireless network database...

As for the Incredible's GPS performance, I couldn't be happier. It's accurate enough that when I go cycling and let My Tracks record my ride, I can zoom in and see where I headed out on one side of the road and came back on the other. The biggest downside is the elevation inaccuracy, but from what I can tell that's an issue with all devices that gather altitude data from GPS (rather than an internal barometer).

Niten··on The new way the feds take over websites
I think it's even more disturbing that they'd use this power to take over a domain in a TLD sponsored by another country. I can't imagine the EU would be happy about this precedent...
Niten··on Zed Shaw on C++
And then, occasionally, Objective-C.
Niten··on Apple to hold iPhone 4 press conference on Friday
It's common knowledge that Apple's rubber bumpers are a workaround for the antenna problem. But you shouldn't have to buy a $30 case for your $200 phone just for the privilege of making calls reliably.
Niten··on Apple's brewing shitstorm
Oh please. How good or bad Vista was is beside the point; the comparison is between how Vista and the iPhone 4 are perceived.
Niten··on Apple to hold iPhone 4 press conference on Friday
I think that would be bad timing for a Verizon announcement. Wouldn't that just piss off anyone who signed with AT&T for the iPhone 4 just because they couldn't get it on Verizon?

Besides, if they're going to announce a Verizon phone then they're effectively announcing a new model; the GSM iPhone 4 obviously isn't compatible with Verizon's network. In my opinion this is the kind of thing you'd do at the launch of a new iPhone generation, not just a few weeks afterward.

Niten··on In what language do deaf people think?
For my part I know that I don't strictly think in words, or pictures, or any other such representations. I'm sharply aware of this because I'm relatively slow putting thoughts into words; so when I have some thought, I can consciously hold that thought in my head for a moment before the corresponding words come to mind.

For instance, suppose I realize I'm out of milk. It'll come to mind that I should go to a grocery this afternoon to buy more milk, but this intention doesn't form as a complete sentence in my head. It may literally take a couple seconds for me to recall the vocabulary I'll need to express this thought in words, but I can continue thinking about my trip to the grocery -- which one I should go to, what else I need to pick up there, etc. -- before any words have even come to my mind. So ideas and their linguistic representations are very distinct to me, and sometimes I don't even bother with the latter at all, because (for whatever reason) forming the linguistic representation of a though imposes a significant overhead on my brain. (I'm also dyslexic, for what it's worth, and I often wonder of these issues are related.)

My hypothesis is that for people with better functioning language centers than mine, words may come to mind so easily that the delay between thought and linguistic representation is imperceptible to them, hence they "think in words". But for people like me those words might come late or not at all, but regardless, I do think all the same...

Niten··on Google Labs launches Android app for finding open parking spots
Plus I'm not sold that the points system will be enough for people to take time to mark free spots when they're just trying to get on with their day. Unless they start saying "you can't keep using this program unless you have a certain number of points," anyway.

Now if Google could collect real-time data via automated parking ticket systems, or even by getting access to security camera feeds and doing some image processing, then they'd be in business. I don't know how these systems are typically run, but it might be a smart move for Google to pursue partnerships with popular big-city parking locations for exclusive access to this data, to the extent that it can be collected from current systems.

Niten··on Trail blazing innovators - Use Emacs
Did you try mapping caps lock as a control key, like on the Sun keyboards? Before I did this I had trouble with Emacs, but since then it's been perfect for me.
Niten··on Is Microsoft Headed Towards Extinction?
> Windows 7 has been very well perceived, though it still lags behind Linux/OSX.

Lags behind in what sense?

Niten··on Could Ruby be Apple's language and API future?
Thanks for commenting on this, you clearly know a lot more about this topic than I do.
Niten··on Could Ruby be Apple's language and API future?
The MacRuby team reckons it's "stable", in the sense that the API shouldn't change too much in the future and it probably won't crash. But there are good reasons Steve might not yet consider it mature enough for the iPhone. For one thing, gems don't work yet.
Niten··on Could Ruby be Apple's language and API future?
MacRuby apparently performs quite well, at least in this stage of its development. What would be really interesting is if this translates into real-world Rails/Sinatra/whatever performance gains significant enough to create demand for OS X hosting...
Niten··on Could Ruby be Apple's language and API future?
Not at all. Given that they're both dynamic programming languages with runtime dispatch, there's really little impedance mismatch between Ruby and Objective-C. Thus MacRuby, a Ruby implementation that encapsulates Objective-C objects and messages in Ruby objects and methods. Cocoa in Ruby without a bridge -- it's already there, it's a done deal.

Now as for whether they'd replace Objective-C with MacRuby, no, that wouldn't make sense. The two would live side by side. Apple can continue to implement Cocoa frameworks and core applications in Objective-C while also offering an excellent Ruby programming environment built on top of that.

It's sort of like C# vs. F# or IronPython in the .NET world -- Microsoft didn't have to replace the base .NET assembly implementation language (a.k.a. "assembly language for CLR") in order to provide more attractive dynamic or functional languages on top of the same infrastructure.

EDIT: In fact, the semantic mismatch between Objective-C and dynamic languages like Ruby is less than the mismatch between dynamic languages and the CLR, which mirrors the statically-typed semantics of C#. Is Apple's combination of the Objective-C type and dispatch systems and LLVM going to one-up .NET from a direction that we didn't see coming?

Niten··on Could Ruby be Apple's language and API future?
So? Apple didn't control GCC, either, when they built OS X on top of it.
Niten··on Could Ruby be Apple's language and API future?
Yes, they did have to blanket-ban it to begin with. If they're to make an exception for this, then in the interest of avoiding fragmentation they won't be making an exception for the Ruby language in the abstract; rather they'll be making the exception for the MacRuby implementation in particular. MacRuby is a unique implementation, and programming Cocoa through MacRuby is vastly different (and incompatible) experience from programming Cocoa on other OS X Ruby implementations.

Given that MacRuby is not considered "stable" just yet, the time is not right for Apple to provide an exception to 3.3.1 for Ruby programming. If this does happen, then it will happen only after MacRuby is good and ready.

I emphasize that I do not support Apple's draconian policies toward iOS developers, but their behavior here is internally consistent with the possibility of an eventual allowance for MacRuby.

Niten··on Kindle for Android
Thanks for posting this. I registered with Amazon for email notifications when this was to be released, but they didn't send me anything.

It works great on my HTC Incredible so far, including Whispersync with my Kindle 2. I wish it supported search and included a dictionary like my Kindle 2 does, but since even Kindle For PC doesn't have these features yet I suppose I'll have to wait.

My one big UI gripe so far is that the phone's back button isn't used for navigation like the back button on the Kindle hardware; instead it takes you straight to the welcome screen. The navigation feature analogous to the hardware Kindle's back button is bizarrely exposed as a separate choice through the application menu.

Niten··on Google Isn't Just Reading Your Links, It's Now Running Your Code
I just hope they don't start caching and displaying obfuscated links, since JavaScript obfuscation is how I currently manage to display a working mailto: link on my personal web page while simultaneously giving myself nominal protection from address harvesters. Is this no longer a viable strategy for protecting one's email address on the web?
Niten··on Nokia to use Linux for flagship N-series phones
What I don't get is why we need another Linux-based mobile OS. Why not just use Android?

People flocked to iOS because it was unique and innovative when it was new, and because it runs on great hardware from Apple. People are flocking to Android because it's an open-source alternative that's in some ways superior to iOS, and because it runs on a skyrocketing number of devices from countless manufacturers and on countless carriers.

For MeeGo to win serious developer-share, it will have to either come on hardware more compelling than Apple's, or outdo Android on technical capability / developer experience or overall market penetration. To my naive eye, neither of these seem likely. So what's the deal here? Am I mistaken about MeeGo's prospects, or is this just a massive case of not-invented-here?

(Lest I be accused of ignoring the overriding issue of user response to the two operating systems, I'm working under the assumption that MeeGo doesn't currently have anything significant to add to the user experience provided by Android on smartphones. Am I wrong about that?)

Niten··on Users report 'fault' on iPhone 4
Certainly not their first major recall -- I remember my iBook's battery being recalled as part of that exploding battery debacle. There was something with poor soldering of motherboard components, too, that affected the generation of iBooks previous to mine.

I wonder if Apple could keep costs down here by shipping those rubber bumper cases to everyone. Unless this is some bizarre feedback issue that can be fixed in software, I don't see how Apple could recall the iPhone 4 and truly fix this short of a major redesign. And I'd hate to see that happen, if for no other reason than it would seem such a waste...

← PreviousPage 12 of 15Next →