author: Krasimir Tsonev

Hi there, I'm . Senior front-end engineer with over 13 years of experience. I write, speak and occasionally code stuff. Follow me on Twitter, GitHub, Facebook or LinkedIn

#Architecture


Email not working after DNS change

posted in Architecture on 2020-02-07   , ,

I just recently moved my outset.ws domain to Zeit name servers. That's my 13 years old domain which I'm not using it anymore. It makes sense to point to krasimirtsonev.com. The thing is that I have an email which is used all over the net. I of course want to keep that email. And suddenly I wasn't able to receive messages to it. I started missing some very important emails. Like bills that have to be paid and GitHub notifications.

read more comments

Running Prettier for specific Git branch

posted in Architecture on 2020-01-14   , ,

I'm working on a project in my own git branch. At the end of my working day I want to do one thing - run Prettier so my code is nicely formatted before I submit the PR for code review. Of course I know about the VSCode Prettier extension but right now my editor is kinda broken and I don't want to mess with it. I'm still on my branch and I run Prettier from the terminal. All good but the amount of changes that happened is so big that my 50+ loc updates are like a needle in a haystack. It is like that because apparently there are already malformatted files in the project. It is definitely not possible to understand what I did because of so much noise. So ... I want to run Prettier but only on the files that I touched in that particular branch.

read more comments

README driven development

posted in Architecture on 2017-09-06   , ,

I was doing a podcast episode with Kent C. Dodds when he mentioned README-driven development. And so I decided to try it out with a new library which I just started. Here’s what I found.

read more comments

Apache .htaccess for HTML5 push state manipulations

posted in Architecture on 2015-12-20   , ,

This is a quick post so I document my two hours research. I'm working on a open source library for routing in the browser. Or in other words JavaScript library that uses the history API. The thing is that locally I'm using Apache as a dev server and I wanted all the request to specific folder to be redirected to index.html.

read more comments

Hacking a weird failing HTTP request

posted in Architecture on 2015-12-04   , ,

I recently finished watching Mr. Robot. If you didn’t check out the show please do. Last few days I felt like I’m hacking something. Just like Elliot in MR. Robot. This blog post is about fixing a weird bug. Really strange problem with a failing HTTP request.

read more comments

To all devs out there

posted in Architecture on 2013-11-26   , ,
There are few things which I'm thinking about last few months. I summarize them here. Initially, I started writing this article for the company which I'm working for - East Interactive. The material is not meant to teach. It just contains few thoughts of main and I hope that my colleagues will find it helpful. read more comments

Git error: cannot lock existing info/refs

posted in Architecture on 2013-10-02   , ,
I just messed up my local repository. Thankfully there was an answer in StackOverflow. read more comments

Git under windows (console mode)

posted in Architecture on 2013-05-29   , ,
I'm a Windows user. I also have a virtual machine with Ubuntu installed and coding there from time to time. I use Git a lot and in general I prefer console mode over the GUI. Under Unix everything works just great, but Windows's command prompt requires more efforts from our side. However I found some helpful tips, which could make your life easier. read more comments

Accessing remote Git server under windows

posted in Architecture on 2013-05-28   , ,
Let's say that you have an access to remote server which has Git installed. A trivial case if you use unix based OS. But what if you use Windows :) read more comments

SVN: Ignoring files and directories

posted in Architecture on 2013-01-28   , ,
I really like GIT and I think that is a better version control system than SVN. Anyway, I still have to use SVN for some projects and ignoring files is always a problem. read more comments

OpenFest 2012 - Парадигми в езиците за програмиране от Стефан Кънев

posted in Architecture on 2012-11-23  
Стефан Кънев изнася лекция на тема "Парадигми в езиците за програмиране". Препоръчвам тази лекция на всички, без значение дали имате тонове опит в програмирането или тепърва започвате. read more comments

How To Design A Good API and Why it Matters

posted in Architecture on 2012-10-27   ,
Every day around the world, software developers spend much of their time working with a variety of Application Programming Interfaces (APIs). Some are integral to the core platform, some provide access to widely distributed frameworks, and some are written in-house for use by a few developers. Nearly all programmers occasionally function as API designers, whether they know it or not. A well-designed API can be a great asset to the organization that wrote it and to all who use it. Good APIs increase the pleasure and productivity of the developers who use them, the quality of the software they produce, and ultimately, the corporate bottom line ... read more comments

