archive

how-to

Merging GeoPackages

2 minute read

The other day I had to deal with a problem I haven’t dealt before. I have to merge a bunch of GeoPackages (.gpkg) containing Finnish Forest data —downloaded from here :finland: — because they had more sense if they ended up together. The reality is, GeoPackage format is something quite new to me —well, it was approved in 2014— since I’ve been us...

Testing the Dosdude1 patch to disable the dGPU on macOS

5 minute read

As you know, I have a problem on my vintage MacBook Pro late 2011 related to my dGPU. Basically it died :skull: at the end of 2017. So I have to find a patch to be able to continue use it, and I finally did in this way.

Installing R with Homebrew with all the capabilities

2 minute read

As I explained in my previous post if you installed R with Homebrew you have less capabilities than with a R installed from CRAN’s binary. But, can you have all the capabilities while you still use Homebrew to install R? Yes! However… why you bother to install it with Homebrew at all instead of installing it from CRAN. Well, it’s true that CRAN ...

The ciabatta recipe

3 minute read

Lately I’ve been extending my baking skills and I’ve been practicing the ciabatta recipe from Iban Yarza’s book, Pan Casero, which I think is delicious. I say extending my baking skills because it’s the first time I’ve tried a preferment recipe and more specifically poolish. Poolish have zero complications in comparison with the straight doughs,...

Delete all the snapshots from the local time machine

less than 1 minute read

Sometimes you need to delete all the snapshots that the macOS time machine do locally just because you want to get rid of something of because you need to reclaim that space. Before one could use sudo tmutil disablelocal to delete everything and then sudo tmutil enablelocal to enable the local snapshots again —since they are useful. However, tha...

iTerm2 + Oh My Zsh + Powerlevel9k + Monaco Nerd Complete Font

7 minute read

In general, I don’t use my Mac’s Terminal app. Instead, I use iTem2 with a special configuration, that doesn’t use Bash, but Oh My Zsh as a shell, that is a framework to manage Zsh configuration as your shell. This framework allows you to install plugins or configure your prompt, among other cool things. I’ve also configured iTerm2 to work with ...

Disconnecting the dGPU in a late 2011 MacBook Pro —third way

6 minute read

Update 2017.12.12-14.20 EET: whether or not I use the AMDGPUWakeHandler and whether I sleep or hibernate I can’t wake up of the hibernation/sleep. Depending on if I have AMDGPUWakeHandler on or off I get different outputs, but none of those end in a successful wakeup.

My MacBook Pro late 2011’s discrete graphics card said “ciao” 👋🏻 —again

14 minute read

Last Sunday wasn’t really a pleasant day. On Saturday late night, or rather around Sunday 00.30 am, my MacBook Pro late 2011’s discrete graphic card begin to fail to in the end not being able to boot it properly. The computer was working just fine, it wasn’t even using the discrete card, connected to the external screen as I’ve been doing lately...

Homebrew

5 minute read

In some of my previous post [e.g. 1, 2, 3 or 4 ] I’ve been using Homebrew to install some pieces of software in my Mac using the terminal, or shell. But, perhaps you’ve been wondering what is exactly Homebrew? It defines itself as “the missing package manager for macOS”. Yet… what is a package manager? A package manager is a small piece of softw...

Pizza recipe

7 minute read

Since it’s Sunday let’s have some pizza for dinner. Here is the pizza recipe I usually make at home, and what I would call our standard pizza. It’s really rare that we don’t bake one once per week or at least two weeks.

My bread recipe

2 minute read

Ok… as I promised in my previous post, here it’s my bread recipe for straight dough. I’m not going to fully explain the techniques, since they are already explained in the earlier post. There, you can also find what tools you need and, in case you want to change the ingredients quantities, the tables for bread and pizza.

The preliminaries for bread and pizza making

21 minute read

When I started to write this post, it was going to be just my bread recipe, as promised in my previous post. However, as I dug down little my little explaining the basics of bread making, I realize that I’d be better to make a post just explaining the basic of bread and pizza making and then in two other different post explain the recipes. Again...

Media Buttons Behavior Has Changed In macOS High Sierra

1 minute read

macOS High Sierra has changed the behavior of the media buttons on macOS —AKA those buttons you use to play/stop music or go forwards or backwards. Before, they were reserved to manage music, whether you where playing in iTunes or Spotify, with iTunes having preference (usually). They also worked with some video player.

Set rStudio with Homebrew’s Git

3 minute read

As I’ll try to explain in the future, I have a full Homebrew R install. I also try to use Homebrew to install as much applications and utilities I can because I think it’s really handy to be able to install or update just with a simple command in the shell. Although sometimes it give you a little bit of a headache, as this time.

trash instead of rm

1 minute read

I just discovered that there is a way to send files to the trash instead of just delete them using the shell and I think it’s really useful when you don’t want to totally discard something to the oblivion. I found out about this because I was working on the shell and I needed to remove some files to check if app could work without them. Move or ...

Installing Raspbian in a Raspberry without keyboard and external screen

7 minute read

A few months ago we acquired a Raspberry Pi 3 Model 3 in the hopes to play a little bit around with it to learn some Linux and perhaps to use it as a computer to host rStudio Server and run some scripts on it. But things have been little by little been delayed, mainly because we didn’t have at hand a proper monitor nor USB keyboard.