Astonished my feed isn’t full of brits reposting this gif.

Would probably include a lot of M*A*S*H imagery.

The developer would probably be illustrated by Sidney Freedman - most of the time safe behind the front, but willing and able to work in the fox holes.

Show thread

Some day I want to prepare a talk called "The Combat Developer - Being the developer in an DevOps crisis".

Arriving at the office 5 minutes before our daily sprint (online, we're a distributed team), just to notice that due to conservation of energy, the coffee machine is turned off until 9.

I've read a few guides for Java applications running with Tomcat.

It is mostly:

You can edit $CATALINA_HOME/webapps/YourApp/WEB-INF/web.xml, but that is not persistent.

What you do instead is to repack the WAR file with your changes to web.xml.

Show thread

I dislike CORS (Cross-origin resource sharing).

There I said it. Does it make me fell better, not really I still have to fix it.

Apparently it is designed to protect the server from well-behaving clients.

The clients decides that your server needs this protection, but you can opt out. Actually most guides on CORS is just a blanket opt out from CORS.

Often opt-outs requires you to go to the most obscure part of the configuration.

My first issue was conflicts between Hyper-V networking and a Corporate VPN both needing to take control of the routing table.

At least I could inspect the routing table in Windows.

Now that is fixed for me (partly by changing company).

Now I seem to experience problems with Hibernating crashing my WSL instances. This time I seem to be completely without logs or other sorts of transparency into what breaks.

Show thread

I have my ups and downs with WSL2 for running Linux inside Microsoft Windows.

When it works I can conform to company IT expectations and have most desktop problems being Somebody Else Problem, while still doing my actual work in a safe, familiar environment.

But when it doesn't work I experience the worst of both world: Lack of support and lack of technical transparency.

I remember why I dislike working with ElasticSearch for quick searches.

It is great when you need something just good enough, but if you have corner cases where you know you want to return this and only this result you can spend endless hours tuning your query.

Should probably have tagged my "stash less, just an work-in-progress branch" git workflow with .

Here it is:

An additional tip:

I work extensively in the terminal. Now and again I found my self doing repeatedly 'cd ..' to get to the top of my repository.

So I've added an alias

top="rev-parse --show-toplevel"

This enables me to just do

$ cd $( git top )

I know that this workflow probably isn't to everybody's liking.

But for me the alternative seems to do at lot of stashing often getting lost in my stash.

This allows me to be almost stash-free.

Show thread

Actually, we're not quite consistent naming our development branch. So what I have is an symbolic ref pointing to the branch we do development on:

$ git symbolic-ref refs/heads/wip-base refs/remote/origin/develop

and then my 'git wip' alias actually says "log --oneline wip-base..wip"

Show thread

To support this I have a single alias so I can write:

$ git wip

instead of

$ git log --oneline origin/develop..wip

to see which changes I have in my workspace.

Show thread

- When I need to share my work, I create a regular feature branch based on 'develop' cherry-picking the relevant commits.

- Then I push the feature branch to get it reviewed and merged.

Show thread

To support this, I have evolved the following git workflow:

- All my changes lives on a branch called 'wip' (Work in progress).

- This branch is regularly rebased on top of our 'develop' branch.

- I heavily do interactive rebase of the branch to reorder changes and squashing updates to my configuration and convenience changes.

Show thread

Working on a shared project I often end up with a number of changes not suited for inclusion in the main branch.

These changes includes configuration of my development environment, code changes that make it more convenient to run and debug the code locally to my preferences, and changes not ready for review and merging.

"It doesn’t require a blockchain to make code law.

We could just decide to make “code is law” the law.

We just don’t because it sucks."

Making a conscious choice, I would probably strive after standard British English, but in real life I am probably getting more and more American English leaning.

But specifically that word can switch pronunciation for me in the middle of a sentence.

Show thread

As a non-native speaker of English, I really can't decide whether to pronounce route as /ɹuːt/ or /ɹaʊt/

Show older
Mastodon for Tech Folks

This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!