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 - "echo dot"
-
Built my own Amazon Echo with a raspberry pi because they aren't available in my country. Decided to pick up an official Echo Dot while in America but I'm too proud of my little project to tear it down and use the official thing haha9
-
Finally, it's working..
A new device added to my Collection.
Welcome Echo Dot !!!!!
Long list of skills planning to implement..6 -
Just got a new Alexa Echo Dot. With such love I said "Alexa, welcome to the family"
Alexa: "should I play the song 'welcome to the family' " 😅🙄🙄🙄
Me: meh !!6 -
This is a story of how I did a hard thing in bash:
I need to extract all files with extension .nco from a disk. I don't want to use the GUI (which only works on windows). And I don't want to install any new programs. NCO files are basically like zip files.
Problem 1: The file headers (or something) is broken and 7zip (7z) can only extract it if has .zip extension
Problem 2: find command gives me relative to the disk path and starts with . (a dot)
Solution: Use sed to delete dot. Use sed to convert to full path. Save to file. Load lines from file and for each one, cp to ~/Desktop/file.zip then && 7z e ~/Desktop/file.zip -oOutputDir (Extract file to OutputDir).
Problem 3: Most filenames contain a whitespace. cp doesn't work when given the path wrapped in quotes.
Patch: Use bash parameter substitution to change whitespace to \whitespace.
(Note: I found it easier to apply sed one after another than to put it all in one command)
Why the fuck would anyone compress 345 images into their own archive used by an uncommon windows-only paid back-up tool?
Little me (12 years old) knowing nothing about compression or backup or common software decided to use the already installed shitty program.
This is a big deal for me because it's really the first time I string so many cool commands to achieve desired results in bash (been using Ubuntu for half a year now). Funny thing is the images uncompressed are 4.7GB and the raw files are about 1.4GB so I would have been better off not doing anything at all.
Full command:
find -type f -name "*.nco" |
sed 's/\(^./\)/\1/' |
sed 's/.*/\/media\/mitiko\/2011-2014_1&/' > unescaped-paths.txt
cat unescaped-paths.txt | while read line; do echo "${line// /\\ }" >> escaped-paths.txt; done
rm unescaped-paths.txt
cat escaped-paths.txt | while read line; do (echo "$line" | grep -Eq .*[^db].nco) && echo "$line" >> paths.txt; done
rm escaped-paths.txt
cat paths.txt | while read line; do cp $line ~/Desktop/file.zip && 7z e ~/Desktop/file.zip -oImages >/dev/null; done3 -
My boss wants to put an Amazon Echo Dot in the conference room. So I suggested covering it with a cheese cover (those glassy dome thingies). He thought it would be an artsy statement, but I was actually worried about privacy.
Anyone have any experience with listening devices in the workplace?3 -
Does anyone uses an Echo Dot for any usefull task? I currently use it only for Phillips HUE because I can't think of any other usecase 🤔1
-
Went to bed at 23:40, slept at ~23:50 - goal accomplished
Woke up, asked that little spying bastard besides me (echo dot) about the time. Understood sth. in the neighbourhood of 0:30.
Booted the phone, realized I've slept a bit more.. It's 2:30.
By now it's 6:32 (CET) I havn't done anything productive but to get out of bed and get some food.
Let's see if my head will produce some working code.2 -
!rant
My dad wants to add security cameras in our home. I kind of want to go ahead and add cool stuff(like automation or something) to our house using this opportunity.
What I am thinking of right now is salvaging an old desktop with an Nvidia GPU to add face recognition and motion detection to the mix. I am also thinking I could get an Alexa echo dot or something similar and hook everything up. Another idea is using owncloud to create my own cloud.
What do you guys think? Any ideas or suggestions? Maybe a cheaper way to do stuff?7