- Hasura – Installation and Your First Query
Get an engine running and a real query answered in one sitting. The Docker Compose service that runs Hasura next to Postgres, why the database port inside the compose network is not the one you published, the admin secret and what it grants, and the console. Then the same thing in v3: installing the `ddn` CLI, `ddn supergraph init` and `ddn run docker-start`.
- Java Arrays
An array is a fixed-size, indexed block of values that all share one type. It is the simplest container Java has, it is what ArrayList is built on, and the moment you need it to grow you should stop using it. Creating an array Two things to fix in your head now. The size is permanent — an int[5]…
- Java For Loop
A loop runs a block repeatedly. Java has four, but the choice between them is nearly mechanical: if you are walking a collection, use for-each; if you are counting, use a classic for ; if you do not know how many times, use while . This post covers all four and the two mistakes everyone makes at…
- Spring Boot – Aspect-Oriented Programming
Cross-cutting concerns without copying the same five lines into forty methods. Pointcuts, @Around advice and a real timing aspect over the service layer — plus the proxy rule that catches everyone: a self-invocation inside the same class never goes through the proxy, so the aspect simply does not run.
- React Native – Safe Areas, Notches and the Keyboard
The screen is not a rectangle you own. A notch, a camera cut-out, the home indicator and rounded corners all eat into it, and the amounts differ per device and orientation — so they cannot be constants. `useSafeAreaInsets`, where the navigation header already handles it for you, and `KeyboardAvoidingView`, which needs different behaviour on each platform to work at all.