Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mgreenw
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
mgreenw
2y ago
Puck is a marvel of drag and drop engineering and a wonderful open source project. Kudos to the team for this release!
2.
▲
by
mgreenw
2y ago
GCP charges for egress though. Agreed with OP, please bring Neon to GCP! Why Azure first?
3.
▲
by
mgreenw
3y ago
‘Twas a joke about JSON Web Tokens _sigh_ Note: my original comment said “JWT”
4.
▲
by
mgreenw
3y ago
Are we sure they verified the claims in that JSON Web Token?
5.
▲
by
mgreenw
3y ago
Exactly! I wrote a post about this pattern: https://maxgreenwald.me/blog/do-more-with-run
6.
▲
by
mgreenw
3y ago
I wrote a blog post about my experience with Dvorak! TL;DR It's great, but if you're interested you should use Colemak. Once you switch you won't go back. https://maxgreenwald.me/blog/switching-to-dvorak
7.
▲
by
mgreenw
3y ago
Try using `run` in the return of a React (or similar) component and you'll never go back ;) There is always a balance here. I'm not saying to never extract a named function, and there is certainly good reason to do that, especiall
8.
▲
by
mgreenw
3y ago
Same, I've written this so many times. Node just added this as a built-in utility FWIW https://nodejs.org/api/timers.html#timerspromisessettimeoutd...
9.
▲
by
mgreenw
3y ago
> I am in love with “everything is an expression” from my time with Rust Totally agreed! I wish JS had if expressions (maybe in the future?). It doesn't seem like such a huge change if it were rolled out slowly like other new syntax
10.
▲
by
mgreenw
3y ago
Yes, I do think the extra parens are less readable. Its not about number of characters, its about reasoning that the inline function that you just wrapped in parens is then called later, potentially after many lines. At least with `run` it&
11.
▲
by
mgreenw
3y ago
Completely agreed, and I use this if-based early return syntax frequently! That being said, I like using `if` and `else if` and `else`, but maybe that's just me! I don't think there's a substantial difference in readability o
12.
▲
by
mgreenw
3y ago
Well you definitely can do that to my somewhat contrived example that is loosely based off of an example from the `do` expression proposal, but I'm not sure its better. Part of the beauty of `run` is that you don't have to declare
13.
▲
'Do' More with 'Run'
(maxgreenwald.me)
43 points
by
mgreenw
3y ago
|
30 comments
14.
▲
by
mgreenw
3y ago
Great, but the design and usability is still terrible compared to Slack. Not sure that can ever be fixed.
15.
▲
by
mgreenw
4y ago
Yea, but are any of those missing features required to run Snapchat?
16.
▲
by
mgreenw
4y ago
Yea that's fair, and I totally understand when sites limit to newer (last 2-3 years) versions of browsers or limit to Chrome, Safari, and Firefox. But to cap it at just Chrome like its 2012 when browser compatibility has come such a lo
17.
▲
by
mgreenw
4y ago
How is it possible that in 2023 they can't support Firefox and Safari? Update: It works totally fine on Firefox if you use an extension to lie about your user agent. What a joke.
18.
▲
by
mgreenw
5y ago
Rooted Farmers | Full Stack Software Engineer (Typescript, React, PostgreSQL) | Remote (Northeastern US) | Full-Time | https://www.rootedfarmers.com Rooted Farmers is an agricultural technology startup dedicated to providing sma
19.
▲
by
mgreenw
5y ago
Rooted Farmers | Full Stack Software Engineer (Typescript, React, PostgreSQL) | Remote (Northeastern US) | Full-Time | https://www.rootedfarmers.com Rooted Farmers is an agricultural technology startup dedicated to providing sma