Entradas

Mostrando entradas de septiembre, 2019

2 drums 2 codes

Sorry, again a music similitude I found... Once, around 4 years ago I found a video in youtube of two drummers who were making a cover of Toxicity by System of a Down. The coordination, timing, tuning they both had was incredible, the song just sounded in tune and strong, like with a natural reverb (they were in an open space without any walls, so forget about any scenery reverb). This jumped right into my mind as I was touching the subject of pair programming, as you can't blame one drummer for being out of time whether he was rushing or dragging, they were both following a song so it was a team's effort... saying this, you can't blame an observer or driver as they're both, at that moment, just one entity responsible for making a functioning code. By attempting this collaborative technique you can attack efficiencies and less mistakes as something may pass by someone's thinking process, the other half of the team may find that mistake before having to go and ...

Clojure and jazz

I would like to quote some similitudes I found between Clojure and Jazz. I know... it's not the most accurate relation as we're talking about programming languages and music (I'm not getting tired of trying to find related stuff between both areas). But, as a matter of fact, the idea of Clojure not being a mainstream  language, such as Java or C, it's much more of a specific people's delight... just like jazz. Jazz is known (in many of its subgenres) for being overwhelmingly complicated such as jazz bands, so many variations in rhythm and melodics, while having variants such as acid jazz with smooth, cozy and brilliant tunes. Clojure may be a mixture between these two subgenres, having the complexity of classic jazz bands while executing smooth and highly efficient functions. Imagine making a super complicated clojure program that displays a responsive website with parallax effects in a couple lines (maybe around 100), that'd be relatable to composing a s...

Lisp the mad genius

As you know, I like to use analogies in my posts, mostly music, and this time will be no exception. I think, from the podcast, I have one big learning: "never underestimate what something can do like opening your eyes". Why do I say this? Because I never imagined Lisp was used in AI (I mean, I didn't even know that Lisp was a thing to be honest)... that being said, I felt mirrored with some details, like something out of your professional area can actually help you with that specific area. ...here comes my music analogy... FOR EXAMPLE! Music... music has helped me lots since I was in middle school. I've always like math and music, and as they're brothers from a different father it's been quite a win-win situation. Now what does this have to do with coding? A lot, coding is all about structure (usually), rhythm, rules, discipline, just like music. Now, with functional languages this just goes over the top, I'm struggling with Clojure's structure a...

More music... why not

And again I shall compare the article with music. The word this entry will revolve around is  abstraction . Love/hate relationship whether it's coding or composing. The author explains many things, but what I consider beautiful is how he tells us how big the reward is after struggling with abstraction of functional languages... maybe not in these words but I shall rephrase it with my own salt & pepper. Alright,  almost  every tutorial, blog or stackoverflow post I've read of Clojure says that the best way to learn it is by coding, thing I just realized after the first problems homework and here comes my analogy... how do you master any musical instrument? By playing it! In this course I shall make Clojure my own guitar. First you don't realize how powerful a guitar can be, you may think you'll become a rockstar by just playing punk songs from Californian bands but even them had to practice and study. Maybe some people are born with the talent but also to s...