<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.9.0">Jekyll</generator><link href="https://angelalonso.github.io/feed.xml" rel="self" type="application/atom+xml" /><link href="https://angelalonso.github.io/" rel="alternate" type="text/html" /><updated>2021-03-20T12:58:03+00:00</updated><id>https://angelalonso.github.io/feed.xml</id><title type="html">Angel</title><subtitle>...yeah, that's basically it.</subtitle><entry><title type="html">Strategic Doc Reading</title><link href="https://angelalonso.github.io/strategic-doc-reading/" rel="alternate" type="text/html" title="Strategic Doc Reading" /><published>2021-03-20T00:00:00+00:00</published><updated>2021-03-20T00:00:00+00:00</updated><id>https://angelalonso.github.io/strategic-doc-reading</id><content type="html" xml:base="https://angelalonso.github.io/strategic-doc-reading/">&lt;p&gt;Context:&lt;/p&gt;

&lt;p&gt;Ever since I read &lt;a href=&quot;https://acloudguru.com/blog/engineering/the-career-changing-art-of-reading-the-docs&quot;&gt;this Post&lt;/a&gt; I have been wanting to put that technique to good use.&lt;/p&gt;

&lt;p&gt;With a bit of self-reflection, I believe I am the perfect candidate to test it because:&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;That technique seemed like the typical one that doesn’t work for regular people&lt;/li&gt;
  &lt;li&gt;I am pretty proud of my will power, and this would put it to a test&lt;/li&gt;
  &lt;li&gt;I tend to forget stuff that I learnt months ago, and it frustrates me a lot&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;So… here is my current list (and the reading time needed for each topic):&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html&quot;&gt;AWS VPC&lt;/a&gt;
    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;https://docs.aws.amazon.com/vpc/latest/userguide/how-it-works.html&quot;&gt;How it works&lt;/a&gt; - 12 mins&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://docs.aws.amazon.com/vpc/latest/peering/what-is-vpc-peering.html&quot;&gt;VPC Peering&lt;/a&gt; - 2 mins
        &lt;ul&gt;
          &lt;li&gt;&lt;a href=&quot;https://docs.aws.amazon.com/vpc/latest/peering/vpc-peering-basics.html&quot;&gt;Basics&lt;/a&gt; - 13 mins&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;https://docs.aws.amazon.com/vpc/latest/peering/modify-peering-connections.html&quot;&gt;Modify&lt;/a&gt; - 2 mins&lt;/li&gt;
        &lt;/ul&gt;
      &lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Welcome.html&quot;&gt;AWS RDS&lt;/a&gt;
    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_BestPractices.html&quot;&gt;Best Practices&lt;/a&gt; - 23 mins for MySQL and PostgreSQL&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.MySQL.CommonDBATasks.html&quot;&gt;Common DBA Tasks&lt;/a&gt; - 15 mins&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraMySQL.Auditing.html&quot;&gt;Advanced Aurora Auditing&lt;/a&gt; - 7 mins&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://docs.aws.amazon.com/eks/latest/userguide/what-is-eks.html&quot;&gt;AWS EKS&lt;/a&gt; - 4 mins
    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;https://docs.aws.amazon.com/eks/latest/userguide/best-practices-security.html&quot;&gt;Security best practices&lt;/a&gt; - 6 mins&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://docs.aws.amazon.com/eks/latest/userguide/iam-roles-for-service-accounts.html&quot;&gt;IAM and ServiceAccounts&lt;/a&gt; - 2 mins
        &lt;ul&gt;
          &lt;li&gt;&lt;a href=&quot;https://docs.aws.amazon.com/eks/latest/userguide/enable-iam-roles-for-service-accounts.html&quot;&gt;OIDC provider&lt;/a&gt; - 2 mins&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;https://docs.aws.amazon.com/eks/latest/userguide/create-service-account-iam-policy-and-role.html&quot;&gt;Create IAM role and policy&lt;/a&gt; - 4 mins&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;https://docs.aws.amazon.com/eks/latest/userguide/specify-service-account-role.html&quot;&gt;Associate an IAM role to a service account&lt;/a&gt; - 5 mins&lt;/li&gt;
        &lt;/ul&gt;
      &lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://docs.aws.amazon.com/app-mesh/latest/userguide/what-is-app-mesh.html&quot;&gt;AWS App Mesh&lt;/a&gt; - 7 mins
    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;https://docs.aws.amazon.com/app-mesh/latest/userguide/best-practices.html&quot;&gt;Best practices&lt;/a&gt; - 9 mins&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://kubernetes.io/docs/home/&quot;&gt;K8S&lt;/a&gt;
    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;https://kubernetes.io/docs/concepts/overview/components/&quot;&gt;Components&lt;/a&gt; - 9 mins&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://kubernetes.io/docs/concepts/overview/kubernetes-api/&quot;&gt;API&lt;/a&gt; - 3 mins&lt;/li&gt;
      &lt;li&gt;Architecture
        &lt;ul&gt;
          &lt;li&gt;&lt;a href=&quot;https://kubernetes.io/docs/concepts/architecture/nodes/&quot;&gt;Nodes&lt;/a&gt; - 21 mins&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;https://kubernetes.io/docs/concepts/architecture/control-plane-node-communication/&quot;&gt;Control plane &amp;lt;-&amp;gt; node comms&lt;/a&gt; - 6 mins&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;https://kubernetes.io/docs/concepts/architecture/controller/&quot;&gt;Controllers&lt;/a&gt; - 9 mins&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;https://kubernetes.io/docs/concepts/architecture/cloud-controller/&quot;&gt;Cloud controller manager&lt;/a&gt; - 6 mins&lt;/li&gt;
        &lt;/ul&gt;
      &lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://kubernetes.io/docs/reference/labels-annotations-taints/&quot;&gt;Well Known labels, annotations and taints&lt;/a&gt; - 8 mins&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I continue adding details as I progress, but mostly these are the premises for this system to work (in order of importance):&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;Do it regularly (starting with once a week, 1.5hrs.)&lt;/li&gt;
  &lt;li&gt;Read the same docs again and again&lt;/li&gt;
  &lt;li&gt;Prepare the next reading session in advance&lt;/li&gt;
  &lt;li&gt;Balance between having too many docs to read and reading relevant docs. Expect constant corrections to the list because of this.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I also added some automation to the formula:&lt;/p&gt;

