Search
Bitcoin Mining Helps Oil Companies Reduce Carbon Footprint
19.7.2019
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...
WATCH: Investor Nisa Amoils Expects Libra to Reduce Regulatory Risk
18.7.2019
Nisa Amoils believes that Facebook's Libra is a platform play
Ethereum Researcher: Ethereum to Reduce Issuance Ten-Fold by 2021
5.7.2019
Justin Drake, an Ethereum 2.0 researcher at the Ethereum Foundation, said that ETH issuance might see a 90% reduction
Tips for rolling your own lazy loading
1.7.2019
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
26.6.2019
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
26.6.2019
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
26.6.2019
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
3.6.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...
EOS Holders Vote to Reduce the Annual Inflation From 5% to 1%
3.6.2019
Coin holders voted on whether to reduce the EOS inflation rate from 5% to 1% per year
Reducing motion with the picture element
31.5.2019
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
22.5.2019
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
15.5.2019
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
14.5.2019
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...
The Thinking Behind Simplifying Event Handlers
9.5.2019
Events are used to respond when a user clicks somewhere, focuses on a link with their keyboard, and changes the text in a form. When I first started learning JavaScript, I wrote complicated event listeners. More recently, I've learned how to reduce both the amount of code I write and the number...
Earth day, API’s and sunshine.
1.5.2019
Cassie Evans showcases some really nifty web design ideas and explores using the API provided by the company her team over at Clearleft recently hired to cover their building's roof with solar panels. Cassie outlines her journey designing a webpage that uses the API to populate some light data...
An Illustrated (and Musical) Guide to Map, Reduce, and Filter Array Methods
26.3.2019
Map, reduce, and filter are three very useful array methods in JavaScript that give developers a ton of power in a short amount of space. Let’s jump right into how you can leverage (and remember how to use!) these super handy methods.
Array.map()
Array.map() updates each individual value in...
Chrome Lite Pages
19.3.2019
The Chrome team announced a new feature called Lite Pages that can be activated by flipping on the Data Saver option on an Android device:
Chrome on Android’s Data Saver feature helps by automatically optimizing web pages to make them load faster. When users are facing network or data constraints...
The Bottleneck of the Web
5.3.2019
Steve Souders, "JavaScript Dominates Browser CPU":
Ten years ago the network was the main bottleneck. Today, the main bottleneck is JavaScript. The amount of JavaScript on pages is growing rapidly (nearly 5x in the last 7 years). In order to keep pages rendering and feeling fast, we need to focus...
Using React and XState to Build a Sign In Form
24.1.2019
To make a sign in form with good UX requires UI state management, meaning we’d like to minimize the cognitive load to complete it and reduce the number of required user actions while making an intuitive experience. Think about it: even a relatively simple email and password sign in form needs...
Understanding the Almighty Reducer
13.6.2018
I was reently mentoring someone who had trouble with the .reduce() method in JavaScript. Namely, how you get from this:
const nums = [1, 2, 3]
let value = 0
for (let i = 0; i < nums.length; i++) {
value += nums[i]
}
...to this:
const nums = [1, 2, 3]
const value = nums.reduce((ac, next)...