fabiochiu/medium-articles huggingface dataset:
Best practices for test automation
By: Leonardo Galani
Tags: Software Testing, Automation, Software Development, Test Automation

Always do a Proof of Concept.

Before making a huge setup, install a bunch of dependencies or spend time thinking about how you should organize your stuff, take a moment to realize if you know what you are doing.

Do you know the language? Do you know the framework? Do you know if it’s possible to automate that particular thing that the P.O. asked you?

Well, there is no answer before you try those stuff your self and this is

the reason why you should do a proof of concept as the first thing.

You should test your hypotheses with little/no dependency, so other people can also execute the piece of code you just did.

POC’s can also apply for new features/validation on the test code that you are not sure how to do it.

Do you need to execute all the setup to “debug, fix and retry” every time?

It’s also a good practice to talk to people and tell them your intends with the future POC that you are going to do and see if they want to check the results with you OR if they have another idea that you cant try out.

I don’t see any reason for people to start coding away, especially a new test framework, without talking to people and showing them how you will do it.
What’s New in Swift 5.3?
By: Raúl Ferrer
Tags: Mobile, Xcode, Swift, iOS, Programming

Redefinition of ‘didSet’ Semantics (SE-0268)

Prior to Swift 5.3, when using didSet in a property, the getter was always called to obtain the oldValue of that property (although this value was not referenced), with the consequent performance impact. In Swift 5.3, the efficiency of the process has been increased since now the oldValue is not accessed if we are not calling it inside didSet .

‘self’ Use in Closures Is Eliminated if No Reference Cycles Are Given (SE-0269)

Until now, inside closures, it was necessary to use self explicitly, even if reference cycles were not going to occur. For example:

With Swift 5.3, self can be removed:

Until now, Swift only allowed the use of one error type per catch block, allowing us to reduce duplicate code in error handling. That is to say:
Love, Faith and Death in Hard Times
By: Bebe Nicholson
Tags: Poetry, History, Realtionships, Family, Christianity

In our era of antibiotics, vaccinations and life-saving surgeries, illnesses such as AIDS and COVID-19 re-shape our world view, shattering illusions that we are somehow immune to diseases without treatments. A pandemic broadsides us, shaking us from complacency. We are forced to acknowledge that the world is not a safe and predictable place. Life spirals out of control.

We forget, in our modernity, our sophistication, our privilege, that this is the reality many third world countries have always known. We also forget that incurable diseases and pandemics were once a reality for everyone.

In 1999, I published a journal, discovered by accident and turned over to me. Written by one of my distant ancestors, it covered the years from 1856 to 1890. The book quickly sold out and is now out of print. It was a Civil War diary highlighting the horrors of war, slavery, and the aftermath of war. But a common thread throughout the journal was the widespread prevalence of illness and death before the advent of modern medicine.

The author, Anna Long, lost her mother, husband, son, daughter-in-law and granddaughter to illnesses that today would be curable or preventable. Both she and her son, Edwin, wrote poetry that I included in the book; poems that reveal the depths of despair and hope and love they felt during a time when typhoid, diphtheria, smallpox and pneumonia were frequently death sentences.

In the throes of our current pandemic, when the world has ground to a surreal and unnatural halt, I decided to share some of these poems. They give us a glimpse of a different era, a time before modern medicine, but maybe not a time so distant from our own when it comes to the human heart. Because in matters of the heart, some things never change.
Script Roundup: gtfo.vim, vim-sexp
By: Alex R. Young
Tags: Motions, Lisp, Files, Plugins

Script Roundup: gtfo.vim, vim-sexp

gtfo.vim

gtfo.vim (License: Vim) by Justin M. Keyes is a plugin for opening a file manager or terminal at the current file’s directory. In Normal mode, you can type gof to open the file manager, or got to open the terminal. The mnemonic to remember these commands is 'go to the current file's directory in the file manager'.

Capitalising the last letter ( goF , goT ) will make it open based on the current directory ( :pwd ).

It has platform-specific support, so on a Mac Finder will be used, while Windows users get Windows Explorer.

vim-sexp

