Having fun reading the comments in this one - it's like a walk down memory lane. I cut my teeth on PHP and wrote my fair share of code that was full of SQL injection vulnerabilities. Say what you want about PHP, but I always found you could get a lot done fairly elegantly if you followed some good coding practices and used an established framework.
Google results for PHP tutorials contain SQL injection vulnerabilities | Hacker News
Dear #foss developers, you encounter an open source project and feel enticed to check out their community. Discord is mentioned as the only place where the discussions take place.
A - Great, I already have an account anyway.
B - Ok, I'd be willing to join if the project is interesting enough.
C - Not ok, I will not be part of those discussions.
D - Other (see comment)
Boosts appreciated (research for blog post).
Oh shoot I've been thinking about this all wrong. What if the invention made it so you could be productive during all of this otherwise sleepless zone out time?
I'd take a pill that could make me awake enough to get work done for 2 hours but wear off very quickly so I can go back to sleep.
Robot butlers or nannies. They don't do the real parenting work, but they'd be able to tell me if I needed to get up for my kid or just let me keep sleeping. And bonus, fresh scones and coffee every morning.
Did I mention a safe sleeping medicine? I'm talking about something that:
- Works in under 15 minutes.
- Is impossible with overdose on (or so forgiving that you'll never lie awake wondering if you should check your kid's breathing)
- Has no side effects
Bonus points if it gives you only good dreams AND gets you to sleep in till 7:00 AM like you used to... Because wtf happened this used to be going so good. LOL.
A baby monitor that only goes off for real crying but magically filters out all other sound.
Gosh I'm running out of ideas and he's still not going back to sleep.
My best guesses for "future inventions that cause a paradigm shift in parenting" ...
Some medicine that safely puts your kid back to sleep at night.
Diapers that automatically dry and last virtually forever unless you dookie.
Some sort of crib that can give you your kids vitals.
Any device that can accurately tell you how much pain a person is experiencing.
Some sort of pill that safely puts me back to sleep after being up for 2 hours.
A hotdog that a child cannot choke on.
But holy moly - what are parents going to have in 30 years that will make me super jealous? It can't be anything obvious like a "robot nanny" or the game isn't fun.
And I'm up at 1:50am, so I'm only playing fun games. Ok?
Also - wow, baby cameras (or really cheap internet "security cameras") are a total game changer. I honestly think we would have lost our minds trying to interpret the sounds that come out or baby monitors, only to realize that our kid isn't as upset as we thought etc.etc.
We've found that once you go in the room at night, it starts a whole series of events. So we've learned to watch for him to be trending towards sleep before barging in, etc. All of that is possible thanks to a $20 camera.
When I'm up in the middle of the night because our toddler is teething I always wonder "how bad does that actually feel?"
Is this just painful enough to make it hard to go back to sleep? Or not that painful and you're just annoyed and frustrated? Or is it painful beyond what the Tylenol I can give you can help with?
Too bad he can't talk or we could sort this all out and go back to sleep. :)
Today keeps getting better. On my way to town I ran into a crew pulling fiber down our road. That's less than a week after paying the county. Amazing!
It looks like we're on track for getting rid of the DSL sometime in early August.
I tried attaching a photo a few times but they keep failing to upload. I'll have to resize some when I have a chance and post them.
I suspect that the feature I need to learn how to use better is buffers. When I have more time to fuss around with it I'll likely give those a try with some custom key bindings.
I know that the vim way would drive me to do it differently perhaps - but after looking at the way it affected my until model of the code, I'm not sure I could ever code the "vim" way.
I really wanted to start using vim because of its thriving plugin ecosystem and the fact that it's portable and open source. For now I think I'll have to pause that journey to get back to productivity.
Learning to live outside the city.
Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.