HNHacker News
TopNewBestAskShowJobs

sounddust

2,274 karma · joined April 12, 2008

submissionscomments
sounddust··on I am an edge case
As an American living in France, I can sympathize. Dealing with the bureaucracy here for any reason is a nightmare.

One piece of advice for those in this situation: get the best American Express card that you can qualify for. It doesn't solve all your problems, but there are many cases where it magically just works. One example is ordering things online: AmEx is much more flexible about the shipping/billing address not matching up, and as a result I can often use it with a shipping and billing address from France with no problems.

In addition, their customer service is fantastic, and they can often give you good advice or help you out when you get stuck in these situations.

sounddust··on Youtube comments susceptible to XSS
The implementation of a) would be extremely complex from both a web developer and browser development viewpoint.

From the web developer perspective: It's very hard to use JS without putting at least some javascript in the HTML. Loading js files is not very useful if there's no means to actually activate any of the functionality of those files.

In order for your idea to work, you'd have to completely strip all HTML of anything that can reference or activate javascript: not just mouseover, but also href="javascript:xxxx()" as well. That means that the only way you could actually use javascript on a page would be to create a function that would be loaded by body_onload to add event listeners and other attributes through DOM manipulation. It would make web development so convoluted that I doubt that you'd succeed in convincing w3c or anyone else to adopt it.

I think the right approach has to maintain the workflow and functionality of web development. tptacek posted an idea in the other thread that sounds like it would reduce the number of attack vectors without causing too much difficulty to the developer: include a nonce in the header and require script tags to include that nonce.

sounddust··on Youtube comments susceptible to XSS
The point I'm making is that it's not as easy of a problem to resolve as you are claiming. The problem is that - as you said - there are so many different XSS vectors in the browser; if you patch one specific use case then the exploiter will just find another. Browser developers aren't avoiding this problem; they just realize how complicated it is and have to approach it slowly to do it right, and to not break compatibility.

Your <noscript_within> tag is something that I'm sure every browser developer (and web app developer) has thought up at some point. It does not resolve this problem. It would only protect a site in the case that a website allowed all user input to be passed directly onto the page unedited. Your solution would require app developers to allow commenters the full range of HTML (including blink, marquee, and who knows what else) in their comments. Because once the app developer starts to try to filter the commenter's input, he's opening himself up to an exploit that allows the filtered output to contain a </noscript_within> tag.

The simplest example would be an app developer who simply deleted all <marquee> tags because he/she wanted to disallow marquees. The script kiddie would just insert </noscript_<marquee>within> into his comment.

The more complicated examples would be things that neither you nor I have thought of yet.

That doesn't even take into account the exploit of users in legacy web apps who could potentially start passing in unclosed <noscript_within> tags (in apps which allow HTML but filter only certain tags) to disable legitimate JS later in the page, breaking the apps. Of course, it would be possible to only enable <noscript_within> based on doctype or something else, but then it's certain that some web developers will accidentally forget to do so and leave their app open to abuse.

You are oversimplifying the problem. I am sure that a solution exists and XSS will eventually become a problem of the past, but the solution will be more complicated than you claim it would be.

sounddust··on Youtube comments susceptible to XSS
Until someone writes </noscript_within > or < /noscript_within> and your script doesn't catch it but the browser accepts it. Or one of hundreds of other small details that neither one of us has thought of yet.
sounddust··on Youtube comments susceptible to XSS
I doubt it's as easy to resolve as you think...

a. That would barely mitigate the problem; it might stop some of the goofy alert() hacks from people messing around, but the others are just going to use the exploit to include an external .js file. Even if your meta-tag would require all JS code to be in the <HEAD>, someone could have used this exploit to create an iFrame which then contained the JS. Or create a meta-refresh tag that redirects to the page with the exploit. The possibilities are endless.

b. If someone figures out how to break the character escape jail, then they're going to be able to write a </noscript_within> tag.

sounddust··on Apple letter about iPhone 4
The problem is that Anandtech's conclusion is out of place with the rest of their article, even if you take into consideration the shorting of the antennae.

The iPhone 4 loses 24.6dB of signal strength when cupped at the bottom vs 17.7dB for the Nexus one. If Apple should be required to add an insulative coating to the stainless steel, then shouldn't Google also be required to make their phone thicker (or make other adjustments) until it reaches the 14.3dB reduction of the 3GS?

