HNHacker News
TopNewBestAskShowJobs

harpastum

1,594 karma · joined November 4, 2008

Hi. I'm Sam Warmuth. I'm currently working as chief product officer for Healthvana (Healthvana.com)

sam at samwarmuth.com

submissionscomments
harpastum··on Retina MacBook Pro full of Air-style proprietary parts
I guess the question then is how many parts did you have to replace for each of those computers? Did repairs/upgradeability factor into the long lifetimes?
harpastum··on Why three prongs?
From my reading, the reason it was unacceptable was that since the wires were previously identical, the manufacturers attached an arbitrary wire to the case, so 50% of the time it wasn't the neutral one.

So, once we switched the polarized plugs, some of the appliances would always have a hot chassis; unless we made sure appliance-makers always attached neutral to the chassis.

harpastum··on Don't use Scatterplots
I think zacharyvoase's point was that it might either emphasize or deemphasize how much hotter or colder something was. Because the eye doesn't see blue->yellow->red hue changes consistently, what looks like a "big" change on the graph might actually be fairly small.
harpastum··on Dan Benjamin: Regarding The Talk Show
Any links for those comments from Mike and Gruber? I haven't seen them.
harpastum··on Pixel-fitting – how antialiasing can ruin your logos and icons
I see your point, but "retina" is just a simple stand-in for "pixels so dense individual pixels are no longer distinguishable". It doesn't seem like the author was saying 'just apple devices' -- it's simply a convenient way to reference that class of displays.

Once more displays come out with extremely high pixel density, we'll probably have an industry wide name for it.

harpastum··on Inverse Fizzbuzz
Yup. I updated my comment with working code. Just figure out the small case, and extrapolate once you find a match.
harpastum··on Inverse Fizzbuzz
I believe a constant solution exists, because Fizzbuzz repeats after 8 items. Still working on it...

<EDIT>

Yes, here's a constant solution: http://codepad.org/Id9eu0Ax

harpastum··on Inverse Fizzbuzz
TLDR: Here's a constant-time solution: http://codepad.org/Id9eu0Ax

Matching the the sequence of fizz/buzz/fizbuzz disregarding numbers is a repetitive case.

Start with

    3 Fizz
    5 Buzz
    6 Fizz
    9 Fizz
    10 Buzz
    12 Fizz
    15 FizzBuzz

    18 Fizz
    20 Buzz
    21 Fizz
    24 Fizz
    25 Buzz
    27 Fizz
    30 FizzBuzz
    
    [repeats]
Just split the input list as a prefix of a few, and then a repeat. The goal of the shortest total distance between them is constant. You just need to measure the number of ints between each of the 8 repeating distances.

For example:

     3 ->  Fizz
    +2 ->  Buzz
    +1 ->  Fizz
    +3 ->  Fizz
    +1 ->  Buzz
    +2 ->  Fizz
    +3 ->  FizzBuzz

    +3 ->  Fizz
    +2 ->  Buzz
    +1 ->  Fizz
    +3 ->  Fizz
    +1 ->  Buzz
    +2 ->  Fizz
    +3 ->  FizzBuzz

So you would match against the list [Fizz, Buzz, Fizz, Fizz, Buzz, Fizz, FizzBuzz].
harpastum··on Meetings.io - Simple, online meetings
This is actually pretty awesome. Is it completely P2P? How much server work does it take to keep up a conference?
harpastum··on Vector based UI design tool that generates ObjC
I just don't understand how they could possibly be five times larger. There are 4x as many pixels, so by straight pixel count it could be 4x larger.

However, current PNG compressors are really good at optimizing flat color areas, gradients, and lines. It seems to me like most images would get only a relatively small increase in size due to this upsizing (1.5x-2x).

harpastum··on Matt Cutts: One of the more fun gadgets I've been playing with lately…
By default, iPhones vibrate once for emails, twice for texts.

Through the accessibility settings, you can set completely custom vibrations for each of the contacts in your address book (e.g. you could make morse code of each of their names)

harpastum··on Tesla Model X Launch, Tonight 8pm PST
Is this a serious issue with current electric cars? I would assume there's something you can do with a heating mechanism or something for the batteries when they're in danger of getting really cold and losing their charge.
harpastum··on Lessons from Moneyball
I appreciate your sentiment, and I think 37signals does get more attention than they deserve on many occasions. However, the superior tone of your comment really rubs me the wrong way. Calling people who find value in something you don't doesn't immediately make them 'cultists'.
harpastum··on Dear business people, an iOS app actually takes a lot of work
Interface builder (and now storyboards) have allowed WYSIWYG iOS interface layouts since 2008. There are definitely more dependencies and interrelation between a native app vs web app, but there is definitely a high-quality layout engine that makes basic formatting tasks easy.
harpastum··on I'm Pirating the Next Version of Windows
Karunamon does a pretty good job describing it, but now that Wikipedia is back up, here's a section of the court's opinion ( http://en.wikipedia.org/wiki/Dowling_v._United_States_(1985) ):

The phonorecords in question were not "stolen, converted or taken by fraud" for purposes of [section] 2314. The section's language clearly contemplates a physical identity between the items unlawfully obtained and those eventually transported, and hence some prior physical taking of the subject goods. Since the statutorily defined property rights of a copyright holder have a character distinct from the possessory interest of the owner of simple "goods, wares, [or] merchandise," interference with copyright does not easily equate with theft, conversion, or fraud. The infringer of a copyright does not assume physical control over the copyright nor wholly deprive its owner of its use. Infringement implicates a more complex set of property interests than does run-of-the-mill theft, conversion, or fraud.

harpastum··on Why I Hate Android
Downloading apps/videos over 20MB on 3G isn't allowed, but you can browse the iTunes music store an buy songs (unless they're over 20MB, which is rare).

