#100daystooffload posts
Take the challenge to publish 100 posts on your personal blog in a year. Learn more →
#100daystooffload posts
Take the challenge to publish 100 posts on your personal blog in a year. Learn more →
from Enjoy the detours!
This post is nothing special, no details or something, just a post that I'm happy with being done. The move was just a simple rewrite of the styles. No fancy tools used. Just transferred the styles one by one. So you could stop reading here. 😅
I'm just happy, after some months, that I'm now done with it. Started with it at the end of July. It was not just rewrite the styles, I also improved them. While doing the rewrite, I also added translations and error pages. The error pages were the main reason why I started it. I've had enough of writing vanilla-extract styles and wanted back to TailwindCSS. Not that VE is bad, I'm just happier with TW and makes fun to write.
Here is a little sneak peek of the redesign. Left is the old one, right the new:
63 of #100DaysToOffload
#log #webdev
Thoughts?
from Enjoy the detours!
For the last 2 years, I've worked on a MacBook for my clients and private projects. And I think I can finally compare the feeling of working with the MB and other Notebooks. Around 2015, I've bought my first ThinkPad, a T450s from Lenovo and used it for ~6 years (Before that, I was using a Schenker XMG Gaming Notebook, which was not the best for client work. Big and clumsy). I was happy with it and my Arch Linux installation. The only thing what bothered me, was the memory limit of 12gb. So I decided to buy the next ThinkPad, a T490s. That was the end of 2019 and the start of 2020. Which I then used until I bought the MacBook. The best thing was, that the Arch Linux installation was the same as on the T450s, I just moved the data onto a new bigger SSD.
To be clear, I will not compare the software on the Notebooks. They are not comparable, and I still would work with my Arch Linux. But I think that this is not worth the effort, especially on the newer M Chips. I always thought that Apple Hardware is superior to other hardware. Be it the iPhone or the MacBooks. But they made “strange” software was strange. I still think that, but I've learned to workaround it. My ulterior motive in buying a MacBook was that I wanted to save time. Just have a working system when you need it. Not that it was the case before, but I'm more compatible with my clients' work now. No hassle with VPN installations or getting something to work. I no longer wanted to be the “special” guy with the Linux Notebook anymore. 😅 It was cool when I was younger and had more time, but now with the Kids, my time is needed somewhere else. I'm still rooting for Linux, but I need to be more compatible and can't tinker around.
So, enough prelude. 😂 What I initially wanted to say was, that a MacBook is such a nice piece of hardware and I love to work with it. On the couch. On the dining table or just sitting somewhere on the ground. Mostly because the trackpad is so great. I was also able to play Oxygen not included with it on the couch. 😎 My other Notebooks were always a desktop alternative, with a mouse and keyboard plugged in. ThinkPads have the better Keyboard, that's for sure. But the Trackpad and also the Trackpad of other brands are from hell to torture you. I even learned to use the Trackpoint efficiently, which then was a game changer. But not the best for ergonomics.
What I want to compare here, to get to the point. Is that feeling when you take the Notebook, open the lid and start working with it. With the MacBook, it feels just good. With the ThinkPads or the Schenker XMG or event before, my old Compaq or Acer were all shitty. You always wanted to attach the mouse and do as less as possible. Furthermore, the MacBook is an aluminum unibody, the others just plastic slammed together. This is something you will recognize while using a Notebook. I wish other companies would do the same. But then you have the software, which is mostly Windows…
The frame.work Notebooks come close, I think. I never tested one, but if my next Notebook will not be a MacBook, then I would try a frame.work one. It is modular, looks like it will have a nice haptic comparable to a MacBook, and you can use Linux on it.
I hope this gibberish makes sense to anyone. 😂
62 of #100DaysToOffload
#log
Thoughts?
from Enjoy the detours!
I thought of trying a little series and showing off some neovim plugins I use on a daily basis.
To start somewhere, I'll go alphabetically with autopairs.lua.
return {
"windwp/nvim-autopairs",
opts = {
fast_wrap = {
highlight = "IncSearch",
}, -- setup function and press <M-e> to use fast_wrap
check_ts = true,
map_c_h = true,
},
}
For autopairs, I like it if it doesn't get in my way, and autopairs.lua
does a good job here. The feature I love the most is fast_wrap
. You simply hit <M-e
and it will ask you where you want to wrap it. Simple and clean. :)
That's it. A plugin I wish would be shipped with Neovim already.
61 of #100DaysToOffload
#log #neovim
Thoughts?
from Enjoy the detours!
I’ve bought me a Christmas present, a refurbished steamdeck and it arrived today. After unpacking and putting in the charging cable, I’ve started the deck. Sadly, I’m stuck in an installation problem, and I’m unable to complete the setup. 😢
Besides the current problem, the steamdeck feels incredibly good and lightweight. The haptic is remarkable and fits perfectly in my hands. The buttons also have nice feedback so far. And I’m eager how the haptic is while playing a game. Let’s hope that the setup issue is only temporarily and solved quickly.
After some thoughts, my decision was pro steamdeck. I’ve been the owner of a switch for around 4–5 years, and I’ve played a lot on it. My biggest issue with the switch is, that most of the indies games I want to play, have a release far beyond pc/steam releases. The same goes for PS5 and the PlayStation portal. On the portal I’ve played Sonic Frontiers, and it made a loooot of fun, but that’s it. The other games are mostly TripleA games which I don't feel like doing at the moment. I am currently much more interested in small indie games. While the switch is cool for party games and the PlayStation portal for big cinematic games like God of War: Ragnarök (which I did not touch since I’ve owned it) or Spider-Man 2 (which is a great game). The steamdeck has a bigger range of games AND is open. I love that they’ve gone with Arch Linux. Which I used the last 15 years, before owning a MacBook for the last 2 years. 👌
60 of #100DaysToOffload
#log #steamdeck
Thoughts?
from Enjoy the detours!
Some days ago, my GitHub Copilot subscription ended, and I decided to switch to another paid auto-completion service.
Overall, I was ok with what GH Copilot delivered. But I heard a lot about the new kids in town and wanted to explore them. I was split between Codium and Supermaven and decided for Supermaven after their announcement that they will join Cursor.
For 2 years now, I have been using Copilot. 99% of the time just for code completion. Very rarely, I've written a comment to tell it what it needs to do. In the past months, I was not satisfied anymore with the results it gave me. I was editing the results more than it saved me writing them.
The start with Copilot was also a bit bumpy. I needed to get a flow. Sadly, the original Vim/Neovim extension by TPope was slow and cumbersome to use. Luckily, there was a Copilot Plugin written in Lua which was fast enough to get a good flow. For auto-completion, I usually use CMP, but I don't want to mix Copilot with CMP and took another approach. This was by getting the suggestions and accepting theme with meta+tab
and cycling through suggestions with meta+[
and meta+]
. That was enough for me, to have a nice auto-completion for more than 1,5 years. 😎
With the rise of the new kids on the block, the suggestions got worse with every day. So, a replacement was needed. :) I waited until my subscription ended and then tried the new one.
I can't say much besides, all works flawlessly. From account creation to plugin installation, everything worked on first-try.
They maintain a GitHub repo, from where you get your instructions on how to set up Supermaven in Neovim.
Here is my config:
return {
"supermaven-inc/supermaven-nvim",
config = function()
require("supermaven-nvim").setup({
keymaps = {
accept_suggestion = "<m-tab>",
clear_suggestion = "<m-k>",
accept_word = "<m-j>",
},
ignore_filetypes = { cpp = true }, -- or { "cpp", }
disable_inline_completion = false, -- disables inline completion for use with cmp
})
end,
}
There is no cycling between suggestions, but it's no problem, so far, there was no need for them. 😅
It's insane how instant the suggestions came and, until now, on point. A feature which is now a must-have for me is, that you can accept words of the suggestion, if you don't want it all.
On my supermaven.com account is a Chat credit. This is something I haven't figured out how to use. Maybe it is only available in these bloated IDEs. 🤷
I'm more than happy with it and enjoy everyday coding with it, so far.
59 of #100DaysToOffload
#log #code #neovim #supermaven
Thoughts?