Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
porsager
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
121.
▲
by
porsager
3y ago
If it's not that hard, would you then mind setting up a case where you show who the victim is and why?
122.
▲
by
porsager
3y ago
It doesn't explicitly encourage you to do it, but it's very much right there - waiting to happen because you always just pass a string to the query function? In Postgres.js you have to use a function that is specifically named `un
123.
▲
by
porsager
3y ago
Well that's exactly what Postgres.js will do for you ;)
124.
▲
by
porsager
3y ago
They've looked at Postgres.js ( https://github.com/porsager/postgres ) before — wouldn't mind if they enabled those other cases in the same way. Also, node-postgres is ripe for sql injections because you just c
125.
▲
US officials lead urgent rescue talks for First Republic
(reuters.com)
31 points
by
porsager
3y ago
|
16 comments
126.
▲
by
porsager
4y ago
Would be great if npm->github->microsoft partnered up with https://socket.dev to get a crude filter and take down any obvious malicious/spam packages.
127.
▲
by
porsager
4y ago
Yes, these are an absolute must :) Came here looking specifically if this was possible. The cool thing is that is currently the only thing I've been missing after playing for a couple hours! I've tried vscode yearly to see if it h
128.
▲
Quantum entanglement just got a whole lot weirder
(bigthink.com)
2 points
by
porsager
4y ago
|
0 comments
129.
▲
by
porsager
4y ago
I wanted to give swift a try when it came out in 2014. I created the keyboard I know you all miss on the iPhone, and it's been doing quite great since. https://typenineapp.com
130.
▲
Node.js Corepack
(nodejs.org)
1 points
by
porsager
4y ago
|
0 comments
131.
▲
by
porsager
4y ago
The iPhone keyboard was definitely better than any other full qwerty smartphone keyboard of its time back then, but it felt so wrong to throw out the Baby with the Bath water. A whole generation had learned the T9 solution (not talking abou
132.
▲
by
porsager
4y ago
Could we please stop this "shouldn't be handrolled" or "don't write your own X". It only results in pushing some false idea that you have to be special to do these things, or that innovation is impossible. I ca
133.
▲
by
porsager
4y ago
Setting up row level security policies to exclude rows `where deleted_at is not null` solves most of the issues with the discarded solution. Of course it would be crazy to have a system where you will need any extra where clauses for the de
134.
▲
by
porsager
4y ago
There is no reason to take on the tech debt of an ORM when you can use RLS to solve this be defining a policy that excludes records where deleted_at is not null.
135.
▲
by
porsager
4y ago
Don't listen to anyone saying "Don't write your own X". These things are not that hard once you filter out all the useless abstractions added by various libraries trying to give you a turn key solution. I suppose many ju
136.
▲
by
porsager
4y ago
Perhaps node-datachannel could be a viable alternative? https://github.com/murat-dogan/node-datachannel
137.
▲
Biden says Twitter spews lies across the world
(reuters.com)
4 points
by
porsager
4y ago
|
0 comments
138.
▲
by
porsager
4y ago
Yes, indeed greedy.. > If there's one thing missing from every 10k it's how prosperous "everyone" is becoming. What does that even mean?
139.
▲
by
porsager
4y ago
Or maybe everyone could have a more prosperous life, if we didn't have so many people, like you, scared of losing their priviledged positions, and using exploitation as an excuse to quell any potential competition. If you're so af
140.
▲
Norwegian Airlines NBX credit card offers 4% Bitcoin per purchase
(nbx.com)
1 points
by
porsager
4y ago
|
0 comments
141.
▲
by
porsager
4y ago
Also live on https://youtube.com/watch?v=Z13QK1shc7A
142.
▲
5:30pm White House Briefing to Unveil Imagery from James Webb Space Telescope
(nasa.gov)
3 points
by
porsager
4y ago
|
1 comments
143.
▲
Danish auth NemID for all public services down on day 3
(version2.dk)
4 points
by
porsager
4y ago
|
0 comments
144.
▲
Lgtm.com – Automated Code Review and Security Analysis
(lgtm.com)
1 points
by
porsager
4y ago
|
0 comments
145.
▲
by
porsager
4y ago
I've been runnning mailcow[1] on a small Hetzner vserver for a bit more than 4 years with minimal downtime and maintenance. I followed their guides for the most optimal setup, and so far i feel deliverability has been comparable to com
146.
▲
by
porsager
5y ago
Wow.. Yeah that's a great example of exposing what's actually going on! Btw, is there a specific reason you're not listing the "yellow issues" from a packages dependencies on its front page? For instance https:
147.
▲
by
porsager
5y ago
This won't prevent packages you're already giving capabilities to - to later do something evil in a small patch update. So it's not enough - you should also not rely on "automatic security updates" through some sort
148.
▲
Seed-inspired spinners ride the wind and monitor the atmosphere
(nature.com)
1 points
by
porsager
5y ago
|
0 comments
149.
▲
by
porsager
5y ago
It was indeed the RDS Proxy. It appers to be very strict about the client_encoding parameter. Postgres.js was sending 'utf-8' which PostreSQL will understand, but RDS Proxy would just hang until this was changed to UTF8 (uppercase
150.
▲
by
porsager
5y ago
Hey keb_ :) Thanks a lot!
More ›