Hacker News new | past | comments | ask | show | jobs | submit login
Ask HN: What are the things that you have automated in your personal life?
897 points by spacesarebetter on June 24, 2018 | hide | past | favorite | 731 comments



I have semi-automated cooking for the week ahead.

We recently started cooking meals for the week ahead on Sundays and then freezing them. The aim was to give us more time with the kids and to cut down on housework.

To save time on the Sunday cooking session I have cobbled together a very clunky, and I mean VERY clunky semi-automated cooking system. It comprises a Raspberry PI which controls a couple of WiFi mains switches attached to the induction hob and the slow cooker. A wooden spoon attached to a 360 degree servo motor hangs above the pot on the hob and can be activated by the Pi for stirring. Initially I tried to use one of those cheap three-legged novelty vibrating pot stirrers, but that didn't work out. Thermocouples feed back to the Pi to help control cooking.

The whole thing is controlled by a messy Python script and 'recipes' are JSON based text files. They just define how long each device should stay on, a max temp to turn them off and how often they should be stirred. I get an email when cooking is done.

I plan to add some functionality over the summer to tip in ingredients as needed. The biggest issue is that it doesn't handle chunky food, it works for soups, chili sauce, pasta sauce etc. I'd love to figure out a way to fry and separate mince as you would with a spatula..


A friend is getting such a system to production for Indian recipes with Mechnical Chef [1] The demo looks incredibly cool [2]

[1] http://www.mechanicalchef.com/

[2] https://www.youtube.com/watch?v=lBB0ZaN1paE


That's impressive, really impressive.

My system looks like it was put together by a drunk person. That is somewhat true.


> My system looks like it was put together by a drunk person. That is somewhat true.

This made want to see it even more.


That's how you know its built with quabity!


A bit off-topic: Not only is this incredibly impressive, it's a great white noise video, IMHO. Can listen to the robot cook do it's thing for a loong time. The Capsicum Sabzi video has a good amount of unintended ASMR, too:

https://www.youtube.com/watch?v=Z0kf17jxeSY


Your friend is a genius! Any idea, how much is it going to cost? And will they plan to sell it in India?


It costs around 25k INR which would be around 370 dollars. Here is the source - https://www.thebetterindia.com/147371/bengaluru-mechanical-c....


Whilst an impressively ambitious amateur electronics project, this is clearly not productisable and won't work for a whole ton of reasons. A reduced scope project or device however might be.


Building a clunky device that imitates human actions is hardly 'genius'. Resourceful maybe. An electrical coffee grinder isn't a normal coffee grinder with some rotating lever attached to it. An electrical coffee grinder has small motors attached to the grinder mechanism in order to make it move. This contraption is fun to build I am sure, but not 'genius'.

Much closer to genius is the thermomix: https://thermomix.com/


Here in Australia, Thermomix was recently ordered to pay $4.6 million in penalties for knowingly keeping safety issues relating to one of their appliances secret.

A malfunctioning lid caused hot liquid to escape from the bowl, giving several consumers severe burns. The Court found that Thermomix knew of this risk but still continued to promote and supply the faulty product.

Beware of genius inventions, you may get burned.



I've been served Thermomix food and it was extremely unimpressive. I don't know how easy it was to make though, since I didn't participate in the cooking. I can just say that if it's any harder than microwaving it's probably not worth it.


Our Thermomix is in use everyday, and we love it, but it's not a device for the clueless or careless. Thermomix food is like any other food, the quality is entirely down to the recipe and person cooking it.


I'm not able to seek on the video he has embedded (using Chrome on Android here). I'd probably have looked for more than 10 s if I could have.



Thank you.


I have a lot of questions about how it might work, but above all else I'm absolutely in awe of what MechanicalChef can already do! Truly amazing automation, and I can see how this could directly benefit…nearly everyone. I wish your friend success with this (and many delicious meals too)


That sounds amazingly complex and cool at the same time. Have you looked into sous vide machines or pressure cookers? Those two are the items I use the most to get precisely cooked meals done in batches.

I've found that a lot of meals done via the slow cooker tend to taste the same because of the consistently and the type of ingredients typically involved in them.


The problem with slow cookers is that the chop a bunch of stuff up, toss them in the slow cooker, and turn it on approach doesn't work all that well. You generally want to brown things etc.--and then you're not gaining that much. But, then, I'm mostly not a huge fan of stews in general.


I think there are three problems with most slow cooker recipes.

1.) My hi/low setting probably doesn't match your hi/low setting. From the get go, we're cooking the same meal at two different temperatures.

2.) A lot of recipes seem to call for low setting for 8 hours. This works well for a lot of people with a standard American work day, since a stew/soup will stay above safe warming temperature in a nearly sealed pot. However, the cook times are too long. Thawed chicken for 8 hours on low almost never turns out with the right texture. In this case, it's convenience > taste.

3.) The flavor is cooked out of the ingredients, and/or there isn't enough seasoning or too many ingredients. When you get the seasoning right, too long of a cook time can dull the flavor. When there isn't enough seasoning, then your meal is bland from the start. When there are too many herbs and spices, you get a mish-mash of flavors that are all competing for attention. There was an article on here a long while ago that categorized foods into low and high amplitude flavors. Something sharply distinctive was high amplitude (think nacho cheese Doritos), while a low amplitude food had weak, hard to discern flavors (plain grits). Too many different ingredients can lead to low amplitude foods, and when I see an ingredient list with 15 different herbs and spices, I almost always steer clear.


Rozanne Gold made something of a career out of cookbooks using short, simple ingredient lists and mostly easy prep. I don't care as much any longer as I mostly work from home, but my work night preference--as opposed to slow cookers--has always tended toward the fast, easy saute. Especially with so many pre-prepped vegetables etc. in the grocery store these days, it seems like the best option for my tastes.


I'm a huge fan of simple meals that don't involve a crock pot. There are so many variations on stir fry, that you can eat a distinctly different tasting meal every day of the week. You can even combine the two to help with meal prepping.

Brown a flank steak in a pan. We're not sealing in juices - we're making a crust. Throw it in the slow cooker for a few hours. Check to make sure it's tender. Prep some veggies by cutting and portioning them in containers. Find a stew sauce that's simple. When you're ready to eat, saute your veggies in a little oil, and add a generous portion of sauce when your stir fry is near complete. Throw in the meat towards to end to heat. Serve over potatoes or rice or something simple.


Not GP, but he was saying pressure cooker over slow cooker. I got an instant pot about 6 months ago and I probably use it as much as my stovetop now. Even if you're pressure cooking a stew (it makes Indian cooking actually achievable) you can brown the meat in the same pot.

While it does double as a slow cooker, I have never actually used that functionality.


Absolutely, pretty much anything I could think of doing in a slow cooker would be better off done in a pressure cooker, for about the same time investment from me.

Sous-vide much more specialized, but I find super useful not for saving time, per say, but being more flexible about it. It's great when you are doing other things at the same time as cooking dinner, i.e. - leave the steaks another 30 min while I do this chore? no problem....


Or a crock pot.


Crock pots and slow cookers are essentially the same, as far as I know. The only difference I can remember is that one is a metal bowl, and the other is a ceramic bowl.


I've always thought Crock Pot was a brand. It's the Kleenex of slow cookers. I call my slow cooker a crock pot even though it's made by some Target brand.


Yep. They’re effectively the same in the end.


Your tone sounds mildly apologetic but what you've cooked up (pun intended) is overflowing with pure hacker audacity and just mad nerdiness. You are a hero!


You don't have this pushed to a repo somewhere, do you? It would be great to be able to see how you do some of this.


I'd really like to see a YouTube demonstration & explanation. Seriously, if you can make a Raspberry Pi and Python code cook for you, you will be my hero.


And how much time did you spend automating those things? Is it worth? i.e Is the time spent on cooking minus time spent on automating a positive number?


Your comment reminds me of my favorite Douglas Adams quote:

"I am rarely happier than when spending an entire day programming my computer to perform automatically a task that would otherwise take me a good ten seconds to do by hand."

Sometimes it simply isn't about net time saved.


oh man that is hilarious. I am so on that wavelength :)


Don't read his blog though, or you'll be tremendously disappointed.


Are you confusing him with Scott Adams?


I did. Shame on me. I was just quickly skimming the comments.


You might still be disappointed at the lack of updates :*(


I spent the best of a weekend putting it together. I could have done it quicker, but my son was helping. It was his mainly his idea.

I don't really save much time. The real benefit is knowing that the food won't burn. Growing up my mother would make soups and stews, she'd leave them to simmer for 30 mins without checking. The food on the bottom of the pot would burn and make the whole thing taste nasty. I wanted to make a system that would prevent that, whereas my son just loves building robots and playing with motors.

It was as much a project for me and my son to mess around with as much as an actual kitchen time saver. But we have plans to develop it and just see where it goes.


Sometimes it's not just the time saved over doing it by hand, which assumes that when you do it manually, you do it correctly. Automating things also removes potential for human error: when doing something by hand, you might screw up, which could cost you far more time (and materials). You should factor this into the "do I bother automating this?" decision.


(Not OP) I think, it is worth a lot, just for the fact, that if you are the lazy partner/spouse in the house. Then you can make things easier for the one that does the bulk of the chores.


One of these activities builds upon highly valuable skills and, when done, leaves more time to build upon said skills (or do anything else). The other does not.


I did this with the healthiest packaged food I could get on Amazon (quest makes pretty good stuff) and doing subscribe and save to get a 15% discount + 5% cash back on the Amazon visa card. It comes every month and I just eat all that.


Do you have any links to what you buy? I'd like to try some.


Please do post pictures and videos. It sounds like a real life rube goldberg machine!


> It sounds like a real life rube goldberg machine!

It has a very "Wallace and Gromit" sounding vibe to me!


We're /inventing/, Grommie!


I just bought an electric slow cooker. I leave it on for 12-24 hours depending. Does the same job without the complexity.


I'd consider retrofitting a Kitchen-Aide or other stand mixer. The epicyclic rotation should give you pretty good dispersion.


I'm just wondering, how do you spend this time you saved by using this terribly sounding device?


I want to try this when my wife goes back to work (Sunday meal prep, not the robots). Are you following any resources or just winging it? Ideally a single source that includes all the materials needed for the week and then recipes to make the dinners. Preferably with multiple weeks to rotate through.


please add some photos or video of your system in action. It sounds super cool. Especially the "very clunky" nature of it would inspire people to take on pretty daunting projects like this and get a "MVP" up and running. Just your description is inspiring. Thank you.


Any chance you could share your recipes?


You might find investing into a Thermomix a good idea:

https://thermomix.com/


I imagine the reason you're being downvoted is because you've posted this link multiple times without explaining your connection (if any) with this company. At the moment you look like a spammer.


Fair point. I dont have a connection. I just found it relevant in both branches of the discussion. In fact, I’d never buy one. But I would buy one before I started automating stirring food in pots.


Unrelated to GP, or to the company that makes those machines. But I do have one and it's pretty decent (but also loud on high speed settings). Saves us a bit of trouble here at home by automating some common things in cooking. Most of the time we use it for soups and batters.


My mum did run a B&B, in Italy, on the sea.

Me and my sister do live in different cities. She was quite old, but did not want any help from strangers. She did refuse to use a computer keyboard, since she hated informatization, and her sight was short.

So I did automate a system for her to scan the guests documents, detect the data required by local police for registration via OCR, fill up the form to send those data, and update the web site availability database table. The computer, when powered up, did only show instructions in big text, high contrast instructions, which where repeated by TTS (essentially "please feed the documents in the scanner", "please remove the documents from the scanner").

At the end she got used to using it, and she was quite proud being able to be so independent, since the last days of her lovely life.


I think people underestimate the power of IoT and automation to make independent living possible much longer. I recently installed the basics of my home automation system at my grandma's. Her keeping her thermostat set reasonably was an issue, and I've got the smoke detector on the system as well.

One of the things I'd like to add is the ability to detect natural gas: She doesn't have a lot of gas appliances, but she has no sense of smell, so the usual warning sign for natural gas she'd never notice.


I had some fun wiring one of these up for my apartment to check air quality. Relatively inexpensive, although calibration is an issue, and I'm not sure I'd trust it in an emergency.

https://www.adafruit.com/product/3199


Personally my preference is towards consumer products where possible, because they require less effort and look more presentable... Especially when its for a non-technical user. For instance, the smoke detector is a First Alert. It appears First Alert does have a natural gas detector, but it doesn't appear they make it with support for their Onelink protocol.


Cool, would the source code for this available in github? Thanks


> detect the data required by local police for registration

What data do the local police require?


It is typical to need to give a place of residence when entering a country (even if you are on a travel visa.) Immigration departments will reach out to these places of residence if they are concerned of someone overstaying their visa. The B&B or hotel will show them the copy of the Visa stamped in the passport and their check in and check out time they are in the clear.

Specifically in the case of Italy it seems like it is to be compliant with long standing legislation called TULPS.[1]

1.https://www.quora.com/Are-hotels-in-Italy-required-to-take-a...


Some countries require to report names and IDs of all guests staying. All of them, not just foreigners.


Hotels/hostels/B&Bs I believe are generally required to have the passport of foreign guests scanned or logged. This has been true of almost every country I've traveled to. Dunno why. Maybe they need the ID of local guests too? No idea.


This made my eyes wet.


We normally use the past participle where you use the interrogative. Except in the last paragraph. Two separate people wrote that post didn’t they :-)


That is brilliant. Did it take much maintenance?


It did never took any maintenance, apart from a password change for the police site... I am quite proud of this project, it's one of the most successful of mine... :-)


That is fantastic. What technologies did you use?


Hello Marco,

That's a great way of using accessibility tools & automation.

To solve this pain point - one of our friend has created PlusGuests.

http://plusguests.com/


My apologies for not reading your message entirely. May her soul rest in peace.


Uh .. if I read the comment correctly, Marco's relative has passed away.


Really sorry, I didn't read the message entirely.


I've automated almost all of my diabetes management into a level I basically can look into graphs and decide the level I want my glucose to go.

For glucose monitoring I use Dexcom G5 sensors[0] and xDrip[1] open source monitoring application for Android.

Insulin delivery is handled by a Accu-Chek Spirit Combo[2] pump, that is one of the rare pumps with a Bluetooth connection. The entity deciding the basal rates and corrections is an open source Android app called AndroidAPS[3].

As an insulin I use the fastest available analog Fiasp from Novo Nordisk, that works 10-15 minutes after injection.

All of these combined together has dropped my A1c results from 7.5% to 5.5%, being 90% of the time between 4.0 mmol/l and 8.5 mmol/l, and having no severe hypoglycemias. Basically I got myself some more years to live without any complications and in general I feel much better when I can sleep my nights without worrying and can eat whatever I want whenever I want.

Oh, and a warning to everybody who tries this: Accu-Chek will not cover any damage, there is nobody taking any responsibility of the results from the treatment you get out of the software. For me this works much better than any other treatment, but for others it might be even dangerous.

[0] https://www.dexcom.com/g5-mobile-cgm

[1] https://github.com/NightscoutFoundation/xDrip/

[2] https://www.accu-chek.com/insulin-pumps-integrated-systems/c...

[3] https://github.com/MilosKozak/AndroidAPS/


Wow this is incredibly impressive. This is so impressive. I love seeing someone take responsibility for their healthcare and being empowered to control it. This is great.


Of course a big thanks goes to the European health insurance, who're willing to pay the expensive parts, and to my doctor, who pushes me to do research about my possibilities, having a circle of connections who've helped me out to build my own rig.

P.S. Today I built a new widget to my i3 setup, displaying the current glucose and the trend. https://i.imgur.com/VnZ23vO.png


My younger brother has type 1 diabetes and he really liked your setup! Do you happen to have written about it somewhere?


Not yet, but I'm planning to. For him there's some good reading, starting with OpenAPS. AndroidAPS is implementing the research from OpenAPS and the site has lots of papers and documentation to read.

https://openaps.org/

AndroidAPS and OpenAPS do not work with all the same hardware, So you choose your rig based on your CGM and Pump model.

If I'd be him, I'd start by trying to get my hands into Dexcom G5 system or if he doesn't have a good insurance, the Freestyle Libre has some unofficial bluetooth readers available that work with Xdrip. First you get your continuous glucose monitoring working and then start thinking about automating the insulin delivery.

These projects started because we're not waiting. The organization behind is called Nightscout and their website has information how to build the needed hardware:

http://www.nightscout.info/

Now the pump manufacturers are seriously planning to bring closed loop systems like I have here to the market. The only model right now that has some of the features is Medtronic 670g, but in comparison, if you know what you're doing, building an open source rig will give you much more control and features than the commercial offerings. This might change in a couple of years though.


A question from a fellow diabetic hacker - what prompted your switch to the faster acting insulin and how does it compare wrt basal rates? I became aware of it not too long ago, currently using Novorapid on my pump. Have brought it up once and the endocrinologists were apprehensive of switching.

Forgetting to bolus and accounting for the dawn phenoemenon are pretty challenging in a backpackers routine. :-)


It's definitely much faster. I'll try everything new I get my hands into with diabetes and my treatment at the time was not that great, so it was pretty easy choice. First I did Fiasp when still with MDI and it's not that great to be honest. Even half a unit can be too much and it's very hard to dose if you don't use a proper bolus calculator.

Of course using it in pump is a different story, especially if you have a CGM with the pump. Right now I'm using the SMB algorithm in AAPS, that can help with unannounced meals by giving small boluses if it thinks you ate something. The same mechanism pretty much evens out my dawn phenomenon.

One thing you should know before trying Fiasp is the molecule size is much larger and might cause stinging feeling when the pump gives you dosage. Try to get a pump that goes slow with the dosing, otherwise the first couple of months might be a bit unpleasant. You'll get used to it though and I don't really notice it anymore.


This is fantastic. In a reply, you mentioned that you were interested in writing more about your setup and findings. I would love to pay you for a full article from you on this for Better Humans. See our "Write for Us" page here with instructions on submitting a proposal, or drop me a note via email - I'm terrie at coach.me. https://betterhumans.coach.me/write-for-better-humans-4c6c98... I have been looking for someone with experience monitoring and using their blood sugar data to manage diabetes, so I hope to hear from you!


For those interested in personal T1D data management, Tidepool[0] is a fantastic (and open source) nonprofit in this space.

[0] https://tidepool.org


The problem with this software is that you don't get uploads automatically. I use Nightscout and InfluxDB with Grafana, and just set xDrip and AAPS to upload every new value automatically. Now I can have a browser tab open showing the glucose graph and medication and see changes happening real time.


Can also vouch. Their uploaded is super fantastic and works with many types of meters/pumps. Data stored their is also openly accessible using their API. Chris (the founder) seems like a good guy.


The Dexcom G5 website says you should recalibrate with a meter every 12 hours to ensure accurate readings. Do you really have to recalibrate that often?


Not really, but you should really know how the calibrations work and understand when they might be off. It takes time to learn and understanding the basic math behind doesn't hurt.

Always calibrate when you are not sure.

G6 promises a no-calibration mode, but has a hard stop for sensors after 10 days. With G5 and calibrations you can double or triple the sensor lifetime (with xDrip).


Have you seen the recent development of using two TB BCG vaccine doses as a protocol for Type 1 diabetes?

https://www.nature.com/articles/s41541-018-0062-8


Assuming you are type I, I found this paper today which you might find interesting.

https://www.nature.com/articles/s41541-018-0062-8

My little sister is type I and using the BCG vaccine in this way blows my mind.


Hey man, look into the keto diet.


That is radically dangerous advice, do you have any qualifications in this matter or are you just trying to kill someone?


No it is not. He just stated that he/she "look into it".


I've been doing research about keto diet and tried it out a couple of times. I think it's not worth it, food being more expensive and so on. I'm in a good shape, eating normal food and sometimes stuff like pizza. My glucose is excellent, I'm in a very tight control now with the current system. It's much nicer this way than I need to worry about every time I go to a restaurant (in Berlin) what kind of food they serve.


For type 1 diabetes? Really?


I used DSP to recognize the commercials in the radio broadcast on my stereo receiver and turn down the volume automatically ("adblock for the radio broadcast"). I described it here: http://blog.rekawek.eu/2016/02/24/radio-adblock/


> The commercial block starts and finishes with a jingle, so the potential software should recognize these specific sounds and turn off the volume between them.

I suppose that many stations don't have such markers though.


Indeed. I see two options here.

