HNHacker News
TopNewBestAskShowJobs

Niten

2,488 karma · joined September 14, 2008

submissionscomments
Niten··on Programming is hard
Well my hypothesis is that regardless of one's opinion of the value of mathematics to programming or mathematical knowledge, one is likely to advocate that a strong mathematical background correlates with opining one's given assessment of the value of mathematics to programming ;)
Niten··on IE9 is the IE6 of CSS3
That seems sort of user-hostile, but hey, it's your call.

I don't consider even IE 8 to be a burden any more. It doesn't get some CSS effects right, but stuff generally renders OK without modification. I can sort of understand blocking IE 8 if you really don't want people to see your site without border-radius or whatever, and if you don't feel like taking the time to patch it up with conditional code, and if all those lost visitors don't matter to you...

But so far I've found IE 9 to be spot-on. Are you experiencing a rendering glitch with the latest beta? If not for rendering issues, then what's to be gained by blocking potential visitors or users just because you don't like their choice of software?

Niten··on Bringing Smiles to the Faces of MacOS developers - Miguel de Icaza
> Please don't give me the stuff about MS promises against suing, it's totally unrealistic.

You're wrong. It would be pretty much impossible for Microsoft to sue over Mono at this point, even if they wanted to. You gloss over the fact that Microsoft has issued a thorough, unrevokable, legally binding Community Promise to not assert patent claims over .NET implementations:

http://www.microsoft.com/interop/cp/default.mspx

The purpose and implications of the Community Promise are clear. Microsoft has sanctioned Mono, and no court in the world would let them take the CP back and say "nah, we were just kidding."

> What I am peddling here is FUD, but it's warranted FUD, there are too many unknowns for what amounts to a buggy C#.

Oh please. Ignoring the fact that you appear to be confusing C# and the CLR here, do you actually have any concrete complaints about mcs, or is this just more unwarranted FUD?

Niten··on Google Cars Drive Themselves, in Traffic
And I suppose we'll have to get rid of bicycles and pedestrians, too, in this perfect world where intuition of human behavior is unnecessary to safely pilot a vehicle on the road?
Niten··on Google Cars Drive Themselves, in Traffic
This especially scares me as a cyclist. I'm sure they'll put a lot of effort into preventing automated cars from hitting other vehicles or slow-moving pedestrians. Now what about bicycles traveling around 20 mph in the right-hand side of the lane?

Many people seem to neglect or completely fail to understand the risk of increased perception of safety leading to an overall decreased safety in these systems. We can't have the best of both worlds – a machine's constant attention and reaction time coupled with a human driver's intuition – because the moment you give him an autopilot that he thinks will keep him out of trouble, the human sits back and stops paying attention to the road.

These automated systems may eventually become all-around better than any human driver, but it will be take many iterations to get there, and the first versions will certainly lack a human's ability to anticipate trouble before it arises. It will be a long while before an autopilot can say "hey, that car ahead is weaving unnervingly, the driver might be drunk so I should keep my distance" or "the cars ahead of me are curving slightly to the left, there might be a cyclist riding on the shoulder so I should slow down a bit and do likewise." And until we have that level of automation, I'm afraid our roads are about to become a lot more dangerous.

Niten··on Microsoft Buying Adobe?
For my part, I'm glad there are still companies like Microsoft, Apple, and Adobe "holding onto the desktop", selling me software that I can run on my own hardware, allowing me to keep my data to myself.
Niten··on MacRuby 0.7 is released
Me too :) http://news.ycombinator.com/item?id=1473897

Granted, Apple has a lot of engineering to do before they turn all these disparate parts into a coherent, battle-tested runtime on the order of .NET or the JVM. But it will be interesting to see how this evolves...

Niten··on MS Exchange “remote wipe” is a terrible, terrible bug
This is one of the reasons I use a third-party app (NitroDesk TouchDown) for reading Exchange mail on my Android phone. If someone hits "remote wipe" it'll only delete your Exchange data, the rest of your phone remains untouched.

http://groups.google.com/group/nitrodesk/browse_thread/threa...

The app doesn't have permission to wipe the entire phone even if it wanted to.

