Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mjw1007
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
60 ms
·
631.
▲
by
mjw1007
7y ago
Note that Rust's "clippy" linter has a `trivially_copy_pass_by_ref` lint which recommends changing by-reference to by-copy for sufficiently small structs, but presumably it's aiming to be conservative. AIUI it recommends
632.
▲
by
mjw1007
7y ago
I think these days it should be OK to assume that people's browsers will render a long s directly: « praiſe ».
633.
▲
by
mjw1007
7y ago
The BBC's domestic news is reasonably independent, but I'm not sure the same can be said for the World Service (which until recently was funded directly by the Foreign Office).
634.
▲
by
mjw1007
7y ago
I don't think the idea of a vote on a deep constitutional matter is wrong. But I think it only really works when you have a government saying "we propose to do X, but we'll only do it if the people consent in a referendum&quo
635.
▲
by
mjw1007
7y ago
That, and the servethehome review, seems to be basically putting the presentation slides into words. A few years ago they seemed to have additional sources of information (they'd talk about things like instruction-to-port assignments a
636.
▲
by
mjw1007
7y ago
Up until around 2012, realworldtech.com and anandtech.com used to publish rather more detailed descriptions of the microarchitecture inside each core. Is anyone publishing things like that these days? I mean pages like these: https:/&
637.
▲
by
mjw1007
7y ago
The author seems to have a bit of an unreasonable animosity to that technique, from this article and others of theirs. It seems to me they could have written much the same article the other way round: starting with a rename-based method, ob
638.
▲
by
mjw1007
7y ago
That module isn't actually for the CGI protocol. It dates from a time when "CGI" was a reasonable shorthand for "working with http requests". Mostly what's in it is stuff for handling HTML form values. The Pyth
639.
▲
by
mjw1007
7y ago
It seems pretty clear from the first message in the thread that what the postgres code (and so the "PG folks") was expecting was that fsync would continue to report errors as long as it hadn't succeeded. That way the checkpo
640.
▲
by
mjw1007
7y ago
I don't think there was anything wrong with Google using this workaround. But Google were also employing the ext4 maintainer, and fixing those components presumably was part of his job.
641.
▲
by
mjw1007
7y ago
The annoying thing is that the Postgres people don't even really need "sync this file right now" for the main data files. AIUI what they'd ideally like is "sync this file reasonably soon, and let me know when it
642.
▲
by
mjw1007
7y ago
This is what "reader mode" is for. The text is using good oldfashioned html markup (basically just h2, p, code, a, em). So there's no reason why you should have to use the stylesheet provided by the site, and with a sensible
643.
▲
by
mjw1007
7y ago
The other half of the thread was on linux-ext4, starting here: https://lists.openwall.net/linux-ext4/2018/04/10/33 The part I found most interesting was here: https://lists.openwall.net/l
644.
▲
by
mjw1007
7y ago
There's a link to the generated machine code in a footnote (for a variant returning a bool rather than calling assert!). It's literally just xor eax, eax ret
645.
▲
by
mjw1007
7y ago
The title here says 2014, but each chapter has a "last updated date" from either 1997 or 1999.
646.
▲
by
mjw1007
7y ago
They said they were "currently" finalising their transition plans in February, so I think it's reasonable to assume that the plans have been finalised by now.
647.
▲
by
mjw1007
7y ago
Indeed, it's very disappointing to see such a long article without any mention of their plans for addons. It isn't even clear that they're not going to replace Android Firefox with Fenix before getting extensions working. As
648.
▲
by
mjw1007
7y ago
The context was « enjoy in their homes electrical energy too cheap to meter ». I suppose it's not implausible that household energy use could become so small compared to industrial use that it's not worth metering (so that that th
649.
▲
by
mjw1007
7y ago
One reason is that a code-coverage checker will tell you whether you're testing both cases.
650.
▲
by
mjw1007
7y ago
I think likewise. Even if they're willing to go to the huge effort to go through all their own documentation to make it tell the truth given the new definition of Firefox, third parties aren't going to. I don't think it went
651.
▲
by
mjw1007
7y ago
Firefox's reader view is a realistic system that lets us consume html pages without their original CSS. The more page authors use html 'properly', the more incentive there will be to improve systems like reader view.
652.
▲
by
mjw1007
7y ago
I think there are other options. We could do a better job of getting test cases through the courts that clarify the law. Or we could invent new mechanisms for turning rulings from specific cases into general principles that people can rely
653.
▲
by
mjw1007
7y ago
What Google looked into licensing was considerably broader than the APIs, and included material that everyone agrees is copyrightable. We don't learn anything from the fact that Google negotiated for a broad licence, decided not to tak
654.
▲
by
mjw1007
7y ago
As far as I'm concerned, it's a huge failure that, over thirty years after computer programs were explicitly added to copyright law, it isn't clear to what extent APIs are copyrightable, and we have to watch lawyers argue ove
655.
▲
by
mjw1007
7y ago
There's a middle ground, where most of the users you hoped would write the DSL never become comfortable enough to do so, but do become competent to read the DSL and review proposed changes.
656.
▲
by
mjw1007
7y ago
The cgi module doesn't actually contain anything CGI-specific. It dates from a time when "CGI" was a sensible shorthand for "handling http requests". What's actually in the module is a rather clunky, but servic
657.
▲
by
mjw1007
7y ago
As I understand it, they tried to to make sure pretty much everything was under compression, and tested using scale models (which work well in that case).
658.
▲
by
mjw1007
7y ago
There's a lot of truth in what you're saying, but I think you have "Motte" and "Bailey" backwards.
659.
▲
by
mjw1007
7y ago
Rust is good at many things, but it's not as attractive for Python for the sort of program you write when a shell script gets a bit too complicated and you want to write it in a proper language. So Rust can get away more easily without
660.
▲
by
mjw1007
7y ago
Aren't conservatism and minimalism pulling in opposite directions here? Amber wants to remove asyncio from the standard library. That's minimalism but not conservatism.
More ›