First is to analyze the other signal features of the commercials (eg. increased volume), although it may be tricky.

The other option is a crowd-sourced solution - pretty much as for the browser adblock - where users can mark samples recognized as ads. Since the publishers often buy campaigns for many stations in the same country or state, it may be a shared database.

On the other hand, the described project only scratches my own itch. I wouldn't try to productise an app that takes away the main source of income for the radio stations.


How about a third option, ads are by definition short and repeat a lot.

No fancy ML needed, after a couple of times the filter gets one of these repeating fragments it should be able to block it. Fairness bonus: you get to hear each new ad a couple of times.


The problem you have here is that in order to continue listening to songs more than just a couple of times you'd have to able to classify the song versus an ad. Otherwise once the system heard the song a few times it would start blocking it too.


I expect most ads are <30s, most songs are >2m.


That's not necessarily a bad thing. The decline in commercial music radio has been, in large part, because people quickly grow tired of hearing the same songs over and over again.


Just filter by length.


it's radio. the length is infinite. there are pauses in music. there are pauses in speech. Also, he didn't mention anything about delayed listening. The implication was that it happens in real-time so you don't know how long it will be when you need to start dropping the levels.


Ads repeat several times an hour, songs very seldom repeat within an hour and even then usually only once. It should be possible (although not sure how practical) to just autocorrelate the current audio with audio over the past hour.


It sounds easy, but often isn't.

Maybe radio spots are a little different because they're cheaper and usually more low-quality than TV ads, but it doesn't really work for TV ads - they often have small variations, e.g. 10sec identical, 5sec different, 10sec identical (easy example). Also depending on your method of analyzing the audio it's sometimes broadcast with an unhearable fingerprint that distorts the waveform (let's say like MP3 versus WAV, but worse).

So yes, you can find some patterns - but the commercial breaks are highly mixed up and you wouldn't believe how many distinct commercials per channel are there, even if you think you hear the same ones all the time :)


Easier still... in the US, many radio stations transmit the artist and song title that's currently being played, via a low-bitrate subcarrier encoding. (The proper name is "Radio Data System", IIRC.)

There were previously some FM to MP3 "ripping" tools that would use the RDS information to tag the resulting recordings -- I'm not sure of the status of them. But it could provide a good way to detect commercials, since most radio stations change to a generic station identification message when they break for commercials / banter. (Whether you'd also want to turn down for banter is another question.)


It certainly works for some stations, but not for many other (from personal experience in France), and it would be trivial for radios to change their RDS / metadata system to circumvent ad blocking.


As long as it's only individuals doing this I don't see anybody reacting on a wide scale. Also there's no feedback of listener numbers depending on volume. So there's no way to detect people "adblocking" on radio, so there's no impact on revenue.


> I see two options here.

Yes, or perhaps a combination of techniques. E.g. shared database to train an ML system to detect ads. Of course, the downside is that the ad industry will then tweak the ads until they pass the ML test.

> I wouldn't try to productise an app that takes away the main source of income for the radio stations.

I wouldn't think of it as taking away a source of income, but rather as forcing them to find a source that doesn't bother their customers so much. Ad blockers seem to be getting more accepted.


Do you have an idea how could such a database of copyrighted material be shared? (Asking for a friend...)


I think that it'd be enough to store some kind of fingerprints (eg. selected frequency components after performing the FFT), not the whole samples.


Indeed it seems to be the best option.


Good point. Perhaps use only parts of the material (not the entire clips). This should be covered by "fair use".

And perhaps using the clips for other purposes than "viewing" may in fact be fair use. Especially since you are trying to find a method for not viewing them.

(IANAL)


IANAL as well, but this notion of "fair use" seems slippy. I had a look in the French article that lists some exceptions that allow sharing copyrighted material, and did not find any obvious match with the potential shared database.

https://www.legifrance.gouv.fr/affichCodeArticle.do?cidTexte...


I was under the impression that for purposes of research, fair use is pretty broad. So perhaps you could explore that angle.


Just apply a transform to them like FFT then it's not the original work anymore and it should be fine.


You know MP3 is kinda like a FFT right?


Yeah, but if you lose enough info such that it doesn't play like the original or can't be reconstituted into the original it's still large enough of a change that it should steer clear from copyright issues. No one's really tested exactly where the distinction falls.


Agreed


Blockchain!


> Of course, the downside is that the ad industry will then tweak the ads until they pass the ML test.

Nothing like a little competition to motivate the improvement of ML systems :)


> analyze the other signal features of the commercials (eg. increased volume), although it may be tricky

My home theater receiver does this (Marantz). It works pretty well. It doesn't cancel out the TV commercials though, it just normalizes the volume so it matches the show. But, I assume you could make it work for muting too.


> I wouldn't try to productise an app that takes away the main source of income for the radio stations.

Do you have similar objections to things like self-driving vehicle technology that will take away the main source of income for truck drivers?


I think you'd want to look for dynamic range compression among other things.


Note this is not foolproof as e.g. pop songs are already heavily compressed.


At least in Germany, they all have. Also you could almost time it, since commercials start ~5mins before the full hour (where the news comes on).

I've often toyed with the same idea of the parent poster


I wonder, if you accepted a little delay, say 20 seconds, could you use Shazam to identify what song is currently playing? I have been amazed at the range of music Shazam can identify, if you could do regularly queries and separately listen out for gaps in music, it seems plausible to be able to identify when a non-song (from Shazam's perspective) is playing.


Great work! I have been working for a while on a similar adblock, but that does not need jingles to detect ads. I'm on my way to open source it. A radio player with adblocking included is available at https://www.adblockradio.com


Would be great to have ability to add custom stations. Would it work too?


I think so. Are you thinking about a station in particular?

Not promising anything, because each station requires time to tune and money for computational resources.


I once made a radio adblocker for streams hosted on http://radioplayer.co.uk/ to be run in a terminal. There is also code to increase/decrease the volume on a Mac. It's not perfect but was a fun little project.

For some reason, the data and audio are out of sync but once calibrated it works quite well.

https://bitbucket.org/timwiffen89/radio_adblocker/src/master...


I would like something like this, but to cut out all non-music (i.e. talking, interviews, etc). Would tensorflow be able to be trained to detect just speech vs music? It would obviously fail if there is speech with background music, but that isn't too common outside of Jamaica (and reggae stations/shows)


This for TV would be great!


Check this:

https://github.com/erikkaashoek/Comskip

It seems the tuning of the algorithm is complex though. There's a dedicated forum for it: http://www.kaashoek.com/comskip/viewforum.php?f=2&sid=effa4b...



This Is great. I wanted to do something similar with a TV. Mic detects commercial signature and sends mute command via IR interface. I'm just an idea man though who never followed through.


That is genius.


im getting an error


Sorry, I had some DNS issues. It should be fine now.


Obligatory plug:

I automated handling DNS updates via simple "git pushes" - Lets you revert from bad changes, and gives you a good history of changes over time - https://dns-api.com/


I have a robot lawn mower that is wire guided. Instead of the traditional lawn mowers that basically cut the grass in all directions (making a sloppy cut pattern) my mower knows how to cut in straight lines so you get a traditional cut pattern. It also has the ability to dump the grass cuttings into a composting bin.

Basically, I put down wire guide cable into the lawn and into the cement as well. It is all powered by electricity and has a little docking station. When it is scheduled to cut it simply rolls out, goes to the lawn and starts cutting on. After a pre-determined point, it will go back to the compost bin to dump the grass cuttings before going back to cut the lawn again. After it is done with all the cuts it simply returns back to the charging station.

I am trying to add better features to it like weather detection. If rain is scheduled then it will cut the lawn early and then delay cutting it again until the lawn is dry. I am also working on adding an edger component and a weed wacker competent so it can handle those tasks as well. Pretty much, my goal is to have a fully automated robot lawn mower when I am done with this project. So far it only cuts the grass and dumps the waste. I think this wire guided method is far superior to the autonomous robot mowers because most people's yards are in static arrangements that rarely change. So it is better to just add in the wire permanently so you get a perfect cut every time.


Just a slight warning if you live in an area of occasional thunderstorms. A friend of a friend here in southern sweden was left with a nasty burn along the length of a robotic lawnmower wire he had buried in the lawn when lightning struck and jumped from a tree to this wire.

That was only one wire that I forget the purpose of, perhaps as electronic barrier. I can't imagine the mayhem of a grid of wires being struck with the same misfortune.


My fathers automower got destroyed when a moose decided to stomp it. Also in southern Sweden.


Southern Sweden is a dangerous place for automowers.


Reminds me of a similar incident in Norway, caught on tape: https://www.youtube.com/watch?v=Ho8o92Ro-Ig

Some CS students even made a game based on the hilarious video, where you play as the moose and must eat apples while defending against incoming lawnmowers: https://joelspeanuts.itch.io/elgspillet


Moose are huge and scary. I've heard more stories about smaller animals like badgers attacking the lawnmowers. Or at least making noises at the lawnmowers whenever it approached the lawn boundary where they were hiding.


Wow, that is probably exactly what happened. Funnily enough it looks very much like my parents place.


Do you have any information that would allow some to build something similar? Would love to see the setup!


I would also love to see a blog post on this!


I'd love a tutorial!


I second this request.


Has it ever chopped up a squirrel, or the neighbor's cat?


(not OP, have regular robo mower) Animals are no problem, they get out of the way themselves. Children leaving toys out (or socks), or branches that have been blown off trees, or chestnuts - those make for some scary noises.


I'm no expert, but Cats and Squirrels would be pretty good at hearing and seeing danger, even feeling vibrations nearby. I doubt they'd get caught by a lawn mower at walking speed.


I’ve mowed (personally and as a summer job when younger) for almost 40 years. Animals of all sorts seem to avoid the mower when already runnng.

As a kid, I gave our family cat a close scalping. It was late fall and we were picking up leaves with the mower. After a lunch break, I fired up the mower and the cat shot out from underneath making an awful noise and headed for the woods.

We assumed she was fatally injured until two/three days later when she came walking back up the sidewalk, sporting a close shave on one part of her head, but otherwise seeming uninjured. She got plenty of her favorite food that day!


I would like a tutorial on how to make one that can chop up the neighbor's cat please.


Did you modify an existing mower? What make/model was it and what modifications did you make to it?


Have you run into issues with compaction due to always mowing in exactly the same lines? I ran into that issue so now I have two different patterns I use (for the record: I am not a wire guided lawn mower.)


Please do a writeup on this! One of the reasons I've been dragging my feet on home ownership is I'm not a fan of lawn mowing. Now if only you could also automate shoveling/snowblowing.


Husqvarna has a pretty excellent roomba-for-your-yard system. 100% autonomous. It's somewhat expensive, but if that's the only thing that's holding up a home purchase for you, it might be worth at least looking at. Alternatively, you can probably whip something up with some kind of frankenstein assembly of an electric wheelchair base, an electric lawnmower, a Raspberry Pi, and a camera.

https://www.husqvarna.com/us/products/robotic-lawn-mowers/


I've priced heated driveways (I live in Minnesota), because I also hate snowblowing. It looks like in order to replace my current normal driveway with a heated one, it'd be about $30k-$40k. I can put up with a lot of cold days pushing the snowblower for that price. :(


You can! Just hire a teenager or landscaper. :) Otherwise get a ride along mower that you can put a plow on in the winter. Pretty simple. Also depending on your car you can put a plow on it too.


You could try https://lawnguru.co. My lawn was mowed within 20 minutes of signing up.


Have you documented the build process? If not, can you tell us more about the parts you used and the online resources you consulted?


Does the wire ever get in your way or trip you when you're walking around the lawn?


I think it's beneath the lawn, buried in the ground.


They rent a cable burying machine at home depot to do things like this and invisible fences for pets.


I want to buy one, or atleast the guide on how to build it!!!!!!!!


Funny enough, possibly because I work on embedded software for automating random processes, and also from home, I don't feel the need to automate anything not work related.

When you spend most of your day stuck in front of a monitor, it feels good to get up and turn lights on/off.


Me too, at work (PhD student) I take enormous pleasure in writing end to end fully automated pipelines. Nothing that needs to be done more than once isnt automated pretty much. At home, I would never buy or use an Alexa/Google assistant/use Siri or any 'smart' device, I simply don't want to bother with it.


Exactly. Anything that needs even very minimal human interaction like pressing a "y" key is not automated at all. It is very common to see in the corporate environment that scripts needs some editing in b/w to be done during its running with editor which can be easily automated using sed.


An interesting effect I have noted for me when doing research is that even if it only takes one extra click or changing one parameter to generate a plot, or run some extra analysis, I will only do it selectively and start rationalising it to myself that I know when a certain plot or analysis will help and when it won't.

This becomes especially egregious over month to year long experiments where I run the same experiment every day on end.

There was really no reason not to auto generate every possible plot, every possible analysis every time (and I cannot use ipython notebooks or things like that because it's many distributed things chained together with lots of scheduling).

The productivity gains have been enormous and are hard to overstate. I don't dread any experiment any more because even in a large complicated distributed setup, everything from initialising kerberos tickets to tons of config files, restarting services, running multiple experiments dependent on each other, and generating plots and summaries and committing them to a repo is one command. Anything that's analysed once is evaluated always.

I now almost look forward to setting up new experiments because of the pleasure I get from just chaining together calls from my control utilities.

All I have to do is pull on my laptop and I download a filter with all results pre-generated paper ready. I think a lot of people do this in experiments where everything is on a single machine, but I haven't seen it as excessive from other phd students doing complicated distributed stuff. There is always a lot of manual command line args passing, manually changing some config while instead of just creating dedicated scripts, etc.


And as an added bonus, your experiments are more reproducible. Kudos!


Same here. Only part of my work involves automation etc but indeed for some reason that took away the need/desire to automate more at home. Likewise when setting up the electricity in our house I specifically selected something based on teleruptors only without any programming/smart stuff. Just works, still some versatility since it's wired in a star, and I also just happen to like hardware switches and buttons vs touch screens.


I can relate to this. I would like some remote control features though but then I always consider what a hacker could do and what's the worst that could happen if the system malfunctions.

Quite often the worst-case scenario is a fire, so the little benefit is IMHO not worth the risk.

I'm talking about self-made hacks and cheap Chinese hardware here.


Or false positives that desensitize you. Cry wolf too many times and people tune out.

I got my parents a Nest smoke alarm (I can see the alarms too) but a year later it was being triggered by steam.

The folks at Nest actually sent a free new model that's better at not triggering for steam. But I have to wonder if my elderly parents trust it anymore.


So this. I’ve consciously refused to install irrigation so I’ll have to go out to the garden and hang around there.


I've often commented that I'm glad I have to water the garden because it's an excuse to just stand around looking at plants.

I don't like watering grass because grass is boring and requires a ton of water, so rather than install irrigation, I ripped out all the grass and planted more interesting plants. (Drought-tolerant xeriscaping is common in my area, so this isn't unusual.)


> just stand around looking at plants.

Hard to overstate how good this is for one's mental health.


When we bought a house with a pool, I did not keep the existing pool maintenance guy who'd come in every week for $100/month, and neither did I install a better pool vacuum robot.

I love the 30min when I come home after work where I scoop leaves and various kinds of debris out of the water. Very relaxing.


Hm, I had a pool once. Never again -- I felt like that's all I did was clean it, vacuum it, add chlorine tabs and clean the DE filter and destroy my lungs.

I also don't really like plants, or the outdoors. I'd much rather be inside in the A/C. Working on my own coding projects doesn't bother me, even after coding all day long.

Perhaps it's because I've been spending less time coding at work and more time managing...


I'm pretty sure the part of my eye that processes tall green things and wide blue things is wired directly into the happy spot in my brain.


> so rather than install irrigation, I ripped out all the grass and planted more interesting plants.

Nice. A lot of local plants too?


I don't think most of them are truly native to the area, but they're mostly cuttings of abuse-tolerant species that were growing well at friends' and neighbors' houses in the area.


I'm 25, and single. I'm very social, and I work out regularly. But I find it hard to approach women in the street, and I've always detested loud pubs (My hearing is slightly impaired, which makes it hard for me to communicate in such a place). So I've decided to sign in to OKCupid. I've always heard the dating scene in this site is toxic, but I've had no idea. I've too many toxic and horrible things written plainly in some users profiles ("I date only men with cars, I find it important to date gentlemen", "If you're of middle eastern origin - don't even bother sending a message") and been verbally abused in personal messages ("It's funny you've thought you have a chance with me", or another who've said "The only chance you've got with me is if your penis is 15 inches in length"). I was told I need to walk it off and don't let it get under my skin. But I can't. I've thought about quitting more than once, but the alternative is a status quo I've grown to hate.

But I'm an engineer, so I've decided to automate my OKCupid experience.

Using node & puppeteer I've run a histogram, it showed that in my country, 75% of the profiles are almost completely empty (less than 10 words). I used to manually dislike these profiles (as they'll keep coming back in the search results until you dislike it), but now my script does it for me. The next thing I've done was to sort these profiles - I give higher priority to profiles that have a longer word count, that features keywords I prefer ("fascinating", "studying", "reading", are words that I catch my attention).

It used to be a very basic script, but every negative and toxic encounter has motivated me to keep it going. Right now I'm working on building a frontend to show the script's results. I'm planning on showing "suggested openers" based on the questions the potential match has said or mentioned and adding NLP features (such as sentiment analysis).


That moment when you need to fix a product before you can get a date!

Anyways is it open source :D


Online dating systems aren't really optimized for much of anyone, sadly. They tend to be balanced between optimums for different user demos.


They tend to be optimized towards making money, frankly. They hold the valuable possibility of a connection with another user hostage behind bad user experiences and paywalls.


Good for you!

FYI for all dating folks out there: women do not want you to approach them in the street. Like, let's say, 99.5% of the time.


This. I'm legitimately scared when random guys approach me, as I've had guys grope me, try to corner me, etc in past. Sadly, I feel like these are common experiences for women.


Yeah this reminds me of the Louis C.K. bit: "How do women still go out with guys, when you consider the fact that there is no greater threat to women than men? We’re the number one threat! To women! Globally and historically, we’re the number one cause of injury and mayhem to women. We’re the worst thing that ever happens to them!"

"If you’re a guy, imagine you could only date a half-bear-half-lion. ‘Oh, I hope this one’s nice! I hope he doesn’t do what he’s going to do.’"

Every woman I know has had one of those common experiences -- many times -- but honestly when I was younger man I really had no idea what women go through or the frequency of it. My wife has had more than few things happen to her over the years.


It's weird that he did so much self aware material about male sexual misconduct. That self awareness kind of makes the Louis J.O. thing a lot more sinister.



How has your experience been with their anti-scraping attempts?


Certain requests returned errors unless I've fetched them in the browser's context (pretty easy using using puppeteer). I've also been throttled. My password was reset after an aggressive scrape and I was prompted with a mail stating my account's behaviour's suspicious.

The solution was, obviously, to make my scraper run slower. :)


Would be cool if you open sourced it, I would happily add my NLP expertise to it as I have the same issues.


It's still coarse, but once I'm done it'd be awesome!


Good luck! I met my wife on that site.


People like you are the reason I haven't called it a day, and quit from that site


This sounds like a giant red flag to me.

I hope you at least disclose your methods to people you contact.


I understand your concerns, to be honest. Please don't think I'm a sociopath, or a "player". I've just had too many bad experiences in this site (at one point a date told me that maybe the reason I'm not really experienced in relationships is because my parents' divorce "screwed me in the head"), have been verbally abused (Someone in the site told me that the fact I've sent her a message tells her I live in a fantasy). I've wanted to quit, but I'm shy. So shy, it feels as if this site is my only alternative. I've tried to contact okcupid's support team - I wanted them to ask them to add the options to filter out empty profiles, to reflect uncertainty in their matching algorithm (I oft see a profile with 90% ranking, only to see it's based on TWO answers!!), or to add the options to filter on the personality traits that are important to me (OKCupid allows you to filter based on people's personality traits - such us "sexpirience" or political inclinations, but they didn't allow that on traits important to me, such as "nerdiness" or "literacy" - even though they tag profiles matching these traits. They just, for reasons beyond me, don't allow you to filter that in the search page) They've refused. So I've decided to do their job, for my sake.

I'm also not taking it too seriously. This is my pet project (I'm not obsessed with it), and a place where I channel the negative residue that sticks to me from logging into that site.

