Nikola Brežnjak blog - Tackling software development with a dose of humor
  • Home
  • About me
Home
About me
  • Nikola Brežnjak blog
  • Home
  • About me
Miscellaneou$, Quick tips

Gitflow – a successful Git branching model

edit 14.4.2017: I made a 2.5k+ word post about Gitflow, Pull Requests and Code Reviews which goes way deeper in the topic. The post is here if you want to check it out: Git branching done right with Gitflow & improving code quality with code reviews.

Before I started working on my newest project, I took the time to finally delve into the proper way of doing branching. Not long into the research gitflow popped up as the more/less something that community loves.

After checking it out, I’m amazed how awesome this is.

So, first things firs; the original article was written by Vincent Driessen: A successful Git branching model goes into the details of this workflow.

Later I found out that community built the git-flow command line program that provides high-level repo operations for Vincent Driessen’s branching model.

Tutorial

  • 15min video

Installation

Simple brew install git-flow if you’re on Mac.

Git-flow command completion

Use tabs to auto-complete the git-flow commands: https://github.com/bobthecow/git-flow-completion. Completions available for both bash and zsh.

Gitflow – a successful Git branching model https://t.co/1ecyQ5qlTd

— Nikola Brežnjak (@HitmanHR) June 14, 2016

Miscellaneou$

Weblica 2016

This was the 2nd Weblica conference in my Međimurje county (I wrote about the first one here).

Again, the entrance was free and every attendee got a T-Shirt, loads of stuff to eat and drink. The talks were interesting and informative, and for all this a big two thumbs up to the organizers. Also, active participants got a cool snake puzzle (here’s a link on how to solve it :)).

This year I had the honor to present about Ionic framework. You can watch the whole conference on this Youtube video (in case you’re wondering, my talk starts at 6:46):

I won’t go into the details of every presentation, you can take a look at them yourself :), I’ll just add pictures I took:




All in all, a great conference and hope to see you next year (I’ll be talking about Ionic 2 hopefully :D)…

@weblicahr another awesome conference! #weblica https://t.co/GhKFv3hG5T

— Nikola Brežnjak (@HitmanHR) May 15, 2016

Miscellaneou$

Shutterstock doesn’t offer money back

Shutterstock doesn’t offer any money back policy if you wish to downgrade on the video size (OFC, consequently price as well) but they’re absolutely delighted to upgrade you to the more expensive option. And, they don’t have that in written form anywhere (at least so the support rep said, as you can see below in the chat). Some businesses just make me sick… Oh, and btw, in case you don’t know, we should all be putting 300+ MB files for our video backgrounds…