Niten··on Chrome's Flash integration results in 7x faster security update
> I am not aware of a win or a Linux (I mostly work on Linux) solution either.

I'm trying to say this without sounding snarky, but why the heck would you need this on an operating system that already gives you apt-get, pacman, yum, portmaster, or what have you?

As for Windows, apparently there's a WinSparkle now: http://winsparkle.org/

Also the WiX people have been working on something along these lines, but I don't know how mature that project is or if it's even still a project any more.

EDIT: Looks like Google's made a separate open-source project of its update framework, Omaha, which is apparently how Chrome gets its updates. So I guess you can get Chrome-style auto updates in your own applications now. Don't know if Google's nifty binary diff compression algorithm is included.

http://code.google.com/p/omaha/

Niten··on 75 Percent of Individuals Use Same Password for Social Networking and Email
Just throwing the solutions I've found onto the suggestion heap... I prefer to keep all my passwords in an encrypted flat text file, for one thing because I keep more than web site passwords in there, so web-specific password managers don't meet all my needs.

If you're an Emacs user, as of version 23 or so GNU Emacs can transparently read and write GnuPG-encrypted .txt.gpg (or .org.gpg, or...) files. Not that there aren't plenty other ways to save encrypted text, but it's nice to have something that's integrated into the program you spend half your time in anyway...

If you use Windows but not Emacs, Steganos LockNote is a free, minimalist program offering symmetric AES encryption — it's a standalone .exe containing both the program and your data, so you just double-click on the .exe "document" to open your encrypted file in a Notepad-like interface. I doubt it has been vetted to the extent that GnuPG has, but it's surely enough to keep your average laptop thief from getting all your passwords.

Niten··on How to Write an Operating System
There's no need for a new operating system if your criteria is just "inner workings I can understand". OpenBSD is very thoughtfully implemented, its documentation is top notch, it's open source, and yet it is a general purpose operating system that runs real world applications. It isn't a "mess"; in terms of its design, I think OpenBSD is about as clean as a real-life operating system can possibly be, so much so that my college operating systems professor even chose it over Minix for teaching the course.

I still think there's room for improving operating system security models, but I don't think it's possible to improve over OpenBSD in this particular dimension.

Niten··on How to Write an Operating System
There's definitely room for improvement over currently used server and desktop operating systems; the security models used by desktop Linux, OS X, Windows, and BSD don't meet the needs of users in a world of malicious software. iOS and Android were able to improve on the situation a good deal by adopting higher-level security models that protect applications (and their data) from one another, but the desktop lags behind.

As far as I know there's no technological reason the same couldn't be done with the server or desktop, it would just be an enormous shift in momentum to get there from where we are now. But if we're willing to stomach shifts in momentum, we could even go further and consider other, more radically different approaches to security than what's commonly used now, such as Microsoft's Singularity.

I don't know enough to say whether an operating system startup could be successful, but I think if it were, it would be less about basic operating systems research than about getting what research we already have into the hands of the masses on the desktop or the server. Presumably by targeting sectors where customers care enough about security to make the difficult switch to a fundamentally incompatible system.

Niten··on How to Write an Operating System
That's why I love the software industry. We have such a low financial barrier to if you want to play around with even the deepest systems programming techniques, or the highest-level functional programming languages. All you need is a $400 PC.
Niten··on Oracle v Google: Why? What does Oracle hope to gain?
> And after this, Ocaml and Erlang moved to the top of the stack, past Scala and Clojure.

If the prospect of using the JVM bothers you that much, then why not try Scala .NET or Clojure-CLR?

Niten··on The Oracle-Google Mess
Sometimes there just aren't two valid sides to a story.
Niten··on Programming is hard work. Google App Inventor can't change that.
App Inventor essentially fills the same niche as OS X's Automator: No, it doesn't make real programming easier. But there are plenty kinds of applications that honestly don't require what we'd consider real programming to implement, and this lowers the barrier to making them.

And it may even be a great gateway drug to real programming. App Inventor looks a lot like MIT's Scratch, which I used to teach some fifth graders simple programming constructs last school year. As much as they enjoyed that, I think they'd love using the same building-block type program construction to make something for their phones (yes, apparently fifth graders have smartphones these days).

