Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
optionalsquid
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
91.
▲
by
optionalsquid
11mo ago
To my knowledge, the only difference between `unwrap()` and `expect()` is that the latter takes a custom error message, whereas the former generates a generic error message. In both cases the resulting error message includes the filename an
92.
▲
by
optionalsquid
11mo ago
> In any case, who made the association of the git branch "master" to slavery? It is absurd. BitKeeper, the VCS that preceded Git, used the terminology "master" and "slaves", so the association is not based
93.
▲
by
optionalsquid
11mo ago
They probably mean "slut". The word has the same meaning in Danish, by the way
94.
▲
by
optionalsquid
1y ago
Definitely. I haven't tried building anything that requires DNS using musl, but I've had to work around musl's much, much slower malloc implementation The musl wiki lists a number of differences between it and glibc that can
95.
▲
by
optionalsquid
1y ago
Or use `uv add --script`. Then dependencies gets recorded in the script itself, which is great for single-file scripts. But obviously, that won't help if the author can't be bothered to take those steps
96.
▲
by
optionalsquid
1y ago
Another nice thing is that, if you can live with the slower musl malloc, then building a "universal" Linux binary with Cargo takes just two commands: $ rustup target add x86_64-unknown-linux-musl $ cargo build --target x86_64-unkn
97.
▲
by
optionalsquid
1y ago
There's a lot more involved in distributing C (and C++) programs than just compiling them: I'm assuming a Linux based system here, but consider the case where you have external dependencies. If you don't want to require that
98.
▲
by
optionalsquid
1y ago
I don't disagree with you, but in my experience even having a requirements.txt file is a luxury when it comes to scientific Python code: A lot of the time I end up having to figure out dependencies based purely on whatever the script i
99.
▲
by
optionalsquid
1y ago
> Given that the majority of the country's citizens do not use the internet at all On what do you base this assertion? I was not able to find up-to-date statistics, but 72% of participants in this survey from 2013 had internet acces
100.
▲
by
optionalsquid
1y ago
You don't have to go through the effort for my sake. I was mainly interested in hearing if you had recommendations with regards to existing packages, though there's a decent chance that I'll just end up creating something fro
101.
▲
by
optionalsquid
1y ago
Did you use an existing package or did you write something from scratch? I'm also looking at rewriting my CV in Typst, though the fact that I am happy with my current job means that it is not a very high priority task
102.
▲
by
optionalsquid
1y ago
What do you mean by a "more visually complex presentation"? Typst has some built in support for drawing shapes [1], but if you need more complex figures then cetz is also an option [2]. But if you mean animations (including animat
103.
▲
by
optionalsquid
1y ago
I've been using touying so far. It took some effort, since I was learning Typst at the same time, but I was able to convert our "official" PowerPoint template to a toying template that I am quite happy with. From what I can t
104.
▲
by
optionalsquid
1y ago
I much preferred Marp to PowerPoint, but there were several parts of it I wasn't fond of: - Using CSS for formatting resulted in a lot of one-off rules, and was a lot noisier and less readable than the equivalent in Typst. - The use of
105.
▲
by
optionalsquid
1y ago
I don't know what their official policy is on breaking changes, but packages published via Typst Universe[1] are versioned, and you specify the exact version you want when importing a package in your document. So while you may need to
106.
▲
by
optionalsquid
1y ago
In addition to what the other commentors write, an advantage of Typst is that it is self-contained: You just need one (large) executable to do everything, whereas with PanDoc you (by default) need to have LaTeX installed if you want to gene
107.
▲
by
optionalsquid
1y ago
Yeah, that's also what I've been using, and yes it is very good. Thank you for bringing it up
108.
▲
by
optionalsquid
1y ago
There's usually some confusion about this, so to clarify in advance: - The Typst online editor is proprietary: https://typst.app - The Typst compiler/CLI is open source: https://github.com/typst/ty
109.
▲
Typst 0.14
(typst.app)
653 points
by
optionalsquid
1y ago
|
170 comments
110.
▲
by
optionalsquid
1y ago
What the person you replied to described read like short read sequencing with PCR amplification to me ("each segment of DNA is read many times over"), rather than nanopore sequencing. My reply to you was written based on that (pos
111.
▲
by
optionalsquid
1y ago
> That's true in targeted sequencing, but when you try to sequence a whole genome, this is unlikely. Whole-genome shotgun sequencing is pretty cheap these days. The person you are replying to doesn't give any specific numbers,
112.
▲
by
optionalsquid
1y ago
The author got less than 1x coverage for their efforts. To get the kind of coverage required for reliable base-calls, you need significantly higher coverage, and therefore a significantly higher spend
113.
▲
by
optionalsquid
1y ago
It's cool that nanopore technologies are getting this affordable, but keep in mind that these technologies (to my knowledge) still have very high error rates compared older sequencing techniques. Both in terms of individual nucleotides
114.
▲
by
optionalsquid
1y ago
> Eh? Linus has called it "experimental garbage that no one could be using" a whole bunch of times, based on absolutely nothing as far as I can tell. Where did Linus call bcachefs "experimental garbage"? I've tri
115.
▲
Linus Torvalds Removes the Bcachefs Code from the Linux Kernel
(phoronix.com)
11 points
by
optionalsquid
1y ago
|
0 comments
116.
▲
by
optionalsquid
1y ago
I'm not sure I follow. Couldn't you display text that stands still by (re)drawing the outline of the text repeatedly? It would essentially be a two frame animation
117.
▲
by
optionalsquid
1y ago
The original FASTA/Pearson format and fasta/tfasta tools have supported 'N' for ambiguous nucleotides since at least 1996 [1], and the FASTQ format has to my knowledge always supported 'N' bases (i.e. since aro
118.
▲
by
optionalsquid
1y ago
The fact that these formats are unable to represent degenerate bases (Ns in particular, but also the remaining IUPAC bases), in my experience renders them unusable for many, if not most, use-cases, including for the storage of FASTQ data
119.
▲
by
optionalsquid
1y ago
I don't dislike the format, and it is much, much better than what it replaced, but SAM, and its binary sister-format BAM, does have some flaws: - The original index format could not handle large chromosomes, so now there are two index
120.
▲
by
optionalsquid
1y ago
Disclosing that you used AI three days after making the PR, after 4 people had already commented on your code, doesn't sit right with me. That's the kind of thing that should be disclosed in the original PR message. Especially so
More ›