HNHacker News
TopNewBestAskShowJobs

bluesmoon

4,383 karma · joined January 2, 2010

[ my public key: https://keybase.io/bluesmoon; my proof: https://keybase.io/bluesmoon/sigs/zjNc0lEla9p9TSEm8TeHw-BkA0ot1GazUD9QPGq2qAI ]
submissionscomments
bluesmoon··on Words for “yes” in Romance languages
It was covered in second year French when I studied it in India through Alliance Française.
bluesmoon··on Instead of tracking page loads, track how many times it was viewed (2017)
You'll also want to track the pageshow and pagehide events (because of PageCache), and note that prerender is now obsolete. Browsers no longer support it and the spec is dead.

boomerang has been using PageVisibility for as long as the API has existed, and also handles the prerender case for when browsers did support it. The source is open if you'd like to see how we do it: https://github.com/soasta/boomerang

bluesmoon··on The Origin of the word Daemon (2002)
The jargon file describes the different usage of daemon, demon , and dragon: http://www.catb.org/jargon/html/D/daemon.html as it pertains to computing.
bluesmoon··on Ask HN: What website, from your early days on the net, do you miss?
webmonkey.com because that's where I learnt a lot of my craft, and TalkCity (which probably still exists) because of the community I discovered when I was going through a rough personal patch, and that community no longer exists.
bluesmoon··on Why does man print “gimme gimme gimme” at 00:30?
Benny owns the Rival Hotel in Stockholm. They mainly play ABBA music in the lounge. I spoke at the Stockholm webperf meetup a few years ago and the organisers put me up at this hotel (side story about how flying from Munich to Boston via a night in Stockholm saved me $400 in airfare). It was a really nice, modern hotel, very comfortable, and stylish, and of course, for a 70s/80s kid, the music was great.
bluesmoon··on Why does man print “gimme gimme gimme” at 00:30?
The exit value is always 0 regardless of what's printed on stderr. If code parses stderr to determine error state instead of looking at the exit code, then it's doing unix wrong.
bluesmoon··on www.reddit.com/etc/passwd
TIL: Chrome thinks these passwords are written in Maltese
bluesmoon··on How to Interpret Site Performance Tests
It's fascinating that even 10 years after many people speaking about the importance of RUM when measuring performance, the majority of articles these days completely ignore the existence of RUM.
bluesmoon··on FemtoCleaner – A bot to automatically upgrade your Julia syntax
Just enabled it for one of my packages, but since I still support 0.4, not sure how many PRs I should expect.

Update: looks like no applicable deprecations

bluesmoon··on Countdown to timestamp 1,500M
timestamp is stored as a signed value since it can also go backwards from the epoch, so you need 2^31-1
bluesmoon··on Regex Puzzle
Well, there is https://regexcrossword.com/
bluesmoon··on Charles Simonyi on Intentional Software Joining Microsoft
Charles Simonyi is also the person behind the Hungarian Notation of naming variables.
bluesmoon··on Akamai blocks unordered HTTP request headers
Well, everybody knows that in statistics, a sample size of 1 gives you a 0 margin of error ;)
bluesmoon··on The cost of using different sites on mobile networks around the world
> TCP protocol will restart over with single packet when a packet gets lost rather than optimising for throughput.

It will back off to an earlier window size. It won't just jump to 1 packet. As of 2010, the default initial window size is 10 packets across OSen, so it's unlikely to ever get to 1 packet unless you're on a really lossy network.

bluesmoon··on WordStar: A Writer's Word Processor (1996)
Had to memorize the entire list of Wordstar command sequences for school. We were tested on it in the 9th grade.
bluesmoon··on Time matters: when UTC time is just not enough
I wrote this somewhat thorough post about time, date, events, and timezones in response to a stackoverflow question once: http://stackoverflow.com/questions/2532729/daylight-saving-t...

It covers repeating events, historical accuracy, ranges, events that are fixed in localtime but variable in UTC, and more.

