Recommended read: Run the Dishwasher Twice. A lesson on throwing out the rule book… | by Kate Scott | Forge https://forge.medium.com/run-the-dishwasher-twice-e24ff24def60
Hi, I'm Jamie Tanna (he/him/his), and I'm currently a Tech Lead (Senior Software Engineer) at the Central Digital and Data Office where I'm working under the Data Standards Authority on
api.gov.uk, improving cross-agency API usage, and the further development of https://www.api.gov.uk/.
I use my site as a method of blogging about my learnings, as well as sharing information about projects I have previously, or are currently, working on in my spare time.
I'm a GNU/Linux user, a big advocate for the Free Software Movement, and the IndieWeb movement and I try to self host my own services where possible, instead of relying on other providers.
Drop me an email at firstname.lastname@example.org, or using any of the other social links below.
Error Handling in (Spring) Servlet Filters (2 mins read).
How to return HTTP errors when a Java Servlet fails with Spring (Boot).
Week Notes 22#02 (4 mins read).
What happened in the week of 2022-01-10?
Recommended read: How does Treblle scale on AWS without breaking the bank? https://treblle.com/blog/how-does-treblle-scale-on-aws-without-breaking-the-bank
Recommended read: 10 real-world stories of how we’ve compromised CI/CD pipelines https://research.nccgroup.com/2022/01/13/10-real-world-stories-of-how-weve-compromised-ci-cd-pipelines/
This is great for anyone using Actions, as this was seen to be a vulnerability for getting past code review
Recommended read: GitHub Actions: Prevent GitHub Actions from approving pull requests | GitHub Changelog https://github.blog/changelog/2022-01-14-github-actions-prevent-github-actions-from-approving-pull-requests/
Recommended read: What do Java annotation ElementType constants mean? - Stack Overflow https://stackoverflow.com/questions/3550292/what-do-java-annotation-elementtype-constants-mean
uuid, a Java Library for UUID Validation (1 mins read).
Releasing a new library that can be used to validate UUIDs in Java.
Validating UUIDs with Regular Expressions in Java (1 mins read).
How to validate UUIDs and UUIDv4s in Java with a regex.
Recommended read: Orca Security Discovers AWS Glue Vulnerability - Orca Security https://orca.security/resources/blog/aws-glue-vulnerability/
Auditing with Spring Boot Actuator (9 mins read).
How to use Spring Boot Actuator for your audit and business event logging needs.
Returning a Value, or a Default, From a Java
Optional (1 mins read).
How to replace imperative code with a functional style, when returning a default value for a Java
Announcing the publishing of readme.jvt.me as well as automagically updating READMEs in my GitLab and GitHub profiles.
Recommended read: Board Game Arena: Play board games for free online https://en.boardgamearena.com/
With the ongoing decline of the climate emergency, as well as the increased usage of cryptocurrencies, there's definitely something to think about in terms of how we improve our impact on this dying world
Recommended read: Being on-call as a software engineer - a challenging and fast learning experience · trivago tech blog https://tech.trivago.com/2022/01/12/being-on-call-as-a-software-engineer-a-challenging-and-fast-learning-experience/
Recommended read: Lessons learned using contract testing in GOV.UK Pay https://technology.blog.gov.uk/2019/01/29/lessons-learnt-using-contract-testing-in-gov-uk-pay/
Recommended read: Spring Boot Actuator - Accessing Endpoints via JMX - Roy Tutorials https://roytuts.com/spring-boot-actuator-accessing-endpoints-via-jmx/
Recommended read: The Great Resignation is here. What does that mean for developers? https://stackoverflow.blog/2022/01/10/the-great-resignation-is-here-what-does-that-mean-for-developers/
Recommended read: Making Open Source economy more viable with dual license collectives https://dpc.pw/making-open-source-economy-more-viable-with-dual-license-collectives
Adding both an
ObjectMapper and a
YAMLMapper to Spring Boot (2 mins read).
How to have an
ObjectMapper and a
YAMLMapper coexisting in a Spring Boot project's bean dependencies.
Recommended read: The right to delete: how faker.js exposed the fragile nature of open source culture, again https://www.thegingerviking.com/the-right-to-delete-fakerjs-fragile-nature-open-source/
I will be attending
I'll be attending some of the talks - unfortunately clashing with UKGovCamp means I'll be split between the two
Nice, I've found one of my own projects in this which is pretty cool 🤓
Well worth searching your GitHub URL with Google Scholar. E.g. scholar.google.com/scholar?q=gith… Great way to find out if your code has made it into any academic publications.
Terence Eden (@edent)Sun, 09 Jan 2022 15:56 GMT
Recommended read: know how your org works (or how to become a more effective engineer) https://copyconstruct.medium.com/know-how-your-org-works-or-how-to-become-a-more-effective-engineer-1a3287d1f58d
Recommended read: Dev corrupts NPM libs 'colors' and 'faker' breaking thousands of apps https://www.bleepingcomputer.com/news/security/dev-corrupts-npm-libs-colors-and-faker-breaking-thousands-of-apps/
Recommended read: Open source developer corrupts widely-used libraries, affecting tons of projects - The Verge https://www.theverge.com/2022/1/9/22874949/developer-corrupts-open-source-libraries-projects-affected
Week Notes 22#01 (4 mins read).
What happened in the week of 2022-01-03?
Recommended read: In the aftermath of Log4Shell, three lessons that organisations must learn | Jetstack Blog https://www.jetstack.io/blog/log4shell-lessons-to-learn/