[-] czardestructo@lemmy.world 42 points 2 months ago

Lockheed Martin pulled this shit on me 20 years ago. Applied for a job, did a quick phone screen and they invited me to their campus 5 hours away for an in person interview. When I got there they had a whole gymnasium setup with booths and about 50 people doing interviews and 200 bewildered engineers showing up hoping for a job. They never once mentioned it was going to be factory interviews. Fuck that and similar companies.

141
submitted 3 months ago* (last edited 3 months ago) by czardestructo@lemmy.world to c/retrocomputing@lemmy.sdf.org

So I'm cleaning out a house and found a brand new Gateway2k Pentium 4 computer. Someone opened the boxes but never took the computer out, its all still in the plastic and I don't want to ruin the unboxing for someone that is into this. The computer is free to a good home in the Boston metro area to make your retro gaming dreams come true! Shoot me a message, first come, first served.

P4 Computer - Gateway 2000 model 510 - part number 2800434

17" TFT Monitor - Gateway FPD1730

Speakers - Boston Acoustics BA745

Edit: Found a taker, hopefully it goes to it's forever home on Saturday!

Edit edit: its gone!

[-] czardestructo@lemmy.world 32 points 3 months ago

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.

51

Started the peppers in March and tomatoes in April. They were getting too big for my grow light so I evicted them outside. Plenty warm in the cold frame in Massachusetts.

[-] czardestructo@lemmy.world 41 points 6 months ago

The morse code of our age.

78
submitted 7 months ago by czardestructo@lemmy.world to c/privacy@lemmy.ml

So I had a verbal conversation with a coworker yesterday and now I'm getting fed very specific ads. No possible way it's accidental. I have most of the microphone access to apps limited, I have Google assistant turned off and no VPA setup in my home. I use a Oneplus 9 pro, does anyone have recommendations on how to further root cause this or just par for the course for using any standard android OS? Have other folks had similar experience after locking down their stock phones?

[-] czardestructo@lemmy.world 43 points 8 months ago

If you can solder and heat shrink then search for "usb c trigger board" on ebay and get some for like $5. They will request either 5v, 9v, 12v, 15v or 20v. I've found for most older battery powered barrel jack devices a voltage that is an little under spec works just fine. Ive convertered everything in my house and now own a nice USB PD battery bank, life is good.

[-] czardestructo@lemmy.world 37 points 8 months ago

I have an LG washer and dryer on my IoT VLAN and funneled through a pi hole. I've been pleasantly surprised at how quiet and well behaved they are on my network. Hardly ever phone home and only connect to one or two domains. Something is seriously wrong with his dudes washer.

45

Action Video

For her birthday my daughter received a cuckoo clock. It had very limited programming for 'quiet hours' so I fiddled with it and ended up breaking it. I didn't want to disappoint her so I gutted it and proceeded to install a Pi Zero W and a headphone amplifier I had built. She now has a fully programmable, USB powered, linux based cuckoo clock where I can program it to whatever suites our needs and it syncs it's time with NTP severs. I even connected her night light to it which turns on at night and off to let her know when its time to get out of bed. This combination also allows us to have dance parties with flashing lights, a dancing bird and fun songs coming out of her cuckoo clock. It's ridiculous and eccentric but it makes us happy!

Build

  • The Pi Zero's dont come with a sound output so I built an audio output filter to convert the PWM output to an analog audio output
  • Connected the analog out to a OPA1642 based headphone amplifier I designed and built
  • Wired up the cuckoo bird's coil actuator to a simple MOSFET drive circuit to control it from the Pi's weak GPIO output
  • Wired up some 5V string lights (used to be battery powered) to a simple MOSFET driver circuit to control it from the Pi's 3.3V GPIO output
  • Wrote some bash code to make the bird dance, the light flash and the cuckoo bird sounds play
  • All the scheduling and execution of the code is done clean and simple in crontab
  • I also have a text to speech engine verbally state the hour after the cuckoo action so my daughter can better learn to tell time by herself

To re-map the audio to the PWM0 output of the Pi

add to /boot/config.txt to remap the audio to the PWM0 and PWM1 pins of the pi.

# Enable audio (loads snd_bcm2835)
dtparam=audio=on
#remaps the audio to the PWM0 and PWM1 pins (pins 18 and 13)
dtoverlay=audremap,pins_18_19

Code

Cron Scheduling

@reboot /home/pi/startup.sh

#cuckoo between 8am and 6pm, inclusive
0 8-18 * * * /home/pi/cuckoo.sh

#turn on the night light at 6:15 pm
15 18 * * * echo "1" > /sys/class/gpio/gpio26/value
#turn off the night light at 6:15 am
15 6 * * * echo "0" > /sys/class/gpio/gpio26/value

Startup Configuration for GPIO

#!/bin/bash