It seems to me like a sanity check. If a user accidentally downloaded a few 100MB files, they could easily get over their data cap. This restriction is not device wide, just on the iTunes App/Music store.

harpastum··on iPad Survives Fall From Edge of Space in Jaw-Dropping Video
Pretty awesome video, but it looks like they cheated a little bit by weighing the back of the device, so that it would land on its back rather than screen.

An iPad 2 weighs 1.33 lbs, and has ~0.5 sq. ft of surface area when flat, which according to this NASA applet [1] means its terminal velocity is 12.2 mph (17.8 ft/sec).

A drop at 12 miles per hour onto its back is probably not enough to destroy the iPad whether or not there is a case on it.

[1] http://www.grc.nasa.gov/WWW/k-12/airplane/termv.html

harpastum··on Marco Arment on the new Kindles
Both methods are indirect ways to make money off of the user, but affiliate links aren't really advertising. It's reasonable to include links to the products he's talking about, and it doesn't hurt the user experience of going to amazon.com.

If you buy an ad-supported kindle, you'll see ads every time you put it to sleep. If you click an affiliate link (vs a standard link to the product), there is no difference in content at all.

harpastum··on Show HN: Chat in a virtual world - Node Knockout entry
Sorta similar to an experiment I made a while ago [1]. I do think there's something to spatially-oriented chat, but it doesn't seem to get much traction

[1] http://openforum.samwarmuth.com/n/newmap -- You're a dot. Move using the arrow keys, type+enter to talk. You can click on stuff to build walls. (N.B. doesn't work on firefox)

harpastum··on Ask HN: Should we agree that this account will submit all Who is Hiring posts?
I don't think that has much to do with using a separate, automated account to make the posts.

If weekends turn out to be an issue, the person running the posting script can just edit the post date (e.g. set it to "the first monday of the month") or whatever.

harpastum··on Code School is Amazing
"The winning formula is screencasts + code challenges + gamification."

This is also the formula the Khan Academy is using. I think they're both on to something pretty huge.

harpastum··on What is the single most influential book every programmer should read?
If you like Snow Crash, I definitely recommend checking out Daemon (and its sequel FreedomTM) by Daniel Suarez. Just found them recently, and they're fantastic.
harpastum··on Ask HN: I just thought of a startup, got funding and now I am stuck...
Not that I've ever heard of.

From my experience, your best bet is to find someone you trust that is a great programmer (even if they can't work for you), and have them vet candidates for you. The truth of the matter is that there is an amazing lack of correlation between people who seem (to non-techs) to know what they're talking about, and people who actually know what's going on.

harpastum··on Ask HN: Review my webapp experiment — Open Forum
That's one of the things I've been thinking about.

Maybe a speed dating layout, where people can travel from person to person?

harpastum··on Ask HN: Review my webapp experiment — Open Forum
Clickable: http://openforum.samwarmuth.com/n/tutorial

Note: Firefox DOES NOT work. I'm sorry if this prevents anyone from testing, but there are some FF bugs I haven't been able to clear up.

harpastum··on Git in layman's terms: isomorphic contours in source-code phase space
This reminds me a lot of turbo/retroencabulator [1]. After you've watched the video (don't go first or it will spoil it), you can check out the wikipedia article.[2]

[1] http://www.youtube.com/watch?v=RXJKdh1KZ0w

[2] http://en.wikipedia.org/wiki/Turboencabulator

harpastum··on A persistent multiplayer online programming game
The site appears to be down. Does anyone have a cache/description?
harpastum··on Anonymous stops dropping DDoS bombs, starts dropping science
I believe fredoliveira was calling scientology a cult, not Anonymous.
harpastum··on JavaScript is the most popular language on GitHub
Exactly. The code that I've written for my most recent Sinatra app is almost entirely ruby, but since I include jQuery & jQuery UI in the repo (for easier offline development), it's 91% JS and 9% ruby[1].

[1] https://github.com/SamWarmuth/ClassAxis/graphs/languages

harpastum··on The Great Cyberheist
It seems odd to me that both 'can barely write simple code' and 'it is hard, if not impossible...[for Gonzalez] to conceptualize human growth, development and evolution, other than in the language of building a machine' are applied to the same person.

It seems that Gonzalez is not actually a talented cracker at all — he just found relationships with people that did. In that way, he's more of a standard crime lord than a hacker (using the NYT's definition of hacker).

← PreviousPage 4 of 12Next →