If Apple is required to subsidize a bumper case, to bring the signal reduction down to 7.2dB, then shouldn't Google also be required to subsidize a case (even with a case, Google's signal reduction would still be 7.7dB).

Also, the iPhone 4 can hold a call quite well at the absolute minimum signal level of -113dBm. If the Nexus One can't do this, then should we demand that Google recall the Nexus one until it can do so?

This whole issue and the hundreds of news stories around it are ridiculous. This is not a black-and-white issue of the antenna working or not. The phone has a weaker signal for some people, and a stronger signal for others, depending on how you hold it and where you are. Take that into consideration when choosing a phone. If it's not working out for you, then just return the phone and buy one you like.

sounddust··on [dead]
I agree completely. I think that even when the real title of an otherwise good article is linkbait, it should be changed when posted to HN. I would love to see a feature developed around this idea: perhaps allow others to suggest more accurate titles to be voted up, or to simply make it a rule to use honest titles and quote it directly under the title field on the submit page.
sounddust··on Bee Sting Theory of Poverty
Taking money from (or loaning money to) a friend is fundamentally a bad idea, and it's quite possible - given that your friend is poor - that he's already taken money from a friend who promised that were "no strings attached," and later lost his friendship when it turned out that wasn't exactly the case. The fact is that people are generally more emotionally tied to their money than they realize, and they end up being more upset about losing it than they thought. I'm not saying you are like this, but most people are, so how would he be capable of knowing that you're different, especially if he (or someone he knew) had a negative experience with this before?

It was kind of you to offer the money, but I wouldn't make negative assumptions about your friend for not accepting it. Consider the possibility that he has good reasons for not accepting it, and that those might be the correct reasons - that he may actually be better off without it in the end.

sounddust··on Is it Now Acceptable to Require JavaScript?
You couldn't pick two or three or n browsers with 99% marketshare and make sure your website worked in them?

No, you couldn't. Back then, the web was split between two major browsers: IE and Netscape. However, the feature set of what was supported in JS was not only completely different among the two, but also completely different among different minor versions of the two. Things that worked on Netscape 6.x would be broken on 6.(x+1), and work again in 6.(x+2), although with a different calling convention. It was mind-numbingly frustrating, and I don't think it would have been humanly possible to write JS that supported all minor iterations of each browser and maintained any sort of complex functionality.

By contrast, in 2006, I wrote a JS library that worked on IE6, Firefox 1.0+, and some early version of Safari. It has worked ever since, among dozens of versions of those browsers. That's the difference.

