Search

Nalezeno "blog": 1875

Audio na Ubuntu Studio a na Lubuntu


Tento příspěvek navazuje na diskuzi na zdejším fóru z roku 2015 . Od té doby jsem pokročil a dospěl k určitým poznatkům, které by mohly zajímat ostatní uživatele Linuxu. Formu blogu jsem použil na základě doporučení administrátora fóra. 1. Byl odstraněn problém s Ubuntu Studio, které převádělo...

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

Five of My Favorite Features of Jetpack


Jetpack is an official WordPress plugin directly from Automattic. It's an interesting plugin in that it doesn't just do *one thing* — it does a whole slew of things that enhance what your WordPress site can do. *Any* WordPress site, that is, and often with extremely little effort. Those easy...

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

What’s wrong with CSS-in-JS?


Brad Frost thinks it's: Lack of portability Context Switching Flushing best practices down the toilet In the spirit of good-ol-fashioned blog-and-response, here's: Brain Muenzenmeyer's response Micah Godbolt's response I'd like to point out that "CSS-in-JS" is an umbrella term, and that there...

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

Analýza sentimentu - databáze českých slov s polaritou (AFINN.CZ]


Pro několik experimentů  jsem potřeboval dostatečně rozsáhlý soubor českých slov pro vyjádření sentimentu mluvčího v psaném textu. Na internetu se lze dopátrat podobných databází, nevyhovovaly ale svým poměrně malým rozsahem, nebo kvalitou klasifikace jednotlivých slov. Po několika pokusech...

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

Practical Jokes in the Browser


I know April Fool’s Day is at the beginning of this month, but hey, now you’ve got a year to prepare. Not to mention a gool ol’ practical joke can be done anytime. Fair warning on this stuff… you gotta be tasteful. Putting someone’s stapler in the jello is pretty hilarious unless it’s somehow...

Understanding React `setState`


React components can, and often do, have state. State can be anything, but think of things like whether a user is logged in or not and displaying the correct username based on which account is active. Or an array of blog posts. Or if a modal is open or not and which tab within it is active. React...

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

DDoS Protection by Incapsula (Sponsored)


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

Programovací paradigmata


Víte, co to jsou programovací paradigmata? Budu mít tří programátory s různou úrovní znalostí. Zadám jim stejný úkol. Tento úkol bude spočívat ve vytvoření programu pro sečtení celočíselné řady, která se nachází v textovém souboru. Programátoři jsou různě zkušení, a proto každý zvolí odlišný přístup

Script & Style Show: Episode 8: Conferences


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

Krátce o mně a o mém blogu


Jmenuji se Petr Suchý. Je mi (now.year – 1986) let. Jinak řečeno, právě teď je mi 32 let. Pocházím ze západních Čech. Konkrétně z města Sokolov, kde bydlím i v současné době. Přestože tématické zaměření tohoto blogu, může vypovídat o něčem jiném, nejsem žádný IT technik. Já jsem...

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