Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
lewisl9029
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
91.
▲
by
lewisl9029
4y ago
So I had a Twitter account since 2009 but never really used it till a few months ago. I have some mixed feelings about it. On one hand, I really love the consumption side (following people and reading their tweets): being able to follow int
92.
▲
by
lewisl9029
4y ago
Really enjoyed the article! Wholeheartedly agree with the use of iteration speed as the measure for productivity. I think one key under-explored opportunity for improving productivity involves bringing the outer loop closer to the inner loo
93.
▲
by
lewisl9029
4y ago
Uh... I have a less rosy picture of the situation. To brain drain Canadian talent, US companies used to need to convince people to physically move to a different country, a rather tall order, but even then people were leaving in droves. Now
94.
▲
by
lewisl9029
4y ago
Canadian tech employers have been completely myopic for decades, only willing to compete in salary against other local tech employers, while anyone who's actually any good can make 2x+ within a 3 hour drive south. This resulted in a to
95.
▲
by
lewisl9029
4y ago
Vitest is great for running unit tests, but for component testing I still think running in a real browser and using visual snapshots & diffs is preferable to dom snapshots & diffs in a fake browser env like node + jsdom. It's n
96.
▲
by
lewisl9029
4y ago
One thing I forgot to mention: Reflame requires fast writes globally only for a small subset of use cases. For everything else, it only needs fast reads globally, and for those I've been really liking FaunaDB. It's not SQL, but it
97.
▲
by
lewisl9029
4y ago
A lot of great info here already, but I just wanted to add my 2c as someone who's been chasing the fast writes everywhere dream for https://reflame.app . Most of the approaches mentioned here will give you fast reads everywh
98.
▲
by
lewisl9029
4y ago
I much prefer Deno's approach of using arbitrary ES modules hosted on the internet for composition, and was hoping CF Workers would move towards the same. But here it looks like they're straying further from this approach in favor
99.
▲
by
lewisl9029
4y ago
I've been having 1 meal a day for several years now (since well before the pandemic), and my weight has stayed pretty much constant throughout. The tricky part for me wasn't getting enough calories, but ensuring I'm getting a
100.
▲
by
lewisl9029
4y ago
Also been a happy user since their very early days. I do have some nits though: - It's kind of finicky on Android, especially with exit nodes enabled. Sometimes I lose connectivity completely after connecting to an exit node, until I f
101.
▲
by
lewisl9029
5y ago
An alternative to Microsoft 365 if you don't need anything other than email hosting is their Exchange Online plan, which is $4/month: https://www.microsoft.com/en-us/microsoft-365/exchange/excha...
102.
▲
by
lewisl9029
5y ago
The broken form thing reminds me of when I tried to send a message to California FTB (basically the IRS for California). Kept getting this cryptic error: "Field contains invalid characters or format." Eventually I found through tr
103.
▲
by
lewisl9029
5y ago
I guess I'm ok with going through with this because the legacy G Suite account was already a "special" kind of account with all kinds of weird restrictions, and will become even more so once they close off access to the works
104.
▲
by
lewisl9029
5y ago
Well, that's unfortunate. I gave Wire a try quite a while ago and left because of these exact issues. Was hoping that they might have addressed them by now, but looks like that's not the case. What I really want is an E2E encrypte
105.
▲
by
lewisl9029
5y ago
My main issue with Cypress was the fact that it required a shift in mental model, i.e. queuing commands rather than executing them, thenables that aren't actually promises, running as client side JS as opposed to in a controller script
106.
▲
by
lewisl9029
5y ago
Has anyone gotten access to R2 yet? I signed up but haven't heard back myself. Would love to find out if you can write to any/every region and have things replicate, or if you have to write to a single region. BunnyCDN's edge
107.
▲
by
lewisl9029
5y ago
Same here. I honestly don't need the custom domain email stuff (I can move that to another provider). Just give me an option to turn my account into a regular @gmail.com account with working email/calendar/meet like everybody
108.
▲
by
lewisl9029
5y ago
I'm so glad Fly exists. Every other edge focused thing out there I'm aware of are "serverless" which these days basically means they charge per request. That's fine for a lot of use cases, but the unit economics of
109.
▲
by
lewisl9029
5y ago
> I think that's the browsers making names up. No system resolvers I've seen respond to an x.localhost lookup. Fair enough, I guess I just wish node would behave more like a browser in this case then, as it'd have saved me
110.
▲
by
lewisl9029
5y ago
One recent frustration I ran into with Node's DNS is that it doesn't seem to resolve whatever.localhost to 127.0.0.1, unlike my browser. Not entirely sure which is doing the right thing by the spec here, but I much prefer the brow
111.
▲
by
lewisl9029
5y ago
Indeed, I was expecting something like this: https://fly.io/blog/the-5-hour-content-delivery-network/ Good thing it already exists!
112.
▲
by
lewisl9029
5y ago
Re: the first linked issue, does it only affect scripts that require the --allow-run permission in some form? Are the other permission types (--allow-read/write/net/etc) also affect by this or similar issues somehow? The 2nd
113.
▲
by
lewisl9029
5y ago
To anyone looking to learn how to use browser devtools to identify memory leaks, this HTTP 203 episode is the most approachable resource I know of: https://www.youtube.com/watch?v=YDU_3WdfkxA
114.
▲
by
lewisl9029
5y ago
Not to mention the decision paralysis and change aversion it often introduces into company culture where every change, however trivial or however obviously beneficial, has to first go through a 2-week A/B test which often turns out to
115.
▲
by
lewisl9029
5y ago
First time hearing about CUID too, but have used ULID before. ULID is basically just 48 bits of timestamp + 80 bits of randomness, while CUID adds a counter for monotonicity, and a client fingerprint for collision resistance, presumably at
116.
▲
by
lewisl9029
5y ago
That's definitely an unsolved (unsolvable?) problem. The best we can really do is start with a common sense set of initial tests based on the user observable behaviors we want from the system and then add more tests organically as we l
117.
▲
by
lewisl9029
5y ago
Yeah exactly, code review isn't a good place to catch actual bugs. Humans are terrible at catching bugs consistently... Humans probably introduced those bugs in the first place. It's also an exceedingly poor use of human time, whi
118.
▲
by
lewisl9029
5y ago
Agreed with avoiding margins, especially on reusable components, as they remove a degree of freedom for how they can be laid out by users. But these days, instead of margins or spacer components, I would recommend just using flex gap and gr
119.
▲
by
lewisl9029
5y ago
I think many of the ideas/techniques behind Bazel are excellent: hermiticity, distributed caching, dependency analysis, massively parallel execution, etc. There are so many things every other build system out there can learn and apply
120.
▲
by
lewisl9029
5y ago
My new favorite reset is this one: https://elad2412.github.io/the-new-css-reset/ Here's a great interview with the author on CSS Tricks that explains some of the design choices in depth (this is where I first came
More ›