[-] [email protected] -1 points 3 weeks ago

I did not ask for a backup solution, but for a deduplication tool

[-] [email protected] 15 points 1 month ago

The exiting part will be if they launch a passive cooled arm based laptop.

[-] [email protected] 4 points 1 month ago

If you can get a metal body laptop, I would suggest you do. Metal chassis with Linux will last a long while. Programming will not take much resources (and if it does, rewrite your code). Since you're into light programming like python any distro would be fine. It feels like the community has somewhat agreed to suggest Linux Mint to new users so I'll support that.

[-] [email protected] 1 points 2 months ago

This is what I think one need to do to test if that would work

  • get latest ubuntu live cd
  • install bottles
  • run label printer installer for windows in bottles
  • check if the program runs at all

If the device is a COM device in windows then I think it should just work out of the box. If not, then the entire device needs to be forwarded using udev rules to wine. Let me know if you want to attempt this :)

[-] [email protected] 2 points 2 months ago* (last edited 2 months ago)

This sounds interesting. What the hell is RevOS? What kind of label maker is that? Does it have a name? Do you know what kind of cable it's using to communicate with the pc?

[-] [email protected] 2 points 2 months ago

If you want yet another promotion you know what to do next

[-] [email protected] 3 points 2 months ago* (last edited 2 months ago)

I've not worked with batteries but I would assume there are two pins for voltage and ground, one temperature probe pin and or two pins for serial communication (probably I²C). If batteries would have had some sort complex handshake then it would have needed a corresponding UEFI patch so that system is able to refuse booting if the power level is too low. That's why I assume there would be no handshake (unless it's apple ofc).

[-] [email protected] 2 points 2 months ago

Yeah true, though it's dealt with already. Time to put the lid back on that can.

[-] [email protected] 5 points 2 months ago

How is it that one cannot purchase a bunch of flat rectangular batteries and just put them inside the laptop (wherever they fit) and connect them manually to some custom charge controller? We do it all the time on other devices like drones and shit. We have generic round cylindrical batteries, why isn't there flat generic Li batteries?

[-] [email protected] 1 points 2 months ago* (last edited 2 months ago)

hahaha It actually did, I found out shortly after initially posting this. I'm constantly reminded that I haven't learned reading yet (documentation, datasheets, terminal output etc...)

[-] [email protected] 1 points 2 months ago* (last edited 2 months ago)

I usually try to avoid bad habits like this but this time it was justified.

The Ubuntu laptop had to connect to company vpn. It were using openconnect-network-manager-gnome thingy to do that. Recently the company upgraded their vpn software which is sorta incompatible with openconnect and requires a modified user agent string for it to prompt for 2FA keys. package in ubuntu 22.04 is too old to modify that in the gui. I tried in the terminal manually, editing the config manually with vim and even dumping the config from my personal Arch laptop. We also tried proprietary Cisco AnyConnect but there is probably a server misconfiguration which causes the connection to drop and reconnect once a minute. In Ubuntu 24.04 it works given the user agent modification, and even though it was released a couple of weeks ago, LTS users don't get the update before mid August. So the easiest solution was to take the software compile it in the VM and use it there. It's a temporary solution but we had to have something working by the next morning. With such setup it's an annoyance to have password prompts show up. On top of that the keyboard is kinda fucked and some characters register multiple times making the situation with passwords even worse.

If you have a good idea what I could have tried let me know, love to hear new ideas.

11
submitted 1 year ago by [email protected] to c/[email protected]

I'm experiencing an issue with commands that provide a tui interface like journalctl, systemctl and vim. It feels like terminal dimensions are not matching up somehow. And this issue is present only some times. On host I'm using Black Box and I tile my windows using pop os tiler. I'm also frequently scaling the font with ctrl + and ctrl - shortcuts. Remote sshd host is running Debian variables $LINES and $COLUMNS are set. bashrc files are in their default state.

How is this supposed to work? Isn't my terminal client sending new $LINES and $COLUMNS each time there is a change?

1
submitted 1 year ago by [email protected] to c/[email protected]

Do you know about a private customizable search engine? I would like to hint the search engine about what search results I like without specifying them on every single query.

For instance when need to search up some programming documentation almost always there are some blogs in the search results meanwhile I'm always looking for the official documentation. I want to go to settings and specify something like

+ official documentation
- blog

and every single time I search something up I get less noise. Also being able to block some domains like

geekforgeeks.org
learn.microsoft.com

would also be nice. In case I get annoyed by some domain that have a lot of ads and information at the very bottom.

13
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]

Do you know about any gnome apps that can be used on screen recording (.webm) to gif so they can be uploaded here on lemmy?

Edit: found Footage. For some reason it was not listed on Gnome Apps

3
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]

I'm using NvChad and in ~/.config/nvim/lua/core/mappings.lua there is a keybinding for LSP code action:

  ["<leader>ca"] = {
    function()
      vim.lsp.buf.code_action()
      -- TODO: write buffer to file
    end,
    "LSP code action",
},

this keybinding applies the code action, but does not write to file. I want to write changes to file as soon as I've applied the code action.

How can I use the documentation at https://neovim.io/doc/ to find the correct function? I've tried looking for a write() function but I could not find anything I can call from lua.

15
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]

I wonder is there any program that can take a bash script as input and print out all bash commands it will run? A program that would unroll loops, expand environment variables and generally not perform any destructive action nor call any external binaries. It's like a dry run of sorts.

3
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]

Who thought it was a good idea to use pascal case naming convention for network manager NetworkManager.service while all remaining services in existence uses kebab case? It should be network-manager.service.

view more: ‹ prev next ›

Agility0971

joined 1 year ago