Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
setopt
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
37 ms
·
541.
▲
by
setopt
2y ago
I kinda agree that there should be a market for more journaling apps. Something like Logseq for non-programmers would be a hit. At the same time… I think you overestimate how hard it is to get started with your own solution. The shell scrip
542.
▲
by
setopt
2y ago
As long as auto-revert-mode is on (so the editor notices synced changes from other devices), you can sync it using any file storage service: Dropbox, iCloud Drive, Resilio Sync, etc.
543.
▲
by
setopt
2y ago
> Or consider using Vim/Neovim and set a leader hotkey to open today’s journal/YYYY-MM-DD.txt For a broader audience: Create a shell script that runs “$EDITOR $JOURNALDIR/$(date +%Y-%m-%d).md”, and bind a system-wide keybi
544.
▲
by
setopt
2y ago
(setopt org-agenda-skip-scheduled-if-done t)
545.
▲
by
setopt
2y ago
> I haven't used an IDE that has that You don’t need an IDE for this, an LSP plugin + Pyright is sufficient to get live type checking. For instance, Emacs (Eglot), Vim (ALE), Sublime (SublimeLSP) all support Pyright with nearly no s
546.
▲
by
setopt
2y ago
I agree. There are usable third-party runtime type checkers though. I like Beartype, which lets you add a decorator @beartype above any function or method, and it’ll complain at runtime if arguments or return values violate the type hints.
547.
▲
by
setopt
2y ago
That issue is fixed by using the libmamba resolver: https://www.anaconda.com/blog/a-faster-conda-for-a-growing-c...
548.
▲
by
setopt
2y ago
I’m in Norway and had to go via a sales rep. Are you sure that you can click cancel without talking to a sales rep? If so, are there perhaps local German (not EU/EEA) rules on this?
549.
▲
by
setopt
2y ago
Temperature is indeed related to entropy and energy. Entropy is a measure of information, and at a microscopic level is defined similarly in physics and in information theory. (And can be converted from SI units to bits.)
550.
▲
by
setopt
2y ago
With Vim + ALE this is dead easy: Install LSP servers via your OS package manager, and ALE will find them in $PATH and use them. If you want to use NeoVim, then LSP-zero + Mason was also a decent experience last I tried.
551.
▲
by
setopt
2y ago
Genuine question: How are those random sources actually used? I would think that for crypto it’s very important to not just have random numbers, but to have a uniform random distribution. Many natural sources would be either Poisson or Gaus
552.
▲
by
setopt
2y ago
Their content is great, but their subscription system is abhorrent. I’m not resubscribing in the future despite liking their content, and wouldn’t recommend that anyone else does either. If you want to cancel your The Economist subscription
553.
▲
by
setopt
2y ago
Fractals and Dirac delta functions both have somewhat pathological properties at times, and both pop up as approximations of real systems in physics. I would personally not consider it fundamental either though, more of a “let’s cross that
554.
▲
by
setopt
2y ago
It’s not the researcher’s fault if the libraries they use make breaking changes after a month; proof-of-concept code published with a paper is supposed to be static, and there’s often no incentive for the researcher to maintain it after pub
555.
▲
by
setopt
2y ago
> positive feedback doesn't prove that you are entirely correct You often don’t need to be 100% sure that everything is correct before you move from “writing notes” to “doing something”. At that point, I find that note-taking become
556.
▲
by
setopt
2y ago
I’m not the one you replied to, but I generally type without using my pinky at all – including pressing Caps Lock (Ctrl) and Enter with my ring fingers. For me, I’ve had bad cases of RSI before, and find it more ergonomic to move my hands
557.
▲
by
setopt
2y ago
Note that this is slightly different from PC keyboards. On Mac, Fn as a modifier is handled by the OS and can be remapped (in System Settings or by individual apps like Emacs). On most PC keyboards, Fn causes different signals to be sent to
558.
▲
by
setopt
2y ago
MacBook keyboards have a similar modifier layout to a Space Cadet in some ways: On your left hand, there’s {Cmd, Opt, Ctrl, Fn} in a row. Emacs on MacOS can use all four modifiers, e.g. mapping them to the historical {Ctrl, Meta, Super, Hyp
559.
▲
by
setopt
2y ago
I think intuition is not something you’re born with, it’s something you build through experience. The best physicists I know don’t sit down and calculate that often. They rather play with “cartoon pictures” to figure out what problems are i
560.
▲
by
setopt
2y ago
> nothing else than vscode supports it Isn’t it just like remote development? I’d expect you to be able to e.g. run Vim inside the container, use Emacs TRAMP to connect to it, or `rmate` to edit the files inside in e.g. Sublime.
561.
▲
by
setopt
2y ago
If you define variants sint(x) = sin(2πx) and cost(x) = cos(2πx) that takes x in units of turns instead of radians, then d/dx sint(x) = 2π cost(x) etc. I agree with you that this is completely fine though. I also find it more natural t
562.
▲
by
setopt
2y ago
Vim9script is already compiled (which is why it’s much faster), so there’s no need to go via Lua if you’re on ”normal” Vim :)
563.
▲
by
setopt
2y ago
And e^x is the inverse of \int dx/x, which pops up a lot.
564.
▲
by
setopt
2y ago
Very. One consequence is that, for example, momentum might not be conserved, since according to Noether’s theorem momentum conservation is directly linked to the translation invariance of fundamental physical laws. One consequence of that i
565.
▲
by
setopt
2y ago
Before the rise of Chrome, it hovered at 20-30% market share for many years. After the preceding period of IE dominance, I’d call that successful.
566.
▲
by
setopt
2y ago
Atom is actually alive and well as a community project under the new name “Pulsar”. https://pulsar-edit.dev/
567.
▲
by
setopt
2y ago
I wouldn’t call Atom/VSCode “clones” of Sublime Text. They were clearly inspired, but are missing the minimalist interface and high performance that for me are key features of Sublime Text. In this sense, I consider Zed to be more of i
568.
▲
by
setopt
2y ago
I guess we then have to bet… Is it more likely that NSA has a secret large-scale quantum computer, or that they have a secret vulnerability in post-quantum algorithms? And does it matter anyway if they have a secret backdoor in your OS :)
569.
▲
by
setopt
2y ago
My position would still be that: - If you’re working on critical code where one wrong line can bring down the planet, it is your organization’s responsibility to adapt. This means thorough testing before you roll it out to production, code
570.
▲
by
setopt
2y ago
> because even though you could integrate LSP, a linter, etc... a lot of them don't. I think you overestimate the amount of work needed to get these things working… With Vim, for example, you can install a single plugin “ALE”, and
More ›