Fork me on GitHub
Noah Bogart13:04:55

this is a great post

🤓 1
thanks3 1

At least something (or someone, or blind luck) prevented their maintenance op from going beyond the 0.2% of their customer base (though it doesn't say much about # of seats affected). But that fact is a fig leaf under the circumstances.


We rely on Atlassian Cloud products and, luckily, were not impacted... but this post lays out some horrifying details for folks who were impacted:


In Java land, what are some different ways y’all have enforced code formatting, for example, on commit? A couple people on my team mentioned setting up prettier locally, but that requires using node.js, which seems odd on a Java project. Other people have suggested that everyone just use IntelliJ with the same settings, which strikes me as even worse. I can’t imagine that after nearly 30 years, this problem hasn’t been Completely Solved™ in the Java ecosystem?

Martynas Maciulevičius13:04:05

Well you called it yourself. IntelliJ is "the standard" but they also lock you in by only allowing their own formatting. I think they have an option to import eclipse formatting rules but then it's literally made to lock people in. So it's not because it can't be done. It's because management forces people into tools and that's why toolmakers can get away with it. And then IntelliJ tells people that for some unknown reason they "have their own formatting config". It's a good config but you can't use it anywhere else.


Should be as simple as: 1. Set up .editorconfig file within your project 2. Point IDEA to it or whatever editor someone else might be using 3. Find and install a cross-platfrorm CLI tool for that editor config and add instructions on how to install it to your README 4. Create a Git hook that would use that CLI tool to reformat all the code before a commit

👍 1

Even with IntelliJ not all is in the 'code style' xml. For example there is also when to start using a wildcards for inputs...

Phil Shapiro20:04:51

I've used to format java, which works well. The only "trick" is to make your CI build run spotlessCheck and your local build run spotlessApply. That way local builds reformat code, and CI builds fail if the code isn't formatted correctly. An example gradle config that implements this is here:

❤️ 1

Any ideas what my m1 air is doing here? CPU seems to be at 100% all the time because of some obscure reason

😞 1

When I kill that process, it comes back

Martynas Maciulevičius13:04:04

It says it's a manager. So probably it manages something. And looks like there is a lot to manage. If I understand correctly a manager doesn't do any real work. So probably a worker is misbehaving 😄 Probably they needed to code a second-level manager to manage this manager.

😄 1
Jon Boone13:04:46

Specifically, it appears some non-OS software is updating..

Jon Boone13:04:30

Presumably some of your apps auto update themselves directly — or could be App Store updating apps..


I often (used to?) get 100% CPU usage when installer is waiting for my admin password


would leave the room, come back next day and machine all hot because of some untimely auto update

Jon Boone14:04:26

I should have read the text more carefully — it literally says: “…/” — so it's App Store updating iMovie

Jon Boone14:04:42

Which explains the tremendous size…


I think it was not really successfully doing that though. Looked to be stuck in a loop


I ended up doing this:

sudo rm -rf /Library/InstallerSandboxes/.PKInstallSandboxManager


and killing that process

matt sporleder15:04:53

@U04V15CAJ dtruss it next time to see what it is doing 🙂

👍 1

After reading by Atul Gawande on coaching for people who are advanced in their careers, I’ve been thinking of experimenting with it. Has anyone here worked with a coach for developers? How was it? Is there someone you’d recommend? I’m ~14 years into being a professional developer, to give a sense of what I’m looking for.


oh boy oh boy, I wish structured coaching were a standard part of a professional programmer's life

☝️ 2

Aside: I read anything and everything by Atul Gawande. All of his books have at least one deep insight / mind-rewiring page or paragraph to offer.


Yeah, he’s great!


Perhaps it is available in places where old-skool Member of Technical Staff tracks still exist (Texas Instruments etc.). Someone I know opted for MTS and has formal support and coaching from skip-level, skip-skip-level (skipper level) along with other kinds of support (formal expectation-setting, peer group etc.).

👍 1

Maybe so! I was thinking more of finding an independent/professional developer coach & paying them.


Yes, and it's probably a nice, niche business opportunity.


From the article > Maybe this is what happens when you turn forty-five. Surgery is, at least, a relatively late-peaking career. It’s not like mathematics or baseball or pop music, where your best work is often behind you by the time you’re thirty. Jobs that involve the complexities of people or nature seem to take the longest to master: the average age at which S. & P. 500 chief executive officers are hired is fifty-two, and the age of maximum productivity for geologists, one study estimated, is around fifty-four. Surgeons apparently fall somewhere between the extremes, requiring both physical stamina and the judgment that comes with experience. Apparently, I’d arrived at that middle point. This is pretty interesting, I wonder where programmer falls in this continuum?


I assume programmers „peak“ north of 50/60 if they keep using and developing their technical skills (actually writing and reading code).


Thats an exciting thought! 😁


@U014JMH21NK some of the most famous and best programmers are/were around that age, they seem to have in common that they have been continually practicing. It’s not surprising that this is the case from a first principles kind of perspective. When I was mid 20, I had the goal to become the best I can be at my age. 10 years later I realized that I’m just taking another step along a journey.


> I wonder where programmer falls in this continuum? Health willing, it may be practically unlimited. I found out first hand that

🚀 1

Also my grandma who's pushing 90 herself, is busy plowing through tomes of Sanskrit verse, theology, and metaphysics, and scribbling her own critiques/notes and teaching others.

👍 2