(Edit: I'm struggling to remember what version Netscape was around 10 years ago; the version number above might be wrong.)

sounddust··on Is it Now Acceptable to Require JavaScript?
Back in the day we’d all have scoffed at such a thing... What’s changed since then? Why is this now an acceptable practice?

The only reason it wasn't acceptable to require Javascript many years ago is because each implementation was so different that it was impossible to guarantee cross-compatibility. If you used JS, it would almost certainly mean that you would render your site useless to a significant group of your users.

Those times are over; Javascript is so consistent across browsers that it's extremely rare to see cross-browser issues unless you're on the cutting edge of web development. And those implementations are converging, so these problems are quickly going from rare to nonexistent.

So the answer is yes, it's acceptable.

sounddust··on What's wrong with Flash Cookies?
The Firefox "Better Privacy" extension can delete these when you close the browser, or better yet on a timer, every few minutes. This allows you to use Flash sites that rely on them without most of the privacy issues.

(Note: don't play any long-term Flash games with Flash cookies disabled).

sounddust··on Critical iPhone 4 Issues and Complaints Are Mounting
Well I've been making calls all day while "holding it in my hand." And I can even make calls all day while holding it my hand very tightly in that one spot that makes it drop to 1 bar. It's a complete non-issue for me, and I'm sure for many others. And it looks like installing any sort of case would eliminate the problem completely.

If I had known about this issue beforehand, I still would have bought the phone. It doesn't impede my usage in any way, and this is easily the best phone that I've owned, taking into considerations its positives and negatives. It's definitely worth it to me.

Of course you have the right to disagree, and if you already bought the phone and are dissatisfied, then I hope that you'll get a refund. But I think that you are exaggerating somewhat; you have to look at the overall package and function of a phone to determine if it's worth buying, and I don't think this issue is as severe as you're making it out to be.

sounddust··on Critical iPhone 4 Issues and Complaints Are Mounting
Then it stays at 5 bars no matter how I hold it.

I took a ziploc bag folded in half (therefore 4-ply) and wrapped it around the metal, and no matter how hard I squeeze it or cover it, the signal doesn't drop below 5 bars.

sounddust··on Critical iPhone 4 Issues and Complaints Are Mounting
I don't know because it doesn't seem to be in stock anywhere yet. (An odd mistake on Apple's part, as you certainly want all the accessories to arrive on the day that people buy their phone, otherwise they're much less likely to buy them).
sounddust··on Critical iPhone 4 Issues and Complaints Are Mounting
The original iPhone had an aluminum backing, with a small black band that ran horizontally along the bottom of the back of the phone. If you covered this area while using the phone, you'd find that your EDGE speed would drop dramatically, and you would lose signal strength. Once you knew this, you had the choice between avoiding this area with your hands for maximum network performance, or holding the phone exactly how you liked and having reduced performance.

The iPhone 4 (mine, at least) has the exact same issue, and it's almost in the exact same place, the only difference being the reasoning behind why it happens (in this case, it seems to be about bridging two pieces of metal with your hands), and how it can be avoided (buying a case might help with the iPhone 4, whereas it didn't with the iPhone 2G).

I've owned many other phones that were sensitive to where you held them, in fact I think every phone I've ever owned without an antenna that sticks out is sensitive to this problem to some degree. I had to "train" myself not to cup my hand behind the top-backing of the Nokia I had before my iPhone. And now I'm already "trained" from holding my iPhone that I don't touch the bottom left of the phone when I talk anyway.

It's not a big deal, just something to get used to (and it might turn out that a case will resolve it, which can't be said about many other phones with this issue). It is a legitimate "con" when determining whether to buy the phone, but it doesn't deserve all the ridiculous comments about how the phone is somehow flawed because of this.

