Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pm215
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
42 ms
·
511.
▲
by
pm215
6y ago
It used to be the case that Arm could not handle unaligned loads, but that functionality was added in v6 of the architecture (many years ago now) and so is present in most Arm cores around today including all the 64-bit ones. (Some instruct
512.
▲
by
pm215
6y ago
Yes, it's totally possible to write good abstractions for this sort of basic operation, which handle both endianness and alignment. (QEMU's version of them uses memcpy(), again relying on the compiler to optimise this to a simple
513.
▲
by
pm215
6y ago
I had a simple rust program that used reqwest -- it just pulled down a few web pages and parsed some data out of tables in the HTML. At the time reqwest had a simple synchronous API function that made this easy. The version of reqwest which
514.
▲
by
pm215
6y ago
s390x is another "live" CPU architecture, but it's a bit of a special case -- the niche of "IBM mainframe" is unlikely to go away any time soon, but it's not expanding either and the architecture isn't abo
515.
▲
by
pm215
6y ago
Yes; in particular it would be nice if the algorithm mixed in "here's some videos on a topic you watched a bunch of six months or a year ago" sometimes. But it's so fixated on the very short term of your history that if
516.
▲
by
pm215
6y ago
That wikipedia page is pretty out of date (notably it doesn't mention the 64-bit arm support at all...)
517.
▲
by
pm215
6y ago
If the thing about reviews-for-vouchers was in the user manual though then it really is related to the product, not the seller...
518.
▲
by
pm215
6y ago
It would help if Preview wasn't really keen on editing the document, though. I find it tries to modify PDFs quite often -- I think it happens if I accidentally click on a table as I scroll through the document. I have resorted to '
519.
▲
by
pm215
6y ago
The explanation I've read for the difference between Fedora and CentOS Stream is that RHEL branches from Fedora at major releases, but those are so far apart that there could be years and massive divergences between today's Fedora
520.
▲
by
pm215
6y ago
Note though that QEMU's security boundary only covers running with KVM (see https://www.qemu.org/docs/master/system/security.html ). So if you're running without KVM, ie using TCG emulation, you
521.
▲
by
pm215
6y ago
GNU Make does support multiple outputs, but the feature is very new (it's in the latest release that came out earlier this year), so if you didn't happen to catch that release announcement you probably missed it. The support is
522.
▲
by
pm215
6y ago
Yeah, sorry, I didn't mean to imply that it was always useless in the modern world -- as you say it's often effective. After all, we're still social primates operating in small groups! I think what I was trying to say was rat
523.
▲
by
pm215
6y ago
I think trying to analyse status purely in 'practical terms' is somewhat to miss the core driver of it. As a species, we tend to 'status-seeking' behaviours I think because we've evolved as primates who lived in med
524.
▲
by
pm215
6y ago
Generally for systems like that (broadly, "games machines" where a lot of the guest software is bare metal, graphics intensive, likely to make strong assumptions either deliberately or accidentally about exact timings of operation
525.
▲
by
pm215
6y ago
My take is that this is the effect of the requirements of the companies producing hardware and is entirely unrelated to the CPU architecture. On desktop and server consumers have a very strong demand that off-the-shelf OSes Just Work (so th
526.
▲
by
pm215
6y ago
My experience with working on a project that's converted to Meson is that its main flaw is its philosophical commitment to inflexibility. You do things the Meson way or not at all. Want to have file foo/bar/baz.c compile to f
527.
▲
by
pm215
6y ago
The "suballocate out of some arrays" code should not break, because the whole array would be allocated at once and so would have the same tag for the whole range. Code that does a simple "is this pointer value inside the &quo
528.
▲
by
pm215
6y ago
mwsealey's comment on the LWN article (in response to somebody asking that question there) has a good explanation of it. Basically exactly where the keys are stored is up to the implementation, but one reasonable implementation is for
529.
▲
by
pm215
6y ago
Lots of these places do just that -- but unless you want your job to be "I run a tourist attraction/wedding venue as a small business", you might prefer to sell the place and let somebody else do it...
530.
▲
by
pm215
6y ago
Yeah, it's useful to have a special-purpose 'software breakpoint' instruction. Arm actually didn't have one until v5 of the architecture, so some older systems or those wanting to maintain compatibility will still use an
531.
▲
by
pm215
6y ago
Then your allocator would need to know that if it's already decided to use one register of a pair that the other half of the pair gets the save/restore for 'free' and is now better than using a different callee-saves reg
532.
▲
by
pm215
6y ago
Yes, the article says "Exhaustive testing works brilliantly for functions that take a single float as input. I used this to great effect when rewriting all of the CRT math functions for a game console some years ago. On the other hand,
533.
▲
by
pm215
6y ago
I have a lot of sympathy for this view, especially since 'hobby' platforms tend also to be those whose maintainers are doing it on the side and who are thus less likely to be keeping up with internal API and similar cross-codebase
534.
▲
by
pm215
6y ago
On the other hand, if you're too strong about how you phrase your case, some people will take you at face value and assume "he seems pretty sure about this, he's probably right". A little hedging in how you phrase things
535.
▲
by
pm215
6y ago
The ability to specify a shell in /etc/passwd is extremely long-standing: it is documented in the passwd(5) manpage of 1st Edition UNIX dated 1971 ( https://www.tuhs.org/cgi-bin/utree.pl?file=V1/man/m
536.
▲
by
pm215
6y ago
As far as typical user-experience goes, you shouldn't think of IRC as "an instant messenger with channels as a kind of extra thing on the side". The public multiple-participants ongoing conversations in channels are the prim
537.
▲
by
pm215
6y ago
Oh, absolutely, as a foreigner in a Book Off I love the no-shrinkwrap policy and also the way it's a large and well-populated space that's much less intimidating to walk into than the kind of second hand bookshop that's pract
538.
▲
by
pm215
6y ago
I would be interested to know how much the Book Off model depends on the fact that manga is a huge market in Japan. Every time I've been into a Book Off, there's always been a huge manga section and it's always packed with pe
539.
▲
by
pm215
6y ago
It might (or might not) be less relevant, but it's also to a great extent already-expended effort. Arm kernels have had a built-in decompressor for over a decade, so the bulk of the effort went in many years back when the gains were cl
540.
▲
by
pm215
6y ago
That's been my experience too. Unfortunately the gcc devs essentially poisoned their own well there -- I'm now much less likely to want to go back and try -Og because of my initial bad experience. If they'd started with "
More ›