HNHacker News
TopNewBestAskShowJobs

gfv

257 karma · joined July 27, 2013

submissionscomments
gfv··on Vancouver strip club's Instagram taken down over sign featuring lake joke
Vancouver is in Canada.
gfv··on In defence of swap: common misconceptions (2018)
sysctl vm.overcommit_memory=2. However, programs for *nix-based systems usually expect overcommit to be on, for example, to support fork(). This is a stark contrast with Windows NT model, where an allocation will fail if it doesn't fit in the remaining memory+swap.
gfv··on Boeing 787s must be reset every 51 days or 'misleading data' is shown (2020)
I was talking specifically about double-precision floats. Single-precision floats can represent every integer up to +-2^24.
gfv··on Boeing 787s must be reset every 51 days or 'misleading data' is shown (2020)
I have a way simpler explanation. IEEE 754 double can only represent integers up to 2^53 without precision loss, so if you naively average two numbers greater than 2^52, you get an erroneous result.

It just so happens that 2^52 nanoseconds is a little bit over 52 days.

I've seen the same thing with AMD CPUs where they hang after ~1042 days which is 2^53 10-nanosecond intervals.

gfv··on Music Industry's 1990s Hard Drives Are Dying
Yes, you can chuck your SSD into a freezer. Data retention time increases exponentially in lower temperatures, so keeping it in a regular +4C fridge is enough to extend retention by decades.

Just remember to heat up the disk before writing and after storage.

https://www.ni.com/en/support/documentation/supplemental/18/...

gfv··on Why not parse `ls` and what to do instead
Powershell is mostly case-insensitive, and most of the core cmdlets have short aliases. Try `Get-Alias` (or `gal`) to learn more.
gfv··on Experience with SQLite as a Store of Files and Images
You can use streaming WALs, like Litestream does. It is a pretty simple way to do incremental backups.
gfv··on British Post Office Scandal
Yes, there is the technical appendix to the 2019 judgement.

https://www.jfsa.org.uk/uploads/5/4/3/1/54312921/technical_a...

gfv··on Origins of J
It really doesn't help that it's written in ancient K&R C, but if you spend ten or so minutes just staring at it, familiar shapes and patterns start to appear. (Give it a try!)

Incidentally, it's in line with how APL code looks like an alien artifact at first, but you get used to it fast if you have spatial reasoning to wrap your head around reshaping and transposing.

gfv··on How thermal management is changing in the age of the kilowatt chip
In datacenters, you're mostly limited by the power (and thus cooling). Most commercial DCs only let you use up to about 10kW per rack. For standard 40U racks it's just 250W/RU, give or take.

There are niche expensive datacenters with higher power density, but as it stands, exotic multi-kW hardware at scale makes sense if you either save a ton on per-node licensing, or you need extreme bandwidth and/or low latency.

gfv··on US Smartphone Shipments Decline 19% in Q3 2023 as More Americans Delay Upgrade
Zenfone 10 is only marketed as a compact phone. In reality, it is just slightly narrower than a Samsung S23 (146.3 x 70.9 x 7.6).
gfv··on Your nines are not my nines (2019)
The shining example is https://grafana.wikimedia.org .
gfv··on An INI Critique of TOML (2021)
>why do we measure time in hours, days, weeks, months, and years rather than in decaseconds, hectoseconds, kiloseconds, megaseconds, etc.?

We don't use them generally because at the time of French Revolution, due to taxes, standardizing the state units of measurement of physical goods was a much more pressing concern than time. (If I were to guess, there were no work hours limits, and thus it just hadn't crossed the popular mind). Weeks were changed to have ten days though.

That's not to say that they hadn't tried: decimal time was mandatory for a few years before they realized that there were too many clocks around, and pushing decimal time can actually turn people hostile against the then-new metric system.

We still kinda sorta use them in form of fractions of Julian days.

gfv··on Tarsnap outage postmortem
How long do you keep the transaction logs before rewriting them?

I too had a few EC2 instances go down with signs of being severed from the EBS in the recent couple of weeks; mine were in eu-west.

