fabiochiu/medium-articles huggingface dataset:
Knowledge Update
Tags: Knw Token, Ethereum, Blockchain, Bitcoin, Knw

Knowledge Update

Thursday, August 23, 2018

It’s been an exciting few weeks for the Knowledge team!

Development of the Knowledge Ecosystem has continued to grow with the official release of the Knowledge Account v1.0. KNW Tokens will be live for trading on LATOKEN exchange on August 29th, Knowledge’s first supported exchange listing.

The KnowledgeBot BETA Pilot Program has continued to swell to an audience network of 300,000 Telegram users, across over a dozen blockchain focused Telegram groups and channels. Official announcement of the KnowledgeBot BETA Pilot is slated for this upcoming week. TriviaSpar is soon to be KNW Token integrated, enabling players to earn the KNW Token as a reward for their engagement in the app.

Knowledge Account v1.0 is Live! 5 KNW Token sign up reward.

The Knowledge Account v1.0 is launching with all the functionality outlined in our overview guide, including the Knowledge Score ALPHA, Knowledge Rewards and the Knowledge Profile.

To register for a Knowledge Account, and earn a 5 KNW token sign up reward, follow this link: https://account.knowledge.io/sign-up/

Read the full Knowledge Account v1.0 Release Announcement: https://medium.com/knowledgeio/knowledge-account-v1-0-is-live-5-knw-sign-up-reward-af9b428d8ec2

LATOKEN Lists Knowledge (KNW), Trading Opens August 29th

KNW TOKEN will soon be available for trading on LATOKEN exchange. LATOKEN is a rapidly growing crypto exchange focusing on liquidity for new tokens.

We are excited about this partnership, and look forward to the next step of LATOKEN’s support for KNW.

August 24–27 — KNW Token deposits will open on LATOKEN

August 29 — KNW Token trading goes live on LATOKEN

Don’t have an LATOKEN account? Sign up here: http://bit.ly/2PfFWIN

The KnowledgeBot BETA Pilot, Official Announcement Coming Soon

The KnowledgeBot is currently serving over 20 quizzes daily, across over a dozen groups, to over 300,000 Telegram users. With over 6,000 questions answered thus far, the KnowledgeBot has proved to be a highly engaging social media tool, and highly stable as it’s been scaled to hundreds of thousands of users in less than 2 months of the pilot program beginning. Due to the initial success of the KnowledgeBot BETA Pilot, a new initiative has been launched by Knowledge and will be announced next week along with the KnowledgeBot.
What is a bijection?
By: Siki Wang
Tags: Numbers, Computer Science, Mathematics

A bijective function is both injective and surjective.

A function f is injective, if for every y, there exists at most one (≤ 1) x such that f(x) = y.

In other words, for any y in the codomain, there could either be a unique x such that f(x) = y, or there could be none.

The number of x-s that are mapped to y1, y2, y3, y4 are 1, 1, 1, and 0, respectively.

A function f is surjective, if for every y, there exist at least one (≥ 1) x such that f(x) = y.

In other words, for any y in the codomain, there could be x₁, x₂, x₃,… such that f(x₁) = f(x₂) = f(x₃) = y. There can be arbitrarily many of such x, but there needs to be at least one.

There is only 1 x that gets mapped to y1, but there are 3 x-s that are mapped to y2.

We say a function f is bijective, iff it is both injective and surjective. According to the definitions above, it means that for every y in Y, the number of x that satisfy f(x) = y is both ≤ 1 and ≥ 1. Hence, there could only be one of such x.

Now, we give the definition of bijectivity:

A function f is bijective, if for every y in Y, there exists exactly one (=1) x such that f(x) = y.

Note:
Sprung Slats
By: Bogdan Tiganov
Tags: Modern Slavery, Poetry, Workplace, Poetry On Medium, Ecommerce

Four years of

flogging cheap

Chinese furniture

at discounted prices,

slaving to

dirty e-commerce,

creating thousands

of dead listings,

building countless websites

for traditional beds

contemporary beds

traditional sprung

mattresses and

memory foam,

more, how many

more — work faster.

Publish.

Waiting outside the office

with heart palpitations,

my friend saying he’d

become an alcoholic —

he looks broken, or

is that me.

There is no escape,

nowhere to go,

no time to think

or breathe, staring

out the window

in the toilets watching

the train going by,

taking my heart out,

filling my gob

with sugar and

salt and gallons of

coffee.

Holding on to the bed

at night, shaking,

saying to my wife

I can’t do this anymore,

I’m not going back,

then doing it,

sprung slats,

and every day

there was a little less

and a little less

until there was nothing,

then doing it.
Beautiful Wings Fly Faster
By: Desiree Driesenaar
Tags: Beauty, Nature, Heart, Life, Birds

Beautiful Wings

Designed to be perfect,

to keep me afloat.

In gusts of strong wind,

they can carry my load.

My colorful body

just fits with my food.

Two shades of orange

match with my hood.

My tail is for balance,

my claws try to grab.

My beak scored a berry

with one little stab.

But my wings are the wonder

of engineering so smart.

Their white reflects light

and touches your heart.

My beauty flies faster

than angels can cry.

But to mention one flaw,

my birdsong’s still shy.
Calculate Number of Working Days Till Current Time in SQL
By: Barnabás Nagy
Tags: Datetime, Sql

Let’s say we have a datetime column and want to calculate the number of working days till the current time.

