Skip Navigation
Posts
15
Comments
109
Joined
11 mo. ago
  • That suggests we should be intolerant of intolerance, which is an oxymoron.

  • I don't code so I can't possibly audit FOSS software. However, I also can't audit proprietary software. Lots of people can and do audit FOSS software, though, and can and do share their findings. But no matter how many people "audit" propietary software, it remains propietary - a black box. Untrustable, especially considering corporations' incentives and historical actions.

  • Why are you sharing a product/service that's in maintenance mode? From the README:

     undefined
        
    Trilium is in maintenance mode - see details in #4620
    
      

    I recommend TriliumNext Notes, a current and active fork.

  • I've had canon, HP, and brother inkjets - dislike them all (though hate HP as a company worse than the others.). Finally I bought a Xerox color laser printer (and scanner, etc) and really like it. Part of the enshittification is the world of inkjet ink, but part is also the companies.

  • It is in my .bashrc, but any delay is not noticeable.

  • Starships looks very interesting! I'm going to check it out. Thanks!

  • Well, yeah, but it's git: https://raw.github.com/git/git/master/contrib/completion/git-prompt.sh

    My thinking is that I trust git on my computer, so I trust downloading from their repo.

    But you're right. I should revisit this and see if it's even necessary.

  • Mine shows the user and host, git commit and branch, docker context and directory, color coded based on status of git:

    [root@server001|G:19e526e@(master)|D:myContext|currentDir] $

     undefined
        
    ## PS1 adapted from https://gist.github.com/xenji/2292341
    ps1_generator() {
        # docker context inspect --format '{{ .Name }}'
        Time12h="\T"; Time12a="\@"; ShortHost="\h"; Username="\u";
        PathShort="\W"; PathFull="\w"; NewLine="\n"; Jobs="\j";
        test -f ~/.config/git-prompt.sh || \
            curl -L https://raw.github.com/git/git/master/contrib/compl
    etion/git-prompt.sh \
                 > ~/.config/git-prompt.sh
        source ~/.config/git-prompt.sh
        Color_Off="\[\033[0m\]"; IBlack="\[\033[0;90m\]"; BWhite="\[\03
    3[1;37m\]"; BGreen="\[\033[1;32m\]";
        BIRed="\[\033[1;91m\]"; BIWhite="\[\033[1;97m\]"; BIPurple="\[\
    033[1;95m\]"; BIBlue="\[\033[1;94m\]";
        GIT_PS1='$(git branch &>/dev/null;\
    if [ $? -eq 0 ]; then \
      echo "$(echo `git status` | \grep "nothing to commit" > /dev/null
     2>&1; \
      DIRTY="$?"; \
      HEADREV=`git log --pretty=%h -n 1`; \
      echo -n "|G:'${BWhite}'$HEADREV"; \
      if [ "$DIRTY" -eq "0" ]; then \
        # @4 - Clean repository - nothing to commit
        echo "@'${BGreen}'"$(__git_ps1 "(%s)"); \
      else \
        # @5 - Changes to working tree
        echo "'${BIBlue}'@'${BIRed}'"$(__git_ps1 "{%s}"); \
      fi)'${Color_Off}'"; \
    else \
      # @2 - Prompt when not in GIT repo
      echo ""; \
    fi)'
        if docker context inspect >/dev/null 2>&1; then
            DOCKER_PS1='|D:'${BIBlue}'$(docker context inspect --format
     "{{ .Name }}")'${Color_Off}
        fi
        USER_PS1=${BIPurple}${Username}'@'${ShortHost}${Color_Off}
        PATH_PS1='|'${BWhite}${PathShort}${Color_Off}
        export PS1='['${USER_PS1}${GIT_PS1}${DOCKER_PS1}${PATH_PS1}'] $
     '
    }
    ps1_generator && unset -f ps1_generator
    
      
  • Linux Questions @lemmy.zip
    Mike Wooskey @lemmy.thewooskeys.com

    Question about gum

    Is anyone familiar with gum?

    I have a simple:

     undefined
        
    while true; do
        CHOICE=$(gum choose "one" "two" "three")
        case "$CHOICE" in
            "one")
                <do something>
            "two")
                <do something>
            "three")
                <do something>
        esac
    done
    
      

    If the user hits ESC, gum displays "nothing selected" and exits.

    Is there a way to disable the "nothing selected"? I tried redirecting 2>/dev/null but it suppresses the entire menu. I also tried adding $'\x1b' to the case, but it did nothing.

    I also tried adding:

     undefined
        
        if [ -z "$CHOICE" ]; then
            exit 0
        fi
    
    
      

    directly after CHOICE=$(gum choose...).

    No dice.

  • I used vaultwarden just the other day for this purpose. I mean, I use vaultwarden daily as a password manager, but it also has secure file transfer.

  • I recently got a Xerox and don't hate it yet (high praise for the printer industry).

  • That works for me, for a while. I also auto-restart the invidious container stack hourly, per their recommendation. But sooner or later it fails, and usually the fix is to recreate a token. It only takes a minute, but it's a hassle to do often.

  • I don't have any experience with Atuin, but I use and love hstr for similar features.

  • Thanks for the suggestion. It was already suggested. It looks pretty good, though it wasn't the one I had originally seen.

  • Congrats! It's fun and empowering to make your own tools, isn't it?

  • I'm quite happy with Jerboa on GrapheneOS, and on desktop I prefer to visit Lemmy via Tesseract.

  • I love homepage for this purpose. Gorgeous, good UX, easy to configure, and lots of widgets/integrations.

  • This wasn't what I had found, but it's the closest I've seen so far.

    It's got way more features than I'm looking for, and the UI is a bit clumsy to navigate (or maybe it's just complex due to all the features).

    Thanks for the suggestion! I may use this, but I'll keep looking for a bit.

  • Thanks for the suggestions - I'll check them out.

  • Self Hosted - Self-hosting your services. @lemmy.ml
    Mike Wooskey @lemmy.thewooskeys.com

    Searching for travel-planning app

    Within the past couple months, I saw someone's pet-project where they were cobbling together a self-hostable FOSS app/service to allow people to collaborate on travel planning. It included note taking, images, possibly some functionality around dates, and a map to drop pins and see a route (I'm not sure which backend but I would guess OSM).

    Now I can't find it. :(

    Does anyone use an app like this? Does anyone have any recommendations? My needs are loose - my only requirements are a FOSS license and to be self-hostable.

    Thanks for ideas/suggestions.

    Free OpenSource Software @infosec.pub
    Mike Wooskey @lemmy.thewooskeys.com

    finance management software suggestions

    Cross-posted from "finance management software suggestions" by @[email protected] in [email protected]


    I used to use Quicken long ago but have been using Moneydance for many years to manage my personal finances. But Moneydance is propietary software and I prefer FOSS now. What's your preferred finance management software?

    Thing I need it to do:

    • manage different accounts (common types are banks, credit cards, loans, assets)
    • have basic reporting (e.g., categorized expenses per time period)
    • preferably uses tags
    • export or copy reports or data - could be excel or csv or something that can be pasted or imported into spreadsheets
    • self-hostable with a web app

    I'm not a fan of software that's budget-focused. I don't mind it having some budgeting functionality, but I don't want opinionated software to force me to manage my money a certain way. I just want felxible software to help me manage my software how I want t

    Free and Open Source Software @beehaw.org
    Mike Wooskey @lemmy.thewooskeys.com

    finance management software suggestions

    I used to use Quicken long ago but have been using Moneydance for many years to manage my personal finances. But Moneydance is propietary software and I prefer FOSS now. What's your preferred finance management software?

    Thing I need it to do:

    • manage different accounts (common types are banks, credit cards, loans, assets)
    • have basic reporting (e.g., categorized expenses per time period)
    • preferably uses tags
    • export or copy reports or data - could be excel or csv or something that can be pasted or imported into spreadsheets
    • self-hostable with a web app

    I'm not a fan of software that's budget-focused. I don't mind it having some budgeting functionality, but I don't want opinionated software to force me to manage my money a certain way. I just want felxible software to help me manage my software how I want to manage it.

    I'm wary of source-available/freemium/dual-licensed/open-core licenses. It can't hurt to suggest such apps if you like them and I'll take a look, but I think

    Mildly Infuriating @lemmy.world
    Mike Wooskey @lemmy.thewooskeys.com

    Medical Industrial Complex

    I requested to schedule an annual wellness exam with my doctor, they said "She's booking out into 2026, would you still like to schedule?"

    They're scheduling out a YEAR in advance!

    I realize this is likely a regional issue to some degree, but I have a hunch that in the US (the country I'm in) it's very difficult to get a appointments for non-urgent issues. It's also incredibly difficult in my area to be able to find a doctor that's accepting new patients!

    Why can't medical facilities afford to expand to support the demand? This isn't meant to open a discussion about healthcare - it's just a rant. Grrr!

    homeassistant @lemmy.world
    Mike Wooskey @lemmy.thewooskeys.com

    Wake word vanished?

    After a recent update to ESPHome, my ATOM Echos no longer show a wake word in Home Assistant and the wake word field isn't even editable:

    And indeed they aren't responding to me speaking the wake word.

    Has anyone encountered this? Does anyone know of a fix or has a suggestion?

    Linux Questions @lemmy.zip
    Mike Wooskey @lemmy.thewooskeys.com

    Seeking help with a curl command in a bash script - SOLVED

    I've got this command in a bash script:

     undefined
        
    TEST=$(curl -o /dev/null -s -k -w "%{http_code}" -u "${USERNAME}:${PASSWORD}" "${URL}/dashboard/")
    echo "${TEST}" #debug
    
      

    When the script runs, the output is "000".

    When I run the same curl command from the shell, the output is "200" (which is correct, since the URL is valid).

    I verified that the USERNAME, PASSWORD, and URL vars are being passed to the subshell.

    I'd appreciate it if you could point out what I'm doing wrong here. :)

    UPDATE: This has been solved.

    homeassistant @lemmy.world
    Mike Wooskey @lemmy.thewooskeys.com

    Assistance creating a sensor

    Hi.

    This works fine in the template editor:

     undefined
        
    {% if states('sensor.apollo_mtr_1_cca750_presence_target_count') | int > 0 %}
      Detected
    {% elif is_state('binary_sensor.apollo_msr_2_c7bfe8_radar_zone_1_occupancy', 'on') %}
      Detected
    {% elif is_state('binary_sensor.apollo_msr_2_c7bfe8_radar_zone_2_occupancy', 'on') %}
      Detected
    {% elif is_state('binary_sensor.apollo_msr_2_c7bfe8_radar_zone_3_occupancy', 'on') %}
      Detected
    {% else %}
      Not Detected
    {% endif %}
    
      

    But when I try to create a binary_sensory from it in configuration.yaml, I get "'binary_sensor' is undefined":

     undefined
        
    template:
      - binary_sensor:
        - name: "Lounge Presence"
          state: >-
            {% if states('sensor.apollo_mtr_1_cca750_presence_target_count') | int > 0 %}
              Detected
            {% elif is_state('binary_sensor.apollo_msr_2_c7bfe8_radar_zone_1_occupancy', 'on') %}
              Detected
            {% elif is_state('binary_sensor.apollo_msr_2_c7bfe8_radar_zone_2_occupancy', 'on') %}
              Detected
        
      
    Privacy @lemmy.ml
    Mike Wooskey @lemmy.thewooskeys.com

    PayPal opted in users to share their data.

    Selfhosted @lemmy.world
    Mike Wooskey @lemmy.thewooskeys.com

    Having difficulty visiting an mTLS-authenticated website from GrapheneOS

    I host a website that uses mTLS for authentication. I created a client cert and installed it in Firefox on Linux, and when I visit the site for the first time, Firefox asks me to choose my cert and then I'm able to visit the site (and every subsequent visit to the site is successful without having to select the cert each time). This is all good.

    But when I install that client cert into GrapheneOS (settings -> encryption & credentials -> install a certificate -> vpn & app user certificate), no browser app seems to recognize that it exists at all. Visiting the website from Vanadium, Fennec, or Mull browsers all return "ERR_BAD_SSL_CLIENT_AUTH_CERT" errors.

    Does anyone have experience successfully using an mTLS cert in GrapheneOS?

    [SOLVED] Thanks for the solution, @[email protected]

    No Stupid Questions @lemmy.world
    Mike Wooskey @lemmy.thewooskeys.com

    Layered encryption?

    If we consider information to be safe if we encrypt it (e.g., text in a file, encrypted with modern strong encryption), would it be safer (as in harder to crack) if we then encrypted the encrypted file, and encrypted the encrypted^2 file, etc.? Is this what strong encryption already does behind the scenes?

    Mildly Infuriating @lemmy.world
    Mike Wooskey @lemmy.thewooskeys.com

    Grrr! Stupid non-intuitive default settings!

    I got a new printer. Auto-discovered, added, and prints fine from Windows in 2 minutes. Auto discovered, added, and prints fine from OSX in 30 seconds. Auto-discovered and added on Linux, but trying to print results in "printer is unreachable at this time" - even after 50 re-installs, different configs, different drivers, different protocols.

    I recognized that some computers were on different subnets, but couldn't figure out a pattern. It turns out that the printer has a setting called "Restricted Server List" and the default setting is null. Here's its description in the admin interface: "Comma-delimited list of IP addresses that are allowed to make TCP connections. Example: 157.184.0.0/24. where 0 is a wildcard and /24 is the network prefix."

    It also has a setting called "Restricted Server List Options", set to block all ports by default. Here's its description: "By default, addresses not in the restricted server list will have all access blocked. When Block Printing Only is select

    No Stupid Questions @lemmy.world
    Mike Wooskey @lemmy.thewooskeys.com

    Question about DPOA and taxes

    I'm creating a Durable Power of Attorney, and I can choose whether to grant my Agent the power to deal with my taxes. My question is: does granting the Agent this power also make them responsible for my taxes? E.g., if I owed the IRS $100,000, would my Agent suddenly be responsible for paying the IRS $100,000 if I didn't have enough funds? Or if they made a decision that got me in trouble, would they be in trouble?

    I don't expect legal advice, but I'd like to ask you not to share your opinion. I'm looking for something in between: anecdotes of your experiences.

    Thanks for sharing!

    FYI, here's the phrasing I'm currently planning to use, though this isn't set in stone:

    In regards to taxes, the Principal authorizes the Agent to:

    Prepare, sign, and file federal, state, local, and foreign income, gift, payroll, property, Federal Insurance Contributions Act, and other tax returns, claims for refunds, requests for extension of time, petitions regarding tax matters, and any oth

    Bitwarden @discuss.tchncs.de
    Mike Wooskey @lemmy.thewooskeys.com

    Question about autofill security

    I understand that if you have Bitwarden (or any password manager or browser) configured to autofill your password when it encounters a "password" field on a web form, an easy exploit is for the web form to have hidden form fields (e.g., address, phone, email, ssn) and your autofill app will fill in your info into those fields, even though you only wanted it to autofill the login.

    But when you have autofill turned off and you click in a form's "login" field and select a login from Bitwrden's contextual menu, Bitwarden automatically also fills in the "Password" field. Does this mean that the exploit exists even if autofill is turned off, as long as you're using any form of an "auto-fill" function?

    homeassistant @lemmy.world
    Mike Wooskey @lemmy.thewooskeys.com

    Compile errors with ESP32 Atom Echo

    Thanks to Smart Home Junkie's video (invidious link), I had my Atom Echos as voice recognition boxes with all audio output redirected to a media player of my choice (because the audio on the Echo is super quiet).

    Whenever ESPHome updated, I updated my Echos to get the recent ESPHome updates, and then reinstalled the custom yaml for audio redirection.

    However, with ESPHome's recent 2024.6.4 update, trying to install the yaml triggers errors that don't seem to make sense. For example, here's a section of the yaml:

     undefined
        
    microphone:
      - platform: i2s_audio
        id: echo_microphone_kitchen
        i2s_din_pin: GPIO23
        adc_type: external
        pdm: true
    
    speaker:
      - platform: i2s_audio
        id: echo_speaker_kitchen
        i2s_dout_pin: GPIO21
        dac_type: external
        mode: mono
    
    voice_assistant:
      id: va
      microphone: echo_microphone_kitchen
      speaker: echo_speaker_kitchen
      noise_suppression_level: 2
      auto_gain: 31dBFS
      volume_multiplier: 2.0
      v