Dexter  Goodwin

Dexter Goodwin


The Most Unique Lens You've Never Heard Of

Lenses are used in functional programming, and you’re probably using them without noticing!


As per the metaphor, a lens allows us to focus on a specific part (U) of a larger object (V)


What is GEEK

Buddha Community

The Most Unique Lens You've Never Heard Of
Dexter  Goodwin

Dexter Goodwin


The Most Unique Lens You've Never Heard Of

Lenses are used in functional programming, and you’re probably using them without noticing!


As per the metaphor, a lens allows us to focus on a specific part (U) of a larger object (V)


Elisa  Marks

Elisa Marks


Python built-in len() Function Example

You can use the len() function to any iterable objects. It returns an integer which is the length of that iterable object.

Python len Example

Python len() is an inbuilt function that returns the length of any iterable objects. It returns the no. of characters of String; it returns the total number of items of list or dictionary.

The syntax of the Python len function is the following.

len(any iterable object)

An only required argument is an iterable object which can be a list, string or dictionary.

#python #len() function #python len

How to Simple Image Magnifier using JavaScript & CSS

How to Simple Image Magnifier using JavaScript & CSS

Image Magnifier plays an important role in any website. Image Magnifier JavaScript can be used to zoom an image.

Most developers use jquery to create image magnifier glasses. In this tutorial, I will show you how to make an image magnifier using HTML CSS, and JavaScript.

Earlier I created another image zoom effect using JavaScript. However, if you want to zoom the image with the help of a magnifier glass, then this design is for you.

Here you can see a magnifier glass and the image can be zoomed in. In the case of different types of e-commerce sites or online service websites, this type of JavaScript image magnifier zoom is used to better zoom the image of the product.

Image Magnifier HTML CSS JavaScript

You will find many types of tutorials on the internet to create this design. But here I will show you how to make it easy and how to implement it in your project. With this, I will provide you complete source code.

Here you will find a live demo and step-by-step tutorial on how to make a simple JavaScript image magnifier glass. So this is a complete tutorial where you can learn how to make an image magnifier using HTML, CSS, and javascript.

Now if you want to create this magnify image on hover using JavaScript then follow the tutorial below. Of course, if you want, you can download it using the download button above the source code.

Step 1:

The basic structure of the Image Magnifier

Using the following HTML and CSS codes, a box was first created on the web page for this image magnifier HTML. You can see the image in this box. Here the width of the box: 650px, height: 400px has been used. It is surrounded by a 5px border.