Francesco D: Thank you for reaching out! I’ll be glad to help…
Francesco D: Hello Nikola.
Me: Hey Francesco?
Francesco D: What seems to be the issue?
Me: Hey Francesco
Francesco D: Hi.
Me: well, it turns out I made a mistake and bought the SD instead of clearly the web version
Francesco D: Ok.
Francesco D: Do you need teh HD?
Francesco D: Let me understand.
Francesco D: You needed the web instead?
Me: yes. because, at first I thought I need the sd version
Me: but it turns out that the size is just to damn big and loading takes forever
Francesco D: Unfortunately we are unable to downgrade the purchase.
Francesco D: I understand.
Francesco D: We are unable to refund the purchase Nikola.
Francesco D: We can only help you upgrading the format.
Me: do you have that in written form somewhere?
Francesco D: No.
Me: oh, really? A big firm like yourself and you don’t have a return policy? Now that’s interesting
Francesco D: We can only refund files that are corrupted Nikola.
Francesco D: When you download a file you acquire the license and the artist gets paid immediately.
Me: And, you’re saying you don’t have that in the rules or somewhere?!?
Francesco D: We do not.
Francesco D: When you download a file you acquire the license and the artist gets paid immediately.
Francesco D: Since the file is not corrupted we are unable to refund it.
Me: and you haven’t been sued for this already? LOL
Me: ok, I don’t mean to be hostile here but, tbh, this is just not how you do stuff these days
Francesco D: No we haven’t.
Francesco D: You could have checked before making the purchase.
Me: as I said, I’m not trying to be an ass I’m just trying to save you from some customer that will have a better law background
Francesco D: I understand.
Francesco D: is there anything else I can help you with?
Francesco D: That is very kind of you Nikola.
Francesco D: if you needed to upgrade the clip we could have refunded it after you purchased the HD.
Francesco D: How are you using the clip by the way Nikola?
Me: you see but this right here strikes me as odd, as why then we can’t do it the same for downgrade. I mean, forget it, I’ll find my way, but I’ll blog about this as well, so that others don’t do the same mistake
Francesco D: I am sorry you feel that way, I would suggest you check with us before you make the purchase though Nikola.
Me: ok, I’m checking then now (sorry this is turning into a drag now). For the video clip to be used on the web, but fullscreen, what do you suggest??
Francesco D: Nikola don’t be sorry I am just here to advise you.
Francesco D: SD and web are mostly used for projects where the video won’t fill the screen.
Francesco D: HD will provide high quality and sharp definition for many video projects where quality needs to be high.
Francesco D: For full screen teh HD is what we suggest.
Me: seriously? like I mean, lol, who would wait that long for the download??
Francesco D: Taht is what we suggest Nikola.
Me: you’re seriously telling me you’re recommending your users when they need a background video that they take the 300MB monster. oh dear
Francesco D: I am seriously telling you that SD and web are mostly used for projects where the video won’t fill the screen.
Me: ok 🙂
Francesco D: Do you have any further questions?
Francesco D: Are you still there Nikola?
Me: meh, I better stop with my questions
Me: so, wish you less angry customers like me 😉
Me: have a great one
Me: bye
Francesco D: I am happy to answer your questions.
Francesco D: Have a great day too.
Francesco D: Bye now Nikola.

#Shutterstock doesn't offer #money #back https://t.co/5FP0XXvjq8 pic.twitter.com/vou4ppcirc

— Nikola Brežnjak (@HitmanHR) May 15, 2016

Miscellaneou$

2nd Devz Meetup Varaždin

TBH, I wasn’t aware that something like this (meetups) exists “near” me (yeah, I hear you: “Where do you live, man?!”.), so I didn’t make it to the 1st one. All in all, kudos for the organizers and looking forward to the next one! As I usually do with posts about conferences, I’ll share my notes that I took in my notebook and a few pictures.

There were 3 talks and a Voogle 2016 conference announcement on this meetup:

  • Information security and why should you care
  • Introduction to VueJS
  • Startup accelerator experiences

 

Information security and why should you care

  • presenter: doc.dr.sc.  Tonimir Kišasondi
  • this was a very intriguing talk, that delivered on the authors expectations – it made me start thinking more about security! So, thank you!
  • thumb_IMG_5997_1024
  • problem is related to security ecosystem
  • after a company survives an attack it looses about 40% clients
  • exploit kit
  • it seems that we aren’t only good at sports ;). “Share of internet users who experienced security related problems in the EU Member States in 2015” – we hold position #1
    thumb_IMG_5993_1024
  • ISO 27000 (commercial), BSI (free)
  • OWASP ASVSP – must read!
  • SANS critical security checklist
  • Bitstamp incident
  • DREAD assesment risk model

 

Introduction to VueJS

  • presenter: Bruno Škvorc
  • speaker shared his views of why he thinks VueJS has the potential to become the best front end JS framework
  • thumb_IMG_6003_1024
  • Well, I guess that every new-shiny-JavaScript-framework talk has to show this slide 🙂
    thumb_IMG_6005_1024
  • it’s very easy to use and master (1-2 days)
  • you can have an app on literally one element
  • only focused on web
  • everything is a component and has it’s own JS, HTML and CSS
  • the simplest example (jsFiddle here):
    <!DOCTYPE html>
    <html>
    <head>
    	<title></title>
    	<script src="http://cdnjs.cloudflare.com/ajax/libs/vue/1.0.16/vue.min.js" type="text/javascript" charset="utf-8"></script>
    </head>
    <body>
    
    	<div id="demo">
    	  <p>{{message}}</p>
    	  <input v-model="message">
    	</div>
    
    	<script type="text/javascript" charset="utf-8">
    		var demo = new Vue({
    		  el: '#demo',
    		  data: {
    		    message: 'Hello Vue.js!'
    		  }
    		})		
    	</script>	
    
    </body>
    </html>
  • vue-router and vue-resource are must from the start

 

