Search
My New Mac Setup and Why I Switched
24.7.2019
I want to start this article by saying that I'm not here to start or take part in any brand war between Microsoft and Apple. I like both companies and have switched between operating systems occasi
Pseudo Code
23.7.2019
Yonatan Doron wrote a post on Medium not long ago called "Art of Code — Why you should write more Pseudo Code." Love that title, as a fan of pseudo code myself. That is, writing "code" that describes something you want to do or communicate, but that isn't of any particular language and doesn't...
CSS :not() with Multiple Classes
22.7.2019
Say you want to select an element when it doesn't have a certain class. That's what the :not() selector is for.
body:not(.home) {
}
But what if there are multiple classes you want to avoid?
There are no logical combinators with :not(), like and or or, but you can chain them, which...
Bitcoin Economist Says You’ve Lost The Battle Already, If You’ve Invested In Any Crypto Than BTC
21.7.2019
Bitcoin was the first cryptocurrency created and it continues to dominate the crypto industry. More than 60% of the crypto market is Bitcoin, which speak volumes in itself. Though coins like Ethereum, Dash, Bitcoin Cash, Litecoin, etc. have gained significant popularity, they are nowhere close...
Coinbase Drops Its Coinbase Bundle Crypto Investment Product Without Any Explanation
19.7.2019
World’s leading crypto exchange Coinbase has struck down the Coinbase Bundle, a crypto investment product, from its website. The company removed the product without any prior information or explanation. The Coinbase Bundle was introduced last year in September, with the aim of giving a simplified...
Using GraphQL Playground with Gatsby
18.7.2019
I’m assuming most of you have already heard about Gatsby, and at least loosely know that it’s basically a static site generator for React sites. It generally runs like this:
Data Sources → Pull data from anywhere.
Build → Generate your website with React and GraphQL.
Deploy → Send the site to...
Get Peak WordPress Performance with Jetpack
18.7.2019
The irony of web performance is that the average page weight of a site continues to go up year after year, despite us being more aware of the problem and having more tools at our disposal to fight it than ever.
To paraphrase Seinfeld, "we know how to fight page weight issues; we just don't use...
Finally… A Post on Finally in Promises
16.7.2019
“When does finally fire in a JavaScript promise?” This is a question I was asked in a recent workshop and I thought I’d write up a little post to clear up any confusion.
The answer is, to quote Snape:
...always.
The basic structure is like this:
try {
// I’ll try to execute some code...
JP Morgan Chase Ship Busted: Cocaine, Banks and the Failed Drug War
11.7.2019
A ship seized by the U.S. Customs and Border Protection Agency in June carrying over 15,000 kilos of cocaine has now been tied to JP Morgan Chase’s asset management unit. Officially the company does not exercise any operational control of the vessel, but some serious questions are raised when...
Money and Democracy: Why You Never Get to Vote on the Most Important Part of Society
10.7.2019
It’s very odd that citizens never get to vote or have any say in regard to society’s money, even though it’s one of the most important aspects of everyday life. In fact, in developed countries, most central banks are institutions that are privatized from political interference...
Monero Price Analysis: XMR Acquiring Attention From Traders! It Might Hit 7-Days High Any Minute!
7.7.2019
Kudelski Security successfully completes the recent second audit on Monero blockchain network. This audit was performed on RandomX. Monero might be expecting better surge after the same, and hopefully, the audit results will increase the credibility of the platform too. XMR Price Analysis:...
Exploring Sets and Maps in JavaScript
3.7.2019
Let’s take a look into two new constructs that were introduced in the JavaScript ES6 specification:
Set - The Set object allows you to store unique values of any type
Toast
3.7.2019
One day, all the sudden, I started hearing jokes about toast. I had no idea what the context was. I assumed some friends just got started telling toast jokes, which isn't rare by any means. But it turns out it was a whole thing. It got me thinking, jeez, if I can't keep up with this stuff when it's...
Restricting a (pseudo) element to its parent’s border-box
2.7.2019
Have you ever wanted to ensure that nothing of a (pseudo) element gets displayed outside its parent's border-box? In case you're having trouble picturing what that looks like, let's say we wanted to get the following result with minimal markup and avoiding brittle CSS.
The desired result.
This...
Confronting Bitcoin Network Issues Using Nakamoto Consensus and a Mining Parliament
1.7.2019
On June 28, Bitcoin Cash proponent Javier Gonzalez announced the launch of an interesting protocol called the Bitcoin Mining Parliament (BMP). The theory behind BMP is backed by the concept of Nakamoto Consensus where “miners are the executive power of Bitcoin” and “any needed...
Ethereum Classic Price Analysis: ETC Starts Dwindling; Is there Any Steep Movement Likely To Happen?
1.7.2019
Ethereum Classic (ETC) has shown five major price variations in the last 24 hours. The next resistance point may be found at 8.3 USD. Ethereum Classic has become a perfect example of a stable coin with no huge price swings. The coin has been successful in maintaining its price range in the last...
Over 22,000 Traders Have Now Signed up to Local.Bitcoin.com
27.6.2019
People from all over the world have opened accounts to trade bitcoin cash anonymously and without any KYC on Local.Bitcoin.com. Almost 1,000 BCH has already been exchanged privately through blind escrow via the new platform. Also Read: Namecheap Lets You Buy a Domain and Host Your Website With...
Markets Update: Cryptocurrency Prices Continue to Accelerate
26.6.2019
Digital asset markets have been on a tear lately, gaining $68 billion in five days. Currently, there’s over $100 billion in global trade volumes and crypto bulls don’t seem to be letting up any time soon. Also Read: How to Find a Bitcoin Cash Meetup Near You The Cryptoconomy Captures...
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...