Skip Navigation
InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)TQ
Posts
9
Comments
202
Joined
2 yr. ago
  • You can tell Open Interpreter to run commands based on you human-language input. If you want local only LLM, you can pair it with Ollama. It works for "interactive" use where you're asked for confirmation before a command is run.

    I set this up in a VM because I wanted a full automatic coding "agent" which can run commands without my intervention and I did not want it to blow up main system. It did not really work though because as far as I know Open Interpreter does not have a way to "pipe" a command's output back into the LLM so that it could create feedback with linters and stuff.

    Another issue was that Starcoder2, which is the only LLM trained on permissive licensed code I could find, only has a 15B "human-like" model. The smaller models only speak code so I don't know how that would work for agentic usage and the 15B is really slow running on DDR4 CPU. I think agents are cool though so I would like to try Aider which is a supposedly good open source agent and unlike Open Interpreter is not abandonware.

    Thanks for coming to my blabering talk, hope this might be useful for someone.

  • Most Linux users never use anything CLI

    Indeed but I'm not talking about "most users".

    Why would Linux phone users use CLI?

    You want to automate something with a script or want to create some workaround for something.

    But (what I said is that) all of that you can get in various Linux distros too

    Sure, but these distros aren't the go-to choice of tinkerers. As I said for the normal Ubuntu user LineageOS is completely fine. "Proper" Linux phone's target audience are Arch, Gentoo, Void,... users.

    the basic difference for devs is Google/Android SDK

    For devs sure but "tinkerers" aren't always devs. They can just start as someone who just "pokes" into their system and eventually dives deeper, or stays forever at the "fix a thing here and there" level. In my opinion you don't get this granular spectrum of skill. You either are an Android developer (be it Android app or Android system developer) or Android user. Maybe that isn't true but the original topic was "why Linux phones when AOSP forks exist" and I think "tinkerers" might think this way about Android.

  • I honestly did not give much thought to the difficulty of pulling such attack off. With "not sophisticated" I just meant that it's not complex to grasp. "You just have to pretend to be a different person". I guess yeah that is pretty difficult.

    Yeah I mean it's often said that any second factor is better than just password so it's probably not a big deal. My issue is mostly that it's an attack vector that could easily be eliminated. For example if banks allowed third party 2FA apps. I think I've read somewhere, that some banks even only allow hardware keys for business accounts which is honestly absurd.

  • I stated why OP is painting a misleading picture about xbps-src in my other reply but I guess the only thing you missed is xi. xi is tool that allows you install both source and binary packages. So it's kinda like yay with the caveat, that there is no central place for user submitted packages.

  • xbps-src is both a tool to build official packages from source and a way to install Void's "official AUR packages". Meaning packages that are maintained by Void/Arch devs but for whatever reason do not belong to the main repository. That's the only way it's comparable to the AUR.

    But saying that xbps-src is like the AUR is very misleading because it lacks the "U" part. Official AUR packages are only a small part of the AUR.

  • The difference between Android and "proper" Linux? You said it:

    Android is a semi-immutable (heavily modified and basically owned by Google) distro that runs app in sandboxes.

    That is not what "tinkerers" want. They want access to the system. I have not tried it but can you even run an android app from the command line? I guess you can somehow but that just brings me to my other point. You kinda have to be an Android dev to tinker with Android, while on "proper" Linux the learning experience is more granular.

    edit: indeed running Android apps from CLI is not very tinker-friendly:

    https://stackoverflow.com/questions/6613889/how-to-start-an-android-application-from-the-command-line

  • The "know it better" is, I think, a big argument, that's imo often a bit overlooked. Android does not have that much "tinkers" as "proper" Linux has. For the average Gnome DE @ Ubuntu user, Android forks are fine. But if you're the kind of person, who optimizes their Arch system with cool scripts from Github, you won't get the same experience on LineageOS. I know Termux is a thing but that feels more like a workaround.

    Edit: Had to reword the comment, because people thought I was talking about malware and supply chain attacks.

    Edit2 to clarify my point: I think big downside of Android is that if you want to tinker with it, you basically have to be an android developer. With "proper" Linux the barrier to entry is smaller and the learning experience is more granular. Hence why we think "we know 'proper' Linux better".

  • It does not matter how powerful the phone is as long as the drivers suck. The original Pinephone would have been fine if it had proper standby mode. If this makes it to production, it's going to be ewaste. Judging by the fact that they don't mention software challenges and only focus on privacy/foss buzzwords and le epic HW specs.

  • What CPU do you have? Have you enabled hardware accelerated virtualization in the BIOS? Did you do any tweaking when running the VM? I had a Windows 10 VM on a 2013 laptop, so what you are describing might just be bad configuration.

    Enabling virtualization in the BIOS is required for usable performance. Tweaks are optional but I highly recommend them because out of the box Windows VM feels pretty sluggish mainly because of bad graphics configuration. For that I use Quickemu which is a script that automatically sets up your VM for optimal performance. (Works for MacOS VMs too but I have not tried it) Finally you can try debloating your Windows 10 installation with Chris Titus' Winutil, which btw also includes some useful Windows tools like a GUI for package manager.

  • CLA is basically a requirement for any larger scale open source project. It would be mental to add a "this single edited line is licensed under X license" to every tiny commit. Microsoft's CLA does not tranfer rights btw, it just licenses your contribution to M$ under "basically BSD 0 clause license" terms.

    I guess sure they could do a ragpull but it does not make much sense. Reasons:

    1. they have open sourced it themselves
    2. It's made by M$ for M$. They don't have competition in the Windows space, so there is no point to hide the code.

    Also what would be the worst thing that could happen if they did that? You would either use a fork, because WSL2 is basically feature complete at this points, or you would be have to use a proprietary app on a proprietary OS. Imo the licensing of WSL specifically is the least of Windows' issues.

  • I actually do know what I'm talking about. See https://www.gnu.org/philosophy/selling.en.html

    Many people believe that the spirit of the GNU Project is that you should not charge money for distributing copies of software, or that you should charge as little as possible—just enough to cover the cost. This is a misunderstanding.

    Though I advise you to read the whole article. They for example explain why you should charge "substantial fee" for redistribution of Free Software.

  • But you posted an image of Stallman with "absolutely proprietary" written inside said image. You can imply whatever you want but it's weird to add that image when Stallman would be completely fine with "pay-walling a free OS". Rather he would probably even encourage it.

  • Ignoring Red Hat which according to the Software Freedom Conservancy organization they GPL violators.

    But with Ubuntu it depends on whether you consider paid repositories features or support. Sure you can just compile it yourself but that's kinda the same thing Zorin is doing: https://lemmy.world/post/29546682/17016426

  • Stallman's usual take is "Yeah sure you can sell it, as long as you respect the 4 freedoms.". So I don't think selling Free Software is against the spirit of FOSS. The issue is rather that the Free Software is against the spirit of selling because realistically you can sell it to one entity which can then just make 7 billion copies of said software. At that point it's no longer financially viable to sell it for you.

    I also think that the majority of people creating Free Software would be fine with someone else selling it. Remember how much permissive-licensed software is out there. If authors really cared, they would have licensed the software under GPL, but instead they even allow it to be used with commercial licensing. Obviously I'm not taking away your opinion, but I don't think your opinion represents the majority of FOSS.

  • Linux @lemmy.ml
    TMP_NKcYUEoM7kXg4qYe @lemmy.world

    What ports do I need to open for mDNS?

    EDIT: The bad solution is to unblock UDP port 5353 but the port has to be source port, not destination port. (--sport flag) See the now modified rules. The issue is that this is very insecure (see this stackexchange question and comments) but obviously better than no firewall at all because at least I'm blocking TCP traffic.

    The proper solution (other than using glibc and installing nss-mdns package) is to open a port with netcat (nc) in the background (using &) and then listen with dig on that port using the -b flag.

      bash
        
    port="42069"
    nc -l -p "$port" > /dev/null || exit 1 &
    dig somehostname.local @224.0.0.241 -p 5353 -b "0.0.0.0#${port}"
    
    
      

    Then we need to remember to kill the background process. The DNS reply will now be sent to port 42069, so we can just open it with this iptables rule:

     undefined
        
    -A INPUT -p udp -m udp --dport 42069 -j ACCEPT
    
    
      

    ---->END OF EDI

    postmarketOS @lemmy.ml
    TMP_NKcYUEoM7kXg4qYe @lemmy.world

    Most efficient way to check kernel version of devices?

    I'm considering using PostmarketOS on a tablet for a project. I need kernel greater than x.y.z (so far I know >3.0.1 works, <2.6.32 does not). However it's kinda difficult to find it on the wiki. Some devices specify kernel version (android a.b.c, kernel e.f.g), some only the android version (android a.b.c) and some neither.

    I found that android version should correspond to a kernel version (https://android.stackexchange.com/questions/51651/which-android-runs-which-linux-kernel). But how do I check (in the least time consuming way) the kernel version of the devices that don't mention anything?

    Thanks.

    edit: I think I was looking for this answer: https://postmarketos.org/source-code/#linux-kernel

    Linux Gaming @lemmy.world
    TMP_NKcYUEoM7kXg4qYe @lemmy.world

    Custom mouse acceleration curve on Sway

    Does anyone know how to set a custom mouse acceleration curve on Sway? man sway-input does mention mouse acceleration but unfortunately it's one of those "you won't learn anything new unless you already knew it before" type of manpage.

    I also found this project https://github.com/N-R-K/leetmouse which I will probably use in the end but I would also like to hear if anyone of you has any experience with custom acceleration profile, in case there is a better way or whatever.

    Edit: I will use leetmouse (different branch tho), because libinput's acceleration is not very good for gaming (see comments for sources)

    https://github.com/systemofapwne/leetmouse

    Linux @lemmy.ml
    TMP_NKcYUEoM7kXg4qYe @lemmy.world

    Is there a kde-connect like VPN?

    My issue is that many of my remote desktop apps require knowing the IP adress of the other PC. I'm looking for a VPN that auto-discovers other devices on the same network. That way I could just "ssh" into the same IP every time, because it would be IP inside of a virtual network. Ideally I am looking a solution that does not require internet connection.

    Thanks.

    Edit: I should probably specify my usecase. I have a portable desktop and use VNC from a laptop to connect to it. To do that I need the IP of the desktop but that's different on a different network. This can be solved by using hostname.local as the "IP". (hostname is the "ubuntu" in "bob@ubuntu$:~/Documents") The solution is quite simple, I just haven't known about it.

    Linux @lemmy.ml
    TMP_NKcYUEoM7kXg4qYe @lemmy.world

    Thinkpad X200 Tablet stylus brokie on Void Linux

    Edit: Solved according to this: reddit Obviously Void has no systemd service but I just created a script service containing a single line isdv4-serial-inputattach /dev/ttyS0 --baudrate 19200. The serial communication often crashes but runit automatically restarts it so that's fine. Also 6.6 kernel is kinda buggy but 6.10(custom compiled) and 6.1(from void's repo) work fine. Yeah and don't forget to enable the ttySx service otherwise it cannot work.

    I cannot get sway to detect my tablet device on Void Linux installed on a Thinkpad X200 Tablet. Anyone knows how to fix it? I have both libwacom and xf86-input-wacom installed. It worked fine on Debian.

    Now when I think about it, I don't have libwacom-32bit installed, because I'm using musl library which is 64bit only. That might be the issue considering how old my hardware is. I'm going to try to investigate but I'm going post this here anyway

    Linux @lemmy.ml
    TMP_NKcYUEoM7kXg4qYe @lemmy.world

    Change the panning keybind in Zathura

    The manual mentions that by default you can pan by holding middle click but my tablet does not have one, so I would like to change it to left click. Anyone knows how to do it? Thanks.

    Linux @lemmy.ml
    TMP_NKcYUEoM7kXg4qYe @lemmy.world

    SOLVED: Best QEMU graphics settings for intel GMA4500?

    Edit with solution: I'm dumb. Just use the default quickemu settings and only change "-device virtio-gpu-gl to "-device virtio-gpu and "-display sdl,gl=on to "-display sdl,gl=off . Although qemu will have a lot of overhead at boot, the CPU usage when on the desktop should not eat your linux host's entire core. I also disabled Windows Defender, which I don't recommend if you run random stuff from the internet (or open .xlsm spreadsheets), but it helps. I ran CTT's windows debloat tool and removed edge because it was updating in the background for some reason. Even then Windows is still a last resort kind of machine when my desktop isn't available, not an actual work OS.

    Edit with solution 2: The above still sucks compared to using RDP. Use the above to set up Windows Remote Desktop, then use for example Gnome Connections to RDP into it. I had to forward the RDP port to the Windows VM for it to work.

    I changed the line

     undefined
            -netdev user,hostname=Quickemu,hostfwd=tcp::22220
      
    ThinkPad @lemmy.ml
    TMP_NKcYUEoM7kXg4qYe @lemmy.world

    Windows 10 VM on thinkpad x200? (qemu)

    Anyone managed to make it work? If I assign a core to the Windows VM, it's constantly at 100% even when idle. Obviously I expected crappy performance but I was hoping that it would at least work. It did pretty well on bare metal.

    Is this a skill issue or a hardware problem? I tried both qxl and virtio, both sucked. I think it's the old GPU because today I tried quickemu instead of virt-manager and quick-emu refused to start because the iGPU does not support OpenGL 3.

    Bonus paragraph: Windows 10 (and 11) refused to finish the installation in Virt-manager in KVM mode so I had to install it using emulated x64 cpu and then boot the qcow image from regular KVM. (aimed at those having the same issue in the future)

    Edit: I think the problem was Windows updates running in the background. I had a similar problem on my x230 but I fixed it by only enabling security updates. (https://github.com/ChrisTitusTech/winutil) The problem is that this tool is broken on the X200T so I'm going to have to

    Selfhosted @lemmy.world
    TMP_NKcYUEoM7kXg4qYe @lemmy.world

    Open hardware single board computer server recommendations?

    Hi, I am looking for a SBC to self host stuff on. I would like it to be somewhat open hardware (manufacturer provides schematics and drivers are open source). Which is why I initially wanted to buy a banana-pi router but after reading a post in this /c/ I found that mainline linux support is fairly rare in these arm/riscv SBCs.

    So I was hoping someone more knowledgeable would help me find some options. Here are my "wants":

    • Low power drain
    • Open source hardware and software
    • Mainline linux support
    • 2 ethernet ports, at least 1Gb
    • at least 2GB RAM - could do with 1GB I suppose
    • a reasonable way to connect 2 SSDs and 2 HDDs - ie. 4 sata ports or one pcie port (not through USB)
    • EU seller. Not required but I hate dealing with import taxes and I like guarantees
    • Finally I need it to have "wake on power", so that it can start automatically after power outage

    The more I search the internet, the more it seems that this mythical computer does not exist but maybe someone knows