TL;DR: Always store UTC datetime + TimeZone, sometimes you need to store a little more information.

bluesmoon··on FBI Used Best Buy's Geek Squad to Increase Secret Public Surveillance
That's nothing. The Buy More in Burbank has a joint CIA/NSA lair hidden beneath it and the Nerd Herd are operatives. There's even this one guy with some kind of Database (possibly NoSQL) installed in his brain.
bluesmoon··on The Awk Programming Language (1988) [pdf]
even sed is turing complete. I once did a talk about this at Opensource Bridge: http://tech.bluesmoon.info/2008/09/programming-patterns-in-s...
bluesmoon··on Physicists taking jobs as Silicon Valley software engineers
In 1997, I met my former professor of Quantum Mechanics and he said, "I hear you've gone over to the Dark Side". He was referring to the start of my professional software development career. I'd been an amateur developer for a decade prior to that, but took a break to pursue a degree in physics.

We had a long discussion during which I told him that I'd always wanted to program computers, but didn't think it made sense to get a degree doing something I could learn in my bedroom. Physics, on the other hand, was fascinating, and could only be truly learnt and appreciated from people who'd devoted their lives to it.

20 years later, I think those years of training in physics have made me a better developer, and taught me to better see patterns in data. To prefer "good enough for the task at hand and elegant enough to be proud of" over "perfect" (which is what many of my math friends ended up seeking).

bluesmoon··on Yahoo installed a backdoor for the NSA behind the back of the security team
yahoo groups is still very big. it was big before yahoo acquired it (egroups), remained almost unchanged throughout the years, and is now in maintenance mode, but there are still millions of users who continue to sign up.
bluesmoon··on Yahoo installed a backdoor for the NSA behind the back of the security team
If only we could convince the millions of yahoo groups users to move their groups elsewhere.
bluesmoon··on Yahoo installed a backdoor for the NSA behind the back of the security team
Unfortunately it's not that simple. More often than not, someone high up will find someone low whose continued stay in the country is highly dependent on them keeping this job.

While I've never had to make such a choice, I can tell you that my personal attitude towards what I would and wouldn't do changed the day this restriction was removed.

bluesmoon··on Yahoo installed a backdoor for the NSA behind the back of the security team
The people who do this aren't wilful engineers.

Source: I'm a former member of Yahoo's Paranoid team.

bluesmoon··on A Guide to the Breads of India
I hear you. I've lived in both states. I also think it's cool that the Medu Vada is different in Coastal Karnataka (Mangalore/Konkan region), Inner Karnataka, Goa & Tamil Nadu.
bluesmoon··on A Guide to the Breads of India
Sannas are made with Palm Toddy, which MUST be used before 7am (it's collected overnight and ferments quickly).
bluesmoon··on A Guide to the Breads of India
Vade and Vada are different things. Vade is a very Maharashtrian thing (think daal vadi) and looks nothing like either medu vada or aloo bonda (vada pav)

Also, if you're in the US, you can get most of these frozen in any medium sized Indian store.

bluesmoon··on A Guide to the Breads of India
Well, the article covers Uttapam under variations of either dosa or appam, which I kind of agree with. Kothu Paratha is just minced up regular parota, so I would put it in the category of dishes made with breads (though I guess dal dhokli and dal baati also fall into this category).
bluesmoon··on A Guide to the Breads of India
Yes, methi thepla is made of a mix of besan and atta. My wife's mom makes the best theplas and chundo.
bluesmoon··on A Guide to the Breads of India
That was the day I left Delhi.
bluesmoon··on A Guide to the Breads of India
It is quite extensive, though there are still a few missing. Bajri Roti, Akki Roti, Ragi Roti, Missi Roti, Makki Roti, Rotti (the crisp ones eaten with Kori Rotti), phulka, tava chappati, poi, dhokli (in dal dhokli), puri, idlis (and all variations of it), sannas, fugiyas, and this is just what I can remember from the North & West.
← PreviousPage 3 of 13Next →