HNHacker News
TopNewBestAskShowJobs

powrtoch

1,968 karma · joined February 9, 2010

submissionscomments
powrtoch··on Json ⊄ js
I feel really dense, but I don't understand why the example line is throwing an error. The article mentions line terminators, but it doesn't seem to contain any, and I also don't understand why "owned" would be escaped the way the author says... it looks as though the interpreter is just rejecting the use of quotes around the key. But I'm sure I'm just missing something, so I'd be much obliged if someone could enlighten me.
powrtoch··on The Useless Web
There's a "submit" link at the bottom, which is probably the coolest thing about this.
powrtoch··on Dropbox Chooser
I'm all for making it easier to work with the cloud, but... is this application really all that useful, considering that the whole concept of the Dropbox app is that all your Dropbox files are constantly kept in sync on your local machine?

I think of this as the very essence of what Dropbox does, are there really very many situations where local copies would be unavailable?

powrtoch··on I am a statistician and I buy lottery tickets
> The assumption is that your utility curve in the lossy region is sublinear

Which makes lottery tickets all the more a bad idea. Not only is the expected return in dollars less than your investment, but thanks to the diminishing marginal utility of money your ten millionth dollar will be worth less than your ten thousandth. Lottery tickets are actually worse than their already crappy EV.

powrtoch··on Yandex Browser
Did you make an account and name it after this browser just to post this?
powrtoch··on Introducing the Humble Indie Bundle 6
Well, finding 2 computers that are exactly equal in specs is more effort than I care to put in, but here's the first reasonable comparison I see at Best Buy:

http://www.bestbuy.com/site/Toshiba+-+Satellite+14%26%2334%3...

Compare it to the 13" Macbook Pro (for the sake of being generous towards the Mac). It's just over half the price, has a bigger screen, more ram, a larger hard drive, and seemingly identical processor and graphics. Naturally there are give and takes on both sides (just about everything is inferior to Apple in terms of "build quality", though this is tough to put a price on), but I don't think it's unreasonable to say this is a comparable laptop, and the specs easily make up for it being $50 over half price.

I don't say this to disparage Apple, I've got a MBP myself, but whenever I look at PCs with comparable specs, I do find that they tend to be about half the price.

I'll withdraw 3x though, that probably is too high and even if I could hunt around and find one example, it's not like that would prove the point.

powrtoch··on Introducing the Humble Indie Bundle 6
Also any random Linux user is more likely to be a developer, which likely motivates them more to support the indie devs. And since Macs are 2-3 times as expensive as their PC counterparts, owning one tends to imply you have money to throw around.
powrtoch··on Amazon Officially Announces The New Kindle Paperwhite
My first thought was that they're planning to release a black one just so they can call it the Paperblack.
powrtoch··on A Faster Facebook for iOS
What are the creative ways in which HN screws us?
powrtoch··on Sexual Harassment at DefCon (and Other Hacker Cons)
I wasn't sure what to think of the red/yellow cards when I first heard about them, but the suggestion that it should be bystanders them giving out is awesome. Everything we know about human psychology suggests that a disapproving peer group is a strong behavioral deterrent.
powrtoch··on John Resig: Redefining the Introduction to Computer Science at Khan Academy
> I can't emphasize how much I disagree with you.

I don't think you disagree with me at all... I said that javascript feels strange to me because I didn't start with it. I think it's a fine language to start people on, just an uncommon one that should yield interesting results.

I certainly wouldn't suggest teaching with more "rigid" languages. I was trained on Java, and looking back I can see what a terrible way of doing things that is.

FWIW though, it's been my experience that for all but the most trivial tasks in Javascript, you quickly find yourself getting into somewhat advanced territory with e.g. scoping, closures, and anonymous functions. Again, I think these concepts are mostly weird to me just because they're different than what I personally was trained on, but they're certainly not as easy to grok as e.g. variable assignment and conditionals.

