6,998 karma · joined Dec 14, 2008 (17y ago) · 1,808 submissions
comment 3y ago · link · parent
comment 3y ago · link · parent
Regarding runtime type checking, if you were to write something that can handle the total space of possible TS types, you would end up with incredibly complex machinery. It would be hard to make it perform, both in terms of speed and bundle size, and it would be hard to predict. I think Zod or perhaps https://arktype.io/ which target a reasonable subset are the only way to go.
comment 3y ago · link · parent
comment 3y ago · link · parent
I remember reading up on it back in the day and I couldn't figure out if it was woo woo or something with proper scientific backing. I have since then tried a number of apps that claim to do the same but which don't work for me. This piece of audio works for me, so that's why I keep it around :-)
comment 3y ago · link · parent
Without being familiar with the Postgres source, this seems to be what I call a "somersault problem": hard to break down into sub-goals. I have heard that the Postgres codebase is solid which makes it easier but it's still mature and highly complex. It doesn't sound feasible to me.
[link redacted]
comment 3y ago · link · parent
In the case where you need to switch to a window that you haven't been using for a while, perhaps. But switching back and forth on the other hand, is infuriating because the z-order is polluted. And I also find it incredibly frustrating that all the other windows are brought to the top just because they happen to share a process.
comment 3y ago · link · parent
Other than that, it's not like queries are any simpler and the "simple" type system is, in my opinion, not a feature. I get that some might disagree with that.
Is there some other reason why you would prefer it?
comment 3y ago · link · parent
With it, I only get types for the tables and views etc., so any join will be untyped if done client-side. This is still a big win in my opinion, and I much prefer it to normal ORM's.
comment 3y ago · link · parent
comment 3y ago · link · parent
What is a "basic feature" to you is apparently not that to most people, certainly not to me. Just how important could it be to resize the tab height? And what would vertical tabs do that the open editors panel doesn't? I also don't follow regarding the menu bar -- that's the way all apps behave on MacOS? You can put it into fullscreen mode if you want.
comment 3y ago · link · parent
comment 3y ago · link · parent
Also, this change will make it easier to make a popover-blocker than it was before.