Reverse Engineering a Cat Feeder to Boost Productivity
sensibledefaults.io
sensibledefaults.io
Another upgrade would be to randomly reward the desired behavior instead of always rewarding it. This helps to both prevent gaming the system as well as keeping those dopamine spikes high when you unexpectedly get some candy. Using chocolate as a reward is perfect since it provides tryamine to help replenish your dopamine levels.
I can't imagine it has that many endpoints or that much logic. I would think the main issue would be potential encryption/authentication but if they're using plaintext HTTP for the phone app then maybe the feeders are using plaintext HTTP too...
And if they're using certificate pinning, it can't even be any certificate from a trusted authority, it has to be one particular authority or even that specific certificate that they use (they could very well be using an internal CA for this, as they control the other end of the connection).
> You'll see that the data for these products is sent in plaintext to and from their servers... No HTTPS... That's just sketchy.
Randomizing is a great idea, I've got to drop the calories per commit somehow lol
I feel like having to wait for more than a few seconds to get the reward would remove the instant gratification our brains crave.
That's an interesting setup. I could certainly use something like that: I'm writing my PhD manuscript, and depriving myself of rewards (hobbies) until I'm done, but it seems like my brain can't really understand long-term rewards instinctively. I already have a few hooks that compute the number of lines when I push a commit; I could see myself wiring this up to boil water for a tea, or something similar. Want to take a coffee break? Work a bit first! Avoids procrastinating to some extent, while adding some kind of gamification to the self-discipline (having only myself standing between me and the reward is sometimes not enough).
Well, I guess I'll just pretend I have such an elaborate setup; and only build it once I'm done writing ;)
You'll see that the data for these products is sent in plaintext to and from their servers
The API seems to have a valid cert and is listening over HTTPS - strange that the app client uses plaintext. curl https://api.petkt.com/
{"error":{"code":97,"msg":"App is out of date, please upgrade"}}You could also add a function that makes your virtual pet unhappy if you spent too much time reading Hacker News. Instant productivity boost.
Probably a good thing I work at home and not in an office.
while true: push
Just opening the lid and delving in.
Maybe “only eat dispensed candy” isn’t a good rule to follow in itself, but I do wonder if the dopamine release associated with triggering the release of candy counts for more than the candy itself. :-)
Like wasabi covered almonds if you like almonds, or sunflower seeds (for trace minerals), walnuts, etc.
They are high in carbs but provide many other things.
On the tech side, it would be fun to be able to deliver just one for a lootbox effect ("when I get the walnut, I take a break")
It could also be at specified intervals, to act like a pomodoro?
I need at least something like this:
Why do they need your location in the first place? Can you run the app without GPS priviliges?
To answer your question: I think milk chocolate is about just as popular in Germany and the Nordic countries, so perhaps you don’t have to be very American.
Chocolate and almonds are both quite healthy in the right doses. I mean the chocolate that’s isn’t mixed with methamphetamines, just to be absolutely clear. ;-)