At first spot it seems like an easy thing, as SQL has the DateDiff function. However, it does not exclude the weekends:

The timezone issue and fraction of days

For better monitoring I prefer to see the fraction of days as well. So let’s calculate it to hour precision.

However, there is a big possibility of wrong calculation that we haven’t aligned the timezones. It could cause issues when the TimeStamp datetimes were stored in different timezone than the SQL Server’s timezone — or even the TimeStamp values have several unkown different timezones. The best and easier solution is to use everywhere one timezone — the UTC. This means we need to start storing the TimeStamp values in UTC when we update the table.

If this is all set, we can safely use GETUTCDATE() to getting current date and time:

This is better (and safer) but it still doesn’t exclude the weekends.

Exclude the weekends

Let’s calculate number of weekends between the two dates and subtract from the number of working days:

Remove leading weekend and add trailing working day

To get the precise working day, we need to subtract he first or last day fractions if those are Saturday or Sunday.

If the TimeStamp is on Sunday, the hours between the next midnight and the TimeStamp have to be subtracted:

DATEADD(d,1,DATEDIFF(d,0,TimeStamp)) as nextmidnight, DATEDIFF(HOUR, TimeStamp, DATEADD(d,1,DATEDIFF(d,0,TimeStamp))) as minusHoursIfSunday

If the current time is on Saturday, the hours between previous midnight and the current time have to be subtracted:

DATEADD(d,0,DATEDIFF(d,0,GETUTCDATE())) as prevmidnight, DATEDIFF(HOUR, DATEADD(d,0,DATEDIFF(d,0,GETUTCDATE())), GETUTCDATE()) as minusHoursIfSaturday

Adding these cases to the WorkingDays compute:

Final query

Let’s remove all calculation columns and see the cleared up final query for calculation working days with fractions:
Use Node.JS as a Web Server
By: Hussain Arif
Tags: Node, Programming, Nodejs, JavaScript, Coding

Photo by Caspar Camille Rubin on Unsplash

Use Node.JS as a Web Server

HTTP Server with Core HTTP in Node.JS

In this article, we will discuss about using the Node.JS API to handle basic server functions like GET and POST. An even simpler way to write server code is through a framework called express (update: I’ve used express framework here.) I will write tutorials about that in the coming articles when we get the core idea on handling basic web server functions

To create a web server with the HTTP module in the Node JS engine, we need to use the following method:

http.createServer(callback)

Here, the callback will take two arguments; a request and a response. The request argument will send data from the client to the server so that the data can be processed, after which the response is sent to the client from the server.

The most basic example can be:

The code can even be further shortened. You can replace res.write() and res.end() with :

res.end('Hello World') //Write response AND then end it

Run the code through the command line. If you don’t get any words printed on the terminal, that’s normal. You should get your result by going to your browser and typing: localhost:3000

And the words ‘Hello World’ will be printed out on the screen
The Best Front-End Hacking Cheatsheets — All in One Place
By: Indrek Lasn
Tags: Programming, JavaScript, Software Development, Web Development, Tech

GraphQL

Missing your favorite cheatsheet? Please let me know in the comments!

The best way to keep up to date with my content is through my newsletter. Be the first one to get notified.

my newsletter. Be the first one to get notified.

Thanks for reading, stay awesome! ❤
Warning: In my Most Controversial and Potentially Dangerous Installment of the Words to Know Series
By: Jessica Bugg
Tags: Linguistics, History, Spirituality, Astrophysics, Religion

Warning: In my Most Controversial and Potentially Dangerous Installment of the Words to Know Series

I am covering the concept of Christian salvation and what the Words Mean; warning it may change your perspective on eternity, sin, and free will.

Photo courtesy of Unsplash

I debated writing under a pen name or perhaps making it work or fiction, however, after going under advisement with some of my closest personal advisors, I will be writing what the Words Mean under my name.

The Topic Is Too Controversial Yet I Write Anyway

The topic is core shaking and challenges the very fabric of the Christian dogma and tradition we know to be true. I have tried to interpret the words and meanings in any other way possible but I must reconcile myself to the fact that the findings are true and accurate. More than anything, I pride myself on showing the truth in the Words to Know series.

The Study

At the root of our study is a consummate history of the Christian God Yahweh or El (there are ten other names we will go over in the series as well) and how we may have not been told the full story of creation and why Salvation through the crucifixion or Blood Atonement was necessary, and most importantly, the eternal implications of Salvation.

Much of what I have found through extensive readings, linguistic studies, interviews, and a cohesive look at world religious texts both ancient and modern piece together a very different picture from what we know to be true.

The concept of Christian salvation may be the most elaborate trick in the universe designed to trap the power of the human soul through spiritual contract all done through euphemistic writing.

The findings of my research for the series contradict the very fiber of what I was raised to know, believe, and accept; and it contradicts and threatens what millions of practitioners around the world follow.

DISCLAIMER:

I do not wish to hated or persecuted for my findings or ostracized. But I have a moral obligation to write what the Words Mean with no bias in order to present the truth. Not what I want it to be, not what my readers want it to be, but the truth.

Please do not be too harsh when this is exposed. I am not in any way trying to degrade or bash anyone’s beliefs or religious practices, but once you know what the Words Mean, you may have a different perspective on eternity, sin, and the concept of free will.

