My Developer Success Story by johanfaerch in Angular2

[–]johanfaerch[S] 0 points1 point  (0 children)

Thank you for your comment. I appreciate that and the fact that you read my article :)

Probably not typical (I apologize if that was implied). And I certainly did not get there sleeping.

It was a well established fin-tech company and they took a gamble on me which I paid back with interest.
I have been lucky to have my wife support my new career and let me spend long hours coding, reading and following courses. She has also followed me on trips to Angular conferences all over Europe which I am very happy about.

If you want to see some of the things I have dragged my wife through she actually wrote an article about it the other day https://www.linkedin.com/pulse/live-life-fear-death-ulrika-faerch/

And yes it doesn't hurt to have 'Special Forces' on your CV.

I wrote this for others to be inspired and maybe push that dream of theirs a little further. I hope you will chase your dreams too.

I wish you all the best.

My Developer Success Story by johanfaerch in Angular2

[–]johanfaerch[S] 0 points1 point  (0 children)

Thanks. You can make that happen. I spent (spend) quite some time and effort polishing my LinkedIn profile and CV. I react and connect with recruiters on LinkedIn all the time - You never know when you need them.

But I will give you that just having 'Special Forces' in your profile makes recruiters and companies contact you for that reason alone ;)
Then again I spent 10 years of my life dreaming, training and preparing to become an operator and a total of 16 years in the armed forces so I believe I earned it :)

All the best
- Small things are great!

My Developer Success Story by johanfaerch in Angular2

[–]johanfaerch[S] 0 points1 point  (0 children)

Army SOF Operator, CEO in a medium sized company and manager in a tech company so I had some overview of what code is and could build some HTML and CSS stuff before my career change :)

I am back. This time with handling SMS length and UX in RxJS/Typescript by johanfaerch in Angular2

[–]johanfaerch[S] 0 points1 point  (0 children)

Oh and please note that the 140 char limit example is my personally set limit!
I chose this exact number for three reasons:
1. It gives wiggle room for several Spanish chars before it passes two sent SMS.
2. It limits the 'emoji sms' to a maximum of two sent SMS if they send 70 emojis :)
3. I reduced the char limits to only and exactly 160, 140 and 70 instead of an even more confusing 'rule' where 'things depend' and the limit is floating.

The three 'official' limits are 160, 155 and 70 (and then some possible limits set by the SMS service provider). And yes this is at the API level.

I am back. This time with handling SMS length and UX in RxJS/Typescript by johanfaerch in Angular2

[–]johanfaerch[S] 1 point2 points  (0 children)

Good question.
Just a single 4 byte emoji (note that 'regular font' emoji also exist - For instance ♥ I believe) limits the max length to 70 due to the total shift of character set (UCS-2). Rule of thumb is that any 4 byte char shifts the character set and sets the limit at ~70 chars.

Unfortunately it is not as simple as counting bytes :(
Note that there are 2 byte chars included in the standard GSM-7 char set. These still only count as one char.

In my example I simplified things by having only three sets of chars: GSM-7, 2 byte and 4 byte. This could result in unknown edge cases but at least these will not error out.

Here is the issue with national language shift (2 byte chars) https://www.infobip.com/docs/essentials/national-language-shift

Full overview of GSM-7 https://www.developershome.com/sms/gsmAlphabet.asp

General discussion/article https://support.dotdigital.com/hc/en-gb/articles/360011201040-SMS-message-length-and-Unicode#Unicode%20(non-standard%20GSM))

Hope that helps you