🎧 Music – Top artists the last 30 days Cocteau Twins 55 plays Broder Daniel 15 plays Beach House 13 plays The Hidden Cameras 13 plays Tunde Adebimpe 13 plays Slowdive 10 plays Asobi Seksu 9 plays Markus Krunegård 9 plays 📚 Books (Follow me on Hardcover or Goodreads ) Currently reading Kallbrand by Cilla Börjlind and Rolf Börjlind , the fifth book in the Rönning & Stilton series . Just finished…
My wife, friends, and I used to play Minecraft together, but we haven't done that in years, like since we had kids. Now the kids are old enough to play Minecraft themselves, and we want to play together again as a family. The problem is that the kids play on a PlayStation 5 and a Nintendo Switch, while we parents play on Mac computers, and Minecraft doesn't support cross-play between the Bedrock…
I came across a blog post by Tom where he discusses his simple webmention implementation in Eleventy . I decided to do something similar for this site, so now each post includes webmention statistics instead of the already existing stats from the Fediverse. I made one small change to the webmention fetch function by combining mention-of and in-reply-to numbers. Have some thoughts? Send me an…
I thought the fix was so weird that I decided to write a blog post about it. Have you ever wondered why the electric door on the passenger side of the Volkswagen Sharan won't open after you've fitted a new battery? Neither had I until last week when I picked up my car from the mechanic and noticed that the door button was blinking, and nothing happened when I pressed it. The closing mechanism was…
🏢 Work I'm still enjoying my role as a señor developer at Teamtailor , now in my 11th year. 🚀 📚 Books (Follow me on Hardcover or Goodreads ) Currently reading Springfloden Cilla Börjlind, Rolf Börjlind Just finished the Beartown series by Fredrik Backman 🎮 Games The Finals Terraforming Mars Have some thoughts? Send me an email.
This site uses two custom fonts, and I wanted to see if I could make them smaller to improve loading times. I found a tool called Glyphhanger that does just that: subsetting fonts to only include the characters needed. The "logo" The "logo" on this site that is set in a custom font. It felt very wasteful to load the entire font just for displaying my name. Using the following command (I used…
I got, as usual , bored with the previous design of this site, so I decided to change it. This is something that happens from time to time and it gives me the chance to experiment with new things. Some more or less notable changes New colors which I found on @randomColorContrasts@botsin.space . Trying out Open Heart Protocol buttons on each post, a tiny heart button to show appreciation for the…
I have added a new page to this site: Bookmarks , where I will share links I find interesting or good. You can subscribe to it with its new RSS feed . I suppose it will include links related to my interests, such as web development, programming in general, photography, the IndieWeb, and other random things. Have some thoughts? Send me an email.
I have wanted to move this site from Netlify for a while now, but the recent news about their bandwidth pricing made me finally do it. I looked into some alternatives (like Render, Cloudflare, Vercel, etc.) and decided to go with Cloudflare Pages. I liked Cloudflare the best because of their generous free tier. I connected my GitHub repository to Cloudflare Pages and had Cloudflare build and…
I recently merged a Pull Request to enable Jemalloc in our (Teamtailor's) production Rails app, and the results were impressive. After deploying Jemalloc, our app's memory usage decreased from around 6 GB to just 2.5 GB. Super nice! Our next step involved switching to ARM architecture with AWS Graviton for our ECS tasks, resulting in improved performance at a lower cost. Two big wins in a short…
Teamtailor has been running with jemalloc in production for a couple of days, with great success . Today, we wanted to try running the app on AWS's Graviton, their ARM-based CPUs, to see if we could get a better cost/performance ratio. Our Docker image setup for jemalloc, based on a gist from John Bachir , was using a hard-coded path containing a reference to x86_64 : ENV…
You might have noticed in my last post that I am using Migadu as my email service provider. Back in June, I changed my domains DNS to point to Migadu instead of Fastmail has been as worry-free as Fastmail, just cheaper. The main domain I use is based on my wife's family name, and we've got a few folks who would love to have their own firstname@lastname email addresses. Unfortunately, it became…
After scrolling past both Adam's and Kev's posts on Mastodon, in which they shared their lists of default apps for 2023, I thought it might be fun to create one myself. There's even a list of other people's posts like this . 📨 Mail Service: Migadu 📮 Mail Client: Apple Mail 📝 Notes: Apple Notes & Logseq ✅ To-Do: Things 📆 Calendar: Apple Calendar 🗞️ RSS service: Feedbin ⌨️ Launcher: Raycast 🛹…
Our main Rails app on Heroku uses multiple redis instances. We have one instance for our job queue, one for caching and one instance for our session store. This is how we setup Datadog to monitor the health of our redis instances. The setup is based on Datadog's article on monitoring Ruby on Rails on Heroku . So we need to enable the redis integration in Datadog by adding a file at…
Decided that it was time to try Mastodon again and after reading Run your own social I knew just had to setup my own instance of the Hometown-fork . After spending a couple of hours to find a new domain for the Mastodon server I finally found one that was available and that I liked: meet tacocat.space . Feel free to follow me on Mastodon at @jonas@tacocat.space ! Have some thoughts? Send me an…
I wanted a basic way of tracking in Home assistant if me and/or my wife was at home or not, to be able to make my home a bit smarter. I didn't want to have an other app on my iPhone tracking my location all the time, mostly due to avoid extra battery drainage. I already have Apple's Home app installed, which can trigger stuff based on if I arrive or leave the home, perfect! Now I just needed to…
Why not blog about some VS Code extensions I'm using, maybe it can inspire someone. I tried to focus on the more unique and fun ones. TabNine Mindblowing autocompletion for all languages. It uses machine learning to predict what you're typing, and it's correct almost every time. Unstable Ember Language Server A must-have when working with Ember.js, which I do for a living at Teamtailor .…
When I started moving this site from Jekyll to Gatsby I noticed that my deploys to Netlify was very slow. Mostly because I have a lot of large photos that need to be converted and optimized to different sizes. I experienced deploy times over 10 minutes and thought that there must be something to do to speed things up. When I was using Jekyll I just dumped my photos cache inside the node_modules…
I used to host this site on Heroku but have now moved to a platform build for static sites, or as Divshot puts it: Static Web Hosting for Developers . Setting up the site on Divshot was a breeze, took just a couple of seconds from when I started reading the documentation to when I had the site up and running. And they even have a free plan for small sites like this one. Continious deployment with…
Heroku has finally released their own integration with Github . So it’s time for me to officially retire my current solution based on my HerokuDeployer project. An app that I build for the sole purpose of deploying this Jekyll blog with just a push to the Github repository. I’ve been using the new official Github integration as part of the closed beta for a while and it has worked flawlessly. Just…
I've updated my Jekyll + Heroku + Unicorn sample app to the latest version of Jekyll available (2.3.0). It now have all the latest features from Jekyll! I also added a Heroku Button . So you can deploy your own version of the Jekyll site to a new app on your Heroku account with just a single click on a button . You can try it directly here on this blog by clicking the button below. Pressing this…
Had some fun with Ember.js and Firebase today. Tried out the EmberFire lib provided by Firebase to use Firebase with Ember-Data. I also used the Ember CLI for the first time, can really recommend it. Wanted to see how easy it would be to build an real time syncing Ember.js app and then deploy it to the new and easy to use Firebase hosting service. It resulted in a simple planning poker app to help…
The Jekyll gem have been updated to 1.0 . So I've now updated both this site's source (even made the repository open!) and my example repository for hosting a Jekyll site on Heroku . Have some thoughts? Send me an email.
Every Monday morning at 8:00 breakfast is served for the Mynewsdesk employees at our headquarter in Stockholm. It became some sort of tradition for me to take a photograph of my breakfast every morning and here’s the result from 2012’s breakfasts. Have some thoughts? Send me an email.
The built in code highlighter in Jekyll doesn't work on Heroku due to some issues with Python. I came up with a work around by using the Pygmentize gem instead. Gemfile Add the Pygmentize gem to your gemfile: gem 'pygmentize' And run bundle install _plugins/highlight.rb Create a new file in the _plugins directory with the name highlight.rb . Paste the following code to make the built in code…
I got tired on creating new files manually for each new post a write so I put together this little command line task with Thor . It creates a new file in the _posts directory with today's date , parses the parameters to command as the post's title and adds that as a slug to the new file. It then writes a default yaml template to the file (as specified in the script). Running thor jekyll:new New…
Use Prose , a content editor for GitHub, optimized for managing websites , to get a web based interface for managing your Jekyll site (or other text-based content in your Github repositories). You can now write a new blog post or fix that typo without even leaving the browser . You can even specify metadata defaults for your posts. This work really out of the box if you host your site on Github…
Automatically deployment of your app to Heroku when it has been pushed to Github with github-heroku-pusher by ajlai on Github . I found this little Sinatra app a couple of days ago and have now set up it to automatically deploy this Jekyll site to Heroku when I push the repository to my Github account. It receives a post from Github via the post-receive service hook, fetches the updates and push…
Deploy your Jekyll site on Heroku with 6 workers ready to take on your massive traffic without first having to generate the Jekyll site locally and there's no need for a third-party buildpack . And the best of all, it runs on a single and free Heroku Dyno . Rack-Jekyll I have previously used jekyll --server in my Procfile on Heroku which in turn generated the jekyll site and booted up a webrick…
This blog is driven by Jekyll and i have written a simple plugin to Jekyll that makes it easy to embed photographs from Flickr directly into your posts. If you have a Gemfile, start by adding the fleakr gem to your Gemfile and run bundle install . If you don't have a Gemfile, install the gem with gem install fleakr . source :rubygems gem 'RedCloth' gem 'jekyll' gem 'fleakr' Then add the flickr…
This is what happens with your traffic when one of your sites gets infected by malware and therefor being "blocked" by google. From a daily count of 200-300 visitors down to 0-2 visitors per day. But it's a funny graph to look at. And this is the awesome thing that happens when one of the posts of the same site as above is posted and gets popular on reddit . From a stable 150-200 visitors per to a…
Hello world! The must-have post of a blog. I don't know how many blogs i have started but if I know myself this isn't the last one. Sadly... However, the plan is to post some photos and maybe even some things about my other hobby (besides photography) coding/web development/yadayada. Time will tell. Have some thoughts? Send me an email.