I don't keep it disclosed, Aù contraire, I write that plain on my profile "I use a JS script to filter out empty profiles". Most of the people that send me a message in OKCupid don't even bother reading my profile (even though I've kept my it brief). And the ones who do find it amusing, and interesting.


What, why? It looks a reasonable solution for a missing 'filtering' feature :-)


They're treating people as objects to be measured and quantified. The sentiment analysis thing at the end sounds borderline sociopathic.

I would personally be terrified of anyone who thought this was an ethical or acceptable thing to do.


OkCupid recently added filtering features to inbox, to filter away messages under X word count, or match % < N. I think this is just a more advanced version of that. I think the time spent on the top of the online dating funnel (browsing often-misleading profiles, reading their essays, and trying to start a conversation that either results in no response or an offensive dismissal) does not contribute to personal development OR enjoyment in any way, so why not minimize that time, so that a person can focus on the human interaction that comes after?


He prefers people who fill out their profiles, and like reading..... that's a bit of a jump to sociopath.

There are some bizarre and horrible things people do on dating sites. If you have had bad experiences, that's not ok. But don't prejudge this person without really understanding the effect his code is having.


What exactly is unethical about this? No one has the right to make him view their profile. If a few simple heuristics help him avoid clear mismatches and toxic conversations then he's doing nothing more unethical than any dating site that matches people up based on interests or personality.


When I graduated college, the job situation wasn't as hot.

I would take a resume, custom tailor a cover letter, change out a few paragraphs in my resume to fit the specific job title --- and then.. no reply -. So. I scripted it. I would scan craigslist, monster, indeed, etc for emails or company names. The script eventually evolved to guess company homepages and scan for emails on 'career' sections.

Based on the job titles it would automatically change out cover letters. It became smart enough to understand that a word doc or txt format resume was required. It could catch "PUT THIS IN THE SUBJECT" and created a queue for hand verification -- otherwise, it would send out the emails. Once they were sent out it would scan incoming emails to determine if there were any leads - and matched the thread together with a unique email footer.

Hilariously, it flipped job searching. I would get long ranting emails why I wasn't a qualified or the position required someone more 'senior' to build CRUD webpages. OH well, HR blew their time, not mine, ---> delete. When a interested company did call, I had a nice mysql database of all the posts that company made and was ready to return a call prepared.

I got a job quickly after this php script starting running.


It would probably never reach scale for obvious reasons, but someone should productize this.

"I'll get you a 20% more high paying job for $1,000"


I review resumes periodically for my job and it certainly feels like someone(s) already have.


So you can tell which applications were built by software? I was always hesitant to attempt automating job applications


Yes, you frequently can tell. There appears to be a number of people doing some form of automation with different degrees of success. Even though it's a clever use of software and when you're hiring for a software engineer it should be promising, it gets annoying and you tend to discard it. I wouldn't suggest attempting it unless you can do it extremely well if it's fully automated, or use it to help simplify the process, but still complete the last steps manually.

We've had a tendency now to introduce a request for a simple bit of information in the job posting as a sort of captcha to filter out automated spamming of applications.


You could definitely make money selling access to this.


Can I buy access to this?


I used Tasker to make my phone vibrate in Morse code. Now I don't have to take it out of my pocket to read a notification.


> Now I don't have to take it out of my pocket to read a notification.

Definitely going to look into this. I'm a blind screen reader user and, when I had a phone with physical buttons, I could have it in my pocket connected to an external braille device or pair of headphones. I could easily carry on conversations, browse the web, ask for help, all sorts of things without taking it out of my pocket, and nobody had to know I was doing anything.

With a touchscreen phone I can't really do any of that. Even if I can listen to notifications in an earphone with the phone in my pocket, I can't take care of them unless I take the phone out. Plus, wearing earphones and walking around in public when you can't see isn't wise.


The AirPods might be a temporary help if you have iOS. You can plug them into your ear when needed and send a command. Probably not the most ideal but Siri seems to be getting better.


If you have an android device you might be able to slave a keyboard and an earphone to it and use it that way? I don't know how feasable that is though!!


[deleted]


You led me down a rabbit hole, as I was trying to understand your 'wpm' variable... In case anybody else is interested, he's using 12wpm apparently based on formula [1], which isn't enough for a Radiotelegraph Operator License but still impressive to me :)

[1] https://en.wikipedia.org/wiki/Morse_code#Speed_in_words_per_...


Script responds with 404.

I was looking if this would be a nice addition for my smartwatch.


Should be fixed now. Thanks.


You should make it so you can reply by bouncing your leg up and down. (Then go have an Edward Thorp weekend in Vegas of course.)


Or tap the phone while it’s in the pocket


I doubt that software could tell the difference between (a long tap) and (a short tap followed by a pause).


With a long tap the phone would immediately "bounce" back a bit, while holding the finger down would delay that. I'm not sure how reliable that would be, though.


That’s really cool, but from an actual life utility perspective isn’t it draining of mental bandwidth to always have this communication channel open? I could see this being useful for some Jack Bauer type activities but otherwise I want to give notifs less access to me, not more. Again - very cool, not trying to detract.


That'd be even better on a smartwatch... and come to think of it, Morse code might very well be the quickest method of text entry on a smartwatch...


I've looked into this in the past (on an embedded device, not a smartwatch) and back then was convinced that it was a more difficult idea than I wanted to spend time on. Morse code is made for humans to write and humans to listen to, so it's often sloppy and difficult to parse in an automated fashion. Everyone writes a bit differently, at different speeds, and everyone has a different definition of how long a dash and a dot should be.

It's possible for sure, but like OCR there's a lot of variability in it. Just like parsing handwriting is full of edge cases, parsing morse code is as well.


That's great! Could you be convinced to share the code for it?


This is genius. I've been wanting to do some kind of mobile app with morse code functionality to scratch a nerdy itch, and this seems like an awesome project idea


That is so cool!


Does that affect battery life by much?


Haven't noticed a sizable difference on my phone.


Oh yes please share the code


Ridiculous. I love it.


A few years ago I used Trello to keep track of my tasks for the day in a Kanban board separated by date. I had a large backlog of tasks and then a "Due this Month" "Due this Week" "Due Tomorrow" and "Due Today" sections.

First I wrote code that automatically moved cards between the different sections, so I only ever had to look at the "Due Today" list.

Then I used Twilio to build a bot that gave me a wake up call every morning. I didn't like the TTS that Twilio used so I generated more realistic TTS via Amazon Polly and played it back. Polly has many different voices so I had seven different personas give me my task list for the day. After it read out what I had to do, it then began playing the latest BBC News update right over the phone.

The final phase of this project was a bot that called my girlfriend at the time, told her the weather, and then called me and conferenced us together so we could start our day saying hello to one another.


I'm curious: How do you write code for Trello? I didn't realize there was an approach for this


You might want to look at this: https://trello.readme.io/docs/api-introduction


Yeah, as mentioned, Trello's API is pretty expansive.


Also the data they share online due to security bugs


I bought an e-reader called reMarkable [0] that I use every day to read technical stuff on it.

At some point, I got tired of the process to sync files: download the document from the browser, open the reMarkable app and drag the file into it.

I automated this workflow, and now I can just "print" directly to the device [1] the article/document I'm reading.

[0] https://remarkable.com/ [1] https://github.com/juruen/rmapi/blob/master/docs/tutorial-pr...


Off-topic: do you like your reMarkable? In particular, how's writing on it?


I love it. I use it heavily every day. The hardware is awesome, the software is not quite there yet but they keep shipping updates so I'm hopeful it'll get there at some point.

I do not write that often on it though. I usually solve math problems on it and also comment on PDF docs.

All in all, I'd buy it again :)


Thanks! It looks like a beautiful piece of hardware, and I'm glad it's living up to its intentions.


I plan to buy it whenever they release a new model with illumination.


I wonder if that's easy to adapt to Linux?

I get around the same issue by emailing files to the reMarkable [0] but that's a solution that relies on having your own email server and is therefore less user-friendly than what you do, though it works great for my use case.

[0] http://umanovskis.se/blog/post/remarkable-email/


> I wonder if that's easy to adapt to Linux?

I believe using CUPS could be a simple way to implement it in Linux.


I have a kobo and my intentions was to throw getpocket articles at it but I have hundreds of articles and the kobo barely manages it (and it's too slow, when it doesn't crash and needs a hard reset).

Is the remarkable better in that regard ?


tried calibre (foss ebook management software with kobo support) and the pocket plugin? I believe it converts them to epub rather than using the built in Kobo pocket app.


This is interesting but not available in India , any similar products you know as an Alternative for India?



The Onyx Boox Note may be available there. It's an android based equivalent. Has more features but a worse build quality.


Remarkable is a Markdown viewer right? So basically you open a HTML webpage in remarkable? Is that so you can modify the source?


There may be a markdown tool by that name, but in this case it's a specific brand of e-ink tablet that includes a stylus for drawing on the documents/note-taking/etc.

IIRC it supports PDF and presumably other ebook formats, but I wouldn't expect it to have any special tool for viewing markdown.


I see now, my mistake


When the dog used to wake me up in the middle of the night to drink water and take him out, I had to do to it manually. Now it’s all automated, my body just does it. 90% of brain is asleep.

I look forward to automating diaper changes when the baby arrives. The subconscious brain is an incredible piece of technology.


The automated diaper changes are real. Once you can do it all in darkness (or near darkness) yours hands just learn all the movements and you get it done so quickly you are back in bed and asleep very soon. Sleep still gets disrupted to some degree (you can't drop straight back into interrupted REM), but much less than you'd think.


Provided they're only wet. Please don't try to handle a dirty nappy subconsciously in the dark :)


By the time you level up to subconscious diaper changing the kid is usually past the stage where messy diapers happen at night, but yea if you detect something nuclear down there its best to turn the light on and get it done right. XD


Seems like an odd solution. Can't you just leave a bowl of water out? Does your dog have bladder control issues?


Bowl plus dog flap would be my approach. But my back garden is safe to leave a dog unattended (high fences and set deep in a quiet residential surrounded by farm land).


How old is your dog? After 5-6 months they should not need to go out in the night. Either you need to train them not to or take them the vet to check if they have bladder problems


Some dogs just like to go out and be outside. My dog likes to go out and just stand in the middle of the yard for an hour at 2am. Her mom is the same way.


I've always wondered if there is an opportunity for bidets for babies to reduce the mess of changing a diaper. Thoughts?


They're not that messy, 90% of nappy changes are just wet not dirty. For the other 10% it would be rare (in my experience of four babies) that things get particularly messy, but if they do you can always fill a baby bath or bathroom sink. Having a dedicated bidet for a baby seems like more unnecessary stuff.


How would a bidet in any way reduce the mess of changing a diaper, much less work for a baby in the first place?


How did you manage to do that? Is there a book or an article that you recommend reading?


It's called "Sleep Deprivation".


Yes! I call it natural computation ha


SO was complaining that I never text her while at work. Wrote a twilio app to pull random sentimental quotes from rumi and others, fit it into a personalised looking message spelling mistakes included )"thinking of you" etc.), and send it to her at random times of the day from my number. Weird thing is when I mentioned it was automated, she didn't believe me, so we kept it going till she broke up with me eventually.


Affection as a service. Automation in 2018 is looking grimmer and grimmer :)


This is like boyfriend or girlfriend as a service.


It would be more profitable to automate both ends of the relationship, so the humans won't even have to look at their phones while sweet nothings are pinging between servers in your data center/ scalable cloud.


GAAS doesn't sound terribly appealing


This is a reddit comment from /r/Programming is it not?


No. true story. circa 2012.


Reminds me of a Scorpion episode where Walter automates texts to follow up on a date.


Sorry but this is sad


I run a Huginn server which has hundreds of recipes. Most scrape websites and send me updates either by pushover or email for things that matter

-- news sites via rss with heavy keyword filtering for news that's important to me like hometown news etc (Google alerts style)

-- firmware updates from various devices that wouldn't otherwise notify me like kindle

-- posts up voted over X times in a period on smaller, specialized subreddits of interest

- daily digests of message boards I follow

- flight price alerts from persistent searches on routes I follow

- account updates via polling over websites like my frequent flyer accounts etc

I also love keyboard macros built into ios and have dozens for commonly used things I type.


Ooh also I automate a bunch of news downloads via calibre and Amazon's email to kindle service. So ive got Sunday papers for the cities care about, the Economist, etc all ready and synced when I fly or take a train each week. And updates are easy to just enable my phones Hotspot and go for it


Nice. I haven't quite jumped from IFTTT/Zapier to Huginn yet but this is something I plan to do as well. Have you compared it with beehive [1]?

[1] https://github.com/muesli/beehive


Seems quite similar, albeit perhaps bit more extensible? I'm just comfortable w/ Huginn now and haven't had the need for anything else.


Nice! Where do you host your Huginn server? I've had trouble getting Huginn running on my RPi, I've to try again soon to get it running. Any chance you'd be willing to share some of your recipies? I know someone who scrapes a certain deals website in my country, and gets Telegram texts for items matching certain parameters, which is cool.


Just on a cheapie $5 a month VPS. Dockerizing makes it very easy to get going.

I've put some recipes on the wiki off Github. Most of them are quite teasy to string together once you just get the right extraction pattern, then they're simple WebsiteAgent -> Dedupe Agent -> (Email/Digest/Pushover Agent)


I built an accelerometer-based washing machine sensor which sends a notification to my phone when the washing is done. This is useful because the machine itself has no indication when it's done: http://www.instructables.com/id/Washing-Machine-Notification...


My machine has a time remaining feature which is great in theory but it's completely inaccurate. It might tell you there's 45 minutes left in a cycle, you'll come back an hour later and it'll say 17 minutes. I guess I know where the windows file-copy dialog author went to work after Microsoft


I think modern washers weigh the clothes and change their cycles based off that and other information. Mine is similar but seems to always overestimate the time instead, which is probably the better failure state.


Some industrial laundries do this, but I have heard this over and over again to describe residential HE laundry machines but never actually seen one with a way to measure this. The usual method is to tumble the clothes until the water level in the tub stops dropping. Now they're saturated with water.

What you are probably getting when you start your washer is an estimate considering the steps of the cycle and loaded to capacity. Some machines have turbidity sensors - mine doesn't - this could deliver information that might shorten the cycle. Also the time may go up if it has to deal with suds or stops spinning to rearrange the load if it shakes.


We bought an LG washer and drying last year that tries to be smart and it drives me nuts. When you start it, it takes several minutes moving the tub in very small increments. It starts and stops and reverses over-and-over and I assume it's sensing the load. Then it starts and occasionally the balance is off and I does the thump-thump-thump thing. So I stop it, rearrange the load and restart. Instead of just resuming, it goes through the sensing dance again and I have to stand there three or four minutes before it actually starts to spin again.

If I could turn all the load sensing stuff off, I would. All I really want is two sliders that give me 0-100% for load size and temperature and a switch for delicate.


Most of the variation in how long mine takes is during the spin cycle, which seems like an easy thing to get a sensor on. Drain the water then spin until you stop getting more water to drain.


From what I understand, it has to do with 1) the time displayed is for an "optimal" load (not too full, normal soilage, balanced, etc.) instead of the actual load, and 2) the machines may pause and restart or lengthen parts of the cycle if the weight and/or balance are slightly off.

In any case, the washers at my apartment complex are always off, but it's at least consistent so that I can add about 6 minutes to whatever it shows at the beginning and plan around that.


The semi-old one in my building weighs it when you start the load and gives an accurate minute timer. The odd thing is it is always different, almost no correlation to weight, sometimes 50, sometimes 70.


I did a similar thing, via an esp8266 device and a vibration sensor!

I also automated the display of tram-departures from the tram-stop next to my house with similar hardware.

Otherwise I setup some "wireless buttons" to trigger alerts/actions on my Linux desktop system, and record local temperature/humidity into a time-series database for tracking purposes.


What kind of display did you use for the tram-stop times? I wanted to do something similar but worked out that the cost to update the display every minute was too much in terms of battery life even with an epaper display. Also, it was too inconvenient / ugly to use mains power.


A 4x20 LCD, which works because I'm running on mains-power:

https://steve.fi/Hardware/helsinki-tram-times/

I do have a couple of epaper devices, and they would be ideal but for their terribly slow update-time. I like the clock showing Time & Date (or Time & Temperature), and having epaper update every second just isn't possible. Even if it were then I suspect updating so frequently would negate the potential power-saving of using epaper in the first place.

I do have a nice epaper device for showing weather & weather-forecasts, that works on batteries and updates every 20 minutes. But for trams I update departures every 2 minutes.


Not OP but did a similar project, the display method I used was simply to use 9 led lined up, each representing a stop before mine, to show the current position of the tram.

My idea was based on the top part of this display https://pbs.twimg.com/media/DXGxPtlXkAA0inj.jpg


Interesting! That sounds like a really nice low-tech solution. I like it.


Which buttons did you use?

I was wondering about that as well but I only found the Amazon ones, which either need tricky operations to be usable (the brand-oriented dash ones) or expensive (the Amazon IoT (eom dash button) for 25 eur).

Surprisingly I did not find one on AliExpress


For the buttons I first of all wired a button to an ESP8266 device, made it connect to wifi and publish to MQTT and handled it that way.

But when it came to time to setup a lot more of them I realized that would get expensive quickly. SO I cheated. I bought a bunch of 433Mhz-based radio-buttons:

https://www.aliexpress.com/item/OWSOO-433MHz-Wireless-SOS-Bu...

Then I hooked up an SDR receiver to my PC, and handle it that way. I have a 433Mhz receiver for the arduino, which could also decode those transmissions, but I never used it for anything except to prove I could.

There's a pointer to the software and some overview here:

https://blog.steve.fi/decoding_433mhz_transmissions_with_sof...


Thank you. I was also considering the 433 MHz way and now that I think about it even bought a sonoff bridge :)

I will spend more time on that during summer when the kids are away


A plug-through device (or cable mounted) could probably do this based on current draw, similar to the killawatt but with different purpose. Might be able to also do error messaging, or warnings of exceptional current draw.


My solution for this was an ESP8266-based Sonoff POW (wireless smart switch and power monitor), running Tasmota, sending data through MQTT to Home Assistant, scripted to send notifications through Telegram.

https://www.itead.cc/sonoff-pow.html https://github.com/arendst/Sonoff-Tasmota https://www.home-assistant.io


Interesting, I didn't know that Sonoff did a power consumption monitor. That makes sense for something like a washing machine. Presumably though you never actually use the relay/off-switch capability of the Sonoff, right?


For the washer I don't use the switch at all.

The only time so far I used both the switch and the power monitor was on the Christmas tree, because I was curious how much it cost to run ($3 or so overall iirc).


My trick is to set a timer on my phone when I start a load. Even if the machine doesn't tell you how long it's going to take on a display, these things tend to be pretty consistent. Low tech but it works.


Pretty cool project! If you want to go further, check out the CloudWash [0] project by Berg London.

[0]: https://vimeo.com/87522764


im getting a server error


Digital archiving of important physical mail is a nice way to go paperless and keep track of documents. Get a good scanner and shredder, then set up a system to track your scanned documents. No more misplacing files and having to stuff cabinets with papers.

Proxy phone number via Twilio or Google Voice for the times when you'd rather not give your real number out.

Audio translations for digital books using espeak + pdftotext + shell scripting. If you didn't know, espeak can output wav files. It's a nice way to read since my commute is 3 hours a day.

Recipe management for putting meals into rotation and generating a shopping list. Check out Gourmet or Krecipes on linux. It could probably be hooked into a grocery delivery service like Prime Pantry or just migrated to one.

General automation with Twilio + serverless cloud functions is pretty good. There's a new Twilio tool for building IVRs (interactive voice response trees, like those phone menus you get when calling a cable company). The super cheap on-demand pricing for cloud functions makes this basically free to run.

I started a personal SMS/Voice service for some of my tasks like what's on [favorite radio station], Bus line directions, shops near me, etc. There's no real point yet but I feel like it could have uses that are actually helpful...


I wish there was a good recipe website where you could press a button to import it and change it / save it. Could make sharing recpies and searching for them centralized and readable instead of the current system of blog posts and images or shudder gifs.


Paprika for iOS took me pretty far in this direction. I bought it on a recommendation from a friend so I could strip out the blog posts and index recipes, but the grocery shopping features ended up making it something I used all the time. You still share with the original URL, but I've got friends who are into cooking on it now and it's just as quick for them to save.