(And just to give some more specific details of how this affects my phone: if I put pressure on the bottom-left corner of the phone with my hand where the seam is, the signal strength drops: by 1-2 bars if I hold it normally, or all the way to 1 bar if I give it a death grip. In either case, the calls don't seem to drop).

sounddust··on Apple closes the iTunes store for iPhone users who don't share location
Settings -> turn off "location services". This will prevent any app from requesting this info. Of course, you're not going to be able to use Maps or other apps that require GPS. And of course, websites you visit can still use the same GeoIP tracking that they use for non-mobiles.
sounddust··on Google Voice open for everyone (In the US)
Yes. With 3jam you can forward to your (European) mobile, although there's a per-minute charge (Of course if all you're using it for is GV signup, then it shouldn't be much - 1 or 2 minutes of talk time).
sounddust··on Google Voice open for everyone (In the US)
(I'm the OP) Yes, but I also needed a US number to get started. The reason I didn't mention a proxy is because that's super easy, and I figured it was too obvious to mention (although I should have said that you only need to use the proxy for about 5 minutes while signing up). Getting a US number to get started is the hard(er) part.
sounddust··on Google Voice open for everyone (In the US)
No, I can just use SMS and voicemail. It is really nice to have these two features, though, because it makes it super easy to communicate with people in the US for free.

If you want a Google-voice like service that works in Europe, then try 3jam (although it's not free).

sounddust··on Google Voice open for everyone (In the US)
Use a US-based proxy to sign up (to get past the geolocation) and give them the US number when they ask for your cell number. Then you'll get your own US number from GV and can drop the other one. You also won't need to use a proxy after signup. After that, you can use it for free US-based SMS and voicemail.
sounddust··on Google Voice open for everyone (In the US)
I'm in France and was able to sign up. You just need access to a US phone number for a few minutes, and there are many ways you can get one. One is to signup for 3jam for one month, another is to get a SkypeIn number. It's probably possible with Twilio as well.

That having been said, you don't get as much use out of it as if you lived in the US. But I use it for free unlimited SMS (incoming and outgoing) to my friends in the US, and for voicemail with an American number .

sounddust··on Facebook employee responds on robots.txt controversy
I think that Facebook has a right to protect their data, but leaving robots.txt wide open and trying to enforce some random TOS that a developer might not even know about is the wrong way to do it. I think a much better method would be to ban all bots from robots.txt (and crawling) except the major search engines and provide data to others through APIs or other means that are controlled (and the TOS can apply to the API rather than random crawling). Maybe not what a developer wants to hear, but the truth is that the internet is infested with bots that do nefarious things, and I think it's better for the privacy and security of their userbase to control the spread of their data as much as possible.
sounddust··on Apple releases newly designed Mac Mini
One reason it's prettier is because it is no longer accompanied by a huge plastic power brick that's almost half the size of the computer itself.
sounddust··on Apple releases newly designed Mac Mini
I would imagine that that £91.56 price difference edd quoted is not for "extra s&h and sg&a", but rather a cushion against currency fluctuation. Apple does not want to start suddenly losing money on their products in the UK if the dollar suddenly gets stronger.

Of course Apple could change the price based on exchange rates, but price hikes anger consumers, and there may be laws that make it difficult to suddenly raise the price anyway, especially if they have advertised them in catalogs, etc. And that's not to mention all of the third-parties that would have to sync up with Apple on these changes, and all the wrath they would face from consumers, etc.

So I think that their strategy is to set a price that gives them a currency fluctuation cushion and round it to an attractive number that ends in 9.

sounddust··on Starbucks to Offer Free Wi-Fi Service
Actually, it's even easier than that. They don't even check that you use the card. I bought a $5 Starbucks card at least 18 months ago, and have used it since for free wi-fi at Starbucks despite having never used or refilled it since.
sounddust··on Ask HN: Why U.S. people dislike Nokia?
I haven't seen a Nokia phone that has the kind of intuitive, well-organized, attractive, and responsive UI that we see with the iPhone and Android phones. I have some friends who have expensive Nokia phones and like to brag about their capabilities, but when you actually see these phones in use, they just aren't as enjoyable to use due to the OS which seems unrefined (I'd go so far as to say it seems unfinished).

http://www.youtube.com/watch?v=vJpEuMidcSU is a perfect example of what I'm talking about. If you were to make a list with checkboxes, it would seem that the N97 is as good as an iPhone. But if you actually use it...

I don't think it's a U.S. vs Europe thing; it's just that Nokia had a headstart in Europe. I would bet that they're losing market share here in Europe as well. At least in France, it seems that everyone has an iPhone these days.

That having been said, I do think Nokia makes excellent hardware, particularly the actual phone functionality (voice quality, not dropping calls, etc). If they could just bring their OS up to par, they would see some attention and success in the US.

sounddust··on [dead]
There's no proof that it had anything to do with the poll; that's pure conjecture on their part. The only reason the forum posters feel that way is because it was all they cared about; they wanted EVO to win this meaningless poll. If we take Engadget at their word, they probably didn't even look at the poll when deciding to remove the article; they were more concerned about the quality of the article itself.

My point is, I agree with you; I hate manipulative media as well. That's why I think that on HN, we should not be using sensationalist titles with unconfirmed inferences like the one in the title of this post, and we should be discussing this from a more neutral point of view. Otherwise we're just as guilty as anyone else.

sounddust··on [dead]
What if Engadget honestly deleted the article/poll for the reasons that they described in their response? Then who is being more manipulative, HN with our speculative take of the events (referring to the post title), or them?

The article itself was quite favorable toward the EVO, so claiming that they would be upset by favorable results toward EVO in the poll is kind of nonsensical.

sounddust··on AT&T Learns Exactly the Wrong Lesson About Data Usage
That's what they're doing, although not with the exact tiers you mentioned.

As for the $30/mo unlimited, I believe part of the reason why AT&T removed the unlimited option in the first place is because a disproportional amount of bandwidth is spent by people who jailbroke their iPhone and use 100+GB/month using it as a 3G modem.

sounddust··on If I could pay by card in your shop - I'd do shopping here
I wonder how much of this policy has to do with tax evasion? It's hard to avoid reporting credit/debit card income.
← PreviousPage 3 of 13Next →