needanke

joined 2 years ago
MODERATOR OF
[–] needanke@feddit.org 3 points 2 hours ago (1 children)

Tbh I still consider Proxmox as Debian, so you're pretty much there ;).

[–] needanke@feddit.org 2 points 2 hours ago

Same, literaly only have bazzite and android on one device each with everything else being Debian.

Although I have been thinking about switching to Nix for a more robust backup/restore setup.

[–] needanke@feddit.org 1 points 2 hours ago (1 children)

How quick could you pick it up? And how does it handle one config for different devices (due to different hardware(fstab/cryptsetup differences), propietary/non-mainlined drivers?

I have been thinking about switching because I'd love a reproduciable system but fear it would take some of that flexibility I rely on (I've had some issues with ftstab/cryptsetup and initramfs customizations on the fedora atomic base of bazzite on my steamdeck).

[–] needanke@feddit.org 2 points 2 days ago* (last edited 2 days ago) (1 children)

So an e-Bike would cut her commute by an hour?

[–] needanke@feddit.org 3 points 2 days ago* (last edited 2 days ago)

I doubt home inspections would fly with German law. Unpaid overtime is legal as long as the legal limits wrt to total working time and minimum wage are met (which they will if you are making 80k...). Requiring the home office to be secured seems legal depending on the working environment (does it also need to be secured outside of working hours?).

They can require work on weekends and holidays with no notice

Working weakends or Holidays can be legal depending on the work . No notice seems illegal (unless they are paying you to be on call).

There isn't a single mention to remote working on the contract

This is a red flag, there is no obligation for employers to enable remote work, so if it's not in the contract you don't have anything to fall back on. This might be especially problematic for working from outside of the EU.

They can relocate me to any place with a 2 months notice

If it is really that broad that is probably unenforcable.

Take all of this with a grain of salt, I am not a lawyer.

Honestly, depending on how much you like the position otherwise and how much you need the job, I'd tell them to change the contract (esp. the homeoffice clause) or you're out and then just walk if they don't.

[–] needanke@feddit.org 2 points 5 days ago (1 children)

You don't need Termux anymore!

Android 16 - so graphene as well - has a full built in linux terminal (look for terminal in settings).

[–] needanke@feddit.org 1 points 6 days ago (2 children)

There are good/better bike locks though.

[–] needanke@feddit.org 1 points 6 days ago* (last edited 6 days ago)

Don't they have a chat product?

Many. ~~And Discord is among them.~~

Seems like I missremembered something.

[–] needanke@feddit.org 3 points 1 week ago (1 children)

Even better, do the work at compile time to respect the customers resources:

const bool isPrime = false
[–] needanke@feddit.org 0 points 1 week ago (2 children)

I suspect most speakers are not designed to play inaudible frequencies.

[–] needanke@feddit.org 14 points 2 weeks ago

Regay: anon is jealous of the guy, because she has a crush on the women following him.

[–] needanke@feddit.org 5 points 4 weeks ago (1 children)

According to their German wikipedia page:

Der satirischen Selbstdarstellung des Postillons zufolge besteht die Zeitung demgegenüber schon seit dem 28. Oktober 1845 und erhielt ihre ersten Inhalte von durchreisenden Postillonen.[3]

This means something like

According to their own satirical self depiction, the newspaper has existed since October 28 1845 and received its first content from the postilions traveling through the town.