I am a heavy Paprika user as well.

Emailing the recipe formats the content into an email body text and doesn't require the recipient to go to the website. It also includes a .paprikarecipe attachment for direct import into the recipients Paprika app.


Ah, I guess I’ve only ever shared as a link over chat apps. Thanks for the tip!


MyFitnessPal does a not-completely-terrible job of parsing pasted or linked recipes. It's a terrible website overall tho, which hasn't been updated once since I started using it in 2012.


Can you give a basic writeup of your physical archiving to digital? A friend did this and I want to do this now


I use https://openpaper.work/en/ - the direct scanning feature doesn't support duplex (yet) so I additionally made a small wrapper script around SANE's 'scanimage' command to scan, which also directly pipes it into Tesseract 4 (OCR). The result is a pdf file with an invisible text layer.

I then import those pdfs into paperwork in bulk. It has a label system and learns to apply labels correctly, which isn't 100% accurate but rather helpful. It also has rather quick fulltext search, which is nice. All in all, paperwork isn't perfect but it does the job well enough for me.

As a scanner, I got an Epson ES-200 (DS-310 in Europe) from Amazon Warehouse Deals (the packaging was dinged, which apparently justified a 35% discount).

I keep around the originals in a big chronological pile, rotated yearly. If I ever need an original document, I can search for it in my digital archive and find out its date. Then I can binary search for it in the pile.

The annoying part is scanning all your old stuff. Even with a fast feed scanner (mine is about as fast as Tesseract can process it in simplex, and twice as fast as the OCR in duplex, making my CPU -- and not the scanner -- the limiting factor), it just takes a lot of time.


I am doing this too and using ScanSnap. It turns out to be a really good and fast scanner for documents, not really photos. The included manager app works on Windows and Mac, and I have it set up to save bitmap pdf to a network share then run them thru abbyy ocr (also included.) Then I can search from manager's thumbnail browser, the operating system's search facility, or beagle.


I also use a Fujitsu ScanSnap and have it save to Google Drive automatically. The unit connects directly to WiFi so. I need for a separate device to plug in to.


There wasn't much to the paper archiving. I bought a fancy scanner[0] and already had a shredder.

To store the files on disk I keep directories marked by topic/year/month/day. The topics are stuff like taxes, finances, bills, etc. The important documents are in a couple encrypted HDDs that I use for backups. I've been thinking of doing an offsite storage like Backblaze B2 but it's probably overkill.

After scanning stuff in, everything gets shredded. There usually aren't many things to save but once they've been scanned they're there forever.

[0] https://www.amazon.com/Fujitsu-ScanSnap-iX500-Duplex-Scanner...


Offsite backup is not an overkill! Your HDDs can be lost in burglary, water or fire. B2 is cheap, go for it, you may regret not having offsite backup one day. And it does not require much effort, tools like Duplicati can automatically encrypt the data and send it to B2.


Won't you ever need an original document? Like something with a signature on it.

I'd love to do this as well but I'm sure at some point in the future I'll hear "sorry this won't do, we need the original".


The SMS/Voice service sounds like a lot of fun... do you have a blog post about it or how to get started? I haven't used Twilio yet.


We (with the wife) automated menu for the week and the shopping list. A database store all recipes (ingredients, time taken...) and the menu composer chose semi-randomly* into the list.

* : Menu composer takes into account :

- in season vegetables,

- number of reutilisation of the ingredient,

- number of reutilisation of the meal,

- expiration of the ingredients (vegetables can expire rather quickly)

- various parameters (if it is a busy week or not, number of days you want to cook...)

It's really a relief. No need to decide what to cook after work : it's already decided, and you know you have the right ingredients. Time spend for the shopping is very small.

I want to be able to plug that into an online shopping website, but as always, websites don't display there API so i'm trying to hack into it... (and people still talk about API economy...)


> It's really a relief. No need to decide what to cook after work : it's already decided, and you know you have the right ingredients. Time spend for the shopping is very small.

Nice. I'm using Google Keep for now, and there's probably a much better solution already -- but what I really want is a way to organize my shopping list the way the grocery store is organized so I can zip through it.

Ideally, this would require some collaboration with the store to get the exact layout. But a generic (vegetables first, breads 2nd, canned goods 3rd, ..., milk & dairy last. would also help tremendously.


This is really fascinating :)

I'd love to use the same system. Is it open source?


I love this idea, and had also thought of similar automation. I think with nuturional values data, you could get a great system going.

Ill be happy to start an open source project with a few peeps if their interested as well?

Catch me on github https://github.com/Alfanhui


+1 Would also like to know the inner workings, a general hint to the approach taken would already be awesome


i got a sql database :

Recipes table : it tooks some months to fill it with our choices (prefered recipes) and add attributes to that : cold/warm meal, difficulty, time taken, kind of meal (junk, bistrot, classical, exotic...), does it scale (x0.5, x2, x4...).

ingredient_table : each receipe got ingredients. Every kind of ingredrients are on a separate table.

product_table : it is there i display what you can buy from stores : 6/12/24 eggs bundle, 250/500g butter

Then it starts to be ugly, cause there is constraints : loose and hard. Timetable is a hard constraint (i don't want to cook monday evening), so it will be double ration one of the day before, Season is a hard constraint (you buy vegetables when they are in season) Tastes are a hard constraint : you decides what kind of meal you want to eat during the weak

With that you get available recipes and a timetable for cooking and quantity to cook.

Price is a lose constraint, leftovers are a lose constraint, time spent cooking is a lose constraint (could be a hard, if you have enough recipes, but as i like cooking, it's no matter for me)

After, i enumerate all possibilities and each one get a score based on lose constraints : you can use a simple weighted average, exponentially weighted average... You tweak coefs to prefer a nice price or a little time spent and then it's done. Usually a chose randomly between the ten best solutions.

I got enough recipes to cover all hard constraints. I avoid lot of problems doing a big enumeration for all possibilities (it takes a couple of minutes at my scale for 200 recipes), also, hard constraints are pretty easy to deal with, it could be a lot more complicated if user become picky on meals. I'm no coder so i don't know any design pattern or anything that could help me to design a better algo. But, as far as i know, when you can't evaluate all possibilities you have to go the optimization road.

Answers to questions : - Yeah, there is this website : https://fr-en.openfoodfacts.org/ (broken TLS it seems) that could be used to pull data on ingredients, - I don't have plan to open-source it : it's pretty hacky, ugly and probably defy any coding rule (except 4 space ident PEP8). it's not even packeged (i've never done that before...)


+1 Please open source it, even if it is not ready for production


I've been wanting to do this for ages and link it with the USDA's nutritinal database but I just haven't had the time.

Is there any way to get hold of what you've done?


Sounds very cool. It could also take local supermarket promotions into account.


people would buy this.


Unfortunately not. Or maybe I was selling it wrong. :) I had designed something exactly like this.

I posted it to HN a few months ago to crickets. I might be reviving it soon-ish.


For the first 9 years of my life, my family either did not have a PC or I was not allowed to use it for more than a few minutes. My parents relaxed a little bit and allowed my brother and i to read for an hour to play video games on the computer for an hour.

I played an online game called runescape where you could trade items to other players, but it was tedious and required a lot of repetitive typing: "buying chaos runes 80gp each".

I downloaded an auto typer but i was paranoid of getting banned. I wanted a more human auto typer so i found a tutorial for making one in visual basic. It was more or less copy and paste, and as a middle schooler i really did not understand the code.

I became really interested in botting after that, downloading, modifying, and eventually creating more sophisticated scripts. Automating the game became the new game for me.

I would come home from school to a banned account, think about how they may have detected me & automate smarter.

To this day I will often spend more time writing code to automate something than i save.

Automation is a way to make the mundane work a fun game


Sounds like you should be playing Factorio these days


Are you trying to ruin his life?!


In all seriousness, Factorio is predictably _extremely_ addictive. I highly recommend beginning either on a long holiday weekend when you have no other obligations, taking 1-2 days of time off, or just not playing it at all.

I honestly don't necessarily regret the time I've spent playing Factorio because it is legitimately fun, but it will claim a very high priority in your brain for quite a while once you pick it up, and will push other things out of the way.


you can't just get a man started on cracktorio like that. you'll ruin him for life


Interestingly I learned Python by creating scripts to automate certain tasks in runescape - although I kept all the money on the account as I didn't want to cheat the game, I just wanted to make a good enough program that wouldn't get caught by their bot detection system.

It's a really fun game - if you're ever bored, you should check it out again! They have an 'old school runescape' which is essentially how the game was in 2007, without the later changes. Definitely 10/10 nostalgia.


Haha that's awesome, there was quite a community for it back in the day. I actually log on to oldschool once in a while for the nostalgia, though I do not bot it anymore.

This is off topic, but I love/hate the system where all new content must pass a community poll. I feel like people are slowly voting for the updates that people hated back in the day (claws, ely, magic dmg % boosting gear). Stat creep is now almost as it was right before EOC, where you can get stacked out from full hp & brewed in one game tic (which kind of kills the hybrid scene)


I wonder if we will ever see support for white-hat botters. I imagine the game publisher/creator would have a separate server which you could request access to. It could have a bug bounty type system where if your account/bot is able to fool the system you will be rewarded for explaining how you did it. I think there are a lot of gamers that would spend time on this so they don't have to put up with so many bots.



Maybe not what anyone was expecting, but we've automated all the cleaning in the house. The clothes get washed, folded, and ironed. The trash gets taken out. All the plants get watered.

How? The oldest form of automation. We pay someone to come and do it. We have a cleaning person come twice a week.


Nice, we use our kids. Perhaps that's why we had three (parallel processing, FTW).

Not sure on cost comparison, though :)


I'd be curious to know ballpark cost (and in which state just for cost of living).

My biggest concern with letting a stranger into the home is theft/trust issues. While I'm sure most people have a good experience and I'm sure you can find a company that background checks, it is more personal paranoia (and it isn't cleaners in particular, I don't like leaving any strangers alone around the house).


I just have someone come every few weeks; she's been cleaning for my neighbor forever (in MA). $100 for a few hours work. It doesn't really handle day-to-day housework but it ensures things get dusted and vacuumed before they get too bad. She isn't nearby but a lot of people get someone local for $30/hr. for cleaning, dog-walking, etc. Not for everyone, but it's not rare.

I have a separate service do my lawn for about $60 every 2 weeks or so.


Asking your neighbors is usually the best, at least around here you can usually find someone who is known to multiple people who can vouch for her.

If that doesn't work, and if you're ethically ok with it, you could put some cameras around the house (turned on only during the day when the cleaner comes). Dashcams are reasonably cheap nowadays.


I was paying a cleaner to come by and do my floors about once a week, but eventually realized that for 2.5 months worth of cleaning I could replace her with a "Braava" floor cleaning robot.

(I do feel a little sad about it, she's sweet and I see her all the time when she cleans other units in the building…)


When I lived in India, it was cheaper to hire someone to wash clothes and dishes by hand than to buy a washing machine or dish washer (and the place we lived wouldn't have had anywhere to put them anyway). [Though half the time we did these things (by hand) ourselves.]


I mean, of course. It is cheaper to do that anywhere in the world. The trick is to use the washing machine more than once.


I laughed, but my impression is that due to overpopulation it's incredibly cheap to rent a human for such tasks there. It'd probably take years to spend what the machines cost, and they take space (a premium, see: overpopulation) and require maintenance.


That's one of the defining characteristics of the third world:

TCO(human labor) << TCO(automated labor)


"When I lived in India, it was cheaper to hire someone to wash clothes and dishes by hand [assuming that context makes it clear that the costs are being calculated over an extended period of time rather than a single instance] than to buy a washing machine or dish washer".

Just like if I were to say "when in city X, it was cheaper to travel by taxi than to buy a car", I wouldn't mean a single taxi ride.


That's a strange use of the word.

Would you say that e.g. warfare and agriculture has been 100% automated because it's manual labor performed by people who aren't you?


Where and how do you afford this?


In Belgium, the govt set up a system where "freelance" cleaners get paid 15€ / hr and also get health care, pension etc. This is all done electronically / online and works really well.

Normal people don't use cleaning companies but loads of people had a cleaner nevertheless who was paid "in black" prior to this system.

Now everyone's insured, pays taxes, gets long term benefits etc.


In most places in Western Europe that I've lived, it's perfectly normal for a 2-earner household to have someone that comes in say 4-7 hours to clean once a week, and maybe do some laundry/ironing (depending on time available). It's an expense yes, but around that (when calculated back to monthly cost) of say owning (another) small car.


Cleaners really are not that expensive. I live in the UK where the cost of living is really high and can still afford to have a cleaner in for a couple of hours a week. I still do the dishes (well, load / empty the dishwasher), clothes and take out the rubbish but at least I don't need to vacuum / dust the house etc.


I can only do this because I live abroad in Latin America. Sadly, wages are very low for this kind of work.

Though I did have a cleaning person come twice a month, when I lived in the Pacific Northwest, I could never afford all this much help living in the US.


I used to live in Central America and most foreigners from the US had their own maids. Some maids even had their own room in the house and lived with the family (great for babysitting, cleaning, cooking, etc)


You just described people working for you as robots.

I understand it was meant to be a harmless joke but it's still not so nice to say.


Part of me wants to be offended by that but part of me knows every one of us is just a cog in a machine, some bigger than others but really... not that much bigger.


Robots don't get paid?


I wrote a book.

I have a site called http://www.correlated.org that generates funny statistics based on user-submitted data.

After several years of running it, I got a book deal. It was part of a two-part deal that also involved my other (more successful) book "Experimenting With Babies."

For the Correlated book, I wrote a bunch of code involving some seriously gnarly SQL queries and some Natural Language Generation tools, and it basically spat out the book.

There was, of course, extra manual effort needed, but the code got me about 80% there.

Here's a little more about the book:

http://www.correlated.org/book.html


I trained a mobile neural network to feed the dog every morning, and his brother to feed it every night.


My mobile neural nets are still in the training stage. Sometimes, they have trouble recognizing when the dogs fifo is full.

Also, though I derive great happiness from this automation effort, I’ve noticed that the processing units are quite expensive and the maintenance cost is also large. After 5 years, I’m certain I’ve spent more time training them than if I fed the dog myself and more money that if I hired a 3rd party DwaaS (dog walker as a service).


I think part of the problem is the ordering of the canine calorie queue: should it not be approximately lifo rather than fifo? If you are indeed correct, I’m curious to know how the canine has direct access to the caloric morsels at the bottom of the container.


I believe they were referring to the canine unit's output queue, which definitely should be fifo. If it switches to lifo, a trip to the troubleshooting specialist is in order.


Yes I was referring the fifo in the state machine that runs throughout the canine unit.

But I do agree that the feeding mechanism should definitely be designed as a lifo


The artificial artificial intelligence way.


Ok, I'll bite!

About 20 years ago I inherited enough money to retire on for the rest of my life. But the only evidence of those assets was, a dot matrix printout that anyone could have done in five minutes. So over the next few weeks, I created accounts in the various share registries and online banking websites, and manually cross-checked the printed list against those accounts. All was good, but I wanted to do that on a regular basis, and it was clear that doing it manually, on a regular basis, was not gonna happen.

I am personally -- NSFW SPOILER ALERT!! -- a long time Windows/IE user, and I knew that IE has a comprehensive automation interface. In literally a few lines of VBScript (say), you can programatically start IE, navigate to URLs, parse the DOM, create new local documents, and so on. But although those interfaces are very simple, they're not robust against failures, and have various weird and wonderful corner cases that will sometimes trip you up.

So over the next 10 years or so, I created a robust, general-purpose IE automation wrapper, and wrote some applications on top thereof. The result is that at any time, I can click a few buttons on a handsome user interface, and enter a single master password, at which point my application will automatically log into each share registry and online banking website in turn; download all new and amended data therefrom; transform all data into common formats; store it in a local cache, so it doesn't matter if it later disappears from the website; then creates a single share holdings document, showing all share holdings from all share registries, and a single online banking document, showing all transactions from all accounts at all banks since the start of time. Both documents have dynamic, user-defined sorting and filtering. They also hilite significant changes; check all share holdings against banking credits to confirm that all expected dividends were received; and so on.

In other words, I've completely automated various important financial checks that I simply couldn't do by hand on a regular basis. The downside is, I'm tied to IE - and - several hundred thousand lines of VBScript! If anyone would like to re-write all that code for Chrome or whatever - for free - you're more than welcome to contact me!!!


> If anyone would like to re-write all that code for Chrome or whatever - for free...

For free? I thought you inherited enough money to retire on for the rest of your life. Share the wealth. :)


Well put :-) I was actually taking a subtle dig at folk who say, "just ditch IE, how hard can it be?" If you have an enormous corporate or personal application, the answer could be: "impossibly hard", unless a good fairy appears from the sky and rewrites it for free!


You might look into Yodlee. Services like Mint use their non-free apis to get financial data.


If you wanted to re-write that for Chrome or whatever (including headless) I would suggest Selenium or WebDriver suite, including PhantomJS. However, my knowledge (expert level at the time) is a bit outdated and there are probably new toolkits based on the Selenium/WebDriver protocol, it is a good direction to point you to.

I have had my bank remove records from my online account, or not have the ledger balance add up, so your idea interest me. I contacted the controller of the currency about my bank messing with my records, and they did absolutely nothing.


PhantomJS has pretty much gone the way of the dodo since Chrome got its headless mode:

https://github.com/ariya/phantomjs/issues/15344

https://developers.google.com/web/updates/2017/04/headless-c...


Thanks for the reference to sekenium etc. I know nothing about other browsers' automation capabilities, so i'll takee a look at some stage.


I’ve automated a bunch of tasks thanks to selenium. It’s really pretty simple once you get the hang of it. I’d totally recommend.


I'll certainky take a look at it


Wouldn't go for PhantomJS


Honestly curious: Why wouldn't you just liquidate all of it and invest in some mutual funds?


A lot of it is in fully-franked shares in a self-managed superannuation fund. The fund is now in pension mode, which means it pays no tax on earnings. Where I live, fully-franked shares, in a zero tax environment, get a refund, from the tax office, of all the tax that the issuing companies payed on those earnings!! It's a sweet deal, but actually makes me feel a bit guilty. It's all 100% above board (and managed by one of the big 5 accounting firms), but it means I pay less tax than all my friends and acquaintances, all of whom earn much less than me. Reference: Warren Buffet's secretary :-)


Fellow Aussie


Onya!!


No problem. I will need your bank and website passwords... :-D


I've no idea what they are! They're all random strings within the integrated password manager that I wrote as part of the package!


This is kind of perfect.


The rubber hose would fail!


Hahaha, oh wow, that's a lot of work. I think you should learn Python and some Requests...


I don't think that would make it much simpler (if that's what you're getting at). There's tons of grunt work that just has to be done - eg. calculating expected dividend payments (by automatically matching portfolio details to dividend schedules from corporate websites), and automatically matching those to bank account credits - all through code. Despite the laughs that the VB languages get on HN, VBScript is in fact, a fully featured traditional imperative programming language, and has all the features you'd expect in such a language (but no IDE :-(). So I doubt that rewriting in python would make much difference. And I'd still be bound to the IE automation model.


To wafflesindeed (there's no reply button):

> I'm not OP, but I suspect they meant that Python and some libraries would have solved your problem in a few days of work.

I wrote software professionally for 30 years. I have a good understanding of the work required to implement a business requirement! I cant really see myself spending 10 years on a one-week task :-)

PS. I didn't downvote you.


> And I'd still be bound to the IE automation model.

Why? You fetch data, calculate stuff and give out reports. Unless there is heavy javascript involved, you don't need a browser for any of this. But now you are dependent on the fragile setup you have created, hopping that VBScript, IE and your datasources will continue to work as long as you live.

Becoming independant and gaining a future ground would be a valid reason to change to a better environment. It doesn't need to be Python, but considering the requirements, Python is a very good choice for this it seems.


All of the websites concerned have strict authorization requirements and none have public APIs afaics. At the start, it just seemed easiest to automatically scrape them. I guess I could have reverse engineer their private APIs and used those - but as the doctors say, the retrospectoscope is a rare and expensive piece of equipment!


Is authorization done with some activeX-applet? Otherwise I don't really see what IE is offering that Chrome offers too, but scrapping-libs can't.

BTW There are libs to use chrome programatically for those things. It's called headless-mode or chromeDriver. Similar things exist for other Browsers. So you could probably rewrite your app to become more indipendant without lossing the existing functionality.


