HNHacker News
TopNewBestAskShowJobs

fred256

1,185 karma · joined February 22, 2014

submissionscomments
fred256··on You Can’t Sacrifice Partition Tolerance (2010)
(2010)
fred256··on Why rich parents have rich children
Beautifully illustrated in this comic: https://www.rnz.co.nz/news/the-wireless/373065/the-pencilswo...
fred256··on Ask HN: Are impressive new programs being written for CP/M?
There are a few others on Tindie, e.g. this one: https://www.tindie.com/products/tindiescx/sc131-pocket-sized...
fred256··on Facebook Reports First Quarter 2021 Results [pdf]
Looks like q4inc.com is the corporate website. (Oh I see this was mentioned in a sibling comment already)
fred256··on Facebook Reports First Quarter 2021 Results [pdf]
The FB investor relations site links to the exact same URL.
fred256··on I Don’t Want Xcode on the iPad
> The important thing about the M1 iPad is that it’s the first time iOS is running on M1, and therefore M1 is the first chip that can rup both iOS and OSX.

The Apple Silicon Developer Transition Kit contained an A12Z that ran macOS, so the M1 is not the first.

fred256··on Millions of the Pentagon’s dormant IP addresses sprang to life on January 20
Not just Chinese companies. I know of one FAANG company that used internal IP addresses in the 11.0.0.0/8 space (in addition to, not instead of, RFC 1918 space).
fred256··on Proposal: expression to create pointer to simple types
a, b := 1, 2

If either a or b (but not both) were already defined, this won't re-define (and reallocate space for) them.

fred256··on Proposal: expression to create pointer to simple types
From the language specification:

> Numeric constants represent exact values of arbitrary precision and do not overflow.

fred256··on Thanks for the Bonus, I Quit
2008, it was a T-Mobile G1 which was the first Android phone on the US market.
fred256··on Please do not put IP addresses into DNS MX records
Sorry to be pedantic, but there is no such thing as an ALIAS record. It's just the DNS server doing the indirection for you.
fred256··on Donut.c Without a Math Library
The monospace font used has a ligature for “fl” making the keyword “float” look weird.
fred256··on Reverse-engineering the classic MK4116 16-kilobit DRAM chip
Reading about separate row and column addresses reminded me that the Apple II had its address lines arranged in such a way that the video circuitry would naturally read every row of memory, thus obviating the need for a separate refresh circuit.

(To RAM, the order of address lines doesn't matter)

fred256··on Mathematics for Computer Science (2017) [pdf]
The second author, F Thomson Leighton, doesn't just work at Akamai Technologies, he's the co-founder and CEO.
fred256··on ARM chips have an instruction with JavaScript in the name
If you always take a branch, it's not a branch.

Or did you mean by "taken" that the branch instruction has to be executed regardless of whether the branch is taken or not?

fred256··on Morgan Stanley Closes Acquisition of E*TRADE
The acquisition closed as of yesterday:

https://www.morganstanley.com/press-releases/morgan-stanley-...

fred256··on The Unix timestamp will begin with 16 this Sunday
"π seconds is a nanocentury."

https://en.wikipedia.org/wiki/Tom_Duff

fred256··on The Unix timestamp will begin with 16 this Sunday
I hope you are running an up-to-date Splunk version:

Beginning on September 13, 2020 at 12:26:39 PM Coordinated Universal Time (UTC), un-patched Splunk platform instances will be unable to recognize timestamps from events with dates that are based on Unix time, due to incorrect parsing of timestamp data.

https://docs.splunk.com/Documentation/Splunk/latest/ReleaseN...

fred256··on Moreutils – Unix tools that nobody thought to write (2012)
See the first example on the web page:

  % sed "s/root/toor/" /etc/passwd | grep -v joey | sponge /etc/passwd
If you tried this as:

  % sed "s/root/toor/" /etc/passwd | grep -v joey > /etc/passwd
The shell would overwrite /etc/passwd with an empty file before sed has a chance to read from it.
fred256··on How NAT Traversal Works
It's not the NAT part on the easy side, it's the firewall on the easy side that needs to be open.

Even if the easy side knows (through STUN) that its public address is 2.2.2.2:1234, that doesn't mean it'll accept any packets addressed to 2.2.2.2:1234.

For it to accept packets from e.g. 5.5.5.5:7890, it first needs to send a packet there, to create the connection table entry in the firewall.

But... it doesn't know what port 5.5.5.5 is going to be sending from (since that's the whole point of 5.5.5.5 having a "hard", i.e., destination-dependent-mapping, NAT), so it can't preemptively send a packet to open the firewall.

At least, this is my understanding.

fred256··on Lisp Badge: A single-board computer that you can program in uLisp
It looks like this is using the ATmega 1284 which has 4 times the flash (128 kB vs 32 kB) and 8 times the RAM (16 kB vs 2 kB) as the 328.
fred256··on Why is there a “V” in SIGSEGV Segmentation Fault?
It's interesting to see all signal names in that early version had six letters (SIGQIT instead of SIGQUIT, even) but SIGPIPE was the exception. Was that one added later?

(Also funny how the article says "this is from around 1978" when the date on the listing says May 24 1976)

fred256··on Discret 11, the French TV encryption of the 80s
In the Netherlands, I remember electronics stores carried DIY kits with names such as "TV signal quality enhancer". I only later realized what these were actually for.
fred256··on Google Domains blocking all Gitbook URLS: post-mortem
But not for any binary content as uploaded by the user, that's served from raw.githubusercontent.com.
fred256··on Build an 8-bit home computer with 5 chips
One of which was custom designed (an ULA) for the ZX81.

The ZX80 used 21 (IIRC) off-the-shelf TTL chips.

fred256··on We called it RAID because it kills bugs dead
Buganizer was preceded by BugsDB if I recall correctly
fred256··on Diabetes in mice cured rapidly using human stem cell strategy
> I stopped counting how many times we cured any forms of diabetes in various mouse models.

A well known joke in the diabetes community: the soonest way to find a cure for diabetes is to figure out how to turn humans into mice.

fred256··on Annual Letter to Berkshire Shareholders (2019) [pdf]
Despite the (2019) in the submission title, the letter was published today (2020-02-22).
fred256··on Show HN: GoCode.io – A Golang Game in the Browser
My initial solution for this was to sleep 20*x milliseconds in setButton. Because the later random sleep is up to 10 milliseconds this ensures that the operations are always done in the defined order.

But I guess that's not what they were after, the solution was indeed as simple as:

    z.Ybpx()
    qrsre z.Haybpx()
fred256··on Show HN: GoCode.io – A Golang Game in the Browser

    var buttons = []string{"red", "blue", "green", "yellow", "purple"}

    > go run level_9.go

    Sending Code Sequence...
    1 : red
    2 : blue
    3 : green
    4 : yellow
    5 : purple

    Sorry, that's not correct
Not sure what the correct sequence is, if not that?
← PreviousPage 2 of 6Next →