HNHacker News
TopNewBestAskShowJobs

johnthedebs

1,656 karma · joined October 9, 2009

Software engineer & gardener, among other things

johnthedebs@gmail.com

submissionscomments
johnthedebs··on YCNYC: A lost opportunity
Having gone the other night, I understand what the author is saying and agree with a lot of it.

That said, one of main points of the keynote was that chance meetings are what make places like NYC and the valley so conducive to startups. The loose structure really lent itself well to socializing, and so this was the perfect event for those chance meetings.

I personally got a lot out of it, and would love seeing more meetups like this.

johnthedebs··on Why do HN commenters have so much Facebook Connect angst?
As seabee said, "'What do you have to hide' is the most naive and/or disingenuous rebuttal ever seen in a privacy discussion."

But to respond to your first point, I consider reasonable privacy to mean, very simply, that I understand the consequences of whatever action I take (because they are made up front and clear) and that I have choices in controlling the flow of my personal information (because options are available).

Whether I choose to be in the "small paranoid minority" is my own decision and I should have the freedom to make it.

johnthedebs··on Why do HN commenters have so much Facebook Connect angst?
These concerns aren't real...any privacy you have left is an illusion of privacy, not actual privacy.

This is Wrong. Our privacy is only actually gone when we consciously decide to give it away, or throw our hands up and say "oh well, there's nothing we can do".

Facebook Connect isn't bad in and of itself, and neither is central authentication. But a lot of people understandably don't trust Facebook to manage their identity for them and would prefer to manage it themselves.

It's still perfectly possible to maintain reasonable privacy on the web, and any site or product that doesn't at least give me the option of doing so isn't a site or product I'm interested in using.

johnthedebs··on Show HN: textlaundry.com
You made your point in the first two lines; I think your comment would be much better without the last two.
johnthedebs··on Pyrasite - Inject code into a running Python process
This looks like a great little trick, but I can't get it to work on OS X Lion. Has anyone else on Lion gotten this to work?

I've got Xcode 4.1 installed with dev tools, and it seems like the version of gdb provided doesn't support the -eval-command flag which breaks the script.

I'm wondering if someone else can confirm this problem, and whether there is an easy way to to install a supported version of gdb.

johnthedebs··on Krugman on BitCoin
The problem isn't the psychological effects of needing to constantly lower prices – this happens all the time in the tech industry, and everyone in that industry is doing just fine psychologically.

Rather, it has to do with the fact that constantly down-shifting prices cause people not to buy nearly as often as they would if prices were stable or slightly inflationary. As a result of that, the economy slows down (sometimes dramatically).

