Search
Binance: Venus Project Will Court Regulators, Avoid Facebook’s Mistakes
30.8.2019
Binance Venus to take more conservative approach with a focus on regulatory compliance
Using requestAnimationFrame with React Hooks
21.8.2019
Animating with requestAnimationFrame should be easy, but if you haven’t read React’s documentation thoroughly then you will probably run into a few things that might cause you a headache. Here are three gotcha moments I learned the hard way.
TLDR: Pass an empty array as a second parameter...
then on Objects
5.8.2019
Promises were a revelation in JavaScript development, allowing us to enjoy async processing and avoid callback hell. Many new APIs like Battery API, Cache API, and others use the promise API. One fact you may not know is that you can add a then method to any object to make it Promise-like!...
Venezuela Turned Airport Taxes Into Bitcoin to Avoid Sanctions: Report
25.7.2019
Venezuelan President Nicolás Maduro and his administration are said to be using proceeds from the airline industry – and cryptocurrency – to avoid sanctions
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...
Money Laundering Fines Worth Billions Help Bankers Avoid Prosecution and Unpleasant Labels
18.7.2019
The recent seizure of a cargo ship owned by JP Morgan, a vessel loaded with 20 tons of cocaine according to latest accounts, highlighted the risks of banks’ involvement in illicit activities, inadvertent or otherwise. And although U.S. authorities released the MSC Gayane after the owner,...
How to Avoid Ponzi Schemes in the Crypto Space: A Checklist
13.7.2019
If you have been in the crypto industry for a couple of years, you might have heard of two types of crimes. One, the cyber attacks, which like any other attack is an open threat, and the other, just a result of lack of awareness, are Ponzi schemes. Conmen have found a new playground in …
The...
Who Are the Real Thieves? Danish Authorities Seize 3 Ferraris in Tax Evasion Crackdown
8.7.2019
Last week Danish authorities seized three Ferraris belonging to a large Copenhagen-based business allegedly seeking to avoid VAT. With the largest bank in Denmark—Danske Bank—also being embroiled in a tax avoidance scandal last year, it seems timely to explore the common libertarian...
Avoid State Taxes on Crypto With US Supreme Court’s Recent Trust Decision?
6.7.2019
Some investors put crypto in a trust that holds crypto assets. What are the specifics? A Tax lawyer comments
Zcash Price Analysis: The Crypto Again Made Bounce Back, Still Avoid In Short Term
3.7.2019
In a recent public internet survey and darknet survey regarding the State of Privacy Coins, the report suggests that 42% of the surveyors bought Zcash as their first privacy coin, followed by 25% bought Monero. The survey was conducted on a sample size of 234, and out of them, 42% of people stated...
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...
Fix Touch Bar Volume Buttons
30.6.2019
The touch bar on MacBooks has been a source of controversy since the beginning. Many mourned the loss of the escape key, while others refused to buy a new laptop to avoid the touch bar completely. I’ve not had many issues with the touch bar but mostly because I don’t really use it. One necessary...
Facebook Fails To Avoid Lawsuit Over Data Breach That Endangered 29 Million Users
24.6.2019
The past few years have been a bit of a nightmare for social media behemoth Facebook. The company found itself lurching from one user privacy issue to another and in September last year, Facebook revealed that in one of the worst hacking attacks in its history, as many as 29 million users’ data...
Prevent Page Scrolling When a Modal is Open
3.6.2019
Please stop me if you've heard this one before. You open a modal, scroll through it, close it, and wind up somewhere else on the page than you were when you opened the modal.
That's because modals are elements on a page just like any other. It may stay in place (assuming that's what it's meant...
Venezuela Tries to Avoid US Sanctions By Trading In Rubles and Crypto
20.5.2019
Caracas and Russia are in talks to disconnect from USD and exchange rubles and crypto
Deploying a Client-Side Rendered create-react-app to Microsoft Azure
10.5.2019
Deploying a React app to Microsoft Azure is simple. Except that... it isn’t. The devil is in the details. If you're looking to deploy a create-react-app — or a similar style front-end JavaScript framework that requires pushState-based routing — to Microsoft Azure, I believe this article will serve...
Revisiting prefers-reduced-motion, the reduced motion media query
30.4.2019
Two years ago, I wrote about prefers-reduced-motion, a media query introduced into Safari 10.1 to help people with vestibular and seizure disorders use the web. The article provided some background about the media query, why it was needed, and how to work with it to avoid creating...
Six tips for better web typography
27.2.2019
How do we avoid the most common mistakes when it comes to setting type on the web? That’s the question that’s been stuck in my head lately as I’ve noticed a lot of typography that’s lackluster, frustrating, and difficult to read. So, how can we improve interfaces so that our content is easy to read...
<span>L</span><span>e</span><span>t</span><span>t</span><span>e</span><span>r</span><span>s</span>
20.2.2019
Did you see this Facebook crap?
"Why do I need a 4Ghz quadcore to run facebook?" This is why. A single word split up into 11 HTML DOM elements to avoid adblockers. pic.twitter.com/Zv4RfInrL0
— Mike Pan (@themikepan) February 6, 2019
I popped over to Facebook to verify that and what...
Algorithmic Layouts
10.1.2019
Don't miss this video by Heydon that digs into CSS layouts. It's great how he combines fundamental knowledge, like the way elements flow, wrap, and can have margin with new layout methods like flexbox and grid (with specific examples). Of particular note is the clear demonstration of how flexbox...