Postillion seems to mean the person riding the/a horse pulling the post chariot [https://en.wikipedia.org/wiki/Postilion?wprov=sfla1].

 

Fors off: I am a total beginner when it comes to docker. I do have some self hosting experience, but run pretty much everything in its on lxc and treat it like a full linux system.

Recently I installed immich in a container and was surprised to see how well it worked.

This lead my to finally tackle something I have been putting off for way to long; installing nightscout (a self hosten glucose monitoring&reporting utility).

For that I followed their guide. Everything worked well up untill the point where I wanted to connect to the web interface. I started of by entering my domain into the nightscout containers arguments (in the form subdomain.domain.tld). Then I used my reverse proxy (nginx, not inside docker) to forward the subdomain to the docker IP on Ports 443, then 80 and lastly the one displayed at the container when listing them with docker ps. None of those worked (I was not able to get a certificate using letsEncrypt and got a 404 when connecting without tls).

I then entered nighscout.[docker-IP] and tried to access it dkrectly which did not work either.

When googling I only find comparisons on how to set up nginx in Docker, or comparisons between the two.

docker-compose file

  GNU nano 7.2                                                                                                 docker-compose.yml                                                                                                          
version: '3'

x-logging:
  &default-logging
  options:
    max-size: '10m'
    max-file: '5'
  driver: json-file

services:
  mongo:
    image: mongo:4.4
    volumes:
      - ${NS_MONGO_DATA_DIR:-./mongo-data}:/data/db:cached
    logging: *default-logging

  nightscout:
    image: nightscout/cgm-remote-monitor:latest
    container_name: nightscout
    restart: always
    depends_on:
      - mongo
    labels:
      - 'traefik.enable=true'
      # Change the below Host from `localhost` to be the web address where Nightscout is running.
      # Also change the email address in the `traefik` service below.
      - 'traefik.http.routers.nightscout.rule=Host(`localhost`)'
      - 'traefik.http.routers.nightscout.entrypoints=websecure'
      - 'traefik.http.routers.nightscout.tls.certresolver=le'
    logging: *default-logging
    environment:
      ### Variables for the container
      NODE_ENV: production
      TZ: [removed]

      ### Overridden variables for Docker Compose setup
      # The `nightscout` service can use HTTP, because we use `traefik` to serve the HTTPS
      # and manage TLS certificates
      INSECURE_USE_HTTP: 'true'

      # For all other settings, please refer to the Environment section of the README
      ### Required variables
      # MONGO_CONNECTION - The connection string for your Mongo database.
      # Something like mongodb://sally:sallypass@ds099999.mongolab.com:99999/nightscout
      # The default connects to the `mongo` included in this docker-compose file.
      # If you change it, you probably also want to comment out the entire `mongo` service block
      # and `depends_on` block above.
      MONGO_CONNECTION: mongodb://mongo:27017/nightscout

      # API_SECRET - A secret passphrase that must be at least 12 characters long.
      API_SECRET: [removed]

      ### Features
      # ENABLE - Used to enable optional features, expects a space delimited list, such as: careportal rawbg iob
      # See https://github.com/nightscout/cgm-remote-monitor#plugins for details
      ENABLE: careportal rawbg iob

      # AUTH_DEFAULT_ROLES (readable) - possible values readable, denied, or any valid role name.
      # When readable, anyone can view Nightscout without a token. Setting it to denied will require
      # a token from every visit, using status-only will enable api-secret based login.
      AUTH_DEFAULT_ROLES: denied

      # For all other settings, please refer to the Environment section of the README
      # https://github.com/nightscout/cgm-remote-monitor#environment

  traefik:
    image: traefik:latest
    container_name: 'traefik'
    command:
      - '--providers.docker=true'
      - '--providers.docker.exposedbydefault=false'
      - '--entrypoints.web.address=:80'
      - '--entrypoints.web.http.redirections.entrypoint.to=websecure'
      - '--entrypoints.websecure.address=:443'
      - "--certificatesresolvers.le.acme.httpchallenge=true"
      - "--certificatesresolvers.le.acme.httpchallenge.entrypoint=web"
      - '--certificatesresolvers.le.acme.storage=/letsencrypt/acme.json'
      # Change the below to match your email address
      - '--certificatesresolvers.le.acme.email=[removed]'
    ports:
      - '443:443'
      - '80:80'
    volumes:
      - './letsencrypt:/letsencrypt'
      - '/var/run/docker.sock:/var/run/docker.sock:ro'
    logging: *default-logging

 

The sensor is located on the case (not near the exhaust) of the server. With the structure of my appartment this is the only place I can realistically put my Server but sadly also the hottest place in my appartment.

The outside temperature is supposed to reach 36°C today so I expect the ambient temp for the server to rise another 2-3 degrees.

1
Recursion (cdn.masto.host)
submitted 1 year ago* (last edited 1 year ago) by needanke@feddit.org to c/programmerhumor@lemmy.ml
 

Edit: Added my 'Solution' at the bottom

Does anyone know how I can unlock oneplus 7 Pros bootloader. I want to switch to lineageOs but am failing at that step during the install

original PostThings I have tried so far:

  • enable  OEM unlock in developer settings and then using fastboot to unlock it. That fails with an error message (known issue on android 12, other threads reccomens downgrading to 11).
  • using an inoffical firehose client. I don't know what the issue was. There was no relevant error in the output, even in debugging mode (though I suspect it is the same issue as above).

edit: from what I saw the unbrick tools mentioned below doing it seems like someone with more knowledge might be able to flash the correct images onto the correct partitions using that tool (although it is very buggy, I needed to change a bit of the python code to even get it going without throwing errors)

Things I have tried to downgrade to Android 11:

  • using the official rollback packeges. Sadly the links on the official thread are dead and I cant find the rollback packages anywhere else
  • using the unbrick tools. Since I don't have a windows PC, I tried it on a friends laptop where it just didn't work without a clear error message. I then set up a new win 11 VM. There I couldn't install the required drivers (super generic errror message, something like path not found but without specifying the path).

Edit from lineage os 22.1:

What ended up working was downgrading to android 11 using the afformentioned unbrick tool. The issues I had with installing the driver originated in an incomplete unpack of the driver file by the windows explorer. After that worked, I was able to downgrade to oos 11. That's where the next issue came up: I had to upgrade to 12 again to continue the lineage install process but the first update (from an the flashed oos 11 to the latest oos 11) git stuck at 80% with an unlocked bootloader. For me it worked to update 11 as far as possible, only then unlocking the bootloader and lastly updating to oos12. After that you can continue with the lineage install as officially documented. I tried some stuff with twrp as well (wanted to dualboot postmarket OS) but that didn't work either so I just gave up.

 

I recently moved my files to a new zfs-pool and used that chance to properly configure my datasets.

This led me to discovering zfs-deduplication.

As most of my storage is used by my jellyfin library (~7-8Tb), which is mostly uncompressed bluray rips I thought I might be able to save some storage using deduplication in addition to compression.

Has anyone here used that for similar files before? What was your experience with it?

I am not too worried about performance. The dataset in question is rarely changed. Basically only when I add more media every couple of months. I also have overshot my cpu-target when originally configuring my server so there is a lot of headroom there. I have 32Gb of ram which is not really fully utilized either (but I also would not mind upgrading to 64 too much).

My main concern is that I am unsure it is useful. I suspect just because of the amount of data and similarity in type there would statistically be a lot of block-level duplication but I could not find any real world data or experiences on that.

view more: next ›