Marius_by_nella_large

Marius Butuc

Elixir Bootcamp

Notes on the Elixir and Phoenix Bootcamp, part 1

These notes come as breadcrumbs left along my journey through the Complete Elixir and Phoenix Bootcamp. This is the first part that covers discovering Elixir. The second part will cover Phoenix. Here we go:

  1. There are no methods in Elixir—just functions:

    There are no objects in Elixir (nor methods). If they are about structs, then they . . .

Read More

November 29, 2016

Global Day of Code Retreat 2016

Toronto Edition

Last Saturday, the Global Day of Code Retreat—Toronto Edition happened; #gdcr16.

Intro

  • today is about practicing your craft, design
  • today is not about delivering
  • Conway's Game of Life
    • base rules
      1. Any live cell with fewer than two live neighbours dies, as if caused by underpopulation.
      2. Any live cell with more than three live neighbours . . .

Read More

October 26, 2016

Whiteboarding the LHC

JEG2's take on coding interviews, and how to pass them

At RailsConf earlier this year, James Edward Gray II talked about coding interviews, and how to pass them:

If you apply for a programming job, you may be asked to complete a take home code challenge, "pair program" with another developer, and/or sketch out some code on a whiteboard. A lot has been said of the validity and fairness . . .

Read More

October 22, 2016

Testing User Authentication

From the Fixture level

Our hypothetical Rails app: the Foo Club

Let's imagine that Foo Club wants you to build an application to display events. These events are of two types—public and private:

  • Public events are visible to anyone visiting our application.
    Say someone prospecting, to determine if the Club is a right fit.
  • Private events are only visible . . .

Read More

January 17, 2016

Reading: Good Omens

The Nice and Accurate Prophecies of Agnes Nutter, Witch

All work and no play makes Marius a dull boy

This is one comes somewhat complementary to the other articles that are mostly focused on either technical subjects or around team/company culture or craftsmanship.

So much more complementary as life tends so much more than work, than passions, than what you live, than what lives you…

And there was . . .

Read More

Posted in: reading

January 16, 2016

Code coverage analysis tools

SimpleCov: how to add it to your tool belt and (the 5) why(s)

Why am I reading this?

Popular software development culture advises us that 100% test coverage of our code is no reason for pride. It's not even a goal to be pursued on high priority. Either taught by our experience already, or we've overheard at least an elder (developer) say say it before: having test that provide complete code . . .

Read More

January 04, 2016

Be careful the environment you choose

for it will shape you

Michael Hartl mentions in his Rails Tutorial that Rails comes equipped with three environments: test, development, and production.
Then an aside shows how to run a console, a server and a rake task in an environment different from the implicit development because, as he confesses

I find it confusing that the console, server, and migrate . . .

Read More

Posted in: rails

November 29, 2015

Archive