Correctly erasing an SSD on GNU/Linux

This is not really an article but more of a note for future reference.

So i decided to wipe an SSD drive, and I assumed that using the good old dd would not have been the correct choice.

I was right, and someone (thanks mingdao) from #gentoo on Freenode directed me to this page: ATA Secure Erase.

Basically, when dealing with SSD, it’s better to rely on standard erase feature than doing it yourself.

It took very little (approximately 21 seconds).

Gin-gonic improvements

While writing simple web applications using gin-gonic web framework, there are some things that should be improved, in my opinion:

Ideas

  1. Static file serving: it should be improved to use browser caching, according to https://developers.google.com/speed/docs/insights/LeverageBrowserCaching
  2. Default values for templates rendering: there are some values that I am going to need in pretty much every template i am rendering. It would be nice to be able to set them once and for all so that when I render a template, the values i want to be always present are added to the ones i am passing on the fly.

Continua a leggere “Gin-gonic improvements”

Dell XPS15 9530 BIOS reflash

I recently acquired a broken Dell XPS15 9530. As far as I’ve been told, the BIOS got corrupted during an update. As my research suggests, this is quite a common problem with this laptop.

I am going to try reflash a working bios in order to make it work again. After all, it has some nice specs.

Continua a leggere “Dell XPS15 9530 BIOS reflash”

WordPress, again.

I am back on using Wordpress.

Long story short, I am giving WordPress another try.

The main reason is that most static blog engines are awful under the usability point of view, and I really need a blog: when I do stuff I would really like to take notes but every time is a mess like “How did octopress/jekyll implement this feature? What was that?” and such.

As my blog is not a goal but a tool to me, I want something that JustWorks. Thus, I’m going for WordPress, hosted on WordPress.com: no hassle, no maintenance, just features.

Hopefully.