[-] sgharms 13 points 3 months ago

Hey dust, I have been using linux for about 24 years ago and I’m gonna explain it to you straight here.

debian is rock solid. It’s great for servers. It’s also great for laptops: That is laptops where you don’t really care about having anything bleeding edge. I need tmux, a few compilers, vim, and a browser. Debian!

I’ve got a kid and get at best 45 minutes per week to code on side projects. My system can never be broken. I use Debian on my Linux laptop and my droplet server. No surprises.

But if you want to occasionally get a brand new desktop environment hot off the presses, Debian‘s gonna work against you. I think Ubuntu mint is great.

Good luck

[-] sgharms 3 points 1 year ago

During the pandemic nadir I kept thinking about “viewing” and “seeing” and Zoom and Gladia.

[-] sgharms 6 points 1 year ago

Yep, my high school computer science class looked just like this. Thanks for the memories.

[-] sgharms 31 points 1 year ago* (last edited 1 year ago)

Panel 4:

“But you inspire 6 people to work at peak capacity so that the team is as effective as 9 people, and they all say you give a shit about them, their growth, and doing the work that actually matters with guidance and appropriate comp adjustment. Be a manager.”

If you work with incompetent middle management, move. When you work for a great manager in a great team, you feel bulletproof.

[-] sgharms 5 points 1 year ago

Godspeed with your effort.

[-] sgharms 22 points 1 year ago

I’m really enjoying the fedi, but a return to the text and ANSI graphics and community of 93 BBS keeps calling me.

[-] sgharms 12 points 1 year ago

The author’s primary gripe, IMHO, has legs: the question about the oven’s relationship to baking is buried as part of bake() and is weird. But the solution here is not the left-hand code, but rather to port some good, old-fashioned OOP patterns: dependency injection. Pass a reference to an Oven in createPizza() and the problem is solved.

Doing so also addresses the other concern about whether an Oven should be a singleton (yes, that’s good for a reality-oriented contrived code sample) or manufactured new for each pizza (yes, that’s good for a cloud runtime where each shard/node/core will need to factory its own Oven). The logic for cloud-oven (maybe like ghost kitchens?) or singleton-oven is settled outside of the narrative frame of createPizza(). Again, the joy of dependency injection.

To their other point, shouldn’t the internals of preheating be enclosed in the oven’s logic…why yes that’s probably the case as well. And so, for a second time, this code seems to recommend OOP. In Sandi Metz style OOP in Ruby (or pretty much any other OOP language) this would be beautiful and rational. Heck, if the question of to preheat or no is sufficiently complex, then that logic can itself be made a class.

As I write, I thought: “How is golang so bad at abstraction?” I’m not sure that that is the case, but as a writer of engineering education, I think the examples chosen by the Google Testing Blog don’t serve well. Real-world examples work really well with OOP languages, fast execution and “systems thinking” examples work great with golang or C. Perhaps the real problem here is that the contrived example caters to showing off the strengths of OOP, but uses a procedural/imperative-style-loving language. Perhaps the Testing Blog folks assumed that everyone was on-board with the “small factored methods approach is best” as an article of faith and could accept the modeled domain as a hand wave to whatever idea it was they were presenting.

[-] sgharms 6 points 1 year ago
[-] sgharms 15 points 1 year ago

The A* paper standard and the metric system. A Pythagorean can dream.

[-] sgharms 5 points 1 year ago

The best way to get Linux in the era was to get a box of floppies from a guy at the 2600 meeting. Got Slackware in 93 and a goofy little video game made by some guys up i45 in mesquite called Wolfenstein. Wonder what happened to them.

[-] sgharms 6 points 1 year ago

Great share. I was there.

FidoNet, ANSI art, getting phone numbers on newsprint mags at local computer stores, the modem screeches, AT commands, phrack and cult of the dead cow…friends you’d meet at malls and then go to summer concerts with…online was an adjunct to life, not a closed garden overwrite of life itself.

[-] sgharms 4 points 1 year ago

Well done. The resolution is outstanding.

view more: next ›

sgharms

joined 1 year ago