For the best experience on desktop, install the Chrome extension to track your reading on news.ycombinator.com
Hacker Newsnew | past | comments | ask | show | jobs | submit | history | more bluesmoon's commentsregister

When I was a child about 40 years ago there was a slogan "हम दो, हमारे दो" which translates to "We are a couple, we will have two children". Then in my teens it turned to "हम दो हमारे एक", ie, "We are a couple, we will have one child". It was on TV, in print ads, on the sides of buses, everywhere. There was also a huge move to make contraception easily available to every woman in the country. Then in the 90s TV was privatized and it all disappeared.


It wasn't privatization that caused the disappearance of these ads, but the fact that the government decided to take a step back from pushing family planing after the disastrous efforts of the Indira Gandhi government.

Resources/education/contraceptives/abortion are still easily available to people, just without the dystopian ads or forced sterilization campaigns.


The whole thing was just fearmongering. Many other countries have seen huge drops in fertility rates without any heavy-handed methods.


How much of the increase was due to reloads since when facebook goes down, the performance of sites that include FB javascript tends to get worse.

For example, see https://www.akamai.com/blog/news/the-impact-of-third-party-s... and https://twitter.com/paulcalvano/status/1445244384598011906


Obligatory mention of Greg's Cable Map which has been around since forever: https://cablemap.info/ and now under new ownership at https://www.infrapedia.com/app



IQR is 75th - 25th, aka, the middle-50%


Ok this, box plots are a good way to visualize and show distribution esp to a not so stat heavy audience.


You’re right I mistyped.


This is exactly the algorithm we developed at LogNormal (now part of Akamai) 10 years ago for doing fast, low-memory percentiles on large datasets.

It's implemented in this Node library: https://github.com/bluesmoon/node-faststats

Side note: I wish everyone would stop using the term Average to refer to the Arithmetic mean. "Average" just means some statistic used to summarize a dataset. It could be the Arithmetic Mean, Median, Mode(s), Geometric Mean, Harmonic Mean, or any of a bunch of other statistics. We're stuck with AVG because that's the function used by early databases and Lotus 123.


No we’re stuck with it because average was used colloquially for arithmetic mean for decades.

I wish people would stop bad-mouthing the arithmetic mean. If you have to convey information about a distribution and you’ve got only one number to do it, the arithmetic mean is for you.


I think it still depends on the nature of the data and your questions about it, and median is often the better choice if you have to pick only one.


“It depends” is always right but which function is better for arbitrary, unknown data?

At least the arithmetic mean is fine for Gaussian distributions, and coneys a sense about the data even on non-Gaussian ones. but the median doesn’t even work at all on some common distributions like scores of very difficult exams (where median=0)

For the mean, at least every data point contributes to the final value.

Just my 2c


Yes, Lotus 123 came out 38 years ago :)


I tied my shoelaces with a fisherman's knot. This only has to be done once per shoe for life. I never have to untie them. Just slide on and off. The bottom of the shoes wear out before the laces ever come loose.

Doesn't work as well for boots though, and tying a fisherman's knot while wearing snow gloves is a pain.


Also in the Boston Area. The sun, Mercury and Venus are in the Museum of Science. Earth is supposed to be in the Royal Sonesta hotel, but I believe it was moved to clean the area and never put back. Mars is in the Galleria mall, Jupiter is at South Station, and the rest of the planets are much further out. More details at https://www.bostoncentral.com/activities/landmarks/p1018.php


> Earth is supposed to be in the Royal Sonesta hotel, but I believe it was moved to clean the area and never put back.

Ha, that is straight out of a Douglas Adams book.


In Boston it's called the Big Dig


Sadly it seems like a few of them are missing these days from the Boston equivalent: https://gregcookland.com/wonderland/2018/02/09/community-sol...


until someone runs a spellcheck on this code and changes all locations to fortytwo


Fourtytwo: a number equaling four amounts of ten plus two singular amounts.

Fortytwo: a defensive fortification with a nickname. See also Boaty McBoatface.


Another thing to note about custom headers is that when used in an XHR (eg: X-Requested-With), they will force a preflight request (with the OPTIONS method). If your webserver isn't configured to handle OPTIONS and return the correct CORS headers, that will effectively break clients.

Best to just never use custom headers.

I've written more about this here: https://developer.akamai.com/blog/2015/08/17/solving-options...


Yep, you've got to be careful with browser HTTP requests! Conveniently on this very same site I built a CORS tool that knows all those rules and can tell you how they work for every case: https://httptoolkit.tech/will-it-cors/


I see this a lot as an anti CSRF technique in AJAX based SPAs.


yeah, those techniques predate CORS, but even back then, you'd typically add your anti-csrf token to the payload rather than the header. CSRF is application level logic rather than protocol level.


> they will force a preflight request

That's why they're so great. use a custom header and never worry about CSRF issues.

Use custom header and be sure that if request comes from the browser it was made by legitimate code from your origin.


It often causes a double-take for me when I see projects on HN with the same name as projects I once worked on.

Way back in time, maybe around 1998, a friend an I worked on a steganography tool that we called Spyder. I don't remember where it was published or under what license (probably freeware), but the algorithm was incorporated into Hide4PGP (http://www.heinz-repp.onlinehome.de/Hide4PGP.htm), and we stopped work on it.

This post just caused a bit of nostalgia. I can still remember my co-developer taking a break jamming on a bass guitar while we tried to figure out the striping problem (the solution was to compress the data to increase entropy first).


There's also a recent video game named Spyder

https://www.spyderthegame.com/


Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search:

HN For You