Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
gmac
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
15 ms
·
211.
▲
Conference badges with the name always showing, using Ruby and InDesign (2018)
(github.com)
2 points
by
gmac
2y ago
|
0 comments
212.
▲
by
gmac
2y ago
Well, yes and no. I’d say the new headline was very similar content, albeit pitched a bit differently. :) I usually try not to repost, because I think it’s rightly frowned on, but I do have a few less extreme examples where the exact same p
213.
▲
by
gmac
2y ago
Not true, sadly. In my experience there is a big element of luck, and the headline matters a lot. For example, my most popular ever submission (1341 upvotes) didn't get a single upvote when I submitted 4 months earlier under a slight
214.
▲
by
gmac
2y ago
Uh, in what time zone?
215.
▲
Xlsxtable: a JavaScript library to make nice Excel files from data tables
(github.com)
1 points
by
gmac
2y ago
|
0 comments
216.
▲
Export query results to XLSX, and the new JavaScript libraries behind it
(neon.tech)
2 points
by
gmac
2y ago
|
0 comments
217.
▲
by
gmac
2y ago
> Democracy < dictatorship if you value technological and infrastructural progress over diversity, equity and inclusion. Or not, depending on what examples you pick. You might also want to include freedom and human rights in this pict
218.
▲
by
gmac
2y ago
And thank goodness for that. Here in the UK we’re in the weird and untenable position of providing state funding for religious schools, so I (an atheist taxpayer) am helping fund these indoctrination attempts. https://humanists.u
219.
▲
I before E except after C, except …
(jawj.github.io)
20 points
by
gmac
2y ago
|
14 comments
220.
▲
by
gmac
2y ago
OP and library author here. You’ll find the background to this in this blog post: https://neon.tech/blog/bringing-psqls-d-to-your-web-browser
221.
▲
by
gmac
2y ago
Certainly there’s a decently long tail of rarely-used commands, obscure features of commands, and multiple code paths supporting multiple server versions.
222.
▲
by
gmac
2y ago
Some commands issue multiple queries and include logic for stitching the results into a nice table. There’s not a one-to-one mapping from commands to queries by any means.
223.
▲
by
gmac
2y ago
It’s used in Neon’s web-based console to support \d and friends alongside regular SQL queries. You might well never need to use it, but if you’re building an online query editor it could be very handy!
224.
▲
by
gmac
2y ago
OP (and library author) here. This is a fair point, and one I freely admit to in the accompanying blog post. It’s probably not crucial to sync more than once per major Postgres version, but we’re still figuring out how we’ll deal with this.
225.
▲
Bringing psql’s \d to your web browser
(neon.tech)
76 points
by
gmac
2y ago
|
26 comments
226.
▲
Semicolons: split a string on Postgres query boundaries
(github.com)
2 points
by
gmac
2y ago
|
0 comments
227.
▲
by
gmac
2y ago
Why the laughter? CoffeeScript was great. TypeScript is even greater. All IMHO and YMMV, of course.
228.
▲
Hacking on PostgreSQL Is Hard
(rhaas.blogspot.com)
95 points
by
gmac
2y ago
|
22 comments
229.
▲
by
gmac
2y ago
I don’t enjoy React much, but (as I’ve commented before) I do love Mithril ( https://mithril.js.org ). Immediate-mode UI via a vDOM, like React, but small, simple, and with none of the reactivity complications. I’d never go back t
230.
▲
by
gmac
2y ago
I listed my old kitchen stuff on Facebook. People paid something for the microwave, an old gas hob, an extractor hood, and a few other bits. Then most of the cabinets were taken away for free by a guy who was setting up his garage to brew b
231.
▲
by
gmac
2y ago
Oh: glad to hear that, if true. Thanks.
232.
▲
by
gmac
2y ago
I think multiple display support has gone backwards on the Mac, in a way that’s representative of the platform and rather dispiriting. I remember 20 years ago a colleague pointing out that Apple had put a lot of work in to allow windows to
233.
▲
by
gmac
2y ago
I wrote this post (and the npm packages it describes). Happy to answer questions.
234.
▲
Bringing psql's \d to your web browser
(neon.tech)
9 points
by
gmac
2y ago
|
2 comments
235.
▲
Littlezipper: A small, fast JavaScript zip library using CompressionStream
(github.com)
1 points
by
gmac
3y ago
|
0 comments
236.
▲
by
gmac
3y ago
In the UK I would thoroughly recommend these guys: http://www.ecosofa.co.uk/ We picked them because they were one of very few UK suppliers who could supply a sofa that's not covered in toxic flame retardants (the UK ha
237.
▲
by
gmac
3y ago
Since Loco2 became Rail Europe I've found the website has gone heavily downhill. I now find thetrainline.com often more efficient and more likely to find viable routes at a reasonable price.
238.
▲
by
gmac
3y ago
Thanks, that’s a helpful summary. I knew about the ed25519 issue (but not the others) from writing this: https://github.com/jawj/subtls
239.
▲
by
gmac
3y ago
In JS you’d use SubtleCrypto, (as long as it implements what you need), right?
240.
▲
by
gmac
3y ago
That really isn't what I said or meant.
More ›