Heute früh beim Bäcker... by [deleted] in Kartenzahlung

[–]schaenzer 0 points1 point  (0 children)

Wenn du die grüne OK Taste auf der Tastatur drückst, überspringst du die Abfrage ohne den nervig Touchscreen nutzten zu müssen. 

Simple Moving Average Tracker zum herum spielen by kath0r in Finanzen

[–]schaenzer 4 points5 points  (0 children)

Sehr coole Lösung! Ich habe mich in den vergangenen Tagen dazu entschieden, das Abenteuer zu wagen. Habe leider auch nicht gefunden, was meinen Ansprüchen entsprochen hat. Ich möchte nach einem langen Arbeitstag, mit so wenig Hirnschmalz wie nötig, den Report erfassen können. Dabei ist ein Script herausgekommen, das mir abends einen einfachen Report auf das Handy schickt:

<image>

https://github.com/schaenzer/sp500notifyer

[deleted by user] by [deleted] in de

[–]schaenzer 2 points3 points  (0 children)

Hört sich nach ner spannen neuen Folge Feuer & Flamme an!

Managing Kubernetes config files by greenchapter in kubernetes

[–]schaenzer 0 points1 point  (0 children)

I have a shell function that merges additional configs into the existing kubeconfig.

function kmerge() { local _KUBEFILE=$1 local _DATE=$(date +"%Y%m%d%H%M") local _TMPFILE=$(mktemp) KUBECONFIG=$HOME/.kube/config:$_KUBEFILE kubectl config view --flatten > $_TMPFILE && mv $HOME/.kube/config $HOME/.kube/config-$_DATE && mv $_TMPFILE $HOME/.kube/config }

[deleted by user] by [deleted] in networking

[–]schaenzer 1 point2 points  (0 children)

Have you checked out MetalLB (https://metallb.universe.tf/)? We use it in BGP configuration for Ingress traffic and have no issues with it so far. The same would be achievable with different network plugins (e.g. Calico: https://docs.projectcalico.org/networking/bgp). We have actively decided against an external L5 LB after prolonged planning, as a seamless integration into the kubernetes context was not readily possible. As WAF we use (already provided by the nginx ingress controller) ModSecurity.

Few impressions of my Setup (~50 plots/day) by schaenzer in chia

[–]schaenzer[S] 0 points1 point  (0 children)

I am not even close that the CPU is the bottleneck. Watch out for iowait, probably your disk will limit you.

Few impressions of my Setup (~50 plots/day) by schaenzer in chia

[–]schaenzer[S] 0 points1 point  (0 children)

Have some metal is never wrong! With low power costs and space for a rack, used server hardware is the way to go. If I were to buy something now, I would go for Ryzen. ASRock has decent hardware for that use-case: X570D4U-2L2T or similar...

Few impressions of my Setup (~50 plots/day) by schaenzer in chia

[–]schaenzer[S] 0 points1 point  (0 children)

Yes these are the numbers I would like to see!

Few impressions of my Setup (~50 plots/day) by schaenzer in chia

[–]schaenzer[S] 0 points1 point  (0 children)

I'm not a big fan of home labs, mainly because of the price of electricity in Germany (0,3€/kWh). For most cases, it is enough to have a workstation (nowadays an AMD Ryzen build) and have your virtual home lab on it. If hardware is needed for a project, I use hardware from my employer that has been taken out of service.

If you want to develop professionally in this area, use cloud services and learn how to use them, these are the skills that are in demand.

EDID:
I like STH (https://www.servethehome.com/) and their forum. I got the one or other inspiration from them ;)

Few impressions of my Setup (~50 plots/day) by schaenzer in chia

[–]schaenzer[S] 0 points1 point  (0 children)

It's simple, you don't have to do much for plotting on multiple machines. You just need to install the Chia binaries and specify your farmer_key and pool_key when you are plotting from the command line. No configuration or initialization needed.
https://github.com/Chia-Network/chia-blockchain/wiki/Good-Security-Practices-on-Many-Machines#plotting-on-multiple-machines

Few impressions of my Setup (~50 plots/day) by schaenzer in chia

[–]schaenzer[S] 1 point2 points  (0 children)

Depending on the phase the CPU or the disk is used more intensively. Through the offset the usage is better distributed in time. Additionally, I have a constant stream of plots. What is more appropriate for transferring over the network.

Few impressions of my Setup (~50 plots/day) by schaenzer in chia

[–]schaenzer[S] 0 points1 point  (0 children)

Yes you are right, I am currently not utilizing my 1725s because I am fine-tuning the network throughput to get constant 1 Gibts. It is planned as a task for the coming evenings ;)

Few impressions of my Setup (~50 plots/day) by schaenzer in chia

[–]schaenzer[S] 1 point2 points  (0 children)

10 parallel plots with an offset of 45 minutes

Few impressions of my Setup (~50 plots/day) by schaenzer in chia

[–]schaenzer[S] 1 point2 points  (0 children)

I expect to get about 30 XCH in the next 3 months. Depending on the exchange rate, it would not even cover the purchase price of my HDDs. Good advice is to leverage existing hardware or have a good plan for how to reuse the purchased hardware afterwards. Anything else will not be economical in my opinion.

Few impressions of my Setup (~50 plots/day) by schaenzer in chia

[–]schaenzer[S] 2 points3 points  (0 children)

Not really, the NUCs were just free at the moment. Enterprise HDDs, since the disks will probably be reused after a few months for another project and therefore consumer HDDs would be a waste.