> Like David says, it’s still programming even if you’re dragging around blocks rather than hammering out code.

Yes, but it's _easier_ programming (you don't have to both learn the semantics and remember exactly what syntax to use at the same time), which makes it a wonderful way to start.

Niten··on Oracle sues Google over use of Java in Android
Dalvik isn't a JVM, and Clojure won't run on it without modification.
Niten··on Oracle sues Google over use of Java in Android
Clojure will be fine, at least. I think I remember Rich saying it was explicitly designed as a multi-VM language in an interview somewhere. Anyway, he already has an official, apparently actively maintained port of Clojure to the .NET CLR:

http://github.com/richhickey/clojure-clr/

Now porting your Clojure applications between VMs may or may not be a reasonable proposition depending on what kind of non-Clojure pure Java libraries you depend upon, but the fate of the Clojure language is thankfully not tied to the fate of the Java runtime.

I think Scala has a .NET port too, but I don't know if it's active.

Niten··on Oracle Sues Google For Patent And Copyright Infringement
It's worse than that, it proves that short-term money drives Oracle. What kind of effect do they think this behavior will have on long-term Java vs. .NET/CLR platform adoption?
Niten··on Oracle Sues Google For Patent And Copyright Infringement
This would be like Microsoft suing the Mono team for its C# and CLI implementations, which it has irrevocably promised not to do:

http://www.microsoft.com/interop/cp/default.mspx

I was worried when Oracle acquired Sun, but I never thought I'd see them clamp down on Java to the extent that .NET is a significantly more open platform. But there it is.

Niten··on The Beauty of LaTeX
Another advantage of LaTeX over WYSIWIG alternatives is its simple plaintext representation. If we can still open any documents from our time period in 200 years, we'll be able to open that old LaTeX document of yours, because it's just ASCII (or Unicode in the case of XeLaTeX). And given the portability and simple requirements of the open source, exceptionally well documented TeX code base, it isn't far fetched to imagine someone could even run your documents through the actual LaTeX typesetter, if they really wanted to, 200 years or so from today.

Do you think anyone will still be able to open your documents in Adobe InDesign 200 years from now? This may not matter to everyone, but if it matters for your purposes, LaTeX has a clear advantage here.

EDIT: I'm not affiliated with the author of this article.

Niten··on In German Suburb, Life Goes On Without Cars (2009)
Riding somewhere on a bicycle can keep you cooler than if you were just standing or walking outside, provided you're riding at a leisurely pace on a bicycle designed for road use (and not some horrific retail store contraption with useless knobby tires). At say 14 mph on a road bike, you aren't doing enough work to heat up, yet you're moving fast enough to get a good breeze that keeps you cooler than if you were standing still.

When I'm just cycling through the town (rather than exercising), the only time I really feel the heat is when I'm stopped at a light.

Niten··on In German Suburb, Life Goes On Without Cars (2009)
I often bike to work, which for me is about 26 miles each direction. I take a shower right before I leave, and when I get there I just have to rinse down and change out of my cycling jersey. The theory behind the pre-ride shower is that body odor is caused by bacteria on your skin, and showering temporarily knocks out enough of your bacteria that it won't cause significant odor during your ride. (I'm not aware of actual science on this topic, but I've asked a trusted coworker whether I smell after riding into work, and he says I don't. So there's your anecdotal data point...) So for me the bike is extremely practical even living in an area that wasn't designed with bicycles in mind.

As for humidity, this is in south Florida—if we can manage it here, then we can handle the humidity pretty much anywhere in the US.

Now I'm not saying everyone can or should bike a 52-mile round trip to work. But the point of this article is that this little experimental suburb has 5,500 people within a single square mile; biking or walking is a perfectly reasonable way to traverse such a small area at nearly any level of fitness, especially when you don't have to worry about automotive traffic, and for the few people who can't manage that there's the public transport option. Even on our hottest days here in south Florida, one can easily bike a mile, fully dressed, without breaking a sweat.