I know I do.
Bitfolio — March update
By: Francesco Pretelli
Tags: Blockchain, iOS, Cryptocurrency, Apps, Bitcoin

Wow, what’s happening to the crypto world? 🙈

It seems that after that insane run, we are having that long awaited correction, it’s a really good opportunity to buy and invest when the numbers are so low.

On the Bitfolio side, we have a big update coming out soon, and a very exciting news: development on the Android version has started! 🙌

The (still-low) numbers of March

4000 monthly active users

350 daily active users

1800 sessions per day

50 new daily users

We were honestly expecting this, due to crypto prices falling and less users investing.

What’s new

We are adding support for multiple portfolios from version 2.3.0!

In version 2.2.0 we added a different way to calculate percentage gains for exchange transaction, refer to our FAQs to understand what this means exactly for you.

Also new:

Historical trends

More portfolio insights

Coinmarketcap support

BTC value

Coming in future updates

More requested features are coming in future updates, such as:

Android version 😱

Exchange sync

In app news

Live tickers

Reports

And much more, check out the Bitfolio roadmap on trello, you can vote on your favorite feature and keep an eye on the development. 👍

Useful Links

Thank you ❤️

We’ve received a lot of feedback and we love it, please keep it going, keep sending feature requests and if you see a bug or an issue, send a complaint! (but please don’t be rude 😉).

Please consider sharing Bitfolio with your friends and coworkers, it would help us tremendously.

Again, thank you ✌️

Francesco
How to Understand if a Photo Works
By: Gianluca De Dominici
Tags: Instagram, Tips, Editing, Photography, Art

How to Understand if a Photo Works

From a professional photographer.

Photo by Soragrit Wongsa, from Unsplash.

We live in images.

Today, if you don’t have a camera or a smartphone, you can’t spin the round of social games.

Like never before, images define us and our approach to reality.

For this reason, standing out for photographers became harder than ever before. We have to concentrate all human forces on creating a photo.

S uperficiality — insufficient research — can become an impediment to success.

Fortunately, we can check our work with different methods to understand if a photo works. I often use three top methods for my photo production.
Circle of life
By: Dr Bhupesh Gupta
Tags: Circle Of Life, Haiku, Blood Relationships, Daddy, Loved Ones

As a child when I used to hug my father, my arms were not long enough to encircle his broad chest completely. As the years passed by, my circle around him grew and I got used to the warm and cushioning effect of his body.

Then a day came when I hugged him for that last time. Feeling his ribs against my chest and the shallowness of his breath I just sensed that the time has come to let him go. As I pressed further against him I realized that my arms were encircling him more than fully. At that point, I wished if I could melt into him or him into me. Don’t know what happened that day, but as of today I feel very full and sometimes even overflow.
NUEVA ECONOMÍA LAC
By: Lac Coins
Tags: Economia, Criptomoeda, Criptomonedas

LACCOIN (LAC) is an Ethereum backed cryptocurrency that enables the banked, unbanked and underbanked individuals who are in Latin America and Caribbean region to send money and microloans to each other with their mobile wallet or web app.

Follow
Evil Will Always Disappoint
Tags: Science Fiction, Star Wars, Halloween, Comics

More from rstevens Follow

I make cartoons and t-shirts at www.dieselsweeties.com & @rstevens. Send me coffee beans.
[Exchange] BtcTrade opens LightningBitcoin trading!
By: Lightning Bitcoin, Lbtc
Tags: Bitcoin, Lbtc, Currency, Blockchain

[Exchange] BtcTrade opens LightningBitcoin trading!

LBTC trading: deposits opening

BtcTrade.im exchange opens trading of Lightning Bitcoin (LBTC) on April 28th. Thank you for your patience and support!

Welcome to visit BtdTrade Exchange for LBTC trading!

Exchange website:

Www.btctrade.im or www.btctrade.tv

This is not the only good news, Lightning Bitcoin is going to send out more these days. More exchanges, investment institutions, and delegates are going to join the LightningBTC Network. No wonder, instant transactions and the realisation if IoV concept within the Lighting Bitcoin network have a powerful practical application in the future .

Red pockets!

To celebrate the opening of LightningBTC deposits on the second exchange, LBTC together with BtcTrade RED POCKETS GIVEAWAY! 200,000LBTC worth of red pockets are waiting for you to take! Bring your friend to grab the red envelope! Maybe you can grab a huge one!

Time

April 27, 2018 (today) 14:00 — May 16, 2018

Rules

1. Every Monday, Wednesday, Friday at 14:00 pm

2. The red packets will pop up on the homepage of the Btctrade.im website which you should immediately click on and receive the red pocket App password.

3. Each person can receive red pockets only once session.

4. Sessions can be participated multiple times and do not conflict with others activities of the platform.

5. The received red packets LBTC amount will be automatically transferred to the BTCTRADE.IM account.

Note: For final interpretation of this giveaway please proceed to the I BtcTrade website.

Event Details

About BtcTrade.

Founded in 2013, Bitcoin Exchange (BtcTrade.im) is one of the earliest bitcoin trading platforms. Currently, it is based in Hong Kong and serves a global professional digital asset trading platform.

Note: www.btctrade.im and www.btctrade.tv are the same official website. The former requires scientific Internet access.

LightningBTC trading is open on:

ZB.com

EXXVIP.com

CoinEgg.im

BtcTrade.im

YoBit.net

KKEX.com

AEX.com

