Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
setopt
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
26 ms
·
571.
▲
by
setopt
2y ago
The online editor is OK, I also use it (with Vim keybindings) sometimes for quick/minor edits. I’m not comfortable using it for extended work though. I miss things like surround text objects for TeX environments and macros (provided by
572.
▲
by
setopt
2y ago
I actually never experienced this issue, that sounds annoying. But most papers I work on have like 2 coauthors, where one of them is usually in a different time zone, so that might be why :)
573.
▲
by
setopt
2y ago
The best feature of Overleaf is that you can `git clone` projects and work on them locally (if you have premium). That way, you yourself can use e.g. Emacs to edit, your collaborators can use Overleaf in a browser if they wish, and it all s
574.
▲
by
setopt
2y ago
The usual tests certainly don’t. But some scientific studies do: https://www.nature.com/articles/ncomms15694
575.
▲
by
setopt
2y ago
In the Quarto front matter, you can choose to use a Jupyter backend, in which case any Jupyter kernel can be used to interpret code blocks. Many languages, including APL, have Jupyter kernels you can install.
576.
▲
by
setopt
2y ago
> I've heard that one way to use it effectively is writing a detailed comment about what you want to do, then let it suggest the code. I personally don't like those style of comments I do the same as you: write such comments, l
577.
▲
by
setopt
2y ago
Did you try the Excel Viewer? It shows CSV files as a table. Doesn’t handle huge files though.
578.
▲
by
setopt
2y ago
Not an IDE, but “Carnets” gives you a local (i.e. offline) Jupyter installation on iPadOS that includes NumPy, SciPy, Matplotlib, etc.
579.
▲
by
setopt
2y ago
I find the best way to use it is the chat interface. In VSCode, I can e.g. have the cursor on a Matplotlib command, press Cmd-I to open Copilot Chat, and say “make this plot an inset in the top-right corner of the previous plot above” and i
580.
▲
by
setopt
2y ago
> One thing I miss from RStudio is the Rmarkdown documents with inline outputs RMarkdown (Rmd) was recently developed into “Quarto” (Qmd), precisely because they now support Python as well. I’ve used it a bit and it’s excellent.
581.
▲
by
setopt
2y ago
If you’re looking for something “orthogonal”, you should definitely have a look at GGPlot and its “Grammar of Graphics”. Personally, I prefer the Gnuplot approach, but I think GGPlot has some cool ideas behind it :)
582.
▲
by
setopt
2y ago
In Gnuplot you can indeed write each command in a very terse way; some simple examples: plot cos(x) ls 2, sin(x) ls 3 plot 'file.dat' u 1:2 w lp lw 3 ps 2 But you can also write the same code in a descriptive way:
583.
▲
by
setopt
2y ago
Gnuplot is the best plotting interface I’ve ever used. Once you’ve learned “the Gnuplot language”, it’s very fast and efficient to visualize anything and iterate on it interactively, and I personally find it more usable than GGPlot, Matplot
584.
▲
by
setopt
2y ago
I honestly doubt it’s in a global optimum, as evolution is easily stuck in decent local minima. Simple example: “C4 carbon fixation”, which allows photosynthesis to proceed with much less water available, only evolved ~30 million years ago.
585.
▲
by
setopt
2y ago
One of the best ways to improve crop yields via genetic engineering might be to create black plants.
586.
▲
by
setopt
2y ago
That makes a lot more sense. Thanks for sharing this bit of historical insight.
587.
▲
by
setopt
2y ago
> If they are samples from different flips (and your coin is the usual idealized one) then X and Y are independent random variables and P(X=Y)=0.25. Isn’t it 0.5?
588.
▲
by
setopt
2y ago
Credit where credit is due: Sounds like no-one really gets away with corruption in Korea. The same can’t be said for more corrupt places.
589.
▲
by
setopt
2y ago
When you mention it, as a Linux user at the time I struggled a lot with the ActiveX thing… Eventually I think I gave up. I had no idea that stuff was government-mandated.
590.
▲
by
setopt
2y ago
I lived in South Korea some years ago, and it was interesting how they had a separate ecosystem of apps and services. “KakaoTalk” and “Naver” had approximately the roles that WhatsApp/Meta and Google have in the West. I think it’s grea
591.
▲
by
setopt
2y ago
> I find the idea of optimising for being able to work on a brand new computer with default settings ludicrous, because it's completely at odds with the reality that I use the same computers for years on end and hence that's th
592.
▲
by
setopt
2y ago
I love the Docker option. Some alternatives worth mentioning: - `use-package-ensure-system-package` can be used to autoinstall such binaries via the relevant `use-package` block. - If you use a literate config, you can have executable shell
593.
▲
by
setopt
2y ago
Many people do that: “Literate configuration” is quite popular in the Emacs world, where you basically write your config as a “document with code blocks” instead of a “code file with comment blocks”. For a well-crafted example, see e.g. [te
594.
▲
by
setopt
2y ago
> I kind of do believe in a deterministic universe, but I thought quantum physics disagree with that. Not necessarily. Most people learn the "Copenhagen interpretation" in intro quantum mechanics. The quantum wave function then
595.
▲
by
setopt
2y ago
The “no free will” argument just relies on the brain strictly following the laws of physics.
596.
▲
by
setopt
2y ago
I tend to make all my git aliases into two-letter combos starting with g. So `gs` is `git status`, for example. Once in a while I actually really need GhostScript though, it’s brilliant for e.g. embedding fonts into PDF files. Usually I the
597.
▲
by
setopt
2y ago
I am aware of its usage, but switched to installing things into separate folders in /opt many years ago. That way, it’s easy to uninstall stuff (rm the right subfolder), and you can install apps that don’t follow the Unix conventions i
598.
▲
by
setopt
2y ago
> My best thought so far is having multiple hosts sharing a single /usr over NFS while having per-host root filesystems HPC systems already have better systems for this sort of thing, e.g. Lmod which is modular. I don’t think it’s a
599.
▲
by
setopt
2y ago
> The separate paths were originally done for reasons These reasons were not originally philosophical in nature: http://lists.busybox.net/pipermail/busybox/2010-December/074... IMO, keeping /usr/
600.
▲
by
setopt
2y ago
If we zoom in on a single electron absorbing the momentum of a single photon, it will accelerate “instantly”. The same goes for e.g. an unstable atomic nucleus that ”splits”. At macroscopic scales, I’m not aware of exactly instantaneous acc
More ›