#setup the GPIO
#"In order to use a GPIO pin through sysfs, we first have to “export” each one to make the appropriate paths available."
echo "17" > /sys/class/gpio/export
echo "26" > /sys/class/gpio/export
#set direction
echo "out" > /sys/class/gpio/gpio17/direction #cuckoo movement
echo "out" > /sys/class/gpio/gpio26/direction #nightlight

Flashing Light Code

#!/bin/bash

i=1

while [ "$i" -le 3 ]; do
        #turning the GPIO on
        echo "1" > /sys/class/gpio/gpio26/value
        sleep 0.050
        echo "0" > /sys/class/gpio/gpio26/value
        sleep 0.050
        i=$((i + 1))
done

Cuckoo Code

#!/bin/bash
i=1
echo "Looping "$(date +%I)" times"

while [ "$i" -le "$(date +%I)" ]; do
        aplay /home/pi/cuckoo.wav &
        #flash the lights three times quickly
        /home/pi/flash.sh &
        #turn on the cuckoo bird coil to make it bob down and flaps its wings
        echo "1" > /sys/class/gpio/gpio17/value
        sleep 0.300
        #turn off the cuckoo bird coil so it sits back down
        echo "0" > /sys/class/gpio/gpio17/value
        sleep 0.700
        i=$((i + 1))
done
#Text to speech engine, speaks the current hour through the speaker
#date + sed command below returns the hour, in 12 format, and the sed command removes the leading zeros
espeak -v mb-en1 -s 120 "it is $(date +%I | sed 's/^0*//') oh clock"
[-] czardestructo@lemmy.world 29 points 9 months ago

I work on consumer electronic ear buds. Frigging ear buds, and we support this...

84
[-] czardestructo@lemmy.world 33 points 10 months ago

Enocean has been making battery free wireless light switches for almost 15 years. I've personally used them for about 8 years and love them. They're a lot more expensive then the $1 quote in the article but still cheaper than an electrician. They work with a strike to a piezoelectric element to make energy and transmit the signal.

[-] czardestructo@lemmy.world 31 points 10 months ago

It's the same in the US. They offer you a total deal expecting to make money on selling the loan. If you pay cash they charge you more for the same deal so they make their money. Car dealerships in general offer no real value and just make things cost more.

[-] czardestructo@lemmy.world 127 points 1 year ago

Exactly by design. It's a lot cheaper to make people quit than to lay them off and pay a severance package.

467

Title says most of it. Spin electric scooters exited the Seattle market and abandoned their scooters all over the city and apparently they have a pi 4 in them!

[-] czardestructo@lemmy.world 130 points 1 year ago

There is nothing wrong with LED lights. There is just a big problem with cheap, poorly designed LEDs. You can use proper optics and control the light exceptionally well and put it exactly where its needed with very little spill over or reflections up. You can also chose whatever color and color rendering index (CRI) you like but all of this costs more money and municipal bean counters are drunk on the lowest bidder. So we get glare bomb blue light shows. I used to design this stuff so feel free to ask questions.

2
Activate Turbo Mode (lemmy.world)

Does anyone else have a Turbo Button™ on their router? My wifi router is in essentially attic space with no AC so it gets hot and acts up with connectivity issues. My turbo mode solves the problem.

[-] czardestructo@lemmy.world 38 points 1 year ago

I have a folder that all my docker services are in. Inside the folder is a folder for each discrete service and within that folder is a unique compose file necessary to run the service. Also in the folder is all the storage folders for that service so it's completely portable, move the folder to any server and run it and you're golden. I shut down all the services with a script then I can just tar the whole docker folder and every service and its data is backed up and portable.

109

Found some tiny coffee plants while in Hawaii and thought they looked amusingly fake so I grabbed a picture.

[-] czardestructo@lemmy.world 27 points 1 year ago

Everyone is very focused on recent history. What about the huge amounts of aging immigrants in the USA that migrated here for a better life in the 50s-70s from poor countries and no education? They just worked their ass off and reading wasn't a priority. My father was a poor shepard, no education and illiterate but he hustled and retired early and put me through college to be an engineer. It seems improbable but it is possible for someone to be illiterate and wildly successful and contribute a lot to society and culture.

39

I call this nonsense host ‘Ghost’, for me it’s similar to a tape backup solution. Fairly simple concept, it’s an old Pi1 + external mechanical drive that sits dormant with its ethernet off. Once a month, at a random time and random date it enables the ethernet, spins up the drive and pulls data from the main server to update its drive then goes black until next month. The only way to check or maintain the pi is a push button that toggles the ethernet interface. I slapped it together with some scrap wood, spare hardware and screwed it to a 2x4 in a dark corner of my basement. It’s my 5th string backup, the ultimate insurance policy because I’m mental.

view more: next ›

czardestructo

joined 1 year ago