Startup accelerator experiences

  • presenter: Zvonimir Dimovski
  • speaker shared his experience with startup accelerator Eleven Accelerator
  • you have to deal with C.R.A.P:
    • C – critisism
    • R – rejection
    • A – assholes
    • P – pressure
  • if you get founded you get 100k € for 6 months, with investor owning 8%

 

Voogle conference announcement

  • March 15th 2016
  • An interesting lineup of speakers and talks
  • Register here, tickets are not expensive (99kn)
  • I got a 2014 T-shirt edition in a random draw 🙂
    thumb_IMG_6020_1024
  • all in all, see you there!

Great talks at 2nd Devz Meetup Varaždin by @bitfalls @kisasondi and @Zvonr https://t.co/vLMy1gUX6r

— Nikola Brežnjak (@HitmanHR) February 22, 2016

Breaking News, Pluralsight

Learn at Pluralsight for free the next six months

In this post I’ll show you how you too can learn at Pluralsight for free the next six months. As you may know, I already have (and truly recommend) Pluralsight subscription. However, the may not

As you may know, I already have (and truly recommend) Pluralsight subscription. However, the may not struck you as the cheapest option and I found this original link today on Fossbytes where they show how you can get six months for free at Pluralsight. No credit card, coupon or other BS.

Here are the steps:

  1. Go to signup.live.com and create a new Microsoft Account. or skip it if you already have one
  2. Go to my.visualstudio.com and sign-in with your (newly created) Microsoft account
  3. Click on Get code and then on Activate.
    psMicrosoft
  4. You’ll be taken to the Pluralsight website to activate and redeem your 6-month subscription.

And even though these steps sound “sound”, one of my friends reported that the Pluralsight link ends with a 404 page. Is this also your scenario or did you guys manage to work it out?

#Learn at Pluralsight for free the next six months https://t.co/WhkeDbIXpH pic.twitter.com/Rc3KRviEbZ

— Nikola Brežnjak (@HitmanHR) February 15, 2016

Breaking News, Ionic2

Ionic framework 2 is in beta

Ok, true, this “news” is few days old now and I’ve been slow to post about it.

Nevertheless, this is awesome news as I’m really excited about the 2.0 version, which follows closely the Angular 2.0 version. Btw, I wrote a tutorial about how to post data from Ionic 2 app to php  server, in case you’re curious you can find it here.

You can read the docs over at http://ionicframework.com/docs/v2/, but to quote the official post:

we’ve focused on performance boosts, architectural improvements, cross-platform theming, support for Angular 2, support for the mobile web, and so much more!

In case someone is still doubting Ionic, they state a very interesting fact:

Ionic has seen widespread adoption, with over 1.9 million apps built by everyone from individual developers to small startups to large enterprise businesses from around the world.

And, in defence of why Angular 2, here is their response:

Today, an Ionic and Angular 2 app is just TC-39, standards-compliant JS. While it may look different from what you’re used to, the benefit is the entire web industry is moving towards this standard set of technologies, so your skills will adapt to other projects beyond Ionic and Angular 2. That wasn’t the case with Angular 1.

Ionic 2 styles UI components based on the platform in which it’s being displayed, and the great news is that they’ve added material design for Android apps.

I totally agree with the following:

Ionic is pretty much the only major mobile framework out there that lets you adapt your app to the app store as a native app and put it on a web server to provide a great mobile web experience with no changes required.

clap

#Ionic framework 2 is in beta https://t.co/Nyy2QQZqRf

— Nikola Brežnjak (@HitmanHR) February 15, 2016

Miscellaneou$

5 Great Places to Find Top Freelancer Software Engineers