vim-sexp (GitHub: guns / vim-sexp) by Sung Pae makes several motions, text objects, and commands available for editing s-expressions. For example, af in Visual or Operator-pending mode will select the text inside brackets, and ( is a motion for moving to the nearest paired structural bracket.

The documentation in the readme is thorough, but you need to read it from the top down to understand what each of the terms means.

This plugin is by the same author that produced vim-clojure-static, but vim-sexp seems general enough that you could use it even if you don’t write Lisp or Clojure.
Do the Rich Deserve to be Rich? — Basic Income Ethics
By: Robert Jameson
Tags: Economics, Welfare, Ethics, Poverty, Basic Income

There are some relatively wealthy people who’ve received good wages, or who owned and ran a successful business, who seem to think that because they’ve done well in a market economy — because the market has rewarded them handsomely for their work — that must mean that they clearly deserve the income and wealth that they now enjoy.

In some cases, perhaps they do. But in some cases, perhaps they don’t, because that’s NOT how market economies function.

Now don’t get me wrong. Few, if any, markets are perfect, but market forces have been very important to the development of today’s advanced, wealthy societies, which in most cases meet our needs and provide us with a decent supply of luxuries.

But markets don’t assess people for how much they deserve and reward them accordingly. And to believe that they do would be a total misunderstanding of how the market system operates.

When markets set prices and wages, they simply set them so as to try to avoid shortages and surpluses. Buyers compete with one another to secure supplies and sellers compete with one another to secure sales. Buyers try to get the best deal they can and sellers try to maximise their profits. And these forces are what power the price mechanism.

And the price mechanism works to provide the incentives people require to get things done. Prices may rise to incentivise people to produce more — and thus avoid shortages. Or they may fall to discourage over-production and prevent surpluses.

And wage levels are determined in a similar way. If a CEO is paid 10 million dollars a year, that’s not because he ‘deserves’ that money. It’s because the board believes they need to pay 10 million in order to secure his services.

And if a worker is only paid ten dollars an hour, that’s not because he or she doesn’t deserve to earn more. It’s because that’s all the employer has to pay to entice them to work.

Markets play a very important role in helping us to avoid damaging shortages and wasteful surpluses. But they are not mechanisms for giving people what they ‘deserve.’

So if you’re rich and you’ve got exactly what you deserve, then that’s probably a coincidence, and you’re the exception to the general rule, because that’s not what markets are for!

The curious thing is that the people who claim the rich get paid what they deserve are usually also amongst the people who say that our economic success (such as it is) is due to us living in a market-based economy.

Well; one or the other, please! Either the rich get what they deserve or we’re operating a market economy, but it’s astronomically unlikely that both could be happening at the same time!
Daily Bit #163: Bad Day to be an ETF Proposal
By: Daily Bit
Tags: Fintech, Blockchain, Cryptocurrency, Financial Regulation, Bitcoin

*Full story available at The Daily Bit.

Word On The Street

“SEC denies Bitcoin ETF” is the “China bans Bitcoin” of 2018.

-Riccardo Spagni, aka @fluffypony

Fintech Frank already secured the Tweet of the Day for keeping his reporting game A1, but we had to give Spagni a nod for the great analogy — everyone knows how this movie ends.

The SEC began fielding public opinions regarding a potential approval several weeks ago. Since then, the phrase “when Bitcoin ETF” has transformed from an investment narrative to a sensationalist meme. It’s repeatedly cycled throughout Twitter as one ETF is rejected and the next in line enters the batter’s box.

Yesterday was the same… but different.

Turning to crypto’s lawyer (but not really), Jake Chervinsky, here’s what unfolded yesterday:

Deadlines for two ProShares bitcoin ETFs were today. Most were expecting rejections — no surprises there.

bitcoin ETFs were today. Most were expecting rejections — no surprises there. GraniteShares & Direxion had 7 outstanding proposals for derivative-backed ETFs. Those deadlines were September 15th and 21st, but the SEC buried the pitches alongside ProShares.

In total, that’s nine rejections from the SEC. There’s a joke to be made here about cats having nine lives, but like an ETF approval, it’s nowhere to be found.

Other changes

Yesterday’s hopefuls were priced through the Cboe & CME futures markets. Since spot markets are still unregulated (therefore prone to manipulation), folks thought that maybe the SEC would consider products that used data from recognized organizations.

Emphasis on “maybe”. Turns out that bitcoin futures markets are still too small. And in tremendous hindsight bias, they could use a boost — Cboe’s latest daily volume of 5,804 bitcoin futures contracts was dwarfed by the VIX futures count of 222,695.

And as for abroad… Bitfinex and BitMEX are two major trading hubs for derivatives. Quoting Jake, knowing “the ‘identity of market participants’ on unregulated spot and derivative markets ‘where a substantial majority of trading’” is a must if the SEC is going to sniff new proposals without instantly thinking of trashing them.

Next up? VanEck/Solid X on September 30th.
Foresting and DeCentre Attends Consensus:Singapore 2018
By: Williams Nana Kyei
Tags: Consensus, Cryptocurrency News, Blockchain, Blog, Singapore

Team Foresting at Consensus — From L-R: TJ Park, Kevin Noh and John Yoon

Global blockchain enthusiasts have gathered once again at the Marina Bay Sands for the 2018 Consensus: Singapore blockchain conference. Co-hosted by Coindesk, the leading digital media company for blockchain and Crypto news, Consensus will be the largest blockchain event to crown the last quarter of 2018.

Consensus:Singapore is among the flagship events hosted by TechXLR8 Asia across the continent to engage the tech community through shows, awards, blockchain, festivals and exhibitions.

Held from September 19–20, Consensus Singapore 2018 is expected to host over 5000 attendees from around the world.

DeCentre, the global blockchain expert who are partners of Foresting HQ are currently exhibiting the blockchain projects under their ambit. As such, a team from Foresting are also participating in the conference among the many side events and investor meetings being held alongside the main show.

T.J Park (Co-Founder of Foresting), John Yoon (Global Communications Director) and Kevin Noh (General Director) are currently at Consensus and engaging rigorously with industry experts.

They are expected to hold partnership meetings, attend cross-industry Networking parties, workshops and blockchain exhibitions. They will also use the medium to introduce the Foresting brand to a global community of blockchainers and crypto fanatics.

Consensus:Singapore 2018 will feature over 80 speakers who are going to extensively share ideas on topics such as Smart Contracts, Distributed Ledger Technologies, Tokenization loyalty, Crypto Futures, ICOs, Tokenized assets, VCs and Crypto, Korea’s blockchain ecosystem, Gaming, among others.

There will also be major industry announcements, insights and, innovations at the event. Among some of the big names attending the summit are, Nolan Bauerle of Coindesk, Changpeng Zhao of Binance, and Maxine Ryn of Spark.
From ICO Review to Security Token Listing — Our Crypto-Journey
By: Stefan Perlebach
Tags: Cryptocurrency, Security Token Offering, Security Token, ICO, Blockchain

We spend the last 1,5 years within the crypto world.

Let’s have a look how this turned out and which Learnings we made by showing you 3 projects we have worked on — starting with Utility Tokens to our newest endeavor focussing on Security Tokens.

1. ICO Review

End of 2017 we got hooked by the crypto hype like so many others. This crazy amount of different ICOs out there let us came up with our first product — TrustedDapps. The idea: We need a guide separating the good (ICOs) from the bad.

We called it “The Ultimate Guide to review ICOs”, focussing on the team, product and technology of the projects behind the ICOs.

We got some attention for that, however, it is not easy assessing a project from publicly available information only and after a while it gets boring studying Whitepaper etc.

What is even harder: To foresee if the value proposition of a project and its token economics really make sense and will work out as promised. As you might know 90% of all startups are not successful. Add to this the ICO/Blockchain-hype and your probably end up with 99% of failing ventures.

2. Product Test

That’s why we decided rather testing products already out there than evaluating what’s upcoming. We looked for those Utility Tokens (e.g. Golem) which are already usable, tried them out and wrote about our user-experience.

The result: For people who are not familiar with crypto and just want to use a service or product that works, for example a decentralized storage space or computational power to render a file, it is really hard. Especially the user friendliness is lacking but also the price for the services compared to centralized services was not convincing at all.

3. Security Tokens

If not for utility, what else is blockchain good for?

As we talked to many experts within the industry, this answer became more and more obvious: Store of Value

That’s how we started to deep dive into the concept of Security Tokens and their benefits. Security Tokens as a means to register the ownership to an underlying asset with value (e.g stocks, bonds, real-estate, commodities, a piece of art etc.) sounds until today like a promising use case of blockchain to us.

The more we studied about it, the more we understood the advantages (especially for investors) that Security Tokens can deliver. We wrote our first pieces about the Advantages of Security Tokens and The Differences between Utility and Security Token and while doing so that started our next project — STOcheck .com — which is listing all Security Token Offerings (STOs) and provides Education & News around this topic.

Until today we believe that Security Tokens have the potential to disrupt the traditional financial industry and become very popular with the next years.

Lets see if our assumption will become true.

If you are interested in the topic, join our us on Twitter and visit STOcheck.
Dear Awesome People,
By: Jess Kaisk
Tags: Literally Literary, Thankfulness, Ll Letters, Writers, Medium Publications

We have 555 followers here on Literally Literary.

555 people.

555 writers.

555 awesome beings.

Holy Freaking Cow. While this may not be a big deal to some of the other publications with thousands of followers, I believe it is huge. You see, I created Literally Literary really for two reasons:

I wanted a home for writers to express their stuff and I know a lot of the other publications have a ton of contributors already. This is really the most important reason, I just really enjoyed saying Literally Literary. I make my husband say it. He cant. Its a tongue twister for him. Its fun to say. Say it 10 times fast…see, fun.

In Numerology, 555 is an triple number that signifies a major life change. It signifies change is coming, good or bad. It can also be a validation that the path you’re on is the best one. This path, that you have helped give me, is the best one, because I get to share other great thoughts and ideas from Medium’s writers.

So I really just want to say thank you, to YOU, you readers and writers that have made this fun thing a thing. Who contribute, comment, share, and are just awesome human beings. Can we have more of you? Please?

I also want to thank Heath Houston for being an awesome writer, a great editor, and for bringing to my attention that we have 555 followers! You really are the best Heath!
2020 Wasn’t All Bad, Here Are 10 Wonderful News Stories to Cheer You Up
By: Pavle Marinkovic
Tags: Positive Thinking, Happiness, Inspiration, News, 2020

2020 Wasn’t All Bad, Here Are 10 Wonderful News Stories to Cheer You Up

There’s always something good going on and we should know about that too!

Photo by Sven Brandsma from Unsplash

It’s easy to lose yourself to negative emotions if most of the things you’ve seen and experienced this year have been bad.

But just one thin beam of light is enough for darkness to leave.

Maybe not completely, but enough for us to see hope and remember there’s so much positive to see surrounding us. And if there’s one good thing out there, there has to be another one. And another one.

And light fills our soul again.

Let’s look at some of the good things 2020 brought us that we might have passed by…until now.
Blind Spots Revealed
By: Ani Vidrine
Tags: Personal Growth, Mindfulness, Spirituality, Awareness, Poetry

Blind Spots Revealed

Poems From The Porch

photo by Clay Banks on Unsplash.com

The fog is lifting away from the day,

as well as from my misty vision.

To learn a lesson,

to see it clearly,

brings a lightness of heart.

To know that a powerful trigger

exposes one’s own vice

is humbling.

I see it now,

how my dislike of the other

is the disdain for

my own pride;

the revulsion for the other,

the disgust in

my own arrogance.

How amusing to think that,

all these years I thought

it was the other I didn’t like,

the other that I was judging.

Funny now to realize

that literally everything

is a reaction against

the disowned parts of myself.

Pride

Vanity

Arrogance

Anger

Fear

Thank you,

powerful mirror to my own blind spots,

the enemies of my best self, now seen.

I don’t like your pride or mine,

but I love you.

I don’t like your arrogance or mine,

but I love you.

The fog has evaporated

revealing the dawn of a new day.

free to love you,

free to love me.
Rest is Underrated
By: Daniel A. Teo
Tags: Self Improvement, Self, Poetry, Life Lessons, Life

I can't help

but occasionally shed a tear

for my working parents

who struggle so hard

to fill three plates, not one

and pretend that they ate an early dinner.

Because behind the frugality is

the Beverly Hills lifestyle they have blessed me with

yet fail to realize they have cursed themselves to beg for higher wages

as I watch helplessly

at my parents’ bosses

tugged in Tom Ford.

The number of I Love Yous can only escape the mouth

so many times

till it doesn't enunciate that of its definition anymore.

Love is beautiful, yes,

but of what use to solving rental problems.

However, what does truly help

my parents,

you

and even me —

is Rest.

Rest has a multitude of definitions

and it can take many forms

not necessarily the Paris getaway

nor a night under the Auroras.

Sometimes,

in the hustles and bustles

of work and labor

we get weary

we burnout;

draining every shred of humanity left in us

leaving only mundane robotic movements

yet to serve the new day

with old tasks.

Even robots rust

and when their mechanisms stop working,

they recharge.

Likewise, sometimes

we ourselves

need to escape from this deafening cacophony

and for once

lie on the patch of empty grass

with children, parents or a simple accompanying cup of Moroccan Mint Tea

to escape from all the possible noises

even those in your head.

And as you finally get to throw your phone out of the window metaphorically,

ignore the buzzing notifications,

ignore the missed calls.

Just hug all that's beside you,

even if it's just yourself, and relish your desired Sabbatical

taste to the fruition of tranquility.
Riddled Corpses EX Nintendo Switch Review
By: Alex Rowe
Tags: Videogames, Nintendo, Gaming, Indie Game, Review

The story mode is the main attraction, and the story has a lot of fun with the tired video game premise of a post-apocalyptic zombie scenario. While the narrative content is only shown in short text blurbs at the beginning of each stage that don’t waste your time, you’ll still get doses of time travel, experiments gone wrong, and bad guys joining forces with good guys for the sake of saving the planet. Sure, it’s all trope-heavy stuff, and you’ll probably just skip these scenes after seeing them once, but I thought the story was fun.

Story mode requires grinding for gold to upgrade characters, and you can also buy a limited number of extra lives and power ups at the start of each stage. Once you unlock a stage you can start the story mode from that point, and also replay it to your heart’s content, and to earn more gold.

The core gameplay is vintage, responsive, twin analog stick shooting. The Switch version includes a single Joycon mode, and while it technically works, I preferred the extra control offered by having two sticks.

Each character has different shot speed, damage output, and movement speed statistics, and they get more powerful as you grind them towards the level cap. Many of them even have special abilities that change up the game a little, like multipliers for gold and health. The core consumable powerups are screen-clearing bombs and a special clock that freezes time, and eventually you’ll also unlock automated turrets and Gradius-style machine gun spheres that float around your characters.

These unlockables help balance the high difficulty without ever making the game too easy, which is impressive since it’s so hard to get that just right.
Monochrome
By: Elle Rogers
Tags: Poetry, Poetry On Medium, Humanity, Culture, Injustice

In all the rainbows

that break in waves

across the sky,

and all the smiles

that stretch for miles

and into each horizon

racing faster than the sun,

are there fewer storms

that swallow

all the colors whole

than when we’d first begun?
The Dilemma of a Non-White Third Culture Kid
By: Anita Durairaj
Tags: Identity, Culture, Self, Self Improvement, Multiculturalism

The Dilemma of a Non-White Third Culture Kid

Facing an identity crisis but there is hope

Photo by mentatdgt from Pexels

Third Culture Kids: Citizens of everywhere and nowhere — Kate Mayberry, BBC

The most famous ‘third culture kid’ or TCK is former US President Barack Obama. He qualifies because he was born in the US but spent part of his childhood in Indonesia.

A TCK is defined as a person who has spent a significant part of his or her developmental years outside the parents’ culture. In today’s era of globalization, the number of TCKs is poised to increase significantly.

The term TCK was first coined by US sociologist Ruth Hill Unseem. In the Third Culture Model, the First Culture is the home culture or culture of origin. The second culture is the host culture while the Third Culture is just the amalgamation of all the cultures that the child has experienced.

I am also a TCK. I was born in India to Indian parents and then spent the majority of my childhood in Nigeria, West Africa before moving to the United States. All of these events took place in my life before the age of 18.

In my particular case, my first culture is Indian, the second culture is Nigerian and American while my third culture is just a mixture of these 3 cultures. Being exposed to three different cultures hasn’t exactly been easy. Almost all TCKs experience an identity crisis at some point in their lives.
What I Wanted To Wear: Madison Square Garden Edition
By: Tyler Ford
Tags: Gender, Transgender, Wiwtw

Feeling deep ambivalence about how we dress is something the trans and gender non-conforming communities experience acutely, but it’s not just about us. We’d love to hear from everybody about how they navigate self presentation each day.

To see more posts in the What I Wanted to Wear series, click on the tag below. When you’re ready to add your own post, click the response button, upload your photos, and tell us about your self presentation. Remember to use the tag WIWTW when you hit Publish.

If you’re not near a computer, download Medium’s iOS app or Android app to write your What I Wanted To Wear post on your phone.
Media Planning 101 for Comms Planners
By: Jordan Weil
Tags: Programmatic, Advertising, Marketing Strategies

Fundamentally, media planners can pull two levers to structure a media recommendation: Reach and Frequency

Reach: The number of people (or households) exposed to a given medium at a given point in time.

The number of people (or households) exposed to a given medium at a given point in time. Frequency: The number of times viewers are exposed to the same ad during a campaign.

(Source: Think with Google)

And depending on the campaign objectives, budgets, the life stage of the product, and competitive clutter, media planners will create a channel mix that optimizes either Reach or Frequency.

But how does this tie back to comms planning?

Because knowing the channel strengths and weaknesses will help us guide creative teams in terms of tactical direction. For example:

Digital targeting & sequencing capabilities mean we can tell a much more complex message

Commuter OOH has a very high percentage of repeat traffic day after day. So creative needs to be able to go for 30 exposures without getting worn out — and maybe it’s ok for it not to get noticed until the 4th or 5th impression

Television’s broad reach means messaging needs to be specific to your target but accessible enough to be understood by a much larger audience

Take a look below for more details:
Fault lines
By: Harvey Aughton
Tags: Trailrunning, Pirongia, Poetry

An Unfurled flag, or

Icon of place/stone/vision

Syndicated elements are drawn

from the sky in meteorological swirls.

A memory forecast, a map of erosion

I’m seeing in

First person distance, reaching out

of the mind palace into surroundings

Conscious, all in time, stretched out

By neural gymnastics

Debris falls, leaves

imagined as movement, registered as

Sound, documented, static

Movements of land under whistling

flag poles, struck up with insulation tape,

On Ruapane, red, white and black.

It feels close, a magma chamber

Thought flowing under foot, stretched out

In bristling tunes of syndicated



Elements,

Icons, atoms, and agents
That Time I Thought I Was Going to Die in Jerusalem
By: Stephen Niedzwiecki
Tags: Travel, Israel, Culture, Religion, Life Lessons

It was 2006 and I was twelve years old. My parents encouraged me to take a pilgrimage to Jerusalem with a group. “It’ll be a great experience,” they said. “You’ll never have this opportunity again,” they said. And now I was about to explode and die.

The trip was to last two weeks as the group explored the ancient city and surrounding areas. I never thought I would one day see the places depicted in the bible. Bethlehem, the mount of olives, the Dead Sea. I even got to ride a fedora-wearing camel named Sammy. But like any blissfully ignorant twelve year old, I had no idea of the tensions between Israel and Palestine.

All had led up to the haze of navigating the darkened halls of the hotel, as high pitched screeches followed by loud cracks filled the air.

It wasn’t until we returned from Nazareth that we learned what had happened while we were away from Jerusalem. A soldier was abducted during a cross-border raid, and both sides were pissed off and ready to fight. The city was flooded with armed soldiers. It was if the distant wars I saw on TV had somehow found us.

Tensions were high; news had reached us that shots were fired in a small town we had visited a few days earlier. Exhausted, members of the group returned to their rooms to find they had been searched by Israeli authorities and some members were shadowed for the remainder of our stay.

All had led up to the haze of navigating the dark halls of the hotel, as high pitched screeches followed by loud cracks filled the air. I ran as if I was in a dream, my feet feeling as if they never touched the ground, and my mind in a state of denial. I found my way to the door, and flung it open and found myself on the roof, among the dizzy crowd that done the same. The sky lit up as it filled with bright bursts of colors, followed by a cheering crowd. As the gasp of relief escaped our mouths, a voice cried out “Fireworks? Are you kidding me?!”
Hosting a static site using Nginx web server inside Docker container
By: Kumar Nitish
Tags: Nginx, Code To Express, Containers, Docker, Beginner

Here, We’ll be using Ubuntu as the base image. You can also use other distributions. Further, We’ll copy our simple index.html file inside the container. While the CMD is used to provide defaults when executing a container. You can explore more about writing Dockerfiles from Here.

Here’s the Dockerfile we’re using!

Dockerfile

Let’s create a simple index.html which we’ll be hosting further through Nginx using docker container.

index.html

Now we can build our Dockerfile by running the following command, Docker will then generate an image based on our Dockerfile.

docker build -t <image-name> .

Here, -t option is used to assign a name-tag to the docker images.

option is used to assign a name-tag to the docker images. In the end, we give the path of the Dockerfile using which we want to build the Docker image.

This will produce the following output.

Building Docker images using Dockerfile

Note: It can take some time, depending on your Wi-Fi speed for downloading the base image.

We can check if the docker image is built successfully by running the command,

docker images

This command should produce the following output.

List all docker images

Now, we’ll use the same image to create a running container by using the following command.

docker run -d --name <container-name> <image-name>

Explanation of this command is as below,

-d option is used to run a container in background and print container ID.

option is used to run a container in background and print container ID. --name option is used to assign a name to the container.

option is used to assign a name to the container. -p option is used for port mapping between container and Host machine.

option is used for port mapping between container and Host machine. In the end, we provide the name of the docker image from which we wish to run our container.

Now, We can see the running containers by using the following command,

docker ps

The result of this command should be as follow:

Running a container and listing all running containers
Why You Should Use Real Books to Teach Children to Read
By: Mary Gallagher
Tags: Childrens Books, Education, Reading, Parenting, Homeschooling

On the go? You can listen to the audio version of this article.

The premise behind Teach a Child to Read with Children’s Books is that teaching reading should be authentic and engaging and when you use real children’s books as your foundation for your program and lessons, you are creating lifelong readers who will be strong, active, independent readers who love to read!

Parents who’ve implemented this strategy tell us that this is the case.

When children learn to read using only prescribed phonics readers, they will be missing out on a lot of important things that make readers love to read. Here are just a few things missing from packaged phonics readers.

Check out the difference in quality and beauty between a phonics reader and a real book for children:
Check All Enums Exist in a Switch in Go
By: Elliot Chance
Tags: Switch, Go, Enum, Golang

Photo by Javier Allegue Barros on Unsplash

Go does not have any concept of enums like some other languages. There are arguments for and against this approach which I won’t go into here. However, there are times when you want to check that switch statements contain all enum values. Especially if you intend to add new enum values in the future and want to catch existing code that now needs to be updated accordingly.

For this, I developed a tool called switch-check . It’s a zero dependency, zero configuration CLI tool for doing just that. You can try it right now with:

go get -u github.com/elliotchance/switch-check

switch-check

Or, here is a quick example:

Will output the error:

foo.go:17:2 switch is missing cases for: FooB, FooE

Known Limitations

Using expressions to produce enum values are not supported. This level of type inference requires the compiler (not just the AST). For example this will not be recognized as a enum value:

var EnumValueA = someFuncThatReturnsAnEnumValue()
JavaScript.Linked Lists. What is “Linked Lists”? Create a Node Class API
By: Yuriy Berezskyy
Tags: JavaScript, Algorithms, Software Development, Linked Lists, Data Structures

Hello for new readers and welcome back who is still with me. Just want to mention that I stopped writing blogs about data structures and different algorithms for a while, but with full of energy and nice mood (I hope you have the same) I would like to share my knowledge about Linked Lists, and knowledge other people about it ,too. I wanted to collect all information in one blog and make it understandable for each not matter what level you have right now.

Linked List

A linked list is a linear data structure, in which the elements are not stored at contiguous memory locations. The elements in a linked list are linked using pointers.

In simple words:

a linked list consists of nodes where each node contains a data field and a reference(link) to the next node in the list.

Ordered collection of data

Chain of nodes

Why need to learn Linked Lists?

Linked List is Dynamic data Structure . Linked List can grow and shrink during run time. Insertion and Deletion Operations are Easier Efficient Memory Utilization ,i.e no need to pre-allocate memory Faster Access time, can be expanded in constant time without memory overhead Linear Data Structures such as Stack,Queue can be easily implemented using Linked list

Array vs Linked Lists?

Arrays can be used to store linear data of similar types, but arrays have the following limitations.

1) The size of the arrays is fixed: So we must know the upper limit on the number of elements in advance. Also, generally, the allocated memory is equal to the upper limit irrespective of the usage.

