Hyston blog
About • Archive • RSS

Trying ipad 2018

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! 😔


London baby!

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. double decker


PhotosMover

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.


Developer diaries #0: LINQ

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.


Phone calls

May 4, 2018

I use my phone every day, probably even every hour, except night. I check Twitter, reading RSS, taking photos, posting them to Instagram, using password manager and keeping track of my to-do list. One thing, that I'm trying to do as seldom as possible is to actually make calls.
I have no idea, is it some kind of phobia or it is just my personality, but I feeling strong anxiety each time, when I have to make call or when phone is calling and I don't know the number. It is just hard for me to react on someone's speech in real time with some limitations in sound quality. On conversation I should listen, understand sentence, optionally translate or recall some words, consider my answer, reread it to ensure, that is right in context and only that speak. This is hard to do in real time and even harder, when you talking with someone on phone, when sound quality is low and you don't see opponents face and mimicry. Almost always talking with someone using phone or any voice manager is a pressure for me and take a lot of energy. E-mails and messengers also got great bonus, that I can go back and re-read conversation, to understand it clearly or just to refresh some memories and touch moments.
The only exception, when I'm pleased to get a call from someone is when I want to listen her voice. And then I'm not really care, what is talk would be about.
Otherwise, no voice calls.


← Next Previous →