Fork me on GitHub
#off-topic
<
2022-04-14
>
Noah Bogart13:04:55

this is a great post

🤓 1
thanks3 1
adi15:04:03

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.

seancorfield21:04:23

We rely on Atlassian Cloud products and, luckily, were not impacted... but this post lays out some horrifying details for folks who were impacted: https://newsletter.pragmaticengineer.com/p/scoop-atlassian?s=r

1
mjw13:04:03

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.

p-himik14:04:16

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
gklijs17:04:36

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 https://github.com/diffplug/spotless 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: https://github.com/DataBiosphere/terra-data-catalog/blob/main/buildSrc/src/main/groovy/bio.terra.catalog.java-common-conventions.gradle#L72

❤️ 1
borkdude13:04:35

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

😞 1
borkdude13:04:51

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..

Danny14:04:27

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

Danny14:04:53

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: “…/com.apple.pkg.iMovie_AppStore.jGKdbP” — so it's App Store updating iMovie

Jon Boone14:04:42

Which explains the tremendous size…

borkdude14:04:44

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

borkdude14:04:00

I ended up doing this:

sudo rm -rf /Library/InstallerSandboxes/.PKInstallSandboxManager

borkdude14:04:06

and killing that process

matt sporleder15:04:53

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

👍 1
eggsyntax15:04:39

After reading https://www.newyorker.com/magazine/2011/10/03/personal-best 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.

adi15:04:48

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

☝️ 2
1
adi15:04:49

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.

eggsyntax15:04:41

Yeah, he’s great!

1
adi15:04:34

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
eggsyntax16:04:09

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

adi18:04:00

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

Faris07:04:23

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?

dgb2307:04:17

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

Faris10:04:34

Thats an exciting thought! 😁

dgb2310:04:37

@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.

adi11:04:37

> I wonder where programmer falls in this continuum? Health willing, it may be practically unlimited. I found out first hand that https://www.evalapply.org/posts/shell-aint-a-bad-place-to-fp-part-1-doug-mcilroys-pipeline/#appendix-an-unexpected-masterclass.

🚀 1
adi12:04:37

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