2,175 karma · joined Jan 21, 2009 (17y ago) · 789 submissions
comment 1y ago · link · parent
I tried hard to find an alternative that could sway me away from rails, but I could not find anything I felt nearly as productive with or enjoyed more. I'm kind of relieved rails is having a comeback. All of the good stuff of rails never really left. People just got too pulled into SPAs and microservices, and rails 8 just showed many who are paying attention how much better things can be.
The group think of SPAs and microservices has been crazy to me. I don't think devs took the time to fully consider how much complexity they were accepting with SPAs and microservices. Certainly SPAs and microservices have their place, but not for everything.
comment 1y ago · link · parent
comment 2y ago · link · parent
Is the position that CrowdStrike should not be used on anything important because their software can not be trusted? I mean, that's where I'm at now, and I bet many others feel the same.
comment 2y ago · link · parent
comment 2y ago · link · parent
So if you know a commit sha and you'd like to see all of the merged branch changes associated with that commit as a single patch, I cooked up a script that takes a commit sha and finds the merge commit and show all the changes in a consolidated patch.
#!/bin/sh
merge_commit=$(git log -n1 --merges --pretty=format:"%H" $(git rev-list --ancestry-path $1..HEAD --merges -n1))
git show -m -p --stat --format="" $merge_commit
comment 2y ago · link · parent
comment 2y ago · link · parent
I am 100% onboard with devs squashing their "lint fix", "test fix", "whatever minor fix to get CI working", "generally meaningless commit to cross the finish line". Also, if devs are working on something they check in a "WIP" commit. It is great if you smash your WIPs into a single meaningful commit. These manual squash strategies require some discipline to clean things up.
I think the "squash branch to a single commit" merge strategy defeats the purpose of atomic commits. Of course devs will be bad at atomic commits if the commits will inevitably smashed to a single commit. IMO squashing branches on merge is a bad version control strategy. I love it when commits are intentional.
One rule I have for any rebasing is, when there may be more than one person using the branch, no more rebasing that branch.
comment 2y ago · link · parent
I'm sure you're not the only one who will feel this way. I worry for the future prospects of people starting their careers. The impacts will affect everyone in one way or another, not just those with limited experience. No way to know what the future holds.
comment 2y ago · link · parent
comment 2y ago · link · parent
Of the major tech companies, Apple probably has the worst track record of not playing nice with other platforms, walled gardens and all. Passwords are needed on all platforms. Apple would be the last company I would trust to ensure that I would be able to access my passwords anywhere I may need them.
comment 2y ago · link · parent
The same type of danger can be encountered with the linux `kill` command, depending on which signal you send, losing power, operating system terminate, etc. If you have state in flux, hard killing a process can have unexpected outcomes.
I'd also like to say that just because something is dangerous, doesn't mean it should not be used. Just use it carefully. Think of it as dynamite. Dynamite is very useful in some cases, and always needs to be handled with care.
comment 2y ago · link · parent
comment 2y ago · link · parent
* GPS, I can see where my kid is at (not always super accurate)
* I can contact my child and my child can contact me (contacts are whitelisted)
* School time lock helps avoid distraction (locks most watch functions when at school)
* Knowing I can locate and contact my child helps me allow more personal freedom to my child. Within reason.
I hear you that spending that kind of cash is not for everyone. For me, those features make it worth it.
I am planning a prototype for an alternative to smart watches that will use LoRa Meshtastic as a platform. The main upside of this would lower upfront costs, and no recurring cellular provider bill. I think it would be cool to have a system where trusted contacts and kids friends could message each other. My goal is to build a management system parents could use to quickly set up a LoRa node for their child.
comment 2y ago · link · parent
comment 2y ago · link · parent
When I was young, I too jumped off roofs, would leave on my bike for many hours to go fishing by myself, etc. I know some of that was freedom was because I was raised in a rural environment, but I have a harder time comparing the differences between environments and current cultural expectations in terms of acceptable childhood freedom. I would love to give my children the same freedoms, but I understand that is not acceptable now and where I live.