I just don't see enough cost benefit from rewriting hundreds of thousands of lines of working code at this time. I can't see IE going away, any time soon, due to corporate tie-in. Hopefully VBScript ditto. If it all falls over down the track, I'll review my options then :-)


I'm not OP, but I suspect they meant that Python and some libraries would have solved your problem in a few days of work.

This is particularly true in the UK where there's a big push for "Open Banking" where banks must provide APIs for developers.

This would remove your dependency on IE if it was all done from the command line :)


I’m interested to work on it. Can u share the details in nanospeck0@gmail.com


You mean I can rewrite several hundred thousand lines of VBScript for you for free? Sounds awesome. Do reach out.


That was obviously a good-humored joke.

Could you please stop posting unsubstantive comments to Hacker News? You've done it a lot, and it's not what this site is for.

https://news.ycombinator.com/newsguidelines.html


ever tried sikulix? it clicks the things


Nope, never heard of it. My software certainly has to click lots of thing! But it also has to do lots of data processing behind the scenes. So the clickety click is only part of the story :-)


I automated all my piracy.

My NAS automatically downloads files as they are released by scene/p2p/pirate groups. Files are extracted (if compressed), renamed, metadata is added, and published on some apps like plex and trakt.

Movies, TV Shows, Music.


Hm, how about a show about a robot pirate ship (in space or today's world) and either some hackers in a basement or a 3-letter agency on the other end? (Maybe leave it ambiguous for a while. Or maybe they fight each other for control.)

There probably are a number of political and economical reasons to disrupt shipping routes and terrorize billionaires on yachts, and plenty to stay unrecognized and uncaught meanwhile (use 'hacking' to disrupt the military that might come to check).

Maybe at some point the robots gain their own sentience and decide to mutiny, maybe to become space pirates too..

The plot is pretty far-out, but I think I would watch it.


Sickbeard and couchPotato did that through GUI with a few clicks a few years ago (at least).


Sonarr, Lidarr and Radarr do it much better these days :)


Sickbeard was also a giant piece of junk that crashed all the time, and sucked all available system resources.


I got all fancy and hacked together a tinydb backend for transmission-daemon to automate pulling from an rss feed. Was using a simple text file at first (to avoid duplicates) but without proper internet service I needed a way to cache the shows until I could eventually download them.

Now I just need to figure out an efficient way to download from them from my Hungarian vps since the cellphone internets are slowwww...


> I got all fancy and hacked together a tinydb backend for transmission-daemon to automate pulling from an rss feed.

Suggest looking into Flexget. It unfortunately has loads of dependencies, but on the upside it's super smart. E.g. prevent duplicate downloads, etc.


Mostly I wanted to learn about databases and I was bored one day so...

I kind of like transmission, had it doing its thing on my low-power NAS for a couple years with zero problems. The thing with duplicates was the rss feed sending ~7 days of shows and needing a way for my python script to tell if it had already seen an item or not so I was just dumping them into a log file and searching through it on the next run -- crazy inefficient but it did the job.


ruTorrent and deluge have many fancy plugins, the latter is also afaik relatively easily scriptable in python.

Transmission is one of the more minimal torrent clients out there, and even the old uTorrent supports RSS feeds.

Only download linux ISOs though ;)


I think this is the only thing I'm still using RSS for. Plex has become important enough for me and the people I share with that I moved it into colocation space.


In the same general category, I just wrote a script to download episodes of anime as they're released.


I wrote a YAML file for flexget. Much easier.


Would you be willing to go into some more detail on how it works? I use Sonarr and Hydra2 with a handful of private indexers and for most TV its the perfect solution.. but for anime it's the pits. For whatever reason the anime ripper scene seems to be actively resistant to this sort of automation.


My use case is really simple. I just use a script to fetch the latest free episode of My Hero Academia from CrunchyRoll with youtube-dl.


1. some miscellaneous things using IFTTT like cross posting from Instagram to Twitter and Facebook

2. Smart Home stuff like turning on the light on sunset if I’m home, turning off the lights when I leave home and multifunctional wake up calls using light and music.

3. And which I guess I’m most proud of: I’m secretary at my local volunteer fire brigade and one of the chores is to send out a weekly email to everyone with a digest of trainings and other appointments in the next week. To get this out of my head, I wrote a serverless function that queries a special google calendar for this, collects titles, start times and notes, generates an email and sends it out to our members. This lets me just manage the appointments within my calendar and takes care of all the mechanics. Fun fact: this works that good that sometimes people come to me with “yeah, about your email...” and I’m like “which E-... OH!”


As I just got reminded about this through other comments:

4. Vacuuming. My roomba has paid for itself several times with the time it’s saving me


My internet provider Hathway (in Pune, India) used to throw up a login page every now and then throwing all my networked devices out of gear. The captive portal required doing login via browser to start internet again. I wrote automation scripts on Raspberry Pi to figure out when internet access is gone and then to do auto-login. Here is the detailed blog -

http://gopi-kori.blogspot.com/2013/08/auto-login-to-hathway-...

I have also automated all bathroom lights and lights on basin to switch on based on motion sensing using these cheap switches

https://www.aliexpress.com/item/Home-LED-light-PIR-Infrared-...

This saves energy by solving my problem where I used to forget switching off the lights many times.


Not as much fun, but you can request them for a static IP for no extra charge, and the requirement to periodically login will go away. At least, that used to be the case until I moved away from Hathway in Bangalore (about 2 years ago).


The most useful thing I have is a little script that logs into my bank, downloads a CSV and sends me the latest transaction via email daily. Saves me time to login to online banking, and also serves as a useful way to search for previous transactions inside my mailbox from time to time.

Besides that I use Home Assistant[0] with a few simple automations. For example, when the lights are on in the bathroom, and it's after dark, increase the heating/towel warmer (using Tado[1]).

Tado has its own home/away detection, plus some schedule for the heaters. It's supposed to save on energy costs.

When we're on holiday, I switch on/off various lights (with some random offset) at night... Or some times I might leave a radio on timer / connected to an IoT power switch. (I don't use any burglar alarms, cameras etc, but I try to deter them with those simple fake occupancy tools)

Philips Hue has a nice way to slowly turn the lights on. Useful to wake up during the dark winter months.

[0] https://www.home-assistant.io/

[1] https://www.tado.com/


For your banking script, are you able to use an API with a limited access token? Or does it use your normal credentials. I don't save my various banking credentials anywhere, not even 1password, as they're so sensitive, curious how you do this.


Your banking password isn't that sensitive, because banks are used by regular people who don't have any conception of good security practices. The worst case scenario of your bank login credentials leaking are really not that bad.

Your personal email account is probably a million times more sensitive. It contains enough personal information to get your identity stolen a thousand times over, and once your email has been compromised there is no way to ascertain the damage.


Couldn't agree more. See my comment above. My online bank only provides readonly access with a password. Anything else requires a one-time-password anyway.

I'd be much more worried about my email getting hacked though.


Your banking password isn't that sensitive, because banks are used by regular people who don't have any conception of good security practices. The worst case scenario of your bank login credentials leaking are really not that bad.

Huh? The worst case scenario of your bank login details is... someone depositing all your money to their account, surely.


Nope, the login in (some? many?) banks is just a first step, to actually perform transactions they require a second stage auth. Most they can do is transfer money to some of my family members (I've disabled the second stage for a few specific destinations).


Most banks request a second auth factor (SMS, code, phone call) before executing a transfer to a new recipient.


I don't hear often about banks providing API access. Only big companies on special contracts may get something like that, but it is usually very limited - talking from my personal experience, but what I learnt from the internet - it's the same everywhere.

But... In Europe thanks to just another EU laws we should have every bank offering an API access for everyone starting from September 2018 IIRC. That would help a lot with automation, I hope generating few api keys with different access permissions would be possible with that.


I'm going to be so amazed if the API (PSD2 if you want to Google it) turns out to be what we want.

I'm fully expecting banks to throw extreme security hurdles and probably registration fees in the way if they can.

Hopefully I will be wrong.


PSD2 is not what you think it is. It has API access, but not for the end user. Only 'integrators' will have access to these APIs. You will need to request permission to write/deploy software using the APIs. This involves massive bureaucratic overhead and in some cases permission from your country's national bank.


Automated GDPR requests for personal data...


Can you please give some more info about this eu regulation? I'm really interested to see if my bank has an API in place.


Look up PSD2 regulations.


There is a system for integrating with larg(er) corporate banking software, but here it seems to require a smartcard, likely with a PIN, and no way to restrict it to be readonly. It's horrible XML protocol stuff though.


My bank gives only readonly access by default with the username/password. Any transaction (transfer, operation) requires a one-time pin (TAN) anyway. So I'm not particularly worried about leaking my password.

I wish they had an API but I just use a selenium script essentially. Luckily(?) logging in to this particular account only requires user/password and no fancy codes etc. I guess when the system is built with readonly default and OTP for anything else, then the login can be kept simple.


> a little script that logs into my bank

I've wanted to do something like this for so long but it just seems so painful. How do you do this with just a little script when there's so much Javascript involved in the page, as well as random interjections like random extra security verification steps? Do you have a particularly scrape-friendly bank?


Try to watch network requests in developer console of your browser. Sometimes there's a simple REST interface behind that JavaScript and all you need is to login and issue one request. Extra security verification steps probably won't let you do that, though, if implemented correctly.


You can emulate a user driven browser using a headless instance of Chrome. Look up some “chromedriver” tutorials. Hooks together nicely with Selenium.


In theory, yeah. I actually did try Selenium and Chrome several months or maybe a ~year ago. I don't remember exactly what the pain points were but I remember it was really painful to figure out how to get it to work. Everything from figuring out how to inject JS into a page to figuring out how to wait for events, etc. it was just a massive pain. I don't think I ever figured it out entirely.


I really want to like Home Assistant, but at least on Windows there's some gnarly concurrency issues with it the last time I looked: it launches two Python processes and one of them fails every time.

Also, there was no auto-discovery of LIFX lights and I was told I needed to re-implement the LIFX protocol from scratch because no extra dependencies were allowed in the discovery module.


Two things:

1. Automated indoor gardening. I used a raspberry pi hooked up to x10 devices as a way to monitor the temperature of my garden, and run the watering and light cycles. This meant I only had to worry about my garden maybe an hour a week when changing out the nutrients and reservoirs. This saved a huge amount of time, let me go on vacation for long periods of time without having to worry about things, and saved me from forgetfulness. It allowed for me to enjoy my garden a lot more, and look for real issues, like bugs/pests/nutrient deficiencies. Getting an automated process also made each cycle more reproducible.

https://github.com/cbanek/garden-squid

2. Automated billpay. This changed my life. By not having to worry about missing bills, it really just took them completely off my radar. Downside: If there was a problem with a bill, I might not notice right away, but in general, there was so little that wasn't actually my fault that it didn't matter. Fidelity has a great automated bill pay system that is free to use, and will send out checks and do e-bills for most utility / credit card companies.


I ended up going with a really simple turn a pump in a bucket on for a minute each day which did a lot for plants dying while I was on a 2 week business trip. But I'll check out your project!


My WiFi router is turned off automatically at 9PM. No fancy electronics is needed for this, just something like: https://www.lazada.com.ph/products/24-hours-auto-switch-off-...


Yes, same here except it turns off at quarter past midnight. I reprogrammed a Sonoff switch so that when it turns the main router off it turns on a wifi hotspot which allows me to turn the switch on again - but only for an extra 15 or 30 minutes. In terms of stopping me wasting time on the internet until late at night while still allowing access if I really need it, it seems to work well:

https://github.com/alexspurling/sonoff


I use a Sonoff to reboot my internet box if it lost internet access, currently via an external script which sends events to MQTT.

I have a vague plan to extend Espurna to have it built in.


Nice, but why do you turn it off?


It enforces no internet before sleep rule. Personally I find it hard to stick to such habits just by my own will. Too often I find some excuse to turn on my laptop just to check one thing, which then turns into one hour wasted browsing random junk.


I feel like this is also a good security precaution aswell, decreases attack surface for over 50% of the day.


Really good point.


They consume 10-20 Watts.


What are they doing? My 951 uses 3W maximum.

https://mikrotik.com/product/RB951-2n


VDSL2 modem, DECT base station, USB port with external HDD, dual-band 4 stream Wifi radio


OP may want to feel disconnected during nighttime hours.


I automated my phone integration with my car using Automate.

When I leave my wifi hotspot it turns on bluetooth.

When/if it connects to my car it opens Spotify (but it doesnt start playing yet before I hit play on the steering weel).

If it's in my car's handler (there's a NFC tag there) it assumes I want navigation and it also opens Waze.

When it disconnects it turns on wifi again and keep it on for a few minutes and shut it down if it's not connected to anything.

I'm sure android auto can do all this nowadays, but my car has a 7-years-old ford-sync system, and that's bluetooth only.


I have a 2018 Subaru and a Pixel 2 and Android Auto is very unreliable. Every time the phone connects with the head unit, it asks if I want to grant access to contacts and every time I click yes. This seems like something it should remember.

I complained about the poor performance to my dealer and they replaced the stereo but that didn't really fix anything.

I wonder how difficult it would be to automate clicking on the notification to grant access to whatever it is that Android Auto thinks it needs access to?


Ah, yeah, I do some of the same with Llama (Android).

* Remind me on my phone when I'm at home, connect to car via BT, on weekdays, during "morning hours" to not forget my building access badge.

* Go into "silent mode" if I've been in proximity to my son's high school for more than 5 minutes (I'm usually there for some event where I should be silent).

* Various volume controls when I get to (or leave) home/work/etc.

* Change the screen to not auto-dim/off when running certain apps.


My car doesn't have Android Auto built in, only really bluetooth and Android Auto can launch at bluetooth, and mostly all those things. Dig around in the settings and have some fun. (though I'm not sure it has everything you'd want)


I automated my Investment Portfolio.

My investment thesis is to buy high-growth tech company stocks with an upcoming earnings call in the next 90 days. I have a script that scrapes Yahoo finance and tells me which stocks to buy.

Surprisingly it's worked well, and I've gotten a return of 44% last year


With earnings of publicly traded companies in the US reported quarterly by law, how is this distinct from the list of all high-growth tech company stocks?


Pretty sure earnings calls are not required by law, you may be thinking of quarterly reporting requirements like 10K/10Q.


The stock grows/declines severely during earning call. I use that to my advantage/leverage


>with an upcoming earnings call in the next 90 days

>quarterly by law

I don't think you answered the GP's question. What is the point of looking at the earnings call date if your script just returns a full list of companies? (Or maybe when you said 90 days you meant a shorter time period?)


I did answer it. I will try to illustrate it even further. Public-ally traded companies, regardless whether they're high growth tech or not, tend to have big jumps or declines in stock price on earning calls date.

Take for example Shopify. Their stock is very fast growing, however, you'll always notice a decent bump during earnings calls. I buy 30-60 days before this earnings call, because I anticipate it'll grow in the next 30-60 days (for the earnings call), given the previous growth. I sell on the day of earnings call


Ok, so an upcoming earnings call is not a filter, it's a buy signal/trigger.


To clarify: I still have to execute the orders to buy and sell, but the thinking for when to buy and what to buy is automated.

I just sell after the earnings or when I gain the desired amount (5-10% return)


Aren't you at all interested in managing your capital gains exposure? Short term trades tend to play to the advantage of the broker (fees) and tax collector (short term cap gains tax)


1) What capital gains tax? You can run it through a company, which is what I do.

2) Broker fees are $0 as I use Robinhood.

Like I said, I made a ~44% return. If a $7 trader fee is your argument for it not being viable then you are most likely not investing enough money, or not getting a decent return.


“Just run it through a company” isn’t the whole story. You also have to qualify as a trader and file an election to use the mark-to-market rules, and then you actually have to do mark-to-market accounting.


Profits that come from Stocks remain in your trading account. You transfer them from your trading account into your business bank account. The actual profit/difference is taxed. I don't understand what's so complicated?


It’s not particularly complicated but it’s far from optimal. If you’re not doing anything special your profits are taxed as ordinary income but you don’t get to deduct business expenses, nor do you get to count that income toward deductions like self employed healthcare or retirement account contributions.


Now you're just debating additional income. However, say your company lost -$10,000. If you profited $10,000 in stocks -- you technically made $0 in profit, which means you still don't need to pay taxes, even on the profit on stocks.

...and if your business is really killing it, and you're also killing it in the stock market, I am certain you won't have a problem paying a few dollars to the US Gov. It's still better than other investment avenues :-)


Your "business" losses offset personal trading gains? This is fraud.


It is not personal trading gain. The business owns the stock, not myself


Ding!


Have you back tested this. It seems really risky.


What do you see as risky? I don't invest in companies I don't believe will be around in 10-15 years -- I don't invest in penny stocks. I invest in REAL companies (Amazon, Shopify, Atlassian, etc.)


In a bull market you are going to have great returns but it just seems lucky. It's almost better and sit and hold. I'd back test the parts where I wasn't in the market, how much % profits were missed out due to compounding, fees, not being in the market and the time spent.

Generally earnings aren't a great event to bet on as they get baked in until unless they are exceptional. It feels like picking up coins in front of a steam roller.


Do you automate the selling as well?


Not yet... Have considered it, but seemed to complicated. I use Robinhood


So is it more than a screen?


Awesome!

would love to see the code here


Monthly credit card payments. So money flows from my employer to my checking account to my credit cards. Also of course to my 401K, IRA, Mortgage account, Saving account etc. Which means I don't encounter money much and I like it this way (I generally make sure I live within my means and my money does flow into my investments).

Downsides:

-I'm not actively thinking about money and hence improved investments

-I'm not monitoring credit card errors

-Comcast gradually increased increased my bill from $44/mo to $103/mo without any resistance from my side


I started this right after college after reading "Automatic Millionaire" that advocates for "paying yourself first" and automating your finances. Money goes into checking then automated to online savings accounts, one account per purpose (xmas, vacation, kids college, kids sports, big ticket purchase), money goes to 401k/IRA, money goes to stock account. Only bill I need to remember to pay is credit card (although minimum payment is at least made so no late fees), everything else is automated. Only decisions I make are how to rebalance things if I overspend the money left over, which stocks to invest, and periodic rebalancing to make sure things are on track to reach long-term goals. The real savings is "saving me from myself" :)


Money-related matters are my primary automation as well. Especially with the fair bit of traveling I do, it largely eliminates something I'd have to keep an eye on and probably get a late fee from every now and then.

Like you, it does mean I need to make mental notes to check into things every now and then so that there aren't charges I don't understand or investments that really seem out of whack.

Pretty much the only other thing of note I do, besides have a lawn service, is some automated plant watering because of the aforementioned traveling. For this and other reasons my schedule is variable enough that none of the usual SmartHome stuff really does anything for me even if it solved problems I felt I had, which I don't other than some remote monitoring.


I do this for many years now. My one check is that when the credit bill comes (electronically) I sort it by size and check that at least all the big charges make sense. Also I have alerts on my cards for any charge over a few dollars.


Pushing music onto my phone. I have Termux installed, and can thus run `sshd` on Termux (I have ssh keys copied over), and then copy any music I want into a temporary directory on my desktop and use https://github.com/ehmry/dir2opus to convert everything to 96kbps opus and push it over using rsync and then cleanup the temporary directory:

`python2 ~/builds/dir2opus/dir2opus -a -b 96 --delete-input . -r && rsync -av --progress -e "ssh -p 8022" . 192.168.1.111:"/sdcard/Music/music-OPUS/" && rm ./* -rf #music`

Likewise audiobooks, but to 24kbps opus:

`python2 ~/builds/dir2opus/dir2opus -a -b 24 --delete-input . -r && rsync -av --progress -e "ssh -p 8022" . 192.168.1.111:"/sdcard/Audiobooks/" && rm ./* -rf #audiobooks`


I installed Syncthing[0] on all my devices, and added youtube-dl folder that auto-sync my music as soon as I'm connected to my known networks. It's so easy I've stopped using any cloud things (except for emails).

[0] https://syncthing.net


I also use Syncthing on my mobile phone, but for actual syncing. The music stuff I'm converting from FLAC to opus, transferring to my mobile and then deleting the opus files from my computer.

I do use Syncthing to then sync the (opus) music from my mobile to my work desktop.


