Search

Nalezeno "Blog": 1842

/usr/bin/timeout: méně známá GNU utilita


To jsem takhle jednou měl za úkol napsat skript, který bude pouštět různé příkazy a reagovat v závislosti na tom, zda dopadnou dobře nebo ne. Ale co se stane, když nějaký takový příkaz může skript zablokovat, tedy neustále „viset“ a neukončit se? Potřeboval jsem mechanismus timeoutu. Nakonec jsem...

React Without Build Tools


Jim Nielsen: I think you’ll find it quite refreshing to use React A) with a JSX-like syntax, and B) without any kind of build tooling. Refreshing indeed: CodePen Embed Fallback It’s not really the React that’s the hard part … The post React Without Build Tools appeared first...

Use Touch ID for sudo on Mac


The landscape of security is changing quite a bit. We’ve gone from basic username and password to 2FA, facial recognition, fingerprint recognition, and so on. Hell, my Mac unlocks simply when I have my Apple Watch near by. In the end, I probably use the Mac fingerprint key the most....

Next.js on Netlify


(This is a sponsored post.) If you want to put Next.js on Netlify, here’s a 5 minute tutorial¹. One of the many strengths of Next.js is that it can do server-side rendering (SSR) with a Node … The post Next.js on Netlify appeared first on CSS-Tricks. You can support CSS-Tricks by being...

How to Score Free Screeners Before New Movies Come Out


Your average cinephile might itch with anticipation before a new blockbuster release, but unless you’ve got a legitimate critic’s platform, you’ve got slim chances of receiving that coveted screener. Luckily, it’s probably easier than ever to become something of a movie critic, provided you’ve...

Nvidia Limits the Efficiency of Mining Ether Using Its GPUs by 50%


Nvidia announced that it will start limiting the efficiency of mining ethereum or any other crypto using its new range of upcoming graphics processing units (GPUs). In a blog post published Feb. 19, the U.S. hardware maker said this limitation will feature first on its new Geforce RTX 3060 card...

Nezávazné bádání nad časovou náročností programu - II


Tímto článkem bych rád navázal na své předchozí nezávazné bádání nad komplexností programů. V něm jsem se nejříve pokusil odhadnout, jaké funkci by mohla časová závislost programu odpovídat. Následně pak pro tuto funkci spočítat její parametry. No a ty pak můžu použít pro odhad toho, jak by se...

Nezávazné bádání nad časovou náročností programu - I


Počátečním impulzem pro následující nezávazné pojednání byla hra BENDER – Episode 3. Podstatou úkolu bylo zjištění z naměřených dat, jaké asi komplexnosti je program v závislosti na velikosti testovacích vzorků dat. Zadání úkolu je dosti návodné, takže vás nebudu obtěžovat popisem svého řešení....

Front of the Front / Back of the Front


People really latched onto Brad’s framing. And for good reason. Front-end development has gotten so wide scoping that there are specialists inside of it. Two years ago, I cut it down the middle and now Brad is putting … The post Front of the Front / Back of the Front appeared first...

Návratnost FVE v R


Úvod Rád bych si pořídil na střechu rodinného domu solární elektrárnu (FVE), po prostudování nabídek různých prodejců jsem dospěl k názoru, že si musím udělat vlastní analýzu návratnosti. Data prezentovaná dodavateli jsou obvykle založena na měsíční výrobě a měsíční spotřebě. To osobně považuju...

The Devil’s Albatross


Nils Binder talks about a technique for spacing between two elements. Picture a header on a large screen with a logo in the upper left and nav in the upper right. Then a small screen, when they can no longer … The post The Devil’s Albatross appeared first on CSS-Tricks. You can support...

How to Install a NPM Module from GitHub Branch


In my journey to work more quickly with a project containing loads of dependencies, I’ve come across a few techniques I’ve not needed to use before. I previously wrote about How to Push to a Git Remote Branch of a Different Name — this time we’ll talk about installing...

How to Push to a Git Remote Branch of a Different Name


Git is one of those tools that I’ve always known just enough about to be dangerous, and usually tend to learn new skills when I’m in a position to truly need them. Shockingly enough it has taken me roughly 15 years of using git for me to encounter the need to push to a remote...

(Jay Freestone’s) Front-end predictions for 2021


React framework maturity, early container queries, WASM adoption, and monoliths. I’ll take all four, please. Not feeling like a particularly front-end-y? Jay says: Interestingly, the biggest developments in the front-end are unlikely to be traditionally front-end concerns. Back...

Fix “no such file or directory, scandir”


After 15+ years in the web development industry, and seeing the landscape of tooling change, I’ve really lost patience with tooling errors. Like…Old Man Walsh™ just wants yarn install to work so he can get on with his work day. One recent error I ran into was from a dependency...

Za DASTA zprávy validní


Vzhledem k mé pracovní náplni se opakovaně setkávám se zprávami ve formátu DASTA, a to od různých výrobců informačních systémů ve zdravotnictví. Jedná se o XML zprávy, které mají standardizovaný obsah a strukturu. Postupem času vzniklo více verzí tohoto národního standardu, nicméně v posledních...

Some React Blog Posts I’ve Bookmarked and Read Lately


The React Hooks Announcement In Retrospect: 2 Years Later — Ryan Carniato considers hooks to be the most significant turning point in front end in the past five years, but he also says hooks have muddied the waters as well. … The post Some React Blog Posts I’ve Bookmarked and Read...

Some Typography Blog Posts I’ve Bookmarked and Read Lately


Font-size: An Unexpectedly Complex CSS Property — From Manish Goregaokar in 2017. Of many oddities, I found the one where font: medium monospace renders at 13px where font: medium sans-serif renders at 16px particularly weird. The good line-height — Since … The post Some Typography Blog...

Some Performance Blog Posts I’ve Bookmarked and Read Lately


Back/forward cache — I always assumed browsers just do fancy stuff with the back/forward buttons and us developers had very little control. Philip Walton tells us it’s critical that we understand “what makes pages eligible (and ineligible) for bfcache to … The post Some...

Confessions of a Web Developer XVIII


It’s been quite a while since I’ve gotten a few things off of my chest and since I’m always full of peeves and annoyances I thought it was time to unleash: Sometimes you need to get out of the cult and stop drinking the Kool-Aid to see an organization for what it is. My childhood...

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