Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jnxx
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
25 ms
·
241.
▲
by
jnxx
6y ago
Yeah. That is a problem with older Raspberry Pis, which do not have a keyboard. It is possible to use a GPIO port for this, and shut it down with an attached button. But one has to be careful not to use the port unless it is configured prop
242.
▲
by
jnxx
6y ago
> make sure you have n+1 pi & disk machine. Why? The thing that could fail are the disks. So, one can use a RAID1 with two disks and this should, for normal applications be enough. I had a DNS-232 before as a NAS, it had 32 MB RAM, a
243.
▲
by
jnxx
6y ago
Because you can squeeze out more money from it that way. Having everything collapsed in one giant data collection is just the natural equilibrium state from the physics point of view.
244.
▲
by
jnxx
6y ago
> WhatsApp has been facing one hell of a backlash ever since it shared that it wanted to update its privacy policy with changes that would allow Facebook to aggregate all of its users' data across all of its services. I think this i
245.
▲
by
jnxx
6y ago
I found one can program in that style in Python as well. I am not sure whether it is usually a good idea....
246.
▲
by
jnxx
6y ago
Is there any technical reason why it is not supported? Also, just for curiosity, and without condoning what the company is doing, is there a good reason to use btrfs for a device like that? I was thinking that good filesystem repair facilit
247.
▲
by
jnxx
6y ago
Electrical power consumption is a point worth looking at.
248.
▲
by
jnxx
6y ago
You can use a Raspberry Pi (perhaps a Pi 400) if you work around the fact that the internal flash memory is not made for constant writing. Thus, you have to arrange the system so that it is read-only in normal state - which is not difficult
249.
▲
by
jnxx
6y ago
> Additionally, due to the nature of the package manager (and static linking), it's very easy to freeze the churning sections of the ecosystem for your application, use the important dependencies and even patch bugs you're enco
250.
▲
by
jnxx
6y ago
> Because the binary is mostly self-contained, it's far easier to install, can work in more environments and less likely to break as time passes and the systems around it change. That can't be the whole story, otherwise we woul
251.
▲
by
jnxx
6y ago
> In regards to your second point, I will point you to the oft-linked https://wiki.alopex.li/LetsBeRealAboutDependencies . This is not a convincing argument. Rather, it confirms that there is a general problem: As its fi
252.
▲
by
jnxx
6y ago
> What's the advantage of writing an editor like this in Rust? And by advantage, I mean an advantage for me, the end user. None. In fact, Rust software will typically include larger and more frequent downloads for bug fixes, upgrade
253.
▲
by
jnxx
6y ago
From the transcript: > It’s true that the case fatality rate for COVID at this time was about 3.4%. [ ... ] Five months later, the World Health Organization had no option but to publish his paper, which demonstrated the extent to which h
254.
▲
Why not rely on app developer to handle security?
(blogs.gentoo.org)
3 points
by
jnxx
6y ago
|
0 comments
255.
▲
by
jnxx
6y ago
> CMake used to be easier to cross-compile to bootstrap a project, but it's getting harder every year. Why exactly is it getting harder?
256.
▲
by
jnxx
6y ago
There are some speed comparisons, measurements, and discussion here: https://lwn.net/Articles/706404/ https://thiblahute.github.io/jpakkane.github.io/Simple-compa... The thing is apparently,
257.
▲
by
jnxx
6y ago
CMake is marketed heavily, but not all things which are said about autotools are accurate. Here is a video from somebody from KitWare who compares autotools to CMake: https://youtu.be/8Ut9o4OdSC0?t=459 In this section, he k
258.
▲
by
jnxx
6y ago
Here is a reddit link which shows a minimal setup: https://old.reddit.com/r/programming/comments/a02n5/trying_q... This is all one needs to start a project. I actually think it is a good idea to use it q
259.
▲
by
jnxx
6y ago
So, what would you say what these tools have learned and taken from autotools, and what are the core ideas with which they were improving? I was looking around for a description of what the core ideas of CMake are and could not find much, e
260.
▲
by
jnxx
6y ago
I'd agree with that. If a build happens on a build server, it does hardly matter if it takes an extra minute. What matters for developing and debugging stuff are fast incremental builds. And for this, one just needs to type "make&
261.
▲
by
jnxx
6y ago
> From their standpoint, it just works as expected. This is also quite important when you happen to work on larger projects with many dozens or hundreds of modules and you need to build a specific part weeks after you have been looking a
262.
▲
by
jnxx
6y ago
Just to add, Guix configuration does not only look declarative - it uses a mostly functional language in a side-effect style to define the builds, in the same way as NixOS, just with a language which is established, well-supported, minimal,
263.
▲
by
jnxx
6y ago
This is exactly my biggest problem with some other tools: That they try to automate everything with lots of "magic". And this does not lead to clearly understandable, well-defined systems which are maintainable in the long run. If
264.
▲
by
jnxx
6y ago
I see that point! On the other hand, it is generally strongly encouraged to keep generated files out of source control repos. Especially since one cannot merge them in a meaningful way.
265.
▲
by
jnxx
6y ago
The problem with conan is that it is yet another language-specific package manager. This is especially fatal since the importance of pure C and C++ projects is shrinking in proportion, and both are more and more used in cross-language proje
266.
▲
by
jnxx
6y ago
> The obvious: CMake compiles into either Makefiles or Visual Studio solutions, allowing for cross Linux / Windows builds. I get that this is especially attractive for some companies earning money with Windows. But how important are
267.
▲
by
jnxx
6y ago
- it has absolute minimum requirements for running on a target system - it requires only a POSIX shell - the macro language it uses is strongly standardized, so it produces identical semantics on all platforms. And because it uses macros, w
268.
▲
by
jnxx
6y ago
Make does what it does surprisingly well: It runs commands on files based on a description of dependencies. There is no shortage of would-be successors of make, but so far none of them has succeeded, which supports the hypothesis that "
269.
▲
by
jnxx
6y ago
This is by construction and is nicely explained by the slides I linked before. Basically, autoconf generates a makefile which will work for your architecture. It does that via a script which is called "configure", which generates
270.
▲
by
jnxx
6y ago
Apart from that the embedded universe needs to support a lot of CPU architectures, the demand for building on different hardware and slightly different library interfaces is unlikely to disappear. Just think in desktop apps using Qt4 /
More ›