BCEX.ca

DigiFinex.com

LBTC has deposits opened on:

DigiFinex.com

BtcTrade.im

We have more good news to release soon. Please pay attention to the public numbers and news released by various cooperation and trading platforms.As well as check for spelling.

Lightning Bitcoin Team is not going away neither 5000ETH nor 1000BTC. Be aware of scammers!

Stay tuned!
I Take Chloroform To Fly
By: Justin Gawel
Tags: Manners, Satire, Drugs, Travel, Humor

Photo Credit: Cathal Mac an Bheatha

Excuse me, yeah; no, don’t worry, I’m not someone who talks to their seat-mates. Heads up, though, in a second I’ll be huffing a lot into this chemical-soaked rag. It’s fine. Ignore it and don’t worry about me the rest of the flight. I’ll be asleep/suspended-between-life-and-death shortly.

Sorry, did you not hear me, or did you just not want to listen? I’m very opposed to jabber, having sat next to too many chatterboxes and their long, unsolicited personal stories and ailment listings. My gracious little spiel here isn’t intended to open a nag-heavy dialogue. When life gives you lemons, a fear of flying, and a disgraced pharmacist for a grandfather, you make a lemonade-scented anesthetic that puts you under for your entire flight.

I don’t know your friend, and like I implied when you were apparently not listening, I don’t care about anything that’s ever happened to you in your entire life. If you must know a little about me, I’m a Gemini, my family history is a bit — let’s say — checkered, I detest talking to people on airplanes, and neither alcohol, nor sleeping pills, nor tedious anti-drug lectures from complete strangers can calm me the way a lemon-fresh, consciousness-halting rag does. We’re all human. Sometimes we all need something to help us stave off the unpleasantness, like the way you’ve toted that congealing sack of Burger King on board.

I don’t care that you’ve Googled the dangers of self-chloroforming. I don’t want your anti-huff propaganda. It’s beyond rude. Meanwhile, I haven’t once mentioned the dangers of flying, talking to strangers, or consuming a multi-pound haul of Burger King.

Lemon-blasted oblivion is my destination, and your meddling combined with my good manners are getting in the way. Without my sweet, sweet sleep juice, I’ll be awake, anxious, and teetering on a knife-edge for the next four hours watching a neutered version of Uncut Gems while you lap up that melted ice cream pie thing. Hard pass.

Four-hour flight, I’d say about a rag’s worth. It is a science, but I don’t treat it like that. My grandfather was the kidnapping pharmacist, not me.

How precise is a rag’s worth? The answer is: not very precise.

Stop, really. You’re starting to spew post-consumer King. Listen for one second, do whatever you want, but, please, don’t wake me up. Not for the beverage cart, not if I’m unconscious when the plane lands, not if we’re crashing and you can’t figure out how to eat while wearing the oxygen mask. I absolve you of all responsibility for my well-being. You, or rather Google, were not wrong about chloroform. I may quietly, albeit very respectfully, overdose on this flight. However, I will not project this inconvenience onto anyone else, except the Denver Airport and the Airport Morgue.

Should I still be unconscious/dead/trapped in another grandfather-laden nightmare when you deplane, kindly leave me here in my Schrodinger’s Passenger state. Exit unencumbered, free of potential corpse-discovery, and do enjoy all of Greater Denver’s wonderful Burger Kings.

Wheels up.
Lost Moments
By: Paul Mulliner
Tags: Poetry, Self, Life, Poetry On Medium, Mindfulness

Shadows dance on nearby sunlit walls, as restless winds

drift through neighbors’ trees, and half-heard

voices from the room next door, blend with

the squawky screech of unknown birds.

Time seems reluctant to be gone, lazy moments

passing in a slow and steady flood, sliding through us

to a place unknown, unless perhaps

a fractal memory within the Universe, of all events.

Reminders of times long past, haunt

the experiencing-space, like echoes in a fog,

or whispers heard in some half-remembered dream,

bringing reflective moments, sitting in a room alone.

Does the memory of all experience disappear

like kettle steam, or does the Universe remember

everything, like reflections in a mirrored heart,

or hologram, inside all life everywhere?
Involuntary Reaction
By: Background Noise Comics
Tags: Cartoon, Fundraising, Volunteering, Comics, Humor

A wise man once said, “Never volunteer for anything” but that guy never met Lisa!
The Truth About Strippers and Their Dance Skills
By: Erin Taylor
Tags: Relationships, Sexuality, Lifestyle, Sex Work, Intimacy

The Truth About Strippers and Their Dance Skills

Contrary to movies like Magic Mike and Hustlers, stripping is much more than just dancing on a stage.

Before I became a stripper, one of my biggest fears was dancing on stage. I wondered how I could successfully (and sexily) dance a six minute set on stage in just a thong and a pair of seven-inch heels in a room of strangers — especially because I always considered myself a so-so dancer. I didn’t know any pole tricks; in fact, I had never even touched a stripper pole. I looked at the girls in rap music videos and knew I’d never be able to dance like them.

Yet, here I was planning my future life as a stripper — traveling the world and making a serious amount of cash — and I wondered how I would pull any of that off if my entire future was at the mercy of my dance moves.

I’m screwed, I thought when my best friend gave me a private lap dance in her living room to teach me a lesson. But eventually, I learned how to give a fantastic lap dance, and I learned a trick or two on the pole. But that wasn’t what made me the most money.

