Readit News logoReadit News
theden commented on Pong Clock   bigjobby.com/pong/?v=2.0/... · Posted by u/donohoe
theden · 14 hours ago
Pretty cool! You can force a miss by setting these vars in the console

  scoreMinute += 1
Or

  forceMissPaddle = rightPaddle; // or leftPaddle

theden commented on Static sites with Python, uv, Caddy, and Docker   nkantar.com/blog/2025/08/... · Posted by u/indigodaddy
theden · 9 days ago
My minor suggestion would be to not to use `COPY . .` as it could slow down the build process if it has to copy everything in the context that's not needed. Also a potential privacy/sec risk if private/secret data is copied the final docker image, but probably not applicable in a multi-stage builds where it's in an aux stage.

If you don't want to have multiple `COPY`s, you can add a `.dockerignore` file (https://docs.docker.com/build/concepts/context/#dockerignore...) with the `COPY . .` directive and effectively configure an allowlist of paths, e.g.,

  *
  !src/
  !requirements.txt

theden commented on Thnickels   thick-coins.net/?_bhlid=8... · Posted by u/jxmorris12
theden · 2 months ago
In the HTML there's a cool comment

      <!-- Hello this is Theo. Yes I know how to do web design. -->
      <!-- You have found my secret message. -->
      <!-- It is a coin emoticon picture. -->
      <!--
                     ______________
        __,.,---'''''              '''''---..._
     ,-'                                       '`-.
    |                      ONE                     |
    |                    THNICKEL                  ,
    |'-.._                                    __,,-
    |      ''`---.....______________.....---''     |
    |                                              |
    |                                              |
    |                                              |
    |                                              |
    |                                              |
    |                                              |
    |                                              |
    |                                              |
    |                                              |
     '-.._                                   __,,-`
          ''`---.....______________.....---''
    -->

theden commented on Ask HN: What are you working on? (April 2025)    · Posted by u/david927
theden · 4 months ago
I'm working on https://catmatch.theden.sh/ as a fun way for people to adopt rescue cats
theden commented on Synology Lost the Plot with Hard Drive Locking Move   servethehome.com/synology... · Posted by u/motiejus
valunord · 4 months ago
Isn't this a simple solution?: https://github.com/007revad/Synology_HDD_db

Some of us are using that with great success to eliminate the locking situation.

theden · 4 months ago
Also https://github.com/007revad/Synology_M2_volume for NVMe M.2 drives (some synology models only allow NVMe drives to be used as read/write caches without this script)

u/theden

KarmaCake day1313December 18, 2016
About
https://theden.sh
View Original