Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "smart mirror"
-
My Sunday Morning until afternoon. FML. So I was experiencing nightly reboots of my home server for three days now. Always at 3:12am strange thing. Sunday morning (10am ca) I thought I'd investigate because the reboots affected my backups as well. All the logs and the security mails said was that some processes received signal 11. Strange. Checked the periodics tasks and executed every task manually. Nothing special. Strange. Checked smart status for all disks. Two disks where having CRC errors. Not many but a couple. Oh well. Changing sata cables again 🙄. But those CRC errors cannot be the reason for the reboots at precisely the same time each night. I noticed that all my zpools got scrubbed except my root-pool which hasn't been scrubbed since the error first occured. Well, let's do it by hand: zpool scrub zroot....Freeze. dafuq. Walked over to the server and resetted. Waited 10 minutes. System not up yet. Fuuu...that was when I first guessed that Sunday won't be that sunny after all. Connected monitor. Reset. Black screen?!?! Disconnected all disks aso. Reset. Black screen. Oh c'moooon! CMOS reset. Black screen. Sigh. CMOS reset with a 5 minute battery removal. And new sata cable just in cable. Yes, boots again. Mood lightened... Now the system segfaults when importing zroot. Good damnit. Pulled out the FreeBSD bootstick. zpool import -R /tmp zroot...segfault. reboot. Read-only zroot import. Manually triggering checksum test with the zdb command. "Invalid blckptr type". Deep breath now. Destroyed pool, recreated it. Zfs send/recv from backup. Some more config. Reboot. Boots yeah ... Doesn't find files??? Reboot. Other error? Undefined symbols???? Now I need another coffee. Maybe I did something wrong during recovery? Not very likely but let's do it again...recover-recover. different but same horrible errors. What in the name...? Pulled out a really old disk. Put it in, boots fine. So it must be the disks. Walked around the house and searched for some new disks for a new 2 disk zfs root mirror to replace the obviously broken disks. Found some new ones even. Recovery boot, minimal FreeBSD Install for bootloader aso. Deleted and recreated zroot, zfs send/recv from backup. Set bootfs attribute, reboot........
It works again. Fuckit, now it is 6pm, I still haven't showered. Put both disks through extensive tests and checked every single block. These disks aren't faulty. But for some reason they froze my system in a way so that I had to reset my BIOS and they had really low level data errors....? I Wonder if those disks have a firmware problem? So that was most of my Sunday. Nice, isn't it? But hey: calm sea won't make a good sailor, right?3 -
I'll admit - I come from a WordPress background of almost 9 years in the making. I guess I can justify it because of all of the sites I created using it, it was the best that it could be on WP. Fast, efficient, custom - none of that off-the-shelf themeforest crap. I created everything custom. I actually knew what was going on behind the scenes of WP.
And then a buddy of mine and I had an idea for a new company/software project. I was smart enough to know that WP was not the foundation for this, so I did some NodeJS/Express tutorials. Started learning React, and really getting into the Javascript world.
And now I'm wondering WHY IN THE ABSOLUTE FUCK I ever bothered trying to become an expert in WP. It's the largest use of PHP in the fucking world and it doesn't even have native composer support. And by the time you actually get your project set up using composer you have to add a fucking mirror of the wordpress.org plugin repo to get anything to work. It's 2018 and you'd think that WP and composer would have all of this shit figured out by now.
And don't get me started on git - as soon as you have more than 1 person working on a WP site, I hope you have hourly backups of your DB because someones work will get overwritten. So you all either need to work on the same staging area of work around each other by pushing/pulling the DB and schedule your workflows.
I guess WP CLI and the REST API are a step in the right direction, but the foundation of everything is just so fucked up.
I don't feel like I've wasted my web dev career, but I definitely wish I had started down this path a lot earlier. I guess you don't know what you don't know. Thanks for reading!2 -
Me and my project partner were explaining a idea for a smart mirror in front of two of our teachers (female) for our major project of final year.
After telling all the features and things it will do for 15 minutes, one of them very seriously said that,
"so basically you are making a smart mobile app".
We both died a little inside that day... 💀 -
*sighs* for the past 3 hours I feel like I've been talking to a 2 year old. I have made a smart mirror and I have made a machine learning assistant to go with it. Only one problem. Someone needs to talk to it to train it. Looks like that's my job. Here is one of the parts of our conversation. ("But" is not and "H" is human)
4 -
For some reason github is returning 503 on our build servers randomly. And I need to checkout several repositories to build everything successfully. Builds are automatic and I don't want to maintain local mirror. And we wanted to release tomorrow (but were smart enough to promise this week). And on top of everything build takes six hours and sometime fails randomly even without github. But I'm still optimistic - it's Monday after all. We still have enough time to make it in time for Friday release :-)5
-
So I bought 2 dvd packed with old rpg games.
I didn’t know my first quest will be to get those games working.
To make my life more miserable I decided to convert those dvd to iso.
First I needed to find computer with dvd because those I use apparently don’t have dvd anymore.
Found one with windows 7 inside.
Yeah first mission complete.
Now just find dvd to iso software and burn those bastards.
I need to update date / time to be able to use internet over https.
Checked.
Started looking for the dvd to iso software. Microsoft answers giving links to bloatware with detailed instructions how to install desired things without crap. The link to download doesn’t work but at least I have the name ImgBurn.
They have website so I click on first mirror and run setup.
First fail they’re linking to bloatware that downloads another bloatware that installs some search plugin for firefox.
Uninstalling search plugin.
1 hour passed by.
Clicking last link. Success.
Now time to click it smart to omit any unwanted software and get only what I want. Reading trough install instructions and checking out not wanted checkboxes is like great quest.
Finally I have what I want and I can backup my dvd.
What a great evening.5 -
I'm planning on building a smart mirror. Anyone has any experience with mirror film? If I've got it all correct, it looks more grainy than a regular mirror. Pictures perhaps? :)
-
!rant
Discontinuing my raspberry pi as a gitlab server (I have sorted a new one for myself) and I'm trying to figure out what to do next with it.
I've been toying with the idea of making a smart mirror since my room doesn't have a mirror anyway, does anyone have any other ideas? :)3 -
going to redecorate my room with a plasma/glowing/physics theme to the best i can afford. i've a lubbeen plasma ball, some lasers, a smart mirror. gonna try to get (or make) tesla coils. gonna glue my rpi to the wall and put the wires alongside it. what else would you guys add?
i want to add a projector maybe. is there anything else you guys would add? maybe a cool lamp? also, any ways to add in another rpi/arduino other than the smart mirror that you guys can think of?1 -
Prisma Lighting: Your Top Choice for Home Lighting Near Me in Stockport
If you're looking for home lighting near me in Stockport, look no further than Prisma Lighting. Conveniently located at Unit 10, Gregory Way, Stockport SK5 7ST, we are your trusted local lighting supplier, offering a wide selection of lighting solutions for every room in your home. Whether you are renovating, updating, or simply adding a touch of elegance to your living space, we have the perfect lighting options to suit your needs.
Why Choose Prisma Lighting for Home Lighting Near Me?
When you need home lighting near me, Prisma Lighting is the perfect place to find all the lighting fixtures, bulbs, and accessories you need to brighten up your space. Here’s why we’re the preferred choice for homeowners in Stockport and the surrounding areas:
A Wide Range of Home Lighting Products: At Prisma Lighting, we carry a vast selection of lighting products to meet the unique needs of your home. From pendant lights and chandeliers to wall sconces, floor lamps, and table lamps, we have something to complement every room’s aesthetic. Additionally, our collection includes energy-efficient LED lighting, smart lighting solutions, and outdoor lighting options, allowing you to create the perfect ambiance throughout your home.
Expert Guidance and Personalized Service: Choosing the right lighting can be tricky, but our team of experts at Prisma Lighting is here to help! Whether you’re looking for task lighting for the kitchen or mood lighting for your living room, our friendly and knowledgeable staff will offer personalized advice tailored to your home’s style, size, and layout. We take the time to understand your needs and ensure you select the perfect lighting solutions.
Quality and Durability You Can Rely On: We understand that lighting is an investment in your home. That's why we only offer high-quality products from reputable brands. All of our lighting fixtures are built to last, ensuring that you get reliable, long-lasting performance. From LED bulbs to luxury chandeliers, our selection is designed to enhance the beauty of your home for years to come.
Energy-Efficient Solutions: At Prisma Lighting, we believe in providing energy-efficient lighting options that not only brighten your home but also help reduce your energy consumption. Our collection includes the latest LED lighting technology, which uses less energy and lasts much longer than traditional bulbs, saving you money on your electricity bills.
Affordable Pricing and Value: We offer competitive pricing on all of our lighting products, making it easier for you to transform your home without breaking the bank. Whether you're looking for a stylish statement piece or a functional light fixture, we have affordable options that suit every budget. With Prisma Lighting, you get great value without compromising on quality.
Lighting Solutions for Every Room in Your Home
At Prisma Lighting, we offer a wide range of lighting solutions for every area of your home:
Living Room Lighting: The living room is the heart of your home, and we have the perfect lighting solutions to create a welcoming and comfortable space. Choose from ceiling lights, pendant lights, wall sconces, and floor lamps that provide both style and functionality. Whether you prefer warm, ambient lighting or bright, focused lighting for reading and entertaining, we’ve got you covered.
Kitchen Lighting: The kitchen is one of the busiest rooms in the house, requiring a combination of task and ambient lighting. At Prisma Lighting, we offer a variety of under-cabinet lights, pendant lights, and recessed lighting to illuminate your countertops, cooking areas, and dining space.
Bedroom Lighting: Create a relaxing, tranquil environment in your bedroom with bedside lamps, dimmable lighting, and ceiling fixtures that provide just the right amount of light for your space. Whether you’re winding down for the evening or reading a book, our bedroom lighting options will enhance your comfort.
Bathroom Lighting: Illuminate your bathroom with our stylish and practical lighting options, including vanity lights, mirror lights, and shower lighting. Designed for durability and moisture resistance, our bathroom lighting will keep your space bright and functional.
Outdoor Lighting: Don’t forget your outdoor spaces! Prisma Lighting offers a variety of garden lights, security lights, and motion sensor lights that add beauty and functionality to your yard, patio, or driveway. Our outdoor lighting solutions are weather-resistant and provide reliable performance, day or night.
Why Buy Home Lighting Near Me from Prisma Lighting?
1