My people skills, sexual confidence, and my ability to carry conversations with people from all walks of life made me the most money. Yes, my appearance helped, I know it did.

But my dance skills didn’t make or break my career.

To be clear, being an excellent dancer will help you make money as a stripper. I promise it will. But you also need exceptional people skills, a long-term financial goal, self-control, and thick skin. You have to be willing to become an unofficial therapist and practice healthy self-care when processing the emotionally heavy conversations you have in the strip club.

Your dancing skills are not the definite predictor for your success as a stripper, and I think many people are shocked to hear that when they picture movies like Magic Mike or Hustlers or watch rap music videos.
This Hack Can Help You Find Hundreds Of Dollars Each Month
By: Kelley C. Long
Tags: Money, Cooking

If you’ve ever taken the time to categorize your monthly spending, chances are you had a similar reaction that I did when I realized how much we spend on food each month — disbelief with a side of regret, anyone? It’s just the hubs and I for now, and we are pretty good about eating in, at least compared to a lot of our DINK (dual income, no kids) friends, so I’m always shocked when our grocery spending sometimes tops what I’d expect a family of four to spend.

The fact is, food is expensive and who wants to walk around the grocery store with a calculator? There are ways to counteract that by planning your menu around the grocery store sales, buying in bulk, etc., but sometimes life is just too busy or you have to go with what’s available during a pandemic.

Whether you’re cooking more at home due to shelter-in-place orders or just trying to find some ways to free up some extra cash, try this:

One week per month, skip the grocery store and instead eat what’s already on hand. Then take the money you don’t spend on groceries and transfer it to your savings account. The only number you need to know is what you spend each week, on average.

Pro tip: this is where most people go wrong when they try to save money — they do well on the cutting back, but they neglect to go the extra step by deliberately moving the specific amount they’ve cut back into savings, and a lot of the “saved” money just ends up getting spent on something else.

This hack alone could boost your retirement savings by over $250,000 if you stick with it over the years or literally shave years off your debt payments if you use it to get out of credit card debt sooner.

That’s it! No coupon clipping needed. It may require a little bit of creativity in the kitchen, but I always find it’s easier than it seems — digging out those jars of interesting sauces I impulse bought at Trader Joe’s when panic-shopping or finally using that extra cooked orzo I froze feels so good and budget friendly.

You can also use Supercook, a website that let’s you input ingredients you have hand, then suggests different recipes. Plus, it helps to clear your pantry, fridge and freezer of food that may otherwise end up in the trash — a double financial bonus!

This post was originally published on Wealthtender.
Fill and Filter in Array in JavaScript
Tags: Array Methods, Javascript Tips, JavaScript, Javascript Development, Arrays

Fill and Filter in Array in JavaScript ABHINANDAN Follow Aug 5 · 3 min read

Array Methods:

By the word Array methods, I mean the inbuilt array functions, which might be helpful for us in so many ways. So why not just explore and make use of them, to boost our productivity.

Let’s see them together one by one with some amazing examples.

Array.fill():

The fill() method changes all elements in an array to a static value, from a start index (default 0 ) to an end index (default array.length ). It returns the modified array.

In simple words, it's gonna fill the elements of the array with whatever sets of params, you pass in it. Mostly we pass three params, each param stands with some meaning. The first param value: what value you want to fill, second value: start range of index(inclusive), and third value: end range of index(exclusive). Imagine you are going to apply this method on some date, so that how its gonna look like eg: array.fill(‘Some date’, start date, end date).

NOTE: Start range is inclusive and end range is exclusive.

Let’s understand this in the below example-

//declare array

var testArray = [2,4,6,8,10,12,14]; console.log(testArray.fill("A"));

When you run this code, you gonna see all the elements of testArray will be replaced by 'A' like [“A”,"A","A","A","A","A","A"] .

Let’s see one more example by including its range params so that we can understand its definition in a more clear way.

var testArray = [2,4,6,8,10,12,14,16]; console.log(testArray.fill("A",2));

Before you run this code, remember in starting I have mentioned you, the second param of fill() method stands as a start range of index(inclusive). Technically here I am passing a param 2 which means, index 0,1,2 and 2(index value) should be inclusive as it’s start range index, hence elements start from index 2 till the end of the array will be replaced by "A” in testArray . That is why, If you run this code then you gonna see an output like [2,4,"A","A","A","A","A","A"] on your screen.

Here we just end up with an example of start range index, but what about its end range index? Let’s find out this, with one more example of fill() and see how exactly it gonna behave.

var testArray = [2,4,6,8,10,12,14,16]; console.log(testArray.fill("A",2,5));
Berlin, Berlin (part 2)
By: Jorge Mourinha
Tags: Eliza Hittman, Kelly Reichardt, Berlinale, Film Festivals, Film Reviews

A distributor friend told me, though, that may be how most of the world will see Kelly Reichardt’s beautifully ruminative, quietly idiossyncratic First Cow, just released in the US by A24 but probably to be sold off worldwide to a major studio or to a streaming platform. For me, it’s a wrong move —the world rights for Reichardt’s previous film, Certain Women, starring Laura Dern and Kristen Stewart, were sold to Sony which promptly did nothing with it (the film didn’t even come out in Portugal, where all of her previous films had had theatrical releases). And Reichardt’s patient, delicate handcrafting effectively requires to be handled differently from a studio assembly line.

