Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
gmac
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
35 ms
·
481.
▲
by
gmac
5y ago
Ditto (since Big Sur: I had problems with 10.14 on a 2010 MBP).
482.
▲
by
gmac
5y ago
I can also a recommend a 20-year-old Neff.
483.
▲
by
gmac
5y ago
Maybe. The issue then is that people find sneaky ways around it. For example, some things that are "BPA-free" contain the rather similar BPS[1]. [1] https://en.wikipedia.org/wiki/Bisphenol_S
484.
▲
by
gmac
5y ago
It’s true that some of this could be fixed by more transparency. For example, the pesticides used on crops ought to be listed/available on packaging/at the point of sale.
485.
▲
by
gmac
5y ago
From the Wikipedia page on chlorpyrifos: “Organizations such as PANNA and the NRDC state that chlorpyrifos meets the four criteria (persistence, bioaccumulation, long-range transport, and toxicity) in Annex D of the Stockholm Convention on
486.
▲
by
gmac
5y ago
I have mixed feelings about this request. On the one hand, fair enough. On the other hand, I'm reminded of the paper 'Parachute use to prevent death and major trauma when jumping from aircraft: randomized controlled trial'[1]
487.
▲
by
gmac
5y ago
I don’t think it would increase Apple’s cost of doing business anything like tenfold, partly because my experience is that Apple’s products usually last. It might increase costs more for cheap and shoddy vendors, which is kind of the point
488.
▲
by
gmac
5y ago
https://en.m.wikipedia.org/wiki/Polluter_pays_principle
489.
▲
by
gmac
5y ago
If you make them guarantee it for three years (or perhaps five) you give them a stronger incentive to build it to last, and you can be sure it’s going to last that long. There’s a strong environmental (public good) aspect to this, so no, yo
490.
▲
by
gmac
5y ago
The "you" in my comment is intended at country level. It basically means: your elected representatives. It's true that individual actions to help the climate may not help a lot, immediately and in practical terms, if there&#x
491.
▲
by
gmac
5y ago
I'm not ignoring China. I'm saying: if you're asking China to change its behaviour, I doubt you'll get very far unless you begin by showing willing to change your behaviour too. Let's take some other anti-social beh
492.
▲
by
gmac
5y ago
How well do you think it will work to try to pressure China into cutting their emissions before you've made at least some effort to clean up your own? Effort done here is not worthless at all.
493.
▲
by
gmac
5y ago
I agree it’s probably not very much battery at all. But it’s not going to be none either, so the principle remains: it’s my phone using my electricity to check up on me without my consent. I really don’t like that.
494.
▲
by
gmac
5y ago
It’s truly disappointing that Apple got so hung up on its particular vision of privacy that it ended up betraying the fulcrum of user control: being able to trust that your device is truly yours. This is it. Of course I'd like child
495.
▲
Automate Low Power Mode to go longer between iPhone charges
(twitter.com)
1 points
by
gmac
5y ago
|
0 comments
496.
▲
by
gmac
5y ago
Moss? Peat smoke, certainly. There’s a hint of it even in the drinking water if you ever stay on Islay.
497.
▲
by
gmac
5y ago
When implementing a password strength checker lately I relied mainly on https://github.com/dropbox/zxcvbn (which is great) but added in a check for correct horse battery staple (and variants). Probably not that importa
498.
▲
by
gmac
5y ago
Interesting. Not for developers, but essentially the same thing happens in the UK civil service.
499.
▲
by
gmac
5y ago
On the economics of printer ink (and why competitive markets don’t fix it), this paper is a classic: https://pages.stern.nyu.edu/~xgabaix/papers/shrouded.pdf
500.
▲
Black Tot Day
(en.wikipedia.org)
2 points
by
gmac
5y ago
|
0 comments
501.
▲
Over half the deer in Michigan seem to have been exposed to SARS-CoV-2
(arstechnica.com)
9 points
by
gmac
5y ago
|
0 comments
502.
▲
by
gmac
5y ago
This feels truthy, but [citation needed]?
503.
▲
by
gmac
5y ago
Preferably the author doesn't copy and paste: preferably there's a documentation build step where everything gets run, relevant outputs get inserted into the docs, and any errors get caught. This is how my docs for Zapatos[1] work
504.
▲
by
gmac
5y ago
plenty of candidates with otherwise amazing track records can't code comically simple functions Sadly, this rings true. In a non-whiteboarding context I’ve sometimes asked JS/TS candidates something that I originally though was
505.
▲
by
gmac
5y ago
Anyone who's interested in pgtyped may find this library comparison helpful: https://phiresky.github.io/blog/2020/sql-libs-for-typescript...
506.
▲
by
gmac
5y ago
True. I like Ruby's solution with exclamation marks, such as `sort!`, to make this kind of behaviour obvious.
507.
▲
by
gmac
5y ago
Yes, .sort((a, b) => b - a) is what I meant in this case. I think perhaps this "makes the most sense" from a language designer/implementor's perspective, but it also gives ample opportunity for WTF moments in actual u
508.
▲
by
gmac
5y ago
The comma is not material here: the answer is the same if we write `const x = ...; const y = ...`. And that's the first gotcha: sort() is in place.
509.
▲
by
gmac
5y ago
I'm actually pretty fond of JavaScript, but here's a question that has caught me out in real code: const x = [1, 10, 2], y = x.sort(); Now: what is the value of x? (Edit: and y?)
510.
▲
by
gmac
5y ago
If you like this idea, Zapatos[1] does something similar but provides more comprehensive types (differentiated into what you get from a SELECT, what you can INSERT, etc.), plus some help using these types to interact with the database. [1]
More ›