2) Inserting a new element in an array of elements is expensive because the room has to be created for the new elements and to create room existing elements have to be shifted.

And if we want to insert a new ID 1005, then to maintain the sorted order, we have to move all the elements after 1000 (excluding 1000).

Deletion is also expensive with arrays until unless some special techniques are used. For example, to delete 1010 in id[], everything after 1010 has to be moved.

For example, in a system, if we maintain a sorted list of IDs in an array id[].

id[] = [1000, 1010, 1050, 2000, 2040].

I guess it will be useful to read this nice article which is under this paragraph. They compare array and linked list.Also, they have more information about it.

Examples of simple nodes

But let’s begin with creating Node Class API

Constructor → it’s our function; Data, Node → Arguments ; Node → We have to return.

Directions

Creates a class instance to represent a node. The node should have properties: ‘data’ and ‘next’. Accept both of these as arguments to the ‘Node’ constructor, then assign them to the instance as properties ‘data’ and ‘next’. If ‘next’ is not provided to the constructor, then default its value to be ‘null’.

CODE:

class Node{

constructor(data, next = null){

this.data = data

this.next = next

}

}

It looks very simple, but it is just beginning and we will continue working on it in the next blog. Thank you for reading.
What You Wanted to Know About FinTech
By: Agis Georgiou
Tags: Fintech, Study

