HNHacker News
TopNewBestAskShowJobs

iam

206 karma · joined January 15, 2011

submissionscomments
iam··on Reading local files in JavaScript (HTML5)
Any way to request access to a folder to read all the local files in it?
iam··on Cinder: open-source creative C++
I was really excited, then I noticed there's no Linux support.
iam··on WebGL Twitter wall - nouvelle vague
That was cool, but couldn't figure out how to move around other than tilt even after reading all the controls explanation.
iam··on Elements of Modern C++ Style
Wow that's interesting. Never realized lambdas capture "this" and not the actual data members itself!

That also means you can get in big trouble if the object that got captured was deleted, ouch.

iam··on On Stack Overflow's recent battles with the .NET Garbage Collector
If they used an array of structs they would've cut down on the GC's graph traversal significantly.

Another option I was surprised they didn't mention was to run GC.Collect periodically to clear out gen2.

iam··on Robert Scoble's Galaxy S II vs iPhone 4S camera test
That's usually up to the phone or camera manufacturer to tune, almost nobody uses the built-in compensation except for prototypes.
iam··on Google Killing Off Buzz and Code Search
Great. Now what are we supposed to use to search code? I can't think of any alternatives.
iam··on Samsung counters iPhone 4S with Galaxy S II comparison chart
But why do they keep putting in a smaller 800x480 resolution screen?
iam··on Amazon Silk web browser adds new twist to old idea
I'd like to see some evidence that transmitting ARM binary code of JS is faster than transmitting the original JS and then JITting it to ARM. The binary alone will be a magnitude larger at least than the original source.
iam··on Amazon Unveils $199 Kindle Fire Tablet
Really, really cool. I hope they extend Silk to all their products.
iam··on Amazon Unveils $199 Kindle Fire Tablet
Great, now we can buy the cheaper version, jailbreak it, and remove ads. Brilliant!
iam··on Firefox 7 Live: Download Here
Tab groups would've been much better if they showed all the tabs across all windows (like Expose on Mac does for windows). Unfortunately it's just a gimmick in its current implementation.
iam··on Show HN: Write a sort, watch it go
That's pretty cool. Is that related to this? http://arxiv.org/abs/cs/0408040
iam··on GTK+ 3.2 released - allows rendering applications in HTML5-capable web browsers
That's pretty cool and could be very useful, how is the performance if it's done over the internet as opposed to locally?
iam··on Twitter Trends Beat Analysts In Predicting Wall Street
This reminds me of the movie Limitless, where the protagonist devised computer algorithms that would scan forums and other social media sites to get people's sentiments of what would happen to the stock, then successfully made 40x+ returns within months.
iam··on Distributed Systems with ZeroMQ and gevent
Is there by any chance any use cases of why would someone use one concurrency model (e.g. ZeroMQ) over another (gevent)?
iam··on Why Silverlight was rigged to fail and my time leading it
Great story, it really highlights the lack of strategical thought in a product, and how the non-engineering "decision making" teams can just spin their heads around not getting anything real accomplished.
iam··on C++98 Support Costs Extra (or why we should switch to C++11 now)
That may be so (and I'm not an Apple insider, although I do know a few LLVM devs). I guess you could say a driving motivator to find an alternative solution to GCC was to not be reliant on a GPLv3 license. Traditionally I don't think the license has stopped Apple from contributing a lot back to the OSS community (just look at WebKit).

Besides, a compiler is just a compiler. Maybe someday down the road they will start producing their own ISA, but until then even if they're making their own ARM chips it's really hard to get it to do special Mac/iPad-only magic.

What I do know is that Clang was funded by Apple almost from the start, it was engineered right from the start to be more than just a compiler but something you could plug into the IDE as well (as the latest XCode demonstrates, it has completely unbeatable C insight).

LLVM itself is also far more extensible than GCC, just look at the slew of new-ish (last 3-4 years) of projects that have launched using LLVM. Have you heard of any such projects being launched with GCC? I can't think of any (maybe if they did, they weren't proud of it).

iam··on C++98 Support Costs Extra (or why we should switch to C++11 now)
I want to completely agree with this guy, I really do. But Visual Studio 2010 supported more of C++11 then most other major compilers (except I think for Comeau and GCC) when it was released.

