Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
setopt
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
37 ms
·
601.
▲
by
setopt
2y ago
Anecdotal evidence: Ever experienced that a bus is braking (near-constant deacceleration), and people seem fine; but then the bus comes to a halt and thus stops deaccelerating, and people suddenly fall on the floor? I think at least the der
602.
▲
by
setopt
2y ago
> most of the time when things somehow are not working debugging becomes a task of "find the missing dot". If they would have decided on a more obvious symbo I guess you could use your editor’s highlight-regexp function to make
603.
▲
by
setopt
2y ago
In the very common case of square matrices, I think the dotted and non-dotted operations are generally both valid?
604.
▲
by
setopt
2y ago
The only others I’ve heard of are AmVim and VSCode-NeoVim, both of which are still active. Are any of the others still in development? Any of them still worth picking over VSCodeVim?
605.
▲
by
setopt
2y ago
> What does that look like in terms of actual implementation? Also, where do we draw the line between basic needs and extras? The most realistic version seems to be Universal Basic Income. Realistic because it’s so simple to implement cf
606.
▲
by
setopt
2y ago
From this perspective, the next effect that might be relevant is the moons orbit, which should be at a frequency 1.5 orders of magnitude below the Earth spin.
607.
▲
by
setopt
2y ago
Only use case I can think of is to save web pages to your MarkDown notes. Web links usually break after a year or two. Unfortunately.
608.
▲
by
setopt
2y ago
Might be worth pointing out that quaternions themselves are often represented as matrices as well: That’s the Pauli matrices, widely used to model quantum spin. One advantage of quaternions is that it’s (IMO) easier to calculate things with
609.
▲
by
setopt
2y ago
CuPy is also great – makes it trivial to port existing numerical code from NumPy/SciPy to CUDA, or to write code than can run either on CPU or on GPU. I recently saw a 2-3 orders of magnitude speed-up of some physics code when I got a
610.
▲
by
setopt
2y ago
On the contrary, it’s a backport of the (IMO) most useful notebook feature to work also for regular scripts. It’s been ported to most code editors by now (VSCode “Interactive Python”, Vim “hydrogen”, Emacs “code-cells.el”, Sublime “Send Cod
611.
▲
by
setopt
2y ago
An alternative here is to make a script with `# %%` code cells, so you can send one cell at a time to a REPL while developing the script.
612.
▲
by
setopt
2y ago
There’s also a hybrid version that I like: Write proper scripts (which are easier to e.g. push to HPC servers or deploy later), and explore them using something like Quarto (neé RMarkdown, renamed now that it supports Python). Then you stil
613.
▲
by
setopt
2y ago
Or use cw, and then use a plugin like e.g. junegunn/vim-easy-align.
614.
▲
by
setopt
2y ago
I’ve used Vim for ~2 decades, and never use R. I use r daily though.
615.
▲
by
setopt
2y ago
XLWings – the product made by the author of this post – lets you do exactly that. You can make a Python script that connects to a live Microsoft Excel process, iterates over sheets and cells, reads/writes data to them, etc. I’ve used i
616.
▲
by
setopt
2y ago
I believe iTerm2 has been GPU accelerated for some years now which probably helps. I’ve only been using it for 3-4 years and haven’t had this issue.
617.
▲
by
setopt
2y ago
The `tmux -CC` is pretty dope. I’m still surprised that not more terminals have picked it up yet. Most GUI features (new tab, new split, scroll, search, copy/paste, etc.) just work, and it all syncs with `tmux`. Be aware though that it
618.
▲
by
setopt
2y ago
Thanks for the detailed reply! :)
619.
▲
by
setopt
2y ago
> Being better doesn't even mean being good (6 is small) So far, it's 6 years (2018-2024), and probably it'll end at 7 years (assuming they drop its support next summer). That's the same number of years as Google and
620.
▲
by
setopt
2y ago
> It boggles my mind that people pay for 1password. I’ve payed for 1Password for 4 years and am a happy customer. But I would also be willing to try KeepassXC if it really offers feature parity. These are some features important to me, a
621.
▲
by
setopt
2y ago
Not a huge fan either – mainly because it’s hard to interact with it purely via the keyboard. Depending on the implementation, I am however looking forward to this. I need to use some systems that only provide 2FA via a mobile app (i.e. Pus
622.
▲
by
setopt
2y ago
iPhone XR was released in 2018, and I got mine in 2019. It will still be supported by iOS 18, which is being released in 2024. 5-6 years of fully functioning hardware with official OS updates is much better than the Android phones I had be
623.
▲
by
setopt
2y ago
Sure. Another option is semicolon-delimited files which are also in use in Europe, and Pandas handles that fine too. I was responding to your comment that you had never seen commas in data fields in CSV files, and wanted to point out that t
624.
▲
by
setopt
2y ago
Comma is the decimal separator in many European languages. It’s also not uncommon in strings.
625.
▲
by
setopt
2y ago
It is also the original purpose of TAB: the tabulation key, used to delimit tabular data. I also like that TSV files are both readable in plain text and easy to manipulate directly in editors like Vim and Emacs via rectangle operations or m
626.
▲
by
setopt
2y ago
Currently, whether multiple language servers can be active in one buffer is up to the language client. In Emacs for example, Eglot (built-in) doesn’t support this but LSP-mode (bolt-on) does.
627.
▲
by
setopt
2y ago
I mean “software feature” [1]. It is an “anti-feature” for sure, but I’d still call it a “feature” as well when someone has to write a new blob of code to perform a new task. [1]: https://en.m.wikipedia.org/wiki/Softwar
628.
▲
by
setopt
2y ago
Apple and Google could provide devices or OS versions that disable these features, which could be issued as work phones to military and security personnel. Not saying it’s a perfect solution, but they might consider it a “95% good enough” s
629.
▲
by
setopt
2y ago
To be fair, it really depends how you use them. Vim has a better TUI while Emacs has a better GUI. Vim is generally easier to configure while Emacs is easier to extend . Vim has more packages that extend the modal editing itself (e.g. ex
630.
▲
by
setopt
2y ago
I remember seeing a study which showed exposure to UV appears to prevent myopia as well, which is another relevant factor outdoors.
More ›