How good it’s philosophy for being a developer?

It’s quite encouraging listening what Chris Lee says about mature people that starts to learn to programming. He says that lawers, philosophy degrees and musicians are logical and detail oriented professionals. Those attributes help them to learn to code and otherwise are skills the newies needs to develop.

You may listen the podcast (go to minute 20 more or less) in https://learntocodewith.me/podcast/fundamentals-first-with-chris-lee/

Chris Lee is running Launch School and he also share more interesting opinons, I agree with him for instance:

  • Mastery, rather than time spent, should be the goal
  • Don’t start by learning the frameworks. Learn from fundamentals and take your time.
  • Target the job you want, and then build something that shows what you’re capable of with that job in mind.

Theme change in WordPress

I’ve been loyal to Sator-ii theme by Felipe Lavín for a very long time.

I don’t get very well re-sharping the theme with menus, now, natively supported in WordPress. Maybe it’s my fault.

So I look around for a theme with three main requirements:

  1. menu support,
  2. as similar to Sator-ii as posible (clean an easy to read)
  3. … and two columns

So here’s RapidOne Lite by Rising Theme.

How do you indetify an USB and get it mounted in your Linux?

I’m using a RaspberryPi to enforce myself to keep learning.

I’ve added an old 8Gb USB stick to the RaspberryPi. The Raspberry runs a very minimal Raspbian Strech Lite without assistants, or graphical interface, not even with the automunt command.

So, how do you identify the USB stick plugged and get it mounted or your Linux?

  1. Plug your USB stick to your RaspberryPi
  2. Run the command blkid as root.
    As an example I type:

    sudo blkid

    … and I get:

    /dev/mmcblk0p1: LABEL="boot" UUID="CDD4-B453" TYPE="vfat" PARTUUID="b1b51741-01"
    /dev/mmcblk0p2: LABEL="rootfs" UUID="72bfc10d-73ec-4d9e-a54a-1cc507ee7ed2" TYPE="ext4" PARTUUID="b1b51741-02"
    /dev/sda: LABEL="USB8GB" UUID="B21F-17E5" TYPE="vfat"
    /dev/mmcblk0: PTUUID="b1b51741" PTTYPE="dos"

    This line identify what device is used by the USB stick just plugged /dev/sda: LABEL="USB8GB" UUID="B21F-17E5" TYPE="vfat"

  3. Now we can mount normally the device by typing:

    sudo mount -t vfat /dev/sda /mnt/

What is the motivation of this post? I’ve to managed myself in order to get mounted the USB stick since the command lsusb gave me a lot of info but no so usefull, or simple, to get it mounted.

Privacy matters, very much.

In Europe a new reglamentation has enforce the privacy guarantees for citizens. I’ve used the default privacy policy page for this blog that WordPress offers.

And as soon as posible I’ll customized it in order to let it clear: I don’t collect any data because I’m very concern about privacy.

Please, privacy matters, you must stop using some software and services that collect all your data. Really.

Note: I suggest as a further reading: https://www.eff.org/deeplinks/2018/01/europes-gdpr-will-force-icann-improve-whois-privacy

What cloud solution to choose and why

There is no cloud. It’s just someone else’s computer.
Chris Watterston

The Cloud (PaaS, SaaS, IaaS, …, etc.) is a stablished as solution nowadays.

According to where is the hardware, it’s told that there’re three types of cloud implementation:

  • public: your solution it’s on provider datacenter
  • private: your cloud it’s on your own datacenter(s)
  • hybrid: your solution is on both; at external at provider’s datacenter and in your datacenter. Important, you are able to move apps, services, VM’s from one to another

Note: the same terms are used to describe if your solution is public in the Internet, or closed only for your company (private) or a mixed one (hybrid). So, let me insists, I’m describing where is your solution (hard + software). I’m not refering here to who is able to use it.

Ussually I miss another variable that impacts a lot: are you going to deploy your cloud solution in a vendor lock-in implementation or don’t? Many cloud companies offers their solution in the three environments (I think that Amazon only offers a full non on-site solution).

PROS: A ready to use solution provided by any vendor has advantages: easy and fast deploy, integration with other products (for instance: As an exemple, if we just have a look to Amazon S3 (Simple Storage Service), there’s a plenty of storage provider with S3 compatible solutions: EMC2, IBM, Veritas, Oracle (it seems that just for backup solution)).

CONS: Your footprint is that concept named vendor lock-in. Once they got you, they may charge you hidden cost and it may be painful to migrate from one cloud solution to another. Plus, on daily work you’re limited about the things you may see, modify, manage, or analyze if anythings fails. Think about this cloud infrastructure with renting a flat: there’s a landlord, you got everything ready for you as soon as you come into the flat, but… you couldn’t change anything in the house ’cause it is not yours home.

I prefer a hybrid solution based on open standards.

CONS: It costs more to get things done, but when you get it you control and decides architechture, services, and many times you may manage your resources, you are not out of the workshop while the vendor manage your solution and you don’t know what’s hoing on or what has happened during a failure. Obviously there’s a footprint too, it is not a ready-to-use solution.

PROS: On the other hand, you’re more free to manage and decide. More; hybrid is going to be the solution because the companies requires an agilty (growing, moving resources, etc.) that only can be satisfied by defining from the scratch a hybrid implementation.

Source: I found the author of the sentence There is no cloud. It’s just someone else’s computer. in the Command Line Heroes podcast Crack the Cloud_Open and it has makes me share here those ideas that I agree with.