Epilogue

At this point I would like to share with you my take home points from writing this article:

First, broadly speaking about the start up world, many times I have the feeling that the hype is much greater than the actual impact. The start-up industry’s main recruitment strategy is selling hope and as goes with all industries like that only a few enjoy success in the end. Also, a conclusion I have come to strongly believe the more I learn about this world is that in order to implement change you first have to know the state of affairs that preceded it. Take block-chain for example, everyone seems to be thinking it is the miracle solution to every problem: from cross-border money transfer to sexual consent (no joke!). Don’t mistake me, I do believe in entrepreneurship, it’s just that I also believe that people tend to focus too much on the positive side (what can be achieved) and too little on the negative one (how difficult it actually is, lack of experience, domain knowledge etc.)

Second, about the financial industry: I believe that although the status quo is about to be challenged and a lot of new technologies will make our lives significantly simpler, I don’t think that established companies will go under, at least not by the hundreds. This is because it is one thing to advocate for change and an entirely different thing to actually follow it. In other words, how willing would you be to trust your money to a start up you have never heard of? Although taking a loan from one is probably a different story! After all, do not forget that most of the investments in FinTech are made by established companies. Having said that, I do believe that we are going to see a lot of interesting solutions and technologies that will simplify our lives, and ‘meet’ a lot of brilliant innovators/founders. Hopefully some of us will make the headlines at some point in their lives. Who knows maybe the next PayPal is about to emerge soon…
this guard of magnificent Christmas trees
By: Mohan Boone
Tags: Scrittura, Self Reliance, Poetry

