Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
adam-p
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
1.
▲
by
adam-p
4mo ago
Psiphon | iOS / Flutter Developer | Toronto (Hybrid) | Full-time Psiphon is a VPN app used by millions of people to access the open internet in regions where it's restricted. Small team, software that matters. We're building
2.
▲
by
adam-p
5mo ago
Psiphon | iOS / Flutter Developer | Toronto (Hybrid) | Full-time Psiphon is a VPN app used by millions of people to access the open internet in regions where it's restricted. Small team, software that matters. We're building
3.
▲
by
adam-p
9mo ago
Mine is mostly a (sporadically updated) blog: https://adam-p.ca/
4.
▲
Concert cancelled after AI wrongly accuses artist of being sex offender
(cbc.ca)
22 points
by
adam-p
9mo ago
|
12 comments
5.
▲
by
adam-p
1y ago
State censorship circumvention is exactly what Psiphon is for! So yes, try it. (Disclaimer: I work there.)
6.
▲
by
adam-p
1y ago
I added a section with brief discussion of rejection, truncation, and the perils therein. https://adam-p.ca/blog/2025/04/string-length/#what-to-do-whe...
7.
▲
by
adam-p
1y ago
> The article is somewhat wrong when it says Unicode may "change character normalization rules"; new combining characters may be added (which affects the class sort above) but new precombined ones cannot. That's fair. I up
8.
▲
by
adam-p
1y ago
If you can get away with that, that's great. But I feel like there are still plenty of cases where you want to limit the lengths of particular fields (and communicate to the user which lengths were exceeded).
9.
▲
by
adam-p
1y ago
Valid question, and I think you're right in the abstract and most of the time. But I also think you end up with a mismatch. What's the concrete spec for the limit if you've only got 10x storage per grapheme cluster? Probably
10.
▲
by
adam-p
1y ago
I don't get into truncation much, but I do mention the risk of: a) failing to truncate on a code point sequence boundary (a bug React Native iOS used to have)[1], and b) failing to truncate on a grapheme cluster boundary (a bug React N
11.
▲
by
adam-p
1y ago
@dang Can the title be changed? It should be "The best – but not good – way to limit string length". Thanks.
12.
▲
The best – but not good – way to limit string length
(adam-p.ca)
49 points
by
adam-p
1y ago
|
44 comments
13.
▲
by
adam-p
2y ago
Except that TOTP codes are MitM phishable. U2F with its URL-checking (via browser cooperation) is needed.
14.
▲
by
adam-p
2y ago
If you want another example of difficulty with the AMO review process: https://github.com/adam-p/markdown-here/issues/21 And that's just one of the examples; another resulted in me having to add a prepr
15.
▲
by
adam-p
2y ago
I also used Google Sheets as a datastore backend: https://github.com/adam-p/danforth-east It's a community association membership management thing, and I wanted the (non-technical) association board members to be
16.
▲
by
adam-p
3y ago
Here are Google's related Email Sender Guidelines: https://support.google.com/mail/answer/81126 Note that these take effect in two weeks.
17.
▲
More Secure, Less Spam: Enforcing Email Standards for a Better Experience
(blog.postmaster.yahooinc.com)
3 points
by
adam-p
3y ago
|
1 comments
18.
▲
by
adam-p
3y ago
There are a couple of shortcomings that I think I see: 1. If the clock moves backwards (and an "older" record gets created), it doesn't help. 2. If a duplicate timestamp is created with an id that sorts earlier than one of th
19.
▲
by
adam-p
3y ago
Nice. That's a good general rule to follow.
20.
▲
by
adam-p
3y ago
That's a good point. I'll add a note to the post.
21.
▲
Bug story: Sorting by timestamp
(adam-p.ca)
68 points
by
adam-p
3y ago
|
46 comments
22.
▲
From zero to boutique module manufacturer
(pichenettes.github.io)
1 points
by
adam-p
4y ago
|
0 comments
23.
▲
Freak Out Now
(vult-dsp.com)
1 points
by
adam-p
4y ago
|
0 comments
24.
▲
The Sins of Select
(red-gate.com)
2 points
by
adam-p
4y ago
|
0 comments
25.
▲
by
adam-p
4y ago
Psiphon | Software Engineer | https://psiphon.ca | Toronto, Canada | Full-time | REMOTE for now, REMOTE/ONSITE hybrid later Psiphon Inc. is looking for experienced software developers to join our Toronto team. = What we do
26.
▲
by
adam-p
4y ago
Psiphon | Software Engineer | https://psiphon.ca | Toronto, Canada | Full-time | REMOTE for now, REMOTE/ONSITE hybrid later Psiphon Inc. is looking for experienced software developers to join our Toronto team. = What we do
27.
▲
Nightmares are a good predictor of future dementia – new study
(theconversation.com)
6 points
by
adam-p
4y ago
|
1 comments
28.
▲
by
adam-p
4y ago
Psiphon | Software Engineer | https://psiphon.ca | Toronto, Canada | Full-time | REMOTE for now, REMOTE/ONSITE hybrid later Psiphon Inc. is looking for experienced software developers to join our Toronto team. = What we do
29.
▲
by
adam-p
4y ago
Psiphon | Software Engineer | https://psiphon.ca | Toronto, Canada | Full-time | REMOTE for now, REMOTE/ONSITE hybrid later Psiphon Inc. is looking for experienced software developers to join our Toronto team. = What we do
30.
▲
by
adam-p
4y ago
Psiphon is helping almost 2.5 million Russians per day access the rest of the internet. (Which is just what we do.) https://psix.ca/d/nyi8gE6Zk/regional-overview?orgId=2&var-re...
More ›