Search

Nalezeno "blog": 1889

Use Logpoints!


There’s sometimes a tribal attitude about how web developers should be debugging their code and solving problems. There’s the console.log loyalists, then there’s the debugger/breakpoint maximalists. I worked on the Firefox DevTools debugger for years and I can tell you...

Time for Next-Gen Codecs to Dethrone JPEG


AVIF has been getting a lot of tech press, but Jon Sneyers is hot on JPEG XL (which makes sense as he’s the “chair of the JPEG XL ad hoc group in the JPEG Committee”). According to Jon’s comparison, JPEG … The post Time for Next-Gen Codecs to Dethrone JPEG appeared...

Awesome Git Aliases


Git is an amazingly powerful tool. It can keep track of all the code you write, let you organize your work into different branches, help you seamlessly work with other developers, and even let you time travel and make changes. But wouldn’t it be awesome if Git could do more? What if you could...

Insert Cursor at Any Position at Command Line


As much as I enjoy writing lengthy pieces of JavaScript APIs, techniques, and other tech brilliance, I very much enjoy providing people quick tips to make their daily dev lives better. This is one such post. Oftentimes I’m working with long command line directives, and as you can imagine,...

Java webové stránky s AJAX


V době kolem covidového Silvestra roku 2020 jsem vytvořil prototyp jednoduché webové stránky s podporou AJAX s cílem eliminovat Java vývojáře od Javascriptu. Vývojář se však neobejde bez znalosti struktury HTML stránky ani bez znalosti CSS selektorů. Původní řešení jsem trochu zobecnil, vybrané...

IOST Partners With Polkadot for Cross-Chain Interoperability Breakthrough


PRESS RELEASE. IOST has announced it is now at the final development stage for building a cross-chain transfer bridge to the Polkadot Ecosystem. The move is part of IOST’s plans to promote its cross-chain interoperability, bringing tremendous value for IOST users & developers and drive...

React authentication, simplified


Authentication is one of those things that just always seems to take a lot more effort than we want it to. To set up auth, you have to re-research topics you haven’t thought about since the last time you did authentication, and the fast-paced nature of the space means things have often changed...

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

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