Search
console.timeLog
7.6.2018
I work on a really complex debugger at Mozilla but, and don’t tell my colleagues, I sometimes enjoy simply using console.log and other console commands to get some simple output. I know, I know, but hey — whatever gets the job done. A few years ago I detailed console.time...
What’s Next for Hybrid App Developers? (Sponsored)
5.6.2018
The story of hybrid application development is a never-ending one. Each framework has to continuously strive and innovate to remain relevant, and the discussion of which framework to use is a question often asked. Most hybrid applications are built using a combination of HTML, CSS, and JavaScript....
Script & Style Show: Episode 11: Ionic Framework with Max Lynch
1.6.2018
In this episode: David blames his wife for getting sick and missing last week’s show, Todd’s got a new Jeep, and David then blames his wife for not letting him have a Jeep. Oh, and Max Lynch of Ionic Framework fame stops by to talk about Ionic, Stencil, Web Components, the state...
OpenRates Currency API (Sponsored)
30.5.2018
Creating your own APIs can be a total nightmare: worrying about uptime, load balancing, data accuracy, caching, and all of the other risks would keep me up at night. And if your API relates to money in any way? If you get that wrong you could be costing yourself, your employer, or your client...
How to Delete Untracked Files in a Mercurial Repository
29.5.2018
Working around Firefox at Mozilla means that you need to get acquainted with mercurial, the version control system that rivals git and svn. Like any tool, hg (mercurial) can be difficult until you’re well versed with it. And if you hg import a URL that doesn’t match up with...
[aktualita] Od Muska k Dlouhému. David Pavlík odchází ze SpaceX do Kiwi.com
23.5.2018
Jeden z nejviditelnějších Čechů v technologickém byznysu od letošního července posílí vedení brněnské společnosti Kiwi.com. David Pavlík opouští pozici Software Automation Program Managera v kalifornském podniku SpaceX Elona Muska a v Brně nastoupí do role šéfa informačních technologií (CIO)....
Script & Style Show: Episode 10: Dojo
22.5.2018
In this episode: David and Todd welcome Dojo and JavaScript legend Dylan Schiemann and TypeScript and Dojo 2 superhero Nick Nisi. We cover the early days of Dojo, the road to 2.0, and what’s in Dojo 2.0 and beyond. Enjoy!
The post Script & Style Show: Episode 10: Dojo appeared first...
David versus Goliáš: Jak si poradil elektromobil Tesla s obřím Boeingem?
22.5.2018
David versus Goliáš: Jak si poradil elektromobil Tesla s obřím Boeingem?
Regain Disk Space from Homebrew
21.5.2018
One of my favorite utilities is Homebrew, the shell utility for installing and upgrading other utilities — it’s a lazy developer’s dream. Dreams can easily turn to nightmares, however, and I recently learned that Homebrew caches older versions of installed packages, leading...
Startup Týdne #96: Prodejní automat Samba.ai zvyšuje obraty díky machine learningu
18.5.2018
Co hledají a potřebují vaši zákazníci? Přesně odhadnout jejich preference je dost náročné, a proto v Česku vznikla Samba.ai – marketingový automat pro e-shopy, který je řízen umělou inteligencí, díky čemuž umí doporučit a zobrazit ty správné produkty. Zvyšovat by tak měl počet objednávek a zároveň...
Detect WebVR Support with JavaScript
16.5.2018
It’s been two years since I was heavily involved with WebVR at Mozilla but, despite not contributing every day, I can see VR making leaps and bounds, from Firefox making an increased effort to Chrome pushing VR and Oculus and HTC (Vive) improving their offerings. Native games are getting...
CDN, Web Security, and DDoS Protection from Incapsula (Sponsored)
16.5.2018
There used to be day that you could have a small to large website that didn’t require protection and worldwide CDN but, with how easy it is to initiate a DDoS attack and how important website speed is for search engine placement, it’s a given that you should look for a service to handle...
Get a React Component by DOM Node
15.5.2018
Retrieving a React component’s DOM node is fairly simple from within the component itself, but what if you want to work backward: retrieve a component’s instance by DOM node? This is a task that the old Dojo Toolkit’s Dijit framework allowed with the dojo.byId method, so it made...
How to Get a React Component’s Element
14.5.2018
JSX is an amazing pseudo-language for React, and if I’m honest, it’s what brought me to love React so much. Using React without JSX is cumbersome and frustrating, while using JSX is such an easier way to express your code. One drawback of JSX, however, is that it makes accessing...
Vertically Centering with Flexbox
8.5.2018
Vertically centering sibling child contents is a task we’ve long needed on the web but has always seemed way more difficult than it should be. We initially used tables to accomplish the task, then moved on to CSS and JavaScript tricks because table layout was horribly inefficient —...
Na co vůbec umělá inteligence je? V příštích letech zlepší zejména zákaznické zkušenosti
8.5.2018
Přidaná hodnota odvozená od rozvoje umělé inteligence by letos měla přesáhnout 1,2 bilionu dolarů. Oproti loňskému roku to představuje 70procentní nárůst. V následujících čtyřech letech by měla tato hodnota narůst na 3,9 bilionu dolarů. Předpověď tohoto objemu vychází z analýzy poradenské...
React and autofocus
7.5.2018
While I love ReactJS, I can say that I sometimes find interactions that were easy during the pre-ReactJS are annoyingly difficult or at least “indirect”. One example is properly ensuring that a given <input> element gets focused when a button in a different component...
Script & Style Show: Episode 9: What’s in the News
4.5.2018
In this episode: David reveals his tree-falling-into-house nightmare, but quickly moves onto recent news, like the massive release of Dojo 2, EU privacy, service workers landing in all major browsers (finally Edge!), this tweet, and more!  
The post Script & Style Show: Episode...
IP Geolocation with ipstack (Sponsored)
2.5.2018
Knowing where your web visitor is located is an incredible advantage to any website; you can show relative content like maps, pricing, and availability, output your content in their likely language, etc — I cannot overstate how useful that information is. Of course we have the HTML5...
Change Python Version
1.5.2018
Python plays a major role at Mozilla; much of our website backends and tooling are written in the powerful language. Want to build Firefox? You’ll need to make sure you have the proper Python version, which I recently found out had been upgraded. Despite installing and verifying I had...