Another coding blog

Just some boring stuff i'm picking up along the way

Go Tour #43

In this exercise, you’re supposed to print the fibonacci sequence. What caught me was how well this exercise shows off their language.

i solved the problem my way, looked up an answer key, and discovered how i could’ve used the language’s ability to return multiple values which would have radically simplified my solution.

They did a great job of showing off a cool feature of the language. i appreciate the thought put into this tour. i think it’s probably run by smart people.

What am i missing? Have other languages used this same example in the past?

(Source: tour.golang.org)

One solution to rule them all, one solution to find them,
One solution to bsolution them all and in the darkness bind them.

theprofoundprogrammer:

[text: “if I didn’t write it, it’s not my responsibility”, photograph of a leisurely river winding through a beautiful area of wilderness where nobody could possibly find you to drop someone else’s awful project in your lap.]
[HD Version] [Store]

i spend a lot of time fighting against this concept at work, but the inner mayhem  of (mostly personal) pride fights back hard.

theprofoundprogrammer:

[text: “if I didn’t write it, it’s not my responsibility”, photograph of a leisurely river winding through a beautiful area of wilderness where nobody could possibly find you to drop someone else’s awful project in your lap.]

[HD Version] [Store]

i spend a lot of time fighting against this concept at work, but the inner mayhem  of (mostly personal) pride fights back hard.

Powershell path trickery

My Git Shell (set to powershell) isn’t behaving like my Powershell, so i’ve set my mind to figuring out why.

Here’s some stuff i’ve learned on the way

Get your path in Powershell: “$env:path”

Make that path readable: “$env:path.split(‘;’)”

And sort it: “$env:path.split(‘;’) | sort”

Converting Hg to Git on Windows

Over the past few years, i’ve wrestled with this because i couldn’t remember the steps, couldn’t remember the links, and had to do this so infrequently. Here it is for me to remember how easy this is!

i’m more a software assembler than a programmer

RE: this tweet of mine.

Today i found a library called fastclick that will override the typical click events on modern mobile browsers, making touch events on a mobile browser feel (almost) imperceptibly faster. Including it into the project was a breeze, i just stacked it onto the list of other cool javascript libraries i use.

In going through this process time and time again, i’m realizing that many of my development efforts, now that i have a shipped web app embedded in our main product, are spent perusing open source libraries on github searching for ideas and new utilities to embed into my projects.

Yes i still think about new features to add, and dream up better designs and interactions, but i also spend a lot of time discovering and re-aligning different Lego blocks into something that looks and works better.

My success as an engineer in the software world will hinge, more and more, on my ability to find and use previously invented wheels so i can move on to making new and better mousetraps ;)

Because i will never hear it again

  • TheCodeJunkie: not sure what kind of info .liquid gives you, but you know more about that than me =)
  • jugglingnutcase: i'm going to save that statement for later :)