Werid disaspointment

ghost-in-the-shell-fingers-500x253So today I had a weird disappointment on my user skills, I find out to my surprise that my right hand is kind of useless on the keyboard. Turns out that I mostly use my index for everything on the keyboard. Sure my thumb is always on my spacebar and also my pinky sometimes operate the arrow keys every now and then. However I find it trully hard to believe that I cant type P or O because… well my index always was faster.

So from now on I am on a quest to try to type fully with my right hand’s fingers. I find the single quotes hard to type as well as all those weird =-)( keys.

Oh well let see if I can pick it up by the end of the month.

Advertisements

FLISOL 2016 at PMC

Yesterday was our fith go at doing a local installfest, where we got the chance to educate the community about free and open source software. Showing aplications such as Blender, Krita, Inkscape, Apache OpenOffice, OpenShot, Audacity and more.

The way such software is developed and how can people participate in the community and why is good to do this. Not just getting the chance to help people, also recieving a lot of help.

Using social web you can also get formal courses in Youtube and social help on Facebook. The event was full of people from different backgrounds, entrepreneurs, high school students, jr high school etc.

flisol2016-007

Cleveland still on top

So a new year and a new year a LeBron James team gets at the #1 spot. At least in the East that is. But the truth is that there is something to be said about consistency. LeBron James have been keeping up the numbers on a great high, and breaking records after records. The latest was his advancement on the all time career points and also keeping up those stat sheets. That said, he has had some issues this year, like his mid-range numbers are all time low as well as marking a few games with really bad averages at 12-14 pts per game.

Not sure if the King is tired or just trying to get the rest of the team involved. Specially after a back to back lost against the world champion and ex-NBA finals opponent the Warriors and the next game after the Blazers. But I hope this is not as alarming as it looks on paper.

The truth is that other teams have been loosing around the Cavs like the Spurs, the Raptors and the Bulls. So like Kendrick Lamar said, we’re gonna be alright.

Crypto-tipping platforms

So I have been playing with the crypto tipping platforms. I decided that bitcoin even with its satoshis is too damn expensive to play with it. So I jump on the Doge rocket. I found that fees for Doge are way more affordable, and sign up to a bunch of Doge. Now, I dont really use Reddit, so I focus more on platforms I knew about. First one was #Twitter then #Facebook I am sure there won’t be much instagram or pinterest but who knows.
Meanwhile I decided to sign up for two bots that came fast into the suggested contacts. One is @DogetipBot and the other is @Tipdoge. The first one seemed a bit too corporate, I mean, I was presented with a dashboard and a high level search engine, however it was confusing since there was no documentation.
Actually none of the bots had great documentation, but at least with the 2nd one it was easier to handle. Specially when the commands are only 3.

  • Balance
  • Widthraw
  • Tip
  • Deposit

Since I didn’t had an account Balance was the first one with an expected message, 0 Balance. But when I put widthraw I was faced with a new DOGE wallet. Which allowed me to send some Doge’s from my Cryptsy account. Cryptsy is an altcoin trading platform which also give you wallets for all the altcoins you have purchased.

So once I tip off my new wallet I was ready to spread the Doges. First one didn’t work, I tried to put the ‘D’ on the number, and it seems that it kept ignoring the message. Once I took it off I was favorite by the bot which meant it was a good thing. In the end I was able to do have this:

dogetip

The Dodge bot has give me many replies and now I am able to tip people on twitter for the Lolz. Is a great way to say thanks.

The next bot would be on Facebook, and I already found one. Is only a matter of learing how to use it.  Will keep posted.

Python Decorator for Simplifying Delegate Pattern

Need to study more on patterns as an implementation examples.

Programming Ideas With Jake

Recently, I posted about how you can use composition instead of inheritance, and in that article, I mentioned the Delegate Pattern. As a quick description, the pattern has you inherit from the parent interface (or, in Python, you can just implement the protocol), but all the methods either redirect to calling the method on an injected implementation of interface/protocol, possibly surrounding the call in its own code, or it completely fills the method with its own implementation.

For the most part, it is like manually implementing inheritance, except that the superclass in injectable.

Anyway, one of the more annoying parts of implementing the Delegate Pattern is having to write all of the delegated calls. So I decided to look into the possibility of of making a decorator that will do that for you for all the methods you don’t explicitly implement.

Standard Attribute Delegation

First, we need a standard…

View original post 1,683 more words