Search
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...
Zveřejněný dokument ukazuje, co všechno dokáže robotické auto Waymo. Je mnohem dál, než si myslíme
16.5.2018
Waymo letos v dubnu podalo žádost o povolení plně autonomního provozu v Kalifornii a nyní se dostal kompletní dokument na veřejnost – devadesátistránkový sken najdete na službě Documentcloud.org.
1. specialita: 4. úroveň autonomie
Díky zveřejnění se dozvídáme, jak na tom Waymo
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 —...
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...
Operativní leasing od ElektraCars nabízí zájemcům o elektromobily komfort a svobodu, říká Jan Burda
3.5.2018
Elektromobilita je jednoznačně trendem budoucnosti. Automobilky hlásí, že v následujících letech začnou ve velkém vyrábět vozy s elektromotory, a tak už nebudeme vídat jen Teslu a pár vybraných modelů ostatních značek. Počítají s tím i v Creative Docku, kde ve spolupráci s energetickou společností...
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...
Volkswagen nabídne kryty mobilů z plechů bouraných aut
30.4.2018
Ovládání mobilů za volantem je nepřípustné. Ve Švédsku je od února tohoto roku zcela zakázáno používat mobil při řízení. Přesto se počet nehod způsobených ovládáním mobilu neztenčil. A tak to chce Volkswagen připomenout lidem zajímavou akcí
Reset File Changes with git
25.4.2018
There are many different philosophies when it comes to code review but mine is fairly simple: I like receiving early “work in progress” patches, I like to be positive in my code review messages, and if a patch is 90% there, I like to finish the patch myself so the project...
DDoS Protection by Incapsula (Sponsored)
24.4.2018
DDoS protection is an incredibly important protection for sites that require dependability, regardless of the service your site provides. Whether your online product or service is for managing money, buying or selling crypto, or simply sharing your tech nerdery (like this blog), there’s...
Script & Style Show: Episode 8: Conferences
22.4.2018
On this episode: David turns carmudgeon when it comes to conferences. The crew talks about different conferences, pitfalls of going to a conference, and most importantly, how to be successful at a conference. Enjoy!
The post Script & Style Show: Episode 8: Conferences appeared first...
Creating Spacers with Flexbox
18.4.2018
I was one of the biggest fans of flexbox before it hit but, due to being shuffled around at Mozilla, I never had the chance to use it in any practice project; thus, flexbox still seems like a bit of a mystery to me. This greatly pains me because I feel left out of the […]
The post Creating...
Na cestu z Londýna do Bristolu si koupil auto: Bylo levnější než jízdenka na vlak
18.4.2018
Na cestu z Londýna do Bristolu si koupil auto: Bylo levnější než jízdenka na vlak
Asistenční startup DoDo spouští další službu. DoDo Car se vám postará o auto
17.4.2018
Startup DoDo, který vlastní e-commerce akcelerátor Inveo Michala Menšíka, nabízí osobní asistenční a kurýrní služby a nyní je rozšiřuje o další segment. Služba DoDo Car vám zařídí kompletní péči o vaše auto – od přezutí kol přes návštěvu myčky až po servis všeho druhu. Stačí si jen objednat...
Díky NaOperak.cz zjistíte, že můžete jezdit za stejné peníze v Octavii i BMW, říká Punčoch
17.4.2018
Kupovat auto na operativní leasing je stále populárnější. Vedle firem, pro něž je často z logiky věci výhodnější platit za pronájem auta pár tisíc měsíčně, neřešit žádné poplatky za servis a další údržbu a po roce ho vyměnit za nové, na operáky slyší čím dál tím více řidičů. Potřebu vlastnit… Číst...
Script & Style Show: Episode 7: Open Source with Ashley Grant
14.4.2018
On this week’s episode we welcome Ashley Grant of Aurelia fame to talk about open source: the good, the bad, the ugly, and the scary. Enjoy!
The post Script & Style Show: Episode 7: Open Source with Ashley Grant appeared first on David Walsh Blog