TL;DR: This post is leaned toward how and where someone would find freelancer software engineers. Nevertheless, you can also check these sites out in order to find a great place to work at.

Finding the right freelancer developer for your project can be a daunting task, especially for those without much development experience. There are always a couple of considerations to keep in mind:

  • What particular skills are you looking for?
  • What’s the length of the job you have in mind?
  • What sort of personality and habits mesh best with your work environment?
  • How soon do you need a developer?

Once you’ve sorted out these questions, rather than walk down the street and hope that you bump into a solid software engineer, it’s generally best to use a hiring website. Though the list below is by no means extensive, these sites are great places to find developers for whatever sort of project you’re working on. Check them out, and see what works best for you!

Toptal

Unlike other freelance marketplaces, Toptal focuses on working only with elite software engineers and only with clients who have the budget and need for top talent. Toptal screens both clients and developers, and only accepts those that they feel will thrive within its community.

Besides English and personality tests, Toptal puts prospective developers through a battery of timed tests, live interviews, and sample projects to make sure they’re the best of the best. Clients will work very closely with Toptal’s team to make sure their needs are fully understood and met. Clients also can enjoy a no-risk trial period of up to 2 weeks, and if they’re not fully satisfied that the engagement will proceed according to plan, they won’t pay, and Toptal will cover costs out of their pocket.

 

Rent a Coder

Rent a Coder allows you to post a project for free, and then wait until you receive bids to decide whom to employ. By using a reverse-auction method, through which developers compete to offer the lowest price for the job, you’re guaranteed to get a competitive price.

Though the initial post is free, you can’t share contact details unless you pay for membership. One downside of Rent a Coder, aside from its somewhat unprofessional website, is that there’s no verification process: Rent a Coder doesn’t have a screening system for determining good developers, so you run the risk of getting someone who’s not up to the task. You also can’t make payment over the website, which is a bit inconvenient.

 

Hirable

What immediately stands out about Hirable’s website is its sleekness; unlike many hiring websites, Hirable’s is professional, user-friendly, and clean. Once you sign up, you can see profiles of different developers with their skills, location, contact information, website, and workplace preferences.

Though there’s no independent verification, you can definitely get a feel for different sorts of developers by sorting through some profiles and picking out the skills you need. What’s unique about Hirable is their “availability” feature: you can see whether developers are currently hirable, will be hirable soon, or are busy, so you get your project done as quickly as possible. Ultimately, while Hirable might not get you the best developer in the world, it’ll definitely get you a solid one within a convenient time frame.

 

Workmarket

Workmarket makes it incredibly easy to hire developers from all over the United States. Their website and process is fairly easy to use, and helps you organize all your tools into a single dashboard.

They also offer several screening tools, including their Learning Management System, and give you access to background checks. One advantage of Workmarket is that it automatically adds freelancer engineers to your queue who match your needs. You can pay employees however you want, and even see other customers’ ratings to determine which freelancers have the best record.

Workmarket’s website also has some useful information about how to hire freelancers, along with some interesting webinars. While Workmarket certainly offers better support than Rent a Coder, it doesn’t appear to offer access to developers from outside of the U.S., unlike Toptal, which probably reduces its talent pool. Still, it’s definitely a great option for those looking to hire local developers who come well-recommended.

 

10x Management

10x Management, which you may have seen on Ted Talks, helps connect you with some of the best tech talent from around the globe. Like Toptal, they have their own verification process, and they choose from 1,000’s of applicants to determine the best developers.

After matching you with a developer, they’ll offer support for the entirety of the job. For anyone not convinced, you can read their “Case Studies” section to see how successful businesses have used their services. Also, they have a phenomenal blog with some tips on tech, hiring, and software engineering. Ultinately, 10x Management is a great option for those looking to get the best tech talent available.

5 Great Places to Find #Top #Freelancer #Software #Engineers @toptalllc https://t.co/IolMNr8XPY pic.twitter.com/o2eLK1ZmDi

— Nikola Brežnjak (@HitmanHR) January 20, 2016

Miscellaneou$

Makers vs Consumers – don’t hate, donate

