Better HN
topnewbestaskshowjobs
Log inSign up

ehsanu1

1,377 karma · joined Apr 26, 2011 (15y ago) · 616 submissions

ehsanul@ehsanul.com

I'm actually ehsanul (http://news.ycombinator.com/user?id=ehsanul) here on HN, but I switched Google accounts.

Submissions

comment 14y ago · link · parent

So they actually had a great fix recently where they managed to largely stop addons from causing memory leaks: http://blog.mozilla.org/nnethercote/category/memshrink/

comment 14y ago · link · parent

A lot would need to change with the language to make it suitable for OS development

I keep hearing this, or statements along these lines. But I never see an explanation for this. Performance? Managing memory from other processes? Bit twiddling required to create device drivers? Something else? Are these insurmountable?

comment 14y ago · link · parent

5 sigma is kind of arbitrary, isn't it? Just a nice "round" number. Obviously better than 4.9, but the line is fuzzy, if it even exists.

comment 14y ago · link · parent

Really striking what a large percentage of the words are jargon. Sometimes I understand less than 10% of the words in a sentence. I think I might now better understand how a non-programmer feels when seeing a talk related to programming.

comment 14y ago · link · parent

Most people develop motor skills just fine, but are not that great with symbolic manipulation. It's not easy to predict the kinds of effects early exposure to this kind of stuff can have on a human being in the long term, but it may be significantly positive (and maybe even negative).

comment 14y ago · link · parent

The article mentions using custom origins with CloudFront, and I don't understand why setting up origin.mydomain.com was required. At work, we use mydomain.com directly as the custom origin, and setup was super simple (just tell CloudFront the domain). Is there anything wrong with doing it this way?

comment 14y ago · link · parent

Not weird at all. Companies the size of Amazon are practically bound to be schizophrenic.

comment 14y ago · link · parent

max-width also works here.

comment 14y ago · link · parent

Buying a download is another case - can't revoke that.

comment 14y ago · link · parent

Thanks for making the distinction, but the word "fallacy" can also be used more loosely than the way you define it. Googling "fallacy definition" gives me:

    1. A mistaken belief, esp. one based on unsound argument.
    2. A failure in reasoning that renders an argument invalid.
We were using it in the first sense.

comment 14y ago · link · parent

This is a common fallacy about evolution, and is explained beautifully by the anthropic principle, or in other words, the innate selection bias of our existence.

I'm a little confused about how the anthropic principle explains this fallacy (and it is a fallacy to be sure). I guess you're referring to how natural selection (and all the other sorts of selection that occur regularly) lead to the existence of "appropriate" organisms and features.

But I think knowing some of the actual details in how evolution works at all the different levels (molecular bio, epigenetics, competition/cooperation, behavior, etc, etc, etc) serves as an even better explanation. Here's a 25 lecture course from Stanford that explains just that: http://www.youtube.com/watch?v=NNnIGh9g6fA

comment 14y ago · link · parent

He might be referring to blue brain, though I recall that simulated 100k neurons from the neocortex (not quite half a mouse brain). The thing is that they simulated the physical processes in the synapses and more for a more accurate representation, so it's actually a lot cooler than it sounds!

Here's a link I googled up: http://bluebrain.epfl.ch/cms/lang/en/pid/56882

comment 14y ago · link · parent

Also, consider training time. I doubt babies are recognizing 20k objects at 15% success rate after just a few days. Though to really compare that, the speed of the brain vs the speed of the supercomputer has to be normalized for, and training data and network size has to be similar as well of course for any real comparison.

comment 14y ago · link · parent

scotty79 means to showing a human only the 10 million 200x200 images. We probably see a lot more than that, in 3D from different perspectives with continuity in motion, and in a lot more detail and possibilities for filtering.

comment 14y ago · link · parent

Eh.. I know 2-year-olds who know how to do things on the iPad that the adults around them don't! It's ridiculous to think kids aren't learning at these early ages - it's when the brain is most plastic after all.

The fundamentals of language are getting pinned down at the same time in their little heads, and children who start training any skill at such an age tend to become proficient at it. I don't see why this can't be the case with computing as well.

comment 14y ago · link · parent

di" is one of my favorite commands. Delete everything inside the quotes not including the quotes.

You usually want to replace what's inside the quotes, so hence use ci"

cit is pretty nice for replacing a tag's inner html. And of course this works with parentheses - ci( - and brackets - ci[ - and curly braces and single quotes and angle brackets.. I love vim :)

comment 14y ago · link · parent

But that doesn't give you autocomplete within the editor, it seems like it just opens up the editor and evals the file after exiting the editor.

comment 14y ago · link · parent

I think it's actually a bit more random than that. Sometime in the last few years on HN I seem to recall reading that it was a function of whether the URL posted is in some cache or not. If that's true, then recently accessed article can't be reposted.

comment 14y ago · link · parent

Are you crazy?! You have a money-making machine there: just do the opposite of what you'd normally do!

comment 14y ago · link · parent

My impression was that the pre-change cancellation rate was based on all customers over the lifetime of the product (they did calculate the 61 day average from this), whereas the post-change was only for the new customers in the last two months (the max it could be, and the only thing it makes sense to measure).

comment 14y ago · link · parent

If the average time to cancel is 61 days, and they waited only 2 months since the changes to calculate the new cancellation rates, it stands to reason that the cancellation rate will rise over the next few months, right?

Assuming a normal distribution (probably not that accurate, but it's just a guess), the final cancellation rate would be about double that measured until now.

Am I missing something here?

comment 14y ago · link · parent

Or, you have an bias for optimism, like most people.

http://www.youtube.com/watch?v=B8rmi95pYL0

comment 14y ago · link · parent

Thanks for the reply. Yeah, I understand TCP enforces packet order and works really well for large transfers etc.

But when writing a game where people interact in "real time" through their browser via websockets, anything to get TCP latency down is a plus in my book.

While packet loss is bound to cause some latency issues, I just want to minimize the latency hit for packet loss as much as possible. For instance, in a high packet loss situation, to overcome double loss (where a retried packet gets lost, causing 2xRTT of extra latency), perhaps TCP can send multiple retries at once after a single lost packet. For all I know, maybe this is a standard configuration parameter that I just have to set appropriately.

comment 14y ago · link · parent

Sorry I didn't read your comment properly. If nothing else works, maybe you can develop with a Linux VM with a platform that already has a good websocket server (say, node.js), and host on any VPS. Good luck.

comment 14y ago · link · parent

This and fact IE/Opera do not have websocket implemented, makes me come back to good old Flash technology

See socket.io for something even better.

comment 14y ago · link · parent

Thanks, I spent some time trying to figure out how I could configure this retransmission timeout. The SACK solution you describe sounds like a great idea.

Is that the optimum solution though? Could one, say, have two TCP connections and send the same data on both? This way, maybe when one connection experiences packet loss, the other can carry on. This probably doesn't actually work due to high packet loss correlation or something (I have no idea about networking), so it would be interesting to hear what experts think.

Are there any other relevant parameters to tweak in order to make TCP's performance slightly more like that of UDP? Working on an MMO game myself (for fun), so would be great to know.

comment 14y ago · link · parent

How so? I'm really curious, do you have any links detailing the upcoming availability of UDP in the browser?

comment 14y ago · link · parent

Yes, the factored version is much clearer. Though you want to make sure the refactored version is equivalent, which it isn't in your case due to a change of order.
1
161718
21