this guard of magnificent Christmas trees

Poem

Image by @maxlarochelle on Unsplash

this path through life

is like a long and magical doodle

bright and sharp with sweeping bends and sometimes,

the pen runs out

and you’ve got to adapt -

and start out again using chalk

or beetroot.

you are not alone on this path

you are carried by the rolling streams

the spiders

and the concern of this guard of magnificent Christmas trees -

who have seen it all

and survived the chop

year after year after year.

basic logic tells us,

that if we keep walking upwards,

and the wind is on our back —

we can make it to the top.

but it is the path —

and everything in it,

on it

and around it —

that is the real story.

it is good sometimes to walk back down the way you came,

with crossed eyes,

and notice the things you missed —

Rambo sorrel with stems like marines

fig rolls

wooden owls,

and that lad that waved at you —

with family and dog,

the one who was pulling from a bottle of Moretti on top of Beacon Fell at 11 O’clock in the morning,

because it was Christmas Day,

and that meant fuck it —

today, tomorrow, as long as I can open my eyes and breathe —

I am here,

and I can do anything.
Deploying Your React App In Under 2 Minutes
By: Harsha Vardhan
Tags: JavaScript, Web Development, Software Development, Github, Programming

Deploying Your React App In Under 2 Minutes

Super-fast Deployment For React Applications

