teleren/devto huggingface dataset:
Being Senior Part 1- the books and data
Tags: speaking, senior, eng, engineering
Published: 2018-09-25 19:20:13

---
title: Being Senior Part 1- the books and data
published: true
tags: speaking,senior,eng,engineering
canonical_url: http://designfrontier.net/being-senior-part-1-the-books-and-data
---

This is just a quick post to throw up the books I quoted from and a link to the data for anyone who attended my presentation at Utah JS Conference 2016 today. I am putting down my thoughts in a long form post which should hopefully be up in the next couple days.

So with no further ado… here is the [anonymized data](https://docs.google.com/spreadsheets/d/1iRoQjUuudS85d3TF-cEOs3QGFVaz4Tqg-NnP5aloTAA/edit?usp=sharing) from the survey. The long form will talk more about the methods I used to evaluate the information and what all the colors, and numbers in there mean. For now... enjoy.

The books that I mentioned, which are mostly about the development of craft and work ethic, are:

- [Shop Class as Soulcraft: An Inquiry Into the Value of Work](https://www.amazon.com/Shop-Class-Soulcraft-Inquiry-Value/dp/0143117467/ref=sr_1_1?ie=UTF8&qid=1474056875&sr=8-1&keywords=shopclass+as+soulcraft) by Matthew Crawford

- [Why We Make Things and Why It Matters: The Education of a Craftsman](https://www.amazon.com/Why-Make-Things-Matters-Education/dp/1567925464/ref=sr_1_1?ie=UTF8&qid=1474056943&sr=8-1&keywords=why+we+make+things+and+why+it+matters) by Peter Korn

- [Steve Jobs](https://www.amazon.com/Steve-Jobs-Walter-Isaacson/dp/1501127624/ref=sr_1_1?ie=UTF8&qid=1474057009&sr=8-1&keywords=Steve+Jobs) by Walter Isaacson

- [Blink: The Power of Thinking Without Thinking](https://www.amazon.com/Blink-Power-Thinking-Without/dp/0316010669/ref=sr_1_1?ie=UTF8&qid=1474057048&sr=8-1&keywords=Blink) by Malcom Gladwell

One that I didn’t mention that forms a nice trilogy with Why We Make Things and Shop Class as Soulcraft, is [Zen and the Art of Motorcycle Maintenance: An Inquiry Into Values](https://www.amazon.com/Zen-Art-Motorcycle-Maintenance-Inquiry/dp/0060589469/ref=sr_1_1?ie=UTF8&qid=1474057195&sr=8-1&keywords=zen+and+the+art+of+motorcycle+maintenance) by Robert M. Pirsig.

These are not programming books... but they will help you be a better programmer.

If you came to my talk today, Thanks! You are awesome! If not... I’ll have video from it and a long form write up of my thoughts soon. I promise.

Oh yeah: [the slides are here!](https://slides.com/danielsellers/becoming-a-craftsperson)
Hi, I'm Mahabub Islam Prio
Tags: introductions
Published: 2016-09-16 07:48:51

---
title: Hi, I'm Mahabub Islam Prio
published: true
description: My introduction post
cover_image: https://images.unsplash.com/photo-1473042904451-00171c69419d?dpr=1&auto=compress,format&fit=crop&w=1975&h=&q=80&cs=tinysrgb&crop=
tags: introductions
---

I have been coding for 4.5 years.

You can find me on Twitter as [@prio_mahabub](https://twitter.com/prio_mahabub)

I live in [Dhaka].

I worked for [InfoBase, BCM, WellDev, Carriage]

I mostly program in these languages: [Ruby, Elixir, Javascript].

I am currently learning more about [Web Programming].

Nice to meet you.
Quick tip on Git diffs for PHP files
Tags: git, php, codereview
Published: 2016-09-15 23:00:00

---
title: Quick tip on Git diffs for PHP files
published: true
description: Ever pulled your hair when you get lost on long CLI diffs of PHP files?
tags: git, php, codeReview
canonical_url: https://medium.com/@igorsantos07/quick-tip-on-git-diffs-for-php-files-9a99151333ef
date: 09/15/2016
---

Every time a PHP developer runs `git diff` on the command line a kitten dies:

> ![Badly-hunked PHP diff](https://cdn-images-1.medium.com/max/800/1*yE143yhomWgCeEdzer6Gmw.png "Badly-hunked PHP diff")
> _Hell no! This piece of code is inside a method, not the class :(_

Those `@@` snippets are called Hunk Headers - because every part of a diff is called a hunk, duh. Unfortunately, git is too stupid to figure out PHP files should be diff'd according to PHP syntax, so you need to give it a hand by using a [rule on git attributes](https://git-scm.com/docs/gitattributes#__code_diff_code).

Unfortunately(2), git attributes are not that easy to configure user-wide as config options are (no `git global` commands), thus here's the tip:

1. create the folder if it doesn't exist: `~/.config/git` (or whatever is in `$XDG_CONFIG_HOME`)
2. write in `~/.config/git/attributes` this: `*.php diff=php`
3. Save and diff away

> _This can also be configured per project by adding the same text inside a `.gitattributes` file._

<!-- quote separator -->

> ![Well-hunked PHP diff](https://cdn-images-1.medium.com/max/800/1*L5EKHPXHoTbO4j6CY0sxBQ.png "Well-hunked PHP diff")
> _There you have it! A decent Hunk Title on PHP files_


It's quite weird why Git doesn't understand out of the box that through the file extension, as there are pre-baked settings to understand several syntaxes (such as TeX, Fortran, HTML, etc). Go figure!

-----------

#### References
- http://stackoverflow.com/questions/28026767/where-should-i-place-my-global-gitattributes-file
Today I went back to some of the basics with Node and Express
Tags: devlog, node, varnish
Published: 2016-09-15 21:17:07

---
title: Today I went back to some of the basics with Node and Express
published: true
description: 
cover_image: 
tags: devlog,node,varnish
---

When I got started with Node, I sort of rushed right in, assuming I knew how a few things worked. Today I went way back to the basics and learned a few of the basic implementation details I had glossed over way too quickly before and I am glad I did. I had spent way too long putting off some things that I would have gotten done way earlier if I'd taken the time to learn the fundamentals from the beginning.

Live and learn.

On another note, Varnish Cache 5.0 was released today. Varnish is an HTTP cache I interact with indirectly through my CDN, Fastly. I know the basics, and in general, that's all I really *need* to know right now but I want to dive deeper into how Varnish and the Varnish configuration Language, VCL, works so I can make the best leveraged caching choices.
Imposter Syndrome
Published: 2022-05-24 08:16:48

---
title: Imposter Syndrome
published: true
date: 2016-09-15 20:00:45 UTC
tags: 
canonical_url: https://www.funkysi1701.com/posts/2016/imposter-syndrome/
---

This week I handed in my notice at a job I have had for almost ten years. In a few weeks time I will start a brand new job as a web applications developer.

This is a great achievement for me and a great chance to learn and expand my development skills.

However moments after I handed my notice in, a huge wave of uncertainty enveloped me. I have read about this and I think I was suffering from an attack of **Imposter Syndrome**.

_Despite external evidence of their competence, those with the syndrome remain convinced that they are frauds and do not deserve the success they have achieved. Proof of success is dismissed as luck, timing, or as a result of deceiving others into thinking they are more intelligent and competent than they believe themselves to be._

![](https://storageaccountblog9f5d.blob.core.windows.net/blazor/wp-content/uploads/2016/09/1429677066685.rendition-medium.jpg?w=598&ssl=1)

I started to convince myself I couldn’t do the job I had just accepted and that moments after I arrived on my first day I would be found out as a fraud and kicked out the door.

My logical brain was no match for the Imposter Syndrome. Having been kicked out the door of this new job, I would become penniless in no time with no employer (even my previous boss wouldn’t want me back) or recruitment agency willing to speak with me.

OK lets see if we can fight off the Imposter Syndrome and look at a possible worse case scenario. I start at my new job, it is very hard work and a month or so later I have to move on.

No employer ever would sack me on my first day. My first day will be lots of learning how they do things, looking at procedures. I have lots of experience of learning new things, looking at procedures and if I put the work in I can make this new job a success. I have lots of good ideas and useful experience that no one at my new company has.

I don’t know what the solution is to Imposter Syndrome other than to try and ignore it by thinking positively and the knowledge that I have done amazing things in the last ten years and I will do the same in the next ten.
Hi, I'm Michal DavÃ­dek
Tags: introductions
Published: 2016-09-15 07:43:15

---
title: Hi, I'm Michal DavÃ­dek
published: true
description: My introduction post
cover_image: 
tags: introductions
---

I have been coding for 9 years.

You can find me on Twitter as [@mikealdo007](https://twitter.com/mikealdo007)

I live in Sedlec-PrÄice.

I work for Deutsche Boerse Germany.

I mostly program in these languages: Java, Groovy and JavaScript.

I am currently learning more about Functional Programming.

I'm a tech enthusiast who breathes code and loves creating beautiful, well-tested software with meaningful purpose. I'm also on the beginning to be an active contributor to open source projects and I'm trying to maintain a few of my own.

Nice to meet you.
Apple Event tl;dr for Developers
Tags: apple, news
Published: 2016-09-13 23:10:55

---
title: Apple Event tl;dr for Developers
published: true
description: September 7th Apple announcement, the good parts
cover_image: http://i.imgur.com/NvKV007.jpg
tags: apple,news
---

From a developer's perspective, this event was pretty lame. A few new features and upgraded chips for better performance. This is nice, and the new camera seems cool, but nothing major to report on for us makers of stuff. There are a lot of new things to think about with [iOS 10](https://developer.apple.com/ios/), but those had been discussed at a previous event.

As the smartphone landscape progresses, generations will fragment more and more. New phones that support greater graphics and performance are only part of the landscape, and I would urge developers (or their bosses) to think in terms of progressive enhancement when exploring new graphic and processing capabilities.

Apple's wireless headphones apparently use a ["Bluetooth-like technology"](http://www.theverge.com/2016/9/6/12825504/apple-wireless-headphones-custom-chip-iphone-7), but not actual Bluetooth. This is noteworthy.

## Here are my notes from the event

- Apple created [Everyone Can Code](http://www.apple.com/education/everyone-can-code/) initiative that works with [Swift Playgrounds](http://www.apple.com/swift/playgrounds/)
- A few random Apple Watch features. Plus Pokemon Go. I'm kind of sick of Pokemon Go, personally.

### Next generation of Apple Watch, "Series 2"
  - Dual Core Processor, 50% faster
  - New GPU for better graphics/render perf
  - Brighter, better display
  - "Swim proof"
  - Built-in GPS
  - watchOS 3
  - No mention of battery life

### iPhone 7
  - iOS 10
    - Siri capability with apps
    - HomeKit: "Everybody supports HomeKit"
    - More funky iMessage.
    - Rich notifications
  - "taptic engine" home button with API for apps
  - Upgraded camera hardware + software
    - API access to more info and features of photos like live photos
    - iPhone 7 Plus has two cameras for optical zoom.
      - Depth of field
  - Brighter display
  - Stereo Speakers, 2x the volume, more range
  - Lightning port for audio: ships with adapter
  - Apple wireless earphones: "Airpods"
  - Apple Pay to be released in Japan, which has different NFC protocol
  - New chip: "A10 Fusion"
    - 4 cores: 2 main, 2 "high efficiency"
    - 6 core graphics chip
  - Improved battery life
  - Storage capacity doubled to 32GB/128GB/256GB
Azure Marketplace, Weekly ISO Builds
Published: 2023-08-21 21:22:22

---
title: Azure Marketplace, Weekly ISO Builds
published: true
date: 2016-09-13 00:00:00 UTC
tags: 
canonical_url: https://www.kali.org/blog/azure-marketplace-weekly-iso-builds/
---

## Kali Linux in the Azure Marketplace

Over the past couple of weeks we’ve been working on building and implementing Kali 2016.2 in the **Azure Marketplace**. We’re happy to announce that from today on, you can [spin up a Kali machine](https://azure.microsoft.com/en-us/marketplace/partners/kali-linux/kali-linux/) from the Azure Marketplace. In just a few seconds, you can have a full **penetration testing toolset** at your fingertips for no additional cost (other than the standard Azure pricing). If you are a new Azure customer, you can create a free account and receive [$200 credit](https://azure.microsoft.com/en-us/offers/ms-azr-0044p/). If you are performing penetration testing, please refer to the [Azure Testing Request](https://security-forms.azure.com/penetration-testing/terms) for more information.

[![](https://www.kali.org/blog/azure-marketplace-weekly-iso-builds/images/kalisummary.png)](https://www.kali.org/blog/azure-marketplace-weekly-iso-builds/images/kalisummary.png)

## Kali Linux Weekly ISO Builds

As we mentioned in our Kali Rolling 2016.2 release, we’ve started building weekly images of our Kali ISOs. This allows people access to “fresher” and more up-to-date Kali builds at any given time, and helps cut back on the long waits for updates. The ISOs will be generated each **Sunday** and will be versioned as “ **-W** ”. Once all builds are generated, they will be available via [cdimage.kali.org/kali-images/kali-weekly](http://cdimage.kali.org/kali-images/kali-weekly/). Each weekly release will have it’s own SHA1SUM file which will be available at [archive.kali.org/kali-images/kali-weekly/SHA1SUMS](https://archive.kali.org/kali-images/kali-weekly/SHA1SUMS).

## Mr Robot, Ekoparty, and Release Aftermath

We are overjoyed with the **positive feedback** we have received from the 2016.2 update and our download servers have been squealing, serving well over 290,000 copies of Kali this month. We very much appreciate the kind words and as always, would recommend that if you happen to come across any problems - make sure to report them to us through our [bug tracker](https://bugs.kali.org/).

Additionally, we have had the pleasure of watching Kali make an appearance on [Mr Robot](https://www.usanetwork.com/mr-robot) multiple times! We have always been impressed with how grounded the technology is on that show, and seeing Kali leveraged in realistic manners is always fun. Finally, we wanted to make one last shout out about the upcoming Kali Dojo at [ekoparty](https://ekoparty.org/kali-workshops.php). If you are attending, be sure to drop in and say hello!
Chapter Two: This is Andela.
Tags: life
Published: 2018-02-10 22:20:50

---
title: "Chapter Two: This is Andela."
published: true
tags: life
canonical_url: http://cyberomin.github.io/life/2016/09/05/this-is-andela.html
---

There’s something about starting anew, it’s a gift. It’s an opportunity to apply the experience, knowledge and lessons gleaned over the years to a new journey, chapter and phase of a person’s life. Most importantly, it as a blessing.

A new start could mean different things to different people, to an artist, it could mean a blank canvas. One that new ideas will be painted on, ideas that probably came to limelight after he took a second look at his last artwork. To a writer, it’s a brand new page, untainted and waiting for him or her to pour out his or her thoughts. Write beautiful stories, stories that he probably left out in his or her last work. Stories that will go on to inspire generations yet unborn, stories that could change an entire course of history and add a little spice to humanity.

Over the last couple of months, I have tried to share stories that are very dear to me and they were mostly centered around my work—technology and tech startups. On few occasions, I dabbled into [fiction](http://cyberomin.github.io/fiction/2016/04/10/the-dinner.html) and [life](http://cyberomin.github.io/life/2016/08/22/mama.html). Going forward, I will try to share about every other thing that interests me as an individual; art, life, work, etc. This isn’t for self-aggrandizement. This is for posterity. My children will someday read these stories. It will give them context.

Today marks the beginning of a new chapter in my life, a new opportunity, a fresh start. Today, I become an Andelan. I’m excited about the future, I can’t wait to see what it brings.

Thank you to Iyin, Nad, Jeremy, Ebun, Derin, Sayo, Seni, Lisbi and every other person that has been instrumental to the birthing of this new phase. I look forward to the amazing things that we all do together.

Let’s go make magic. This is ANDELA. #TIA.



_This post was originally published on [cyberomin.github.io](http://cyberomin.github.io/life/2016/09/05/this-is-andela.html)_
JSON deserialize generic types using Gson and Jackson
Tags: blogs, gson, jackson, java
Published: 2019-07-24 06:55:57

---
title: JSON deserialize generic types using Gson and Jackson
published: true
tags: blogs,GSON,JACKSON,JAVA
canonical_url: https://jsblogs.github.io/blogs/2016/09/07/JSON-deserialize-generic-types-using-Gson-and-Jackson
---

This blog will guide you how to deserialize json into java generic types. Suppose we have 2 json as given below.

###### SocialAccountResponse.json
{% gist https://gist.github.com/jeetmp3/d55647fc8a5805a70b3aafbde9bd349f file=SocialAccountsResponse.json %}

###### UserResponse.json
{% gist https://gist.github.com/jeetmp3/d55647fc8a5805a70b3aafbde9bd349f file=UserResponse.json %}

Both json have common keys, only data object is being change. To deserialize these jsons without generic types we would have to create 2 wrappers with 2 actual data class. But with generic types we only need to create generic class for root keys and actual data class for every object in data key.

###### GenericResponse.java
{% gist https://gist.github.com/jeetmp3/312858a4702ec8f7a875d26f04515e26 file=GenericResponse.java %}

###### SocialAccountsResponse.java
{% gist https://gist.github.com/jeetmp3/312858a4702ec8f7a875d26f04515e26 file=SocialAccountsResponse.java %}

###### UserResponse.java
{% gist https://gist.github.com/jeetmp3/312858a4702ec8f7a875d26f04515e26 file=UserResponse.java %}

Now We’ll deserialize above JSON in Generic class using below libraries

1. [Google Gson](https://github.com/google/gson)
2. [Jackson](https://github.com/FasterXML/jackson-databind)

#### 1. Deserialize using Google Gson
{% gist https://gist.github.com/jeetmp3/6879107bd56ee9ede8cfdcfc8bdd1f5f %}

#### 2. Deserialize using Jackson
{% gist https://gist.github.com/jeetmp3/e6650ba72955eb82095d0ead3029df4f %}
Better ActionMailer testing with ActionMailerMatchers
Tags: ruby, rails, rspec
Published: 2016-09-07 15:59:20

---
title: Better ActionMailer testing with ActionMailerMatchers
published: true
description: RSpec one-liners that help you to test sending emails in your Rails application.
cover_image: 
tags: ruby, ruby on rails, rspec
---

[ActionMailerMatchers](https://github.com/contently/action_mailer_matchers) provides you with RSpec one-liners that help you to test sending emails in your Rails application.

It is typical to test that an email has been delivered in a controller or service by doing the following:

```
expect { some_action.execute }.to change { 
  ActionMailer::Base.deliveries.count }.by(1)
```

However, this does not specify what email was sent and to where. [ActionMailerMatchers](https://github.com/contently/action_mailer_matchers) solves this problem by providing the have_received_email matcher, which ensures that the passed email address or user (which must respond .email) was the email's “to” address. You may also use the optional subject and body arguments to check that content matches the email you were expecting to send.

```
expect("address@email.com").to have_received_email(body: "Wonderful email body")
```

```
expect(some_user).to have_received_email(subject: "My great subject") 
```

[Check it out](https://github.com/contently/action_mailer_matchers) and feel free to contribute by opening an issue or pull request!
Important style modifications and added tags to articles
Tags: devlog, design, markdown
Published: 2016-09-07 15:54:31

---
title: Important style modifications and added tags to articles
published: true
description: 
cover_image: 
tags: devlog,design,markdown
---

This is my first post in a Devlog. I will keep these up as long as I find it valuable. It's more of a personal exercise. I will not share these to [@ThePracticalDev](https://twitter.com/ThePracticalDev) unless any seems particularly interesting. I make this website and also [Argo](https://argohq.com). I will write logs for each, but the work done on this website is more loggable, as the implementation is more straightforward.

## Tonight

We made the cover image on posts shorter so that more of the article could be seen right away. The cover image is optional but even when it is there, it doesn't need to be so prevalent. Editorially we feel the cover image belongs best on the more impassioned posts, and more instructional posts should go without the cover image. The articles displayed on the home page and profile pages were changed as well. I already see some possible tweaks that need to happen, but I'm happy with this direction.

Also new is the `tags` variable on articles. You may include up to three tags. These will be used for collecting and navigating posts, as tags usually are. The editor on this site accepts markdown and is designed to be compatible with [Jekyll](https://jekyllrb.com/docs/frontmatter/), so the default now looks like this:

```
title: 
published: false
description: 
cover_image: 
tags: 
```

## Going forward

I focused mostly on performance and broader architectural vision at first. That stuff still matters, but I think we will be turning our heads to design and UX a bit more than we have thus far.
GPU Memory Splitting on Raspbian Jessie
Published: 2020-10-15 21:59:11

---
title: GPU Memory Splitting on Raspbian Jessie
published: true
date: 2016-09-05 00:00:00 UTC
tags: 
canonical_url: http://hugomartins.io/blog/gpu-memory-splitting-on-raspbian-jessie/
---

Lately, I’ve running a little side project with the aim of setting up a self-hosted array of software in one my old, beat up laptops.

While I was doing this, I thought that it would be as useful and interesting to try and set up a my personal home theatre - I chose [Kodi](https://kodi.tv/) for the job.

Even though it only supports 15.2 [officially](http://kodi.wiki/view/HOW-TO:Install_Kodi_on_Raspberry_Pi) on Raspbian, there’s an [unofficial](https://mtantawy.com/quick-tip-how-to-update-to-latest-kodi-16-jarvis-on-raspberry-pi/) repository using 16.1 which means that I could use the full power of Kodi on a low power hardware such as RPi 2.

I started using it and unfortunately it always seem to break when I was trying to stream videos. I couldn’t understand why. I changed Skins, Add-ons, streaming sources and what not. I couldn’t figure out why, some videos broke and some didn’t.

Off to Google I went.

It took me about 10 to 15 minutes to understand what might be the problem. GPU processing was being streched to its maximum capabilities.

On the Raspberry [forums](https://www.raspberrypi.org/forums/viewtopic.php?f=91&t=58245) I was able to understand that GPU doesn’t have it’s own RAM, and that GPU is responsible for the graphics processing involved in video playback and streaming.

I thought to myself that if I tried to watch something lower than HD…maybe it’d work.

I turned on Kodi and started testing. Lower than HD video…worked like a charm. Higher than HD video…crash.

After the problem origin was found, it was time to understand the solution which turned around GPU RAM I was sure by now.

After googling some more, I found that it was possible to configure Raspbian memory splitting directly from `raspi-config`:

`sudo raspi-config`

Select _Advanced Options_:

![raspbian-advanced-configurations](http://hugomartins.io/images/1473110638.png)

Select _A3 Memory Split_:

![raspbian-memory-split](http://hugomartins.io/images/1473110890.png)

Configure depending on your needs. I went with _265_:

![raspbian-memory-values](http://hugomartins.io/images/1473111017.png)

Select _OK_. Select _Finish_ and reboot your Raspberry Pi.

This worked for me and helped me achieve better graphics performance on Raspbian.