I've been trying to use GCP Managed Certificates with DNS Authorization, but no success.
I guess that I'll have to try cert-manager.io ... I was hoping for something easier and more straightforward.
I've been trying to use GCP Managed Certificates with DNS Authorization, but no success.
I guess that I'll have to try cert-manager.io ... I was hoping for something easier and more straightforward.
Back to playing with k8s & Google Cloud:
1. Postgres StatefulSet β
2. Redis β
3. Google Secrets β
4. NextJS App (+load google secrets on boot) β
But now, I'm struggling hard to get a Wildcard Certificate working with my Ingress/LB π
#kubernetes #gcp
Visual representation of services in a railway dashboard
With railway.app I have:
- 2 next.js apps
- 2 node.js apps
- 2 postgres
- 1 redis
- 1 temporal ui
- 1 temporal engine
And pay like $12 per month (monitoring stuff is currently paused as it would add an extra $8)!
Breakdown of amount paid for a single day in google cloud with an empty kubernetes cluster. - Kubernetes engine: β¬3.46 - Could Monitoring: β¬0.83 - Networking: β¬0.38 Total: β¬4.68
Playing around with @kubernetes.io on GoogleCloud - spun up an empty cluster, deployed a couple of Docker imagesβ¦ and got an instant β¬5 bill on day one.
Amazes me how services like railway.app and fly.io manage to offer so much at such low prices!
Is this the new axis of evil?
My 3yo loves playing it and consistently beats me! not at 6am though π
Here is the link for the course youtube.com/playlist?lis...
Itβs 4 years old, but given the stability of go, most still applies. Only missing a chapter or two on generics (they werenβt released back then)
Matt Holidayβs βgo classβ is a masterpiece. Canβt believe thereβs content of this quality freely available. Itβs been a good learning experience not only in @golang.org but also in software development as a whole.
Iβve been working on a side projectβa blog-like platform focused on photography. Itβs a space where photographers can blend storytelling with their visuals.
Not sure if it will ever see the light of day, but Iβve learned a lot along the way.
Designs by @umzuuh.bsky.social π
For now, the CLI is local, but it has already streamlined my workflow significantly. Managing tasks in Chronical feels much more organized and efficient now.
One thing I havenβt figured out yet is how to publish the CLI for global use. The ESM + TypeScript combo has made this trickier than expected, and Iβm not willing to spend too much time on it for now.
I used `@effect/cli` to build this, and it took just a couple of hours to have everything done and ready to merge! Effect is as brilliant as ever. π
Switching between folders to perform these tasks was manageable for now, but in a few months, Iβd probably feel lost trying to find specific tasks.
To solve this, I built a centralized CLI to keep all these tasks in one place. Itβs a huge help in reducing cognitive load.
In my monorepo, I had several tasks scattered across different packages.
* Run @temporal.io workflows manually
* Deploy smart contracts with hardhat (local/testnet)
* Create/deploy local graphs with @graphprotocol.bsky.social
* Run migrations/seeds ...and more.
#buildinpublic
Kudos to @mattmazur.com π
This style guide puts into words some of the unspoken (and OCD-like) rules I followβand adds a few Iβll adopt.
One concept I plan to explore further is CTEs. Iβve used them sporadically, but after reading a few articles, they seem worth a deeper dive.
github.com/mattm/sql-st... #buildinpublic
A deployment architecture diagram showing interconnected services
Dashboard displaying PostgreSQL database metrics: version 16.3.0, CPU and memory usage graphs, file descriptors, settings like shared buffers and cache, and database stats including active sessions and transactions.
Screenshot of a Grafana dashboard displaying metrics for a Node.js application. Panels include CPU utilization, event loop lag, process memory usage, heap usage details (total, used, and available), with colorful graphs tracking values over the last hour.
Got Prometheus metrics set up and dashboards running in Grafana for some generic metrics. Still need to explore good insights and custom metrics, but it feels great to have the foundation in place!
#buildinpublic
Although Chronical isnβt live yet (zero users π ), Iβm using it to sharpen my engineering skills. This week, I focused on Grafana & Prometheus, and as soon as I set up tracing, I found a couple of performance improvements. Insights like this feel like a superpower! #buildinpublic
I've mostly enjoyed working with RHF, this issue was the only design limitation I faced: github.com/react-hook-f...
It was quite frustrating as I had to change my UX due to this.
Whenever I see a double rainbow this video is all I can think aboutβ¦
youtu.be/OQSNhk5ICTI?...
In Chronical, users can customize parts of the overall theme to better align with their brand. While customization options are currently limited, our goal is to give users the tools to make their publications truly reflect their brand identity.
#buildinpublic
Thrilled with how Stories are shaping up on Chronical!
#buildinpublic
I got interested when i saw Evan βs announcement of VoidZero, but itβs still early, the formatter is not available yet. Iβll keep an eye, for sure!
Apple pencil hover effect is sooooo good! I love it on the freeform app, but works so well on some websites as well, check how great it is at effect.website docs.
I usually track the text Iβm reading with the pencil (and point at stuff), and here I get extra info in the hover dialogs π₯°
Probably these were the ones with the most impact:
Effect - effect.website (discovered in 2023, but gone more in-depth in 2024)
Temporal - temporal.io
Railway - railway.com
Cursor - cursor.com
I would include Biome, but I'm still struggling with having it working properly with my monorepo.
Just watched it. Loved it, immediate subscribe. Keep it up π₯°
"Simplicity is a great virtue but it requires hard work to achieve it and education to appreciate it. And to make matters worse: complexity sells better." - Dijkstra
One of the many gems about software design philosophies found in github.com/ardanlabs/go...
#softwaredevelopment #programming
Finally, I implemented an optimistic pre-fetching strategy: while viewing an image, the assets to its left and right in the gallery are preloaded. This way, transitions feel instant when navigating between images.
Next, I tried blurring the currently displayed image and adding a loading spinner while fetching the next one. It looked better, but the transitions still felt slow and awkwardβblurring an already fully loaded image didnβt feel right.
The first step was tweaking the `react-query` to keep the previously image data during transitions. This removed the blank screen issue, but the transitions still felt unresponsive.