archive

Technology

Normalizing line endings on files for Git

3 minute read

I had a repo that suffered an unconventional fork, in other works, someone decided copy it and work outside Git —or any other version control system :dizzy_face:. After that, the fork was set as a Subversion repo and store in a local server. To bring those changes back to the original repo, I had to set it up as a non related branch of the origi...

No message, no connection in LinkedIn

4 minute read

I think this is something that almost anyone with a LinkedIn account has suffered or happened to them… an invitation to connect that comes out of the blue from someone you don’t know. No message, or just the standard message, no explanation, nothing… just an invitation in your LinkedIn inbox from someone, usually with a happy face —maybe a fake ...

Discovering Hypothes.is

2 minute read

I just discovered Hypothes.is which is a service to annotate and highlight articles, posts, pdfs or whatever text you want and find all over the web and in any site. In their own words:

How I schedule post in Jekyll

3 minute read

The other day I was explaining how I publish my blog using CI. Today I want to explain how I schedule post in my blog while still involving CI.

How I publish my blog: Using Continuous Integration with Jekyll

7 minute read

As I’ve mentioned before, this blog is build as a static website with Jekyll, which allow me not to worry about data bases, logins or anything of the sorts when I’m publishing and managing the web. I use the free tier of GitHub Pages as hosting, which has its downsides and upsides. The main upside is, it’s really convenient and free. On the othe...

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.

New Web in Jekyll

3 minute read

As you probably have noticed, some days ago I rolled out a new version of my website, which you probably think it’s pretty similar to the previous one, at least talking about its external appearance. However, it’s really different in the inside, since it’s a static web build with Jekyll, while the previous one was build on Wordpress. This isn’t ...

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 ...

Homebrew’s R doesn’t have all the capabilities

2 minute read

A couple of days ago I just found out that when you install R with Homebrew you don’t get all the capabilities that the binary from CRAN have. In other words, you have a kind of second class install, in some regards, and depending on how you do install and for what you are going to use R.

MBP wakes up from sleep to back screen — Solution

1 minute read

Note: Just you all to know, that I don’t have this mac anymore and that this solution never really worked for long time. In the end I got really mixed results and the issue arise again sometimes. My best advice for you all is just replace the dGPU or even better buy a new mac.

MBP wakes up from sleep to back screen

7 minute read

Note: Just you all to know, that I don’t have this mac anymore and that this solution never really worked for long time. In the end I got really mixed results and the issue arise again sometimes. My best advice for you all is just replace the dGPU or even better buy a new mac.

R and Java 10

4 minute read

Update 27th of March 2018 at 17.28 UTC+3: After talk a little bit on the R mail lists [1][2], it’s seems that it’s a know issue and they are on the way to fix this. Till them we have to stick to Java 9.0.4 to work with R.

How I updated the R formula in Homebrew

2 minute read

As I just explained in my last post, the last version of R —3.4.4 “Someone to Lean on”— was rolled out las Thursday and this time I was the one that updated the Homebrew’s formula to reflect the new version. I just decided to give it a try and update for first time a Homebrew’s formula since no one had updated it yet on Thursday afternoon and th...

Updating to R 3.4.4 “Someone to Lean On”

2 minute read

Just today yesterday Last Thursday —took me more that I expected to have a moment to write finish this post— R was updated to 3.4.4 and this new released is called “Someone to Lean On”, which is —as all the rest are— a reference to Peanuts comic. These are the released notes:

QGIS on macOS with Homebrew

17 minute read

Update Monday, 26th of March: Almost the next day or the following day I published this post KyngChaos just published the QGIS 3 release for macOS. You can download here.

Jekyll

1 minute read

Some months ago my wife brought to my attention Jekyll, which is a blog aware static-site __generator, or in other words it’s a piece of software that allows you to beautiful generate static websites. At that moment, I didn’t play too much attention to it, and just look for some comparisons between it and WordPress and I came to the conclusion t...

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...

Convert your Pi in an AirPlay receiver

3 minute read

I recently needed to convert my Raspberry Pi 3 into a AirPlay receiver because I didn’t have any of my AirPort Express at hand and I wanted to play just music —not the entire collection of sounds my computer produce— on one of my old Hi-Fi Self Stereo System. So I searched on the internet and saw that it was totally possible to do it and I try i...

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...

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.

Backing up your Pi’s SD card

2 minute read

I’ve been trying make something work in my Pi, but so far I’ve just messing things up and I had to install Raspbian a couple of times from scratch. For that reason I’ve decided to make a copy of the SD card before I repeat the process and try to figure out what is going on.

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.