Photo by Victor Rodriguez on Unsplash

If you’re an enthusiastic developer who loves building React applications, then GitHub pages could be your best bet for hosting them. All you have to do is follow a few simple steps and you can host as many apps as you’d like straight from your repository. Sounds exciting? Read away!

GitHub Pages is a static site hosting service that takes files straight from a repository on GitHub and publishes a website. We can optionally run the files through a build process if needed. Here are the steps that you need to follow to deploy your React App:

1. Storing your project in GitHub

Make sure you store your project files in a repository in GitHub. It can either be a private or public repository.

2. Install GitHub Pages as a Development Dependency

Next step is to install GitHub Pages as a development dependency for your project. To do so, run:

npm install gh-pages --save-dev

3. Define homePage property in package.json file

In the package.json file in your react app, add homepage property using the given syntax:

"homepage": "http://<github_user_name>.github.io/<github_repo_name>"

Make sure you replace the user name and repo name with your project details.

4. Add additional scripts to package.json file

Now we need to add the deploy script in the package.json file. In the existing scripts property, add a predeploy property and a deploy property, each having the values shown below:

"scripts": {

// other scripts

"predeploy": "npm run build",

"deploy": "gh-pages -d build"

}

The predeploy script builds the final code and the deploy script deploys the code.

5. Deploy your project

