Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
defanor
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
121.
▲
by
defanor
3y ago
Docker keeps reminding me of people in the past shipping VM images, or sometimes physical machines, often with rather inappropriate desktop hardware and software. So do these points: > The problem is the use of Docker as a lowest common
122.
▲
by
defanor
3y ago
Cloudflare refused to serve me the linked page after I enabled JS and passed the captcha, "The action you just performed triggered the security solution". Each time it happens, I wonder whether website owners then look at the stat
123.
▲
by
defanor
3y ago
I like this approach, more than webrings: it forms a graph, rather than a linked list, which is more reliable, and basically what the "web" metaphor is about. So I both have a "links" page on my homepage, and trying to l
124.
▲
by
defanor
3y ago
FWIW, I noticed that librust-argparse-dev is also packaged for Debian, and it comes without additional dependencies. It also builds fine when pulled from crates.io directly, while using rustc version from Debian repositories, unlike clap. S
125.
▲
by
defanor
3y ago
Similarly being unhappy with pulling dependencies without using a system package manager, in part because it seemed tricky to make them work with a compiler version from system repositories, this is something I wanted to try as well, and fi
126.
▲
by
defanor
3y ago
I tried saying those words in a fixed time (12 seconds) while looking at a clock now, it still does not seem hard. Appears to be easier once you attach parts of the phrase to time offsets, and probably easier yet with a teleprompter.
127.
▲
by
defanor
3y ago
"H0w [...]" titles would be somewhat amusing and appropriate as a hacky way to bash those in, albeit inappropriate as being rather silly and circumventing this sort of policy. The HN website editorializing titles automatically ind
128.
▲
by
defanor
3y ago
> But if you are having one setting by the typographer and then choose to override them... yeah, it might be ugly. This can be equally viewed from the other (user's) perspective: I had the font set (along with a comfortable size), t
129.
▲
by
defanor
3y ago
Seeing the title, I suspected that the typography will be messed up. And indeed, instead of my preferred configured font size, it is overly large and set in pixels, the line heights are higher than I would prefer as well (the font I use, No
130.
▲
by
defanor
3y ago
> Let me ask a more foundational question then, what is the virtue of a "stable" system? Not introducing breaking changes too often (so that you have to adjust configuration and custom software relatively infrequently), while a
131.
▲
by
defanor
3y ago
This appears to highlight differences in our perspectives: while working with (and supporting software for) 4 most recent major Debian releases, the latest stable one feels like a fresh one to me, especially if it is updated to the latest a
132.
▲
by
defanor
3y ago
Thanks! I was looking for a page like that on docs.rs, crates.io, and possibly on lib.rs as well, but missed it; that is likely to be useful in the future. Actually now I see it on crates.io as well, < https://crates.io/cr
133.
▲
by
defanor
3y ago
> why is it immature for Rust to ship a toolchain and package manager through a sidechannel, but not Haskell? Haskell also feels less mature to me than C, with fewer POSIX functions being readily available, but as mentioned above, with H
134.
▲
by
defanor
3y ago
Oh, I have not tried using it from system repositories: I tried that with another library (in a hobby project) before, had issues with that, been told and generally gathered that it is easier to pull dependencies with cargo, so went straigh
135.
▲
by
defanor
3y ago
Steps to reproduce, once you have cargo and rustc from Debian stable repositories: cargo init && cargo add clap && cargo run. The following happens: error: package `anstream v0.6.4` cannot be built because it requires
136.
▲
by
defanor
3y ago
This is the one I tried to use, but failed to, since one of its dependencies required a rustc version newer than what I have here (1.63.0), and cargo was not able to pick the latest compatible version, but suggested that I do that manually
137.
▲
by
defanor
3y ago
With C, I comfortably rely on the distribution's package management, even though it is not a rolling release or anything of that sort (Debian stable). Actually not sure how that would be the case with C, if one does not try to make thi
138.
▲
by
defanor
3y ago
Recently I decided to try Rust at work as well, after using it a little as a hobby, just to replace a basic shell script with it at first. While reliability, ergonomics, and other positive sides either do not beat Haskell (which I use for m
139.
▲
by
defanor
3y ago
Not sure if I understand this correctly; avoiding such situations altogether seems virtually impossible. For instance, if people know you can help, you are in close enough relationships to have expectations of mutual help (e.g., friends or
140.
▲
by
defanor
3y ago
A nice article overall, but: > Never do something for someone that they are capable of doing for themselves. This seems like a good approach, and as if it must be educational, yet people may become upset if you are not helping them, like
141.
▲
by
defanor
3y ago
The repository's README.md links to < https://docs.streamdal.com/sdks >, which is not there. Those SDKs are simply libraries though, aren't they? "SDK" often stands for more than that (e.g., developm
142.
▲
by
defanor
3y ago
The article is hidden with CSS (and apparently later shown with JS, but not shown at all if JS is disabled, and there is no indication of that), but disabling CSS or switching to reader mode helps.
143.
▲
by
defanor
3y ago
I guess it helps to utilize otherwise-idle CPUs to keep you warm, hence the name.
144.
▲
by
defanor
3y ago
I use XHTML, mixed with a little custom XML, and processing with XSLT to produce final XHTML [1]: all of HTML is usable that way, the generation process is customizable, the dependencies are relatively easily manageable, the involved format
145.
▲
by
defanor
3y ago
The article's complaints include complexity of JS web interfaces and "eye candy", while netdata's UI requires JS, is quite laggy and jerky, very interactive. I think munin fits better (uses the same RRDtool graphs, too),
146.
▲
by
defanor
3y ago
Possibly I am missing something, but is it different from, say, nginx's `root /var/www/$http_host`? The description sounds as if a whole web server is written for that feature.
147.
▲
by
defanor
3y ago
I used a shell script for that, but vaguely thought of changing to a Makefile for a while, and finally did now, thanks to the article reminding of that; it is more appropriate. Though the shell script still invokes make, and then rsync, sin
148.
▲
by
defanor
3y ago
Worse yet while browsing with JS off by default: the popup shows up, but cannot be closed (and does not work for subscription, either), only obscuring the page.
149.
▲
by
defanor
3y ago
This sounds tricky: since users depend on authors, both depend on implementors, and so on, issues and unhappiness may easily propagate from authors to users, from implementors to both those, etc; similarly to building a project with increas
150.
▲
by
defanor
3y ago
Directory listing appears to be broken: I see pages without content when trying to browse directories [1]; observed on a few instances I tried, with a few repositories. The code div is restricted to something like 50 characters, leading to
More ›