# ve
-
Architecture _ 2021-01-27
Configure Google domain email in Vercel with ImprovMX
Back in February last year I blog on topic Email not working after DNS change. Well, I had kinda similar situation but not exactly. This time I bought a domain from Google and wanted to use an email with it. The setup wasn't obvious for me so I decided to document the process.
-
JavaScript _ 2020-09-07
ReactNative: using SVG as a button
Just recently I started using ReactNative. I've been using React for years but this thing is a whole new world. There are tons of basic stuff which I don't know how to do. Using an SVG as a button is one of them. Find my solution below and expect more short #reactnative blog post soon.
-
Inspiration _ 2020-06-05
A journey into software development with Lea Verou
Lea Verou, known in the community as the "Queen of CSS", shares her personal story about how she became a web developer. She discusses how her passion for computers began in her childhood and her dream of living outside Greece.
-
Nodejs _ 2020-05-06
The simplest HTTP proxy with custom headers
These days I had an interesting problem to solve. At work, on our staging environment, we have basic authorization. It works really well but for some older versions of Chrome we experienced a weird issue. The browser did not pass the authorization header. The app runs fine but as soon as it does a fetch request to a local endpoint the request fails with 401 not-authorized error. In the modern browsers that's not happening because the browser kinda knows that we came here with basic auth and automatically includes
authorization: basic ...header. -
JavaScript _ 2020-03-30
Create your own Covid-19 data tracker
I'm continuing to experiment with React and TypeScript. The weekend-long project this time was a Covid-19 data tracker. In this blog post I will share how I built c19stats.now.sh. I exposed the data as a public API at the same URL. I guess you, as many other people, follow the situation so you may want to glue your fingers on the keyboard and create something useful around the data. I got lots of fun playing with the diagrams.
-
Architecture _ 2020-02-07
Email not working after DNS change
I just recently moved my
outset.wsdomain to Zeit name servers. That's my 13 years old domain which I'm not using it anymore. It makes sense to point tokrasimirtsonev.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. -
JavaScript _ 2020-01-31
Octomments - using GitHub as a comment plugin
87% of my readers are using Chrome on desktop. This means that I have the luxury to care less about performance. However I just recently found that this blog has 56 (out of 100) points on Google's pagespeed test. That's not good. The report says that my Disqus comments are blocking the main thread for ~900ms. I want comments on my blog but I also want my users to reach to content as quickly as possible. So, after so many years using Disqus I decided to break with it and use something else.
-
Inspiration _ 2020-01-01
Bret Victor: Inventing on principle
I just finished reading My Decade in Review by Dan Abramov and as part of his article he mentions this talk by Bret Victor. I think it's amazing and want to keep a reference to it somewhere. What a better place than this 12 years old blog.
-
JavaScript _ 2019-04-12
forEach or not to forEach
I had an interesting bug in my React application. It happened that the problem was in the fact that I was using
forEachinstead offor.The bug that I was encounter was
-
JavaScript _ 2018-11-05
My new and shiny tool for live demos - Demoit
-
JavaScript _ 2018-06-29
A story about React, Redux and server-side rendering
Long long time ago in a kingdom far far away there was an app. The app was supported by the well known React and Redux families but there was a problem. It was damn slow. People started complaining and the app had to do something. It had to deliver its content quickly so it provides better user experience. Then the server-side rendering was born.
-
NADCAST _ 2018-05-09
NADCAST.15 live recorded at React.NotAConf
Episode #15 of NADCAST was live recorded at ReactNotAConf conference in Sofia on 28th of April. After every presentation we've made a panel with the speaker and ask topic related questions. So, if you listen the whole episode you'll get a pretty good overview of what the conference was about.
-
JavaScript _ 2018-01-20
Debugging your front-end like it's 2019
(If you are lazy jump to this section to learn what is this article all about.)
Remember The Island movie from 2005. I watched it again these days and I realized that the old sci-fi titles start with something really interesting. It is funny how they create a world of flying vehicles and say something like "The year is 2019 …". Well, we are 2018 and the public transport is still on the ground. We still can't clone people (I hope so) or travel in a giant spaceship which looks like a fully-functional city.
-
NADCAST _ 2017-10-23
NADCAST.09 с Радо Станков
Епизод 9 на NADCAST е с Радо Станков. Основно си поговорихме за React и нашумелите около библиотеката теми. Приятно слушане :)
-
Architecture _ 2017-09-06
README driven development
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.
-
Must-see _ 2017-01-30
Bulgaria Web Summit 2017 is just around the corner
One of my favorite conferences Bulgaria Web Summit 2017 is just around the corner. I’m happy to attend again. The organizer prepared a good set of speakers and the event is two days this year.
-
Must-see _ 2017-01-02
8 Years of blogging
The first article on this blog is published on 22th of August 2008. It’s about a website which I saw at FWA. Eight years later I’m still publishing stuff here and because it is the beginning of a new year I decided to give you some statistics.
-
JavaScript _ 2016-05-11
Thoughts on semantic versioning, npm and JavaScript ecosystem as a whole
If you are front-end developer dealing with single page applications you probably know that JavaScript ecosystem is not perfect at all. A few things may go wrong and break your build. In this article I’ll go through those features. Features which are, by my humble opinion, problematic.
-
JavaScript _ 2016-03-25
The earthquake in the JavaScript community
You probably heard about Kik, NPM and left-pad saga this week. Shortly, a company Kik asked a developer Azer Koçulu to give the ownership on a NPM module. The module name matches the name of the company. The developer refuses and the company reaches the registry (NPM). The module was transfered to the company based on a NPM policy. The developer then decided to remove all his modules from the registry. The bad thing is that one of these modules
left-padis a dependency of many other modules. As a result of the un-publishing all the packages that depend onleft-padcan not be built. Some really popular tools like Babel and React started getting broken builds. -
Architecture _ 2015-12-04
Hacking a weird failing HTTP request
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.
-
JavaScript _ 2015-08-10
Rethinking JavaScript readability
You probably know the famous quote that the code should be written for humans to understand and accidentally for computers to execute. Writing code that compiles is easy. Writing readable code is completely different thing. Working in a team is like sharing the kitchen with your roommates. You all should care for the dishes and keep clean. And it is not only because of the others but because of you. You don’t want your dinner in a mixed place and dirty dishes right.
-
JavaScript _ 2014-11-20
Unit test your client-side JavaScript
I don’t think that we have to discuss the importance of having tests. That’s not something that we add to the project in addition. That’s something that the project is based on. And because testing is so important we have bunch of tools in our disposal. We all know (I hope) how to test our back-end code. However, once we move to the front-end is a bit different. At the moment we are working on a big single page application and testing is one of our main focuses. In this article you will see how to unit test our client-side JavaScript.
-
Nodejs _ 2014-07-30
Node.js Blueprints book - second chapter's clarification
Before a couple of months my first book Node.js Blueprints was published by Packt. There are a couple of reviews in Amazon about chapter two. It’s about Express. One of the most popular frameworks in the Node.js ecosystem. The book mentions version 3.0 but the truth is that the code samples are for version 4.0. I feel that I still have to point out the differences and mark these parts of the chapter that are not valid for the newest version of the library.
-
JavaScript _ 2014-07-26
ToDoMVC with AbsurdJS
-
Must-see _ 2014-06-22
"Help, I'm stuck in an event-loop" by Philip Roberts
Us JavaScript programmers like to use words like, "event-loop", "non-blocking", "callback", "asynchronous", "single-threaded" and "concurrency". We say things like "don't block the event loop", "make sure your code runs at 60 frames-per-second", "well of course, it won't work, that function is an asynchronous callback!".
-
Must-see _ 2014-04-25
Codefront.io is around the corner
There are only two weeks left before the international front-end conference in Linz - Codefront.io. It's organized by the guys from WebBox and it's scheduled for 10th of May. You still have a chance to buy a ticket and listen interesting talks about our lovely Web.
-
Architecture _ 2013-11-26
To all devs out there
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.
-
CSS3 _ 2013-08-27
The power of inherit or how to animate pseudo elements
Luckily, I have time to watch screencasts from various conferences. Last few weeks I'm watching videos from Fronteers2012. They are all great and it worths checking out. However, there is something which I found really interesting. It's about animating pseudo elements.
-
JavaScript _ 2013-08-23
Managing events in JavaScript
-
Must-see _ 2013-08-23
Managing events in JavaScript
-
JavaScript _ 2013-08-22
Send message from web page to chrome extension\'s background script
I just answer on that question in StackOverflow. I think that this is a common quetion so it worths writing about it.
-
Must-see _ 2013-08-02
Stay tuned / conferences that you should know about
Nowadays is really difficult to be up to date with the latest technologies, concepts or tools. There are several ways to accomplish this. You could use RSS, check blogs regularly or follow as many people as possible in Twitter/Facebook. My way is to watch videos from various conferences.
-
CSS3 _ 2013-08-01
CSS Challenge #1: expand and center an image
That's first of (I hope) many posts with such an idea. Problems solved with pure CSS. No JavaScript.
-
JavaScript _ 2013-07-23
JavaScript is cool
I'm writing a lot of JavaScript these days. Sometimes it's really crazy what you can do with that language. I have bunch of tools in my arsenal and I wanted to document them somehow. Writing an article is a good option. By tools I mean patterns, piece of logic or just syntax shortcuts. However, this article is not exactly about design patterns, but it uses some of them. It's just about few ideas, which I came into during my daily scripting.
-
JavaScript _ 2013-07-17
Twitter streaming API, NodeJS and 401 Unauthorized error
I'm working on a year old application written in node. There is twitter streaming API implemented and it worked before a couple of months. These days we moved the site on another server and I found that it is not working anymore.
-
HTML5 _ 2013-06-25
Web Highlights #6
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.
-
Design _ 2013-06-25
How to Design Responsively
In this article I want to share my thoughts regarding responsive design. I made several talks on this subject and this post is some kind of summary. The article presents concepts like mobile first and design in the browser.
-
ActionScript _ 2013-06-13
Flash, nodejs sockets and cross-domain policy file
Ok, that was a long journey. I took an already build project and I had to make some changes. It's a complex system involving flex applications, nodejs and a mobile site. Before to start making changes I had to setup the project and make it work on my local machine. I spend few days doing this. At the end I successfully compile the flex application and made the necessary corrections. I uploaded the new swf file and of course it didn't work.
-
ActionScript _ 2013-06-11
A strange IOErrorEvent.IO_ERROR event dispatched
Really simple GET request from a flex based application. However it fails if GET parameters are passed.
-
Must-see _ 2013-06-10
How to Design Responsively
It's a little big difficult for me to write long articles. This one is maybe the longest, which I ever wrote :) It collects my experience with responsive design. I believe that the ideas described in the material are important for our work as web designer and developers. David Walsh was really kind by publishing the article on his blog. You can find it here http://davidwalsh.name/design-responsively.
-
PHP _ 2013-06-05
mod_rewrite, one simple rule and two stupidly lost hours
Ok, I should admit that mod_rewrite and regular expressions are not my strongest part. Today - as every other day I realize how little knowledge I have. Actually it's good to have such moments. I lost almost two hours fighting with a really really simple mod_rewrite rule in my .htaccess file.
-
Architecture _ 2013-05-28
Accessing remote Git server under windows
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 :)
-
HTML5 _ 2013-04-22
Web Highlights #3
A bunch of cool stuff ;-)
-
HTML5 _ 2013-04-10
Web Highlights #2
Some of the cool and helpful things which I found in the net.
-
ActionScript _ 2013-03-06
Compiling iOS application under Windows with Flex SDK
As you may know, Apple doesn't allow creation of iOS applications just like that. Especially under Windows. It's somehow a complex process, which requires several steps in a specific order. However it is still possible and you can do that without Mac.
-
Inspiration _ 2013-02-20
sugru - self-setting rubber that can be formed by hand
sugru is the exciting new self-setting rubber that can be formed by hand. It moulds like play-dough, bonds to almost anything and turns into a strong, flexible silicone rubber overnight.
-
Other _ 2013-02-13
Competition for developers and game enthusiasts with cash prizes
AE Ventures (part of Alkuvoima East Group) is developing a game engine called Activation Engine for real life gaming, where gaming missions become part of everyday activities. These games can be created by anyone and are geared towards learning and casual entertainment.
-
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.
-
Architecture _ 2012-10-27
How To Design A Good API and Why it Matters
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 ...
-
Inspiration _ 2012-09-18
VarnaLab Challenges event
A great event is coming in VarnaLab - http://www.varnalab.org/2012/09/varnalab-challanges.html
-
Inspiration _ 2012-08-07
VarnaConf 2012 - a great event for developers
If you are in Varna, Bulgaria this Saturday please visit "Chernorizets Hrabar" Free University of Varna. Really interesting conference, with great speakers. More about the event, lecturers and everything else here http://varnaconf.com/.
-
Architecture _ 2012-07-10
The Principles of Agile Development
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/
-
Architecture _ 2012-07-08
Writing Maintainable Automated Acceptance Tests by Dale H. Emery
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.
-
JavaScript _ 2012-06-05
Javascript Development Workflow of 2013
A bunch of tools to speed up and improve your javascript development workflow by Paul Irish.
-
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
-
JavaScript _ 2012-03-04
JavaScript object creation
In this article, Keith Peters discusses object creation in JavaScript using prototypal inheritance as an alternative to the new operator. Check out here.
-
Architecture _ 2012-01-24
The Dependency Inversion Principle
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.
-
Architecture _ 2012-01-03
The Single Responsibility Principle (SRP)
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.
-
ActionScript _ 2011-10-08
Colorize your output in FlashDevelop
Did you ever wonder how to change the color of your traces in FlashDevelop. It's possible and it is really helpful feature.
-
ActionScript _ 2011-05-04
AS3: dynamic text field to curve (TextField on an arcing path)
[2]Most of the articles here are tightly connected to my daily work. As you probably know from one of my latest posts (runtime font loading/embedding) I worked a lot with texts these days. There was a request for producing curved text from a dynamic field. Of course it wasn't so easy to create such a feature. I wrote a simple class that did the job and I decided to share it.
-
ActionScript _ 2011-04-02
AS3: converting XML to JSON object
I'm absolutely sure that you are using external data in your flash/flex applications. It is a good practice to transfer information in XML format. Most of the projects that I'm working on also use XML and in most of them I have a class that converts the data to JSON object. The problem with this workflow is that the parser's logic is always different because the XML is different. These days I wrote a class that solved this problem and directly converted every given XML file to a JSON object.
-
ActionScript _ 2011-02-09
Creating mp3 player with RobotLegs (basics tutorial)
Have you ever wondered how to optimize your ActionScript applications? Have you searched for a nice framework that will save you a lot of time and will organize your structure? If yes then RobotLegs is for you. In this article I'll show you how to use it to create a simple mp3 player which loads a configuration xml file, parse it and play mp3 files.
-
JavaScript _ 2011-01-19
Javascript: handling with crossdomain requests
Ajax is a powerful tool for loading new content or data asynchronously. The well known problem is that we can't make requests to other hosts. In other words if your code is located at aaa.com you can't load bbb.com/getData.php. There are several solutions available.
-
JavaScript _ 2011-01-06
JavaScript: managing events (dispatch, listen)
As a huge fen of the flash platform, I always like to work with events. The events system in ActionScript3 is really helpful when we are building a big application with many modules and we want to keep them independent. JavaScript hasn't native support of events, but we can still use them.
-
ActionScript _ 2010-12-15
Change the quality of all the bitmaps of your flash document
-
PHP _ 2010-11-12
Remove html tags from a string wtih PHP
Sometimes you don't need any formatting. That's just a nice way to remove all the html tags.
-
PHP _ 2010-09-17
How to display php errors when display_errors is set to off
I successfully finished an interactive project for one of my clients. We did a great job and finally I had to install the system on their server. I received the FTP and MySQL information from their IT team, but when I uploaded all my files the site didn't work at the first time. The server didn't show any errors and I wasn't able to find out the problem.
-
Other _ 2010-09-14
Apple App Store Opens its Doors to Adobe Flash
_"Yesterday saw Apple announce removal of the infamous restrictions on 3rd party development tools for iOS devices. Twitter lit up, the blogosphere jumped into gear and speculation began in earnest. So what’s this all about and what does it mean for Flash?"_The full article on active.tutsplus.com here.
-
PHP _ 2010-09-04
Export mysql data to SQL script or CSV
Yesterday I received host name, user name and password for a MySQL server. I needed to export the data from it. I didn't have access to PHPMyAdmin, I tried to connect to the server by mysql.exe on my PC, but it didn't work. And then I found really good solution - PHPMyAdmin in only one php file. I launched it from my localhost and it works. So if you need to export data or just see it, use Adminer. I also uploaded the file on my server, you can download it from here.
-
ActionScript _ 2010-08-19
How to use Google Maps API in flash
Google offers a lot of free tools for us. One of them is really useful and easy to work with - GoogleMaps API. In this article I will show you how to import a map in Flash and place an icon in a specific place.
-
Other _ 2010-08-17
Reported Attack Page in Firefox
Before a couple of days the code of my site was injected with some milware script code. In this article I will advice you how to remove this message.
-
ActionScript _ 2010-07-25
Papervision3d: Finding 2D coordinates of a 3D object
Papervision3d is probably the most popular 3D flash engine. There are dozen of applications/sites that use it. These days I also decided to create a 3D effect in my portfolio site. Everything works fine, but I needed a tooltip for each of the 3D objects on my scene. To be able to animate everything I needed 2D coordinates of all my 3D elements.
-
ActionScript _ 2010-06-30
Remove tags from a string in AS3
A couple of months ago I integrated a nice WYSIWYG editor written in Flex in my CMS. It worked fine, till yesterday I needed to add more features like text formatting and font color changing. As you know the Flex RichTextEditor component adds some additional tags that I definitely don't want to send to the database. So I wrote a simple function to remove these tags.
-
ActionScript _ 2010-06-07
Code Flex applications with FlashDevelop
-
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-12
SVET: Bringing order to project management chaos (slapstart.com review)
Thanks to Mike Scutari for the great review of SVET. Check out here. -
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-09
Flex DataGrid vertical scrolling bug
-
Inspiration _ 2009-09-06
Fat-Man Collective
-
Inspiration _ 2008-11-28
Resn - Interactive Agency
-
Inspiration _ 2008-08-22
Creative navigation by Hellomonday.com