<div class=”container”>
html {
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
  min-width: 700px;
  background: rgb(202, 201, 201);
.container {
  width: 650px;
  height: 400px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 5px solid rgb(244, 254, 255);
basic structure of the Image Magnifier

Step 2:

Add the image to the magnifier glass

Now an image has been added to this Simple Image Magnifier project. Here you can use the image of your choice.

<div id=”zoom”>
  <img src=”” alt=””>
#zoom img{
  width: 650px;
  height: 400px;
Add the image to the magnifier glass

Step 3:

Design magnifier lens by CSS

Now Magnifier glass has been created in which the image can be seen by zooming. I will add this element by JavaScript. Now I am just designing.

#lens {
  position: absolute;
  border: 2px solid grey;
  border-radius: 50%;
  overflow: hidden;
  cursor: none;
  box-shadow: inset 0 0 10px 2px grey;
  filter: drop-shadow(0 0 2px grey);
#lens > * {
  cursor: none;

Step 4:

Activate Image Magnifier using JavaScript

This CSS image magnifier glass needs some amount of JavaScript to work. No jQuery or external library was used. So if you know basic JavaScript you can build it.

//lensSize => width and height
const lensSize = 200;
function magnify(id, zoom){
  const el = document.getElementById(id);
//cloneNode() method creates a copy of a node, and returns the clone
  const copy = el.cloneNode(true);
//createElement() method creates the HTML element specified by tagName
  const lens = document.createElement(“div”);
//setAttribute() Sets the value of an attribute on the specified element
  lens.setAttribute(“id”,”lens”) = lensSize + “px”; = lensSize + “px”;
//appendChild() method is used to insert a new node
//getBoundingClientRect() method returns the size of an element and its position
  el.getBoundingClientRect(); = zoom;
  lens.appendChild(copy); = (el.offsetWidth * zoom) + “px”; = (el.offsetHeight * zoom) + “px”; = “absolute”;
//MouseMove is executed when a pointer is moving over an element
  el.addEventListener(“mousemove”, (ev) => {
//preventDefault() method stops the default action of a selected element
    const pos = getCursorPos(ev); =  – (lensSize/2) + pos.x + “px”; = – (lensSize/2) + pos.y + “px”; = – (pos.x – el.offsetLeft) + (lensSize/zoom)*0.5 + “px”; = – (pos.y – el.offsetTop) + (lensSize/zoom)*0.5  + “px”;
  function getCursorPos(e) {
    var x = (window.Event) ? e.pageX : event.clientX + (document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft);
    var y = (window.Event) ? e.pageY : event.clientY + (document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop);
    return {x : x , y : y};
//zoom value
magnify(“zoom”, 4)
image magnifier javascript

JavaScript image magnifier glass plays a very important role in any website. If you need to zoom any image in your project then you can use this type of image magnifier javascript.

Original article source at:

#javascript #css #image 

Crypto Like

Crypto Like


What is Unique Photo (FOTO) | What is Unique.Photo token | What is FOTO token

The World’s First Decentralised NFT Photography Marketplace

From the team that brought you  Unique.One, the world’s only next-generation, purely decentralized NFT Art Marketplace, comes Unique.Photo, the world’s first decentralised NFT Photography Marketplace.

Unique.Photo is a permissionless photography NFT platform with the same ethos as Unique.One —_ A platform for the community, by the community._

Unique.Photo aims to hand autonomy and full commission back to photographers — eliminating the massive cut taken by traditional photography platforms.

Like Unique.One, Unique.Photo incentivises photographers instead of profiting off of them.

Photographers are not charged fees to sell their work — they are rewarded.

Image for post

Unique.Photo Photography Platform Introduction

Unique.Photo gives power back to photographers

Online photography platforms have always taken the greater share of image sale revenue. Adding to the challenges of tracking copyright infringement, Big Photo has made it increasingly more difficult for photographers to secure and control their income.

Meager profit margins on the photographer’s end don’t reflect discounts for the buyer — They mean large profits for the middleman.

Unique.Photo aims to solve this problem by introducing an open, decentralised trading platform accessible to all and scalable to accommodate the growing trend of independent creators and peer-to-peer transactions in the digital art marketplace.

Free of centralization and intermediary selection policies, Unique.Photo puts commissions back into the hands of the creators with no middlemen to leach revenue. And photographers get paid immediately upon sale — no long waiting periods for platform payouts from bulk sales on Big Photo platforms.

Verifiable and immutable provenance

Any photograph displayed in digital format can be also tokenized — “minted” as a Non-Fungible Token (NFT).

An NFT is a unique token on the blockchain that can be attached to any asset to verify its authenticity and ownership. Each NFT contains immutable identifying information stored in its smart contract and recorded on its blockchain.

Tokenized artwork is bought, sold, traded, and commissioned in cryptocurrency, which can then be converted to fiat currency such as Euros, USD, Yen, etc.

Any photographer can choose to digitize their work, tokenize it, and prove ownership, which introduces provenance into the digital image space. This means that digital photographs can be authenticated, and ownership can be verified and tracked — creating value.

Tokenized digital art has already established accessible and fluid global markets. NFTs linked to digital content can confer ownership rights such as:

  • The right to own
  • The right to sell
  • The right to lend
  • The right to royalties
  • The right to confer reuse

These secondary markets for digital content in the form of NFTs present an unprecedented opportunity for Photographers, Artists, Creators, Buyers, Sellers, Traders, Collectors, and Fans.

Photographers should be paid for their work

There is consistent global demand for stock images. The market is estimated to increase at a compound annual growth rate of 8%. This would seem like great news for photographers if the playing field were fair.

Poor profit margins, theft, and illegal use outside of intended licensing leave photographers with the short end of the stick.

It’s estimated that roughly 85% of images used or downloaded today are either unlicensed or used illegally — Images are stolen, copied unlawfully, and even used commercially without remuneration.

Photographers can track unlicensed use and theft

The time, money and legal power required to track down and punish copyright infringement are formidable for most creators. There is always legal risk as well — if you lose your case, you’re stuck with the legal fees.

Unique.Photo solves this problem. The blockchain provides creators and buyers with an immutable record available to all users to assert their rights.

On Unique.Photo, photographers can control their own commission, royalties, and licensing. Not only does this prove provenance for photographers, but it makes it easier for buyers to understand how they can legally use an image. And it’s all immutably recorded on the blockchain.

User-friendly platform

Unique.Photo is committed to educating users unfamiliar with blockchain. Once photographers learn how easy it is to mint their work as NFTs, they can realize new opportunities to increase revenue.

Our mission is to make these opportunities accessible to photographers who may not be familiar with blockchain in a user-friendly environment.

Photographers can choose their own license type, royalties, and selling price — build their portfolio and network for maximum exposure.

Sales of all photographic art mediums

Print and canvas physical products can be added to NFT sales as “unlockable content.” Unlockable content is anything the photographer wants to include in the sale upon purchase of the NFT. This allows photographers to leverage exposure on the platform to sell their images in any medium they choose.

NFTs with unlockable content can be priced however the creator chooses to include the sales price of the unlockable content itself. Photographers can even dictate license types for different mediums. This flexibility allows photographers to reach unlimited physical product markets.

Introducing the $FOTO family

$FOTO tokens represent being part of the Unique.Photo family. HODLers get special privileges.

  • Ability to vote on governance decisions
  • Ability to vote in contests
  • Ability to mine $FOTO as a liquidity provider
  • Ability to receive future token airdrops

Why are $FOTO tokens valuable?

$FOTO is a token created on the Ethereum blockchain to govern the ecosystem of the Unique.Photo platform — from NFT Creation Mining to Liquidity Pools, and the Unique.Photo DAO.

$FOTO has a Fixed Total Supply Token Model — Only 100 million $FOTO tokens will ever be created.

Image for post

$FOTO Token Emission Graph

Net-Zero Platform Fees

For collectors/buyers only, the Unique.Photo platform charges a 2.5% platform fee.

100% of the platform fees are used to buy back $FOTO from the market and burn it — to reduce the circulating supply and create more value for $FOTO token Hodlers.

How Unique.Photo rewards photographers

The majority of existing digital art NFT platforms charge creators for publishing their work which takes a big cut of their sales proceeds.

Unique.Photo believes that the efficiency afforded by NFT technology renders creator fees unnecessary.

Unique.Photo has several $FOTO token reward programmes available to users of the Unique.Photo platform. More than 50% of the supply, i.e., 50,000,000 $FOTO tokens, are reserved for rewarding the community.

Due to the success of our Unique.One rewards structure and the positive feedback from the Unique.One $RARE community, the Unique.Photo rewards structure is based directly upon the Unique.One model.

💫Creation Rewards

Any NFT created natively on the Unique.Photo platform is eligible for a reward share of $FOTO tokens.

Unique.Photo is the first platform to reward photographers for publishing their photography in a digital marketplace.

10% of the $FOTO token supply is reserved for photographers that mint NFTs.

💫Transaction Rewards

Every buy/sell transaction on Unique.Photo is eligible for the $FOTO Transaction Mining reward.

Users (Buyers and Sellers) of the platform are incentivised with $FOTO tokens based on transaction count.

This reward is shared amongst all the Buyers and Sellers.

💫Volume Rewards

Every buy/sell transaction on Unique.One is also eligible for $FOTO Volume Mining Rewards.

Users (Buyers and Sellers) of the platform are incentivised with $FOTO tokens based on the value of each transaction.

Volume Mining rewards are shared amongst all the Buyers and Sellers.

(Volume Mining Rewards are calculated separately from Transaction Mining Rewards.)

Image for post

$FOTO Token Distribution Graph

How to get $FOTO tokens now?

There are currently only two ways to get $FOTO.

1 — Unique.One 52 Card Deck with Unlockable $FOTO airdrops

The First Edition Gold, Silver, and Bronze NFTs from the Unique.One RARE LIMITED EDITION 52 Card Deck Project*are _now on sale_** on the Unique.One NFT Digital Art Marketplace — with special unlockable content which includes $FOTO token Airdrops upon purchase.

*👉🏼The 52 Card Deck is an artist’s incentivisation project. The Unique.One community commissions budding artists with the opportunity to get paid for their work. Any artist can apply for a commission for the 52 Card Deck Project.

**👉🏼_$RARE Creation and Sales Rewards for NFTs minted for the RARE LIMITED EDITION Collection are added to the community reward pool and distributed to the community. Unique.One will not take any $RARE rewards for the Creation and Primary or Secondary Sales (no royalties) of its own NFT collection._

2 — $FOTO Airdrop for all $RARE Holders

Unique.One wants to share the ❤️ with the early adopters that kickstarted this movement of anti-VC community-run art marketplaces.

HODL $RARE for $FOTO Airdrops

All $RARE holders using non-custodial wallets* and LPs on Balancer and Uniswap will receive direct $FOTO token airdrops from the project.

  • 👉🏼_Airdrops to wallets held by central exchanges, such as BiKi accounts, will be received from the exchange._

A snapshot will be taken randomly every day starting February 12 through February 28 and averaged for the airdrop upon Launch.

In keeping with the Unique.One ethos, Unique.Photo will have a fair launch.

Stay tuned for more announcements on Unique.Photo and $FOTO token Launch, Liquidity Mining, Staking, Airdrops, Contests, Bounties, and more.

Why are $FOTO tokens valuable?

$FOTO is a token created on the Ethereum blockchain to govern the ecosystem of the Unique.Photo platform — from NFT Creation Mining to Liquidity Pools, and the Unique.Photo DAO.

$FOTO has a Fixed Total Supply Token Model — Only 100 million $FOTO tokens will ever be created.

$FOTO tokens represent being part of the Unique.Photo family. HODLers get special privileges.

  • Ability to vote on governance decisions
  • Ability to vote in contests
  • Ability to mine $FOTO as a liquidity provider
  • Ability to receive future token airdrops and rewards

5M $FOTO Tokens Were Airdropped to all $RARE Holders on March 1st

On March 1, 5 million $FOTO tokens were airdropped to all circulating $RARE holders, both wallets and LPs.

Now all Unique.One users can claim $RARE and $FOTO rewards directly from their Profile Dashboard.

Airdrops are currently claimable on your Unique.One Marketplace Dashboard.

How to claim your $FOTO and $RARE airdrops and rewards:

  1. Navigate to the Unique.One Marketplace.
  2. Connect your Web 3 wallet
  3. Go to your profile
  4. You will see the tokens claimable.

Image for post

NEW! 5 Million $FOTO Airdrops for $FOTO and $RARE LPs!

Unique.One and Unique.Photo now offer even more innovative and exciting opportunities to earn with new $RARE and $FOTO token Liquidity Pools.

  1. **10,000 $FOTO/day — RARE-ETH Uniswap Pool, March 1-May 31 **
  2. **10,000 $FOTO/day — RARE-ETH Balancer Pool, March 1-May 31 **
  3. **30,000 $FOTO/day — RARE-FOTO Uniswap Pool, March 1-May 31 **
  4. **10,000 $FOTO/day — FOTO-ETH Uniswap Pool, March 1-March 31 **

👁 Original $RARE LP rewards on both Uniswap and Balancer will also maintain its current 2200 $RARE/day on Uniswap and 1000 $RARE/day on Balancer.

Helpful Information

$FOTO Token Contract
$RARE Token Contract
How to purchase $RARE on Uniswap
Go to
Provide Liquidity on Balancer for $RARE rewards
Provide Liquidity on Uniswap for $RARE rewards
Uniswap Charts
$FOTO is now available on Uniswap, SakeSwap, and BiKi exchange. All details are listed below.
$FOTO Token Contract
$RARE Token Contract
How to get $FOTO and $RARE on Uniswap
Go to
How to get $FOTO on SakeSwap
How to get $FOTO and $RARE on BiKi Exchange

Would you like to earn TOKEN right now! ☞ CLICK HERE

How and Where to Buy Unique Photo (FOTO)?

FOTO has been listed on a number of crypto exchanges, unlike other main cryptocurrencies, it cannot be directly purchased with fiats money. However, You can still easily buy this coin by first buying Bitcoin, ETH, USDT from any large exchanges and then transfer to the exchange that offers to trade this coin, in this guide article we will walk you through in detail the steps to buy FOTO

You will have to first buy one of the major cryptocurrencies, usually either Bitcoin (BTC), Ethereum (ETH), Tether (USDT)…

We will use Binance Exchange here as it is one of the largest crypto exchanges that accept fiat deposits.

Binance is a popular cryptocurrency exchange which was started in China but then moved their headquarters to the crypto-friendly Island of Malta in the EU. Binance is popular for its crypto to crypto exchange services. Binance exploded onto the scene in the mania of 2017 and has since gone on to become the top crypto exchange in the world.

Once you finished the KYC process. You will be asked to add a payment method. Here you can either choose to provide a credit/debit card or use a bank transfer, and buy one of the major cryptocurrencies, usually either Bitcoin (BTC), Ethereum (ETH), Tether (USDT)


Step by Step Guide : What is Binance | How to Create an account on Binance (Updated 2021)

Next step - Transfer your cryptos to an Altcoin Exchange

Since FOTO is an altcoin we need to transfer our coins to an exchange that FOTO can be traded. Below is a list of exchanges that offers to trade FOTO in various market pairs, head to their websites and register for an account.

Once finished you will then need to make a BTC/ETH/USDT deposit to the exchange from Binance depending on the available market pairs. After the deposit is confirmed you may then purchase FOTO from the exchange.

Exchange: Uniswap, SakeSwap, and BiKi exchange

Apart from the exchange(s) above, there are a few popular crypto exchanges where they have decent daily trading volumes and a huge user base. This will ensure you will be able to sell your coins at any time and the fees will usually be lower. It is suggested that you also register on these exchanges since once FOTO gets listed there it will attract a large amount of trading volumes from the users there, that means you will be having some great trading opportunities!

Top exchanges for token-coin trading. Follow instructions and make unlimited money

Find more information FOTO

WebsiteExplorerSocial ChannelSocial Channel 2Social Channel 3Social Channel 4Coinmarketcap

Thank for visiting and reading this article! I’m highly appreciate your actions! Please share if you liked it!

#bitcoin #crypto #unique photo #foto

Top Reason Bull Market Never Stops! (2021 Billionaires Buying Bitcoin)

Around the Blockchain is your favorite Cryptocurrency show discussing Bitcoin, Ethereum, Cardano, and the top altcoins. Our four crypto experts include Crypto Jebb, Johhny Crypto, Spencer Tarring, and Austin from Altcoin Daily. Tune in for their insightful crypto analysis!

Today we’ll be discussing the hyper-Bitcoinization of the globe. The country’s 2nd oldest bank with trillions under management is investing in Bitcoin. Finally, has one of Bitcoin’s most respected critics, Warren Buffett, flip-flopped on Bitcoin?

📺 The video in this post was made by BitBoy Crypto
The origin of the article:
🔺 DISCLAIMER: The article is for information sharing. The content of this video is solely the opinions of the speaker who is not a licensed financial advisor or registered investment advisor. Not investment advice or legal advice.
Cryptocurrency trading is VERY risky. Make sure you understand these risks and that you are responsible for what you do with your money
🔥 If you’re a beginner. I believe the article below will be useful to you ☞ What You Should Know Before Investing in Cryptocurrency - For Beginner
⭐ ⭐ ⭐The project is of interest to the community. Join to Get free ‘GEEK coin’ (GEEKCASH coin)!
☞ **-----CLICK HERE-----**⭐ ⭐ ⭐
Thanks for visiting and watching! Please don’t forget to leave a like, comment and share!

#bitcoin #blockchain #2021 billionaires buying bitcoin #top reason bull market never stops #top reason bull market never stops! (2021 billionaires buying bitcoin)