&lt;p&gt;I put together &lt;a href=&quot;https://github.com/angelalonso/web2epub&quot;&gt;this tiny application in Rust&lt;/a&gt; to get all docs together in one or several EPUBs, to be able to read them on an ebook reader. It requires &lt;a href=&quot;https://calibre-ebook.com/&quot;&gt;Calibre&lt;/a&gt;, though&lt;/p&gt;</content><author><name></name></author><summary type="html">Context:</summary></entry><entry><title type="html">Robot - When Angel met with the hard truth</title><link href="https://angelalonso.github.io/truth-hits-hard/" rel="alternate" type="text/html" title="Robot - When Angel met with the hard truth" /><published>2020-12-02T00:00:00+00:00</published><updated>2020-12-02T00:00:00+00:00</updated><id>https://angelalonso.github.io/truth-hits-hard</id><content type="html" xml:base="https://angelalonso.github.io/truth-hits-hard/">&lt;p&gt;Two days ago I (think I) bricked my arduino.&lt;/p&gt;

&lt;p&gt;This is much harder than just burning something due to an obvious mistake because it leaves you stranded, without any hints on whether a cable got loose, your software is doing something wrong…or you need to buy a new Arduino board.&lt;/p&gt;

&lt;p&gt;Some months ago the same happened to the Raspberry pi I was using.&lt;/p&gt;

&lt;p&gt;And both issues together made me mad, and then sad. It means I am doing something wrong.&lt;/p&gt;

&lt;p&gt;I first tried to find a simulator to build my circuits on, that might be able to tell me what I am doing wrong. But there is no simulator that would just replicate the full thing.&lt;/p&gt;

&lt;p&gt;Then it hit me: I have no clue about electronics. I haven’t been careful at all on what I put together other than “does it work?”, and that might mean I am leaving a big amount of Amperes somewhere.&lt;/p&gt;

&lt;p&gt;So I decided to go back to the basics:&lt;/p&gt;

&lt;p&gt;Raspberry communicates with Arduino, and I measure what happens on each connection.&lt;/p&gt;