powrtoch··on John Resig: Redefining the Introduction to Computer Science at Khan Academy
It's hard for me to imagine learning Javascript as your first programming language. It's always felt kind of crazy and bizarre to me (especially when you try to do anything requiring more than 20 lines of code), but I think a lot of that is just failure on my part to shake off the paradigms I'm used to. A generation of coders who are actually trained from the start to think in Javascript... almost scary honestly, but in a good way. We need more John Resigs pushing the web forward :-)
powrtoch··on Grouped Tabs
As another commenter pointed out, Opera already has something very similar to this. YMMV, but while I didn't really see the point at first, now I love it. I'm usually developing several websites at a time, each of which I have several tabs open for (one for the admin panel, one for the public side, misc ones for CSS tricks I'm experimenting with, etc). So I group tabs by what project they belong to, and when I switch to working something else I can just collapse the current stack and expand the other one. You get the best of both worlds: keeping your tab bar relatively clean and readable, and not having to put in all the URLs or search for relevant pages everytime you switch tasks (while sticking to a single browser window).

Also the UI (at least Opera's) makes it very clear which tabs are actually tab stacks, and presents it in an intuitive looking way. People who have never heard of the concept and then use my browser typically grok it almost immediately just from the design.

powrtoch··on Ask HN: Is there a right way to Save As in Mountain Lion?
I don't think HN should be the place for this type of question question. Try Stack Overflow.
powrtoch··on How Stereotype Threat keeps women from working in SW — and how we can fight it
The article doesn't mention intelligence, and I can't see how it's especially relevant. Yes, the best programmers are going to be very smart, but it seems to me that slightly above average intelligence is perfectly adequate for a successful career in software. Obviously that phrase will describe just under half the population of women.

The article is mainly about why so few women become interested in software, pursue it, and stick with it as a career, and not about why they don't get the best jobs or make the same money. While it seems plausible that men and women are probabilistically hardwired to find certain fields more interesting than others, this isn't "intelligence".

And of course, everyone thinks they're hiring the top 1%: http://www.joelonsoftware.com/items/2005/01/27.html

powrtoch··on Why isn't iTunes shuffle random?
I don't know what mathematical purity has to do with anything, I was just thinking Principle of Least Surprise, which is a user experience plus. Of course, I'm just going by what I would find least surprising and most useful, but I've heard lots of people express confusion about the behavior described in the StackOverflow question, so it does seem like there's room for improvement here.
powrtoch··on Why isn't iTunes shuffle random?
The top answer is good, but it doesn't explain why iTunes couldn't maintain the seed while skipping forward and back, but reshuffle whenever a new song is selected, or whenever iTunes is restarted, or whenever you switch to a playlist and back, or all the other times you wouldn't expect it to maintain the sort order. So this still seems like something that Apple could (and should) really improve on without breaking important functionality.
powrtoch··on Isometric text with CSS3
It's really unfortunate that this would be so hard to use in production due to lack of a suitable IE fallback. If a browser doesn't support @font-face, for example, you can always fall back to a standard font. For isometric text though, lack of support would likely disrupt the page layout so badly that the only fallback solution would be images.

That said, as easy as it is to think of sites where isometric text would be a cool design element, I can't easily think of an application where it would need to be actual, editable text. Perhaps if you had a heavily futuristic themed CMS site...

powrtoch··on How I Data Mined the top 300 paids apps to create Tehula's icon
For a self-identified "data scientist", this is a pretty naive approach to "finding out what worked for others". The methodology doesn't distinguish in any way between "colors that help make apps successful" and "colors that are just used often by everybody".

It could be that there really are some colors that will help an app to be successful in the app store, but without comparing the data from successful apps with that from a control group, there is no way to identify them. If the goal is simply to make an icon that wouldn't look out of place in the top 300, this is a good formula. But that doesn't strike me as a very interesting problem.

powrtoch··on Is Kickstarter selling dreams?
maratd's comment next to yours is correct. It's actually an old term (well, old relative to social media) used by psychologists to describe the way people make judgments (consciously or otherwise) based on the behavior of their peers.

http://en.wikipedia.org/wiki/Social_proof

powrtoch··on Is Kickstarter selling dreams?
> Has Kickstarter invented a new form of online commerce, where merchants who are close to you on the social graph, rather than in terms of physical geography, can thereby charge a premium for products which would never fly in the open market?

I think this is by far the most interesting sentence in the entire article. Traditionally we think of the web as a globalizing force, which will tend to strengthen big business: I might choose a mom-n-pop bookstore over Barnes and Noble if it's nearby and I'm buying in person. But online it will be at a severe disadvantage, and I'm not likely to find it at all unless I set out for it specifically. It's interesting to think that there may be an online equivalent of this physical proximity effect in the social graph. This possibility seems to open up lots of interesting avenues for discussion.

powrtoch··on Unbreakable crypto: Store a 30-character password in your subconscious memory
This is pretty awesome, but the following is noteworthy:

> creates a random sequence of 30 letters chosen from S, D, F, J, K, and L, with no repeating characters. This equates to around 38 bits of entropy

Which is not so bad for certain applications, but certainly isn't the 180+ bits you'd have in a true random 30 character password.

I wonder what applications they have in mind where this password system could be used.

powrtoch··on Facebook to Launch Job Postings Board
Facebook profiles can be expected to contain information about one's religion, sexuality, and other factors employers aren't allowed to ask about, and can get sued for trying to find out. At worst FB could create a sanitized version of your profile to share with employers.
powrtoch··on God particle found, say scientists
This was submitted to reddit as "Site Jumps gun and announces God Particle has been found."

http://www.reddit.com/r/science/comments/vwo1h/site_jumps_gu...

powrtoch··on New Apple Macbook Pro RAM is soldered to the motherboard | Ian Chilton
I would say iOS already works like this. They push out OS updates to devices not capable of running them properly, and provide no easy path to roll back. Many non-technical users will just think their "old" phone has "gotten slow", as if that's the inevitable course that products take as they age. So they buy a new device.

The App Store only makes this worse, since at any given time you can only download the most recent version of any app. So if you don't upgrade iOS, you find yourself increasingly unable to install any new apps.

And all in all it seems very successful. There have only been 5 iterations of the iPhone over about 5 years, but how many people do you know that owned at least 3 of them?

powrtoch··on I analyzed the chords to 1300 popular songs for patterns. This is what I found.
Writing likable, memorable songs is about striking a balance between comfortable and interesting. It always irks me when people go from "this chord progression is in a lot of popular songs" to "therefore all you have to do to write a good song is use this chord progression".

The "comfortable" bit is the easy part. Making it interesting is the trick. There are thousands of songs using this same progression that are awful.

That's my main objection to the original post, and similar articles I've seen. It doesn't really tell you anything usable about how to write a good song. At no point as a developing songwriter does looking at a statistical breakdown of chord progression help you take the next step. "It's got the same chords as X, so it'll definitely be good!" is not something you hear good songwriters say.

Edit: To clarify, I think I'm agreeing with the sentiment of your last 2 sentences, as I understand them.

powrtoch··on You half assed it. That is why your PhoneGap application sucks.
This article hits pretty hard on jQuery Mobile. I'm considering it for an upcoming project and hadn't heard about it being such a steep tradeoff on performance. Can anyone who has played around with it comment?
powrtoch··on HTML5 Gamepad API
Technically true, but you can fake it if it really strikes your fancy.

http://stackoverflow.com/questions/4804068/move-mouse-cursor...

powrtoch··on HTML5 Gamepad API
First idea that comes to mind:

It would be cool if there were an option to let the gamepad act as a mouse. There would be an initialization option, as well as a toggle function, called something like "controlMouse".

When activated, the control stick would be able to move the cursor around, and something intuitive like A=left click B=right click would work for the buttons.

You could call this toggle function from any sort of event listener, including a button press. So there would never be a situation where the user needed to switch back and forth between the mouse and the gamepad while on your page: You could just find some button or button combo not used by your game, make it the "mouse mode" toggle, and the user could switch back and forth seamlessly between "gamepad for game control" and "gamepad as mouse".

powrtoch··on Advanced Minesweeper
My fault for being ambiguous about the word "bigger", thanks for pointing this out. It's true that you're not looking for a large area per se. What you want is a large perimeter. The best starting click would be a whole lot of thin tentacles stretching out across the board, not a giant square-ish clump.

That is, you're trying to maximize information. A large rectangular area doesn't give you nearly as much information about the board as a tentacle-y one, because most of the squares don't tell you anything but their own value.

← PreviousPage 2 of 13Next →