I took a template made by TailwindUI for Next.js and ported each of the components from React to Astro. Here’s my experience in building my personal blog with it.
In order to do server side rendering, both the server (for the first rendering) and the client (after the app hydration) will need to be able to call your API and fetch the data they need on the page. We'll talk about this soon. As a software engineer I have a fetish for 'clean code'. When I write a UI component I'd like it to be reusable, and to be in charge of only one thing (single responsability principle, right?).
Even if Node was a big successful project Ryan regretted some of his decisions. NPM, the primary package manager for Node and the central core of the Node ecosystem, is a commercial company and it was acquired by Microsoft recently. This doesn't necessarily means anything bad but it can affect the culture behind the project.
A little context: I recently moved to a new company and they are starting using Go for some of the projects currently developing. I found myself reading a bunch of code written by people who only recently started writing Go, and came from years of experience in other languages - i.e. Java and C++.
I always wanted to have a little domestic server for simple stuff that can be useful. In particular I wanted something similar and a bit more powerful than a Raspberry PI, that's why my research brought me to this Chinese manufacturer called AcePC.
I'm going to write a post about something that I'm sure you already heard before, but it helped me to approach new problems and projects. Like some kind of mantra, when it feels like too much work to do, I repeat to myself: 'one small thing at a time'.
It's not a revolution, live wallpapers existed before. But Apple did them right: a bunch of photos of the same spot in different time of the day, blended together to create the illusion of time passing - inside your desktop. I think it's pretty cool and I wanted it, but of course I don't have a MacBook, so...write it by yourself, right?
If you are not using Arch, you probably should. There's a lot to be said about Arch Linux but that's not the right place: we are here to install what I think it's basic stuff to get your brand new installation up and running.
Here's the fact: with Nintendo Switch it's possible to buy games in foreign online shops with only one limitation: you can only buy from a shop in the same big region as you are. I built a website to automatically find what country has the best price for each game!