gfv··on Fhtagn – A tiny CLI programs tester written in Awk
I'm pretty sure Lovecraft was at most a passing thought. The more immediate context would be the Putin's internet "AMA" in 2006[1], where "how do you feel about the awakening of Cthulhu" became a meme after becoming the second most popular question. Through the years, it and its associated memes like "fhtagn", "will devour brains", lost their connection with the origin and became a part of the background meme noise. (Compare it with how you don't think about /b/ any time your rickroll someone.)

[1] https://www.sffchronicles.com/threads/41643/

gfv··on Reddit crashed because of the growing subreddit blackout
When operating a complex system like Reddit, you know that something is going to happen during a significant event, but you generally don't know exactly what will break first.

What's worse is that the system evolved as a response to the previous similar event, and what broke now is probably not what had broken in the past.

gfv··on EPYC 7002 CPUs may hang after 1042 days of uptime
Individually disposable, yes. But if you have a cluster of those, and you powered them on at the same time -- as it often happens -- you're in for an exciting ride when your servers start rebooting almost simultaneously, give or take a few minutes.
gfv··on EPYC 7002 CPUs may hang after 1042 days of uptime
There are always bugs in silicon, just like there are bugs in software. They mostly show up under "a highly specific and detailed set of internal timing conditions". There are 40 documented erratas on EPYC 7002s alone; there are 35 in the 13gen Intel CPUs, including, curiously, RPL038, "Processor Exiting Package C6 or C8 May Hang". Mobile ARM chip manufacturers are notoriously bad at documenting their bugs, so who knows how many they have.

This one is interesting because its preconditions are so trivial, and it will affect many more people than usual.

gfv··on I Still Use Windows 95 (2008)
Precisely. Compare your comment with these excerpts from the article:

>Windows 95 is reasonably fast in performance, and is not compromised by the arguably frivolous animation and eye candy features in Windows 98 and newer versions.

>I prefer to have as much native compatibility as possible with DOS applications such as older games I own.

gfv··on I Still Use Windows 95 (2008)
Windows 95 was released 13 years prior to the article, roughly the same time span as between Windows 7 release and today. Windows 7 is still installed on a single-digit percentage of computers. It is interesting to see that the reasons outlined in the article could be used almost word-for-word by someone justifying their use of Windows 7.
gfv··on I just learned about HTML redirects (2020)
SSE came along much later. At the time it was common-ish to just slowly send HTML tags. I think at some point there was a gorgeous hack where they dynamically rendered and sent GIF frames with the messages of the chatroom.
gfv··on What is NMAP and how to use it? (2020)
A connection is unwarranted if AWS gets an abuse letter about it.
gfv··on Intel Thunder Bay is officially canceled, Linux driver code to be removed
Intel has been making GPUs since roughly 2002, 845 chipset series. (There were earlier ones, but I'm
gfv··on Some data centers are noisy neighbors
Datacenters should have good, reliable and redundant supplies of power and connectivity. It is much easier to build a data center near or in a population center where fiber and electricity substations are plentiful, than to build your own long-haul fiber and high voltage lines into the middle of nowhere.

Of course you can do the latter if you have unlimited capital, but most companies choose the path of least resistance.

Don't know what the walkability argument is supposed to mean though: Amsterdam is famously walkable and cyclable, yet there are quite a few data centers right next to the center of the city; same goes for London.

gfv··on Times New Roman is being phased out at the State Department, replaced by Calibri
You may want to print multiple pages per sheet.
gfv··on Why Twitter didn’t go down: From a real Twitter SRE
Yeah, network scaling bugs are the most fun. The one I liked the most was when after expanding a pool of servers, they started to lose connectivity for a few minutes and then come back a minute or so later as if nothing happened.

Turns out we accidentally stretched one server VLAN too wide, to roughly 600 devices within one VLAN within one switch. The servers had more-or-less all-to-all traffic, and that was enough to generate so many ARP requests and replies that the switch's supervisor policer started dropping them at random, and after ten failed retries for one server the switch just gave up and dropped it from the ARP table.

Of course the control plane policer is global for the switch, so every device connected to the switch was susceptible, not just the ones in the overextended VLAN.

gfv··on Mystery Blips
Pirate video releases generate heaps of traffic, and they won't be on the news. Earthquakes (mild ones, not the "cities collapse" kind) cause people to immediately go online and check on their friends. So do missile strikes, but those tend to generate extremely popular videos as well. During the holy month of Ramadan, you can see a rapid and deep traffic drop in Muslim countries right at their local sunset, when people have iftar, breaking their daily fast. A country in North Africa shuts down their internet access completely during their school exams. Popular web infrastructure sometimes reroutes your requests to distant data centers, leading to request latency exploding together with your queue lengths. In summer, the morning user activity peaks later than in autumn because schools are on their summer breaks.

I bet every seasoned SRE has a few to add.

gfv··on Turns are better than radians
They are used indirectly through distance. At the time, the meter was defined as one ten millionth of the distance between the north pole and equator through the Paris meridian. That means that the meter corresponds to 1/100000 of a grad of latitude -- which is better read as "a kilometre is 1/100 of a grad".

This is symmetrical to the nautical mile, which is one minute of arc.

gfv··on High System Load with Low CPU Utilization on Linux? (2020)
No, relatime applies to how often atime is updated, while lazytime controls how often all three file timestamps (atime, mtime and ctime) are written out to disk. They are orthogonal: you can have strictatime+lazytime to have accurate atime tracking that generates no disk IO on reads. The downside is, of course, if your system crashes, the non-persisted atimes will be unreliable.
gfv··on High System Load with Low CPU Utilization on Linux? (2020)
PSI tells you whether you have a problem or not; it's up to you to use the techniques described here to find the cause and the reason.
Page 1 of 2Next →