Search
How to Blur Faces in a Video from Command Line
1.5.2023
Privacy is always incredibly important, especially with visual media where you may not have the permission of individuals in the video. If you’re filming something in public, it’s likely you’ll catch someone’s face who simply doesn’t want or need to be identified. This...
CSS content-visibility
28.4.2023
The CSS language is full of small gaps which are frustrating to navigate. Between CSS properties to hide a container and its contents, there is still room for improvement. visibility: hidden keeps height and width integrity while display: none on a container hides everything. You can...
Routování? Ano, ale jinak
27.4.2023
Vítám vás u dalšího článku, tentokrát téměř čistě textováho. Video bude, ale jen krátké – pro názornost. V textu bych rád rozebral problematiku takzvaného routování a důvody, proč to PHP Jet dělá zcela odlišně než ostatní frameworky. Původně jsem chtěl porovnávat s frameworkem Laravel, ale v našich...
How to Get a Computer’s Hardware ID
18.4.2023
Cheating in online games is a huge issue these days — just ask anyone playing PUBG. Cheaters aren’t difficult for players to spot but vendors oftentimes don’t do enough to punish these villains. Krafton recently announced they would start banning cheaters by hardware ID, which...
JavaScript Array Group
17.4.2023
Managing, sorting, and manipulating data with JavaScript is a skill we’ve often delegated to third party libraries like lodash. As the JavaScript language progresses, however, these features eventually get. added to the JavaScript specification. Two such APIs for grouping of Array data...
E-shop je hotov - je čas rekapitulace
16.4.2023
A je to tu. Poslední díl malé reality show, která měla za cíl ukázat jak s pomocí PHP Jet z nuly vytvořit typickou webovou aplikaci s řadou zajímavých funkcí a to efektivně, za co nejkratší čas a při tom kvalitně a bez jakýchkoliv limitů – lze “napsat” vše co si člověk zamane. Poslední díl bude...
How to Get a Base64 Version of a File From Command Line
13.4.2023
A while back I wrote an article on how to Convert Image to Data URI with JavaScript. It’s a neat trick developers can use for any number of reasons. Instead of abusing canvas, however, why not simply get the base64 data from command line? You can use base64 and pbcopy to convert a file...
IMF Blog: Interest Rates to Fall to Pre-Pandemic Levels Once Inflation Is Tamed
13.4.2023
When inflation in advanced economies is tamed, real interest rates are likely to drop to pre-pandemic levels, the latest International Monetary Fund (IMF) blog post has said. According to the authors of the blog post, the transition to a “cleaner economy in a budget-neutral way” could...
LIVE BLOG: Ethereum's Shanghai Upgrade
12.4.2023
CoinDesk reporters and editors chronicle the first-ever activation of withdrawals from the Ethereum staking mechanism, set for Wednesday at 6:27 p.m. ET ( Developers refer to the upgrade as "Shapella" since it includes the "Capella" changes to the blockchain's consensus layer as well as "Shanghai"...
Ethereum’s Shapella Upgrade to Enable Staking Withdrawals Set to Go Live on April 12
12.4.2023
The Ethereum blockchain is set to undergo its next major update since the network switched from proof-of-work to proof-of-stake through The Merge. The upcoming upgrade, dubbed “Shapella,” which combines the Shanghai and Capella validator changes, is expected to take place on April...
C++20 Korutiny - Přepis knihovny CoCls
10.4.2023
Uplynul nějaký čas kdy jsem se musel věnovat jiným úkolům, ale ke korutinám jsem se vrátil. Často se vyplatí nechat téma „uležet“ a vrátit se později s úplně jiným pohledem na celou věc. Zvlášť, když člověk za to dobu spoustu věcí zapomene a pak když se k tomu vrátí, má najednou pocit, že...
How to Get Mac Battery Level from Command Line
10.4.2023
I’m a big fan of having as much information as I can get within the command line. I couldn’t go without knowing which git branch I’m on, for example. Another important piece of information I like having is my current battery percentage. To get the current battery level from...
Coinbase CEO says Bitcoin Lightning is 'something we’ll integrate'
10.4.2023
“Lightning is great and something we’ll integrate,” Armstrong said in response to an allegation that he was “ignoring” the network
Jet v akci - mezinárodní e-shop za 4 hodiny - 6. díl
7.4.2023
Je tu opět pátek. Pravda, pátek sváteční-velikonoční, ale i dnes posílám do světa další díl malé reality shop na téma reálné použití frameworku PHP Jet, aneb jak vytvořit z nuly e-shop pro mezinárodní prostředí za 4 hodiny. V dnešním díle budu finalizovat první část nákupního procesu…
Hidden Treasure: Every Modern Copy of macOS Contains a Copy of Bitcoin’s White Paper
6.4.2023
On April 5, 2023, the independent blogger Andy Baio published a post on his Waxy Blog that explained every version of macOS from Mojave 10.14.0 to the current version hosts a copy of Satoshi Nakamoto’s seminal Bitcoin white paper. Mac users can type a simple command in the terminal, and...
Jet v akci - mezinárodní e-shop za 4 hodiny - 5. díl
31.3.2023
Další týden je pryč a malá reality show se překlopila do své druhé poloviny a pomelu se již začíná blížit ke svému konci. V dnešní již pátém dílu vytvořím nákupní košík. Na co se můžete těšit…
Tisíce integračních testů do 30 sekund? Ano, jde to.
29.3.2023
Rychlá sada testů je klíčovým předpokladem, který motivuje vývojáře k psaní dalších testů a častému spouštění testovací sady. Ideálně by sada testů měla být dokončená v řádu sekund nebo nízkých jednotek minut. Tento požadavek lze snadno splnit pomocí čistých jednotkových testů, které nemají žádnou...
Binance CEO CZ Responds to US Regulator’s Charges
29.3.2023
Binance CEO Changpeng Zhao (CZ) has addressed the allegations against him by the U.S. Commodity Futures Trading Commission (CFTC). “We do not agree with the characterization of many of the issues alleged in the complaint,” the executive stressed. CZ Responds to CFTC’s Allegations...
Ne, umělé inteligence se fakt nebojím …
27.3.2023
… protože žádná (zatím) neexistuje. Ale dobře, vezmeme to pěkně popořádku. O tak zvané umělé inteligenci se hodně mluví a téma velice silně proniklo i mezi laickou veřejnost. Ale mě osobně nejvíc fascinuje jak je internet plný vizí toho, jak třeba momentálně nejznámější jazykový model dokáže...
How to Block a Range of IP Addresses
27.3.2023
As much as content creators want traffic to their website, there is such thing as the wrong type of traffic. Sometimes it’s content scrapers, sometimes it’s malicious bots; either way, it’s important to know how to block problematic IPs from your site. To block a range of...