JavaScript must die (ASAP)

JavaScript it’s a cancer of modern software development industry

Big claim, isn’t it? Well, I’m sure I have a right to say that. I’ve been using suffering from JavaScript in last 10+ years. Really, I can’t remember anything good about this shit language since I started to make money on programming being freelancer. I’m not mean, I just had enough. And please, don’t take this article personally, you’re not a programming language you use.

I’m a normal developer.

It means I’m not genius and I can’t and wouldn’t keep whole program code and it’s complicated flow and branching in my head. I’d rather delegate this boring work to computer and focus on business logic as much as I can. I’m certain, there are about 2.5 really good developers who can write good code in javascript. But probably they don’t as they are busy talking on conferences ¯_(ツ)_/¯

You cannot avoid JS

Read more

Safe and sound code with kotlin

Following my first talk about writing safe code in kotin at London Kotlin Meetup #2 I recently had one in Saint-Petersburg. It was organised by Spb Google Developers Group, namely by Oleg Makarov. Event took place in the most appropriate place – place where kotlin was born – Jetbrains “Universe” Office at Vasilyevskiy island (it’s not kotlin island as someone might think :D).

Read more

US trip: observations about American English

I recently visited USA(California) and I want to share some observations about language
Just a reminder – I’m not a native speaker but grew up on American English, thanks to videos, forums, music and podcasts. Nevertheless I’m living in UK and as you can guess English here is a bit different.

During the trip I collected short list of different words which are common in American but not in British English:

Read more

RPI Zero scan button

While I was finishing wireless scanner and printer server I realised that traditional document scanning approach is not so nice from UX point of view.

I really like the way office scanners in multi-functional devices work. Normally if you want to scan you just load stack of paper into and put your email address. Scanner does the rest and in minute you’ll get ready-to-use pdf file in your inbox.

I was thinking about having button attached to RPI Zero which initiates scanning and document upload.

Read more

RPI Zero: print & scan servers

I had to make old printer and scanner wirelessly available over local network. It can be done using wireless printer USB adapter but it’s not that cheap and still doesn’t support scanner

Obvious choose is using Raspberry PI with linux installed. Before I heard a lot about RPI Zero but could never believe that it costs just £5. Actually it is just £5 and +£2.5 delivery fee. Surprisingly there are no other options except of first class delivery!

Long story short, I put here main steps how to setup print and scan servers on small Raspberry PI Zero:

General configuration

Upgrade RPI software
To access most recent features and freshly created bugs make sure you use most recent version of RPI firmware. To do so run sudo apt-get dist-upgrade.

Static IP
Assign static IP for your raspberry. The easiest way is configure your router DHCP server. Just bind mac address to nice IP in your network, like 192.168.100.100, later in this post I

Reduce graphic memory fraction
If you aren’t going to use video how to

Read more