Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
porsager
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
26 ms
·
211.
▲
Science experiments for kids, delivered to your door
(melscience.com)
1 points
by
porsager
7y ago
|
0 comments
212.
▲
by
porsager
7y ago
Yes you should be able to model that using `.begin()` and `.savepoint()` within. https://github.com/porsager/postgres#savepoint-sqlsavepointn... Is that what you're looking for?
213.
▲
by
porsager
7y ago
Thanks! That means a lot.
214.
▲
by
porsager
7y ago
Thanks a lot! I'll be looking forward to it ;) And yeah, I discarded tagged template literals when I first saw them, but they've certainly gained my love + trust since then. There's a really interesting optimization option fo
215.
▲
by
porsager
7y ago
Thanks. I'll definitely be open to features that improves daily usage, and features that treats SQL as a first class citizen. It'll never turn into an ORM. So if a feature has great value and it doesn't interfere with the cor
216.
▲
by
porsager
7y ago
I bit more than a month ago my curiosity got the better of me, and I took a deep dive in the Postgres protocol docs[1]. I was fascinated by it's simplicity, and since I've been wrapping current node modules pg or pg-promise in a t
217.
▲
Show HN: Postgres.js – Fast PostgreSQL Client for Node.js
(github.com)
14 points
by
porsager
7y ago
|
12 comments
218.
▲
by
porsager
7y ago
You're welcome. To ensure you're not sending alerts twice either select and update in a transaction or use a CTE like: with alert as ( select alert_id from alerts where alert_sent_at is null ) update alerts set
219.
▲
by
porsager
7y ago
You could use a column/table to track notifications. Eg. have an alert_sent_at column on the alerts table. Then when the node service receives the notify on an insert you can defer based on any logic you need, and send notifications wh
220.
▲
by
porsager
7y ago
How about simply having an after insert trigger on an alerts table that calls notify, and then you listen for that in node? It's a simple setup with less moving parts and could probably get you a long way...
221.
▲
Codemirror 6 Progress
(marijnhaverbeke.nl)
3 points
by
porsager
7y ago
|
0 comments
222.
▲
by
porsager
7y ago
Exactly this was one of the reasons why I built https://flems.io . Flems is basically just a scratchpad that begins with 3 files — .html, .css and .js. All the current state is stored in the URL, so sharing is simply done by send
223.
▲
by
porsager
7y ago
I've just been experimenting and evaluating inheritance for a new project for the past week, and while I felt it could have been a great fit in some cases, I choose not to use it due to the many recommendations to stay clear of it. I f
224.
▲
by
porsager
7y ago
I've actually found that it's equally possible to type without looking when using T9 on an iPhone after i made and now use https://typenineapp.com Simply having larger buttons and the phones frame as a reference point
225.
▲
by
porsager
7y ago
Just to show you, here's a quick sample https://flems.io/#0=N4IgZglgNgpgziAXAbVAOwIYFsZJAOgCsEAaEAYw...
226.
▲
by
porsager
7y ago
I think most people using it are busy building stuff with it, not having time to evangelize it. I've been using it for 4 years now, for almost any type of project you could imagine. It doesn't have that shiny hype polish as the re
227.
▲
by
porsager
7y ago
Mithril works seamlessly with Mobx, you just call m.redraw in autorun(). I actually think that just underlines the strength of Mithril. No need for a special wrapper library to support other modules.
228.
▲
by
porsager
8y ago
There is still the vote in the European Council on the 9th of April, so it might still make sense to contact your MEPs or anyone who can pressure the heads of state in your country. For anyone in Denmark, here are contact details for the Da
229.
▲
EU passes Article 11 and 13
(arstechnica.com)
4 points
by
porsager
8y ago
|
1 comments
230.
▲
by
porsager
8y ago
The new EU copyright directive. Specifically article 11 (link tax) and article 13 (upload filter). This site explains it well i think: https://juliareda.eu/2019/02/eu-copyright-final-text/
231.
▲
by
porsager
8y ago
They were all found on their parties website.
232.
▲
by
porsager
8y ago
For anyone in Denmark, here are contact details for the MEPs: - Margrete Auken - +4561625450 - margrete.auken@europarl.europa.eu - https://twitter.com/MargreteAuken - Bendt Bendtsen - bb@bendt.dk - https://twitte
233.
▲
by
porsager
8y ago
Are you sure you're not thinking of multi-tap on a keypad and not T9? Once you've learned T9 (the one where you tap a key a single time for each letter in the word and a lookup is made based on the combination). You can surely be
234.
▲
Open Source Without Maintainers
(staltz.com)
2 points
by
porsager
8y ago
|
0 comments
235.
▲
by
porsager
8y ago
Economics in One Lesson by Henry Hazlitt is amazing too - https://mises.org/system/tdf/Henry%20Hazlitt%20Economics%20i...
236.
▲
by
porsager
8y ago
For a New Liberty[1], and Ethics of Liberty[2] by Murray Rothbard [1] https://mises-media.s3.amazonaws.com/For%20a%20New%20Liberty... [2] https://mises-media.s3.amazonaws.com/The%20Ethics%20of%20Lib...
237.
▲
by
porsager
8y ago
You get dynamic redefinition with Wright[1][2] and chrome, and you can plug in Typescript pretty easily. In v2 currently under way, you can use es modules which gives you a much better experience since you can reload a single file instead o
238.
▲
by
porsager
8y ago
Are you able to easily tap the opposite upper corner when holding it with one hand (eg. the back button when using your right hand)? I have big hands and even then have issues doing this on an iPhone SE.
239.
▲
by
porsager
8y ago
Well I'd be happy to make a pull request to fix it. What is your setup?
240.
▲
by
porsager
8y ago
You can skip both, and most of the churn by taking a look at https://mithril.js.org . It's one of the only frameworks I've seen that gets you 95% of the way while supporting you through the last 5% instead of getting i
More ›