A Java Geek weekly 23

Renovate, a Dependabot alternative

The more I use Renovate, the more I love it!

Falsehoods programmers believe about time zones
  1. UTC offsets go from -12 to +12
  2. Every UTC offset corresponds to exactly one time zone
  3. There are more countries in the world than time zones
  4. Every time zone has exactly one agreed upon name
  5. Time zones are always offset from UTC by an integer number of hours
  6. Fine, time zones are always offset from UTC by an integer number of half-hours
  7. A country stays at the same UTC offset all year long
  8. There is a standard format for declaring time zones
  9. Daylight Saving Time starts at the same time every year
  10. A country’s time zone never changes
  11. A country stays in the same time zone during Daylight Saving Time
  12. Daylight Saving Time starts around March and ends around October
  13. Every time zone has it’s own name
  14. Every time zone has its own abbreviation
  15. There is always an unambiguous conversion from one time zone to another
  16. Your time zone library can recognize any time zone (you are using a library for this, right?)
  17. The entire country always shifts during Daylight Saving Time
  18. The entire state always shifts during Daylight Saving Time
  19. Other than DST, every city within a state follows the same time zone
  20. Every city sits within exactly one time zone
  21. There’s a designated time zone for every location in the world
  22. This is a comprehensive list of misconceptions
  23. Redditors will agree these are all misconceptions
Say Goodbye to Containers - Ephemeral Environments with Nix Shell

Another great video by Viktor.

LangChain4J - use the power of LLMs in Java!

I definitely need to play with this.

Event Interception: intercept any updates to system state and route some of them to a new component

A compilation of patterns to seamlessly move from a legacy system to a new one.

How I Reduced Our LLM Costs by Over 85%

Might be an advertisement for OpenPipe, but the only way to know is to try.

Rebuilding FourSquare for ActivityPub using OpenStreetMap

The Fediverse seems to have a lot of potential. I wonder if I should invest time there.

Why Facebook doesn’t use Git

Facebook didn’t adopt Mercurial because it was more performant than Git. They adopted it because the maintainers and codebase felt more open to collaboration. Facebook engineers met face-to-face with Mercurial maintainers and liked the idea of partnering. When it came to persuading the whole engineering org, the decision got buy-in due to thoughtful communication - not because one technology was strictly better than another.

The future of the web: navigating HTMX, vanilla JS, and React

Choose React when:

  • You want advanced control over UI effects and DOM manipulation without having to code from scratch
  • You would like to leverage a rich ecosystem of third-party libraries and pre-built components
  • You are an experienced developer, or you don’t mind a learning curve as React concepts can be tricky

Choose plain JS when:

  • You are a beginner and/or want to learn the fundamentals of browser programming
  • You want complete control over your app
  • You need to build without any external dependencies or you want to keep your build size small

Choose HTMX when:

  • You want to do some frontend work with a low learning curve
  • You need to implement simple interactions quickly
  • You can render pages server-side and don’t want or need a huge JavaScript app
Microsoft Confirms Russian Hackers Stole Source Code, Some Customer Secrets

The group in question is backed by the Kremlin.

The Idempotency-Key HTTP Header Field

The HTTP Idempotency-Key request header field can be used to carry idempotency key in order to make non-idempotent HTTP methods such as POST or PATCH fault-tolerant.

Nicolas Fränkel

Nicolas Fränkel

Developer Advocate with 15+ years experience consulting for many different customers, in a wide range of contexts (such as telecoms, banking, insurances, large retail and public sector). Usually working on Java/Java EE and Spring technologies, but with focused interests like Rich Internet Applications, Testing, CI/CD and DevOps. Also double as a trainer and triples as a book author.

Read More
A Java Geek weekly 23
Share this