Better HN
topnewbestaskshowjobs
Log inSign up

codeka

2,034 karma · joined Jan 13, 2012 (14y ago) · 426 submissions

Contact me, dean at (my user name) dot com dot au.
Submissions

comment 14y ago · link · parent

I'm sorry but you're wrong. I suggest you inform yourself better of the subject you're talking about before you call people "ignorant morons" next time.

dietrichepp is talking about Normalized Form D, which is a valid form of Unicode and cannot be counted using codepoints like you're doing.

Maybe you can try:

'𠀋'.substr(0,1)

comment 14y ago · link · parent

The same could be said of UTF-16 implementations that don't support surrogate pairs.

comment 14y ago · link · parent

This is what I'm getting for google.com.pk currently:

  ;; ANSWER SECTION:
  google.com.pk.		3578	IN	A	127.0.0.1
The name server seems to be set to some random one as well:

  ;; AUTHORITY SECTION:
  google.com.pk.		38400	IN	NS	dns1.freehostia.com.
  google.com.pk.		38400	IN	NS	dns2.freehostia.com.
Google normally host their own DNS, so I'd expect that to go ns1.google.com (etc). Doing a whois for google.com.pk returns the address as "Mountain View, Canada" which is kind of amusing.

comment 14y ago · link · parent

The expression is "to put the cart before the horse", i.e. do things in the wrong order.

245.

Why Google should buy Uber(plus.google.com ↗)

2 points · by codeka · 14y ago · discuss

comment 14y ago · link · parent

But Apple weren't the first to come up with it (see other examples in the comments here).

comment 14y ago · link · parent

How is a page-turning animation, in wide use before Apple filed for patent, in any way comparable to the Wright brothers?

comment 14y ago · link · parent

But the thing is, if I check in at Starbucks all the time, and I "like" their facebook page, etc, what's the point of showing me their promoted posts? I'm already buying their products.

How will the fact that I like Starbucks tell Facebook when I'm in the market for a new vacuum cleaner? I might search for vacuum cleaners on Google, but Facebook is going to have no idea that I'm even in the market for vacuum cleaners unless I go and "like" a bunch of vacuum cleaner pages (which I presumably found by searching on Google).

249.

The Climate Change Denier Who Became The Voice Of Hurricane Sandy On Wikipedia(popsci.com ↗)

5 points · by codeka · 14y ago · discuss

comment 14y ago · link · parent

> Search "headphones" on Google and you'll see the massive ad spot taken up by Google Shopping

What's wrong with that? If I'm searching for headphones, why would I want to be taken to another search engine that indexes headphones? I want to be see the best prices and be taken directly to the websites that actually sell headphones.

There's nothing inherently wrong with a monopoly. If you think Google is a monopoly, it's only because they provide the best results. Switching to a different search engine is so unbelievably easy, I don't see how you could ever claim Google's monopoly is harmful to consumers.

comment 14y ago · link · parent

OK, so after a bit of searching, it seems that it comes from the Latin word for "thousand", millia[1]. And it's apparently common in financial contexts.

So 1M is 1,000. 1MM is 1,000,000. 1MMM is 1,000,000,000 (though the former and latter are not as common). Still seems like a confusing way to abbreviate to me.

[1]: http://en.wikipedia.org/wiki/Mile

comment 14y ago · link · parent

I always thought it was short for "million monthly" so when you see something like "we have 10MM users" it would be 10 million monthly active users (i.e. 10 million users who have been active in the past month). I have no idea what it means here.

comment 14y ago · link · parent

We live in a strange world where 100,000 people buying your album is considered a flop.

Of course if you define "success" as "being in the Billboard top 100" then almost nobody will be successful, and being successful twice - well that's almost impossible!

comment 14y ago · link · parent

I've seen plenty of crappy ISP DNS servers ignore TTL values and cache DNS entries for many hours longer than they're supposed to. Unfortunately, it's all too common.

comment 14y ago · link · parent

For me, the most noticeable thing is the time it takes to load that enormous .png file. It's only 500KB but it still took 2 or 3 seconds to load for some reason.

