Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jotaen
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
91.
▲
by
jotaen
3y ago
The code may tell you what it does, but that doesn’t necessarily tell you why it’s there. Especially for non-obvious pieces of code I have to deal with, I certainly prefer to understand the original reasoning and context within 5 minute
92.
▲
by
jotaen
3y ago
Question: is tea only targeted at the subset of open-source projects that are available through package managers? (I.e., libraries mostly.) Like npm packages, Rust crates, Debian packages, etc.?
93.
▲
by
jotaen
3y ago
> I never understood why a "stylistic" choice requires separate characters. I don’t think it’s a purely stylistic choice, there is actually semantics to it: “ opening quotation mark, i.e.: starts the quote ” closing
94.
▲
by
jotaen
3y ago
To be fair, except for vue.global.min.js, all the JS files which OP pulls from third-party hosts are integrity-checked. So unless clients use very outdated browsers that don’t support the `integrity` attribute, the respective third parties
95.
▲
by
jotaen
3y ago
That could also be an option, although an additional manual step might be slightly less convenient, especially in case you want to “debug” the command (i.e., regenerate multiple times with varying parameters). Another potential benefit of e
96.
▲
by
jotaen
3y ago
Great suggestions, I’d agree with all points! > 6. Change "We do not store your credentials. Tasks are done in your browser" to "No data is saved. View source on GitHub." Assuming that OP has made it clearer that this
97.
▲
by
jotaen
3y ago
I haven’t looked into ZFS yet, but thanks to your comment, it’s now on my todo list. One idea behind my implementation was to have something that’s more agnostic of specific file systems. But I guess that’s an aspect that may be worth to re
98.
▲
by
jotaen
3y ago
I suppose you could make a similar thing happen based on git, or maybe even a combination of `find` and `diff`. It’s certainly an interesting debate whether to use a general-purpose approach vs creating a dedicated and fully customisable im
99.
▲
by
jotaen
3y ago
Yeah, fair point – I couldn’t think of a better word, that’s why I wrapped it in quotes. I’ve tried to simplified the phrasing: > For some extra safety margin to avoid collisions, by the way, `snapdiff` also takes the file size into cons
100.
▲
by
jotaen
3y ago
Oh thanks, that’s a good point. I actually haven’t considered hardlinks at all yet. I should probably look into that at some point → https://github.com/jotaen/snapdiff/issues/2
101.
▲
by
jotaen
3y ago
I get the suspicious sentiment, but I mentioned it for other reasons in the title. Apart from solving a personal need, this project is largely about tinkering with Rust and performance optimisations. I was hoping that mentioning the languag
102.
▲
CLI tool, written in Rust, to diff directory snapshots
(jotaen.net)
42 points
by
jotaen
3y ago
|
25 comments
103.
▲
Let's Self-Host
(jotaen.net)
2 points
by
jotaen
3y ago
|
0 comments
104.
▲
by
jotaen
3y ago
Thanks for posting that link, that sheds a lot of light on this topic. I’m also in the EU, and the button was switched off for me too.
105.
▲
by
jotaen
3y ago
I came up with a file format for time-tracking, which lets me store the data in plain-text files in a human-friendly notation. I also built a corresponding CLI tool for evaluating the files on the terminal. I’ve been using it almost daily f
106.
▲
by
jotaen
3y ago
The visual language looks slick to me, and it appears that a lot of thought went into the redesign. A few critical remarks (intended as constructive feedback/thoughts): - I second the point from the sibling comment that the 3d transfor
107.
▲
by
jotaen
3y ago
For reference, this is a simulation of what will happen in ~2 hours from now: https://www.youtube.com/watch?v=tac59aq8jsQ (An asteroid will occult one of the brightest stars of our night sky for a few seconds.)
108.
▲
The rare Betelgeuse occultation by asteroid Leona (Live Stream) [video]
(youtube.com)
3 points
by
jotaen
3y ago
|
1 comments
109.
▲
by
jotaen
3y ago
To me, they have slightly different semantics: I perceive the checkbox as “passive” form element (i.e., only to have an effect on form submission), whereas the toggle switch I understand as instant action (i.e., effectuated immediately, on
110.
▲
by
jotaen
3y ago
The article says that one Asian longhorned tick “ can lay up to 2,000 eggs without needing to mate” (emphasis mine). This doesn’t imply that this tick breed generally has an effective reproduction rate of 2000, let alone that this rate was
111.
▲
by
jotaen
3y ago
> something's not adding up here One factor might be that reproduction rate ≠ survival rate, i.e., not all of the ticks born will reproduce. For example, it usually takes several growth stages for ticks to reach fertility, where ea
112.
▲
by
jotaen
3y ago
Is that personal data of real applicants captured in that video? I’m just wondering, as the recorded spreadsheets contain full names, addresses, phone numbers, birth dates, etc.
113.
▲
by
jotaen
3y ago
It appears they used original historic images from 1930, and overlayed them with a recent picture taken from (roughly) the same position and with the same angle as the original one. So it’s basically like a leap in time of the very same per
114.
▲
by
jotaen
3y ago
> It's hard to appreciate the scale of these places unless you have visited them. I think what’s especially hard to grasp from pictures is not just the areal loss, but the massive amount of volume that has vanished. For example, the
115.
▲
by
jotaen
3y ago
If I were to choose between (a) getting such a funding/opportunity but having to spend 10 years in jail to qualify for it, or (b) not getting this funding and staying free, I’d certainly pick (b), even if my only alternative was a mini
116.
▲
by
jotaen
3y ago
Genuine question, seeing that you advertised yourself as Bandcamp alternative: I’m not an artist, but when I compare the numbers, your regular fee seems to be 20% [1], whereas Bandcamp charges 15% flat[2]. (Both excluding taxes and addition
117.
▲
by
jotaen
3y ago
My naive initial assumption (just due to my own bias) was that nesting would work the same way as in Markdown – i.e., that the number of `#`’s indicates the heading level. Maybe worth for you to consider? It’s a well known convention, it sh
118.
▲
by
jotaen
3y ago
The facts are that Deutsche Bahn AG was privatised in the mid 90s, though all of the company’s shares are being held by the German government. Legally speaking, Deutsche Bahn AG is an independent commercial entity, whose exclusive owner is
119.
▲
by
jotaen
4y ago
It might not be “trying to trick”, but it certainly is “trying to trap”. The outcome is the same, though, which is that an attacker actively tries to exploit a misconception of other people for their own (concealed) intents and purposes.
120.
▲
by
jotaen
4y ago
I’d think that ship has sailed in this case. The author already publicly stated that they would be able to make the package do “something malicious” within Google if they wanted. So however they change it after the fact, they’d run the risk
More ›