Search

Nalezeno "Array": 89

The Future of Ethereum in a Meme: Ultrasound Money


The “ultrasound money” meme has been running in Ethereum based circles for some time, gaining momentum as the asset rises and rises in value during this bull market. While it is considered a joke by many, like a myriad of memes, it hides a very complex array of factors that contribute...

Return a Default Value with Promises Using catch


Last week I tweeted all of you looking for your best JavaScript Array and Promise tricks, and as always, it didn’t disappoint — I learned quite a bit! Today’s JavaScript Promise trick is brought to you by Claudio Semeraro: how to use catch to set a default value instead of...

Break a forEach Loop with JavaScript


I’ve written a number of blog posts about JavaScript tricks: Promise tricks, type conversion tricks, spread tricks, and a host of other JavaScript tricks. I recently ran into another JavaScript trick that blew my mind: how to break a forEach loop. To break the forEach loop at any point,...

Change vs. Inertia


Recently, I’ve become more deeply aware of the inherent tension between change and inertia, as it applies to the evolution and use of web technologies. These forces have always been present and opposed to each other, but it seems to me that the side effects of these collisions are impacting...

Promise.allSettled


The Promise object has many useful functions like all, resolve, reject, and race — stuff we use all the time. One function that many don’t know about is Promise.allSettled, a function that fires when all promises in an array are settled, regardless of whether any of the promises...

Rumors of Bitcoin’s Death Are Greatly Exaggerated


According to the Bitcoin Obituary Page, Bitcoin died 379 times between 2010-2019 of an astonishing array of causes. The number is undoubtedly understated since it is based on a limited sample of obituaries. Despite the glee with which the corpses of Bitcoin are contemplated, however, cryptocurrency...

What’s at Stake With Masternode Coins?


“Masternode” is a term that echoes less often in the cryptosphere these days, but not because user-controlled nodes have fallen out of favor. Rather, the nomenclature has shifted, with “staking” now used to describe the array of blockchains that fall under this banner. As...

Conceal and Reveal: The Evolution of Privacy Coin Technology


Privacy can assume many forms and occur on many levels. The technologies that blockchain architects originally envisioned for privacy coins are now being utilized by an array of crypto stakeholders, from enterprises to exchanges. What began as a means of transacting anonymously has spawned...

Jaké novinky přinese PHP 7.4


Vydání PHP 7.4 je plánováno na 28. listopadu 2019. Přináší hromadu zajímavých věcí - Typed Properties, Array Functions, Preload, FFI a pár dalších vylepšení. Sice přibyly i nějaké deprecations, ale typicky se týkají podivného chování, takže upgrade by měl být snadný

5 Educational Resources That Will Level up Your Cryptocurrency Knowledge


Crypto is a constant learning curve. Keeping pace with developments in bitcoin, blockchain, and the ever-evolving cryptocurrency ecosystem feels like a full-time job, and that’s just for experienced heads. For novices, it’s tough enough working out where to even start. While crypto...

Using requestAnimationFrame with React Hooks


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...

The Most Important Aspect of Bitcoin Is the Separation of Money and State


Many cryptocurrency supporters believe the technology allows for the separation of money and state in a manner that’s never been seen before. Governments inflict two forms of robbery against nonviolent citizens by forcing them to pay taxes while also stealing from them silently through...

All the New ES2019 Tips and Tricks


The ECMAScript standard has been updated yet again with the addition of new features in ES2019. Now officially available in node, Chrome, Firefox, and Safari you can also use Babel to compile these features to a different version of JavaScript if you need to support an older browser. Let’s look...

Five of the Most Important Use Cases for Cryptocurrency


Crypto assets have come a long way since Bitcoin. What started out as a P2P payment system has spawned an array of use cases that extend far beyond the original designation of cryptocurrency. While the primary function of crypto assets such as ETH and BTC is a matter of some debate, what’s...

Level up your .sort game


Sorting is a super handy JavaScript method that can display the values of an array in a certain order. Whether that’s real estate listings by price, burger joints by distance, or best nearby happy hours by rating, sorting arrays of information is a common need. If you’re already doing this with...

Using the Grid Shepherd Technique to Order Data with CSS


Shepherds are good at tending to their sheep, bringing order and structure to their herds. Even if there are hundreds of those wooly animals, a shepherd still herds them back to the farm at the end of the day. When dealing with data, programmers often don't know if it is correctly filtered...

Recursive Array.flat


There was much talk about Array.prototype.flat during its early stages, starting with the name alone. Many developers preferred the name flatten but the spec differed from MooTools’ implementation. MooTools would recursively flatten an array but the new, official flat implementation was only...

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