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...
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.
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.
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.
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.
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)
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
Comments (731) 147 threads
Earlier comments2. 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...
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.
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.
I'm not sure how to autorun when an SD card is inserted (using ubuntu here).
https://Auditus.cc
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?
If you have any ideas etc. drop me an email! (See profile)
(The files persist until the conversion is fully complete i.e.uploaded to S3 and sent to user)
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
All comments shown.
Couldn't load more comments. Check your connection and try again.