Writting some more django

Django
Django framework

So lately I have been training into django some more, have beenr eading some books, with django best practices, and techniques to understand better the handling of projects. Some of the things I’ve found out is that there is more than what the documentation says. There are many adjustments to be done to a project that you are preparing for a team of people, and a lot of these conventions are known but not too easy to get the pieces together.

One of the things that got my mind a bit thinking was the manage of secret keys. Having the secret keys on a different location is both brilliant but also a great example of what is necesary to think about when it comes to using a django project across the board.

Then there is the different things like use of environmnents and requeriments. Beyond the use of virtualenv and fabric. The actual use and map of modules and even the naming of them. Beyond pep8 and other already known conventions.

Other things I have been studying is the use of certain modules specially the use of permission models into the view, the format of url() patterns and atributes as well as the use of alternative templates.

So far I have used some external modules of django like django wiki and django rest framework. I want to check out django channels and django oscar.

Getting back with the Django Logic

These past weeks I have gone back to my Django resources to try to learn the last stages of the Django modules, business logic, etc.

I most say that I have actually skip most of the documentation and gone into more trusty tutorials that do one task, and learn from it.

One of the tutorials I found was for the CRUD system, something basic enough to grasp it easily. However, even then it wasn’t as easy as I thought.

The writer develop an internal debate between a Class based view, and a Function based views. As you know, Views is where the business logic of the applications are. So even if this learning was good and simple, I might need to multiply it by 2. Not that is necesarily bad, but still, wish it was simple.

I went to a DjangoCon videoset on youtube. One of those was about teaching Django at University, and there was a very interesting explanation on how Django sometimes is unecesarily complicated. Also some recomendations like the Django Girls group, and a book called Two Scoops of Django, something that I already had on my resources.

This gave me some idea into their philosophy. Hearing someone recognizing that the documentation is not always the best way for learners to understand whats going on. Building on top of an understandment is something that is helpful for learners build their best interpretations.

Telling a n00b to study this documentation with everything you will ever needed inside doesnt mean he would actually go through it all. On other words, most people will rather create a fix for their inmediate need.

At the moment some of these needs are:
– Creating a cookbook
– Creating mentoring mechanisms
– Generating 50 shot view of whats going on

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

Why Bitcoin?

Earlier today I gave a talk about Why Bitcoin? on a local university. I have been giving a talk about bitcoin as part of this new community called Bitcuners. The community is doing some talks on local colleges with the intention of generating a buzz on the local community and interest to get people to use the Cryptocurrency and be able to exchange goods and services.

This is a snippet of my talk:

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.

FLISOL 2015, review of the event

This year we accomplished another milestone, by we I mean the Tequila Valley Cancun group. We finalize a new FLISOL event. This one with way more support than the previous one. Although there are still a laundry list of things to improve, this definitely was a great effort, and an opportunity to evaluate how well we can play together.

The Free software installfest in Latin America got a great amount of attendance, mainly because this time we implement a press release which helped us gain an exposure we haven’t got before.

This time we had a platform to coordinate the tasks that were needed for the event. A type of canvas digital board called Trello. This gave us the chance to be able to delegate responsibility and improve our continuation.

Another big lift was the sponsorship from a major company that allowed us to not worry about space, and infrastructure (Desk, chairs, tables, etc). Which by the way, were top notch, although it’s a bit odd that in the end we couldn’t really used it as intended and end up handling the same projection presentation.

On the other hand we had a lot of things we really missed specially on promotion:

  • Visit universities and high schools, we missed many of them.
  • Academic ambassadors, people that help us from these schools.
  • Visit companies and provide a good outline of what the event is about for them to get there.
  • Promote it on more radio stations, TV shows and newspapers.

We also could have work out better on scientific software as well as games. The demos were something that we could have organize better not to say we missed showing off the VoIP, Media Center (to a degree) and the overall Linux Desktops.

Swag was something that we rushed in the end, but with better support this could have been much better. It was great we got T-shirts but with better swag we would have got USB with free software in it, as well as other things.

In the end what we need to do is also reflected on how this can benefit TQVCancun and I think that invitations were not offered as open as I would have wished for. To invite people to the group and make them members is something that could have helped the survival of the group and that is something we would need to pay more attention to in the future.