1. When I plug my camera's SD card into the front of my Linux server it automatically copies off any new photos and sorts them into a YYYY/DD/MM folder structure.

2. I wrote a cryptocurrency trading bot because I'm too lazy/uninterested to actually learn anything about the market. It seemed to do pretty well when the market was flat or going up. Hard to tell if it's doing badly now or if it's just reflecting the state of the market. I almost forgot to include it in this list because it's so thoroughly automated that I rarely bother to check it.

3. I assisted the owner of pvoutput.org with adding support for the automated data upload format from my PV inverter. Then I wrote a script that automatically polls my electricity meter using a RAVEn USB device to upload the net import/export of power.

4. Maybe other things that I've forgotten about because they're automated...


For #1, do you have any way of detecting dupes? For example if you inserted the same SD Card twice would you get two copies of the photos?


I only use one SD card and one camera, so I just store the name of the last file copied (e.g. DSC02745.ARW) and the next time the card is inserted I only copy files that come after that one when sorted by name. It would be pretty easy to extend to multiple cards and/or cameras, but I've never had the need.


If you really wanted to avoid dupes you could just hash the pics, save a list of hashes in a txt and then lookup against new ones, but it's less efficient than what OP proposes.


Can you share how you do the SD card thing?

I'm not sure how to autorun when an SD card is inserted (using ubuntu here).


I used udev to run the script as soon as the drive is mounted. The tricky part was ensuring the drive would mount automatically when inserted, even if I wasn't logged in. I tried a range of different tools, and eventually settled on autofs.



for number 2 how do you handle tax season? Mine was very complicated last year and I didn't fully automate my trading.


tl;dr: I don't.

There are a couple of reasons why I don't bother:

The first is that I consider what I'm doing to be a hobby, and therefore tax-exempt. The point was more about the challenge of writing the bot than seriously imagining that my trivial algorithm could make money. Because it's currency trading, I expect the Australian Tax Office would disagree with my definition, but there is one thing in my favour -

The second reason is that, despite hitting almost A$2000 profit around January, as we head into tax time it's sitting at less than $500. Also, I've never realised any of these profits - I withdrew the original A$500 investment, but everything else just keeps getting reinvested. I don't think the ATO is going to be too troubled that I've got a little under A$500 worth of pretend-money floating around in the aether somewhere.

Bottom line, I'm not going to worry about tax until there's enough profit that I can pay an accountant to worry about it for me, and possibly pay some backdated taxes. The up-side to automated trading, even for small-time personal investors, is that the ATO regards it as "carrying on a business of share trading" rather than investing as an individual, and their rules appear to be a bit simpler in that situation.


Ah I thought I was in a similar position until I did some reading up on US tax law. Turns out that even though I sold and bought back within a very short time period the sale amount - cost basis = taxable income.

I was doing some swing trading near the top and it ended up that I am paying significantly more taxes than I ever put into it.

Oh well, live and learn.


What exchange service are you using in #2?


And sorry, that folder structure in #1 has no sense


Oops, I meant to write YYYY/MM/DD. I even proofread it before submitting.


Bittrex.


My son used to ask me every morning whether to wear warm-weather clothes or cool-weather clothes, so I wrote a app that scraped some weather data and served it up in a web page as a temperature graph, along with a recommendation for what kind of clothes to wear.


How did you automate your son seeing this web page?


You must live in the Midwest? Or somewhere else where seasons change on a daily basis.


...you wrote a weather forecast?


I think they’re saying they slimmed it down to just the parts they needed. A lot of weather sources have very busy web pages.


Reading ebooks.

https://Auditus.cc


Ahh! The centraaal station! :)

I'd love to have a service like this with wavenet-quality TTS. These are a bit jarring. Although, like low quality audio files, I guess you get used to it pretty quick?


It uses AMZN Polly for the backend, switching to Wavenet types would cause an 4x price increase (based on current offerings by the majors clouds). It is a bit difficult to justify because that would exceed the cost of an off-the-shelf audiobook from e.g. Audible. I do however plan to add it as an option.

If you have any ideas etc. drop me an email! (See profile)


For you, has this automated (audio)book discovery by farming it out to visitors of your website? :)


Indeed, everytime the server goes down (every other week), I have to SSH in and trawl through all the amassed epubs...:D

(The files persist until the conversion is fully complete i.e.uploaded to S3 and sent to user)


I automated my bedroom lights in a house share. I have 3 lights: the main cieling and 2 more which are a floor standing and a desk light. For sensors, I have a magnet door switch and a PIR sensor to detect direction of travel (enterring or leaving the room) and a photocel sensor to detect day/night).

The main lihht turns on for 1.5 minutes, then the other 2 switch take over for 'chilled' lighting. If i leave, the lights go on a timer for 10 minutes. If the PIR doesnt pick up movement, or i have not returned, the lights go off. When going to sleep, i have an acarde button as a master switch to either turn on chilled lights or off.

The lights are controlled with 5v relay switches. No intrusive adjustment were made to the main light, as i bought male / female bayonet socket to wire/ wire to bayonet socket adapters.

An Arduino is controlling the whole thing, and the wire used is cheap RGB 4 pin wire off ebay which is i belive 24gauge?

Still a bit buggy after refactoring, but ill get there eventually: https://github.com/alfanhui/automated_home_lights


I first built ATTIC, which aggregated and indexed newly available products from local furniture stores in DC, to serve the personal needs of me and my wife. We were trying to furnish a new home using only locally bought goods, ideally vintage ones. I started with 15 or so stores to save us the time of having to go to each website one by one. It was pretty crude at first, but did the job. It saved us time and in some cases actually gave us an edge in seeing pieces that sell out quickly. Our home has come together well and almost entirely sourced from ATTIC. Mission accomplished.

Four years later it's now available in six cities and indexes hundreds of local independent stores.

https://attic.city


The lights in the most reasonably trafficked areas of my apartment are automated. The kitchen and bathroom mainly.

If I'm in the kitchen I'm actively cooking or using the sink and pacing around, so the motion sensor keeps the lights on. After 1 minute of no motion, they turn off. Important to set timers though as the lights are no longer a reminder if something is in the oven or on the stovetop.

For the bathroom, I have a sensor placed precisely to view both inside and out of the shower with the curtain closed. This means the lights won't turn off while someone is in the shower unless they stand really still for 2 minutes. If someone wants to take a bath and won't move much, I can override the sensor to a longer shutoff time.

At 6:30pm I have a light that turns on to simulate that we're home. Looking to move this to a "sunset minus 30 minutes" model soon so it appears more organic.

At 2am, all of the lights turn off in case we forgot, or as a friendly reminder to go to bed. It hasn't worked today. :)


We have some battery-powered motion-detector LED lights about 1ft from the ground in our bathroom and hallway.

Makes walking around late at night less painful. (Children's toys end up everywhere!)


Now that's clever. But I'd really love if someone would invent a kind of roomba that puts away toys


Toys that put themselves away will get here before the Roomba that puts away toys does.


But then I'd have to buy all new toys.


Good luck getting individual LEGO pieces to put themselves away :)


You need some kind of katamari damacy style ball of Lego that rolls around collecting pieces and getting bigger


For the bath, couldn't you add a sensor that detects water level in the bath and use it to override the lights? Even something as simple as measuring the weight of the tub would work, and would simultaneously cover the shower cases too.


Measuring the weight of the tub doesn't sound simple. A camera or ultrasonic level meter would be easier to set up


Visitors might be alarmed to see a camera pointing at the bath!


Simple and easy aren't the same thing :)


Ultrasonic distance sensors are pretty simple, though.


I created an API for the waste collection (cardboard, organic, paper etc.) of my city based on some CSV that they publish. I always forget when to put what on the street, now thanks to my API and IFTTT and get a notification on my phone to remind me.

If anyone is interested, the API is here: openerz.herokuapp.com and the city is Zurich, Switzerland.



Nice! Will see if I can do something similar for Adliswil.


1. PhotoBooth: Canon Selphy photo printer + Raspberry Pi + Special Gmail address, check for new emails with image attachments, send to printer.

2. Temperature IoT Monitoring: temperature monitoring in baby room. Takes 1 minute samples of temp and humidity in the room and also records local weather in zip code. HTML Dashboard to keep track of it all. Uses very cheap NodeMCU+wifi board.

3. Webcam Timelapse: Cheapo Chinese Webcam + RaspberryPi + special no-internet access wifi networking (cause I dont trust the Chinese webcams). Grabs a frame every minute and stitches it into a video .


I made a sensor board that has light, motion, temperature and humidity sensors and IR LEDs and put one in every room. I put Sonoffs on the lights and various other devices and wrote a small managing program to coordinate the lot, so lights turn on when you walk into a dark room and turn off if there's no motion or if you turn on another light. The IR LEDs also control the TV/AC/etc.

I've also added various other things to it like Wifi presence notification, so it sends me a notification if a guest arrives, and hooked it up to Kodi and an Amazon Echo so I can say things like "play Iron Man" and it will turn on the TV, put on the movie and turn off the lights.

Not super useful stuff, but it was fun.


Really interested in what sensor boards you used to detect everything. Have you shared any of your code at all? Sounds like a really cool project.


Yep, here you are:

https://www.stavros.io/posts/building-cheap-home-sensorcontr...

I used an ESP8266 with cheapo sensors, the whole board costs like $5 or something. The software is pretty ad-hoc but is not more than 100 lines of code.


Finances. Paychecks are direct deposit, monthly bills are auto-pay, and my wife and I each get an allowance deducted weekly from our shared checking account into our separate checking accounts. We do still have a monthly non-automated task where we enter the current state of all of our accounts into a spreadsheet, and copy the totals into another spreadsheet that tracks our finances over time. It has been really helpful to help plan and see our progress.


I once made an automatic humidifier controller (aka a humidistat). It consisted a remote-controlled outlet, a RF circuit, a temperature/humidity sensor, a humidifier, a screen, and a AVR microcontroller. The AVR microcontroller is programmed to loop, sleep, and read the measurements from the sensor periodically. If the humidity is below my threshold, it fires up the RF transmitter and switch on the outlet hence the humidifier connected, vice verse.

The remote-controlled outlet is a commercial off-the-shelf product for ordinary consumers. I reverse-engineered the 433 MHz signal using a RTL-SDR receiver and some widely-available programs. Using this outlet instead of making a circuit by myself allowed me to bypass the regulatory issues, as the outlet itself is already UL-certificated - no physical modification at all, if the outlet blew up anyway, I'm not liable for the damages at school.

A simple little thing, but extremely useful. It did a good job for maintaining a prefect humidity in my dorm room and made us survived the dry winter (RH <15% otherwise, due to artificial heating). I tweaked the microcontroller with an oscilloscope to make sure it uses minimum power. The whole controller is powered by 4 AA-batteries, with > 10 days of battery life, and fit on a single breadboard. All I need to do is refill the humidifier with water every morning.

The only trap is the unreliability of the humidity sensor, because humidity measurement is inherently hard. >15 USD sensors are reliable, don't attempt the project with cheaper ones, as the only humidity-sensing element they use is a resistor and it was completely unreliable. It was pretty frustrating and lots of fruitless debugging involved because of the crap sensor initially.


Watering my plants outside.

Some of them are connected to the water line, so I use a german commercial solution that irrigates 1-2-3 times a day for x seconds.

I just hacked the electric signal of the valve with a cable, sugru and 3d printed parts to control it with a raspi, so it is dynamic, based on the weather and water sensors, so water is not wasted.

Other plants are not connected to the water line pipe. So I use terracota recipients and a raspi controlled deposit of water to add some water the terracota will absorb by capillarity and irrigate the plants this way.

There is no better system to irrigate plants than capillarity.

I fill the deposit manually once a month or so.

I also brought a bread-pizza mass machine as in some countries there is no good bread like in Spain or France, this way I could design my own custom cycles depending on parameters like the weight of the bread I will make. Automating it was super simple.

I created a book reader-digitalizer, all my books are digitalized, OCR.... The hardest thing to do was flipping pages. At first I used vacuum with a super complex system. A year ago or so I simplified it enormously with just a cheap Chinese electrostatic device.


Most automation doesn't work for me. I don't keep to a set 9-5 schedule, so anything that assumes a routine fails me. Here's what I do use.

Tado - a smart thermostat, sets the temperature while we're in the house. Heats up water only if we're in. Uses an app to geolocate us.

Lifx - lightbulbs which automatically dimm at 2300 (good reminder to go to bed) and auto switch off a couple of hours after sunrise.

Everything else is either always on (security cameras, smoke detector) or run as needed (Roomba, car charger, electric blanket) or autonomous (Moixa solar battery).


> I don't keep to a set 9-5 schedule, so anything that assumes a routine fails me. Here's what I do use.

This has been a pet bug of mine for a while. My shifts are never the same 2 weeks in a row, and I feed it all into my calendar. But homekit etc won't consume this.

I've botched together a few scripts to set my heating based on the events in my 'work' calendar, so it sets before I get home, not after, and it does seem to work much better than any geofencing or 'learning'.


Incredibly minor, but I made a Workflow to log weight + waist circumference to Apple health.

I measure each every morning. Then I press one button, enter both numbers, and get on with my day.

Not full automation, but having waist circumference along with weight has really helped me get a better sense of fat loss while doing strength training.

(Workflow app, for the Workflow)


I made SigParser.com to automatically read email signatures in emails and keep SalesForce contacts up to date without having to do it all manually.


I have several scripts that make my keyboard behave better, which is "automating" in a sense. I basically have vim-style keys anywhere on the computer, as long as I'm holding caps lock. (So e.g. caps+j is the same as down arrow). This includes some more complex motions like "select current word", and even things like "open two quotes and but the cursor between them."

I also have a script which scrapes my podcast player's website, to give me a list of podcast episodes that I already played. I save this list every day in an excel file, but the script makes this much easier - I run the script, then paste the results into the excel.


Autohotkey?


Hammerspoon (Mac).


I relocated to Germany but never studied German before and at work we all speak only English, so my German knowledge lacks a lot of words, though the grammar is OK. However here one has to deal with a huge number of letters, and there are always unknown words and phrases. So I have created a tool based on tesseract OCR, Qt and offline dictionaries of dict.cc to read letters and all kind of contracts. I also used www.lingvolive.com at the beginning but then the API changed and now I don't have time to update it. Nevertheless it saved me tons of hours, now I can read a tricky letter within 5 minutes instead of an hour.


Hi Sergz! I'm building something similar for Chinese, https://pingtype.github.io - there are a lot more letters to deal with over here. Do you have a link to your code?


I'm also interested in the code, if OP is willing to share.


Hey! Here it is http://school-text.github.io/. I'm not ready to share the code, perhaps we could just discuss the topic firstly, though.


Thanks! Your comment caught my eye because I also struggle with some letters that I get in German. I'll definitely test out your software, I didn't anticipate that you had it already packaged nicely - I was anticipating some github repo, hence asking for the code.


Lights in the garden/living room come on automatically based on sunset time and weather. Fans ventilate the house/shed based on moisture and CO2. I'm in the process of automating the sunscreens on our windows.

So, mostly domotica stuff.


Turning on/off outdoor lighting as sunrise / sunset changes over the year.

Raspberry Pi runs a program that gets sunrise sunset data for my lat long, and then turns on off lights depending on that data plus preferences about when the earliest I'd expect someone to be leaving/coming.

Used to have a little timer that plugged into the outlet, but you'd keep having to update the on-off times as the seasons changed, and the clock kept drifting.

There are photo sensitive equivalents plugs, but apparently they don't work great, and they would keep the lights on all night long, and light pollution is a pet-peeve.


What exactly does the RPi control? Is it some sort of WiFi or programmable outlet? I've wanted to do this, but wasn't sure how to get the RPi to control the lights.

My mechanical timers have all broken or drifted too.


I automated my bugzilla integration.

As a software maintainer, people sends Bugzilla entry in all different forms: Full link, only numbers, BZ<number>, BZ#<Number>.

Of the last tree options, I need to open an random bugzilla link, remove the ID and replace with the sent number. It's like 10 seconds work, but I have to do it 20~40 times a day.

Nowadays, I mouse-select some numbers and press CTRL+B. A 10-lines-python-script is called from gnome. It uses xsel to see what do I have selected and, if it looks like a BZ, it opens firefox will the full link for me.

It's ridiculous simple, but it's a time/sanity saver for me.


I've helped few Indian farmers by doing this.

http://neelkadia.com/fillatank


Screen scraping photos of my kids from a kindergarten website. Recognizing good photos that feature my kids and deleting everything else is manual, though.

Alerts to my phone if the fridge or freezer temperature exceeds a limit or the humidity under my dishwasher starts rising.

Granted, neither are fully automatic and require manual intervention.


I wouldn’t be that pleased with a childcare facility taking photos of my kid then putting them on the internet. I suspect I’m in a small minority though.


It's behind a login and they've asked for parents' consent for each child separately. Everyone with access has agreed not to share any of the photos.

I actually haven't shared my scraper script just because I think someone would then share the pictures (perhaps accidentally).

EDIT: I'll just add that there are no public photos of my kids and I ask anyone who takes photos not to share them outside family. So I do agree with your point.


That’s less alarming than I’d interpreted, and I didn’t mention in the first post - your script is a good idea.


It could also be scraped behind a login. Plenty of headless web browsers now that can be scripted to login and then start scraping.


Why?


Why do I want to keep kindergarten photos of my kids, or why don't I want to manually save them one by one from the website?

Why do you ask?


The question was directed at lostlogin, not you. I’m interested to know why people object to have their kids pictures on the sites of the daycare providers.


Kids don't need to be exposed on the internet until they are able to decide themselves if they are okay with it. When that is is up to the parent. I always ask my 8-year old even before I share photos with her grandparents.


"I don't know why you're so upset, sweetie. You said it was okay when you were 8."


It’s more that I don’t know the reason it’s being taken. We have had photos taken by tourists that have sidled up and taken photos and had companies take photos then ask for permission for use in promotion. We felt pressure to accept these after the event, though didn’t.

And then there is privacy.


Did you build the IoT devices yourself or used an off the shelf solution?


I'm using a ready-made solution from http://wirelesstag.net . While I think I could build suitable hardware myself, I wouldn't have the skills to make them run on a battery for two years.


Virtual development environments in LXC and KVM https://github.com/kstenerud/virtual-builders

I can spin up a virtual Windows, Mac, or Linux machine, and access it via virtual desktop, from any linux host running LXD 3.0+ (currently Ubuntu 18.04 server). I can go from a freshly installed server to a fully functional, deterministic dev environment in one git clone and build script run.

I also keep a virtual desktop or two around for any long running tasks that require a GUI environment, or for browser tabs I want to keep open long term.


Is this automating your personal life? This is like using bash.


This is automating the creation of a fresh desktop environment, which would otherwise take hours. For example, I can try out a few different Android dev environments without them leaving ghosts behind to mess with future android dev environments.


I once had a long distance girlfriend who lived on the east coast. She would like to see "good morning" texts from me, the problem is that they are 3 hours ahead, so I wrote an On.X bot to do it every morning and pick randomly from a handful of messages


Great job.

Only question I'd have is: Could this go wrong e.g. if you were away (and she knew it) but the bot continued. Also typically aren't good morning texts followed by light follow-up conversation?


We use a slow cooker which pretty much automates a lot of the process of making dinner. Just chop ingredients and throw them in. Now I just need to build a robot to chop veg


https://www.youtube.com/watch?v=2u8E-4YVANU maybe something like this ;)


Food processor? ;)


In French, food processors are even called "robot culinaire"


Touché


Are you familiar with a Thermomix?


I've heard of them, sort of like a pressure cooker?


You're probably thinking of instapot.

Thermomix is more like a blender with a built-in heating element, so you can throw your veggies in and then it blends and cooks them.


I fall in love with the 18th art. Everyday, I spent around 15 mints to open and see what news from Google Art and Culture and WikiArt.

Until, one day, I'm so lazy to do it, and write the macOS app to fetch feature art and set it as a wallpaper on my personal laptop daily.

It's my rescuer.

https://github.com/NghiaTranUIT/artify-macos


In 1998 I was a big fan of Ultima Online and I had just gotten my first rack in a real datacenter (as opposed to an office server room, etc.) with a real backbone connection.

So I loaded Windows 98 onto an old desktop, installed PCAnywhere, the UO client and a macro utility.

The result was a lightning fast, never interrupted connection to UO with a macro'ing character running 24/7 on a headless PC in a datacenter.