This is especially important with the discrete, lovely elegance of First Cow, with its delicate attentiveness to mood, tempo, rhythm and framing (shot ravishingly by Christopher Blauvelt on location in Oregon in boxy Academy ratio). A gentle story of two sensible souls meeting and befriending each other in the American West, finding a way to survive together, this is also a tale of the birth of competitive savage capitalism closely entwined with the idea of the American Dream — as if life, liberty and the pursuit of happiness would be impossible without a cut-throat, dog-eats-dog environment.
by Martino Pietropoli
By: Martino Pietropoli
Tags: Cartoon, Tuesday, Panic, Comics, Humor

First thing in the morning: a glass of water and a cartoon by The Fluxus.

Follow
BCH hardfork
Tags: Cryptocurrency

Hi

Nomenclature BCHN is the longest running chain.

BCHABC (newer) are the forked tokens which is a smaller chain.

We would be distributing additional BCHN to users in the proportion of the current value BCHABC which is around 8.5% of the current value of BCH.

So if users were holding 1 BCH they would get 1.085 BCH

Maintaining a particular coins infrastructure is costly and requires a lot of resources. And lower value chains are fairly susceptible to 51% attacks and hacks which typically can compromise with security. In lieu of all this we have decided not to support the same. Consequently we would not be adding deposit/withdraw / trading support for the airdropped BCH.

Users can withdraw normal BCHN and buy the new BCHABC on any platform that trades it if they wish to.

Thanks

Team Bitbns
Single Page Application (SPA)
By: Anji
Tags: JavaScript, Spa

Single Page Application also known as SPA got lots of popularity and widely adopted by the organizations. SPA become a defacto standard for all the web applications these days.

SPA renders only one full HTML page from the server. This page gets loaded into the browser when the user starts accessing the application. When the user interacts with the application, it dynamically rewrites the page instead of loading the entire new page from the server. This improves the usability and performance of the application.

In SPA, most of the load is running on the client (Web browser), the server is idle most of the time. Low demand for server resources reduces stress on the server significantly, potentially reducing server costs.

In SPAs, application state will be maintained using browser address bar and browser's local memory

Pros:

Reduces load on the server

Return only required data instead of re-rendering the full page

Cons:

Initial page load time as it required to all the resources (HTML, Javascript, Images and, CSS)

SEO (Search Engine Optimization) we can use middleware like prerender or angular universal tools to solve the SEO issues
Zeros, zeros & more zeros | ChainEX lowers maker fees
Tags: Cryptocurrency, Referral Marketing, Cryptocurrency Exchange, Trading, Bitcoin

Zeros, zeros & more zeros | ChainEX lowers maker fees ChainEX Follow Feb 24 · 3 min read

ChainEX maker fees hit 0%!

Firstly, what is a “maker”?

A “maker” provides liquidity for the order book (by placing an order that may be matched in the future, this “makes” the marketplace; like products on a store shelf).

ChainEX has made its maker fees 0%!

You become a “maker” when you place an order and it does not trade immediately, so your order stays in the order book and waits for someone else to fill/match with it later.

What is a “taker”?

A “taker” consumes the book liquidity by ‘taking’ an order from the order book (taking away inventory from the store).

The “taker” is someone who decides to place an order that is instantly matched with an existing order on the order book.

Trades from Market orders are always Takers, as Market orders can never go on the order book.

Interesting… What are maker and taker fees?

The chief aim of maker-taker fees is to stimulate trading activity within an exchange. As mentioned, there are two types of orders — each with its own fee structure. These are maker (when trade adds to the platform’s liquidity) and taker orders (when traders take out the liquidity from the platform).

Now, the fun part 😃

What are the benefits of low maker fees?

Without further ado, let’s take a look at a few advantages that maker fees have for traders:

1. Helps the trading platform keep their liquidity and, through them, the stability of the market.

2. Many platforms design different levels of maker/taker fees according to the volume traded.

3. Maker fees are usually very low or even have reimbursements for traders, in the case of ChainEX however, maker fees are non-existent 😄

But wait… ChainEX offers more than just low maker fees😮

What?! There’s more?!

Minimum trading day volume lowered

ChainEX has lowered its minimum 30-day trading volume to earn referral rewards to 0.05 BTC 😛

Didn’t know ChainEX has a referral programme? Read our article on it

Sign up to ChainEX

FAQ’s | Sign Up | Facebook | Instagram | ChainEX order types | ChainEX Markets | ChainEX Security
Facebook working on cryptocurrency for Whatsapp transfer
Tags: Cryptocurrency, Cryptocurrency Investment, Cryptocurrency Updates, Cryptocurrency News

in In Fitness And In Health
Origin Protocol
Tags: Marketplaces, Origin Protocol, Genesis, Blockchain, Ethereum

Origin is building the sharing economy of tomorrow. Buyers and sellers will be able to transact without rent-seeking middlemen. We believe in lowering transaction fees, promoting free and transparent commerce, and giving early participants in the community a stake in the network.

Follow
VR is Coming at Microsoft Build and ProgressNEXT 2019
By: Georgi Atanasov
Tags: Virtual Reality, Unity, Data Visualization, Microsoft

This is the largest global gathering of the Progress customer, partner and developer community, where people come together to connect, learn and collaborate. Plan your own agenda with 150+ sessions, trainings and workshops.

Top three reasons to attend are:

