July 5, 2018
20% of work make 80% of job result. Thats the difference between big and small companies: when I have worked on small company, we skipped last mile and we have worked on these 20%, that can be done by one or two developers. So we had made core app, all interesting tasks, but we didnt polish everything, we didnt fix errors, that were not frequent, we cut a corners here and there.
That is the difference for a big companies: they can not skip some part of work. If they will skip not 20%, but even 2%, it can lead to lose tens of thousands of %currency_name%. And were small team can consist of couple developers, enterprise require tens of developers, most of which will do boring, sometimes repeatable job, sometimes with double and triple checking everything. And tens of developers require proper management team, they need HR, PO, CTO and all that shit. Just to be sure, that 100% is done.
July 4, 2018
Using keyboard with two hands in portrait orientation is hard. Typing on a lap with landscape orientation is simplier, hovewer still not so fast as on laptop or (!) even on phone, I would never guessed it.
So, reallisticslly, usecase for me for iPad after buying new phone:
P.s. sending drafts from iPad to iPhone is very easy P.s.s. Holy cow, after 10 minutes on iPad I really miss iPad keyboard features! 😔
June 30, 2018
We took a 4 days trip to London in early spring and next day after arrival I wrote some drafts to blog post, that I have never wrote. 3 month later, a give up and will publish this draft as it is.

June 22, 2018
Since I got new a camera, I cannot decide, in with format I shoold save photos, jpeg, raw or both. All photos eventually placed in apple photos, and this camera shoots really nice jpegs, but sometimes I still want to use raw, but, at the same time, I dont want to keep all raws, that I'm shooting nor sort them out after I have sorted jpegs. Finally I ended up with simple script, that, at lest, do the job to sorting out photos for me.
Here is link to github gist.
Description is in the comments and code is very straightforward, I just want to notice, how easy and powerfull linq is. The reason, why it took me so long to write it down is that I was sure, that I need to write python script or bash or whatever scripting language is. Truth is, I need to use what I know and comparing two lists cannot be easier, if you are using database-oriented syntax.
May 8, 2018
When I’m writing linq queries, I’m often forgetting, how powerful is it. At least a half dozen times I have wrote a query, that includes objects from one array, that are not exist in another one, like this:
var firstUnique = first.Where(l => !second.Contains(l));
But only today I was enlightened, that much simpler version exist:
var firstUnique = first.Except(second);
It may seem very similar, but make huge difference on structures, that are more difficult than List<int>
Too bad that typescript does not have linq abilities. However, I have found today a spread separator, which helps a lot working with structures. I.e. I have flattened complex dto like this:
var segments = .concat(...groupedSegments.map(bs => bs.segments))
Here groupedSegments is array of objects, each of them contain segments , which is array of objects, that I actually need. With one call I make this structure flat.
100% JS-free