Better HN
topnewbestaskshowjobs
Log inSign up

dfawcus

574 karma · joined Mar 23, 2019 (7y ago) · 494 submissions

Submissions

comment 1mo ago · link · parent

Assuming you're a native English speaker, why is "whiskers" unfamiliar?

If not referring to the beard as a whole, how else would you reference the facial hair - whiskers is less of a mouthful than any other term.

comment 1mo ago · link · parent

What is the problem with that paragraph, other than the long sentence with many comma separated phrases?

The only 'non modern' bits are 'Michaelmas' (which I know is a Christianity related date), and 'undistinguishable' where I'd use 'indistinguishable'. So the note about the student being quizzed to translate to 'modern English' seems moot as it is modern English.

However, I'm English, so a number of the terms are immediately obvious.

I obvious know who the Lord Chancellor is (as the role still exists); as do the Inns of Court, being where Barristers receive their initial training. So I would suggest it is more a case of needing specific cultural knowledge, than needing enhanced language skills.

Bleak House: https://www.gutenberg.org/files/1023/1023-h/1023-h.htm

As to the rest of the initial 7 paragraphs.

In P2, I had to look up "aits" (islands); otherwise they are all of no issue other than the length of the sentences, occasionally requiring me to reread a few phrases.

Basically Dickens is modern English, with a few archaic words being used.

comment 2mo ago · link · parent

Was that not just to avoid other legal complications?

i.e. possibly Intel having some protection (copyright?) over its assembly mnemonics and register names.

comment 3mo ago · link · parent

The documentation for FlexOS 1.2/1.3 is available on Bitsavers. So someone could re-implement it.

The build kit for CDOS-68k 1.2 (aka FlexOS 68k) is available ob Gaby's site.

I worked for an OEM in the 90s, and we used FlexOS 286 (and 386) ver 2.2/2.3 on some custom systems, including an ePOS system.

comment 6mo ago · link · parent

Covid affecting my sense of smell had an impact on this.

Apart from not being able to taste coffee, I also could not taste freshly ground black pepper, fresh spicy peppers, nor Tabasco sauce.

I could only feel the effects of the capsaicin at the back of my throat after having swallowed.

comment 6mo ago · link · parent

The flaw with that article, it being the Beeb showing their bias, is that it mainly applies to the English Home Counties.

So it is a southern English habit, not a British one. The other parts of England are more direct, and will use more obvious phrasing. Similarly the other parts of Britain will be more direct.

comment 7mo ago · link · parent

I understand it works _if_ you declare p as being volatile, or explicitly tag it as _Atomic.

i.e., either of these forms:

    foo * volatile p;
    foo * _Atomic p;
Or at least it did when I was performing a similar experiment.

comment 7mo ago · link · parent

A section? All of Northumberland, as Wallsend is in Tyne and Wear.

The task of walking (or measuring) the whole of England's coastline is made a bit more difficult by the existence of various islands classed as part of England.

e.g. Isle of Wight, St. Mary's Island, Coquet Island, Lindisfarne, the other Farne islands, etc.

comment 8mo ago · link · parent

The volume of UK and US fluid ounces being different also doesn't help.

The UK pint is 568ml, apparently a US pint is 473 ml.

comment 8mo ago · link · parent

Attribute (qualifier), or storage class?

https://www.airs.com/blog/archives/428

The use of 'const' in C is very much a mixed blessing; I certainly have experience of the 'const poisoning' issue. Possibly it would have been better as a storage class.

For bool, yes it was a useful addition. Especially for the cases where old code would have something like:

    #define FLAG_A 1u
    #define FLAG_B 2u
    int has_flag_B (something *some) { return some->field & FLAG_B; }
and that was then combined with logic expecting 'true' to be 1; which could sneak in over time.

comment 8mo ago · link · parent

Alef [1], [2], [3] can in part be viewed as C where methods are available.

An 'aggr' is equivalent to C 'struct' combined with 'typedef', and an 'adt' is an 'aggr' having methods.

[1] https://en.wikipedia.org/wiki/Alef_(programming_language)

[2] http://doc.cat-v.org/plan_9/2nd_edition/papers/alef/ref

[3] http://doc.cat-v.org/plan_9/2nd_edition/papers/alef/ug

comment 9mo ago · link · parent

I had my first go at using it (Github Copilot) last week, for a simple refactoring task. I'd have to say I reasonably specified it, yet it still managed to to fail to delete a closing brace when it removed the opening block as specified.

That was using the Claude Sonnet 4.5 model, I wonder if using the Opus 4.5 model would have managed to avoid that.

comment 9mo ago · link · parent

Someone being beaten up on the streets is domestic policing issue.

That the perpetrators may turn out to be foreign agents is neither here nor there, only if they were diplomatic staff would it not be a domestic policing issue. However the UK police have largely withdrawn from certain areas, and this would simply be another symptom.

High Court action suggests there was a civil case pursuing the perpetrators (or their principals), rather than a criminal case. With a properly functioning police system, that should not be necessary.

Kahn is the PCC for London, he sets their priorities.

comment 9mo ago · link · parent

It is London - hardly surprising.

Nothing will improve as long as Khan is Mayor, and may not even if he is replaced.

Anyway, MI6 (SIS) is the overseas spies, MI5 is the domestic spy agency.

comment 10mo ago · link · parent

Lockdown mode allows one to optionally disable 2g, maybe it is also the default there. One can turn 2g back on in said mode if desired.

As to 3g, it is largely switched off here, and I understand most of the rest of the world is also disabling it.

However it does not remove images from messages, it just disables certain automatic helpers - e.g. link previews etc.