&lt;p&gt;…this sets me back for like three months or more and I just thought I was close to v2 u_u&lt;/p&gt;</content><author><name></name></author><summary type="html">Two days ago I (think I) bricked my arduino.</summary></entry><entry><title type="html">Robot - When Angel met R:::OS</title><link href="https://angelalonso.github.io/ros-and-me/" rel="alternate" type="text/html" title="Robot - When Angel met R:::OS" /><published>2020-11-28T00:00:00+00:00</published><updated>2020-11-28T00:00:00+00:00</updated><id>https://angelalonso.github.io/ros-and-me</id><content type="html" xml:base="https://angelalonso.github.io/ros-and-me/">&lt;p&gt;Google Now is a privacy nightmare but it sometimes proposes interesting things to read.&lt;/p&gt;

&lt;p&gt;Last jackpot it hit was an article about how to use Unity to test ROS (or is it R:::OS ?) robots.&lt;/p&gt;

&lt;p&gt;After reading through it and https://www.ros.org I came to the obvious conclussion that ROS is a much better (software) project than this.&lt;/p&gt;

&lt;p&gt;Still, there are some reasons why I will not abandon my Robot project so soon:&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;I started building the robot for the sake of learning how things fitted together. It only became something I’d want reproduceable later.&lt;/li&gt;
  &lt;li&gt;The scope is somehow different: I am not aiming at creating standards that work for everyone.&lt;/li&gt;
  &lt;li&gt;I am pretty sure that, given enough time, my Robot will get more and more compatible with ROS in things like setup files.&lt;/li&gt;
&lt;/ul&gt;</content><author><name></name></author><summary type="html">Google Now is a privacy nightmare but it sometimes proposes interesting things to read.</summary></entry><entry><title type="html">Robot - What happens when you don’t do the math</title><link href="https://angelalonso.github.io/not-engineering/" rel="alternate" type="text/html" title="Robot - What happens when you don’t do the math" /><published>2020-10-25T00:00:00+00:00</published><updated>2020-10-25T00:00:00+00:00</updated><id>https://angelalonso.github.io/not-engineering</id><content type="html" xml:base="https://angelalonso.github.io/not-engineering/">&lt;p&gt;So I had this problem: the robot doesn’t move straight.&lt;br /&gt;
I doesn’t matter if I put more power on one of the motors or the other, it slightly goes to one side, sort of randomly.&lt;/p&gt;

&lt;p&gt;The reason? the chassis for the robot includes a third wheel that also rotates on the vertical axis to follow movement produced by the two motors.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;/assets/robot/bottom.jpg&quot; alt=&quot;rear axle with one wheel&quot; /&gt;&lt;/p&gt;

&lt;p&gt;The position the wheel starts from affects where the robot goes when it moves forward or backward (that’s the “sort of” in “sort of randomly”).&lt;/p&gt;

&lt;p&gt;So I thought of putting two wheels that only rotate as they should, and get rid of that random wheel it has. The donor was a suitcase’s wheelbase that I found…somewhere.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;/assets/robot/rear_axle_test.jpg&quot; alt=&quot;rear axle with two wheels&quot; /&gt;&lt;/p&gt;

&lt;p&gt;Put together some support with wire, mounted it and… robot goes straight!&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;/assets/robot/rear_axle_2wheel_test.gif&quot; alt=&quot;robot goes straight&quot; /&gt;&lt;/p&gt;

&lt;p&gt;Yeaaaaahwait! what if the robot wants to rotate? Bummer, the robot doesn’t rotate because the rubber  on the new wheels don’t go well with slipping sideways.&lt;/p&gt;

&lt;p&gt;I’d add a GIF of it, but all you’d be seeing is the previous one, stuck.&lt;/p&gt;

&lt;p&gt;And that is a good example of why engineering is so much more than having ideas that “might work”.&lt;/p&gt;

&lt;p&gt;When you don’t do the math, you waste time putting something awesome together that you have to get rid of.&lt;/p&gt;</content><author><name></name></author><summary type="html">So I had this problem: the robot doesn’t move straight. I doesn’t matter if I put more power on one of the motors or the other, it slightly goes to one side, sort of randomly.</summary></entry><entry><title type="html">This blog is up and running!</title><link href="https://angelalonso.github.io/Hello-World/" rel="alternate" type="text/html" title="This blog is up and running!" /><published>2020-10-21T00:00:00+00:00</published><updated>2020-10-21T00:00:00+00:00</updated><id>https://angelalonso.github.io/Hello-World</id><content type="html" xml:base="https://angelalonso.github.io/Hello-World/">&lt;p&gt;Over the last two days I have been fighting with getting a physical Button to work for my &lt;a href=&quot;https://github.com/angelalonso/robot&quot;&gt;Robot project&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;I ended up doing the most counterintuitive form of button: a full-blown, wooden construction around a photo-interrupter.&lt;/p&gt;

