zomgwat | 1 year ago
zomgwat's comments
zomgwat | 1 year ago
Another nice thing with squashing is that merges into master always look the same regardless of individual engineer workflows.
zomgwat | 2 years ago
zomgwat | 2 years ago
zomgwat | 2 years ago
zomgwat | 2 years ago | on: Zeal is an offline documentation browser for software developers
zomgwat | 3 years ago
zomgwat | 3 years ago
1. We regularly share photos through private photo albums. This allows her the same exposure to photos of the grandchildren as social media would.
2. We made it clear she's free to share photos with people via direct text messages. It adds a bit of friction and keeps the photos relatively private.
3. Explained that it's the right of our children to control their presence online (with some parental assistance). They aren't old enough to do that so until then, please don't share.
4. Emphasize many times that it's about protecting and empowering our kids. It's not about preventing her from showing off her grandchildren.
zomgwat | 3 years ago
zomgwat | 3 years ago | on: Confluence on-premise is dead, what now?
My biggest gripe is the lack of native code block support. There are ok workarounds but something native would be better.
Edit:
> By law we are not allowed to use a cloud solution.
Missed this on my first read. Shared notebooks should be able to be stored wherever you store things in your network.
zomgwat | 3 years ago
zomgwat | 3 years ago
zomgwat | 3 years ago
Something I saw regularly with one-off style sales deals was not accounting for the collateral damage to business processes like end-of-month accounting. It's not just the development costs for adding support to things like subscriptions. Changes ripple all the way through the business. Updates to the bespoke billing system (and related business processes) end up half-baked because they aren't a core part of the business. I've seen sales deals end up as a net loss over time due to the increased labor costs on the backend. Having some reasonable constraints that an off-the-shelf product will intrinsically enforce can prevent a lot of pain for all involved.
zomgwat | 3 years ago
zomgwat | 3 years ago
zomgwat | 4 years ago
The Rails app that I worked on had a few edge cases Tapioca didn't cover so I wrote a simple script to load the Rails app and generate RBI files (e.g. generate RBI definitions for fixture methods in ApplicationTestCase). The Tapioca codebase helped provide a path for that [2]. Tapioca also continues to add to their DSL compilers. The work to integrate Sorbet paid off very quickly.
Also, T::Enum and T::Struct are handy in any Ruby codebase.
[1] https://github.com/Shopify/tapioca [2] https://github.com/Shopify/tapioca/tree/main/lib/tapioca/com...
zomgwat | 4 years ago
zomgwat | 4 years ago
I sometimes get annoyed when I get stuck screwing around with the RBI files. Then I get in the flow and remember how fast Sorbet allows me to move.
zomgwat | 4 years ago
I've never written TypeScript but I suspect the tooling around Sorbet is pretty far behind at this point but it's still worth it. For example, there are is a whole class of unit tests that no longer need to be written. In addition to the gradual typing, having access to interfaces, typed structs and enums is all nice too.
zomgwat | 4 years ago
Running private package infrastructure with audited dependencies isn't a panacea to stopping supply chain attacks. I do believe it's an effective defense-in-depth tactic for the reasons others have discussed.
An additional supporting tactic that should be done is to tightly control egress traffic. Like ingress traffic, all egress traffic should be denied by default. From there, traffic should be whitelisted. That makes it more difficult to exfiltrate data or communicate with command and control infrastructure. Tight control on egress traffic also makes it easier to alert on unexpected connection attempts. That all said, locking down egress traffic can be a pain. It also isn't a panacea. Where there’s a will there’s a way.