HNHacker News
TopNewBestAskShowJobs

jonshea

277 karma · joined February 21, 2007

https://jonshea.com/ https://twitter.com/jonshea
submissionscomments
jonshea··on The ethics of the organ trade: do two wrongs make a right?
The title of Mankiw’s post is “Do two rights make a wrong?”, not “do two wrongs make a right” as in the HN title. Mankiw argues that it is noble and “right” to voluntarily give someone a kidney. Likewise it’s noble and “right” to voluntarily give someone money to help them pay their mortgage.
jonshea··on Marginal income tax rates for a single California resident (2007)
See also the Bradley X Tax, which is a value-added tax melded with an income tax. The income tax can be as progressive as you like, and the VAT is equivalent to a flat sales tax.

http://en.wikipedia.org/wiki/X_tax http://www.princeton.edu/~ceps/workingpapers/93bradford.pdf

jonshea··on Alleged Assassins Caught on Dubai Surveillance Tape
I love that there was a guy whose whole job was to show up at the hotel, pay for the room across the hall from the target, hand off the key, and then immediately leave the country.
jonshea··on They Killed My Lawyer
See also The Economist podcast interview with Bill Browder. http://audiovideo.economist.com/?fr_story=839854a8c031305662...
jonshea··on Ask HN: What's in your .emacs file?
http://github.com/jonshea/config-files/blob/master/.emacs
jonshea··on Impossible Bottles
The bottle with the corkscrew on the inside is my favorite. My best guess is that the corkscrew handle, without the screw, was hung inside by threads. The cork-with-screw was then pressed into place, probably with some glue on the end of the screw. The handle could then be pulled onto the screw with the threads, and the threads pulled out of the bottle.
jonshea··on A $5 App That Justifies Your iPhone Purchase: Instapaper
I do the same thing, but I use Safari which can only restore tabs from the single most previous session. At some point my browser will crash, and then will crash again before I’ve restored the previous session. And then my reading black log will be cleared. I can’t decide if this is a bug or a feature.

I use instapaper for articles I really want to read. The tilt to scroll is amazing. It might be my favorite way to read.

jonshea··on Correcting for the first-player advantage in Risk
I played risk online at warfish.net for a while until I felt like I had maxed out the strategy to within the noise level. It isn’t obvious to me that there is a first mover advantage. In our games the initial territories were randomly distributed, and I always felt that whoever got the “most closely clustered” territories had a tremendous advantage.

The best advice I’ve ever heard for competitive Risk is “play the other players, not the continents”. You want to try to create situations such that you are the least desirable player to attack. In general, this means turtling. Occupy a few territories that are close to each other with about 5 armies on each, and put as many armies as you can on one territory that is adjacent to enemies. Don’t take a whole continent because people will try to crack it so you don’t get the bonus armies. Try to get your armies off of continents that it looks like people will fight for. Try to get a card every turn, and hold them as long as you can.

You stop turtling when and only when you can eliminate a player in one move and get a bunch of cards from them. You will usually do this by trading in a set of cards, putting all of the armies on your big territory, and marching it all over the place. You will almost always succeed if you have about 0.75n + 1.0t armies to push with, where n is the number of armies you will need to kill, and t is the number of new territories you will need to occupy.

(Corollary, if you’re weak then try to use all your cards so that you’re not a valuable target.)

Eliminating a player who has 5 cards almost assures that you will win the game.

After a player or two has been eliminated the game will transition to one where the players try to hold continents to collect bonus armies. If the players are fairly competent then the winner will mostly be decided by how lucky people are with collecting cards. The yield from trading in a set of cards starts to dwarf the armies collected from holding territories. Almost as important, the new armies can be place freely.

I have never seen Asia successfully held for even a single turn.

(Regarding the first alleged first-mover advantage: obviously it can’t be disadvantageous to move first. If it were, then the first player would take no action so as to avoid the disadvantage. By induction, if it was disadvantageous to go first then the game would never advance past the initial state.)

jonshea··on So Dan Lyons Called
You could be right. Maybe Lyons get together every Thursday at a bar and rib each other over who had the harsher blog post while they sip on Deus Brut Des Flandres. Maybe they have pet names for each other’s kids, and give them noogies at get-togethers.

