Search

Nalezeno "reduce": 288

The Power (and Fun) of Scope with CSS Custom Properties


You’re probably already at least a little familiar with CSS variables. If not, here’s a two-second overview: they are really called custom properties, you set them in declaration blocks like --size: 1em and use them as values like font-size: var(--size);, they differ from preprocessor variables...

Using GitHub Template Repos to Jump-Start Static Site Projects


If you’re getting started with static site generators, did you know you can use GitHub template repositories to quickly start new projects and reduce your setup time? Most static site generators make installation easy, but each project still requires configuration after installation. When...

Protests Led RBI to Raise PMC Bank’s Withdrawal Limit


The Reserve Bank of India has relaxed the withdrawal limit of 1,000 rupees (approximately $14) it placed on a cooperative bank a couple of days ago. The central bank said it aims to reduce the hardship of depositors after many heavy protests followed its original order. Also read: Panic at 137 Bank...

How Web Content Can Affect Power Usage


Because we know that all people with battery-powered devices are constantly concerned about their battery levels, and that websites are significant consumers of that battery power, we should probably think about this stuff a lot more than we do. I'd expect the browser itself to be our main ally...

How to Reduce Your Crypto Tax Bill by Taking Out a Crypto-Back Loans


The crypto lending market has been experiencing an increasing interest in the past 12 to 18 months. More and more HODLers are using their digital asset holding as collateral for fiat currency loans. While the reasons to take out loans are myriad, one of the biggest arguments for taking out...

Bitcoin Mining Helps Oil Companies Reduce Carbon Footprint


Natural gas acquired as a byproduct of oil extraction has become synonymous with wasted energy. In certain areas, drilling companies are unable to find a profitable market for the excess fuel. It’s often vented into the atmosphere. Startups are now offering on-site systems that utilize...

Tips for rolling your own lazy loading


You may have heard (or even issued the call) that “we can just use lazy loading!” when looking for a way to slim down a particularly heavy web page. Lazy loading is a popular technique for gradually requesting images as they come into view, rather than all at once after the HTML of the page...

Getting to Know the useReducer React Hook


useReducer is one of a handful of React hooks that shipped in React 16.7.0. It accepts a reducer function with the application initial state, returns the current application state, then dispatches a function. Here is an example of how it is used; const [state, dispatch] = useReducer(reducer...

Getting to Know the useReducer React Hook


useReducer is one of a handful of React hooks that shipped in React 16.7.0. It accepts a reducer function with the application initial state, returns the current application state, then dispatches a function. Here is an example of how it is used; const [state, dispatch] = useReducer(reducer...

How to Cold Store Your Cryptocurrency for Safekeeping


If you’re new to the crypto scene you might have heard about people moving their assets into cold storage or cold wallets but were unsure exactly what this entails. Simply put, it means storing your crypto offline to reduce access to hackers. Here’s how you can easily freeze your coins...

PR: TRCE – Crypto Exchange Set To Launch In Q4 2019


The Real Cryptocurrency Exchange (TRCE) is a Seychelles Cryptocurrency company headquartered in Buenos Aires, Argentina (2019) with plans to open offices in Spain (2020) and Singapore (2021). The mission at TRCE is to reduce the access gap in the Cryptocurrency Market worldwide, primarily focusing...

Reducing motion with the picture element


Here’s a bonafide CSS/HTML trick from Brad Frost and Dave Rupert where they use the <picture> element to switch out a GIF file with an image if the user has reduced motion enabled. This is how Brad goes about implementing that: <picture> <!-- This image will be loaded if...

Saudi Arabia States Oil Producers are Looking to Reduce Inventories


One commodity that almost always sends investors into a bit of a tizzy is oil, and due to the current fragility in the oil market, there has been a lot of concerns from investors all over the world. In a recent report, Bank of America had even stated that the price of Brent crude could … The...

Asian Stocks Show Upward Trend as Trade War Worries Ease


The US President Donald Trump seems to have softened his stand and is looking for a compromise from China that resulted in the Asian stocks rising from a 14 week low. The Asian stocks also rode high on the optimism that the Beijing government will inject more stimulus to the Chinese economy as they...

Using Array reduce


Every developer who specializes in any programming language will tell you there’s a powerful tool the language provides that they rarely use and wish they knew more about. For me, it’s Array.prototype.reduce. I quite enjoy the other Array methods like map, filter, and find, but reduce...

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