I stumbled upon this video the other day. Some ex navy seal guy, they do army-style training programs for people who like to get their butt kicked. But also, they happen to have very good content on psychology of motivation (which actually make sense given what they do as a job.) The following video is about the reasons behind lack of motivation, lazy-style, I’ll do it tomorrow approach. TL;DW: Lazy is incompetence-driven.
|
|
In a previous series of blog posts, we covered our decision to move away from a monolithic architecture, replacing it with microservices, interacting synchronously with each other over HTTP, and asynchronously using events. In this post, we review our progress toward this goal, and talk about the conditions and strategy required to decommission our monolith.
|
|
When thinking about design patterns and architectures in iOS development, MVC might be the first thing that comes to mind for most of you. But throughout the last years, MVC got a really bad reputation. Probably a lot of you heard about MVC as the massive view controller.
|
|
In a previous series of blog posts, we covered our decision to move away from a monolithic architecture, replacing it with microservices, interacting synchronously with each other over HTTP, and asynchronously using events. In this post, we review our progress toward this goal, and talk about the conditions and strategy required to decommission our monolith.
|
|
When thinking about design patterns and architectures in iOS development, MVC might be the first thing that comes to mind for most of you. But throughout the last years, MVC got a really bad reputation. Probably a lot of you heard about MVC as the massive view controller.
|
I stumbled upon this video the other day. Some ex navy seal guy, they do army-style training programs for people who like to get their butt kicked. But also, they happen to have very good content on psychology of motivation (which actually make sense given what they do as a job.) The following video is about the reasons behind lack of motivation, lazy-style, I’ll do it tomorrow approach. TL;DW: Lazy is incompetence-driven.
|
|
From Javascript Callbacks to Promises to Generators and Coroutines
-
cscrunch.com
-
9 years ago
-
eng
JavaScript has always been a powerful language, but it is not always pretty to look at. ES6 has also greatly improved the syntax of the language, and although it's not perfect, it's not that bad, either. Some of JavaScript's limitations are also its strengths, which is what we will see when we examine the JavaScript coroutine pattern. Javascript is single-threaded. It is also event-driven, so that many of its functions use a callback p....
|
|
From Javascript Callbacks to Promises to Generators and Coroutines
-
cscrunch.com
-
9 years ago
-
eng
JavaScript has always been a powerful language, but it is not always pretty to look at. ES6 has also greatly improved the syntax of the language, and although it's not perfect, it's not that bad, either. Some of JavaScript's limitations are also its strengths, which is what we will see when we examine the JavaScript coroutine pattern. Javascript is single-threaded. It is also event-driven, so that many of its functions use a callback p....
|
|
From Javascript Callbacks to Promises to Generators and Coroutines
-
cscrunch.com
-
9 years ago
-
eng
JavaScript has always been a powerful language, but it is not always pretty to look at. ES6 has also greatly improved the syntax of the language, and although it's not perfect, it's not that bad, either. Some of JavaScript's limitations are also its strengths, which is what we will see when we examine the JavaScript coroutine pattern. Javascript is single-threaded. It is also event-driven, so that many of its functions use a callback p....
|
|
Today marks the 25th anniversary of the Linux operating system! More specifically, it marks the day that Linus Torvalds announced his new operating system (that was later called Linux) in a newsgroup post: From:torvalds@klaava.Helsinki.FI (Linus Benedict Torvalds) Newsgroup: comp.os.minix Subject: What would you like to see most in minix? Summary: small poll for my new operating system Message-ID: 1991Aug25, 20578.9541@klaava.Helsinki.FI....
|
|
Today marks the 25th anniversary of the Linux operating system! More specifically, it marks the day that Linus Torvalds announced his new operating system (that was later called Linux) in a newsgroup post: From:torvalds@klaava.Helsinki.FI (Linus Benedict Torvalds) Newsgroup: comp.os.minix Subject: What would you like to see most in minix? Summary: small poll for my new operating system Message-ID: 1991Aug25, 20578.9541@klaava.Helsinki.FI....
|
Recently, I spoke about securing Web Applications at JSChannel Conference ’16. The conference venue was The Ritz-Carlton, Bangalore…
|
|
A very quick blog today. I have released searchcode server under the fair source licence . This means that as of a few days ago you can view the source, change it modify it and run it as you see fit so long as you have less than 5 users. The source is hosted on github (I may move this to GitLab sometime in the future) and you can view it here . So what does this mean? Well the community edition still exists (run searchcode with as m..
|
|
I was recently working on some code in which I wanted to use Promises, but all that I had was callback-centric code. In the past, I have imported libraries such as bluebird for this particular problem, but now that seems like a bit of overkill to get just one function. I'm already using ES6, so I don't need a polyfill in order to use Promises; all that I want is a simple promisify() function. Importing an entire library for one functio....
|
|
I was recently working on some code in which I wanted to use Promises, but all that I had was callback-centric code. In the past, I have imported libraries such as bluebird for this particular problem, but now that seems like a bit of overkill to get just one function. I'm already using ES6, so I don't need a polyfill in order to use Promises; all that I want is a simple promisify() function. Importing an entire library for one functio....
|
|
I was recently working on some code in which I wanted to use Promises, but all that I had was callback-centric code. In the past, I have imported libraries such as bluebird for this particular problem, but now that seems like a bit of overkill to get just one function. I'm already using ES6, so I don't need a polyfill in order to use Promises; all that I want is a simple promisify() function. Importing an entire library for one functio....
|
|
A discussion for JS developers about how to have some fun with the useful ECMAScript 2015 "Proxy" feature, which enables you to create a proxy for another object.
|
|
Taken from a comment I posted on HN in a thread about a Soccer Con Man . Not actually a programmer. The guy was hired to be a project manager. After joining things were as expected but after a few weeks we noticed that he was rarely around after lunch and never around after lunch on a Friday. We would email him at those times deliberately to catch him out and I recall starting to put sticky notes on his laptop “Came to see you a X ti..
|
Steven Pressfield has really coined the term *resistance in his famous book The War of Art amongts some other books he dedicated to it, and his words are so accurate that it is a must read for everyone in the business of making shit happen. TL;DR The resistance is a phenomenon well known to creative people, entrepreneurs and anybody trying to make something different and/or new happen – to some extent it is like a force of nature that manif..
|
|
On August 6, 1991, Tim Berners-Lee created a post detailing his World Wide Web project on a newsgroup called alt.hypertext in order to entice others to collaborate with him and create and host Web pages for the World Wide Web. However, it wasn’t until August 23, 1991 that it was made publicly accessible for the world to see. You could argue that August 6 is the real birth of the World Wide Web, but most websites and news aggregators ackno..
|
|
On August 6, 1991, Tim Berners-Lee created a post detailing his World Wide Web project on a newsgroup called alt.hypertext in order to entice others to collaborate with him and create and host Web pages for the World Wide Web. However, it wasn’t until August 23, 1991 that it was made publicly accessible for the world to see. You could argue that August 6 is the real birth of the World Wide Web, but most websites and news aggregators ackno..
|
|
Klokan Technologies is behind a new implementation of PDFium in GDAL. It allows efficient reading of PDF and GeoPDF file formats.
|
|
Scott Belsky joins us to highlight his journey from Fortune 500 MBA grad to the creative chaos of the design world.
|
Steven Pressfield has really coined the term *resistance in his famous book The War of Art amongts some other books he dedicated to it, and his words are so accurate that it is a must read for everyone in the business of making shit happen. TL;DR The resistance is a phenomenon well known to creative people, entrepreneurs and anybody trying to make something different and/or new happen – to some extent it is like a force of nature that manif..
|
|
Drinks and deserts bring me a kick of happiness. I like the rush and excitement I get after a good Old Fashioned, and I like the content that I feel after eating a Tiramisu. For a while, I feel happier. I smile, and I forgive, and I relax. Yet, whenever I have a drink or a desert - it takes from my health. Just like the damage an avatar would sustain in a 3D shooter game, I lose a few precious percent of health. And I’m not speaking about....
|
|
UPDATE 2017-08-31 Use chromedriver version 2.25. Tried using 2.9 with chrome 60 and could not navigate to URLS. It throws the exception below. Works fine with 2.25. WebDriverException: Message: unknown error: Runtime.executionContextCreated has invalid 'context' : { "auxData" : { "frameId" : "18604.1" , "isDefault" :true } , "id" :1, "name" : "" , "origin" : "://" } ( Session info: chrome = 60.0.3112.113 ) ( Driver..
|
|
So there's this thing going on known as the TechLadies Bootcamp. TechLadies is a community-led initiative for women in Asia to connect, learn, and advance as…
|
|
Staying true to my well-documented inability to write timely posts, here’s a post that I probably should have finished three months ago. I wasn’t always the truck-faring degenerate that I am now. Reading some of my earlier posts, I can vividly remember a (roughly four percent) younger, more hesitant Brandon, sitting in an airport terminal, running through the plan over and over in his head, making sure he didn’t miss any important details..
|
|
Staying true to my well-documented inability to write timely posts, here’s a post that I probably should have finished three months ago. I wasn’t always the truck-faring degenerate that I am now. Reading some of my earlier posts, I can vividly remember a (roughly four percent) younger, more hesitant Brandon, sitting in an airport terminal, running through the plan over and over in his head, making sure he didn’t miss any important details..
|
|
A book that aims to educate web developers and give them the confidence to abandon their jQuery crutches and walk freely with the power of the web API and JavaScript. You will learn about the most important concepts surrounding web development as I demystify jQuery!
|
|
I was inspired last night by Cate Huston’s post, The Day I Leave the Tech Industry . I decided to write my own, except I’m not as eloquent a writer as Cate so before I go any further please, please, please read her post and not mine. Mine is going to be a bit different. Lately I’ve been thinking more and more about this. It seems imminent. I’m only 27 and let me repeat: it seems imminent. I’m going to tell you all the fantasy that play....
|
|
Update: You can find an updated and significantly improved version of this post in my book “Pro .NET Benchmarking” . DateTime is a widely used .NET type. A lot of developers use it all the time, but not all of them really know how it works. In this post, I discuss DateTime.UtcNow : how it’s implemented, what the latency and the resolution of DateTime on Windows and Linux, how the resolution can be changed, and how it can affect your ..
|
|
We've prioritized the resources that our users need to load and gained an impressive boost on our JavaScript application startup. In this article, I will explain how we've used Webpack, adjusted our handling of SVG icons and prioritized user needs to achieve up to 4.5 times faster startup.
|
|
Update: You can find an updated and significantly improved version of this post in my book “Pro .NET Benchmarking” . DateTime is a widely used .NET type. A lot of developers use it all the time, but not all of them really know how it works. In this post, I discuss DateTime.UtcNow : how it’s implemented, what the latency and the resolution of DateTime on Windows and Linux, how the resolution can be changed, and how it can affect your ..
|
|
We've prioritized the resources that our users need to load and gained an impressive boost on our JavaScript application startup. In this article, I will explain how we've used Webpack, adjusted our handling of SVG icons and prioritized user needs to achieve up to 4.5 times faster startup.
|
|
Install homebrew Install python Install virtualenv and virtualenv wrapper pip install virtualenv pip install virtualenvwrapper Add the following to ~/.bash_profile: export WORKON_HOME =$ HOME /. virtualenvs export PROJECT_HOME = /Users/ dhruvkar /< projectdirectory > source /usr/ local /bin/ virtualenvwrapper . sh To make virutal environments for existing projects use: mkvirtualenv -a [project ..
|