Posts

comments

Recently I've upgraded Ubuntu to latest 17.10 Artful Aardvark. One of the evenings I've blindly executed do-release-upgrade like I does year ago for v16.04. Surprisingly for me, the command was done successfully. It was late and after installation I've turned off power for notebook and go to sleep.

Next morning I turned on my notebook and trapped in a nightmare :). It seemed like Ubuntu hungs right before it is going to show GUI desktop. Last I've seen on the screen was mysterious boot log:

...
[  OK  ] Started CUPS Scheduler
[  OK  ] Started Trigger anacron every hour
[  OK  ] Listening on CUPS Scheduler
         Starting Console System Startup Logging...
[  OK  ] Started systemd-resolved-update-resolvconf.path
[  OK  ] Reached target Paths
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket
         Starting Socket activation for snappy daemon
[  OK  ] Listening on D-Bus System Message Bus Socket
         Starting systemd-resolved-update-resolvconf.service....r...server...p link was shut down....

This last line with many dots... There was thoughts in my mind that I'll need to reinstall the system from the scratch. And I'll need to save all my data before reinstall. Arggghh :)

Hopefully, I rescued my Ubuntu installation. In this blog post I'll list possible solutions that I've tried and one that really helped.

comments

Github Octocat Logo

About half-year ago I read Don Williamson's blog post on how to replace Disqus comments engine with Github Comments (in russian). "Brilliant idea!", I thought, and I was inspired to implement same comments support for my blog some day. The day has come!

Yes, really, I used Disqus for this blog from the start but never liked it much. Increased page load time, so many requests to unfamiliar and strange URLs - nothing good for me and the readers, I think.

Now I had a few spare time to implement comments with Github API. I had decided to touch with Vue.js for presentation and learn the way to implement reusable components with it.

comments

What is actual state of .NET Core development for those who write NUnit tests?

Can we write cross-platform applications testing them with NUnit?

Is there are project templates like xUnit has?

Is there a tooling support for NUnit on par with xUnit and MSTest?

Couple days ago I asked myself these three questions. Here I'll show the results of exploration on the first day of summer 2017.

comments

What if you have HTTP API based on protocol buffers and you want to add XML support to the API? You'd like to have one source of truth and you already have much of protocol buffer message definitions? You have unwanted option to write XSD Schema manually which is error-prone. Here I'll show how you can automate XSD schema generation from existing protocol buffers message definitions.

comments

I have Google Analytics and Yandex Metrica counters embedded on this site and I have monitored site activity for a while. One metric I have worried about was site performance. Yes, this blog is jekyll-based static site. Can there be performance issues with static site content? I thought no, but Yandex Metrica shows me that performance issues are here. It may be slow 3G internet is in the game or I have Moscow's shared hosting issues, I can't be too sure. Here I'll show how to start using Content Delivery Network using Cloudflare as an example.

Last time we started watching nodejs hanging on several TeamCity build agents when they builds website static content with webpack. Hanging was detected when nodejs was loading npm-package from our locally installed GitLab Community repository (here and after gitlab.com):

  • nodejs cloned git-repository by ssh
  • git executes ssh
  • ssh thought git-host untrusted and issue user prompt for adding this host to known_hosts file like:

    The authenticity of host 'gitlab.com (<ip-address>)' can't be established.
    RSA key fingerprint is SHA256:<public-key>.
    Are you sure you want to continue connecting (yes/no)?
    
  • executing git-cloning hanging until user enters yes in console