&lt;p&gt;I want to remember why I did that in three months, and probably a lot of other stuff that I normally put on READMEs, making those unreadable.&lt;/p&gt;

&lt;p&gt;… and so I put together this blog.&lt;/p&gt;</content><author><name></name></author><summary type="html">Over the last two days I have been fighting with getting a physical Button to work for my Robot project.</summary></entry><entry><title type="html">Robot - How I ended up overcomplicating a button</title><link href="https://angelalonso.github.io/handmade-overcomplicated-button/" rel="alternate" type="text/html" title="Robot - How I ended up overcomplicating a button" /><published>2020-10-21T00:00:00+00:00</published><updated>2020-10-21T00:00:00+00:00</updated><id>https://angelalonso.github.io/handmade-overcomplicated-button</id><content type="html" xml:base="https://angelalonso.github.io/handmade-overcomplicated-button/">&lt;p&gt;If you are trying to put together your own robot following &lt;a href=&quot;https://github.com/angelalonso/robot&quot;&gt;my instructions&lt;/a&gt; you might have stepped into a photo interrupter being used as a simple button.&lt;/p&gt;

&lt;p&gt;Here’s the reason behind that:&lt;/p&gt;

&lt;p&gt;For v2 I wanted to add some kind of input and output.&lt;/p&gt;

&lt;p&gt;For now, the bare minimum input I needed was a button, and I had a bunch of &lt;a href=&quot;https://www.banggood.com/Geekcreit-37-In-1-Sensor-Module-Board-Set-Starter-Kits-SENSOR-KIT-For-Arduino-Carton-Box-Package-p-89734.html?akmClientCountry=DE&amp;amp;&amp;amp;cur_warehouse=CN&quot;&gt;these sensors&lt;/a&gt; in a box somewhere.&lt;/p&gt;

&lt;p&gt;My first try was the &lt;a href=&quot;https://steemit.com/utopian-io/@ted7/arduino-101-using-a-ky-036-metal-touch-sensor&quot;&gt;metal touch sensor&lt;/a&gt;. Never got to make it work, and I gave it a 50% chance that the sensor was broken (the integrated LED turned on and off for a couple times, then stopped reacting to any touch).&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;/assets/robot/metal_touch_mounted.jpg&quot; alt=&quot;metal touch sensor mounted&quot; /&gt; &lt;img src=&quot;/assets/robot/metal_touch_construct.jpg&quot; alt=&quot;metal touch construct&quot; /&gt;&lt;br /&gt;
&lt;em&gt;This is what I put together with the metal touch sensor&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Then I moved to the most obvious one: the &lt;a href=&quot;https://steemit.com/utopian-io/@ted7/arduino-101-using-a-ky-036-metal-touch-sensor&quot;&gt;button sensor&lt;/a&gt;. Also didn’t work.&lt;/p&gt;

&lt;p&gt;At this point I was frustrated and tired. I wanted to have something working that would return a 0 or 1 to the robot’s &lt;a href=&quot;https://github.com/angelalonso/robot/tree/master/brain&quot;&gt;brain program&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;So I connected the photo interrupter sensor, put a plastic card in the hole and…bingo! 0s and 1s flowing in my logs!&lt;/p&gt;

&lt;p&gt;I had to figure out how to make a button out of that simple mechanism, and came up with a tunnelled stick and a rubber band.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;/assets/robot/wooden_button_above.jpg&quot; alt=&quot;wooden button_above&quot; /&gt; &lt;img src=&quot;/assets/robot/wooden_button_mounted.jpg&quot; alt=&quot;wooden button mounted&quot; /&gt;&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;/assets/robot/wooden_button_side.jpg&quot; alt=&quot;wooden button_side&quot; /&gt; &lt;img src=&quot;/assets/robot/wooden_button_side_pressed.jpg&quot; alt=&quot;wooden button side_pressed&quot; /&gt;&lt;br /&gt;
&lt;em&gt;If it works, it works&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;I hope it makes more sense now.&lt;/p&gt;</content><author><name></name></author><summary type="html">If you are trying to put together your own robot following my instructions you might have stepped into a photo interrupter being used as a simple button.</summary></entry></feed>