# man
-
JavaScript _ 2021-03-08
Using JavaScript module system for state management
Hot topic last couple of years is state management. Especially in the front-end apps. There are lots of problems and lots of solutions. One thing thought is totally ignored in this context - the JavaScript module system. I'm very often reaching out to this approach and decided to share it here.
-
JavaScript _ 2021-02-01
Miss Piggy - a test runner for Puppeteer
These days I did (again) a bunch of changes in Google tag manager. This time however was more of a refactoring exercise. So, I had to prove that the tags that were placed before the refactoring exist after the refactoring. And what we programmers do in such cases - we write tests.
-
JavaScript _ 2020-09-13
What the heck is Google Tag Manager and what it has to do with Google Analytics
Just recently I had to do changes in Google Tag Manager at work. It's interesting how I keep forgetting how everything works. So I finally decided to sit down and write an article about these things. If nothing else I will have a good memory snapshot to remind me what is what.
-
JavaScript _ 2020-09-12
You Really Don't Need All That JavaScript, I Promise by Stuart Langridge
JavaScript is your behavior layer; the way to add interactivity to your sites, to provide a slick and delightful user experience, to make everything fast and easy and clean. But at some point everything changed: the tail started to wag the dog instead and development became JavaScript-first.
-
JavaScript _ 2020-07-21
React: 50 shades of state
We all know that one of the most challenging task in software development is state management. This is especially true for the JavaScript world. There are thousands of articles on this topic and so I decided to write another one π. I wanted to share my current thoughts on the different state types. I found that answering "What lives where?" question is far more important than the actual state management. Which more or less is an implementation detail.
-
JavaScript _ 2020-07-12
Recreating Facebook's Recoil library
This weekend I decided to play with the new kid on the block - Facebook's Recoil library for managing state. I did the trivial counter example to see how it works. It's pretty simple idea so I wondered how much it takes to replicate its features. I found the exact answer - 70 lines of code. Obviously, my implementation didn't cover everything but it was fun so I decided to share my findings.
(A side note: I did not look at the code of Recoil. I didn't want to be bias on how to write my version.)
-
Nodejs _ 2016-03-22
Debugging with Node
Node has a wonderful debugger. As a front-end developer Iβm mainly using Chromeβs tools but sometimes I run things in Node environment and this native feature comes handy. In this article weβll see how to debug in the terminal using Nodeβs debugger.
-
Must-see _ 2014-08-25
My front-end performance case study
Iβm reading and watching a lot of interesting things regarding client-side performance. Iβm interested in the browserβs processes happening before and just after the pageβs load. There are tons of stuff to think about. Before a couple of days, I joined the online workshop of Vitaly Friedman. I had a great time and learned some clever facts about performance optimization.
-
Must-see _ 2014-07-10
Mobile Web performance auditing
Building high performance sites and apps is crucial to your success on the web, and never more so as people start using smartphones as their primary means of internet access. But how can you make sure you're squeezing out every last bit of performance from your projects? In this talk we'll look at the tools you need to succeed and how to integrate them into your workflow.
-
Nodejs _ 2014-06-04
Sorry, Chrome killed the terminal
That's right. I'm not using the terminal anymore. Instead of that I'm using Chrome. Yes, the Google's browser. There is an extension called Yez! that connects to a Node.js module via web socket. It executes the shell commands and returns the result. And even works under Windows.
-
Must-see _ 2013-09-04
Auxilio Chrome extension or how I boost my productivity
I'll be honest and I'll say that I'm a bit lazy sometimes. I'm one of those developers which don't like to repeat same actions again and again. There are dozen of things which I have to do while working on a project. Very often I'm covering the development of several applications and have to switch between them. It's really annoying process. I hate to have many opened tabs in my browser, many consoles or several code editors. I always try to improve my productivity by automating tasks. I think that even switching between opened applications takes too much time.
-
PHP _ 2013-06-17
Importing huge MySQL dump under Windows.
I just received a 250MB dump of a database and I needed to see what is it inside. As you may guess, PHPMyAdmin is not a good option in this case. I decided to use the command line.
-
JavaScript _ 2013-06-11
Simple command line parser in JavaScript
There should be some super cool RegEx, which I can use. However after short research I wasn't able to find it. So, I created a simple function which does the job.
-
Architecture _ 2013-05-29
Git under windows (console mode)
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.
-
HTML5 _ 2013-05-15
Web Highlights #4
Everyday I'm reading or watching something which I find helpful. Normally I bookmark those things, but at the end I have dozen of folders and subfolders which I never check. So, I decided to make such blog post where I'll share valuable things in the net.
-
HTML5 _ 2013-03-10
The Breakpoint
A bunch of useful things about our lovely browser - Chrome. Dev tools theming, console tips, editing of SASS directly inside the browser.
-
HTML5 _ 2013-02-28
Web assets - tips for better organization and performance (discussion at VarnaLab)
A screencast of the discussion at VarnaLab on subject "Web assets - tips for better organization and performance". The slides are available here.
-
HTML5 _ 2013-02-09
Chrome Devevelopment Tools could be really helpful
"Your browser is one of the most and best instrumented development platforms -- you may just not realize it yet. In this episode we'll take a whirlwind tour of how to analyze network performance, rendering and layout pipeline, as well as detecting memory leaks in your Javascript code, and using audits and extensions to build faster and better apps!". A nice screencast by Ilya Grigorik. I strongly recommend the subscription to GoogleDevelopers channel.
-
Inspiration _ 2012-07-12
Le Miroir
Le Miroir tells the story of a man - in the sense of the human being - which passes from childhood to the status of "old man", the time to freshen up.
-
Architecture _ 2012-05-16
Brian McCallister and the code
_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.
-
Architecture _ 2012-04-07
A behind-the-scenes look at Facebook release engineering
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
-
PHP _ 2012-02-29
PEAR PHP Coding Standarts
The PEAR Coding Standards apply to code that is part of the official PEAR distribution. Coding standards often abbreviated as CS among developers and they aim to keep code consistent to be easily readable and maintainable by most of PEAR folks.http://pear.php.net/manual/en/standards.php
-
Other _ 2010-08-20
RSS
Finally I managed to create the RSS feed for this blog. The url is http://krasimirtsonev.com/blog/rss.
-
ActionScript _ 2010-03-16
Tween Manager Class in AS3
TweenManager is ActionScript3 class that helps you to animate your objects in flash. You don't need to create timeline type animations, because you can control every property of the object. Also it helps you to create a sequence by different animations/events. In the examples below I'll show you how to use the manager to solve different problems during your daily flash work.
-
ActionScript _ 2010-02-26
Embed fonts in all the text fields of your flash document
Very helpful solution that will save you maybe several hours. I used JSFL language and very short script to parse all the items in the library. Then for every item just embed the characters that I wanted. Get the script from here http://www.outset.ws/files/jsfl/embedCharactersInTextField.jsfl. In flash: Commangs -> Run command (or simply Ctrl+R) and point the script file.You can download the jsfl documentation from here http://livedocs.adobe.com/flash/9.0/main/flash_cs3_extending.pdf.
-
Other _ 2010-01-05
SVET - web based project management system
Finally I finished some bugs of my own project management system and I think it's ready for use. SVET is one of my biggest projects and it's a web based project management system, that helps you to organize your work. Basically it's an online notebook which you can use to store the information for your projects. It enables you to track your working time and communicate with your team and clients. You can also make detailed reports of what you've done for a specific period of time. Please check out here. -
ActionScript _ 2009-09-29
Flex: tabbing bug
-
Inspiration _ 2009-09-06
Fat-Man Collective