deleted by creator
Reddit refuge, escentric engineer and serial hobbyist.
deleted by creator
Been using it for over a year on two 8tb SSDs in strip and 14tb as mirror. This is on Debian and its flawless and wonderful. I run btrkbk hourly for snapshots, backups to remote locations and house keeping with 6 months of hourly snaps. Life is great.
I have the micro form factor I assume the same as you. Basically just a laptop in a small desktop case. I never installed tlp I’ll have to give that a shot but I’m pretty sure it’s optimized. I have two as servers and one as a router and I’d love to get it down to 12w total! I monitor the whole server rack with an iotawatt and all my servers and networking gear hovers around 75w idle.
I’d question that. I have three 3080 and they’re consistently about 8W each with one ssd and onboard graphics. I even went so far to splice three barrel jacks to a single 60w power supply that powers all three to avoid the losses of an additional 2 power supplies and this gets me the 8w idle power with Debian and throttling.
They exposed the intranet RMA portal used by MSI customer reps to review RMA claims, customer communications and all the personal info of the customers. The portal has a nifty button to dump the whole database to a CSV file going back to 2017.
In my case I’m a manager so I don’t do any real work. Linux is great for an Edge browser, ms365 paper pushing wana be engineer.
At the risk of sounding like an oaf I just use an excel document, and these days I just keep it in nextcloud and edit it via a browser while in the driveway. Each car gets a sheet. Keeping it simple.
That number was more like 30% with a windows laptop and all the security crap Microsoft convinced my company to install. It was so painfully slow and glitchy. So I went rogue and put Linux on my company laptop 8 months ago and I’m not looking back.
I didn’t down vote you. I’m not saying all Chinese engineers are bad, I’m just saying a lot are bad or don’t care enough about details just execution as fast and with as little effort as possible.
You haven’t worked with a lot of Chinese engineers, have you? https://www.chinaexpatsociety.com/culture/the-chabuduo-mindset
My whole kitchen is Samsung. Stove needed a new bimetal switch because the cooling fan for the top got stuck on. The dish washer garbage disposal knife blew apart into fragments twice and the gaskets rotted and fell apart. Microwave magneto diode blew. Its all literal garbage, I’m selling my house soon and leaving that trash behind and buying high end next time to save myself money in the long term.
Depends on your luck. I’ve had to repair my Samsung dishwasher 3 times in 5 years and yet my parents bought the cheapest possible model 15 years ago and it operates lawlessly and does a better job at cleaning.
Can you swap the hard drive between any generation and still have it boot and work 100%? To me that was the second biggest feature after all the gpio and i2c buses I used to hack all manner of stuff together. Heck I even have a cargo trailer powered by a pi!
This post scares the hell out of me. My daughter is 5 and sheltered but I know this is coming, I see it in other friends and families. Even the parents get sucked in and tell me about these addictive and fun empty headed music videos and it becomes a family event of consuming YouTube which makes me really question our Idiocracy future…
Its not just the EV, its every layer of the supply chain. From the lithium they mine, the batteries they make out of it, the circuits and metal fabricating. Their government subsidies the electricity, tools, facilities, labor, etc. I work in the engineering field and I see bits and pieces of this everyday and have seen it for decades because I’m forced to source parts from China.
I’m sorry but wireguard is not easy for beginners and the quick QR code generator in the command line was fantastic and light years ahead of fumbling around with getting config files securely to a mobile device.
Sorry, I forgot to post the scripts. I’m a meathead electrical engineer so I don’t use GIT or anything so here is the code dump. To summarize the setup’s software:
The backup script is fairly boring, just runs rsync and pushes the rsync log files back to the primary server. If it fails it sends me an email before turning the ethernet back off and going black.
#So here is my python code that runs the button press:
#!/usr/bin/env python
import RPi.GPIO as GPIO
import subprocess
import time
from multiprocessing import Process
#when this script first runs, at boot, disable ethernet
time.sleep(5) #wait 5 seconds for system to boot, then try and disable ethernet.
subprocess.call(['/home/pi/ethernet_updown.sh'], shell=False)
GPIO.setmode(GPIO.BCM)
GPIO.setup(3, GPIO.IN, pull_up_down=GPIO.PUD_UP)
GPIO.setup(22, GPIO.OUT) #controls TFT display backlight
GPIO.setup(23, GPIO.IN) #pull up or down is optional, the TFT display buttons have a hardware 10k pull up. Measure low tranisitions
GPIO.setup(24, GPIO.IN)
#watches the button mounted above the USB port, in the Pi's case.
def case_button_watch():
while True:
GPIO.wait_for_edge(3, GPIO.FALLING)
#wait 100ms then check if its still low, debounce timer
time.sleep(.100)
if GPIO.input(3) == GPIO.LOW:
#do something as it's a button press
print('Button is pressed!')
time.sleep(.900)
if GPIO.input(3) == GPIO.LOW:
#if the button is pressed for over 1 second its a long press. Run the backup script
print('Button long press (greater than 1 second), running an unscheduled backup')
subprocess.call(['/home/pi/backup.sh'], shell=False)
else:
#the press was greater than 100mS but less than 1000mS, just toggle the ethernet
print('Button short press (less than 1 second), toggling the ethernet')
subprocess.call(['/home/pi/ethernet_updown.sh'], shell=False)
else:
#do nothing as its interference
print('GPIO3 debounce failed, it was noise')
#watches the buttons in the TFT display
def TFT_display_button1():
while True:
GPIO.wait_for_edge(23, GPIO.FALLING)
#wait 100ms then check if its still low, debounce timer
time.sleep(.100)
if GPIO.input(23) == GPIO.LOW:
#do something as it's a button press
print('Button GPIO23 is pressed!')
GPIO.output(22, GPIO.HIGH) #turn the backlight ON
else:
#do nothing as its interference
print('GPIO23 debounce failed, it was noise')
#watches the buttons in the TFT display
def TFT_display_button2():
while True:
GPIO.wait_for_edge(24, GPIO.FALLING)
#wait 100ms then check if its still low, debounce timer
time.sleep(.100)
if GPIO.input(24) == GPIO.LOW:
#do something as it's a button press
print('Button GPIO24 is pressed!')
GPIO.output(22, GPIO.LOW) #turn the backlight OFF
else:
#do nothing as its interference
print('GPIO24 debounce failed, it was noise')
if __name__ == '__main__':
#run three parallel processes to watch all three buttons with software debounce
proc1 = Process(target=case_button_watch)
proc1.start()
proc2 = Process(target=TFT_display_button1)
proc2.start()
proc3 = Process(target=TFT_display_button2)
proc3.start()
#bash script that toggles the ethernet - if its on, it turns it off. if its off, it turns it on:
#!/bin/bash
if sudo ifconfig | grep 'eth0' | grep 'RUNNING' > /dev/null;
then
wall -n "$(date +"%Y%m%d_%H%M%S"):Ethernet going down"
sudo ifconfig eth0 down
else
wall -n "$(date +"%Y%m%d_%H%M%S"):Ethernet going up"
sudo ifconfig eth0 up
fi
I use the onboard CPU of my ryzen 5600g for my jellyfin and nextcloud (memories app) duties and it works flawless.