Search

Nalezeno "Auto": 1191

How to Delete Untracked Files in a Mercurial Repository


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...

Samořídící Uber měl 6 sekund na to, aby zabránil smrtelné nehodě. Nesměl


Tragická březnová nehoda, při které autonomní auto společnosti Uber zabilo chodkyni, byla výsledkem naprostého selhání bezpečnostních mechanismů. Auto mělo k dispozici dostatek času i informací na to, aby nehodě zabránilo. Uber ale vypnul některé bezpečnostní prvky a přispěl tak ke smrtelné...

Obří počítač od Microsoftu bude stát jako nové auto


Půl miliónu korun. To je suma, za kterou v dnešní době bez problémů koupíte slušně vybavený rodinný kombík. Na stejnou částku si také zároveň společnost Microsoft cení svůj nový počítač Surface Hub 2. Novinka svým vzhledem připomíná spíše televizi než obyčejné PC. Cílí především na firmy, kde bude...

Script & Style Show: Episode 10: Dojo


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...

Regain Disk Space from Homebrew


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...

Libeňský most nejde zachránit. Stavěli ho starou technologií, práci odbyli


Nejde opravit tak, aby vydržel sto let, shodují se odborníci na mostní konstrukce a beton. Libeňský most je postaven technologií, která byla zastaralá už tehdy. Navíc se šetřilo na materiálu. „Libeňák“ betonovali z kamení, které brali přímo z Vltavy na staveništi a šetřili cementem, tvrdí experti

Detect WebVR Support with JavaScript


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)


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


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


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


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


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


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)


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


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


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


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...

Nahoru
Tento web používá k poskytování služeb a analýze návštěvnosti soubory cookie. Používáním tohoto webu s tímto souhlasíte. Další informace