See how new technologies can work for you and help your business save time and money Meet some of the best technology strategists and bright minds across diverse industries The Expo Hall — see the technologies of today and tomorrow in action

Progress Telerik will have a dedicated booth in the expo hall and our VR demos will have a dedicated section there.

I and Deyan Yosifov will also have a dedicate session on Stereoscopic 3D DataViz that we are positive you will find interesting:
In the eyes
Tags: Love, Poem, Poetry

Please comprehend as they were no longer easy to read

Words that appear to be disarray

Does not really what it seems to be

If only it is as simple as ABC

They wouldn’t have to read as thorough as the depth of sea

What should they do?

To be shallow as rivers seem.

How to be an easy piece?

The jumbled words written on its face

What does it says?

Clueless?

Read through its eyes.
Optimizing quantum computations with the quantum natural gradient
Tags: Quantum, Deep Learning, Machine Learning, Quantum Computing, Physics

Optimizing quantum computations with the quantum natural gradient

Josh Izaac and Nathan Killoran

The most successful types of quantum algorithms for use on near-term noisy quantum hardware are the so-called variational quantum algorithms, where a low-depth parametrized quantum circuit is chosen, and measured expectation values are used to create a cost function. A classical optimization loop is then used to find the set of circuit parameters for a quantum device that minimizes this cost function. Popular examples of such algorithms include the variational quantum eigensolver (VQE), the quantum approximate optimization algorithm (QAOA), and quantum neural networks (QNN).

Most recent implementations of variational quantum algorithms have used gradient-free or numerical classical optimization methods, such as the Nelder-Mead algorithm. However, the parameter-shift rule (as implemented in PennyLane) allows the user to automatically compute analytic gradients of quantum circuits. This opens up the possibility to train quantum computing hardware using gradient descent, the same method used to train deep learning models. One caveat, however, has surfaced with gradient descent — how do we choose the optimal step size for each parameter update of our variational quantum algorithms, to ensure successful and efficient optimization?

This is a question we tackled in our latest paper, a collaboration with our colleagues James Stokes and Giuseppe Carleo at the Flatiron Institute in New York City. Before we can fully explore the quantum implications, we will need to take a short detour to explore natural gradient descent, an idea first proposed almost two decades ago in machine learning.

The natural gradient

In standard gradient descent, each optimization step is given by

where L(θ) is the cost as a function of the parameters θ, and η is the learning rate or step size. In essence, each optimization step calculates the steepest descent direction around the local value of θₜ in the parameter space, and updates θₜ to θₜ₊₁ by this vector.

The problem with the above approach is that each optimization step is strongly connected to a Euclidean geometry on the parameter space. The choice of parametrization is not unique, and different parametrizations can distort distances within the optimization landscape.

For example, consider the following cost function L(θ), parametrized using two different coordinate systems, (θ₀, θ₁), and (ϕ₀, ϕ₁):
Crypto Market raises 667.5M Baht in 30 Minutes as Bitcoin Spikes Above $7400
Tags: Thailand, Bitcoin, Cryptocurrency, News, Articles

Bitkub.com is a new generation digital asset and cryptocurrency exchange platform that offers advanced cryptocurrency exchange services

Follow
Carelessly in Love
By: Zack Chapepa
Tags: Dating, A Cornered Gurl, Life, Fiction, Heartwork

Juniper imagined his life totally different from the time he left school. He was going to find a nice, white-collar job in the city. Maybe drive some three miles to his home in the suburbs, dandle his wife or maybe play with the kids. He thought his life was going to be simple because to him the life in movies and sitcoms was all he could ever hope for.

He never imagined he would move to California. He never planned to have a kid before he was financially stable. Heck, if you told him the moment he left college he would be freelancing for hours on end he would have laughed in your face. It turned out that having a degree in forensics psychology was great, but in terms of being marketable, there were better degrees. He had looked up to his uncle all his life. He’d never imagined following his path tiresome, or downright impossible.

It stirred in his mind oftentimes when his computer was open. He would stare at the code and zone out and wonder what else he had gotten wrong.

As the days wore out, he finally realized holding on to hopeless dreams wasn’t the real way in life. It took a lot of introspection and self-actualization and really finding what you really enjoy. To him, it took a while to materialize, but he was glad he had done so.

A little later after he had landed a job at a local firm he started exploring his options, not only career-wise but dating as well. His last girlfriend was a junkie and all she knew was having a good time and blowing up a paycheck in one night. He wanted someone a bit more calmer and reserved, someone he could rely on with serious issues.

He found himself falling for Lila, the receptionist at the front desk of the firm for which he was contracting. She was a little shy for a cute girl and looked like someone from a conservative background. He ended up asking Lila out for a date and to his surprise, she agreed. Dating Lila was a different perspective on life. It wasn’t static or reckless like his previous path. Lila was the break he needed to find his purpose.
Disco Drag Queen
By: James G Brennan
Tags: Poetry, Disco, James G Brennan, Poetry On Medium, Behaviour

The makeup piled on to his face

gets ready for his favorite place,

he slips into his sequined dress

the boys he knows he will impress.

In long stretch cars in rowdy bars

another fix for his padded bra,

cavorts the latest hip dance scene

living out his favorite dreams.

“He looks like an angel,

walks like an angel,

talks like an angel.” — Elvis.

when he flutters those wings,

we all know; he feels just like an angel.

Like John Travolta on the dance floor