Работа с GIT (презентация от Иван Танев)

posted in Architecture on 2012-07-18  
read more comments

The Principles of Agile Development

posted in Architecture on 2012-07-10   , ,
Agile or Agile Development – we hear these words more often these days. But do we really know what it is all about? How can it help us become more effective, while having lots of fun developing software? How can we use it to communicate with business people and make this communication easy and constructive for both sides?http://net.tutsplus.com/articles/general/the-principles-of-agile-development/ read more comments

Writing Maintainable Automated Acceptance Tests by Dale H. Emery

posted in Architecture on 2012-07-08   , ,
For some time, I bring a lot of attention to the tests of everything that I'm working on. Actually Test Driven Development changed a lot my vision for programming. Dale Emery shares really interesting thoughts regarding automated testing. Checkout here. If you wonder what are the characteristics of a good test suite read this article http://arlobelshee.com/what-makes-a-good-test-suite. read more comments

Git and GitHub Secrets by Zach Holman

posted in Architecture on 2012-07-06  
Interesting video about Git by Zach Holman. read more comments

Why we should think about our CSS

posted in Architecture on 2012-06-05   , ,
The evil that CSS do:- Browsers block rendering until all CSS arrives. With the worst possible experience: white page.- Browsers download CSS they don't need, e.g. print, tv, device-ratio... And most browsers block rendering because of these too- Sometimes CSS blocks the other downloads too (not just block rendering, but block images and scripts that follow) - when followed by an inline SCRIPT or when it's a CSS in conditional comment for IERead the full artcile by Stoyan Stefanov here. read more comments

Git flow - a nice Git branching model

posted in Architecture on 2012-05-26  
If you are working with Git, you will definitely like Vincent Driessen's branching model. A short video presentation is shown below. read more comments

API Design by Matt Gemmell

posted in Architecture on 2012-05-25   , ,
Did you ever wonder how to write your class. That's a very helpful article. I strongly recommend it. Check it here. read more comments

Майсторство в занаята от Стефан Кънев

posted in Architecture on 2012-05-17  
Изключително интересна лекция отностно програмирането. read more comments

Brian McCallister and the code

posted in Architecture on 2012-05-16   , ,
Programming and the Profession of Programming are quite different things. Programming is being able to efficiently tell a computer exactly what to do in a repeatable manner. The profession of programming is being able to efficiently convert business requirements into bugs.Read the full article here. read more comments

Nicholas Zakas: Scalable JavaScript Application Architecture

posted in Architecture on 2012-04-09  
Yahoo! home page engineer Nicholas Zakas, author of Professional JavaScript for Web Developers, discusses frontend architecture for complex, modular web applications with significant JavaScript elements. read more comments

A behind-the-scenes look at Facebook release engineering

posted in Architecture on 2012-04-07   , ,
Did you ever wonder how Facebook's release management looks like. Here is an interesting article about that http://arstechnica.com/business/news/2012/04/exclusive-a-behind-the-scenes-look-at-facebook-release-engineering.ars/1 read more comments

The Dependency Inversion Principle

posted in Architecture on 2012-01-24   , ,
The Dependency Inversion Principle relates to the stability and reusability of higher-level components within an application. The principle states:A. High-level modules should not depend on low-level modules. Both should depend on abstractions.B. Abstractions should not depend upon details. Details should depend upon abstractions.Read more here. read more comments

The Single Responsibility Principle (SRP)

posted in Architecture on 2012-01-03   , ,
In my opinion that principle is really important and stays in the fundamentals of software design.In the context of the Single Responsibility Principle (SRP) we define a responsibility to be "a reason for change." If you can think of more than one motive for changing a class, then that class has more than one responsibility. This is sometimes hard to see.Read more about this principle here. read more comments

The Open-Closed Principle

posted in Architecture on 2011-12-18   , ,
That's a great article by Robert C. Martin. It's one of those articles that really may change something in your programming. The principle is called Open-Closed and it says:SOFTWARE ENTITIES (CLASSES, MODULES, FUNCTIONS, ETC.) SHOULD BE OPEN FOR EXTENSION, BUT CLOSED FOR MODIFICATION.More about that here. read more comments

How TDD and Pairing Increase Production by anarchycreek.com

posted in Architecture on 2011-12-12   , ,
Just a great article. Period! http://anarchycreek.com/2009/05/26/how-tdd-and-pairing-increase-production/ read more comments