When was the last time you contributed to some open source project? Did you ever even click on that little star on Github? Or, when was the last time you showed support to the people who work for free on these projects that you take for granted and use daily for your (commercial) projects!?

A lot of people in the software development world started saying $hit about the makers of certain open source projects. That is really not the route you want to take as a professional, so please stop it. I really won’t go any deeper than that, because if they don’t understand that that’s not nice/moral/right, then I see no hope for them to ever grow as persons or developers.

If you indeed find something that’s lacking, instead of complaining

make a freaking meaningful pull request!

For all those who are complaining that “it’s hard to keep up with all the change in the web development world with all these new tools and hundred ways of doing the same thing” I only have one thing to say:

You don’t need to jump into every new framework that comes out. However, you do need to (in your chosen field) adapt, grow, or walk away. It’s really not for everyone. If you’re not willing to daily invest time to hone your skills as a developer then I have to conclude that you came into this field for all the wrong reasons!

Below is the awesome video on this topic by the awesome Mattias P Johansson (@mpjme). You should check out his videos, he has a really good series (presented in a fresh and fun way) about JavaScript.

All in all, dear people:

don’t hate, donate!

And, dear makers, don’t get discouraged, because without you these ungrateful consumers will, well, be worthlessly lost…

#Makers vs #Consumers – don't hate, donate. Eye opening​ video by @mpjme https://t.co/2IxIvzYMgq

— Nikola Brežnjak (@HitmanHR) January 19, 2016

Miscellaneou$

Friend on a hand

Below is my submission for the Bug writing competition in original Croatian, and in my best attempt to translate to English (fixes are welcome). However, they must have thought I was joking or something, and they didn’t even take a look at it. Anyways, here’s a story with my 1+ year experience with my Fitbit:

English version:

We formed our friendship just before you wrote the article “Me in numbers” in your Bug magazine. That made me happy because you assured me that I’m a successful trend followed, like any real gadget enthusiast.

I wear it on my wrist, and it doesn’t bother me any second of my 8-hour work on my other Friend – Computer, but we won’t talk about him now because after all this isn’t his 5 minutes of fame.

First of all, I wouldn’t want to label him as a mere piece of hardware, because, in a very short period that I own him, he became my Friend Hardware.

Not only does he count the number of steps I make in a day, but he also counts my total sleeping time. His friend Application (which, btw, works great on any worthwhile mobile phone or browser) shows me which period of time I was restless during the sleep, and with this, I can see the quality of my sleep and the time it took me to fall to sleep.

It also allows me to enter the data about the food that I eat, the amount of water that I drink, and my current desired weight. Based on my activity, it calculates how many calories I spend, and how much more would I have to burn to stay in the fitness beast mode – bye bye personal trainers.

Hardware vibration mode wakes me up in the morning at the time allocated in the Application, so that I don’t wake up my child and wife early in the morning at 5 AM when I go for a run before work. Hardware sends me weekly accomplishments via the Application and it shows me how I stack up against my other “living” friends.

My FitBit Flex <3

Original Croatian version:

Mi smo oformili naše prijateljstvo taman prije nego što ste Vi u Bugu imali temu “Ja u brojkama”. To me razveselilo jer ste mi time potvrdili da uspješno pratim trendove kao svaki pravi gadget entuzijast.

Nosim ga oko svog zapešća i ne smeta mi ni trenutka u mojih 8 sati rada za mojim drugim prijateljem Računalom, ali sada nećemo o njemu jer je to ipak njegovih 5 minuta.

Prije svega, ne bih htio da se njega oslovljava samo kao neki obični hardware, jer je on u kratkom roku što ga imam postao moj prijatelj Hardver.

Ne samo što mi mjeri broj koraka koje napravim u danu, već mi mjeri i ukupno vrijeme spavanja. Njegova prijateljica Applikacija (koja, usput budi rečeno, radi na svakom iole spomena vrijednom mobitelu ili browseru) mi omogućuje uvid u period kad sam bio nemiran tokom sna, te time mogu vidjeti kvalitetu sna i vrijeme koje mi je bilo potrebno da zaspim.