he leads us as we shout for more.

Disco Drag Queen heads up the scene

our disco nights are filled with glitter, filled with sheen.
Today Is A New Day — Rejoice!. What I look forward to every morning
By: Rusty Alderson
Tags: Joy, Writing Prompt, Writing Prompt Response, Ritual, Morning

Poetry Prompt

Image by OpenClipart-Vectors from Pixabay

“Each day the world is brand new. Expect to be surprised. Expect miracles.” — Rusty Alderson

My Morning Miracle

The grogginess soon wears off

Although it is quite persistent

Wearily, warily, I stifle a scoff

Toward laziness I am resistant

My drowsiness wishes to stay in bed

It’s never been my better half

It tries to rule what’s in my head

But instead it just makes me laugh

I remember all of the things to do

And that gets my blood a racing

I realize now there are quite a few

They all gather into what I am facing

This is how I get up in the morning

Looking forward to finding my voice

At last I’m compelled to heed my own warning

“Today is a new day — rejoice!”
Reinforcement Agent
By: Imalka Prasadini
Tags: Reinforcement Learning, Agents

In my previous articles, I have given a brief detail on reinforcement learning and some of its algorithms.

Today, I am going to tell you about some simple explanation about how reinforcement agent work in an environment that is never interact before.

Photo by Daniel Cheung on Unsplash

Reinforcement agent when acting within an unknown environment, it learns the optimal behavior to achieve the value function to get the reward. The behavior of agent will be controlled by the policy. First of all, an agent link with input values. Then it changes representation of that data set. This will help to agent to identify hard input representation and it will help to go forward than initial input values.
Gay Dads and an Orange Boy Talk Paint
By: Andy Killoran
Tags: Parenting, Gay, Family, Fiction, LGBTQ

“The soul becomes dyed with the color of its thoughts” — Marcus Aurelius

Judd, seated next to his partner Sam at their kitchen table, looked up at their son. “And that’s the color you want? For the whole room?”

Luke looked down at paint chart on the table between them and he again tapped his finger on ‘Orange Autumn’. “Dad, you said I could choose. You guys said whatever I chose, I could have.”

His head came up and he looked straight into Judd’s eyes, then into Sam’s. “You said, right? Well, I choose Orange Autumn.”

Judd wanted to look at Sam but didn’t dare. Since Luke hit the terrible-twelves almost a year ago, getting more than 4 words at a time from their son him was rare, and a two-way conversation almost unheard of.

He kept his eyes on Luke. “We promised and we certainly meant it. And if orange is what you want, it is what you shall have. We can get the paint at the weekend and maybe start painting on Sunday? I was only checking, because it is a pretty bright color, but it is absolutely your choice — a promise is a promise.”

Luke visibly relaxed and his shoulders dropped slightly. “If you get me the paint, I want to paint the room myself. It’s my room, it should be my work.”

Judd felt his eyes sting slightly, but he kept his gaze steady. His little boy was turning into a young man and it was exciting and disconcerting and thrilling and scary all at once.

“Ok, son. And we will help — if you want us to.”

Luke walked around the kitchen table, until he was stood behind his parents. “Dad,” he said, sliding his arm around Judd’s neck. “When you guys brought me home from the orphanage, it was this time of year — it was fall and I remember the squash on the front porch and that big bush with the orange fruit on it and the orange flowers in the house. It was a few days before my birthday and I was 5. Next week, I’m going to be 13, but every year, I know my birthday is coming when everything goes orange. And whenever I see the orange, it reminds me that I am at home.”

Image — authors own

He kissed Judd lightly on the back of the head and, sliding his other arm around Sam’s neck, planted another kiss.

“Dad,” he said to Judd, “And Dad,” turning to Sam, “To me, orange means birthdays and being safe in our home. If I wake up every morning and see my orange bedroom, it means the first thing I see is home.”

Without another word, Luke walked out of the room, closing the door behind him. Judd felt able to look at his husband and could see that Sam, too, was fighting back tears.

“That’s beautiful, Sam,” said Judd. “What could be better than him feeling that this is his home and we are his family?”

Sam smiled back, tapping his finger on the color chart, too.

“I know,” he said. “It’s marvellous”. His finger rested on the pale green elegance of ‘Sap-green summer’.

“I just kinda wish we could’ve brought him home in June!”

This story is a response to Prism & Pen’s writing prompt Orange Autumn.

Other stories so far —
FuzeX Program approved by issuer bank in U.S.
Tags: Cryptocurrency, Fuzex, Bin, Payments, Banking

We received a final approval email from the prepaid operator of the bank, which starts with “I’m happy to share that FuzeX is applied by Bank.”

This confirms that the final approval has been completed after all reviews of the FuzeX program have been completed by the bank which has decided to share the BIN with the U.S.

From now on, the FuzeX team will begin the process of actually launching the FuzeX card with the prepaid operator and bank.

The bank will share this with the Brand Payment Network operator for BINShare and it is expected to final BIN approval and be ready for FuzeX card launch as early as within a month.

At the time of our official announcement regarding BIN issuance, we will officially inform the press of the Bank and Brand Payment Network operators, the FuzeX Card launching partners in the US market.

The real-time payment service through cryptocurrency is just around the corner.

The value of FXT is expected to rise further as many global customers use the FuzeX card to make cryptographic payments and purchase, commission and payment of the FuzeX card as the FXT.

Thank you.