Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dfawcus
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
61.
▲
by
dfawcus
1y ago
> and there is no canonical way to document that A satisfies B Surely that is wrong: package satisfy type I interface { foo(); } type S1 struct { a int; } type S2 struct { a int; } func (s *S1) foo() { s.a = 1; }
62.
▲
by
dfawcus
1y ago
In 1988 I worked for around a year for a company which used NAPLPS for various Data Broadcast advertising devices. It actually had quite impressive graphics capabilities, although the vector graphics took some time to draw (using NEC V30 CP
63.
▲
by
dfawcus
1y ago
Or even just eat Rabbits, as they're already a common recognised food animal?
64.
▲
by
dfawcus
1y ago
We shall have to adopt a new fashion for Australian style cork hats: https://en.wikipedia.org/wiki/Cork_hat
65.
▲
by
dfawcus
1y ago
I have one of these devices on my landline. https://www.truecall.co.uk/shop/truecall-call-blocker Having an equivalent functionality built in to a mobile would definitely be welcome.
66.
▲
by
dfawcus
1y ago
Are 'spelling bee' contests only (or mainly) a USA thing? My first experience of the idea was in US films and TV programs. I never came across it at school in England. FWIW, my reading lessons (both at school in the early '7
67.
▲
by
dfawcus
1y ago
Generally, in any language, I'd suggest of you're fiddling with lots of locks (be they mutexes, or whatever), then one is taking the wrong approach. Specifically for Go, I'd try to address the problem in CSP style, so as to a
68.
▲
by
dfawcus
1y ago
Alef (arguably one of the antecedent of Go) had stackful couroutines/fibers yet it could have had such a seamless FFI to the standard C API/ABI. The plan9 libthread (which reimplemented the Alef concurrency model for C) did have s
69.
▲
by
dfawcus
1y ago
FWIW, Alef also used a 'become' keyword for a tail-call version of 'return'. That in a quite C-like language.
70.
▲
by
dfawcus
1y ago
Oddly enough, I pronounce 'legged' that way, but not 'winged'. e.g. "Long legged monster"
71.
▲
by
dfawcus
1y ago
Þe 'ae' glyph is still used in printed English, e.g. spelling of 'Encyclopaedia', 'paedophile' Similarly þhe 'oe' glyph is also used, often in medical contexts. Þe loss of þorn is somewhat sad, as it
72.
▲
by
dfawcus
1y ago
Well, obviously speed when one is on the clock. All power tools have trade offs vs the manual alternates, often tipping towards their use, but not always. I have had success on an occasion using a belt fed screw gun when fitting plaster boa
73.
▲
by
dfawcus
1y ago
Nah - one would simply use a punch with the hammer. So nail the architrave with the hammer until the nail is say 1/8" proud, then punch it home.
74.
▲
by
dfawcus
1y ago
Maybe they can, but what the human is able to do is examine the tower of Hanoi problem, and the derive the general rule for solving (odd or even number of disks). Based upon that comprehension, we then need little working memory (tokens) to
75.
▲
by
dfawcus
1y ago
Except the official report stated something different. Report here: https://hmicfrs.justiceinspectorates.gov.uk/publications/pol... The below from the FSU page: > However, HMICFRS explicitly found “no conclusive or
76.
▲
by
dfawcus
1y ago
There is also a CP/M PL/I compiler, and apparently also CPM-86 and DOS versions. Simply because some of the source file (1 or 2) for CPM are written in PL/1, rather than the majority having been written in PL/M, then eve
77.
▲
by
dfawcus
1y ago
Would that be this, using the current version of the TUHS archive? https://www.tuhs.org/pipermail/tuhs/2021-November/024695.htm...
78.
▲
by
dfawcus
1y ago
Isn't SMS 2FA immune to SIM swapping attacks when the SIM is an unregistered PAYG one? i.e. there is no way to contact the carrier and get the number reassigned to a new SIM unless one first registers the SIM, and hence binds the numbe
79.
▲
by
dfawcus
1y ago
> anon SIM are no longer allowed in the EU Surely Ireland still allows them? If not, they're trivial to source from NI.
80.
▲
by
dfawcus
1y ago
Then have the server error response vend the Anubis JS as a fallback?
81.
▲
by
dfawcus
1y ago
I'd suggest a lot of the reason behind choosing Go, may well be the GC by default, which can simplify a lot. Then only needing to optimise a subset of memory use cases. Maybe an alternative would be choose D, as it also has a GC, and a
82.
▲
by
dfawcus
1y ago
The English may be the same, but the accents are different, and often so are the speech patterns. Folks in GB can generally distinguish someone with a Northern Irish accent from someone with a more southerly Irish accent. e.g. Belfast, or D
83.
▲
by
dfawcus
1y ago
An amusing anecdote, especially the Superman comparison at the end... "but I had nothing on bar me jocks"
84.
▲
by
dfawcus
1y ago
It is a traditional one which fell out of fashion. https://weather.metoffice.gov.uk/learn-about/weather/seasons... https://twominenglish.com/autumn-vs-fall/ Now if we start saying "diape
85.
▲
by
dfawcus
1y ago
As a Brit, so did I. That said, a "rotor" would be pronounced as "rOATer" and has a completely different meaning. isn't English fun !
86.
▲
by
dfawcus
1y ago
Not 'virtually', Scots is a different language to English, and Doric is a dialect of Scots. English and Scots are sibling languages, c.f. some of the geographically close Scandinavian languages. If you want a quick guide to langua
87.
▲
by
dfawcus
1y ago
Try ObjFW instead, a largely self contained set of tools and framework, and if I recall correctly it contains its own base root class. I certainly managed to use it for some test programs a number of years ago. https://objfw.nil.
88.
▲
by
dfawcus
1y ago
I had a need for that, on TCP and UDP connections. The former behind a net.Conn. Rather than fiddle with Close() calls, from memory what I found worked was setting a short (or in the past) deadline on the Conn (SetReadDeadline). This as it
89.
▲
by
dfawcus
1y ago
Yup, most of my uses were unbuffered, or with small buffers (i.e. 3 slots or fewer), often just one slot.
90.
▲
by
dfawcus
1y ago
That was two main developers, one doing most of the code and design, the other a largely closed subset of 3 or 4 nodes. Plus three other developers co-opted for implementing some of the nodes. [1] The problem space itself could have probab
More ›