Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mjw1007
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
73 ms
·
661.
▲
by
mjw1007
7y ago
If your project has any third-party dependencies, and so (nowadays) you're going to set up requirements.txt and virtualenv and whatever anyway, I can see that you're going to think things like "this XML parser in the standard
662.
▲
by
mjw1007
7y ago
« Tack the desired item on to the end of the array »
663.
▲
by
mjw1007
7y ago
As far as I can make out, the new website was considered a key part of the "Rust 2018" project, and so the maintainers chose to launch it before it was really finished (and without the planned period for user feedback), at the sam
664.
▲
by
mjw1007
7y ago
A number of times as a teenager I read several books on a subject and found that the first few were badly written and difficult to understand, while the last one set everything out very plainly and I felt if only I'd read that one firs
665.
▲
by
mjw1007
7y ago
Note that Guido has been elected to the new steering council, and the council has been delegating language-design questions to him. So I think (and hope) the effect of these changes will be that Guido will make more or less the same decisio
666.
▲
by
mjw1007
7y ago
That too, but I fear there are likely to be ways a hostile director could cause serious trouble even without a unanimous vote requirement.
667.
▲
by
mjw1007
7y ago
« Oracle already started a blocking politics at the Eclipse Foundation’s board, where Oracle has a seat, and where unanimous decisions are needed. Oracle now has the power, and apparently will use that power, to block the foundation’s fut
668.
▲
by
mjw1007
7y ago
On the web site, the opinion pages (including capital-E Editorials) have a cream background, while everything else has a white background.
669.
▲
by
mjw1007
8y ago
The embedded-rust people have a straightforward approach to the interface abstraction situation you describe, and it seems to be going fairly well. The embedded_hal crate defines traits for controlling things like I2C, SPI, and individual G
670.
▲
by
mjw1007
8y ago
Indeed, it feels rather like we're reading someone with an axe of their own to grind. I'd like to see a little more justification for this: « For him, the Victorian-era hypocrisy he decried was a manifestation of the power of the
671.
▲
by
mjw1007
8y ago
https://github.com/mozilla-mobile/fenix/issues/574 seems to say it will eventually support the same web extensions as the current Android Firefox, but the first release won't.
672.
▲
by
mjw1007
8y ago
It seems to me people use terms like "pro-market" to mean two different things: - we should make sure goods and services are allocated using competitive markets - we should let for-profit corporations do anything they choose The E
673.
▲
by
mjw1007
8y ago
I think "Late Antiquity" is common.
674.
▲
by
mjw1007
8y ago
I'm pleased to see that improving the language reference is on there, but mildly concerned by the core team thinking of this as a matter of "polish".
675.
▲
by
mjw1007
8y ago
The default theme adds a link to it for you in the header and footer. I'm not sure why some other themes don't.
676.
▲
by
mjw1007
8y ago
Maybe they mean something more like this page https://yeelight.readthedocs.io/en/latest/genindex.html which your Sphinx setup appears to be generating but the theme doesn't seem to be linking to.
677.
▲
by
mjw1007
8y ago
I think there's a big difference. Sphinx starts from the point of view that you're going to write your documentation as if you were writing a book, then on top of that it has some optional features for pulling in information from
678.
▲
by
mjw1007
8y ago
The usual reason for this sort of design is so you can support loading a new configuration without having to restart the whole thing, if the new config might need you to do additional things that require privilege (maybe bind to new low por
679.
▲
by
mjw1007
8y ago
Right, that's exactly the « it would be hard to compete against the alternative of using a small subset of {whatever} » case.
680.
▲
by
mjw1007
8y ago
(That's about the underlying pointer-aliasing model visible to unsafe code; the sort of questions that come up with C's "restrict".) I don't think coming up with answers to those questions need have blocked writing
681.
▲
by
mjw1007
8y ago
This idea seems surprising: « you’d be crazy to think hardware was ever intended to be used for isolating multiple users safely » Surely the era where it was common for multiple users to be logging into one computer was long enough, and cen
682.
▲
by
mjw1007
8y ago
The Rust team adopted a rule in December 2016 saying that all new language features must be documented in the language reference before landing on the stable release branch: https://github.com/rust-lang/rfcs/blob&#
683.
▲
by
mjw1007
8y ago
I don't think they count as a "better C" for this purpose. I'm thinking of something aiming at the niche that C currently fills. Having a garbage collector doesn't fit that, and Nim doesn't look small (anything
684.
▲
by
mjw1007
8y ago
I think Go and Swift are natural languages to compare Rust to in this respect. Both of them seem to be doing a much better job of reference-level documentation. In other circumstances the Rust people generally aim for higher standards than
685.
▲
by
mjw1007
8y ago
I think there is a gap in the market for small language which is just a "better C", but developing a new language is a great deal of work, and it would be hard to compete against the alternative of using a small subset of {Ada, Ru
686.
▲
by
mjw1007
8y ago
At this stage I'd settle for an informal language description, as long as it was a serious attempt to be basically complete and correct. It's nearly four years since Rust 1.0 and the reference manual is still calling itself a best
687.
▲
by
mjw1007
8y ago
One common case where this is attractive is where you have a bunch of "public" functions built on top of each other, with the higher ones passing that parameter on and not otherwise caring what it is: high_level_function(src,
688.
▲
by
mjw1007
8y ago
I think that example shows that Python's type system isn't the weakest out there, but it's still pretty weak. For example, it doesn't have a built-in way to make a dictionary-whose-keys-must-be-integers (so with your exa
689.
▲
by
mjw1007
8y ago
I don't think your first sentence is right. From the link: « The London Underground ("The Tube") had an additional 1.34 billion passengers in 2015-16 »
690.
▲
by
mjw1007
8y ago
I find myself able to deny that it has great resources. The reference manual is very weak.
More ›