Autowiring your controllers automagically when using MockMVC and Spring Cloud Contract (2 mins read).

How to automagically set up your Spring controllers when using MockMVC with Spring Cloud Contract.
I will be attending
What are folks' thoughts about using a password manager i.e. KeepassXC to store TOTP data (not the recovery codes) for MFA? My initial thought is that this sounds like a Bad Idea, but not sure if I'm being a bit too paranoid?
Decompiling Java Class Files On the Command-Line (2 mins read).

How to use the Fernflower decompiler on the command-line to decompile compiled Java classes.
Validating a Spring (Boot) Response Matches JSON Schema with MockMVC (3 mins read).

How to perform JSON Schema validation for a Spring (Boot) service's response when testing using MockMVC.
Post details
When somebody makes an error in our team, we never blame the keypresses of an individual, but rather the team processes that fell short. When bad things happen, we see it as an opportunity to improve our workflow and do it better in the future 👍Freek Van der Herten 🔭 (@freekmurze)Mon, 20 Dec 2021 10:07 GMT
This is definitely the way forward 👏🏽
Post details
My company just announced that next year we’ll be going to a 4-day work week Happy engineers make happy products 😁Martha Sharpe (@SharpeMartha)Sat, 18 Dec 2021 14:41 GMT
Week Notes 21#50 (3 mins read).
What happened in the week of 2021-12-13?
Pretty sure this game of #ApexLegends earlier was the best I've played - got my first Triple Triple badge, too!
Post details
I just found an ingenious way to get around the impending @Docker Desktop licensing kerfuffle: I paid them money for the software that I use all the timeJosh Long (@starbuxman)Fri, 17 Dec 2021 00:15 GMT
Big thank you to the Tech Nottingham organisers for the early Christmas present - had a lot of fun building these today!
Finally gotten around to buying and building a #Lego #ApexLegends Brickheadz of Gas Daddy himself, which as a Caustic main is very exciting. Looking forward to having him protecting my desk with independent variables. Thanks to HarrisonBenedict1 and Richy_s on reddit for the kit!
Post details
We can’t build in public And burnout in private. This sets an unrealistic standard for all following us. Managing mental health and burnout is a big part of founder life.Amanda Goetz (@AmandaMGoetz)Tue, 14 Dec 2021 21:09 GMT
Post details
Imagine if even one of these moonshot motherfuckers had done anything but profit from these last 20 months of misery.
Jer Thorp (@blprnt)Fri, 17 Dec 2021 23:23 GMT
Post details
Imagine if Jeff Bezos had spent a small piece of his fortune to ship a COVID test with every Amazon package this month.
Jer Thorp (@blprnt)Fri, 17 Dec 2021 23:18 GMT
Get onto 2.16.0 folks
Post details
Security firm @blumirasec discovers major new Log4j attack vector | ZDNet // Nice work, @gngrwsbi and team. zdnet.com/article/securi…J Wolfgang Goerlich (@jwgoerlich)Sat, 18 Dec 2021 03:13 GMT
Post details
String interpolation in log messages has been removed in Log4j 2.16.0, so one would have to use this pattern explicitly in the Log4j configuration file. In other words, an attacker would need to be able to overwrite the Log4j configuration to exploit this.(╯°□°)╯︵ ┻━┻ (@joschi83)Fri, 17 Dec 2021 08:29 GMT
The .new
domains are pretty cool, and I am tempted to look at something like indieauth.new
or oauth.new
, especially to hook it into tokens-pls
A good read about how getting management buy-in is important to unblock being able to ship code - long delays to get work shipped (to customers) leads to so much inefficiency!
Retrieving All Dependencies Required by a JAR at Runtime (3 mins read).

How to handily retrieve the full runtime classpath required for a JAR file, using Gradle.
I've written about this before in https://www.jvt.me/posts/2019/01/12/self-code-review/ and hugely recommend it - especially when there's a way to mark it as a Draft so it's clear it's not yet ready for review. After you've added comments, it may need you to address things before it can then go out to others in the team
Post details
Always always review your own PR before sending it to your team to review. I always think I'm done. Then I pretend to be someone else and review it, and I end up fixing 20 issues.Mae Capozzi (@MCapoz)Wed, 15 Dec 2021 21:34 GMT
Use a (JSON) Schema for the Interface Portion of your RESTful API (3 mins read).
Why you should be using a well-defined (JSON) Schema for the data classes that your API consumers will need to utilise.
Post details
I was today years old that I learned when you hash a URL in Java it does a DNS lookup to get the IP address associated with the hostname as part of the hash function.
Post details
If you're surprised about the log4j vulnerability, just wait until you hear what happens when you put a java.net.URL into a hashtablePete Hunt 🚁 (@floydophone)Sat, 11 Dec 2021 21:05 GMT
Nicholas Weaver (@ncweaver)Mon, 13 Dec 2021 17:58 GMT
Getting the Date from a Week Number in Java (1 mins read).

How to get the date from a week number and year in Java.
Debugging Chef Variables With Logs (3 mins read).

How you can use different means of logging to make operations with Chef cookbook a little easier.
Post details
Matt, Mike and Phil get back together after a wild summer vacay of drinks, sand, trees and getting hit by a car while out on a bike. We catch up with Phil and Stoplights efforts to reshape API Documentation as well as responsible OSS Community Involvement.

Week Notes 21#49 (4 mins read).
What happened in the week of 2021-12-06?
Post details
People making fun of log4j as if they never slammed some bash to parse out database credentials for reasons.
Smasher of DBs. First of her name. (@dbsmasher)Sat, 11 Dec 2021 19:19 GMT
Post details
This week did not show us weakness in Log4J, Java, or open source. It showed us their relevance and resilience. My🤘🏻to the folks keeping us safe with timely workarounds, fixes, and communications. This was a masterclass in global incident response.Andrew Lee Rubinger (@ALRubinger)Sun, 12 Dec 2021 07:01 GMT
Post details
It's incredibly annoying to see a snickering gallery of technologists laughing at the log4j vulnerability because it's Java. It's sophomoric and they should grow up and get over themselves.
John Graham-Cumming (@jgrahamc)Sat, 11 Dec 2021 17:46 GMT
If any of y'all are using #Localstack with Java Lambda projects, I'd recommend updating to v0.13.1 as it includes stay open mode for docker-reuse
so you won't be hitting cold starts on each invocation 🙌
Getting the Battery Status of a Bluetooth Device on Linux (1 mins read).

How to use dbus-send
to retrieve the percentage of battery left on a Bluetooth device on Linux.
Post details
this is the best opening to a technical book the world has ever seen and i will fight anyone who says otherwise
Actually, (@eaton)Mon, 06 Dec 2021 18:37 GMT
Post details
Sitting in the Google Meet waiting room until more people show up because you have crippling social anxiety and hate awkward/forced conversations 🙃
Emma Bostian 🐞 (@EmmaBostian)Fri, 10 Dec 2021 09:32 GMT
Converting a Kitchen YAML to Chef Attributes (2 mins read).

How to convert attributes being set for your Chef Test Kitchen integration tests to an attributes.rb
format.
Leftovers from the other night's roast made for a very nice lunch today, with some fresh veg and potatoes 😋
Had a good final #HomebrewWebsiteClub Nottingham of the year tonight with Carol Gilabert and Pete!
Using systemd-tmpfiles to manage temporary files and directories (2 mins read).
How I'm using systemd-tmpfiles to manage a temporary working directory and automagically clean it out.
Should That (Secret) Thing Be In Your Querystring? (2 mins read).
Why you should be very cautious about putting potentially sensitive values into the querystring of web APIs.