One can still send photos, etc without any issue.

comment 10mo ago · link · parent

An interesting theory, however I rather suspect it is basically because Limbo had a similar concept for pseudo-enums.

I allowed (e.g.) a syntax like:

    M0, M1, M2, M3, M4: con (1<<iota);
That was taken from one of the Limbo papers.

comment 10mo ago · link · parent

Ah - thanks. I'll have a play with some of my systems, and see what it shows.

comment 10mo ago · link · parent

Actually lots is still on C89.

I'm trying to drag one program at $employer up to C99 (plus C11 _Generic), so I can then subsequently drag it to the bits of C23 which GCC 13 supports.

This all takes times, and having to convince colleagues during code reviews.

What C23 has done is authorise some of the extensions which GCC has had for some time as legitimate things (typeof, etc).

However the ability to adopt is also limited by what third party linters in use at $employer may also support.

comment 10mo ago · link · parent

Nah - more that a lot of commercial code is written in it; and it doesn't make sense to replace (or rewrite) it at this time.

For example, I'm maintaining some 20 year old C code, which the employer adopted around 10 years ago. It will likely stay in use at least until the current product is replaced, whenever that may be.

comment 10mo ago · link · parent

Well his "Normal Functions" (benchmarks/closures/source/normal_functions.cpp in his repo) looks quite similar to what I had with my GNU nested functions using a stand in "wide pointer", and hence no generated trampoline.

(https://news.ycombinator.com/item?id=46243298)

Which rather suggests to me that such a scheme, but generated by the compiler, should have a similar performance to said "Normal Functions" and hence similar to his preferred lambda form.

Since his benchmark environment is so unwieldy, I may have a go at extracting those two code sets to a standalone environment, and measure them so see...

comment 11mo ago · link · parent

Remember that English also suffers from digraphs.

e.g. ch, th, sh, wr, oo; etc

See https://en.wikipedia.org/wiki/Digraph_(orthography)#English

That page lists 15 such over and above the doubled letters.

comment 11mo ago · link · parent

The Latin alphabet is also a poor match for English. We make do.

comment 11mo ago · link · parent

Yes.

All through middle and high school, so for 7 years from around 10 to 16. It did become one eventually in primary school, so probably the last 2 or 3 years there.

comment 11mo ago · link · parent

> In 1979 the “standard practice in C of passing a large struct to a function” wasn’t just not standard practice, it didn’t exist!

Yes it did exist. It just wasn't mentioned in the original K&R book.

See this page of a memo from November 78, passing and returning structs was supported. When I learn C on a Unix system, there was a copy of this memo in the printed papers section.

https://www.nokia.com/bell-labs/about/dennis-m-ritchie/cchan...

comment 11mo ago · link · parent

One quibble I have with the piece is the quotes.

        There is a bark of an Englifh tree, which I have found by experience to be a powerful aftringent, and very efficacious in curing aguifh [agues] and intermitting diforders.


        My curiofity prompted me to look into the difpenfatories and books of botany, and examine what they faid concerning it; but there it exifted only by name. I could not find, that it hath, or ever had, any place in pharmacy, or any fuch qualities, as I fufpected afcribed to it by the botanifts.
If (as it appears) the author was unable to type in a long-S, he could at least have used a normal one, making the text more readable.

i.e. Englifh => English; aftringent => astringent; aguifh => aguish; diforders => disorders; curiofity => curiosity; difpenfatories => dispensatories; faid => said; exifted => existed; fuch => such; fufpected afcribed => suspected ascribed; botanifts => botanists

comment 11mo ago · link · parent

Partially "slamming" where agents would try to get folks to switch to a different billing provider, and get paid a commission. So some fraudulently "sign up" random addresses they were supposed to visit.

The other case has been miscommunication over phone or email to someone actually requesting to change billing provider. Or error on the part of the potential customer.

I've had a bill from some random billing provider. In my case it is common for folks newly arriving in the block of flats to get the digits of the address transposed. Due to them using the common English convention, whereas the part of Scotland I'm in uses a different convention.

comment 11mo ago · link · parent

I ran across it recently. From a quick search now, possibly this lot:

https://www.synopsys.com/dw/ipdir.php?ds=arc-metaware-mx

comment 11mo ago · link · parent

Note - as far as I can see, it has similar behaviour to what you propose with _Wide for a wide pointer. Just that it is existing practice, from 40 years ago.

I believe the High-C compiler with this support is still available, for modern embedded CPUs.

comment 11mo ago · link · parent

The other example of nested functions which you've not mentioned was in Metaware High C.

There they allowed nested functions, but also what they termed "full function values", being a form of fat pointer. Certainly I came across it in High-C v1.7 in 1990, and the full manual for an earlier version (1.2?) from around '85 can be found on Bitsavers.

It had a syntax like:

    extern void Quick_sort(
      int Lo, int Hi, int Compare(int a, int b)!,
      void Swap(int a,int b)!
    );

    static Sort_private_table() {
      Entry Entries[100];
      int Compare(int a,int b) {
        return Entries[a] < Entries[b];
      }
      void Swap(int a,int b) {
        Entry Temp = Entries[a];
        Entries[a] = Entries[b];
        Entries[b] = Temp;
      }
      ...
      Quick_sort(1,100,Compare,Swap);
    }
The above is an extract from their language reference, which you can find here:

https://archive.org/download/Yoshizuki_UnRenamed_Files__D-V/...

comment 11mo ago · link · parent

Meaning something that generates code similar to what I have in this comment?

https://news.ycombinator.com/item?id=46243298

12345
17