HackerTrans
TopNewTrendsCommentsPastAskShowJobs

Just_Harry

no profile record

Submissions

Harpsichord

henrylim.org
3 points·by Just_Harry·2 yıl önce·0 comments

comments

Just_Harry
·5 ay önce·discuss
And the historical reason why the allocation-granularity is 64 KB instead of 4 KB (or the page-size) is that it made DLL relocation very slightly faster on Alpha AXP processors. No, really! https://devblogs.microsoft.com/oldnewthing/20031008-00/?p=42...
Just_Harry
·5 ay önce·discuss
For the United Kingdom specifically, I've suffered the misfortune of reading the Online Safety Act, and this kind of age estimation is both mentioned and permitted by the Act. (Not a lawyer blah blah blah)

Part 3, Chapter 2, Section 12(4) specifies that user-to-user service providers are required to use either age verification or age estimation (or both!) to prevent children from accessing content that is harmful to children. Section 12(6) goes on to state that "the age verification or age estimation must be of such a kind, and used in such a way, that it is highly effective at correctly determining whether or not a particular user is a child."

Part 12, Section 230(4) rules out self-declaration of age as being a form of age verification/estimation.

So I suppose it'll come down to whether or not Ofcom deems Discord's age estimation as "highly effective".

[Part 3, Chapter 2, Section 12(4)]: https://www.legislation.gov.uk/ukpga/2023/50/part/3/chapter/...

This is unrelated, but something I find interesting is that Category 1 user-to-user services (of which Discord is one, as per The Online Safety Act 2023 (Category 1, Category 2A and Category 2B Threshold Conditions) Regulations 2025) are required by Part 4, Chapter 1, Section 64(1) to "offer all adult users of the service the option to verify their identity (if identity verification is not required for access to the service).".
Just_Harry
·8 ay önce·discuss
Your memory is intact :) Those were/are a thing.

The Xenia emulator handles them with symbolic links in its virtual-file-system: https://github.com/xenia-canary/xenia-canary/blob/70e44ab6ec...
Just_Harry
·11 ay önce·discuss
It's freely available at https://pmc.ncbi.nlm.nih.gov/articles/PMC10826467/
Just_Harry
·2 yıl önce·discuss
> I don’t understand why these extra paddings are present and why one is gone. Even with pragma pack 8, should not it be only one padding?

If you're referring to `__pad2` in the example, that trailing padding is there to ensure that the size of the struct is a multiple of its alignment, which is 8, so that if there's a contiguous span of those structures, each instance after the first one will remained properly aligned. Without `__pad2`, that struct would be 36-bytes, which would cause every other instance in an array/contiguous-span to be aligned on 4 bytes instead of 8.
Just_Harry
·2 yıl önce·discuss
In my later school years, when I had semi-regular need for printing things in colour, I took to drilling holes in the inkjet cartridges and refilling them with cheap ink using syringes.

Which worked out to about £5 for the syringes, £5 for 400 ml of CMYK ink, and my dad already had a power drill—which was equivalent to about £104-worth of black ink cartridges, and about £312-worth of colour ink cartridges. (Now it would be about £160 of black and £480 of colour). It only took 15-to-30-minutes to refill both cartridges, including drilling the holes.

Some printer manufacturers have implemented DRM for ink to prevent this kind of thing.
Just_Harry
·2 yıl önce·discuss
Unfortunately not, I just tried running the copy included with Windows XP SP1 on Windows 11—it relies on SheRemoveQuotesW which was removed from Shell32 in Windows Vista. (It doesn't seem to be able to use a copy of a Windows-XP-sourced shell32.dll from the working directory, either).
Just_Harry
·2 yıl önce·discuss
All type 1 diabetics are being conned?
Just_Harry
·2 yıl önce·discuss
My favourite is MapViewOfFile3FromApp [0], which is one of the seven variants of MapViewOfFile.

[0]: https://learn.microsoft.com/windows/win32/api/memoryapi/nf-m...
Just_Harry
·2 yıl önce·discuss
Not initiating conversation could be down to disinterest, yes.

But I think consistently refusing eye contact does constitute a lack of respect, if the person refusing to return eye contact has no problem returning it to the upper echelons of staff. And, having attended one of those grammar schools, I know that some of the teachers who refused to return eye contact had no issue with faux friendliness.
Just_Harry
·2 yıl önce·discuss
My mother cleans schools for a living, and she once remarked to me that most of the teaching staff in the grammar schools[1] she cleaned would avoid making conversation with the cleaners, and some would even avoid making eye contact, which was contrary to non-selective schools, where most of the teaching staff would make conversation with the cleaners.

[1] Grammar schools are academically-selective, state-funded schools in the UK and elsewhere—staff and students alike are generally of a higher socioeconomic milieu than in non-selective, state-funded schools.
Just_Harry
·2 yıl önce·discuss
PowerShell yet again proves itself to be an enlightened language:

    PS> ${Valid characters for an identifier? Eh, ¯\_(ツ)_/¯ whatever (`}) you want.} = $True
    PS> ${Valid characters for an identifier? Eh, ¯\_(ツ)_/¯ whatever (`}) you want.}
    True
Jesting aside, I have actually used that syntax before to prefix variable names with '&' and '@' to differentiate between virtual and physical addresses in some code for patching a binary.