johnthedebs··on [dead]
Yup. This image (from Apple's marketing material) makes me optimistic: https://ssl.apple.com/displays/images/overview_hero2.jpg
johnthedebs··on [dead]
why else would these blatant multi-monitor issues exist if not to intentionally hurt me?

I'm using Lion with multiple monitors, too, and have been annoyed by this. But the company that sells https://www.apple.com/displays/ definitely didn't do this to intentionally hurt users with multiple monitors.

My assumption is that, because of the dramatic changes to the desktop workflow in Lion, they needed to cut some features to meet summer deadline. Since relatively few users need multiple monitors, that's one area where they skimped.

We'll probably see some sanity restored in a minor update to the OS.

johnthedebs··on Observing demos hurts learning, and confusion is a sign of understanding
There's some really interesting data here, but I think one of the main conclusions they draw is wrong:

Confused students are far more likely to actually understand.

Looking at correct vs incorrect answers (almost 50/50 for 'confused' students), it seems like confused students are far more likely to guess.

Edit: I realize after posting this that it's important to know the test format to figure out whether students understood or were guessing. The article unfortunately doesn't say much about the test format.

johnthedebs··on [dead]
But I would never post a Balko story here, because they're just not appropriate for HN.

Flagged.

I don't understand why this wouldn't be appropriate for HN. Could you explain what you mean?

johnthedebs··on Exposed: Facebook’s Secret iPhone Photo Sharing App (Which Looks Amazing)
I'm pretty sure that's exactly what they do. Haven't used it in a while, but IIRC it's a java applet and is one of the clunkiest parts of the site for that reason.
johnthedebs··on How we got the unusual symbol used for the Mac menu command key
Small technicality: It isn't your KVM that's doing the mapping, but the OS that's interpreting the key this way. I believe the keyboards send the same signal.
johnthedebs··on Apple Announces New iMac With Quad-Core Processors & Thunderbolt I/O
That's not true.

To upgrade the memory in an iMac there's 1 screw in the way.

To upgrade the memory or hard drive in a MacBook, there are 10 or so screws, but as long as you don't damage your device in the process it remains under warranty.

People like to make Apple out to be draconian about this stuff, but let's at least do basic fact-checking.

johnthedebs··on Vico Editor (Mac text editor)
This app looks great, and for those looking to dip their toes into vi-style editing this may be the best starting point.

As someone who's already gone up the Vim learning curve, though, I'd like a way to use all the customizations I've already collected. There doesn't seem to be a way to accomplish this now, but I'll be keeping an eye on it.

johnthedebs··on [dead]
You're right. I saw a headline on AppleInsider's RSS feed that quickly got pulled, so I went to apple.com to check and thought it was new because it's still labeled "new" all over the place.

Sure enough, according to http://en.wikipedia.org/wiki/Final_Cut_Studio this was released in 2009. My mistake.

johnthedebs··on Creepy iPhone bug: front facing camera takes pictures by itself.
I haven't developed on iOS but I remember reading someplace that when an app is loading it can display an image of what it looked like when the user most recently left it, in order to give the appearance of loading more quickly. I think it was one of Marco Arment's blog posts, but his site isn't available right now.

Anyway I also don't have an iPhone 4, but FaceTime for OS X shows the camera view whenever it's on so that you can see yourself whenever starting a call. I imagine FaceTime for iOS does something similar.

If you combine those two things, you get one possible explanation for what's going on. One that's pretty benign, but should probably still be avoided because it obviously spooks users. Oh, and it should probably be at the API level so that the last thing an app saves is never camera data.

johnthedebs··on Xcode 4 released
Same thing crossed my mind, then I remembered that I wouldn't really be getting much from the 3->4 upgrade since I don't use Xcode itself.

I'm guessing they'll something similar to what they typically do with iLife (and, more recently, FaceTime): Charge existing customers for upgrades, but offer it for free with new (operating?) systems.

Regardless, Xcode 3 is still available as a free download.

johnthedebs··on Motorola Xoom a huge disappointment
I think they know that a lot of people will buy something based on specs alone. Many people will look at the numbers and believe they're getting something great, without realizing that the experience will be pretty lousy.

I'm certain the Android tablets will get better quickly, as the phones seem to be, but it obviously just isn't there yet. At this point it seems like Motorola wanted to capitalize on all the uninformed consumers, and those who don't want to buy an Apple product.

johnthedebs··on Designers, how do we get you guys to contribute to open source projects?
I think the root issue preventing more designers from working on open source projects is that, unlike development, design doesn't improve when the work is distributed.

Development is modular – pieces can be added, removed, or changed out for other pieces. Several developers can work on the same project at the same time and not step on each others' toes (esp. thanks to modern version control). This works great with the open source model.

Design, on the other hand, benefits from being unified and consistent. The best-designed projects have one designer, or a small group of designers working together closely. This doesn't work well with open source at all.

This becomes pretty obvious when you compare Mac systems to Linux systems.

Until this issue is resolved (by, eg, open source projects bringing on dedicated designers) the symptoms are unlikely to go away.

johnthedebs··on Obscurity: Does Changing Your SSH Port Lower Your Risk?
There would be fewer hits on the port sure, but it wouldn't really raise the bar to getting in, which is the point he was trying to make.

Obviously, not all 18,000 of those attempts were going to succeed. Finding the port is the easy part.

johnthedebs··on Why Can’t Tablet Makers Just Freaking Ship?
Building and maintaining factories is really expensive, and a major distraction (they need to be continually updated to stay relevant). It's only worthwhile if you can guarantee you'll sell most/all of the factories' production potentials. AMD recently spun off its fabrication side for just this reason.
johnthedebs··on ZFS for Mac OS X Breaths New Life
I'm admittedly not an expert, but isn't that a very different scenario?

In other words, ZFS operates on blocks at a block level - it can't make any assumptions about the contents other than "this block is the same as this block" or "this block is not the same as this block." It can't (based on my understanding) realize that "this block is almost the same as this block" and shift things accordingly, because then it would be messing with application data that might be corrupted by the changes.

If the application is making those shifts on the other hand, it would work just fine because the application could be smart enough to shuffle and unshuffle things in the most efficient way it knows how, but the file system doesn't have the luxury.

If I'm still missing something, please let me know. Anyway, it'd be pretty straightforward to properly test this so maybe I'll do that.

johnthedebs··on ZFS for Mac OS X Breaths New Life
The reason deduplication won't help much with large mail archives is that it operates at the block level. In order to be effective, you need to have two copies of the same data that are also divided along the same block boundaries (the second part is arguably the bigger problem).

Also, many applications will already try avoiding duplicate data to varying degrees which makes dedup even less beneficial (backup utilities, VCSes, etc).

If you are dealing with a lot of text, though (like in a mail archive, or with lots of source code) compression really shines. It has way less memory overhead, pretty low CPU overhead, and it can significantly increase disk throughput.

You'll notice I was careful to say "under many common workloads" in my other post, it was because of all this. For most people, most of the time, there would just be no real benefit and a decent performance hit with dedup.

Edit: to clarify

johnthedebs··on ZFS for Mac OS X Breaths New Life
Without encryption, compression, or deduplication on I don't think there would be very much overheard - more than traditional file systems, definitely, but still relatively very little.

Encryption would require significantly more CPU (http://forums.freebsd.org/showthread.php?t=9886)

Compression would require moderately more CPU (depends heavily on the compression algorithm) though you can actually speed up disk access with this - which is the real bottleneck (http://blogs.sun.com/observatory/entry/zfs_compression_a_win...)

Deduplication requires lots of memory (I think I saw 1-2GB per TB of data quoted someplace) and will increase CPU load a bit, but for certain workloads can save a lot of writing and diskspace (think Virtual Images or a dataset like Dropbox's).

I'm not involved in ZFS development (just an avid user) so take this with a grain of salt.

johnthedebs··on ZFS for Mac OS X Breaths New Life
I recently got Time Machine working on a network drive that was ZFS underneath (deduplication turned on) and it didn't make a very big difference.

Deduplication would be nice, but I think it won't show a lot of benefit under many common workloads. Also, it can use up a ton of memory for larger drives (it would be a huge boon for SSDs, though).

johnthedebs··on ZFS for Mac OS X Breaths New Life
Apple won't be broadly shipping ZFS, which they made pretty clear when they pulled it from Snow Leopard.

They haven't made an official statement, but the general consensus is that they couldn't agree on licensing terms with Sun (ZFS is licensed under the CDDL) and so they bailed on it. Oh how I wish they had worked things out.

That said, Oracle is also unlikely to do them any favors.

johnthedebs··on VirtualBox 4.0 released (link to changelog)
It's great to see VirtualBox being actively developed, even after Oracle took over control from Sun. This is a fantastic piece of software.
johnthedebs··on No ifs…alternatives to statement branching in JavaScript
It's worth noting that these techniques also work in other languages - I've been doing this more and more often in the Python code I write.

If you aren't used to it, it looks a bit unusual (of course) but it makes for much cleaner, and therefore more maintainable, code.

johnthedebs··on Chromium Blog: A New Crankshaft for V8
I think the point of these optimizations is that they allow javascript-intensive applications to be developed that would otherwise have just been too slow.

In other words, they're paving the way for the future more so than trying to squeeze every last ounce of speed from current applications (which just happens to be a great side effect of their work).

johnthedebs··on Downtime
Great explanation. As someone who doesn't use Tumblr, this clarified a lot. Thanks!
← PreviousPage 5 of 7Next →