-
AI driven open source library for measuring your web page carbon footprint
posted in JavaScript on 2023-01-14 JavaScript AI OS -
Some people say that 2023 will be the year of AI. With tools like ChatGPT and DALL·E the world is definitely changing. There are different opinions on how such instruments will affect the everyday tasks of the professionals. My two cents (for now) are that those are just tools to achieve what we want quicker and more efficiently. Who knows, someday I may call myself a "prompt engineer". For the time being, though, I'm still writing a lot of stuff alone and occasionally ask ChatGPT for help.
read more
-
Firebase/GCP: save money by cleaning up your artifacts
posted in JavaScript on 2021-06-06 firebase gcp budget cost -
I'm working on a personal project and I'm using the awesome Google Cloud Platform. There are so many things that you can do. All the tools that you may need are probably there. This of course comes with a price. In this article I'll share a tip how to reduce your spendings there.
read more
-
Transfer MP3 file from Mac OS Catalina to iPhone iOS 14.0
posted in Other on 2020-09-18 mp3 catalina iphone ios14 mac transfer -
I did transfer MP3 files from my mac to my iPhone three times and every time I'm forgetting how it actually works. So I decided to document the process into a blog post.
read more
-
NADCAST.24 с Радо Станков
posted in NADCAST on 2020-03-26 nadcast remote productivity work tips home working remotely separation https rstankov biz 24_radostankov mp3 cbox biz 24_radostankov host003 cbox biz ws host003 cbox outset ws host003 nadcast outset ws http nadcast outset mp3 http nadcast -
В тези смутни времена се чуваме online с Радо Станков за да си поговорим за remote working. Не че по принцип не се чуваме така, но сега е малко по-различно. В този 24-ти епизод споделяме нашия опит в работа от разстояние. Приятно слушане.
read more
-
Pairify - how to match balanced string pairs
posted in JavaScript on 2020-03-11 pairify balanced matches javascript pairs decided type stack line starter token code const position function category https -
I'm now actively working on a VSCode extension. I started it as a theme but then decided to add some more features. Like for example a tin line on the left side of the editor marking the current function scope. In order to do that I had to analyze the current file's code and find the lines that are included in that scope. The obvious approach will be to translate the code to AST and then traverse the tree finding the information that I need. This however will require the usage of a language server which now I don't want to deal with. So I decided to explore a brute force approach. Looping over the string characters and finding balanced matches. I quickly wrapped it into a library. I called it Pairify. It consumes text and returns an array of pairs. This blog post will show you how it works.
read more
-
From 0 to 100 GitHub stars in a week
posted in JavaScript on 2020-02-27 github stars project branding promote octomments krasimir write idea https github blog align center don t easy section add https post link javascript reddit facebook make time -
2020 for me started with the release of several OS projects. Two of them reached 100 stars in a week and I was thinking that would be nice sharing my workflow. Not like it is working every time, absolutely not, but leads to some good results.
read more
-
forEach or not to forEach
posted in JavaScript on 2019-04-12 array foreach item component update react iteration position remove state -
I had an interesting bug in my React application. It happened that the problem was in the fact that I was using
forEach
instead offor
.The bug that I was encounter was
read more
-
Meet the JavaScript pattern of the year or how to handle async like a boss
posted in JavaScript on 2017-11-24 generator player function result return position error const console log yield call player -
Sometimes when you learn something new you get really excited. Excited to that level so you want to teach it to someone. That is the case with the concept which I found a couple of months ago. It is an implementation of the command pattern using generators. Or the well known saga used in the redux-saga library. In this article we will see how the idea makes our asynchronous code simpler and easy to read. We will also implement it ourself using generators.
read more
-
Children in JSX
posted in JavaScript on 2017-01-06 todo header component return props children function todos classname todolist title -
(This article is part of React in patterns series.)
React is highly composable. And the API that enables that is
read moreprops.children
. It gives us the power to create a placeholder that is later filled with content from the outside.
-
Short movie by Oscar-winning animator Patrick Osborne
posted in Inspiration on 2016-07-10 animator patrick osborne winning animator patrick oscar winning animator -
Amazing art direction and storytelling in this one of a kind 360-degree musical short film from Oscar-winning animator Patrick Osborne. Watch out, it's a tear jerker!
read more
-
The return statement is not the end (but it should be)
posted in JavaScript on 2016-01-05 function format return result var defined function dosomething code var format function result var format return result var -
Well, I kind of lied in the title of this article. Of course that it is the end of the function. Once we call
read morereturn
everything else after that is simply not executed. Ops … I did it again, I kind of lied again.
-
ToDoMVC with AbsurdJS
posted in JavaScript on 2014-07-26 model function js todos app main css component absurdjs event -
You've probably heard about ToDoMVC project. It's same ToDo application made with different frameworks. It's interesting how the same problem is solved by different programmers following different concepts. This article is about making the ToDoMVC application with AbsurdJS.
read more
-
Hungry for knowledge #2 - the Sunday's talks collection
posted in Must-see on 2014-06-29 thinking digital web conference talk videos lie thinking digital aral balkan free sites -
It's again Sunday and I'm planning to watch talks. Last week few conferences shared their recordings. I got some nice videos from Twitter and again my bookmarks bar is full with YouTube and Vimeo links. So, it's time to clear it a bit and make room for the next weekend. Here is my plan:
read more
-
Look ma, JavaScript only Off-Canvas menu
posted in JavaScript on 2014-03-25 menu content css links function html position absurdjs isopen -
The off-canvas menu is pretty popular nowadays. You know, the little button in the right upper corner which opens the navigation with a slide-in effect. That's what we are going to build in this article. The interesting things is that we are not going to use CSS neither HTML, only JavaScript.
read more
-
Dependency injection in JavaScript
posted in JavaScript on 2014-01-06 function var dependencies router service scope arguments deps dosomething -
I like the quote that the programming is all about managing complexity. Maybe you've heard that the computer world is a giant construction of abstractions. We simply wrap things and produce new tools over and over again. Just think for a minute. The languages which you use have build-in functionalities and they are probably abstracted functions of other low level operations. It's the same with JavaScript.
read more
-
Videos from TarnovoConf 2013
posted in Must-see on 2013-10-08 tarnovoconf videos -
I had a chance to make a talk on TarnovoConf 2013. My topic was "CSS for developers". The videos are now available in YouTube.
read more
-
The power of inherit or how to animate pseudo elements
posted in CSS3 on 2013-08-27 box inherit pseudo background position 15px left div doesn t top move text -
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.
read more
-
A bad side effect of the aspect oriented programming
posted in JavaScript on 2013-08-15 thing result function thing prototype dosomething start prototype dosomething function aspect oriented programming problem original class -
I just read this very interesting article published on know.cujojs.com. It's about aspect oriented programming. At the beginning I thought "Oh, that's kinda cool", but when I start thinking about how I'll use it in practice I notice something bad. The blog post itself is well written and informative, but doesn't include any cons of the used technique.
read more
-
Stay tuned / conferences that you should know about
posted in Must-see on 2013-08-02 conference official page talks web videos https vimeo event conferences mobile speakers -
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.
read more
-
VarnaConf 2013 Videos
posted in Must-see on 2013-07-23 videos varnaconf make year -
I'm living in Varna, Bulgaria. Last year we had a great conference called VarnaConf. This year the guys behind it decided to make it again and even better - a series of conferences around my country. I had the chance to make a talk.
read more
-
Importing huge MySQL dump under Windows.
posted in PHP on 2013-06-17 mysql dump table hugedump sql sql table hugedump root h localhost u root h mysql command -
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.
read more
-
Flash, nodejs sockets and cross-domain policy file
posted in ActionScript on 2013-06-13 socket port xml policy file server anotherhost error flash player make -
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.
read more
-
Front-Trends 2013 (Videos)
posted in Must-see on 2013-06-04 front trends videos -
Front-Trends is one of the best conferences in Europe. It's based in Poland and it's happening every year. I watched all the videos from the previous editions and I could say that it's worth it. Some of the biggest names in front-end development on one stage. All the videos are available in Vimeo, but I decided to post them here as well.
read more
-
The Breakpoint
posted in HTML5 on 2013-03-10 devtools addy osmani paul irish breakpoint ep episode ll javascript performance tooling -
A bunch of useful things about our lovely browser - Chrome. Dev tools theming, console tips, editing of SASS directly inside the browser.
read more
-
Compiling iOS application under Windows with Flex SDK
posted in ActionScript on 2013-03-06 file developer application step openssl certificate device app p12 ios -
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.
read more
-
Douglas Crockford’s Function Challenges
posted in JavaScript on 2013-02-25 function s function challenges crockford s function douglas crockford s called multiple times function challenges test compose functions function scope learn knowledge -
Douglas Crockford’s Function Challenges. Test your knowledge of function scope and and learn to compose functions that can be called multiple times through function returns.
read more
-
Discussion about Photoshop at VarnaLab
posted in Design on 2012-09-05 varnalab photoshop discussion -
A screen capture of the discussion about Photoshop at VarnaLab.
read more
-
JSConf 2012 (videos)
posted in JavaScript on 2012-08-22 videos jsconf interesting conference jsconf posting videos http day -
Today is a day for posting videos. Another interesting conference - JSConf 2012. The videos are available here http://2012.jsconf.us/.
read more
-
The Open-Closed Principle
posted in Architecture on 2011-12-18 principle classes modules functions entities classes modules software entities classes called open closed robert c martin great article modification extension -
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
-
Adobe AIR: how to make things upon closing the application
posted in ActionScript on 2010-11-03 application closing things -
Sometimes we need to catch the closing of our AIR application to make some things like storing the window's position and size. We can do that in our code.
read more
-
checkPolicyFile flag was not set
posted in ActionScript on 2010-10-26 loader var context loadercontext crossdomain xml file checkpolicyfile flag set -
Sometimes the uploading of crossdomain.xml file is not enough to get the things working.
read more
-
Apple App Store Opens its Doors to Adobe Flash
posted in Other on 2010-09-14 flash devices twitter lit ios devices twitter party development tools 3rd party development apple announce removal active tutsplus full article speculation began blogosphere jumped -
_"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.
read more
-
Export mysql data to SQL script or CSV
posted in PHP on 2010-09-04 server data mysql export good solution phpmyadmin didn t work export data php file mysql exe mysql server received host -
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.
read more
-
Create your own tween manager class in AS3
posted in ActionScript on 2010-08-07 arr ease startpos calcendpos steps var calcendpos steps break object steps break case properties start public function -
There are some features in Flash that we can't work without. Tween classes are among the most used ones. They give you ability to animate objects without using the timeline, to change the animation fast and easy. The idea of these classes is very simple. That's why I think that it is a good idea to have your own tween manager that you can modify to fit into your needs.
read more
-
Code Flex applications with FlashDevelop
posted in ActionScript on 2010-06-07 flashdevelop flex project project9 press f5 project select flex property8 choose project location property8 choose sdk location property8 flex sdk location change flex sdk - read more
-
Remove the yellow border in flash/flex
posted in ActionScript on 2010-02-26 stage stagefocusrect false easy stage stagefocusrect post rockabit solution -
The solution was so easy: stage.stageFocusRect = false;Thanks to Rockabit for the post here.
read more
-
Любими блогове
posted in Inspiration on 2009-10-04 http http www http www plat4m web http www http blog arsthanea http www riznlog http www sephiroth http www smashingmagazine photoshop http www tutorial photoshop http - read more
-
Words vs Colors
posted in Design on 2008-08-28 colors desired emotional effect words making choose designers simple association quantify attempts website - read more