Now you need to run the deploy script to deploy the project.
Loom Network Made Me Think Of 5 Ways I Need To Change
By: Mitchell Stulken
Tags: Investing, Cryptocurrency, Ethereum, Self Improvement, Bitcoin

Subscribe- iTunes Google Play Stitcher iHeartRadio

What I am going to do different.

Spend time looking at new coins coming out. Innovation is still happening even in this market. Change my mindset of the market being down and look for opportunity. Research everything more thoroughly. Visit the sites I used to more often like Reddit, Medium, Coinmarketcap, ect. View things like I am just getting started with crypto again.

By doing these things I hope to start spotting opportunities earlier and having the chance to get into them early.

So what made me do these 5 things.

With the market going down many people have stopped paying attention. Others still watch but not as close as if the market was going up. I am guilty of that myself by not looking for new opportunities.

I need to pay attention like I did when I just got into crypto.

Everything was new to me when I got into this. I didn’t know any alt coins or what the prices were. I was like a kid in a candy store, looking at everything with fresh eyes. Everything was an opportunity.

Now I know that the market is down, I have seen my investments fall, I stopped seeing some opportunities that were there. But there are still opportunities out there if I keep paying attention.

Loom Network is a perfect example of why I need to keep paying attention.

Loom came out March 14th and did not do an ICO. It seems to have solved the Ethereum scaling issue. Since it has come out the price has risen from 7 cents to a high of almost 65 cents. More about Loom here.

