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/)HE
heimchen @discuss.tchncs.de
Posts 22
Comments 296
linux rule
  • I see your argument that thinking how a pig in a meat factory feels is just speculation, but there is a point where we have to think about the future and speculate what could be and how possible it is. If we have better options now, and, maybe not as a single human, but collectively can act to stop this harm with a great possibility, I think it's worth it to speculate. I don't no where you draw this line, but it is beyond mine, so I am willing to speculate that this is the better way.

  • Advent of Code @lemmy.world heimchen @discuss.tchncs.de

    Day 4: Don't forget, that in 2, the point multiplying isn't any more

    If you add tickets with the point multiplier the code is just off by one, and I spotted the problem immediately.

    1

    Upgrade from Sony PRS-T3

    I have an old PRS-T3 from Sony and would like to upgrade, but don’t know much about the current world of ereaders, maybe someone could help me. (The PRS is working fine for books, so I can wait, but many websites stopped working and I would like to upgrade)

    It would have to be robust and have a similar form factor(maybe smaller but not much bigger)[3 inches/7.5 cm] and I would like physical buttons, but they are not required. Since I am using omnivore as a read it later app and read my local newspaper on these devices, google play and a webbrowser would help a lot.

    Thanks.

    I don’t need an integrated store or drm reader, I add all my books manually.

    4

    What does criterion measure

    I would like to benchmark my rustcode with criterion, but the information it presents to me do not match up. Here is some of the output I get

    Benchmarking big/big decoding: Warming up for 1.0000 s Warning: Unable to complete 10 samples in 5.0s. You may wish to increase target time to 306.4s. big/big decoding time: [632.40 ns 724.40 ns 899.80 ns] change: [+0.7649% +16.645% +46.889%] (p = 0.04 < 0.05) Change within noise threshold. Found 2 outliers among 10 measurements (20.00%) 1 (10.00%) high mild 1 (10.00%) high severe

    If it took a criterion only 724.40 ns to run the code, why couldn’t it run the code 10 times in 5 seconds. I looked at the outliers in the browser and the one outlier took 1.5 microseconds to run so this could not be the problem.

    0

    Integrate flatpaks into zypper

    Is there a way to integrate flatpaks with flathub into zypper. So I can install and update flatpaks at the same time as regular packages with the same commands

    1

    [Feature request] get context from Notifications

    It would really be nice if you could get to the post and comment which replied to your comment or post.

    3

    Low profile keycaps

    Hi, I am pretty new to mechanical keyboards and have a lowprofile keyboard from keychron. Overall I would say I am pretty happy. The only problem is that I have rgb, but can see it because the keycaps have no transparent section. How would I go on, in finding other keycaps with transparent sections and don't buy wish quality crap that will feel horrible.

    https://www.keychron.com/collections/low-profile-keyboard-collection/products/keychron-k3-pro-qmk-via-wireless-custom-mechanical-keyboard#

    This is the keyboard

    3

    Reverse Proxy with nextcloud snap

    github.com Putting the snap behind a reverse proxy

    ☁️📦 Nextcloud packaged as a snap. Contribute to nextcloud-snap/nextcloud-snap development by creating an account on GitHub.

    Putting the snap behind a reverse proxy

    I was looking for a way to use a reverse Proxy with my nextcloud snap install, this guid was what I needed. https://github.com/nextcloud-snap/nextcloud-snap/wiki/Putting-the-snap-behind-a-reverse-proxy

    First change, what ports nextcloud listens to: sudo snap set nextcloud ports.http=81 ports.https=444

    Install haproxy and append this to the config file in /etc/haproxy/haproxy.cfg

    ``` backend nextcloud-http mode http balance roundrobin option forwardfor option httpchk HEAD / http-check send ver HTTP/1.1 hdr Host localhost server nextcloud 127.0.0.1:81 check timeout connect 4s timeout server 4s

    backend nextcloud-https mode tcp balance roundrobin option httpchk HEAD / http-check send ver HTTP/1.1 hdr Host localhost option ssl-hello-chk server nextcloud 127.0.0.1:444 check timeout connect 4s timeout server 4s

    ```

    And this for the front end, don't forget to change <domain name> to your domain. nextcloud.example.org

    ``` frontend http bind *:80 mode http

    acl host_nextcloud hdr(host) -i <domain name> use_backend nextcloud-http if host_nextcloud timeout client 4s

    frontend https bind *:443 mode tcp

    tcp-request inspect-delay 5s tcp-request content accept if { req_ssl_hello_type 1 }

    acl host_nextcloud req_ssl_sni -i <domain name> use_backend nextcloud-https if host_nextcloud timeout client 4s Check if everything is correct with `sudo haproxy -c -f /etc/haproxy/haproxy.cfg` and start it. sudo systemctl enable haproxy sudo systemctl start haproxy ``` just do the lets-encrypt stuff again: nextcloud.enable-https And it worked for me(Apache)

    1

    Moving Camera3D dynamically smoothly from one position to another.

    I have two positions, my cameras, and one from an object. I want to be able to move the camera smoothly from on position to the other. Since the positions are always different, animation players don't work(as far as I know).

    11

    What portable utilities do you carry with you.

    I personally always have one USB stick with me that has a live usb boot of Fedoraon it, but I just saw the new video from Linus tech tips and thought about extending it a bit.\ He mostly talked about windows tools, but I think I will add

    • https://www.ventoy.net/en/download.html for maybe an additional Linux light version
    • https://github.com/TheWaWaR/simple-http-server if I have to share files from a broken Computer or so.

    What are you using or do you have recommendations?

    35

    Making a 3D Object clickable with a mouse

    While the forums are down, I have spawned an instance in a 3D world and would like to execute a function one the instance when I click it with my mouse. How would I do that?

    5
    homelab @lemmy.ml heimchen @discuss.tchncs.de

    Mutable or Immutable Distributions

    I am setting ap on Old computer of mine as a local nextcloud instance and maby host my own little Blog. I wouldn't do much else on this machine so I think an immutable Distribution like MicroOs would be the right choice.\ What do you use for your homelab?

    4

    Database outside of snaps reach.

    Do you use the default location for the database? I found a cool middle ground that allowed me to run my operating system and snap off a ssd and the database on a slower hdd.\ I installed nextcloud with snap and did the setup.\ When everything was how I wanted it to be, I search for the datas location\ (for me:/var/snap/nextcloud/common/nextcloud/data). Then I created a /data on my hdd and binded it to nextclouds /data folder. \ My fstab now looks like this:\ /data /var/snap/nextcloud/common/nextcloud/data none bind 0 0\ You only have to rebuild the database: nextcloud.occ files:cleanup nextcloud.occ files:scan

    !!! Important, move your data first to the new location.(I think you won't lose it, but you cannot access it)

    0

    stable diffusion is creating bad outputs.

    I just installed stable diffusion on my homelab and did not change anything, but the outputs are really bad, I tried following tutorials, but my version just outputs really weird stuff.

    What am I doing wrong?

    !

    7

    Which office suite are you using and why

    I try using Org-mode/Latex with pandoc,, but end up using only Office for docx and PowerPoint.

    97

    Minimum system requirements for lemmy instance

    I would like to host a small instance for me and my friends (<10). I was thinking about buying a small single board arm computer to host it. What would be the minimum system requirements for this and do you have recommendations besides the raspberry pi.

    5