256.

How To Win As Second Mover(blog.eladgil.com ↗)

1 points · by codeka · 14y ago · discuss

comment 14y ago · link · parent

"If the universe changes and they [viewers] want us to bring the content directly to them, then we can."

What does he mean if the universe changes?

I'm also not entirely sure that people would continue subscribing to "ESPN" in this new world. More likely, you'd subscribe to individual sports or sporting events. Similarly, I don't think you'd be subscribing to "CBS", you'd be subscribing The Big Bang Theory, or whatever individual show you're actually interested in.

To be honest, though, I don't think he really means what he says there. They're going to fight tooth and nail to keep the status quo.

comment 14y ago · link · parent

If I were writing a PHP parser, then I would convert double-quoted strings of the form "foo $bar baz" to 'foo '.$bar.' baz' when the script is first parsed. So executing the string concatenation in a loop would have no performance difference, because the string is only parsed the first time.

That's just a guess, though, having not actually looked at the code myself.

comment 14y ago · link · parent

Security is all about trade-offs. When I've used mod_status, I've just used a simple username and password that everybody shared. I've also served it from a different URL than the "well-known" /server-status.

I realise that the IP addresses it shows are not on the order of credit card numbers, and its only the IP addresses at that particular instant (as opposed to historical data or something), but there is a difference between my IP address being logged in server logs and my IP address being visible to anyone who happens to visit a popular website at the same time as I do.

Edit: what I'm saying is, its very easy to keep this information invisible from the open internet. I can see no advantages and only potential problems leaving it open. Given that, it seems like the prudent thing to do is to close it off.

comment 14y ago · link · parent

I'd say it worrying that its open to the whole internet. Usually when I've used mod_status, its been password-protected.

comment 14y ago · link · parent

I wonder if they're going to issue the same recommendations to Microsoft: http://marketingland.com/microsoft-privacy-change-google-att...

comment 14y ago · link · parent

It seems quite understandable that there'd be breaking changes between version 0.9 and 1.0, I don't see how you can extrapolate that to "OpenSSL doesn’t offer API compatibility between versions."

I also don't see how the advice to include your own version is any better than shipping two versions.

comment 14y ago · link · parent

I definitely think it was useful and thank you for writing it.

I understand the point that its like saying "you'll understand when you're older", but I also hope we here are wiser than the children who resent their parents for making that argument. That we in fact can see that its possible to be blind to what is happening around you just because you personally haven't experienced it.

comment 14y ago · link · parent

For all I can see, it could be the Android app with an iOS status bar photo-shopped in at the top...

comment 14y ago · link · parent

Studies[1] have also shown that competitiveness of the game is a better predictor of aggression, rather than violence. This study does nothing to control for that, as far as I can see. Its certainly a fact that most violent games are also quite competitive.

> The study in the article you link to shows that violence decreases in the short term when a violent block buster is released, because violent individuals are busy playing.

That's right, but I fail to see how that's a flaw in the study?

[1]: http://content.usatoday.com/communities/gamehunters/post/201...

comment 14y ago · link · parent

Just to give a little context for my comments, I'm from Australia and we've just this year finally introduced an R rating for video games (after 10 years of lobbying - previously, MA15+ was the highest available). To be honest, I'd love to be debating the issues in California because that's positively progressive to the kind of debate we've had here in regards to video games :)

comment 14y ago · link · parent

This is exactly the kind of emotionally-charged comment that is not conducive to a rational discussion.

Let's not "throw science under the bus" at all. In fact, there have been studies[1] which show violent crime decreases as access to violent video games increase.

[1]: http://www.telegraph.co.uk/technology/video-games/8798927/Vi...

comment 14y ago · link · parent

The big problem I have with this kind of thing is the Grade 9 to Grade 12 age group. Violent video games are generally not meant for children, so why study their affects on children?

I understand that you want parents to be informed about their choices for their children, but unfortunately, this kind of study has a history of being (ab)used by groups trying to limit adult's access to this kind of video game, which I have a serious problem with.

1
8910
15