That is an amazing profit if you got in right away.

I did not know about Loom until about a week ago. If I had been paying closer attention would I have gotten in at the beginning?

Maybe, maybe not.

I do know that I would have known about it sooner than a week ago though. I would of at least had the opportunity to get in on the run up.

Being early usually gives you a good chance for profit.

For your viewing pleasure…..
Fresh Breeze Sweeps in Hope
By: Louise Foerster
Tags: Self, Joy, Poetry, Spring, Hope

Photo by Jochen Gabrisch on Unsplash

Fresh, insistent breeze split curtains,

Carried in bird song trills,

A child bouncing a ball, a dog barking, a game of basketball.

Even with the windows closed, I heard the world outside:

Subdued, but still singing, bouncing, barking, laughing.

Unlocking the door to the world outside, I was enclosed by warm sunshine and blinked at scrubbed-clear blue sky.

Blue jays jeered, woodpeckers hammered,

red tail hawk soared and hurtled to earth.

Swift walkers waved, conversation washing over the stone wall, inviting me to join in.

Boy rode his older brother’s bike, feet barely touching the pedals, his face focused, leaving a wobbling path behind him.

It’s time to move out the Adirondack chairs for dreaming, reading, talking about nothing and everything.

There will be chocolate chip cookies and tea — or wine and cheese with the crackers you like.

Join me?
Steady On
By: Elle Rogers
Tags: Renewal, Poetry, Poetry On Medium, Life, Hope

Steady on toward seeds of dawn

that draw themselves up

through the tiny cracks

amongst the bracken,

thick and choking,

under clouds,

buoyant and floating,

as the sound of surf

still saturates the swirling air

and everything within

rejoices at receding black despair.
The New Geometry of Building Data Products
By: Andrew Wong
Tags: Design Thinking, Data Product Manager, Agile Development, Design Sprint, Data Science

There is a need for a new space to think, discuss, and act. This need are being felt by the majority of AI / ML / Data Product Managers out there. They are exhausted by the ever increasing data volume, velocity, variety, variability, and veracity. This has created a sense of loss touch — what we are building is no longer grounded on what is needed or desired.

This is what we called, and hope to further discuss in this article — the experiential gap.

This experiential gap often separates the product developers who are building products from the people who are using them. The current ways of closing this experiential gap are through a few common product management toolkits such as:

User Research: User research are mostly focus on gathering information through understanding users needs, behaviors, aspirations, and jobs-to-be -done. The ultimate outcome of user research is to find that magical sweetspot of where and when users open up their wallet, and purchase / subscribe to our service.

HEART Framework: The original framework comes from Google product teams. This framework helps them to define quality user experience, and product goals. From each category — imagine this in rows; there are five categories i.e. happiness, engagement, adoption, retention, and task success. And, we will need to run through across — imagine this in columns; there are goals, signal, and metrics process.

Google HEART Framework

Product Roadmap: A typical product roadmap communicates the Why and What of the product teams in the next 3–12 months (and sometimes longer). Most of the time, it is a live document, updated whenever there is executive directional changes, reaction to competitive moves, or more often by conscious design and hard work in making the roadmap.

An Example of Product Roadmap

User Journey Exercise: A user journey exercise is an illustration of user interaction with the product / service in key moments and touch-points. For product teams, it is considered as an useful tool to empathize user’s point of view. From here, product teams can better design forward experience to fulfill customer needs, pain points or jobs to be done.

User Journey Exercise

The above toolkits are useful in its own rights, and they have proven to be successfully applied in large organizations, and start-ups as well. Over the past three years, we have been researching, and cobbling through a couple data product development side gigs with a few passionate product managers — what we realized is quite startling. The experiential gap continues to widen as users becoming more demanding, ever-changing, and re-thinking their relationships with the companies who are selling them products or services.

What can we do about it?
CoinMarketCap интегрировал торговые объемы Serenity.Exchange
By: Serenity Financial
Tags: Листинг, Serenity, Coinmarketcap, Криптобиржа, Торговые Объемы

The First Blockchain Escrow for Financial and Cryptocurrency Markets

Follow