Greg [entries|archive|friends|userinfo]
Greg

[ website | gregstoll.com ]
[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

Links
[Links:| * LJ for WebOS * Other WebOS apps * Pictures * LJBackup * Same-sex marriage map * iTunesAnalysis * Where's lunch? ]

FlightPredictor gets love as an "airport survival app"! [May. 30th, 2012|10:15 am]
[Tags|, , ]
[Current Mood |excitedexcited]

FlightPredictor is number 2 on this list of five airport survival apps! The blurb is nice and specifically calls out the airport maps, which I spent quite a bit of time on. It even lists all the platforms it's available on.

Based on my referer logs, a good number of people are reading the article and clicking through to the FlightPredictor page. Yay!
Link1 comment|Leave a comment

What Money Can't Buy review [May. 29th, 2012|11:46 am]
[Tags|, ]
[Current Mood |tiredtired]

What Money Can't Buy: The Moral Limits of MarketsWhat Money Can't Buy: The Moral Limits of Markets by Michael J. Sandel
My rating: 5 of 5 stars

The subtitle "The Moral Limits of Markets" is a very good description of this book. I've thought about some of these things from time to time, and I found the book to be very thought-provoking and had a lot of good discussions about particular issues. Let's dive in:

- It lists a number of ways that you can pay to save time: buying premium tickets at theme parks so you get to cut to the front of the line, paying to use HOV lanes even if there's only one person in the car. One poignant example is New York's Public Theatre, which puts on free performances of Shakespeare in Central Park every year. Tickets are free, but there are a limited number and you have to line up early to get them. Some people who don't want to wait in line have taken to hiring people to wait in line for them. (the theatre has spoken out against the practice)

From a traditional economics perspective, this is just correcting market inefficiency - clearly, tickets to the public theatre are worth more than $0, since people are willing to pay for them, so the canonical economic "solution" is to increase the price of the tickets until anyone who would pay $X for them can buy one. (or auction them off, which has the same effect) Or, even if the theatre doesn't want to do this, the person who's paying for the line waiter is clearly getting an economic benefit (since he hired him!), and the line waiter is also getting an economic benefit - presumably he has more time but would like more money, so it's win-win.

Except, out here in the real world, something feels wrong about this. If the only way to see a "free" show in the park is to pay for it, that excludes a lot of people from being able to see it. Again, from a theoretical perspective, how much people want to see the play is reflected in how much they're willing to pay for it, but of course people have a vast range of different financial resources, and that has to be taken into account as well. The "market-based" solution is to allocate the tickets to who will pay the most, but the "queue-based" solution is to allocate the tickets to who is willing to wait the longest, and in some sense time is a more equal commodity than money, in that at least we all have the same amount (more or less).

The book is filled with interesting situations like these. I personally don't have much of a problem with people paying to take the HOV lane (really, this is just a variation on a toll road), but buying tickets to a free public show seems wrong to me.

- There's an interesting discussion of paying students for good grades and whether it helps their performance. In New York, paying kids for good standardized test scores didn't improve their academic performance, but in Dallas, paying second graders $2 per book they read made them end up with higher reading comprehension scores, and in Texas, paying kids $100 for passing an AP tests had an expressive effect which made taking AP tests cool. It seems unclear what kinds of things will work and which won't, though.

- Speaking of incentives, the danger (which I've read elsewhere) is that buy adding money to the mix, you can turn people's internal motivations into external ones, which means you have to pay them to do things in the future, plus external ones are less strong than internal ones.

- There's a famous story about an Israeli day-care center that was having a problem with parents being late to pick up their children. To solve it, they imposed a fine for late parents, but that actually increased the number of late parents, because then they saw it as just paying for a service instead of a moral obligation to be on time. Economically, this makes no sense, but in the real world it makes a lot of sense.

- The difference between a fee and a fine is there's no moral judgment for a fee, while there is for a fine (i.e. you should feel bad). In the day-care center example, the parents treated the fine as a fee. In some countries like Finland, fines for speeding are imposed proportionally, so if you're rich you pay hundreds of thousands of dollars if you're caught speeding. This is an interesting way to try to impose fairness and discourage rich people from just paying a piddling (to them) fine.

- There's a discussion about gift giving and how it doesn't make sense economically - just giving cash is more efficient! But of course a gift to someone is also a signal that you spent time thinking about them and tried to find something they'd like in particular. Even gift cards have some signaling value if you pick a store you know they'll like. There's also a site called Plastic Jungle where you can buy and sell gift cards to various stores, which is interesting. In some respects, it makes gift cards less of a good gift (since you can sell them for cash), but on the other hand it's convenient if you know you're going to spend money at a particular store you can buy a gift card for less than face value.

- Much like the day-care center, there's a story about nuclear waste that makes no economic sense. In Switzerland, they get a lot of power from nuclear plants, so they have to store the waste somewhere. In a small village, economists asked if they would be willing to store the waste there, and 51% agreed. Presumably this was due to a sense of civic duty of some sort. Then economists asked if they would be willing to store the waste if everyone got a small stipend from the government, and only 25% agreed. Most people said they were offended and it felt like a bribe.

- Another one! AARP asked some lawyers if they would be willing to help out some senior citizens with legal matters at a very reduced rate ($30/hour), and most said no. Then AARP asked if they would be willing to donate their time for free, and most said yes. To me, this makes a great deal of sense - you can feel good about donating your time in a way that you can't about "not charging people as much as usual".

- There's an interesting discussion about economics and virtue. There's a famous talk given by Sir Dennis Robertson (a former student of John Maynard Keynes) that claims that, while economics doesn't deal directly with virtue, it can help by letting people "conserve" their virtue - by letting people make choices solely in their own self-interest most of the time, they can save up their virtue and "spend" it when it really matters. (when dealing with family, etc.) This is, to put it gently, insane. It sure seems that virtue is more like a muscle where using it more is good for it than an expendable resource like cash. Of course, you can "use up" your willpower, but if you develop virtuous habits you can get to the point where it doesn't take extra willpower to do virtuous things.

- There's a bit at the end about naming rights to stadiums and such. Frankly, I can't get my gander up about this - yeah, non-corporate names for stadiums are nicer, but whatever. (he also talks about how Moneyball is bad, which I didn't really understand)

Well, this was a long review, but I very much enjoyed the book, and I have a paper copy so it's available for borrowing. The summary: capitalism is great, but not everything should be subject to market forces.

View all my reviews
Link2 comments|Leave a comment

Tired of rants? Here's some links! [May. 24th, 2012|05:30 pm]
[Tags|, ]
[Current Mood |cheerfulcheerful]

- Since Obama announced his support for same-sex marriage, support for same-sex marriage in Maryland has gone up 12%, almost entirely from blacks. One word: wowowowowow! Minds have been changed!

- If you're at all interested in Windows 8, the Building Windows 8 blog is full of juicy content, like this ridiculously long post about the Windows user experience, past and present. For developers, the Windows 8 app developer blog has a lot of good posts, too.

- I feel like I've posted this before, but here's a good summary of how to spend your money to make yourself happier (buy experiences instead of things, help others instead of yourself, etc.)

- An interesting-looking new book says 20 minutes of being active provide a ton of benefits.

- When half a million Americans died and nobody noticed - wow, could Vioxx really responsible for that??

- Interesting look at Microsoft's "Signature" service to clean off a bunch of crapware the PC makers include. It's nice that you can buy computers from Microsoft Stores, and although some people are making fun of the fact that you can pay $99 and bring in a PC you bought elsewhere to get cleaned off, I think it makes sense. Presumably the PC maker got kickbacks for including that AOL (or whatever the modern equivalent is) software and that made the PC cheaper, so you're just paying more to offset that.

- Iran photoshopped a missile test image...but forgot to take Jar-Jar Binks out. (the image they posted was a joke created after the last time they photoshopped an image of a missile test!)

- An algorithm to help you play the perfect game of Battleship - looks neat, but I'm skeptical about this. His analysis only holds if you assume the position of the ships is random, and if you know your opponent is using Berry's new algorithm, couldn't you deliberately try to place your ships in "unlikely" places? (thanks Jessica!)

- A good discussion of the ESPP tax rules, which are pretty complicated. There are graphs!

- Polarization is real, and mostly on the Republican side.

- Check out this crazy non-stick coating invented at MIT - it makes ketchup flow out of a bottle like, well, a liquid!

- For Eurovision fans: a look at which countries tend to vote for each other.

- Why People Loved webOS - so true.
LinkLeave a comment

Windows Phone 7 App Hub - my complaints [May. 16th, 2012|07:52 pm]
[Tags|, , , ]
[Current Mood |irritatedirritated]

In the wake of complaining about background tasks in Win 8 (that was later rescinded), here are my complaints about the Windows Phone 7 App Hub, where you submit new apps and look at download numbers, etc.

Before I begin: I rant because I care :-) I'm still very happy with Windows Phone 7 (and Windows 8!) development, and plan on sticking around it for a while, unless of course Microsoft pulls a webOS like HP did. (dear Microsoft: please don't do this!) But there is some serious need for improvement here.

(Had I been writing this a few months ago, my number one complaint would be that the page itself was dog slow, but Microsoft seems to have fixed that. Yay!)

--

When I load the App Hub page, 95% of the time I have a simple question: How many copies did my app sell today? For webOS and Android, their consoles answer an equivalent question: how many copies has the app sold over its lifetime? Let's count the number of clicks it takes to answer that question:

First I load the page (I won't count this as a click), and I see something like this:


You might think the answer to my question is right by the word "FlightPredictor": 101. Or at least you might think that's the total number of sales. Sadly, it is the number of downloads in the last 30 days. This is interesting information (as is the graph at the bottom), but it doesn't answer my question. So click 1 is to click on the "101" number, which by the way does not do the same thing as clicking "FlightPredictor".

That takes us to this screen:

Here we can see a nice pretty graph, which is again interesting, but it only covers the last thirty days. So clicks 2-4 are setting the Start date to March 1, which is before FlightPredictor was released. (for bonus fun: this will take one more click every month!) Then click 5 is clicking Refresh Report, which shows me the full graph. But the numbers include trial downloads, which I am interested in, but I don't get paid for. To see the paid numbers, click 6 is clicking on Details, which takes me to this screen:

and then click 7 is advancing to page 2, where I can see the paid downloads for the US. If other countries had any paid downloads, I guess I'd have to add those up.

--

So...yeah. In theory I could get by with not resetting the date range and use the "export details" button to look at an Excel spreadsheet and look at just the most recent daily numbers that way, but most of the time I'd much rather be able to see the numbers in a browser, rather than firing up Excel. It would be really nice if this information was more easily accessable!
LinkLeave a comment

Windows 8 Metro: everything is fine re background tasks, nothing to see here [May. 14th, 2012|09:17 pm]
[Tags|, , , ]
[Current Mood |satisfiedsatisfied]

After kvetching a bit about Windows 8 Metro background tasks, Jared Bienz set me straight.

The right way to do this is to either use push notifications to update the tile, or a TileUpdateManager to have it poll for tile updates. In both cases the difference is that you're not actually scheduling a background task - you're just providing a way to get a tile notification, which is a bit of XML that describes how to change the tile.

Now, this isn't ideal for me the programmer, since I need to set up an extra server, but it does scale better with lots of different apps and preserves battery life, etc. So it's all good, and hopefully lots of Win 8 apps will take advantage of one of these two ways to get power-efficient live tiles that update!
LinkLeave a comment

Penguin pictures! [May. 14th, 2012|01:55 pm]
[Tags|]
[Current Mood |happyhappy]

We saw a penguin at SeaWorld! Here is proof:



(and yes, the penguin is adorable!)
Link1 comment|Leave a comment

Imagine: How Creativity Works review [May. 13th, 2012|10:08 pm]
[Tags|, ]
[Current Mood |happyhappy]

Imagine: How Creativity WorksImagine: How Creativity Works by Jonah Lehrer

My rating: 4 of 5 stars


I really enjoyed this book! It's all about creativity, how it works, and how you can become more creative. It's very much in the style I like, where they talk about a lot of different studies and case studies, and try to make sense of it all. So, some interesting things:

- Daydreaming is important for creativity - one important function seems to be to search for relationships and notice new connections. People who consistently daydream more score higher on measures of creativity. But the trick is to be aware that you're daydreaming - if you unconsciously daydream, the creative thoughts will be lost.

- On the other hand, being able to be focused and persistent is important after you have an initial inspiration. Apparently having depression "helps" one persevere. And having bipolar disorder is doubly "helpful" - during the manic stages you can erupt with new ideas, and you can polish them during the depressions. In one study, ~40% of the successful creative people had bipolar disorder, which is twenty times higher than the general population.

- Some problems require a flash of insight to be solved (see: daydreaming), and others don't and just require hard work. It's important to know what kinds of problems are which, and it turns out we're relatively good at telling whether we're making progress or not.

- Like daydreams, dreams are also an important source of creativity. In one study they gave students a task to do, which had an elegant shortcut that required insight to see. 20 percent of the control group got the shortcut, even when given several hours thinking about it, but 60 percent of those who slept and went into REM sleep found the shortcut.

- Changing one's environment seems to help creativity - traveling is especially good for this. But it doesn't even take that much - in one study one group was told a particular task (listing as many modes of transportation as possible) was conceived by people at Indiana University (which they attended), while another was told it was from Indiana students studying abroad in Greece. The second group came up with significantly more possibilities!

- Brainstorming (having a group come up with ideas with no one allowed to criticize any) doesn't really work to stimulate creativity. It's even worse than just having one person come up with ideas on her own! Encouraging people to honestly discuss mistakes/bad ideas is the way to go. Another trick is to deliberately give a bad idea to get people out of their comfort zone.

- Urban environments are good for cross-pollinating ideas. And Austin is specifically called out as being more creative (at least in patents per capita) than Houston. Bam!

- "Weak ties" (i.e. not close friends) are essential for creativity - the more you have and the more diverse they are, the better. (advantage: extroverts?)

- There's no substitute for face-to-face contact when it comes to generating ideas - in one study groups that met in person were able to solve a task quickly, while groups that were only allowed to communicate with email and IM weren't able to solve it.



View all my reviews
LinkLeave a comment

just some grousing about North Carolina, and Obama endorses gay marriage! [May. 9th, 2012|02:03 pm]
[Tags|, , ]
[Current Mood |sadsad]

North Carolina voted to ban same-sex civil unions and marriage last night...and it wasn't even close. Amendment 1 passed 61-39%, and the map gets redder. Le sigh.

Why exactly are civil rights up for a popular vote again?

As @thinkprogress points out, the last time NC amended their constitution about marriage it was to ban interracial marriage. Similarly gloomy reaction from Andrew Sullivan.

This cool gay rights visualization from the BBC is already out of date!

Wow - minutes ago President Obama says he supports same-sex marriage! While this has no practical effect it's certainly encouraging.
LinkLeave a comment

Windows 8 Metro background task restrictions are way too strict (even versus Windows Phone 7!) [May. 8th, 2012|01:43 pm]
[Tags|, , , , ]
[Current Mood |confusedconfused]

Edit: See the followup post on why this isn't a big deal, and the right way to do updating live tiles in Windows 8 Metro.

I've been working on porting FlightPredictor to the shininess of Windows 8 Metro. One of the key features of FlightPredictor is the ability to pin a live tile for a flight, and have that live tile update periodically in the background.

On Windows Phone 7, there are a lot of restrictions on background agents like the one in FlightPredictor that updates the live tiles. The agent can't run more frequently than every 30 minutes (and when it actually gets called is not that regular), if it runs longer than 25 seconds it gets killed, and most importantly there's a limit to how many you can have active on the phone - Microsoft says phones must allow 6, but my Lumia 900 allows a maximum of 9. I've actually hit this limit, because live tiles that are always up to date are cool.

So, I've started to work on this for Windows 8 Metro, and I found this whitepaper about Metro background tasks. There are a bunch of new ways to trigger running tasks (when you have internet access, for example, or when a user logs in), but you can also trigger them every 15 minutes, which is nice. There are also CPU requirements (now they're measured in CPU-seconds instead of wall time that the task runs) as I would expect.

Unfortunately, you can't use the TimeTrigger unless you display information on the lock screen. This requires extra user permission, which is OK enough, I guess. I wasn't planning on looking into showing flight info on the lock screen, but if that's necessary for my app to work the way I want it to I'm fine with that.

But here's the kicker: a user can only have seven apps show information on the lock screen. And three of these (Mail, Calendar, Messaging) are builtin! So this leaves four slots for apps to run based on a TimeTrigger in the background.

Now for the rant-y part: this is crazy. I have a bunch of apps that run in the background on my phone - as I said, having auto-updating live tiles is one of my favorite features of Windows Phone. To drastically cut the number of apps that can do this on an OS that's designed for a tablet (so presumably better battery life, etc. than on a phone) is way too strict and a step backwards.

It is possible I've missed something here, and I'd love to hear feedback on it. This is just a policy decision - what I would really like is the ability to run based on a TimeTrigger even if my app isn't on the lock screen, with reasonable limits.

Addendum: one way around the limit on Windows Phone 7 is to use push notifications - then your app doesn't have to run in the background and doesn't count against the limit. But it looks to me from reading the Metro whitepaper is that even apps that want to run based on a push notification have to be on the lock screen. Or is there a way to use a push notification to update a tile without having an app run? I'm not sure...
Link3 comments|Leave a comment

a little down, with music to bring me up [May. 8th, 2012|10:05 am]
[Tags|, , ]
[Current Mood |depresseddepressed]

Sigh. The past few weeks have been pretty rough in terms of stress and things going on. North Carolina votes today and the ban on same-sex marriage and civil unions seems likely to pass. I am tired.

To cheer me up, I found this awesome a capella cover of "Somebody That I Used to Know" by Pentatonix. Then Adam pointed me to this cover by Walk off the Earth where they only use one guitar, followed by a pretty good parody of said video.
Link2 comments|Leave a comment

navigation
[ viewing | most recent entries ]
[ go | earlier ]