Također mi omogućuje da unesem podatke o hrani koju jedem, količini vode koju popijem, te svojoj trenutnoj i željenoj težini. Ovisno o mojoj aktivnosti računa koliko kalorija potrošim, te koliko bi još morao da ostanem u fitness beast modu – bye bye osobni treneri.

Hardver me ujutro budi laganim vibriranjem u vrijeme zadano u Aplikaciji, tako da ne probudim svoje dijete i ženu ujutro u 5 sati kad idem trčati prije posla. Hardver mi preko Aplikacije tjedno šalje email sa pregledom postignuća za prošli tjedan a i prikazuje mi koliko sam dobar u odnosu na druge “žive” prijatelje.

Moj FitBit Flex <3

Oh, btw, the strap broke after more than a year of non-stop usage (showers included), but I bought a cheap replacement on eBay and it’s holding up just fine…

#Friend on a #hand #fitbit https://t.co/QiGaU2I4q3

— Nikola Brežnjak (@HitmanHR) January 4, 2016

Miscellaneou$

hack.summit() 2016 virtual conference and hackathon

hack.summit() is a virtual event for developers presented by Pluralsight which will take place “on the wire” on February 22nd-25th, 2016.

This years’ hack.summit() holds three titles:

  • The largest virtual conference in history
  • The largest programming conference in history
  • The largest hackathon in history

and it has some really interesting speakers like programming language creators, open-source contributors, and thought leaders like:

  • JON SKEET – #1 answerer on StackOverflow
  • KENT BECK – Creator of Extreme Programming, creator of TDD
  • DAVID HEINEMEIER HANSSON – Creator of Ruby on Rails
  • JOEL SPOLSKY – Co-founder and CEO of StackOverflow, founder of Trello
  • YEHUDA KATZ – Ember.js author, Rails Core contributor
  • TOM CHI – Creator  of Google Glass
  • BRIAN FOX – Inventor of GNU Bash Shell
  • ORION HENRY – Founder of Heroku
  • ROD VAGG – Node.js Technical Chair and Core Committer
  • and many others…

On top of that, there will be a virtual hackathon on February 20th-21st. One can compete alone or in a team. The prize pool is also worth mentioning 150k$ times :).

This should definitely be interesting so make sure you check it out if you’re into these kind of things…

#hacksummit 2016 #virtual #conference and #hackathon https://t.co/YvMSZ621yh

— Nikola Brežnjak (@HitmanHR) December 28, 2015

Page 4 of 9« First...«3456»...Last »

Recent posts

  • Why You Should Start Blogging (Even If Nobody Will Read It)
  • Speed Reading
  • Impostor Syndrome
  • Why Strange Images Make You Remember Better
  • Productivity tip: rate things 1-10 without 7

Categories

  • Android (3)
  • Books (114)
    • Programming (22)
  • CodeProject (36)
  • Daily Thoughts (78)
  • DevThink (5)
  • Go (3)
  • iOS (5)
  • JavaScript (128)
    • Angular (4)
    • Angular 2 (3)
    • Ionic (61)
    • Ionic2 (2)
    • Ionic3 (8)
    • MEAN (3)
    • NodeJS (27)
    • Phaser (1)
    • React (1)
    • Three.js (1)
    • Vue.js (3)
  • Leadership (1)
  • Meetups (8)
  • Miscellaneou$ (84)
    • Breaking News (8)
    • CodeSchool (2)
    • Hacker Games (3)
    • Pluralsight (7)
    • Projects (2)
    • Sublime Text (2)
  • PHP (6)
  • Quick tips (44)
  • Servers (8)
    • Heroku (1)
    • Linux (3)
  • Stack Overflow (82)
  • Unity3D (9)
  • VibeCoding (2)
  • Windows (8)
    • C# (2)
    • WPF (3)
  • Wordpress (2)

"There's no short-term solution for a long-term result." ~ Greg Plitt

"Everything around you that you call life was made up by people that were no smarter than you." ~ S. Jobs

"Hard work beats talent when talent doesn't work hard." ~ Tim Notke

© since 2016 - Nikola Brežnjak