I wrote a system that automates disappointment. I wrote it once and now the disappointment keeps on coming.


I automated searching for a rental property across all the major property websites in my country. In particular I was looking for properties with certain attributes (bathtub, lock up garage etc.), in a specific set of areas (GPS-based areas predefined on a Google Map based on proximity to train station, dog park, nearest shops etc. in suburbs my wife and I liked). None of the existing property websites offered anywhere near that level of search and notification customisation, so I cobbled together a Python script that scraped the websites on a daily basis and ran all the results through a filter. Anything interesting was emailed to us both so we could reply by email and have a conversation about it. My wife and I decided to be super fussy since we didn't need to bother manually searching. After about 6 months my script found a winner and we're now in an awesome place that ticks all of our boxes.

I didn't dare automate the application process... I had nightmares of 450 property managers calling me at once saying "Congratulations". :)


Hallway lights come on automatically at sunset.

Heating comes on at 4.30am in cooler months, turns off when we leave to go to work (along with the bedroom, hallways and kitchen lights which come on at 6am)

Heating comes back on at 2pm if outside air temperature is below a certain threshold.

Bathroom floor heating and towel rail switch on and off at various times during the morning, afternoon and evening depending on the day.


Hallway lights come on automatically at sunset.

Does this mean you constantly have light there even when you're not around? Any particular reason for that (maybe the switches for it are placed awkwardly or so?)


My cat is often underfoot or very close by, without the automation I’d be turning the lights on and off manually many times a night. They only come on at 1% brightness.


Ha, cats. Strange I didn't think of that seeing the little buggers sneaking up on me all day long here :)


Security. I do this too.


Assuming you mean security nor for yourself (as in, to see where you're walking) but for burglars, thinking about this for a bit I'm not sure if this always works as intended. Would be interesting to see stats. But it's definitely not as simple as 'light on = scare away intruders'. Suppose your hallway light goes on every single day, even if you add some randomess to the timing, a burglar which scouts the neighbourhood a couple of days will quickly figure out the light being on doesn't mean anything with respect to you being at home or not. Moreover it would be convenient for him/her once inside the house since there's more visibility. Unless of course that also means the neighbours can then clearly see someone being in the house. Then again, if your neighbours don't know you're not at home that matters less.

edit seems it's indeed a point of discussion https://skeptics.stackexchange.com/questions/8956/is-it-safe...


Does light increase security? I don’t pretend to know better and I like it at home so that I don’t suffer the near fatal stepped-on-Lego.


I've fully automated my supply of fresh local coffee beans using a connected scale. I leave my beans on the scale and the data is sent to a ML system that learns from my consumption and reorders for me so new beans arrive at the right time.

(I'm a beta tester here: https://www.getbottomless.com )


Neat. Can you suggest a good scale with an API (or other data stream)?


I bought a kit and made my truck a push to start. Instead of using a wireless key device their is a hidden switch that makes it seem kooler. I also replace the radio with a zero pi that does some neat things. It is controlled over bluetooth from my phone. I also war drive with it and map wifi for fun and some other things.


I'm writing a service that downloads content from Reddit. Usually I just want to see the top video of the week, or maybe the top 5 pics from /r/pics every day or something like that. The service has handlers for various kinds of URLs. For example, if it detects a youtube URL, it utilizes "youtube-dl", or if it's an image link it will use curl, if it is a text post, I might download it as a json object from the reddit API.

This serves two purposes for me: 1. I can be more specific about how I want to consume reddit. ie, I can fine tune parameters for each subreddit. 2. The download destination is directly to my NAS, so I can hoard it. (Bit of a datahoarder here)

It's been a fun learning experience identifying the diversity of URLs/Domains that are posted to reddit. Definitely a different perspective.


I made a script that scrape many job offer websites and send a notification email when some custom rules match.


Nice, I was working on one to scrape remote job sites and send me relevant results to my inbox but I successfully got a new job before I finished it


Getting a laser guided vacuum robot. Automating vacuuming is awesome.

Also my cat would disagree about who trains whom, but he uses the regular 'throne' in the restroom.


With gmail you can only auto-forward mail to mailboxes which you can prove you own / have access to (by responding to an email challenge generated by google, sent to that mailbox). This meant that I couldn't automatically forward receipts / invoices from e.g. Airbnb, Digital Ocean, Microsoft etc., to Expensify. So I have a cron job that logs into my gmail account every night at 2am, scans for new mail matching certain criteria, and manually forwards it to Expensify's mailbox.

Now I don't have to remember to forward mail to Expensify every time I book an airbnb for business travel, or pay my monthly O365 subscription.

It works great, except for when a company decides to change the format of their emails and I have to update my script to use a new search pattern.


1)you could buy a cheap domain, create you@domain.sth

2) mail forward setup you@domain.sth -> regular gmail

3) setup gmail forward address test to you@domain.sth

4) validate

5) mail forward setup you@domain.sth -> Expensify's mailbox

6) ^^


Ha, yes that would have been much simpler :)


I used the VoiceRecognition API to control my music player using voice commands - works great for cooking!

https://smalldata.tech/blog/2017/11/15/building-a-voice-assi...

I also wrote my own little VPN kill swtich - great for ensuring that my browser shuts down if the VPN dies.

https://smalldata.tech/blog/2018/04/11/building-a-vpn-kill-s...


I use https://www.home-assistant.io/ to do a coupple of automations like switching everything which uses power off when I leave home to preserve energy and switching a CCTV cam on at the same time for safety reasons.

But one of the more usefull automations is a text2speach script which fires in the morning between 6 and 11, during workdays, when I'm not asleep but still at home, always 7 minutes before the next train to work leaves. This way I miss the train faar less often.


Seconding Home Assistant, it's really the glue that allows for the leveraging of other systems.

I was able to set up something I had wanted for a long time which was to turn off my TV/Stereo/Kodi after idling. I built the conditions which caused the the whole thing to shut off via Harmony hub after 10 minutes of idle after being played.

The one downside is the project moves really fast so you have to keep up with breaking changes sometimes.


I use home-assistant with LIRC to give my Chromecast a dedicated play/pause button on the universal remote. It also pauses the Chromecast when I power off my AV receiver.

Then there's a cron job that beeps on the hour (a 4-bit number from 1-12), so I can hear if my computer and watch are in sync.


I made a chapter skipper for VLC because I couldn't find one that worked for shows that don't have the actual intro right at the start of the episode.

https://gist.github.com/VictorPascu/1886f97927f759ec45977556...

It causes not responding prompts because I couldn't find a good way to implement a sleep call on the checker, but hey, it works, and I'm lazy enough that I'm willing to burn processor cycles to not get out of bed.


Watering my plants. Nothing fancy, just using an automatic watering system.


If you're talking outdoor plants, this thing is great: https://www.rachio.com/

(If indoor, overkill.)


Well this is way too fancy (and expensive) for me. I am using a good old Claber system which costed ~ 40 euros with the hoses and drips: https://www.easywatering.co.uk/claber-products/automatic-wat...

It works perfectly (watering the plants 1-2 times a day depending on the setting I set); I like its simplicity and easy of use!


Lots of crazy complicated Outlook and gmail filters that block sales people, spam, and so on.

I wish I could do the same for my phone. Robocalls are out of control now. At least 4 a day, sometimes 20+.


I've found that human help is a surprisingly cost-effective means of personal life automation. A cleaner comes by every week to clean our apartment; a company sends over a box of groceries so we don't have to shop; a nurse takes the twins out for their stroll every other day. All that put together doesn't cost more than $500 per month, and saves us literally dozens of hours. Next I'm looking for someone who'll take care of home maintenance chores. Wish me luck. :-)


Everything thats old is new again. Watch Downton Abby and Remains of the Day for additional tips on cost-effective personal life automation for the new techno-aristocracy.


Not too impressive, but I'm glad I have it - a cronjob runs each night and makes sure I shut my garage door. It is an open source python project to talk to the alarm system and a relay between the pins of a raspberry pi and and a wire I soldered to my garage door opener.

I also threw together an Alexa skill that I can tell goodnight - it closes the garage door, turns off some lights, turns off my hot water heater and arms the alarm.

Nothing large or fancy, but they get used and save me at least seconds a day!


I'm considering a filter that looks for emails from my parents with the words "computer" and "problem" and auto-replies "Did you try rebooting?"


I love automating things!

- Automatic cat food dispenser

- Smarthome with HomeKit for lights, fans and stuff. Using motion sensors and time based automations a lot

- Browser extension to automatically add Japanese words I look up to my Anki deck

- scripts to automatically ocr documents in my Dropbox, run it through classification for automatic renaming and information extraction, then add it to DEVONthink for archiving. Then using a document scanner app to throw things into Dropbox

- ifttt / zapier actions to add pull request reviews to my todo list, automatically translate Japanese messages to English with slack reactions, backup posts/pictures I am tagged in on Facebook, and and and

- AppleScripts to generate random usernames, one time emails (with date and website encoded) and logging generations in DEVONthink

- mini bots to normalize pull Request titles / descriptions, link them to JIRA tickets, assign them to the PR opener, transition to “in progress”

- sieve Filters to automatically bounce expired emails, organize based on website, automatically redirect tracking emails to Deliveries, add flight emails to flight tracking apps

- cli tools to clock me in, clock me out and warn me if I’m under my agreed hours at work

- a lot of workflow workflows on my phone to do things like: navigate me home, find a Starbucks, and heaps of other smaller things

...and probably many more. In general, if I have to do something manually more than 3-4 times and I notice a pattern, I try to automate it


My laptop buzzes loudly if I slouch or put my hands on my face. Minimal effort implementation; damianmoore/tensorflow-image-classifier, fswebcam, cron, aplay.


Can you open source this? Sounds helpful


  fswebcam --no-banner capture.jpg \
  && classify.sh tf_files classifier capture.jpg \
    | head --lines 1 | grep --quiet '^slouching\b' \
  && aplay buzzer.wav
Polish to taste.


IDK if it's the same, but https://github.com/pyskell/slouchy is an implementation.


I have automated payment of recurring bills. This was after paying a lot in interest reminder fees and at a period working to much. The billing automation makes me not worry if I paid bills or not.

We have sometimes automated household shopping. We order food online at a grocery chain and the next day it is delivered home.

Automation most of us use washing machine. Cloth drying. Dishwasher. These three automation saves a lot of time.

Cleaning of car through car wash at times.


Robots wash my dishes and my clothes for me, keep my household boiler stoked, and manage the ambient temperature. I also don't ever have to refill lamps, or go around with a match each evening to light them.


I like my vault as well.


Not sure if this is much of an automation. But here is one app I recently did:

ANDROID POWER LOGGER: https://www.youtube.com/watch?v=TfvtrlC62mI

Above is an android app that does the power logging - at work I am able to find out if power has gone at my apartment so I can inform the electricity board and hopefully get it back up again. It turns out that the EB has a will of its own... :(

I re-did the above app with an android app called tasker - hence obviating the need for an android app. (Tasker and Join - both apps are paid and from the same developer)

Further I have some trivial apps based off of tasker. For e.g. I have an app that fetches my wallet balance. Here although the wallet app is capable of showing this...the experience is limited since, I have to do more than 2 clicks to get it. Hence, I made this information available in a single button click.

Another trivial app - is to track my upcoming train journey via tasker...(because Indian Railways web portal makes its very hard to know this particular thing).

There are others too in pipeline...


I automated my weekly task, goal, and reflection tracking. I mentioned it a few months ago[1]. Now I have the barebones version running here[2]

[1] https://news.ycombinator.com/item?id=16561343 [2] https://natriumapp.com/


Automatic driveway lights via motion sensor. Automatic house fan (when in saves me money on heating or cooling). Light assisted alarm, makes the bedroom lights 10% brighter a minute before the alarm goes off.

Pretty amazing how cheap things are these days, an arduino or Pi 0w and some relays can do quite a bit. Just bought a opengarage.io and considering the opensprinkler.


What did you use to accomplish the light assisted alarm?


Colored lights (LIFX) change color automatically during the day. mostly thanks to their scheduling, though the one in the foyer changes color based on both the time of day and on the temperature and rain forecast - during the day I can glance at the light and know how to dress. That happens with a Python script on my computer, which I should really move to the Raspberry Pi in the living room that I could leave on 24-7.

When I make a blog post, my WordPress installation automatically posts about it to assorted social media sites. And when I post a new page of comics I can make it automatically calculate the next day it would come out on, based on the schedule I’ve chosen (new pages Tuesday/Thursday, unless Shit Happens) and on how many pages are already in the queue, if any.

When I put together a book of my comics, I use a small AppleScript that runs over a directory and outputs a sequentially-sorted CSV of file names, which I can dump into an InDesign template.


I want to do something similar with my Lifx lights, they would glow green in the morning if the train is 10 mins away, they would glow red if its 5 mins away which means I wont be able to walk to the station and catch it.


My little light script is here if you want to see how it's hitting an a web API for the weather, then talking to the bulbs: https://github.com/egypturnash/weatherlight

It ain't pretty, and the menubar app part of it stopped working a while back, but it still does the job.


Thanks, will play with it this weekend.


You need to follow a gradient


My experience with using light color as an information source says that's a bad idea. You can only reliably communicate maybe about eight or ten states with one light before you start getting into "is this yellow or orange, I can't decide".

So maybe "you'll just miss the next train if you leave right now" and "you'll catch it if you leave right now" could be augmented with a third state, "hey you'd better leave RIGHT NOW if you wanna catch the train". But a slow glide from red to green is going to have too many interim states.


Used a motor and a TP-Link smart plug to open bedroom curtain every morning, and close it in the evening. All bought on amazon.


Oh boy, great question. Over the last couple of months, I've been writing apps for a single user: me. Here's what all I've built so far:

1. A custom twitter client

I feel like tweeting whenever I get an insight so I post a tweet several times a day. But I whenever I used to tweet, I'd get pulled into an endless stream of notifications and timeline. So I wrote myself a client that does only one thing: posting of tweets. It has no timeline, no notification. In case you want to use it, it's hosted on https://tweetaway.herokuapp.com/

2. Site-specific search (along with Google)

I find great content on HN, so I built myself a stupidly simple website which opens up Google.com and site:ycombinator.com +keyword whenever I search. Using it, I've come across so many interesting threads that I would have never discovered. E.g. when I searched for entropy, I came across this gem: https://news.ycombinator.com/item?id=14709896

You can access it at https://dualsearch.glitch.me/ (you'll require a Chrome addon to modify Cross-origin headers because Google doesn't open in Iframe)

3. I miss my cat at work, so I built a Chrome plugin that shows an icon of her + a funny one-liner https://chrome.google.com/webstore/detail/orbit-the-cat/fjni...

4. Last weekend, I wrote a twitter bot that retweets my old tweets that got many retweets (to resurface them in US timezone, because at that time I'm asleep)


This might be another good option for you!

https://hn.algolia.com


For searching HN, also (using searx.me): `ddg !hn topic here`


Whenever my emacs starts up and the horizontal resolution of the display connected to the computer has changed, that fact is recorded to a file. That file is consequently a record of when my computer and consequently I arrived at and left my girlfriend's place (because the resolution of the monitor I use there is different from that of the monitor I use at home).

I also record the start and end times of any intervals during which I do not interact with my emacs. (I'd rather have a record of intervals during which I don't interact with my puter, but that would prol require me to write a kext.) This is useful for reconstructing when I left home and when I came back, among other things.

(One file records only intervals of idleness 49 minutes or longer. Another -- the one I refer to the most -- records intervals 7 minutes or longer. Another, intervals of one minute or longer.)


Congratulations!

You have entered the questions: what have you automated into HN.

This response automatically reminds you of the times this question has been asked before:

Just kidding! I didn't actually automate this response, but someone should since this question will be asked many times and this is probably the most successful collection to date.


I usually rewrite React.js components between function and class. This is tedious and at the same time a common task. Therefore I wrote a program that takes a javascript code as an input, and returns a converted code. It does so by parsing the input and walking the AST.


Generating and sending recurring invoices for my side projects. Lambda + SES, set on a monthly CloudWatch schedule, done.

https://github.com/forrestbrazeal/invoiceless


I have automated a couple of metrics that I like to keep an eye on.

Credit card expenditure: since my old-school bank has no API of sort, I trigger via Tasker a daily sms to a bank number that replies with the amount left before I get to my CC limit. I then parse the sms (Tasker again, using JS) and display the amount that I have spent so far on the home of my mobile. This simple warning has dramatically helped me to keep my CC expenditure in check.

Goodreads yearly target: using a combination of Tasker, Goodreads API and some JS, I display the amount of pages I have to read each day in order to reach my yearly target of books (assuming an average length of a book of 250 pages).


Does this make you avoid reading very long books?


Not at all, it's just an average. Some books are shorter than 250 pages, other longer.


After starting to do groceries via an online supermarket that delivers to our home, I found it a hassle to add all ingredients one by one every time. So I "reverse engineered" the supermarket app API via a proxy, and made a tool to order recipes. When ordering a recipe, all ingredients are added to the cart. We use the tool for almost one year and it saved us a lot of time. More info + source code (Elixir, ReactJS): https://adrian-philipp.com/post/learning-elixir-second-side-...


Some minor things.

* Automated a "speed check" of my new internet service provider to see what kinds of speeds I'm getting throughout the day/week.

* As an MMORPG player, wrote a log file scraper to automate different events; when my avatar's spells fail or expire, when specific items I'm looking for are put up for auction, when my avatar is sent a private message, how long it takes to "zone" from place to place to check for network issues, etc.

* Wrote a public web site that tracks population of a particular game over time. Mostly to exercise some coding skills.

* Automated some email alerting that I couldn't otherwise manage with my calendar system(s).


I have a website which aggregates different videos and articles. I used python and scrapy to achieve this goal. I run it on a $5 linode server and it generates 150€-200€ daily. My website is hosted on webfaction.


By aggregate do you mean plaggiate?


Daily backups (ARM board in my parents' garage plus rsync and cron, and vice-versa). I think the original script is over 10 years old now.

Reminders to do cleaning and maintenance, just cron emails to Trello.

Music alarm clock, this has been local control of Amarok (KDE) or a Python script for a Chromecast.

I intended to automate control of the central heating, which for some reason has a commercial grade control system in my apartment with an ethernet port. But I found the building is so well insulated, it hardly runs anyway. (Which I found by monitoring the state of the heating and making a graph.)


Not directly on topic, but I am disappointed that window cleaning has not been automated yet. Window cleaning robots do exist, but they have a long way to go to become as good as automatic vacuum cleaners.


Savings and index fund investing. I have an automatic bank transfer to my broker account every month and then I'm using Interactive Brokers API in a script that buys global equities index ETF.


Do you always put in market orders?


Probably the one I'm most proud of is my backup system. It includes:

- My web server making automated backups of it's databases.

- My computer automatically downloading and cleaning up the backups of my web server's databases.

- My other computer making a copy of the important files on my computer (including, of course, website database backups).

- My offsite machine making a copy of all of that in another location.

At the end of this process: My important personal files are currently stored on five hard drives in two physical locations. All of this happens without me really paying attention to it.


I haven't done much compared to some of the others in this thread, but I've done a few home automation things.

Using Phillips Hue light bulbs with the Hue API, I created a PHP script that automates a number of lights in the house to perform different actions at different times of day. A light on my nightstand does a slow fade up for easy waking in the morning and then switches itself off about an hour later once my wife and I are long out of bed. There are also a lights throughout the house that flip on at sunset and then switch off at different times later in the evening, signaling, hey, it's time for bed. Yes, I could use a smartphone app (or apps) to do similar tasks, but having direct control in script form is so much easier. Changing times or adding a new bulb into the system is just a matter of editing an array in the script.

We also have a terrible time with water leaking in the basement. The sump pump we have does push out water fairly well when it runs, but it gets overwhelmed easily. Plus, the float doesn't always work correctly, so water can collect in the pit without the pump switching on like it's supposed to. So, using a combination of a TP-Link smartplug, a Wireless Tag water sensor, IFTTT and another custom PHP script linking to the TP-Link API, I now have a system that keeps water out permanently. This particular sump pump has a manual switch that allows it to run, bypassing the float. I leave the switch in the ON position and plug the pump into the TP-Link smartplug. Then I mounted the Wireless Tag water sensor in one of the basement drain pipes. If the water rises high enough to trigger the sensor, IFTTT triggers the TP-Link plug and the sump pump runs. Once the sensor no longer detects water, IFTTT again sends a signal to trigger the plug so that the pump stops. Along with this method, using PHP with the TP-Link API, I monitor weatherundergound.com every 20 minutes and if the current conditions show any form of rain, the script switches the pump on, lets it run for 10 minutes and then switches it off. Just long enough to keep the water level from rising too high. I connected all these water prevention items up a few months ago and haven't had even close to a wet basement since. (Oh and, why not just get a better, working correctly pump? The pump was apparently put in by the city years ago, long before I moved in, and is a cheap "torpedo cylinder" pump. Our plumber said it would take $thousands to tear up the basement floor to install a correct pump and the pump can't just be replaced because no one makes the type of pump any longer that would fit in the current pit. So going the automation route just set me back about $100.)


Turning on my AC when I leave work. I recorded the "ON' IR signals for my remote, and hooked up an IR emmitter on the wall opposite the AC. A Tasker profile (useful for automating stuff on android) pings my ras-pi home server whenever I leave work in the evening, which turns on my AC, so I arrive to an already cooled room. I also have a clunky webpage to manually turn it on/off which I use if I'm not going home directly from work.

And then, auto-downloading TV shows/movies via Jackett+Radarr+Sonarr


I still use facebook (minimally), but wrote a Grease Monkey script to auto-delete anything older than 90 days. This way I can still keep the Aunties/Parents etc happy with photos of the kids, but that it only lives on there a short while.

I also wrote a program to pull down all of my favourite comics as they were published. But I can't say I really read them offline much. It was probably more the collector in me wanting a copy, rather than having to go to the site.

Other than that, I think all of my automation is is my work-life.


Cooking, I built a sous-vide machine that cooks for me:

https://github.com/aguaviva/SousVide


I'm currently working on a website to use machine learning and game theory to allocate chores in a way that minimizes overall pain. Should have a public demo in a few days.


I frequently keep transferring money back home (overseas). Keeping a tab on the exchange rate became quickly annoying.

I built a GitLab pipeline that fetches the current exchange rate thrice a day. Each job pushes result to a IFTTT webhook that I integrated with their Telegram service integration. I then added the @ifttt bot to a Telegram group of folks who are also interested in this.

Now, thrice a day, I get notifications about the actual exchange rate. Works like a charm.


I've build a web scraper + web UI in order to create direct links to spotify albums/EPS based on specialized (and well curated) music shops which i use to keep up with new releases, one of them being boomkat.com. I got the idea because i was spending a lot of time on public transport trying to tab + search between the music shops various websites and the spotify app while being on my phone, which I found quite frustrating.


Love personal automation.

- found a service where in the morning they bring 3 meals + 2 snacks, everything you should eat for the day; especially during stressful times, it's so so good not have to think about food; you just eat what you've been given; - I no longer trade cryptos myself, I have Shrimpy, HodlBot and Iconomi to do that for me; this may not be "personal" but it saves me at least 10 hours every week, and the performance is a little better than my dumb self; - I found a shirt I adored, so I bought a bunch of identical ones; this in addition to having identical socks and identical underwear makes it that I only have to choose&match my pants and shoes; and mine kind of all match; saves headspace; - I never read or watch news; only read headlines in newsletters I trust; saves time and headspace; - I used Github Probots to automate A LOT of replies issues/PRs; I consider this "personal" because it's tied to my hobby;

In addition, for the past 6 months I've turned a bunch of things I was doing / wanted to do into emails. I've built https://schedulethatemail.com/ for that sole purpose, help me do the stuff I wasn't doing, or that was repetitive (shameless self-promotion, I know). Here are some of the personal things I've automated through email, though some are now canceled:

- I used to forget/postpone seeing some friends I really care about, now I automatically email them to catch up (different intervals 1 month, 2 months, 3 months, 6 months); some have no idea it's automated :-) - I always wanted to write a journal, but never stuck to it; now I receive an email from myself each day with a few questions, 8/10 times I answer; works because I use my email as my todo list; push notifications don't work for me; - I have this poem, this mantra, this whatchamacallit that I like to read every day, to remind myself of who I am, my values and principles; especially when I interact with people I don't like, every day, it helps me stay myself, and not change in a bad way; works because I use my email as my todo list; - I automatically email my landlord, accountant, etc to tell them I've done something, or I'll do something within 24 hours, before they even ask; self-applied peer pressure - I'm on time most months now;

I had more, but I forget...


I am working on a tax loss harvesting tracking and reminder app.

For index funds in my taxable account, it tells me when there is a loss/savings opportunity that is over whatever threshold I give it. This way I get email reminders if there is an opportunity to save a few hundred or thousand dollars every time the market dips.

This is a bit more versatile than just a reminder for certain prices because I am continually reinvesting at different cost basis.


I run a little web server on my computer to be able to send a space via Google Home so I didn't have to get up to start and stop movies.


I wrote a Chrome plugin to double check the price per kg for online groceries as the values provided by my supermarket are basically fiction.


Are the $/kg incorrect? So you take the price and divide by weight?


Yes, they are often incorrect and appear to be manually entered and not updated to reflect price changes as the system does not seem to have a field for item weight.

Yes, and normalize it to price per kg. The product weight needs to be extracted from the item title or description in many possible formats (100G, 100 g, 100 grams), the price location and format however is uniform.


You missed a big obvious one there, you've automated your grocery shopping. I'm still driving, parking, grabbing, paying, packing, and driving like a sucker.


A daily email digest of changes to a google calendar, so my partner and I can use a shared calendar and keep track of what each other is adding without being emailed for every tiny change. It runs as a serverless Azure function, and has required no maintenance in a year, which is more than I can say about Outlook's ical integration which breaks every few months.


Deleting the empty "Email attachments" directory that OneDrive keeps making inside my drive. Systemd timer unit does the trick.


Wouldn't it be better to use inotify than a timer? I forget if systemd supports it or not, but it's simple enough independently: https://superuser.com/questions/181517/how-to-execute-a-comm...


Maybe, but this works. Sometimes that's enough.


With tasker - mqtt - openhab -LIFX bulbs I automated some things.

- Auto puause kodi/lights change color on incoming call.

- Entrance lights turn on when phones connects to wifi.

- Little flash when my wife's phone connects to wifi.

- Little color flash on whatapp notifications / incoming calls.

- Phone silences when sees my workplace wifi.

- Some speech recognition to change the lights.

Todo:

- Change light color in the morning if rain is expected.

- Plants dry alarm

- Preheat 3d printer with voice


I automated work reimbursements.

I drop pdfs in a dropbox folder from any device, and at the end of the month, my home computer combines the pdfs, attaches it to an email and sends it off to accounting. I could have it autodetect which invoices from my email match work expenses, but the hard-to-automate part is needing to upload paper receipts.


Checking the status of my visa application.


Finland has a central population index, and makes various statistics available online. For example you can carry out a name search to see how many people are called "Steve".

When my son was born I wrote a script which checked the index every day and raised an alert when the number of people in the country with our surname increased by one.

That was the first official recognition that he was "real", so I had a before/after screenshot which was cute to see.


that is quite cool as we are in hurry to see status before planning the trip :)


I use Custom Voice Commands to:

- tag photos with a phrase for retrieval by voice later

- manage lists by voice (e.g. shopping, to-do, bucket lists)

- manage other notes to myself by voice (e.g. reminders)

- link specific web pages to voice commands like voice bookmarks

- smarthome automation by voice via Alexa or IFTTT

I also share my voice commands with those in my family who are less technically inclined.


Turning on my lights slighly dimmed and playing a Spotify playlist for these special situations :)

