Search
Web Technologies and Syntax
24.9.2020
JavaScript has a (newish) feature called optional chaining. Say I have code like:
const name = Data.person.name;
If person happens to not exist on Data, I’m going to get a hard, show-stopping error. With optional chaining, I can write:
const name = Data.person?.name;
Now if person...
Logical Assignment Operators
10.9.2020
I love JavaScript, it’s my favorite programming language, but I love dipping into other languages because they offer a new perspective on coding paradigms. There’ve been syntax additions to JavaScript that I’ve seen I found interesting (think ?? in optional chaining) and now...
Not So Private: 99% of Zcash and Dash Transactions Traceable, Says Chainalysis
10.6.2020
Chainalysis says it can track 99% of transactions involving Zcash, and almost all of Dash’s – coins that both fancy themselves as private and untraceable. Now, that’s because the majority of users do not utilize the optional privacy-enhancing features available on the...
Optional Zcash and Dash Features Prompt Debate on Privacy & Compliance
9.6.2020
Two privacy coins, Zcash (ZEC) and Dash (DASH), are now supported by blockchain and analytics specialist Chainalysis - but it's the addition of the former that caused discussions online about privacy and responsibility.
Chainalysis launched support for Dash and Zcash in their investigation...
How to Add Native Keyword Aliases to Babel
16.4.2020
Those of you who follow this blog know that not every blog post is an endorsement of a technique but simply a tutorial how to accomplish something. Sometimes the technique described is probably not something you should do. This is one of those blog posts. The Babel parser is an essential tool...
Pirate Chain Coin Now Available for Trading on Bitcoin.com Exchange, Joins New Alliance
14.2.2020
Pirate Chain (ARRR) is a privacy-focused cryptocurrency with non-optional, private-only addresses and transactions. This coin has is now available for trading to users of Bitcoin.com Exchange, soon after the team behind it joined the Blockchain Privacy, Security & Adoption Alliance. Also Read:...
GoGetSSL
26.12.2019
GoGetSSL is a company that sells SSL certificates. You know, those things that are required to make your site use https://, not http:// which doesn't feel like an optional choice these days with browsers making sites looks scarily insecure without it and search engines telling us is a ranking...
(Why) Some HTML is “optional”
16.9.2019
Remy Sharp digs into the history of the web and describes why the <p> tag doesn’t need to be closed like this:
<p>Paragraphs don’t need to be closed
<p>Pretty weird, huh?
Remy writes:
Pre-DOM, pre-browsers, the world's first browser was being written by Sir...
Some HTML is “Optional”
11.9.2019
There is a variety of HTML that you can just leave out of the source HTML and it's still valid markup.
Doesn't this look weird?
<p>Paragraph one.
<p>Paragraph two.
<p>Paragraph three.
It does to me, but the closing </p> tags are optional. The browser will detect...
Multiline truncated text with “show more” button
4.9.2019
Now that we've got cross-browser support for the line-clamp property, I expect we'll see a lot more of that around the web. And as we start to see it more in use, it’s worth the reminder that: Truncation is not a content strategy.
We should at least offer a way to read that that truncated content...
Collective #544
29.8.2019
SVG Artista * Optional chaining * Color Palette Generator * Label Studio * Perfect loops in Processing
Collective #544 was written by Pedro Botelho and published on Codrops
Optional Chaining
29.7.2019
For all of the improvements that the JavaScript language has added over the past few years, like the spread operator, default argument values, and arrow functions, there are still a few features I’d love to see implemented. On such feature is optional chaining. Optional chaining allows...
Responsive Designs and CSS Custom Properties: Building a Flexible Grid System
26.2.2019
Last time, we looked at a few possible approaches for declaring and using CSS custom properties in responsive designs. In this article, we’ll take a closer look at CSS variables and how to use them in reusable components and modules. We will learn how to make our variables optional and set fallback...
Fighting FOIT and FOUT Together
19.12.2018
Lots from Divya with the setup:
There are 2 kinds of problems that can arise when using webfonts; Flash of invisible text (FOIT) and Flash of Unstyled Text (FOUT) ... If we were to compare them, FOUT is of course the lesser of the two evils
If you wanna fight FOIT, the easiest tool is...
3 Useful TypeScript Tips for Angular
4.6.2018
These are the 3 tips I found pretty handy while working with Typescript:
Eliminating the need to import interfaces
Making all interface properties optional
Stop throw
Přednáška o metaprogramování ve Swiftu
11.5.2018
Určitě jste již zažili error “Unexpectedly found nil while unwrapping an Optional value”, když jste se pokoušeli inicializovat UIImage pomocí názvu obrázku, ve kterém jste měli překlep. Nebylo by fajn mít statickou množinu…