Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mook
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
66 ms
·
781.
▲
by
mook
10y ago
It's like a `this` pointer in C++, with a method table, yes. See the first link in the update from 30.06.2016. `v3` would be `RtServices`.
782.
▲
by
mook
10y ago
The specific case of terrible video drivers might have been slightly better these days (because part of it has been moved to user mode, so crashing it just means your screen flashes and weird for a second). Spending more time with it can le
783.
▲
by
mook
10y ago
Yes, it's harder to iterate on API design once it's in the stable API. But that's the point, basically; it's harder to keep code working if the thing you're using keeps iterating. And yeah, cargo is really nice. I
784.
▲
by
mook
10y ago
Thanks for replying! And my view is that having a smaller stdlib and pushing all the responsibility to crates means that the language isn't actually usefully stable, since it means downstream still can't depend on not having break
785.
▲
by
mook
10y ago
Doesn't the large portion of people using unstable libraries / things depending on unstable internals mean that the versioning isn't covering a large enough API? I feel like blaming the user isn't really going to help ma
786.
▲
by
mook
10y ago
That is very annoying; luckily, it's possible to use %h and other variables to embed the remote host name in the file name of the key. Definitely useful to also have IdentitiesOnly set to avoid the automatic attempts, though.
787.
▲
by
mook
10y ago
As long as it's Microsoft causing the upgrade prompt, it's their problem. As long as the (terrible) drivers worked before the upgrade, it should check that drivers are available for the hardware before trying to go through with th
788.
▲
by
mook
11y ago
Try going to about:memory to see if some tab is taking up a lot of memory. I've got this CI system where if I leave it open overnight it takes a gig or two and makes the browser unusable (Firefox and Chrome; it's a problem with D
789.
▲
by
mook
11y ago
It's not the default thing to do, but I've found that installing Homebrew under your home directory to work well. Everything's owned by that user, and there are no issues with shared machines (since other users don't se
790.
▲
by
mook
11y ago
System-level package management is mostly an open-source-y phenomenon; it requires the maintainers of the package repository to be able to freely recompile everything from source (so that they can all use the same shared libraries). Over i
791.
▲
by
mook
11y ago
npm-shrinkwrap [1] (mentioned in the article) is supposed to help with this; it makes a lock file (npm-shrinkwrap.json) that records the resolved version. I think it got started being used at work (by stuff I wasn't working on) because
792.
▲
by
mook
11y ago
sf.net does also do mailing list and shell account, and I _think_ possibly non-static web sites. None of them are for high-volume things, though, as far as I know.
793.
▲
by
mook
11y ago
There are a few possibilities; dictionaries usually go by (number of strokes in the radical) + (number of strokes remaining). Because there are too many characters, there's usually a phonetic-based system involved too (Pinyin, Zhuyin
794.
▲
by
mook
11y ago
It seems much easier to line break CJK (pay a bit of attention near punctuation, otherwise breaking anywhere would do a decent job). Compared to Latin-based languages, where hyphenation would be involved, which means understanding the actu
795.
▲
by
mook
11y ago
Wouldn't it prevent people writing GPL2 software from using it, as the anti-tivoization would not be GPL2 no additional restrictions clause friendly? See the GPL FAQ compatibility chart [1], bottom left. The case I'm thinking of
796.
▲
by
mook
11y ago
> With enough clever use of CSS :before/:after styles to insert whatever you like on the page, you can "build" a structure around some REST "State" that was "Represented" during the "Transfer"
797.
▲
by
mook
11y ago
To me, Persona never _shipped_. They still discourage self-hosting the identity verification code, so even on a happy path where the user somehow managed to get an email provider that natively supported Persona you still had to talk to Moz
798.
▲
by
mook
11y ago
I believe the injecting script part is to support having the chrome and the content in different processes. I'm sad that, on the UI modification front, the new system doesn't seem nearly as powerful as XUL overlays. I worry that w
799.
▲
by
mook
11y ago
Also, Mozilla already had some IM support (XMPP, twitter, and yahoo, I think) in Thunderbird / Instantbird. IRC too, but that's a different sort of messaging.
800.
▲
by
mook
11y ago
It used to be possible to write Firefox extensions that used multi-threaded JS; however, like any other language, accessing the DOM was not threadsafe (so you can't have a window be your global object, and therefore they needed to live
801.
▲
by
mook
11y ago
Wasn't it fast tracked into the release channel? That is, 38.0.5 would have been a patch release on top of 38.0.4. On the bright side, that has lead to a more serious look at shipping parts of the browser as first-party extensions.
802.
▲
by
mook
11y ago
It's not USB mass storage, but what you're describing sounds like MTP. It's the protocol used in a bunch of old (first-iPhone-era) media players, and I think the default for Android 5+ or so. Used to write software to intera
803.
▲
by
mook
11y ago
> You could always just look at the destination IP address of the packet. For CDN services like cloudflare I'd imagine that it would make more of an impact, since in that case an IP address could potentially match many host names. O
804.
▲
by
mook
11y ago
Wouldn't that increase the commits/dev metric, if there are fewer (highly active) devs, but a reasonably similar amount of commits? Having it drop would actually mean that the Google folks had a higher-than-average number of comm
805.
▲
by
mook
11y ago
I find it interesting that, in the third graph (commits/dev), the Mozilla line gets a dip to about half its previous value as the Chromium line shows up, somewhere around mid-2008. Post-dip the jitter also seems to decrease.
806.
▲
by
mook
11y ago
Related, at what point will "use a stable build, not a nightly" be a good practice for libraries? Actually, do people mainly use nightlies or releases for development? (Of libraries and apps, not the toolchain itself, obviously.
807.
▲
by
mook
11y ago
Mozilla explicitly wants to have a system where the extension is uploaded to them for signing, unlike the Apple / MS Authenticode systems where the developer gets a certificate to sign locally. https://wiki.mozilla.org/
808.
▲
by
mook
11y ago
> So you're suggesting they say "we intend to deprecate this feature", but not give a timeline? Yes; but that only works if they don't actually _have_ a timeline. Do the necessary work to let people explore options,
809.
▲
by
mook
11y ago
> People would quickly ask "what is the long-term plan here?" and you can't lie to them. Sure; but you wouldn't need to. Just don't have a time line set (as opposed to the 12 ~ 18 months set here). They've
810.
▲
by
mook
11y ago
> The problem these days is established extensions that get legitimately sold or their access data hacked, and malware rolled out to the users. Published extensions on addons.mozilla.org (i.e. the built-in extension distribution channel
More ›