Apple didn't choose Clang over GCC for political reasons, a lot of Clang devs are actually on the Apple payroll.. and Clang is just a far superior compiler to GCC architecture-wise -- it just needs a few more years to catch up to full C++11 support.

The fact of the matter is that unless you're starting a new project you're probably tied to your old version of the compiler, to upgrade to something newer would require weeks of updating the toolchain.

iam··on Running a startup on Haskell
That is great. In my school we only had a class with Ocaml, not quite as mind blowing since it didn't have lazy evaluation, monads, type classes, or any of the other crazy distinctive things in Haskell that don't exist in ML-style languages.

Hopefully they cover the theory behind Haskell as much as the practical side of it.

iam··on Running a startup on Haskell
Very cool, I didn't realize there was a generic version of Pex (the unit test generator for C#). Now if only I could figure out some way to unit test drivers...
iam··on Running a startup on Haskell
C# lets you make very powerful UIs with very little work (thanks to WPF) which most importantly feel quite native. WPF is also the only widespread framework that I know of that lets you have pretty much any kind of control inside another control (well, other than HTML that is -- the problem with HTML is that you lose the native feeling).

That being said Mono supports System.Windows.Forms (the poor predater to WPF) so there's always that. Or they can code against the (now dying?) Silverlight which actually works on Linux ala Moonlight.

But really, the best user experience is the one that feels the most native. So on Mac that would mean building a Cocoa client, on Windows WPF, on Linux Gtk/Qt (but then again who actually pays for Linux apps?)

Going with a one tech that supports it all just has a higher probability of having something that supports everything poorly, instead of something that supports one thing very well.

iam··on SSL broken. (TLS 1.0 cryptographic attack that works. Not just fake certs.)
How exactly would you sniff traffic between an encrypted site and the browser, without running JS in that encrypted site, or without exploiting the browser (in which case you already won and don't need need to break SSL)? Is this some sort of man-in-the-middle hybrid that uses JS as an attack vector?
iam··on Crit-bit Trees: the best way to store sets
Yeah, I gotta say, I knew exactly how it worked the moment I looked at the radix tree picture on wikipedia. After reading more than half the linked article though I still had very little understanding of what it really did.
iam··on My Family’s Experiment in Extreme Schooling
I had a similar experience (I was 9). The difference is that in the U.S. public system you get placed in "ESL" (English as a Second Language) program which dumbs down the entire curriculum, especially English, and tries to hand hold all the students through it.

Plus American education is in general less rigorous than the equivalent-year Russian education, and seeing as how kids in Russia learn some English in school, it's a much easier transition from Russia to U.S. than vice versa.

The struggle then is purely a social one, kids in the U.S. don't have a belief of camaraderie, whereas in Russia a classmate would rarely get someone else in trouble casually, this happened routinely in U.S. schools. Plus of course, insert all the usual teasing about not understanding or knowing the language, being a communist/capitalist, etc.

iam··on Will It Optimize?
Thankfully since then the HotSpot JVM has become one of the most advanced VMs in terms of JIT optimization, doing things that are so wild and crazy that other JITs can only dream of.
iam··on The Genie language
Like python syntax, except it compiles to GObject-using C. Reminds me a lot of Boo for .NET

Don't like the arg:type syntax, too used to python's : symbol meaning begin new block. Maybe it got that from functional languages that use arg:type?

The real problem is that nobody will be using this, since there's no libraries for it (can't even use GObject C libraries because not everything is available at runtime, e.g. you can't tell what non-virtual member functions an object has available). It compiles to C and supports plain pointers, plain function calls, so why not have a feature that scans C headers and automatically generates bindings out of it?

I see absolutely no reason to use this over Vala, which has far more language features and has the same "compiles to C and doesn't have VM bloat" advantage.

iam··on Microsoft has Abandoned Silverlight and All Other Plugins
Even if Metro does not allow Silverlight plugins, it is still using WinRT, which is using XAML UIs and more importantly developers can use C# to write apps against it. So the knowledge isn't entirely lost, it's just transferred.
iam··on The Tiger-Resistant Laptop
Surviving getting shot and stood on by an elephant? Quite impressive.
iam··on The Problem of Vsync
I'm surprised that there's not some kind of real time-ish callback when the screen is about to update, giving the game a last chance to update its buffer?

Or better yet there should be a way of saying "use this buffer next time you update the screen" (and don't block during vblank time).

← PreviousPage 2 of 5Next →