Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
gmac
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
28 ms
·
391.
▲
by
gmac
4y ago
In principle, yes, but as things stand you'll be starting 5 separate TLS connections to the server that way. My feeling is that this would be an unusual way to use serverless functions. Is it something you think you'd do?
392.
▲
by
gmac
4y ago
Right: at a basic level, using WebSockets lets us change as little as possible from the user perspective. You get an ordinary Postgres session with an ordinary Postgres driver, full control over transactions, and so on. At this point, your
393.
▲
by
gmac
4y ago
+1 for Cascadia Code, and especially for the ligatures.
394.
▲
by
gmac
4y ago
IIRC, <i> for icons was/is the markup FontAwesome suggested/suggests.
395.
▲
by
gmac
4y ago
Hint: I recently cancelled the unlimited delivery service, and discovered that most of the delivery slots we use cost £2 or less and they suddenly started offering us lots of money-off vouchers to keep us coming back. It's a shame th
396.
▲
by
gmac
4y ago
16 + 2 * 5 = 26, implying six months’ pay, not two years?
397.
▲
by
gmac
4y ago
(Yes — and it feels like we have a systemic problem when the people have no way to get rid of a government this unpopular — except relying on them to do the decent thing and bow out, which this bunch, having been basically purged by Johnson
398.
▲
by
gmac
4y ago
See: https://news.ycombinator.com/item?id=18865043
399.
▲
by
gmac
4y ago
Because Saturday and Sunday are the weekend.
400.
▲
by
gmac
4y ago
Indeed. I suspect the driving and oil lobbies are keen to keep it that way, to help obscure the cost per unit distance and thus keep us all driving as far and burning as much gas/petrol/diesel as possible.
401.
▲
by
gmac
4y ago
If we take this over a longer timeframe (as in Keynes' famous prediction, say), then one reason may be: we do actually have a lot more leisure than we did a century ago, but we've largely "chosen" to take it as a lengthi
402.
▲
by
gmac
4y ago
I broadly agree, although: ORMs have problems, but some are good enough and widely used enough that you might be able to take them from project to project (e.g. Rails’ ActiveRecord). SQL is good, but it can get tedious to intermingle fully
403.
▲
by
gmac
4y ago
I find people’s continued use of tumble dryers pretty surprising. The air will do it for free! We have a space-efficient drying rack so we can dry indoors.
404.
▲
by
gmac
4y ago
Yes. Parsing SQL solves some rather specific problems, which the article doesn’t seem terribly clear about. Interrogating the running database to establish schemas and types is exactly what my Postgres/TypeScript library[1] does, for e
405.
▲
by
gmac
4y ago
https://github.com/jawj/IKEv2-setup Sets up an Ubuntu server as a strongSwan IKEv2 VPN.
406.
▲
by
gmac
4y ago
Yes! That would catch firms touting “BPA-free” plastics that instead contain the chemically very similar BPS, for example.
407.
▲
Jeffrey Sachs is pretty convinced Covid-19 came out of a biotech lab
(currentaffairs.org)
8 points
by
gmac
4y ago
|
8 comments
408.
▲
by
gmac
4y ago
Absolutely: the definition of a nudge (Thaler and Sunstein’s “libertarian paternalism”) was meant to include that it is cheap and easy to avoid, and therefore makes no difference to the (mythical) fully rational consumer. Taxes or other pri
409.
▲
by
gmac
4y ago
I have since given this a name: springboard procrastination. This is a nice name for it, but it also seems very close to what has elsewhere been called structured procrastination: http://www.structuredprocrastination.com/
410.
▲
by
gmac
4y ago
And Skoda and SEAT are even more affordable brands, and essentially the same cars.
411.
▲
“Spelling and grammar errors aren't being ticked in this document”
(twitter.com)
1 points
by
gmac
4y ago
|
0 comments
412.
▲
by
gmac
4y ago
Are you sure they’re biased against , or might they just be (possibly legitimately) against ?
413.
▲
by
gmac
4y ago
There's a nice sketch on this point by Mitchell and Webb: https://www.youtube.com/watch?v=CS9ptA3Ya9E David Mitchell discusses it further here: https://www.theguardian.com/commentisfree/2018/n
414.
▲
by
gmac
4y ago
There are various non-ORM database libraries for TypeScript too. I develop Zapatos, but Slonik and pg-typed are probably better known. https://jawj.github.io/zapatos/ https://github.com/gajus/sloni
415.
▲
by
gmac
4y ago
I have found survey questions to be a good, practical example of the pleasures of OOP. See, for example, section 3.2 in https://www.econstor.eu/obitstream/10419/66819/1/717744094.p...
416.
▲
by
gmac
4y ago
Which? annoys me in various ways, but not taking the cost into account in their ratings is I think actually one of their better moves. In your example, you can see very plainly that the Electrolux is a much better buy. If they'd includ
417.
▲
by
gmac
4y ago
> I don’t consider £25 each way Manchester-London to be brutally expensive to be honest I think you're citing pretty much a best case there. I just put in the same journey on a morning next week and got £150 each way, which I suspec
418.
▲
by
gmac
4y ago
It is e-waste if you still want smart switches, and if they were smart until yesterday then your revealed preference on that point is pretty clear?
419.
▲
by
gmac
4y ago
That's great to hear! You're welcome. :)
420.
▲
by
gmac
4y ago
Looks like a great start. My own library Zapatos[1] is less ambitious (it doesn't try to parse raw SQL) but has similar goals. It also has no truck with runtime types. [1] https://jawj.github.io/zapatos/
More ›