Lurker News

Comments (704) 186 threads

Earlier comments
anotherevan3 replies#
I have an ultrasonic sensor on top of my monitor to tell the computer when I'm in front of it or not. If music is playing when I walk away from my computer, it pauses the music player. When I return, it starts playing again. It will also wake the monitors from power saving mode when I return, too.

https://www.michevan.id.au/content/are-you-there/

stevekemp#
I have something similar, linked above.

If you're in a cube I wonder if you'd be better suited to an IR-beam break? If you have to walk through an "entrance" you could detect that happening pretty easily - although you'd want to avoid flaps to handle the case of somebody leaving too.

t1o5#
Which gives me this idea to train my loud music playing neighbor to behave. A sensor listens for his music to go beyond a certain level and triggers my Pi to play loud music back to him. Then stop and check if he has lowered his volume, else rinse and repeat. I know its evil, but apartments in Montreal are so bad.
chaostheory4 replies#
Wrote a simple app that emails people automatically asking them if they want to hangout. It reads my calendar and randomly decides whether or not we should hang out. The probability that it'll decide to ask gets higher and higher the longer we don't hangout, which it determines by reading my calendar.
rhoursour1 reply#
Would you happen to have this script up on Github? Also, do you usually send events as part of the invitation (i.e. concerts, coffee e.t.c)?
chaostheory#
Not yet - let me clean it up first and I’ll ping you guys
someguy1010101 reply#
I'm also wondering if you could post that script, that sounds very interesting
chaostheory#
I'll either ping you guys or do a ShowHN some time this year
davman#
Cousin! Do you want to go bowling?
jwong_1 reply#
I like this idea for fostering relationships that I either get anxiety or not sure what to say.

What do you ask them to hang out with? A calendar invite? Or SMS?

chaostheory#
Just an email. It was born from a project that died years back as one of my first YC submissions. Sounds like I need to resurrect it and add IM and SMS as a new MVP.
jurasource4 replies#
I "automated" (trained?) my kid to make her own breakfast at the weekends so I can sleep longer.

Started when she was around 4, it's easier now she's 7.
Lots of parallels with hacking code:

  * Specific rules (if there are more than 2 stars showing on your clock, it's too early to get up)

  * Trial and error (put cereal in a jar and loosen the lid slightly, put milk in a tiny jug at the bottom of the fridge)

  * Optimisation (if you don't want cereal, don't wake me up, but have a yogurt instead)

  * Enhancement (feed the cat, so it doesn't wake me up either)

I'm not lazy, sleep is important :)

[edited formatting]

shujito1 reply#
can you elaborate on more details? seems fun/interesting
jurasource#
Now I think about it, we started when she was about 2, leaving a marmite rice cake in a bowl outside her door, with a bottle of water (with a sports cap), that was just enough to delay her slightly.

As she got older, I'd put some greek yoghurt in a bowl with cling film over the top in the fridge, and a plastic cup of water with tin foil over the top and cutlery on the table.
Now I just say "no cartoons before 7", and she sorts her own water out, makes some bread and butter (don't trust her with the toaster yet) and helps herself to yoghurt.
She woke me up at 9 this morning, happy with that!

benji-york#
Animal training skills are key to parenthood.
kek918#
LOL, I found this hilarious because my 5 y/o kid wakes me up when it's time for food. Definitely gonna "fork" your source here and try it out myself :)
shanecleveland#
I have four kids now, and I learned this automation trick way too late. We helped our older kids with "activities of daily living" longer than we realized we needed to. Now or younger two are doing things on their own years earlier than their older siblings.

We've just generally found that our kids have been ready to do things earlier than we imagined. Each time we've made a transition, we look back and think "why didn't we do that sooner?"

vollmond5 replies#
1. IFTTT turns off all of my Hue lights at sunrise (task: turn off forgotten lights)

2. At one point last year, I felt that my mornings were getting slower and slower (causing me to leave later), so I set up a Dash button where I hang my keys. When I left for work, I'd press the button, and the script would log the time to a Sparkfun data feed. After a month, I reviewed it to see just how bad it was (pretty bad). (task: life tracking I didn't have the brainpower for in the morning)
3. The worst part about D&D is keeping track of all the little variables and math, and none of the character sheets are any good (or if they are, they have 1 or 2 glaring problems, like only allowing 3 classes), so I wrote my own. Uses KnockoutJS to update all the little formulas that change every time you level up or gain skill points, etc. Here it is, though it's not exactly polished for public consumption: https://github.com/imnotpete/character-builder (task: fiddly math when I'm trying to have fun)
4. More IFTTT -- if my Roost fire alarm battery detects an alarm, I should receive an email and all my Hue lights will turn on. Unfortunately, the whole Roost process is slow enough that I just get confused when all my lights turn on 5 minutes after I burn the pizza. (task: turn on the lights so I can see to put out a midnight fire or escape my burning house)

zeronight#
I recently got three lifx lights and they are bright enough to light my entire room.

Simply having them turn on at sunset is awesome. Such a small but great convenience.

agopaul#
You could do number 2 completely automated with just the IFTTT mobile app. I used to track the time when I arrived and left the office on a gApps spreadsheet but later disabled the task due to battery draining (old iPhone 5).
Mister_Snuggles1 reply#
The Hue Bridge can do #1 on its own, but I don't think it's exposed with the stock app. You can set up a sunrise/sunset trigger based on your geographical location - I use this to turn my outside lights on and off.
vollmond1 reply#
I'll have to dig into that. Is it one of the Labs plugins? I certainly don't mind cutting out extra services where I can.
shostack1 reply#
Have you tried Roll20 for D&D? We used it for our group here at work as it allowed a remote team member to play. Even if you don't use all of it, the character sheet tools and info are pretty solid (albeit missing some things like certain spells).
vollmond#
I looked into it before I started coding, but it seemed the 3.5 support was pretty slim, at least for the character sheets.
vollmond#
I got an email about how to do the dash button thing, so I figured I'd post my response here as well. I use this project: https://github.com/hortinstein/node-dash-button

Here's how it works:
1. Figure out the dash button's mac address by network sniffing
2. Set up the dash partially, so it tries to make an order (but don't specify in your account exactly what to order, so it never completes)
3. Sniff the network for that mac address, and run an arbitrary script when you see it (this is the actual action, like my data logging)
4. For good measure, block outgoing requests from that address in your firewall
It's not 100% reliable, but it's still pretty useful.

Load more comments