Living off of open-source
For the second year in a row now I have participated in Hacktoberfest, an open-source initiative by DigitalOcean, a cloud infrastructure provider. What's the deal? You, fellow open-source contributor, just have to open a handful of pull-request during the timeframe of October 1st to 31st. DigitalOcean will be generous and send you a limited edition t-shirt for free (well, for your time spent on those 5 pull-requests that is). Here's the two shirts I got for my 2016 and 2017 efforts:
Needless to say, I find that an awesome initiative, seeing that the world builds upon open-source software. The five pull-requests that got me my t-shirt this year were:
To finish this off I can't recommend participating in Hacktoberfest enough, and thanks to DigitalOcean to appreciate this by giving you a t-shirt.
I often think about the following Mercedes-Benz advert:
In what world having whatever many lines of code should be something to brag about is beyond me. The tweet already hints at this nicely. But the marketing department seemed to have a different opinion in this case.
While I don't have credible numbers to back this, I think we can agree more code correlates with more bugs in some way. So Mercedes-Benz, please, try to keep the number of lines of code in your cars as low as possibly can be.
In the ever changing landscape of web frameworks, there is a new kid on the block: Lucky. Lucky is written in Crystal, a statically typed programming language heavily inspired by Ruby's syntax, which claims to be
Fast as C, slick as Ruby
For this blog however, being as fast as C is mostly irrelevant, I'm sure it'd be plenty fine running in Ruby as well. What I rather value is developer productivity, or "getting something done in half an hour before going to bed". On that end, the Lucky + Crystal combination performed pretty well and I got a rewrite of this website shipped in a few hours of work.
Type safe html
What I find super interesting about Lucky is the way it deals with the task of rendering html. While the plethora of templating engines like ERB, Twig or Crystal's ECR are easy to work with and simple enough to understand, there's something about using plain Crystal code to markup html. The following gist is an example method from this blogs source code:
As you can see it was trivial to extract methods to render reoccuring or more complex parts of the layout. It's just code. Also the compiler will complain if we produce invalid code, so we cannot forget to close tags. That's kind of a big deal to me.
I look forward to spending more time in Lucky and Crystal, they both get a thumbs up for now!
Chrome and Safari are both great browsers. They each have their pros and cons. I tend to be undecided on which one I like better.
Chrome has great developer tools. I never really got warm with Safari's. As usual, Safari is tightly integrated
with OS X. Tab sync to iOS's Safari being one of them. Generally using less memory. Lately I tend to use Safari more then Chrome. But out of old habits
I often start a new window in Chrome and browse for a few minutes before remembering that I wanted to use Safari. So here it is, the solution
to all of my problems
to a tiny annoyance of my incredibly blessed life:
This will take all of your windows and tabs you currently have open in Google Chrome, and replicate them in Safari. Switch browsers with the touch of a button.
I really can't stand much of the negativity some people exhibit in their daily lives. Just give it a second dude. Sometimes we really need to take a step back and appreciate what we take for granted. Without further ado, here's list of problems you probably never needed to worry about:
- Not having an absurd amount of food at your fingertips.
- Getting medical attention should you need it.
- Freezing to death in winter.
- Having bombs dropped on your town.
And with those menaces out of the picture, you are likely free to enjoy all of this:
Sleeping with one leg out of the covers.
- Doing something you like as a job.
- Have meaningful free time to fill with hobbys, sport, socialising.
- Fly anywhere in the world (within reason).
I just feel that this has to be called to mind from time to time. This is not the norm. You are rich.« Previous page · Next page »