This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-04-14
Channels
- # aleph (2)
- # announcements (11)
- # aws (4)
- # babashka (42)
- # babashka-sci-dev (81)
- # beginners (90)
- # biff (2)
- # calva (40)
- # cider (16)
- # clj-kondo (26)
- # clj-on-windows (1)
- # cljdoc (4)
- # cljfx (1)
- # cljsrn (2)
- # clojure (92)
- # clojure-austin (2)
- # clojure-europe (23)
- # clojure-nl (5)
- # clojure-uk (3)
- # clojured (3)
- # clojurescript (19)
- # community-development (3)
- # conjure (1)
- # cursive (4)
- # datalevin (3)
- # datomic (5)
- # emacs (13)
- # events (1)
- # fulcro (26)
- # graphql (1)
- # hugsql (15)
- # introduce-yourself (5)
- # leiningen (1)
- # lsp (29)
- # minecraft (19)
- # music (1)
- # off-topic (36)
- # pathom (12)
- # podcasts-discuss (2)
- # portal (8)
- # re-frame (12)
- # reagent (11)
- # rewrite-clj (4)
- # shadow-cljs (56)
- # spacemacs (2)
- # vim (12)
- # windows (3)
- # xtdb (43)
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: https://newsletter.pragmaticengineer.com/p/scoop-atlassian?s=r
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?
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
Even with IntelliJ not all is in the 'code style' xml. For example there is also when to start using a wildcards for inputs...
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
Any ideas what my m1 air is doing here? CPU seems to be at 100% all the time because of some obscure reason
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.
Looks non-malicious, at least: https://apple.stackexchange.com/questions/376521/delete-file-in-pkinstallsandboxmanager-folder
Presumably some of your apps auto update themselves directly — or could be App Store updating apps..
would leave the room, come back next day and machine all hot because of some untimely auto update
I should have read the text more carefully — it literally says: “…/com.apple.pkg.iMovie_AppStore.jGKdbP” — so it's App Store updating iMovie
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
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.
oh boy oh boy, I wish structured coaching were a standard part of a professional programmer's life
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.
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.).
Maybe so! I was thinking more of finding an independent/professional developer coach & paying them.
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).
@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 https://www.evalapply.org/posts/shell-aint-a-bad-place-to-fp-part-1-doug-mcilroys-pipeline/#appendix-an-unexpected-masterclass.