Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
vsroy
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
61.
▲
by
vsroy
4y ago
I have been using tailwind. One thing I've noticed is that it can become unmaintainable compared to styled-components since you just have divs with classes (and it's hard to read 50 nested divs). Has anyone used something like Tai
62.
▲
by
vsroy
4y ago
Another follow-up question: Do you think Lexical would be a good fit for a "live preview" type editor? Live preview = the editor is WYSIWYG but the storage format is Markdow Example: https://help.obsidian.md/Live+p
63.
▲
by
vsroy
4y ago
When you say inline markdown shortcut, is an example of that pressing Ctrl-B on some highlighted text in order to surround it with asterisks? And is the idea of mentions that we can use Lexical to provide nice things like pop-up auto-comple
64.
▲
by
vsroy
4y ago
Let's say I'm building a stack overflow style editor (you type markdown and it gets rendered in a preview tab) -- would there be any reason to use lexical?
65.
▲
by
vsroy
4y ago
What is the use case for this? Is it for making advanced layouts that HTML + CSS can't handle?
66.
▲
by
vsroy
5y ago
> Also, hopefully the API you use to send email has a way to avoid duplicate emails, perhaps by attaching a unique ID to the request that's used to detect duplicate sends. I think this is the interesting part. Storing a value in the
67.
▲
by
vsroy
5y ago
I'll take another look. I skimmed the article to get an understanding of idempotency keys without reading it in full detail.
68.
▲
by
vsroy
5y ago
Thanks! This was a good article. I guess there's a question of what to do if the API does not have idem-potency keys, (maybe it's possible to wrap it?)
69.
▲
by
vsroy
5y ago
There's one hole here where it feels like things could slip through. - You call the send email API but your server crashes before the API returns 200. This would be fine in the case of email servers (you just end up sending the email t
70.
▲
by
vsroy
5y ago
I see a few solutions in the comments: but one thing that is not acknowledged is: "What do you do if the email service executes successfully but your server crashes before the POST is returned". I guess this isn't the worst t
71.
▲
Ask HN: How to make server side code atomic?
8 points
by
vsroy
5y ago
|
22 comments
72.
▲
by
vsroy
5y ago
What are some of the interesting tradeoffs this language has made? Ideally with super small code samples
73.
▲
by
vsroy
5y ago
Can anyone who has used nushell for a while comment on pros/cons?
74.
▲
by
vsroy
5y ago
Could ZKPs help here?
75.
▲
by
vsroy
5y ago
Can someone provide a layman's explanation?
76.
▲
Ask HN: What should a student who is already decent at SWE do over the summer?
4 points
by
vsroy
5y ago
|
17 comments
77.
▲
by
vsroy
5y ago
I think the fact that you can save WASM memory / state will yield itself for very powerful applications in the future. I think there's a world where true time-travel debugging is possible because you execute your Python program in
78.
▲
by
vsroy
5y ago
Can someone explain why overwork kills people? I'm curious, maybe there's a way to work 70 hour weeks without harming your health? (I.e possibly overwork is correlated with lack of sleep / exercise, which are the real dangers
79.
▲
Show HN: Jsmv – Manipulate your file system using JavaScript
(github.com)
1 points
by
vsroy
6y ago
|
0 comments
80.
▲
by
vsroy
6y ago
I see a lot of disagreement with this post but I think it makes good points. It's hard for small developers who make useful things to get noticed on GitHub. The only hope is to get retweeted by some established user. This seems silly,
81.
▲
by
vsroy
6y ago
Yes, it must be placed in the same file as the type itself. Side note: It is a Babel macro :)
82.
▲
Show HN: Compiletime macro to auto generate fast validators for TypeScript types
(github.com)
7 points
by
vsroy
6y ago
|
3 comments
83.
▲
Show HN: Automatically generate fast validation functions for TypeScript types
(github.com)
5 points
by
vsroy
6y ago
|
0 comments