Maybe it is all fun and games, but they don’t write about that stuff on their blogs so it’s impossible to tell. From my point of view Gruber’s reply doesn’t read as friendly or jocular. Lyons calls Gruber a egotistical, obnoxious fanboy and jokes that Apple hatched a wide-reaching conspiracy just to trick him into a journalistic mistake. Fair enough.

Gruber “jokes” that Lyons writes limp, insincere, watered-down articles for a failing magazine. Maybe Gruber misjudged his tone, but ouch. I’d be hurt if Gruber wrote that about me. I’d be hurt if a _friend_ wrote that about me.

jonshea··on So Dan Lyons Called
Gruber’s reply was unbecoming and mean-spirited. Gruber routinely awards people the title “Jackass of the Week” for having opinions he disagrees with or for making erroneous predictions. When he himself whiffed hard on his Google Voice post he had to know that some ribbing and criticism was headed his way. He should have been prepared to handle it graciously.

Capitalizing on Gruber’s mistake, John Lyons writes a post that primarily ridicules _Apple_ for its obsession with secrecy and for its contemptuous relationship with the media. Yes, he does make fun of Gruber, but it’s from the point of view of Fake Steve. Lyons himself isn’t saying Gruber is a “dipshit”, he’s saying that he bets that’s how Steve Jobs thinks of him.

In return, Gruber seems to really scrape the barrel to find ammunition for a purely ad hominem attack, ridiculing Lyons’ day job and implying that his writing is disingenuous. I takes a serious lack of perspective to call the creator of Fake Steve Jobs a tool of old media.

jonshea··on King of the Apple geeks: Gruber as one-man media company
$125,000 in annual revenue is way low.

The Daring Fireball feed sponsorship costs $2,500 for _one week_. That’s $130,000 a year right there.

http://daringfireball.net/feeds/sponsors/

The Deck pulls in $180,000 a month with 45 affiliated content sources. So if the profits are divided equally, or if Gruber earns the average revenue, then that’s $4000 a month. Some of the affiliate blogs hardly ever produce content and other blogs hide the ad at the bottom of the page, so I doubt that they divide revenue equally between them. I’d be very surprised if Daring Fireball didn’t pull down at least 3 times the Deck average. Call it $150,000.

http://decknetwork.net/

That would put us at $280,000 per year even before T-Shirt sales.

jonshea··on C: A Technological Landmine
Common Lisp, {,S,O?CA}ML, and even C# also make the list.
jonshea··on C: A Technological Landmine
You and I must use different definitions for “side effects or stuff hidden from view” if you think those are things you avoid by programming in C.
jonshea··on C: A Technological Landmine
I’m pretty sure he’d point to Haskell as the best example.
jonshea··on C: A Technological Landmine
Michael taught both the SICP and the Software Design and Implementation classes at an ivy league school for several years. I’m fairly certain that he knows what he’s talking about.

I’ll admit that the post was a little ranty. It was quickly reworked from an internal email conversation, and it’s not intended to be a taken as if it came from a conference proceeding.

With that in mind, do you deny that C/C++ “sacrifice correctness, safety, robustness, testability, and maintainability in favor of… ‘performance’”?

jonshea··on Chroma-Hash: a sexy, non-reversible, live visualization of password field input
It seems risky even if an attacker only had access to the final password hash, and not to the hash for every intermediate substring. In this ca the hacker could dictionary attack the hash while bypassing server side limits on failed password attempts.
jonshea··on 60 million stung in social networking rip-off
Maybe you don’t hate spam as much as I do, but I’ll root for the state attorney general.
jonshea··on Can your programming language do this?
While I see where you’re coming from as an application programming, people who do primarily scientific programming ∑ is much more intuitive than 'sum'. When I was doing scientific programming I would have killed for unicode source support. There isn’t always an obvious way to transform a math variable into ASCII. Consider,β for example, which can mean “the ratio of the thermal energy density to the magnetic energy density of a plasma”. In conversation people generally pronounce that as just “beta”. You could spell “beta” out in code, of course, but what if you have a β sub σ and a β sub s to juggle? And what if you have a prime or a superscript on those variables too?

