scrubbles
@scrubbles@poptalk.scrubbles.tech
- Comment on Video game hardware sales had a historically bad November in the US 3 days ago:
Well have you thought about… Credit card debt? Come on, be a good consumer and get into not just debt, but crippling debt!
- Comment on Router VPN? Express put to rest 3 days ago:
They killed off openvpn support a few years ago and am glad I did. They don’t care about power users, so they don’t care about my money either. Good riddance
- Comment on Reporter suggests Half-Life 3 will be a Steam Machine launch title 3 days ago:
BS. At this point it’s just coickbait
- Comment on what do y'all use for CI/CD? 3 days ago:
Of course! Let me know how you run your containers and I may be able to help on that side too
- Comment on what do y'all use for CI/CD? 3 days ago:
Sure! I use Kaniko (Although I see now that it’s not maintained anymore). I’ll probably pull the image in locally to protect it…
Kaniko does the Docker in Docker, and I found an action that I use, but it looks like that was taken down… Luckily I archived it! Make an action in Forgejo (I have an
infrastructuregroup that I add public repos to for actions. So this one is calledaction-koniko-buildand all it has is thisaction.ymlfile in it:name: Kaniko description: Build a container image using Kaniko inputs: Dockerfile: description: The Dockerfile to pass to Kaniko required: true image: description: Name and tag under which to upload the image required: true registry: description: Domain of the registry. Should be the same as the first path component of the tag. required: true username: description: Username for the container registry required: true password: description: Password for the container registry required: true context: description: Workspace for the build required: true runs: using: docker image: docker://gcr.io/kaniko-project/executor:debug entrypoint: /bin/sh args: - -c - | mkdir -p /kaniko/.docker echo '{"auths":{"${{ inputs.registry }}":{"auth":"'$(printf "%s:%s" "${{ inputs.username }}" "${{ inputs.password }}" | base64 | tr -d '\n')'"}}}' > /kaniko/.docker/config.json echo Config file follows! cat /kaniko/.docker/config.json /kaniko/executor --insecure --dockerfile ${{ inputs.Dockerfile }} --destination ${{ inputs.image }} --context dir://${{ inputs.context }}
Then, you can use it directly like:
name: Build and Deploy Docker Image on: push: branches: - main workflow_dispatch: jobs: build: runs-on: docker steps: # Checkout the repository - name: Checkout code uses: actions/checkout@v3 - name: Get current date # This is just how I label my containers, do whatever you prefer id: date run: echo "::set-output name=date::$(date '+%Y%m%d-%H%M')" - uses: path.to.your.forgejo.instance:port/infrastructure/action-koniko-build@main # This is what I said above, it references your infrastructure action, on the main branch with: Dockerfile: cluster/charts/auth/operator/Dockerfile image: path.to.your.forgejo.instance:port/group/repo:${{ steps.date.outputs.date }} registry: path.to.your.forgejo.instance:port/v1 username: ${{ env.GITHUB_ACTOR }} password: ${{ secrets.RUNNER_TOKEN }} # I haven't found a good secret option that works well, I should see if they have fixed the built-in token context: ${{ env.GITHUB_WORKSPACE }}
I run my runners in Kubernetes in the same cluster as my forgejo instance, so this all hooks up pretty easy. Lmk if you want to see that at all if it’s relevant. The big thing is that you’ll need to have them be Privileged, and there’s some complicated stuff where you need to run both the runner and the “dind” container together.
- Comment on what do y'all use for CI/CD? 4 days ago:
The email said they’re now charging you for that
- Comment on what do y'all use for CI/CD? 4 days ago:
Forgejo runners are great! I found some simple actions to do docker in docker and now build all my images with them!
- Comment on 700+ self-hosted Git instances battered in 0-day attacks 1 week ago:
Good note, and good callout, we should always call out these things.
But yes if you’re self hosting and you both have a public facing instance and allow open registration, you are a much much braver person than I.
- Comment on Not All Drilling in Texas Is About Oil | The state has become a hub of innovation for creating electricity using geothermal power. Just don’t call it renewable. 1 week ago:
Uh uh uh. Deep Heat. Uhhh Dinosaur latent anger. Uhhh steam… Something liberal tears to steam
- Comment on Microsoft unveils massive 2026 expansions for Age of Empires and Mythology series 1 week ago:
As long as it’s not cancelled. I’ve been wronged by Microsoft
marketinghype teams before. I’ll get hyped on release day. - Comment on My son asked to watch a Christmas movie today 2 weeks ago:
I put this on one yeah and the family was watching. My mother declared it was to scary and guilted everyone into turning it off and playing board games with her instead. So now we don’t get to watch it on Christmas. I was 32 when that happened.
- Comment on SteamOS tested on dedicated GPUs: No, it’s not always faster than Windows 2 weeks ago:
Anecdotally I’ve found it to be on par personally, granted haven’t played borderlands on it. Hopefully valve cues in in that specifically and finds out what they’re doing that slows it down.
Personally I’ve found it to be faster on Linux, but that’s anecdotal
- Comment on Why won’t Steam Machine support HDMI 2.1? Digging in on the display standard drama. 2 weeks ago:
I’m glad more people are hearing how it’s this group of standards assholes who are causing it.
- Comment on Selfhosted alternatives to Discord with screensharing? 2 weeks ago:
Okay that makes so much sense, because I knew I had calling before in Element but they wanted me to set up all this extra stuff. Is it still a thing to do the plugin?
- Comment on Selfhosted alternatives to Discord with screensharing? 2 weeks ago:
Wait there’s a jitsi plugin?
- Comment on Selfhosted alternatives to Discord with screensharing? 2 weeks ago:
Element on Matrix is the only one I’m aware of - but it’s not the easiest to set up. I would try creating an account on matrix.org’s server just temporarily to try it out and see if it fits what you’re looking for. I like the decentralized nature of it, but the support is very piecemeal, and onboarding people essentially needs a class.
- Comment on I watch the first Star Trek Discovery episode, I didn't like it. 2 weeks ago:
Idk if I’d say nosedived. It dipped for sure, but it hasn’t cratered. It’s not a GoT season 8, that was a nosedive
- Comment on Gatekeeper: The first open-source DDoS system. Has anyone tried mass hosting this as a group? 3 weeks ago:
Holy setup batman. Was thinking it was going to be another container I spin up, but it’s enabling kernel modules, needs IOMMU, needs a ton of setup and then it looks like you still have to compile it? For now at least that’s above my needs
- Comment on Creator of Original Thomas the Tank Engine Mod for Skyrim Puts Thomas in Morrowind in Defiance of 'Legal Threats' 3 weeks ago:
Lawyers and marketers who refuse to see nuance and view everything as a potential threat
- Comment on Epic CEO wants Valve and Steam to stop requiring devs to disclose generative AI usage 3 weeks ago:
Right? If he doesn’t like it he can just go make his own store with all the AI he wants…
- Comment on Have clankers visited my blog one hundred twenty-one sexagintillion eight hundred ten novemquinquagintillion times so far in November?? 3 weeks ago:
but the vast majority of crawlers don’t care to do that. That’s a very specific implementation for this one problem. I actually did work at a big scraping farm, and if they encounter something like this,they just give up. It’s not worth it to them. That’s where the “worthiness” check is, you didn’t bother to do anything to gain access.
- Comment on Have clankers visited my blog one hundred twenty-one sexagintillion eight hundred ten novemquinquagintillion times so far in November?? 3 weeks ago:
That’s counting on one machine using the same cookie session continuously, or they code up a way to share the tokens across machines. That’s now how the bot farms work
- Comment on Have clankers visited my blog one hundred twenty-one sexagintillion eight hundred ten novemquinquagintillion times so far in November?? 3 weeks ago:
I was a single server with only me and 2 others or so, and then saw that I had thousands of requests per minutes at times! Absolutely nuts! My cloud bill was way higher. Adding anubis and it dropped down to just our requests, and bills dropped too. Very very strong proponent now.
- Comment on Have clankers visited my blog one hundred twenty-one sexagintillion eight hundred ten novemquinquagintillion times so far in November?? 3 weeks ago:
This dance to get access is just a minor annoyance for me, but I question how it proves I’m not a bot. These steps can be trivially and cheaply automated.
I don’t think the author understands the point of Anubis. The point isn’t to block bots completely from your site, bots can still get in. The point is to put up a problem at the door to the site. This problem, as the author states, is relatively trivial for the average device to solve, it’s meant to be solved by a phone or any consumer device.
The actual protection mechanism is scale, the scale of this solving solution is costly. Bot farms aren’t one single host or machine, they’re thousands, tens of thousands of VMs running in clusters constantly trying to scrape sites. So to them, a calculating something that trivial is simple once, very very costly at scale. Say calculating the hash once takes about 5 seconds. Easy for a phone. Let’s say that’s 1000 scrapes of your site, that’s now 5000 seconds to scrape, roughly an hour and a half. Now we’re talking about real dollars and cents lost. Scraping does have a cost, and having worked at a company that does professionally scrape content they know this. Most companies will back off after trying to load a page that takes too long, or is too intensive - and that is why we see the dropoff in bot attacks. It’s that it’s not worth it for them to scrape the site anymore.
So for Anubis they’re “judging your value” by saying “Are you willing to put your money where your mouth is to access this site?” For consumer it’s a fraction of a fraction of a penny in electricity spent for that one page load, barely noticeable. For large bot farms it’s real dollars wasted on my little lemmy instance/blog, and thankfully they’ve stopped caring.
- Comment on Have clankers visited my blog one hundred twenty-one sexagintillion eight hundred ten novemquinquagintillion times so far in November?? 3 weeks ago:
Check out Anubis. If you have a reverse proxy it is very easy to add, and for the bots stopped spamming after I added it to mine
- Comment on The Steam Deck LCD is 20% off, and I'm still not buying one because it's crap for RTS 3 weeks ago:
Hey look! I found something that clearly it wasn’t designed for but I’m going to make a while rage bait article about it anyway!
- Comment on Looking for a good wiki based off of a git repo 3 weeks ago:
This looks great! Thank you for the recommendation!
- Comment on Looking for a good wiki based off of a git repo 3 weeks ago:
Interesting, had no idea!
- Submitted 3 weeks ago to selfhosted@lemmy.world | 11 comments
- Comment on !@$& Homelab Networking 3 weeks ago:
My mind went to this one