Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kccqzy
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
15 ms
·
361.
▲
by
kccqzy
5mo ago
> You’re investing in an actively-managed fund. Nitpick: It’s still a passive fund, just that the index constituents are decided actively by a committee rather than by a simple criterion. As you no doubt already know, S&P500 isn’t ju
362.
▲
by
kccqzy
5mo ago
Your daemon can be smart enough to know which are its own pages and prevent them from being swapped out. The Linux kernel also prevents its own text pages from being swapped out, so the solution exists and I don’t see why it doesn’t apply t
363.
▲
by
kccqzy
5mo ago
If I recall, if it fails to unlock, I mash the button a few more times, probably triggering some race condition, and the app is unlocked for the rest of the day.
364.
▲
by
kccqzy
5mo ago
That’s like the complete opposite advice. Chris said the lowest recommended swappiness is 1. I have it set to 100.
365.
▲
by
kccqzy
5mo ago
https://news.ycombinator.com/item?id=40697318 This HN comment and the linked post brought up a lot of good points. The main takeaway is that swap should primarily be considered a mechanism for equality of reclamation, not f
366.
▲
by
kccqzy
5mo ago
I used it a bit but it’s buggy: failing to unlock, or just tapping the button once for unlimited use. Eventually it completely stopped working.
367.
▲
by
kccqzy
5mo ago
What tooling are you thinking of that’s part of the language? I don’t think CPython ships with a type checker, does it? People typically use mypy or pyright and neither or these are part of the language.
368.
▲
by
kccqzy
5mo ago
How are you getting static typing without additional tooling?
369.
▲
by
kccqzy
5mo ago
> Without even asking whether the site can use local storage? Where did you see this in the article? I had some recollection that Firefox at least did require asking the user.
370.
▲
by
kccqzy
5mo ago
I did that more than a decade ago as a new hire. My manager forgot to gave me sudo access to the shared build server. I gave myself sudo access through this method after getting his permission. Needless to say, I have podman in rootless mod
371.
▲
by
kccqzy
5mo ago
It sounds possible, but insurance probably won’t cover it. So this super double ultra premium T1 support will probably be only for the people rich enough to not need insurance.
372.
▲
by
kccqzy
5mo ago
No it’s not. When the asset management industry says “information technology” they exclude the technology used for communication. That’s why VGT doesn’t invest in GOOG or META. AMZN is consumer discretionary so it’s also excluded.
373.
▲
by
kccqzy
5mo ago
That’s why fully AI written projects are only interesting to those who care only about productivity (i.e. business use cases) rather than the developer’s enjoyment and satisfaction. For my own sanity, I never allow AI to do everything. Eith
374.
▲
by
kccqzy
5mo ago
> combining and untangling multiple monads What? I have to assume you mean combining and untangling multiple effects in an effect system. And the solution is simple: don't. IO is the only monad you use for all IO: logging, networkin
375.
▲
by
kccqzy
5mo ago
Well no. If you have home insurance, your insurance provider can deny you coverage based on the dilapidated appearance of the house. If you have renter’s insurance, it only covers your own belongings and won’t be affected. And as a renter y
376.
▲
by
kccqzy
5mo ago
Theoretically these capital expenses like fence replacement or roof replacement should have been deducted from the market value of a house when you buy it: a theoretically rational buyer would take into account the present value of future c
377.
▲
by
kccqzy
5mo ago
A lot of small mom-and-pop landlords are certainly losing money. Especially when they buy properties as their own residence but later converted to a rental. The majority of the Bay Area housing market has basically zero properties that woul
378.
▲
by
kccqzy
5mo ago
There are plenty of psychological drawbacks as well. Consider for example that the fence between your house and your neighbor has become dilapidated. But your neighbor thinks it is fine and will not pay for a replacement. What do you do? Re
379.
▲
by
kccqzy
5mo ago
Oh and one more thing I forgot: in git a lot of operations require you to have a clean checkout. Otherwise you have to stash your changes first before doing that operation. With jujutsu’s model, there is no stashing. Every edit is already p
380.
▲
by
kccqzy
5mo ago
It’s funny that you think Dropbox is supposed to let you access lots of files without taking up tons of local drive space. I still think of Dropbox as a file synchronization tool, so taking up tons of local drive space is an expected behavi
381.
▲
by
kccqzy
5mo ago
I’m the opposite. I loved React (before its hook madness) but I hated JSX. I’ve been using a lispy language to write React since it first came out. Initially went with someone’s pet project and eventually switched to ClojureScript. If you a
382.
▲
by
kccqzy
5mo ago
Honestly it took me about two days before I just got used to it. You can change `git checkout blah` into `jj new blah`.
383.
▲
by
kccqzy
5mo ago
Ah but then I reword the commit message as I make changes to the commit. If the commit message does not tell the whole story, I change the commit message. It's much more convenient to change a commit message in git than to rename branc
384.
▲
by
kccqzy
5mo ago
If the big innovation over svn is merging for git, then the big innovation here is conflicts. I hate the fact that git requires you to stop everything and fix the merge conflict when you merge. I especially hate the fact that when rebasing
385.
▲
by
kccqzy
5mo ago
> But you probably haven't spent time writing commit messages before a branch is finished. Wrong. With jj, I use `jj describe` before I start work. It is like writing out a plan for what I want to do. > Or, if you have, you'
386.
▲
by
kccqzy
5mo ago
I collaborate a whole lot. In fact for solo development I use git because jj is overkill for it. Also by default jj prevents you from overwriting commits that exists on the main branch on the remote, but this is what I often do on solo proj
387.
▲
by
kccqzy
5mo ago
You don’t need easy named branches. Naming branches is a chore: since you already spend time writing commit messages, branch names are just a summarization of your commit messages but with more character restrictions. That’s why I always us
388.
▲
by
kccqzy
5mo ago
Not an issue. If you trade section 1256 contracts, the current tax code already requires you to report unrealized gains by calculating the gains as if they are sold on the last day of the tax year. Brokers have no issues calculating that an
389.
▲
by
kccqzy
5mo ago
The main implementation issue with a wealth tax is that it doesn’t at all interact with the capital gains tax. It’s easy to fix the implementation issue by integrating the wealth tax into the capital gains tax (call it unrealized capital ga
390.
▲
by
kccqzy
5mo ago
On the other hand, almost a majority of people already pay no federal income tax anyways. Mitt Romney mentioned a number of 47% during his presidential campaign and that number was mostly true. https://www.politifact.com/fac
More ›