• 0 Posts
  • 21 Comments
Joined 4 years ago
cake
Cake day: February 15th, 2021

help-circle

  • 100%

    JSON is not the optimal solution for either humans nor for machines… it’s a compromise in-between that is more complex to parse than most binary alternatives (and even some text-based ones, if the data can be represented in CSV tables for example), while also often requiring post-processing through beautifiers and similar to be able to visualize it cleanly for humans.

    There are situations where it’s the format that makes the most sense… like in the web, where you are already working with javascript anyway. But it’s not a golden bullet to use everywhere.



  • I’ve also wanted to try out Guix for a while… part of the reason I’m leaving a comment is just so I can recheck these posts later :P

    But when I do I for sure will start out from nonguix because I’m quite confident that my hardware won’t be supported (I even have a recently purchased Wifi 7 card that relies on ath12k module that I’m quite sure won’t be in the official Guix repo… maybe I’d even need to compile it myself…)

    I see in the nonguix readme that there’s a way to generate an iso that includes already a nonguix kernel, so I’ll have a look at that.

    It even looks like you can create a writeable image to run from a USB thumbdrive, which looks very interesting, I gotta try that!

    guix system image --image-size=7.2GiB /path/to/this/channel/nongnu/system/install.scm
    dd if=/path/to/disk-image of=/dev/sdb-or-whichever-drive-is-usb bs=4M status=progress oflag=sync
    

    I’ve been burnt by Arch before which is what has got me into exploring other distros. I might ultimately end up again in Arch like you, who knows, but it looks like the way Guix works is well suited for hosting your own repo too… I think I’ve seen before someone hosting their own Guix repo in github, including also a bunch of configuration for their system, which got me curious.


  • Is the data and public keys being replicated in the communication between instances? it’s not made clear how the federation actually works, because “enabling users on different servers to share data with end-to-end encryption” (from https://foks.pub/) is something all services with TLS / HTTPS support already do…

    Also… one big plus for the OpenPGP HKP protocol is that technically you can self-host your own key in a static HTTPS server with predefined responses and be able to have it interact with other servers and clients without issue. I’m expecting the more complex nature of FOKS might make self-hosting in this way difficult. I’d rather minimize the dynamic services I expose to the outside publicly if I’m self hosting.



  • I feel that generally, when the issue is that the person is an arse, then the complaints are often not about the software. You might see people campaigning to boicot the software out of spite, but they won’t give you a technical reason, other than them not wanting the creator to get any credit for it.

    When the complaints are about discrepancies in the way the software is designed (like it was with systemd), there’s no reason to expect the person to be an arse. Though him not being an arse does not make the criticism about his software invalid… in the same way as him being an arse would not have made the software technically worthless. Don’t fall for the ad-hominem.


  • I don’t know why they are downvoting you, it’s true. I’m dealing with this kind of problem currently… sometimes the boot lasts forever to the point that I have to use AltGr+SysRq commands to force kill everything… other times it simply boots as normal. It’s not consistent at all.

    At least before with the old init it was relatively simple to dig into the scripts and make changes to them… I feel now with systemd it’s a lot more opaque and harder to deal with. I wouldn’t even know how to approach the problem, systemd-analyze blame does not help, since the times I actually get to boot look normal. But I do believe it must have to do with the mountpoints because often they are what takes the longest. Any advice on what should I do would be welcome.

    Also, I have a separate Bazzite install in my living room TV, and while that one does not get locked, sometimes NetworkManager simply is not running after boot… I got fed up to the point that I wrote a workaround by creating a rc.local script to have it run, so I can have it available reliably when the system starts (that fixed it… though some cifs mountpoints often do not get mounted… so I’m considering adding the mount command to the same rc.local script too…).


  • What qualifies as “expert” setting can be very divisive… for me, it would be removing this menu entirely. Or even switching from KDE to sway or similar ^^U

    But if I was the kind of people that do use this kind of menus I would probably find that kind of indication useful. It helps finding the category the app you just installed belongs to. If you install an educational app/game that teaches programming by giving instructions to a turtle in order to draw a graphic/picture (I think I have seen something like that before): which category should it be at? games? education? development? graphics?



  • It’s more about which category a particular specific software belongs. If a kid installs an educational app/game that teaches programming by giving instructions to a turtle in order to draw a graphic/picture (I think I have seen something like that before). Which category should it be? games? education? development? graphics?

    I personally don’t use this kind of menus with categories, I prefer dmenu style launchers where you type to search what you need. But if I was the kind of people that do use this kind of menus I would probably find that kind of indication useful.


  • Ferk@lemmy.mltoLinux@lemmy.mlFan of Flatpaks ...or Not?
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    20 days ago

    You are mixing different ideas of freedom. Software freedom is not the same as freedom of choice of software.

    You don’t need Linux to have choices of what software to use, you have that in most (all?) proprietary systems, in some you might even have more choices than in Linux… even if it includes proprietary software.

    This is analogous to how being a free person (not a slave) is not the same as having freedom to choose who to work for, even if some of them are slavers (ie. having freedom to choose your master).


  • Ferk@lemmy.mltoLinux@lemmy.mlFan of Flatpaks ...or Not?
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    20 days ago

    Yes, Flatpak is overall a better approach when compared to AppImages, since being dependent on a known runtime ensures the program will run whenever the runtime is available.

    What I wish they would add is a way to run the flatpak in a portable way. Because as it stands, AppImages is the only option for that. Flatpak doesn’t really allow to have a portable installation in a pendrive, for example. At the moment there’s no replacement for AppImage in such use cases, which is a pity.

    But there’s no fundamental technical design roadblock in flatpak that would prevent it from supporting this in the future, imho. theoretically one could create a program that mounts the flatpak file into a ramfs layered with the runtime and run it.


  • Ferk@lemmy.mltoLinux@lemmy.mlFan of Flatpaks ...or Not?
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    20 days ago

    Installing them is not difficult. It’s the same as any other flatpak.

    The problem is when running them (actually, when running any flatpak, not just CLI tools) you need to type out the whole backwards domain thingy that flatpaks use as identifier, instead of having a proper typical and simple executable name like they would have if they were installed normally.

    I end up adding either symlinks or aliases for all my flatpaks because of this reason. After doing that it’s ok… but it’s just an extra step that’s annoying and that the flatpak devs have no interest on fixing apparently.



  • I don’t know, I feel it’s actually the opposite. Awareness is something you can only experience subjectively, it’s “qualia”, a quality that you cannot measure outside of yourself or detect externally. There’s a reason IQ (“intelligence” quotient) tests use puzzles/problems and don’t test conscious awareness. Most of the time in science intelligence is defined as problem solving and capacity to adapt/extrapolate because that definition makes it observable and more scientifically useful.

    If it were to include awareness then we can’t in good faith answer the question: “is it intelligent?” …we can only say we don’t know. This is the main struggle of philosophy of the mind, what is often called “the hard problem of consciousness”. Empirical analysis would not show if something is having (or not) the conscious experience of being aware.


  • Yes, that’s what I meant 2 comments above by “fungus” (though to be fair, whether slime molds are fungi depends on your definition, they used to be classified as one, before “protist kingdom” was made up to mix protozoa, algae & molds, but I keep preferring the traditional autotroph / absorptive heterotroph / digestive heterotroph division).

    I also mentioned ants who can find the optimal path by simply following scents left by other ants without understanding how this helps with that.

    You can be intelligent without being aware of your intelligence, or you can be stupid without being aware of your stupidity… like how humans are actually creating problems for themselves in many cases.

    Intelligence != awareness


  • Yes there there as many types of intelligence as there are types of problems. Emotional intelligence deals with emotional problems, social intelligence deals with social problems. This doesn’t conflict with my definition, it’s still problem solving.

    Just because a being is intelligent does not mean it can solve all the problems of all kinds, it would require general intelligence, and even a generally intelligent being needs the right training… if you are trained wrong or trained for a different kind of problem that does not fit the current one then your current experience might actually get in the way, as you point out.


  • They’re no more intelligent than an AC/DC converter

    The problem is in the definition of intelligence.

    To me, intelligence is simply problem-solving ability. It does not necessarily imply consciousness, having self-awareness or anything like that. A simple calculator is already displaying intelligence, even if limited to a very narrow situational set of problems, in the sense that it can resolve mathematical questions.

    That doesn’t mean the calculator is self aware… it just means it can resolve problems. Biological systems can also resolve problems without necessarily being aware of what they are doing… does the fungus actually knows it’s solving a maze the scientists prepared for it when it just expands following what is preprogrammed by its biological instincts determined by natural selection? Do the ants really know what they are doing when they find the shortest path just by instinctively following a scent of pheromones left by other ants?

    Knowing exactly what causes consciousness is an entirely different problem… and it’s one that has not been resolved by any scientist or philosopher in a satisfactory manner. So we simply do not know that.


  • alias lt='ls -t | less'

    Good idea! I’ll steal that but I would rather be able to give a directory path as parameter (and show in colors, and don’t pause if less than 1 page of content, and support the scrolwheel), also piping ls forces it to be 1 single column so might as well show more details, personally I’m gonna use this instead:

    lt() { ls -t --color=always -Fgoh "$@" | less -RF --mouse; }