Niten··on California's Prop 8 (gay marriage ban) ruled unconstitutional
> The practical purpose of marriage is to give protections to the woman who bears a greater liability in childbearing.

[citation needed]

Accepting that for the sake of argument — suppose I'm sterile, then. Or I just don't plan on having any kids. Do I still have a right to all the benefits that heterosexual couples obtain from legally recognized marriage? If so, then on what basis are those rights granted to me, but not to my gay neighbors next door? (I'm seriously curious whether you'll say no, sterile couples don't deserve those rights, or whether you'll just engage in more special pleading toward the prescribed end of denying marriage rights to gay couples.)

But back in reality, those of my friends who've gotten married already had many reasons for doing so, and "giving protections to the woman who bears a greater liability in childbearing" certainly wasn't at the top of their lists.

And dismissing discussion of crucial benefits such as the right to visit your husband or wife in the hospital as "appeals to emotion" is nothing short of absurd.

Niten··on California's Prop 8 (gay marriage ban) ruled unconstitutional
> Legal rights on the other hand are abstract meaning they can be equal if the law says they are.

But the law does not say they're equal, as has already been pointed out to you. And yes, pointing to civil unions — which embody a subset of the legal rights granted to legally married couples — as a justification for not granting full marriage rights to homosexual couples is a perfect demonstration of the fallacy of "separate but equal" institutions.

If civil unions really were a perfectly fine substitute for legally recognized marriage, do you think the civil rights movement would have been so up in arms about Proposition 8?

Niten··on California's Prop 8 (gay marriage ban) ruled unconstitutional
But enough of us do to make it relevant.
Niten··on Ask HN: I'm a Linux guy. Tell me about all those BSDs
> If more virtualized hosting providers offered BSDs (FreeBSD in particular) I would choose them over Ubuntu for servers.

In that case I might as well give a shout-out to my current VPS host, ARP Networks:

http://www.arpnetworks.com/vps

They virtualize using KVM rather than Xen, so you can run any variety of OpenBSD, FreeBSD, NetBSD, or Linux without worrying about Xen support in your guest OS. Their performance seems as good as any other VPS host I've used (Xen or otherwise), I think the price is pretty good, and I haven't had any downtime to speak of so far. So I recommend giving them a try if you're looking.

Niten··on Wait, So 20 Phones On 4 Carriers Outsold 1 Phone On 1 Carrier? Shocking.
Why do people always feel the need to point out that Android is supported by multiple manufacturers whenever the issue of Android vs. iPhone market share is mentioned, as though they think they've just dropped a bomb on the conversation? Is this just some bizarre way of standing up for Apple's honor?

> But comparing iPhone sales to Android sales is comparing an apple to a bushel of oranges.

No it isn't. The real story is mobile OS market share trends, and how that relates to third-party application development. From that perspective the underlying hardware manufacturers and cellular carriers are largely irrelevant.

However, this particular report doesn't take into account the iPhone 4 sales numbers, so take it with a grain of salt...

Niten··on Why isn't Haskell popular in industry?
I think the main issues are that lazy evaluation makes it more difficult to reason about the performance of your code, both in terms of what actually gets computed in which thread / on which core, and in terms of space requirements (lazy evaluation can force the runtime to keep things referenced longer than you might expect offhand). I'm not saying a good Haskell programmer can't overcome these obstacles, just that this is definitely a perceived barrier to commercial Haskell development.

Check out this paper for a discussion of these issues in a real world Haskell application:

http://www.starling-software.com/misc/icfp-2009-cjs.pdf

Niten··on Jacob Appelbaum detained at U.S. border, questioned about Wikileaks
Even to the extent that this is currently the norm, why is it OK?

Why should state officials ever be allowed to interrogate U.S. citizens' political opinions, regardless of whether those citizens happen to be standing in an airport?

It makes perfect sense that Customs be allowed to inspect physical items passengers bring through the airport, but what rationale says they should look through your computer files, especially in a post-Internet world? (I.e., there's no sense in claiming that you'll stop child pornography or other hot-topic illegal data entering the U.S. in an age where the Internet exists.)

← PreviousPage 11 of 15Next →