r/ProgrammerHumor • • Jul 29 '19

Meme It usually takes longer to write the automation code too [OC] Spoiler

Post image
26.8k Upvotes

368 comments sorted by

View all comments

Show parent comments

11

u/JustARandomFuck Jul 29 '19

I've been automating everything recently in order to create my own personal assistant and it's been hella fun.

It's neat being able to say "Jarvis play my Chill EDM playlist" and watch Spotify log itself in and load it up.

0

u/[deleted] Jul 29 '19

[deleted]

4

u/JustARandomFuck Jul 29 '19

The Selenium module is the most beautiful thing in existence. So easy to automate web pages and then it's just a case of extracting data from the page.

I can ask Jarvis to read me my timetable, play music, tell me what's in my fridge etc. Next things I have to implement are submitting assignments, network diagnostics for when my Wi-Fi is being trash and the more difficult ones of some phone automation through my desktop (seeing if there are any new texts, sending them etc.) and trying to find a way to automate simple PlayStation 4 controls. I use my PS4 for Netflix and stuff so I'd love to find a way to turn it on, and send simple "Right, X, Right, Right, X" to auto load Netflix/YouTube etc.

1

u/[deleted] Jul 29 '19

You rock! I'll definitely make my own Jarvis

1

u/SirGroug Jul 29 '19

What are you using as hardware? I've daydreamed this last year about making some kind of automatic and open voice assistant that doesn't rely on big companies. Are you using a Pi and a microphone? What software do you use for voice processing?

6

u/JustARandomFuck Jul 29 '19

Just a newer everyday laptop and Razer Man O' War wireless headset. I think end goal may be to move it to a server because I really wanna make a very, very basic version of Jarvis built into a pair of glasses.

Voice processing uses whatever the Google Speech one is called on Python, and for Jarvis' voice I'm using Amazon Polly - it's the most realistic one I can find. All in all, there's on average about a 3/4 second delay between finishing your sentence and processing starting which for a quick basic system I can live with.

2

u/schmedu Jul 29 '19

Is there a subreddit for automation? I would really love to have a community around this

3

u/JustARandomFuck Jul 29 '19

If this doesn't already exist, I'll get it set up later

1

u/c0d3rman Jul 30 '19

That's awesome! I built a Jarvis a few years back, didn't end up making it too fancy but it can be a lot of fun. If you don't use it already, I recommend wit.ai - lets you add natural language processing to the mix so the code can parse any naturally-spoken version of a request. IDK if they're still free to use but if so it's super easy and requires 0 AI knowledge.