The hairier equations can juggle several similar variables and carry on for several lines of code. It isn’t always obvious how to break them apart into smaller functions like you would in a normal application. Using income literals instead of spelling variables out can save a lot of space. More importantly, it makes the code look more like the source material, which makes mistakes much easier to spot.

jonshea··on Ask HN: Thoughts on performance-enhancing drugs?
When it comes to sports I always say that I’d rather have exciting sports than fair sports, and I’d rather have fair sports than clean sports. I’m a fan of pro-cycling, so doping news is in my life a lot. My favorite comments on intelligence doping come from the Becker-Posner blog:

http://www.becker-posner-blog.com/archives/2008/03/intellige... http://www.becker-posner-blog.com/archives/2008/03/comment_o...

I especially like Posner’s closing paragraph:

Of course the naturally gifted will object to any "artificial" enhancements that enable others to compete with them. But it is not obvious why their objections should be given weight from a public policy standpoint. It is not as if allowing such enhancements would be likely to discourage the naturally gifted from developing and using their gifts (it might have the opposite effect, by creating greater competition for them), let alone discouraging bright people from seeking out other people to marry and produce children by.

jonshea··on How North Korea Survives
This article is extremely thin. The only source in the whole thing is an anonymous “former U.S. diplomat in East Asia”. Why couldn’t he go on the record in his claim that North Korea doesn’t counterfeit, or in his claim that North Korea makes money on the stock market? Anonymous sources are the worst. The have little motivation to tell the truth, and even if they do there’s no way to make sure the author represents them accurately.

The article also discusses North Korea’s gold reserves and access to the stock market. While these might be means by which North Korea has access to markets and currency, it’s hard to believe they’re a major source of income. Does North Korea have financial geniuses they’ve somehow groomed, through Communist schooling, to compete on Wall Street and win?

The only serious income sources that this article mentions are mining and manufacturing, but there are no numbers on either. Mining seems like it would be easy to track (it’s unlikely that North Korea is trading steel on some kind of black market), but there’s no indication the author contacted any experts on the subject.

jonshea··on Ask HN: Do you write comments, and then not submit them?
I probably write and delete (or abandon) two posts for every one that I actually public. Blogs I post on are thick with unpublished drafts. Usually I abandon posts because I’m not pleased with the writing. I also abandon posts because I feel I can’t make my point clearly or rigorously enough to justify asking other people to read it.

I don’t like writing. For me, writing is always ‘homework’, even when I like what I’m writing about. That might be why I find it so easy to walk away from things that I’ve written.

In contrast, I love arguing or explaining things in person.

jonshea··on Sid Meier's Rules
I hate these “Sid Meier’s Rules” articles, because I love Covert Action. It was like Carmen Sandiego, but with awesome action games and puzzles instead of geography trivia. I’ll admit that I had a little trouble staying focused on the big picture when I was in 7th grade, but at the easier difficulties it didn’t really matter. You always got fed a clue that would lead you in the right direction.

When I play it now, as a grownup, I don’t have any trouble swapping between the action parts and the big picture parts.

jonshea··on Ask HN: using only static magnetism - impossible to stably levitate against gravity?
Earnshaw’s theorem applies to electrostatic fields (ie, from non-moving charges) as well as magnetic fields. I think electrostatics are a bit easier to visualize than magnetostatics.

There’s also a good analogous physical situation. Imagine you have a rubber sheet stretched into a plane. The challenge is to create a local minimum in the sheet by pushing it up in places. If you push it up with a tube to try to create a bowl, instead you’ll get a flat circle on top of the tube.

My freshman year physics professor had us play with a program that simulated kinetic physics for point charges. You could “glue” charges to a plane, and then release other charges to see how they would respond. The end of the assignment said “Try to create a cage that can hold a charged particle. If you do, you might be eligible for a prize.”

jonshea··on Faking votes on Hacker News
Don’t trust. Just verify.
jonshea··on The Banach–Tarski paradox
Q: What’s an anagram of “Banach-Tarski”? A: Banach-Tarski Banach-Tarski
← PreviousPage 2 of 2