https://simon-schraeder.de/posts/andchill-building-alexa-ski...

Next step: Automated wine dispenser :)


We bought a house a couple years ago where all the closets were totally empty, not even a single basic rod. I wrote an app that allowed me to design my closets and it would spit out exactly what to buy from Elfa. This enabled us to save a lot of money over choosing a preconfigured Elfa package.


I use https://torrent.express/ to integrate BitTorrent resources over HTTP. This helps with streaming, downloading and various programmatic use cases which are all better supported with HTTP.


My AWS rep gave me one of their IoT buttons when those were first a thing. I wrote a couple of lambdas for it. One click would send an email to my boss telling him I was taking a sick day, double click would send him an email telling him I was running late.


Out of curiosity, how often are you using them?


I don’t use it at all anymore. But probably used it once or twice a month back then. If I woke up late I’d double click as soon as I got out of bed, or if I was having one of those days where I just cbf going to work I’d do the single click.

It took barely any time to set up a lambda to send an email, and I was mostly doing it to entertain myself with the novelty of it. But on the few occasions when I did, pushing a button and then going back to sleep instead of getting up for work was pretty sweet.


I've never heard the shorthand cbf before but I can guess what it means :)


Retaining what I learn through Spaced Repetition Software https://trevordmiller.com/blog/spaced-repetition-software


I used this python script to automate filling out a google form for 1000 times xD https://github.com/vedipen/AutomateGoogleForm


I just automated my computer backups so they would email me the results: https://github.com/Darkle/borg-backup-and-email


I cannot believe there isn't a single mention of coffee or HTCPCP here...


The OG of automation


I'm a qa tester. Just wrote a reactjs application that takes test case steps and parameters as the input and spits out fully written test cases in .csv format as the output. Has saved me weeks of work.


I did a similar thing using Excel. Just fill in the combination of parameters to test and it spit out the test code.


I try to simplify / reduce deeds as much as reasonable.

An healthy dose of Minimalism will get you more peace of mind than automation. Automation might break at some point and you need to be ready to fix it.


Exactly this. These family calls because home automation gone mad when you are not around... the simpler the better.


All the life staples like toilet paper and pet food are on a subscription service. I can’t remember the last time I had to think about it. Amazon subscribe and save and Chewy are great for this.



Window shades that go down at sunset automatically. Sounds like an easy manual task, but makes a big difference when automated, especially if you have many windows.


Bills. Everyone takes funds out when they want :)


Parsing my monthly credit card bill (PDF), categorizing, and displaying statistics.


Ooh, I've been looking for something like this. Could I ask how you parse your bills? Did you just hack together your own script or did you find a parser online? I tried doing this several times but it seems rather painful to get right since the formats can differ and since copying text from PDFs can sometimes ignore the table layouts and whatnot.


I have just written my own parser. Took some work when my bank switched from txt to PDF.

Then I match keywords in the strings to categorize the expenses. These days, this would be called AI :)

Edit: I use pdftotext, which has a mode that keeps the spatial structure of tables. Works for my bank.


There are no general solutions, unfortunately. Every PDF-generating system will do things differently, so parsing them must be custom for each type. Generated PDFs are usually very systematic, though, and PDF commands are text (compressed). You can uncompress with PDFTK:

  pdftk input.pdf output output.pdf uncompress
Then try grepping or using whatever tools you like (there will be binary parts of the file still, like embedded fonts and bitmaps).


I just tried it on a bank statement and the only text I see is the PDF commands (stuff like "/MediaBox [0 0 612 792]", "/F1 125 Tf", and whatnot). There's no actual PDF content text that I can find, whether it's my name, the bank name, or anything else.


There are a few possibilities. The main PDF commands for text are "Tj" and "TJ", so you can try searching for them. Text commands must also be between "BT" and "ET". Maybe a bit harder to search for are the other two text commands: ' and ".

TJ is "Show text, allowing individual glyph positioning" which means strings are not necessarily in the PDF as the strings themselves, but have glyph positioning info mixed into them. This is the most common issue I've come across.

Another possibility is that the fonts have been combined/compressed/butchered, so that they're not using ASCII/Unicode (this can sometimes save space by combining bits of multiple fonts. Searching for Tj/TJ/'/" should tell you if that's the case. If it is, technically there should be a translation table somewhere in the PDF file (so that clipboard operations work in PDF viewers). Look for CustomEncoding, I think.

Particularly bad PDF creation libraries can put characters in one by one.

Characters (alone or in strings) can also be in there as octal or hex.

Finally, particularly obnoxious libraries can do it without text commands at all, but convert everything to vector drawing commands, or even worse, bitmaps.

I couldn't remember CustomEncoding, and this came up when I searched. Seems helpful: https://stackoverflow.com/questions/29467539/encoding-of-pdf...


Interesting, thank you for the explanation! I am indeed seeing a lot of Tj's and BT/ET's, but not any TJ's.

Immediately preceding the Tj's are a lot of non-text characters that don't look like anything human-readable. Immediately following them are other other commands (Td, Tf, rg, k, etc.) which are preceded by numbers. There are no CustomEncodings. So I guess this means I can't really grep anything?


Sounds like it. The T commands are text related and rg and k are setting colour in RGB and CMYK. You may be able to figure it out by changing a colour, then looking at what is suddenly bright red or whatever you set. Or by changing the string preceding Tj. When editing, make sure you don't change the length of any objects (use space to pad) as there are hardcoded offsets in a table, usually at the end.

The PDF specification, while long, is pretty readable for this kind of thing. You can download the 1.7 version free from Adobe. Appendix A has a table of commands.


Thanks! This was cool info.


The poor person’s solution would be mint.com... though the security model there is dubious.


I've tried Mint... aside from the security I neither trust its privacy model nor did I see it working very well either.


It actually gets a lot better at categorization the more you use it. It has at least some primitive machine learning (possibly rules engine?). Categorize a transaction once and it usually gets it right subsequently.


Yeah I'm aware of that, but I still didn't find it that great. Unfortunately it's been a few years so I don't remember exactly why.


Basic toiletries and other consumables using Amazon Subscribe and Save.


I sometimes am on autopilot mode throughout the day


Dish washing. I bought a dish washer and that machine gives back at least half hour of my life every day. I don't know how I lived without it. (disclaimer: I cook at home)


Second that. My first dish washer came with the house I bought. Got hooked on it so badly that I had a mild panic attack when it broke down. I didn't even try to fix it (which would have taken time) but bought a new one and had it delivered the next day.


How many dishes do you have that you spend 30 mins on them. I never spend more than 5


I bought a dish washer too, but i stopped using it. Don't get me wrong, I hate the doing the dishes by hand, but this is so brainless that my mind wander and I often find myself solving problem (work related) while doing it.


thermomix + cook key = automated both our cooking schedule and shopping list. Easily worth the money.


accounting, expense tracking, tax loss harvesting, liquid investment rebalancing, taxes


Accounting and expenses as well.

http://github.com/hery/accounting


Can you please elaborate on how you do this? I've been looking for ways to automate that.


I write my all own tools, currently private. To get the data I use a combination of screen scraping and Quicken OFX gateways. Everything else is basic coding and accounting. I have a CPA that advises me on tax rule updates yearly and signs my return.


Can you elaborate on what tools you use for these things?


Yes please, I'd be interested!


I try to wire my brain to do routine tasks without having to give many thoughts. Besides the usuals where electronics, gadgets, and computers are involved, I'm more interested in the ones that I cannot use machines but my own body and brain. My wife believes that I know almost everything where they are and will likely be -- I just define a pattern based system of keeping things -- think massive CSS with Classes/IDs all over and how I could quickly navigate without much effort (before Google Chrome Dev Tools and all the niceties we have these days).

Here is an example. Every morning, I have a routine where I prepare my daughter for school. I don't even have to prepare the night before.

I wake up at 6:00 AM by a soft alarm. I'm kinda beginning to wake up on my own more often these days. I go to my daughter and try to wake her up but I also know she would reply, "Give me few more minutes, please." "Ok, 5 minutes." I then line-up her school uniform by the edge of the bed -- shirt and skirt at the bottom, then the underwears on top.

I flip the light switches on from the hallway all the way down to the kitchen liting them up to make it full daylight when she wakes up. I quickly check her school bag, fill-up the water bottle, and line-up all the tiffin materials at the kitchen counter. Then pour out the milk/juice with egg/bread for her and keep it ready. When all that is done, I put the socks that I picked up while preparing her uniform, in her shoes and is kept ready by the door.

I start the tea going. To the Bathroom, brush my teeth, wash-up, dried up. Then, I go wake up my wife, "Tiffin ready to be prepared." I go to my daughter, "Times up, very late." I lift her up and show her to the bathroom door. She would have slept for about 15min instead of the 5 but that is what I intended.

Wife goes to the kitchen and cooks, prepares the tiffin, packed it and keep it in the kitchen counter. She then prepares the milk formula for our younger daughter, give it to her (she holds it in her sleep and drinks). Wife goes back to bed. I go in and finish the tea which the wife had adjusted for it not to spill over.

Daughter comes out of the bathroom, get dressed, comes out of the room and drinks/eats her breakfast. During this time, I'm in my study room, logged into the computers, get the emails flowing in for me to look later. I finish my first tea of the day.

Escort daughter to her school bus.

This is one routine that has worked really well for the family with little to no adjustment or breaks. That one hour from 6 to 7 AM in the morning all goes without much thought but more from my muscle memory, following patterns of where things are kept and where to keep them.

I hope I can call this automation.


Cooking - grandma does it pretty well. I just set timers


Happy birthday to my friends using text.


Nothing.


Autohotkey is capable of doing some remarkable things (windows only sadly).

Here's a cool "launcher" project: https://www.youtube.com/watch?v=Jv2LAqkmd1c&feature=youtu.be

https://github.com/plul/Public-AutoHotKey-Scripts

With Pulover's Macro creator, you can literally record actions with mouse and keyboard, get the output in AHK script and tidy it up. You can trivially recognise pixels, meaning you can tell your mouse to click x,y coordinates or a certain button (for when there is no API for something, for example)

http://www.macrocreator.com/

Some genius made a virtual workspace for windows using AHK: https://github.com/octalmage/mdesktop

Some random uses I have for AHK:

* trigger today's date in dd.mm.yy (or dd-mm-yy, or any combo you like) with a macro, useful for when you drafting documents and need to quickly insert the date

* lookup the train schedule from work to home with a keypress

* shortcut to German characters on an EN keyboard

* paste and translate to/from english with dict.cc and leo.org in separate tabs

* "sig" expands to my email signature

* shortcuts to colleagues' obscure foreign names, which I always misspell in emails (saves embarrassment!)

* macro to run common applications like notepad, chrome, powershell (obvious use case)

* macro to open an excel to do list

* Quickly switch between headphone types on a work PC (USB headphones and regular headphone jack needed some fiddly settings to be changed to switch between them) (https://autohotkey.com/docs/commands/SoundSet.htm)

* Tool for popup window, can be used to display almost anything, e.g. your list of shortcuts in case you forget them! - https://autohotkey.com/boards/viewtopic.php?p=100953#p100953

* Huge list of ideas here: https://github.com/ahkscript/awesome-AutoHotkey

AHK has a huge amount of cool projects on the forums, and it runs like lightning since it is very resource light.


AutoKey https://github.com/autokey/autokey for Linux is pretty similar, though perhaps not as popular and well documented as AutoHotkey. It's simple enough that anyone can use it to make text-expansion macros, but it becomes more powerful if you're proficient with Python.


Entropy.


For myself, I've built a web-based task manager. Nothing fancy, apache, PHP and JavaScript. It's tied into a number of the systems I have running at home, such as a similarly built budgeting platform that handles all our money and sends me a biweekly report of all the payments I need to schedule, and any checks I need to write (usually just rent.)

I've also setup some things for the wife, who's an artist on Patreon, where she uploads works she's finished to a given folder and my machine grabs them, resizes them to whatever she needs for different purposes, and emails them to her. It also applies watermarks depending on the appearance of it (light vs dark) and will also add it to her Jekyll website, commit the new image to the git repo, build and push it live with no interaction unless something blows up along the way (122 days since last workplace accident)

I also have a bunch of LED ropes, night lights, and our bedroom TV setup on smart plugs that are turned on and off automatically, but I don't know if that counts since I didn't build it, I just bought them.


Bill pay?


Are you asking the OP if they automate bill pay or are you trying to say you use automatic bill pay?


Finances are almost entirely operationally automated. Most bills autopay from credit cards which automatically pay their statement balance every month. Those that can’t pay from a credit card(mortgage and one insurance) pull directly from our bank account.

Reporting is semi automated. I use Tiller to pull transactions into a google sheet and then use a ruby script to turn that into Ledger transactions that feed into my accounting system.

Investments aren’t automated because the amounts are different every month but I have a script that tells me how much is available for investing.

Other things we’ve “automated” are household tasks like mowing, cleaning, and snow removal. Other people do that stuff on a schedule and bill us.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: