fabiochiu/medium-articles huggingface dataset:
How Web Tracking Works (Part 1)
By: Chris Vu
Tags: Analytics, Datalayer, Web Analytics, Web Tracking, Structured Data

When your web browser requests a webpage from a web server, the server returns information that is more than meet the eyes.

Information including:

1. HTML & CSS

This is the main webpage content plus the instructions for the browsers to structure and format it properly so that it can be read by human.

Destination: Human eyes.

2. Structured Data

This is the supporting information that describes or supplements the main content, formatted to be readable by machines.

Destination: Machines.

Structure data comes in many predefined formats, including:

HTML metadata: Page title, page description, regional and language settings, etc. Used by browsers to format the page and also by search engines to index and rank the page.

Open Graph: Similar to HTML metadata, it provides richer info about the page such as a title image when sharing it on social media.

Schema.org: A widely-adopted format to describe the page content such as the product price, discount, and user ratings.

etc.

Structure data can also be (more) format-agnostic. The most commonly used being the Data Layer.

When we’re working on web tracking, we’re basically specifying the supporting information that we need for the web page, and instructing the web developers to push the information in a structured Data Layer.

Let’s debunk some misconceptions about structured data in general.

Will extracting the supporting information increase the web server load?

For the most part, the information has already been extracted by the web server to be displayed on the page. For examples: the user’s name, the product name and price.

We just need the information to be formatted in a structured Data Layer so that it can be read easily by scripts. So the slight increase in web server load is insignificant.

Will the data layer increase the webpage size and load time?

All the supporting information put together is probably smaller than a single typical image on the web page. So the slight increase in webpage size is insignificant.

Is it safe to output the data layer onto the webpage?

Just like when you login to a website and you see “Hello <your name>” greeting on the page, know that only your browser can access this information. It is not exposed to other users on the internet. So this is totally secure.

In the next article we will explain what the Data Layer is.
Three Global Food Trends Driving Innovation at Nestlé
By: Liz Caselli-Mechael
Tags: Pizza, Innovation, Diet, Plant Based, Food

Before I joined Nestlé in 2016, I mostly thought of it as a coffee and candy company. I knew Nestlé as the producer of Nescafé and (at the time!) some of my favorite movie candy. So, I was surprised to discover that the company’s portfolio included everything from Dreyer’s chocolate chip ice cream to Maggi noodles.

But our global brands are also evolving fast, and connecting with consumers in new ways. Take Maggi, for example. Nestlé India’s recent Maggi Masalas of India noodle range was inspired by the cuisines of Punjab, Mumbai, Chennai and West Bengal.

This offering is a great example of how we dial local consumer tastes and preferences into innovation, driven by our teams on the ground.

We’re also innovating through the Maggi “Simply Good” initiative, transforming the brand’s products by simplifying their recipes. We’re removing ingredients that consumers don’t easily recognize and adding more of those that they do, such as vegetables, herbs and spices.

We know that tastes are changing faster than ever before. Our consumers want delicious foods that are also healthy and convenient. We also understand that if we want to compete — and win — in an increasingly crowded and competitive marketplace, we have to constantly innovate to meet these shifting tastes. To do that, we’re launching new products, evolving brands you know and love, and making bold acquisitions. Through these actions, we’re prepared to meet consumers’ needs not just today, but for years to come.

Here are three of today’s biggest food trends and how Nestlé is meeting them head on:
Leading in a remote world is a human challenge
By: Susie Hall
Tags: Inspiration, Aquentinsideout, Design Leadership, Remote Work Tips, Engagement

I’ve just facilitated 9 roundtables with senior design leaders to discuss the challenges of Leading Remote Teams during a global health crisis. While everyone is still figuring out best practices, leaders in our InsideOut community are finding creative solutions.

Our biggest learning? Leading a virtual design team today requires an exceptional blend of management skills and humanity to get it right. While technology was an initial hurdle, the real opportunity is keeping teams (humans!) connected and focused to deliver on urgent and rapidly changing business goals created by the pandemic. Following are ideas from design leaders who are doing just that:

Provide Space

Whether your staff is filled with parents now tasked with homeschooling, isolated singles or any situation in between, finding space in an uncertain time is a real challenge. Successful leaders are embracing human situations and helping their teams create that space.
CI/CD with AWS Elastic Beanstalk. This is a walkthrough on how to set up…
By: Ian Adera
Tags: AWS, DevOps, React, Travis Ci, Docker

Step 2 — Set up AWS IAM

Since Travis-ci will be used to integrate the application to elastic beanstalk to be deployed. We have to grant some permission to Travis. To do this will need to create secret keys that Travis-ci will use to authenticate and validate the permission set.

From AWS Management Console search IAM (Identity Access Management) you need to have either Admin privileges or a least have policy tired to current user that gives permission to create users and assign policies.

Once within the IAM dashboard select Users on the left-hand side menu. Then at then Top select Add user. You will be prompt by anther form proceed to fill in whatever User name* you want and select AWS access type as Programmatic access.

The user we created needs to be able to deploy a new application to elastic beanstalk. For that to happen (1)Attach existing policies directly. Filter through the list below by searching (2)Filter policies with Elasticbeanstalk (3)Check AWSElasticBeanstalkFullAccess. This will give the user in our case Travis-ci full permission access to elastic beanstalk.

Click Next: Tags, Next: Review and last Create user

In the last section, you will see a message informing about success. Below that this table will appear. What is important here is the Access key ID and the Secret access key. You can Download .csv or copy the two keys (click show )to a text file on the computer to be used later.

Step 3 — Create a Github repository

You need to create a repository that will hold the config files with the application you want to deploy. Create a repository in Github. In the event, that you already have a repository skip this step.

Step 4 — Setup Travis-ci

Travis is the agent that connects your Github repository and AWS. Travis can perform many tasks as a CI tool. Within Travis, you must sync your GitHub repository with Travis-ci. The best way to do this is by using your GitHub user account through Oauth to create an account.

Select the repository you want to add to Travis-ci to watch. At the top right corner click on profile then select a setting. If your accounts are synced you will see a list of GitHub public projects. Filter the projects for your repository name you created. If you don't see your repository initiate Sync account

Select the repository then Activate the repository.

On the same page under More options than setting. Within the setting dashboard, you have to add the secret key that we create using AWS IAM step 2. Under Environment Variables add both the AWS_ACCESS_KEY and AWS_SECRET_KEY.
4 Strategies Used by Successful Writers
By: Elizabeth Dawber
Tags: Writing, Creativity, Productivity, Advice, Writing Tips

1. They have a schedule

You have a work schedule, right? The time you have to be at work and the time you can leave (Yay!). If companies allowed employees to work whenever they felt like it then I imagine the whole economy would come crashing down around us. A schedule forces you to work whether you feel like it or not.

Tim Ferris, author of The 4-Hour Work Week says, “It took me a long time to accept 1–5 am as my best hours, which was the only timing that provided consistent progress”. This schedule would suit night owls the most, but what about those of us who like a lie-in?

Pioneering feminist and author of The Second Sex, Simone de Beauvoir once reported of her writing schedule, “at about 10 o’clock I get underway and work until one. At five o’clock I go back to work and continue working until nine”.

And for the early birds, Japanese author Haruki Murakami whose work has been translated into 50 languages says, “I get up at 4 am and write for 5 to 6 hours. I keep to this routine every day without variation. The repetition itself becomes the important thing”.

Lastly, for those who have limited time due to other commitments, poet laureate of Brooklyn Tina Chang builds a strong case for being able to write better the less time she has, “After I have fed, napped, entertained, bathed, changed, and put my children to bed, I have my dinner, put on my shoes, and head to the rented office around the corner. My creativity is summoned within a two-hour time span. In this way, my writing has become more efficient”.

What I learned from these writers’ schedules was that forcing myself to work at the same time each day helped me get into a writing mindset. Create a schedule that works for you — whether it is in the small hours of the morning when everyone else is sleeping or a couple of hours before you go to bed when your mind is more relaxed. Before long, you will automatically come to associate that time with writing and this will be a motivator in itself.
For Australian Indie authors — National Library of Australia
By: A.C. Flory
Tags: Self Publishing, How To, Innerscape, Book, eBooks

I only found out about this five minutes ago, so I suspect I’m not the only one who doesn’t know that all printed books published by Australian authors [whether Indie or Traditional] must be deposited [donated for free] to the National Library of Australia within 1 month of their publication.

This is a legal requirement.

Luckily, digital books — i.e. ebooks — only have to be deposited ‘if requested’. The following infographic was taken from the National Library of Australia website:

I was a little panicked until I looked carefully at that infographic. ‘Offline’ basically means anything physical — like a hardcover or paperback etc. ‘Online’ means anything digital — like an ebook.

This means that when I finished proofing all my books, I’m going to have to send a copy of each one to the library. And that means I have to find a local POD printer as a matter of urgency as the transportation costs from CreateSpace are steep.

Does anyone know of a POD printer in Melbourne? Actually, forget that, anywhere in Australia would be nice.

cheers

Meeks
Poetry From The Tear Glands
By: Daniel A. Teo
Tags: Prose, Soul, Sad, Blue Insights, Poem

“Not everyone has to be happy all the time. That isn’t mental health. That’s crap.” — Meredith Grey

Wise words said by the one and only Meredith Grey. I believe that in life most of the time we drown in problems and wallow waist-deep in self-inflicted pain with all our excessive overthinking and insecurities. That is normal, and a part and parcel of our existence that we’re granted. Don't get me wrong, I love this world— the trees, the humans, the cats, the dogs, the seasons. I love it all.

But sometimes, we fail to realize that this universe isn't a wish-granting factory and that many a time the images we picture in our heads never actually materializes.

Not trying to sound melodramatic, but if it's going to chase you down till you become weary, why run away from the pain?

You can literally read all of this and throw it out of your head the next second, but I want you to know that at the end of the day,

Pain Demands To Be Felt.

enjoy the poems!
Difference between Data Lake and Data Warehouse
By: Amol Deshmukh
Tags: Data Lake, Machine Learning, Data Visualization, Data Warehouse, Data Science

The two types of data storage are often confused, but are much more different than they are alike.

Data Lake — is a vast storage repository that holds a large amount of raw data in its original format until the time it is needed. Just like ocean which has multiple rivers, water sources coming in. A data lake has structured data, unstructured data, social media data, smart devices data, machine to machine data etc. Every data element in a Data lake is given a unique identifier and tagged with a set of extended metadata tags. It offers wide varieties of analytic capabilities. Example — Amazon simple storage service(S3), Google cloud storage(GCP), Microsoft Azure, Hadoop

Data Warehouse — is a repository for structured, filtered data, which helps to organize and use the data to take strategic decisions. This storage system also gives a multi-dimensional view of atomic and summary data. Example — Oracle Exadata, Teradata, Amazon Redshift

The term data lake has become synonymous with the big data technologies like Hadoop, Amazon S3, GCP, Azure while data warehouses continue to be aligned with relational database platforms

KEY DIFFERENCE
Getting Into Development
By: Bob Roebling
Tags: Jobs, Careers, Programming, Education, Development

Getting Into Development

How I became a developer in three years

Photo by Carl Heyerdahl on Unsplash

Getting started as a developer is no easy task; it takes hard work, a lot of learning, persistence, some creativity, and sometimes a little luck.

I’ve spent most of my professional developer career as a COBOL developer, albeit only four years. Before this, I was a systems admin for eight years.

I first started COBOL in 2014. I was amazed at the lack of information online about how to do anything in this language. You have to read the documentation to figure it out.

Because my job was split between dev and admin, I didn’t have much of an opportunity to write code. I spent most of my evenings and weekends trying to learn how to write COBOL.

Around late 2014 I still hadn’t had much of an opportunity to learn COBOL, but I was getting interested in iOS development with Objective-C. This was very different from what I was used to but I liked it much better than COBOL for all of the built-in functionality provided by the standard library.

It was also around this time when work started picking up and they asked me to write an application for Windows.

I started my trek by purchasing a course to learn C#. I learned a lot on my first run through, but mostly about structuring code and performing small tasks.

I had my foundation of variables and constants, conditional statements, basic expressions, and an understanding of what the standard library contained and what could be expected in other languages.

On my second run through the course, I learned more about the various domain layers of applications and structuring applications for future modifications. By the end of it, I was able to write simple applications to get work done.

Before moving on to another job in 2017, I was able to write a gateway monitoring application that would switch the network over to a backup system as a failover.

In the meantime, I continued learning. In 2015 I started with Swift. I enjoyed the language but it was hard to learn. Not because of the syntax but because I had all of these preconceived ideas about how C# was doing work and I was essentially trying to write Swift as I would C#.

Once I recognized this, I started reading up on how to properly structure my code in Swift, how to leverage some of the ideas that were unique to Swift to improve my coding skills.

It wasn’t until I decided to try and write a full iOS application, complete with views, databases, and networking, that I started to understand the language.
Before You Can Make Money from Writing the Writing Part Has to Happen
By: Jessica Lynn
Tags: Writing, Creativity, Life, Márketing, Money

There are plenty of ways to make money online from writing, but you have to put in consistent effort first. When you’ve put in the work, the money will follow.

There is no one size fits all process when it comes to monetizing your writing.

My journey may look different from yours because everyone comes with varying degrees of skill, knowledge, and ideas. No one person can tell you exactly what to do to make money from your writing.

I can tell you about my process.

I can share with you how I went from 0 to $1,000 a month on Medium and climbing, in five months, but the journey won’t look identical for everyone, you may make more than me. But there will be one similarity — you need to show up.

So, until you start earning an income from your writing, shift your focus from “when will I make money” to working on the process of writing because that is the part you have control over.
My memories of you
By: E.B. Johnson
Tags: Poem, Poets Unlimited, Poets On Medium, Poetry On Medium

are all bad. no good.

rage, screaming, threats

to throw our mother out

on the street for her crimes

against your pride.

nights spent holding your

wife; eleven year old hands

carrying a burden they had

no right to acknowledge.

spit in the face. screams on

the other side of a door and

a thin blue line that keeps

all the voices in town

silent. i remember the threat.

i remember the fear and the

sighs of relief every time you

go to work or shut

a door behind you. laughing

in relief to know you won’t

be home until late in the

evening; until then

we’re free of your vindictive

ego and the calls for shame

and for emotionally fraught

violence. i will

probably never stop hating you.

i will probably never forget that

rage and that sadness and how

even at the end our

mother cried for the bent and

broken nature of your soul. i

will never be able to forgive

though i strive to

forget what damage you’ve done

and what havoc you’ve wreaked

in my life. i strive to forget that

men like you are more

common than any of us care to

admit. i strive to undo the pain

and the hurt through the healing;

generations long and

incomplete. i doubt my journey

will ever end, so i hold you pain

against me like prayer:

never look back, never give in

freedom is a gift you demand

for yourself.

© E.B. Johnson 2020
AidCoin & BlockShow: bringing charity to TOP crypto conferences worldwide
Tags: Blockchain, Charity, Nonprofit, Fundraising, Cryptocurrency

We are always keen to develop relationships with other players in the blockchain sector and this time we have a rather unusual partnership to announce: AidCoin has joined forces with the biggest crypto conference organizer in the world — the BlockShow conferences powered by CoinTelegraph! This week marked our first collaboration for the BlockShow Americas in Las Vegas, where Federico Malvezzi, AidCoin Managing Director, held a speech.

The main aim of this collaboration is to educate people on how blockchain, cryptocurrencies, and smart contracts are solving the biggest problem facing the charity sector today but also to explain that anyone, no matter what their sector, can become part of this revolution, so Federico’s keynote content was rather broad. He covered everything from challenges facing the non-profit sector, to our latest initiatives — the Japan campaign which gained 37k retweets and our partnership with WWF — and how other ICOs can support charity with us by either donating a percentage of their tokens to charity or embedding AIDPay to raise donations directly through their product interfaces.

In addition, Addy Crezee, CEO of BlockShow, came up on stage to show his support and announce our future joint activities: Сrypto Gala events and Charitable Dinners where we will leverage the expertize of CharityStars to auction off charitable meetings with top Speakers & Founders of the most prominent blockchain companies, as well as VIP tickets to crypto events and much more, with bids accepted in top cryptocurrencies. These events will be either linked to the main BlockShow conferences or be held separately — in both cases our community is very welcome!

“BlockShow has been bringing blockchain solutions to the world since 2016. Charity is a vital part of our society and implementing blockchain improves the process of giving a lot” — Addy Crezee, CEO of BlockShow and Former CMO of CoinTelegraph

The speech also explained various options of our cooperation with other blockchain projects and as a result we are expecting some new partnerships to be confirmed soon. We’ve already been approached by Buying.com (an ICO in the e-commerce sector) and Bexam (Japanese hybrid exchange) — both of whom have showed a strong interest in working together.
Normal Mapped Photos using HTML5 Canvas
Tags: Html5, Out Source, Cool Stuff, Canvas

Post Source

Endergen.com

A great work using canvas and jquery

Try It

Source files

I included just CanvasApp.js . Go to website for other files.
Steps to Proficiency in Any Programming Language
By: Daniel Along
Tags: JavaScript, Python, Programming, React

Steps to Proficiency in Any Programming Language

Seven steps to proficiency, from being an active learner to solving real problems

In the past, I have made the mistake of stopping at “Hello World”. I wish I could go into the history of Hello World but honestly, I am not interested.

Every programming language you learn will get you to print “Hello world” but, in the actual sense, that is not the beginning. I consider the real beginning to be when you are able to use every bit of the building blocks to build something meaningful.

Let’s jump right into the steps you will require to become proficient.
Closing Out The Year With A Special Thanks To Our Writers
By: Faith Ann
Tags: Writing, TV Series, Culture, Justice, Film

Photo by Georg Eiermann on Unsplash

Hi everyone!!

This evening I was talking to my partner about how proud I am of this publication. I took it over from a fellow writer friend this past summer and am so grateful to the readers who keep coming back. But I am even more grateful to the writers who are vulnerable in sharing their stories and thoughts with our readers and the world. Thank you all for writing amazing stories!

This year has been tumultuous, to say the least, and I think for so many of us, the screen has been our sanctuary. As the couch became our classrooms, offices, and dinner tables, the TV became even more essential from essential coverage of global news to escapism. Whether you were revisiting old classics, dissecting new themes, or exploring the intersection of justice and film…I would bet good money people watched more TV and movies this year than any year previous.

As we approach the new year, our publication’s goal remains a place for writers to have nuanced, interesting, and fun dialogues about all things Cinema. But I also urge readers and writers to challenge cinema…to seek out film that progresses our society towards justice and explores what makes us human.

But without further ado, here is November’s wrap up and things to look forward to!
What’s new in the NCSS Challenge 2019?
By: Kylie Williams
Tags: Coding, Programming, Education, Teachers, Competition

For 2019 Newbies will include narration for all slides and problems. We use paired problems to help reinforce learning. This level is most suited to students in late primary or junior secondary school (10–14 years) and aligns with the 5/6 Australian Curriculum: Digital Technologies.

Beginners has been completely revised for 2019! Like Newbies, we have added paired problems and interactive slides to reinforce concepts and make learning more engaging and fun. Aligned with the 7/8 Australian Curriculum: Digital Technologies this course is most suited to students in junior secondary school (12–16 years) or older students with no experience who want to start with the basics.

Intermediate has now been updated to more clearly follow on from Beginners. The assumed knowledge for this course is now much clearer from week 1. Students will need to have completed Beginners before or have had experience in coding to complete this stream. This content also now more closely aligns with the year 9/10 Australian Curriculum: Digital Technologies.

And finally, our Advanced stream will be running a card game tournament 🏆! An all new way to compete, with code. Students will build an Artificial Intelligence (AI) to play a competitive card game, and then go head to head against other AIs. We’ll teach them the basics of how to build an AI, but it’s their job to figure out a winning strategy! This stream is designed for experienced students ready to stretch themselves.

The other exciting new change you may have noticed is our new and improved subscription process. The new processes are designed to be simple & easy to use, but if you need help, we’ve got you covered with detailed instructions in our FAQ’S. Don’t forget, all students need an all-access subscription to participate in the Challenge.

Watch this video so see how simple and easy it is to set your students up on Grok Learning!

As always our amazing tutors will be on hand to assist in answering questions and offering advice.

The NCSS Challenge starts on 29 July and all courses are now available for you to sign your students up! Just go to your teacher dashboard, select your students and assign them to whichever stream you feel is appropriate. Remember, your students need a Grok Learning all-access subscription to participate. You can buy subscriptions from your dashboard too!

If you want some advice on which stream is right for your class, just email us and we can help you out!
Use Those 20 Hours Properly To Acquire A New Skill
By: Tatyana C
Tags: Edtech, Skills, Education, Learning, Startup

Use Those 20 Hours Properly To Acquire A New Skill

Yes that’s all it takes, and it’s pretty simple too.

ww.asianefficiency.com

It does not take you much time to acquire a new skill, on the contrary of what most might think, it’s actually pretty simple.

The first thing we need to know is that the main barrier in learning something new, or doing anything new, is emotional, thus being scared of failing.

When you have your mind set on acquiring a new skill, one that you truly need or love, then you’ve accomplished the first step. Motivating and believing in yourself is the key to anything you want to do.

Josh Kaufman, the author of ‘The First 20 hours’, sends out a very important message that,

if you can put full focus and practice into something you want to be good at, you will be astounded by how fast you will learn it and become great at it.

I’ve watched his Ted X talk “The first 20 hours- How to learn anything”, and I learned that it highlighted four important and simple steps to go about this.

1- Breaking down the most important parts

Whenever you want to learn a new skill, you will have to find the most important factors of it, break them down, and practice them the most. For instance, if you are learning a new language, find out what the most common words are and practice them, that way you are bound to have 80% of that language’s words covered.

2- Learn how to correct your own self

Make sure you use as much reference materials as possible, that way you’d be learning enough to be able to spot your own mistakes and correct them.

3- Distractions are to be abolished

Anything that distracts you from sitting down, practicing, and learning is simply a barrier. All you have to do is find out what it is and move it away from you, that way you can efficiently focus on what your learning.

4- Give that new skill you’re learning just 20 hours of your time!

Yes, just 20 hours! Did that sound like too much? Well, guess what? It’s not at all, actually it’s only 40 minutes a day for a month. I bet that just made it sound 100 times easier to do.

So after reading these easy steps, are you still afraid of failing? Even though, you must keep in mind that it’s the only way you learn and develop. Do you still think you cannot acquire a new skill in such a short period of time? I highly doubt, and it’s pretty easy too! Aim all the focus you’ve got on practicing that new learning of yours, and you’re good to go.
Affection with interest…
By: Andy Anderson
Tags: Funny, Humor, Comics, Love, Valentines Day

Looking to add some funny to your feed? Follow this page for new cartoons every week.

Follow
How to install php curl ?
Tags: PHP, Curl, Php5, Apache

[sourcecode language=”bash”]

### First, check if there is enabled curl.

$ php info | grep -i curl

### If no result then install the php curl library

$ sudo apt-get install php5-curl

### Once its installed restart the server

$ sudo /etc/init.d/apache2 restart

### Verify if the curl is enabled.

$ php — info | grep -i curl

/etc/php5/cli/conf.d/20-curl.ini,

curl

cURL support => enabled

cURL Information => 7.38.0

Thats it.

[/sourcecode]
Fragile
By: Lisa Beth Wright
Tags: Poetry, Life, Grief, Relationships, Poem

Stories and poems that touch the heart.

Follow
Napoleon Dönemi’nde (1792–1815) Prusya Ordusu’na Bir Bakış: Topçular ve Milisler
By: Ümit Kaan Usta
Tags: Military, Tarih, Germany, Türkçe, History

Yararlanılan Kaynaklar:

Rory Muir, Tactics and the Experience of Battle in the Age of Napoleon, Yale University Press, 2000.

Peter Hofschröer, Prussian Staff and Specialist Troops, Osprey Publishing, Londra 1987.

Francis Loraine Petre, Napoleon’s Conquest of Prussia, Balantyne Hanson&Co., Edinburg 1914.

Anthony L. Dawson, Paul L. Dawson, Stephen Summerfield, Napoleonic Artillery, The Crowood Press, Wiltshire 2007.

Marc Morillon, The Siege Mortars and Their Related Skills during the Napoleonic Era (Çev. Paul Morillon), Napoleon-Series, https://www.napoleon-series.org/military/organization/c_mortars.html, erişim tarihi: 26.06.2019

About the Tactical Proportion of Howitzers in Cannon Batteries (Çev. Geert van Uythofen), Smoothbore Ordnance Journal, Sayı: 7, 2013.

Peter Hofschröer, Prussian Reserve, Militia & Irregular Troops 1806–15, Osprey Publishing, Londra 1987.
Poetry Is A Dance
By: Rebeca Ansar
Tags: Poetry, Writing, Creativity, Poem, Dance

new words

arranged in

the dance of

poetry

yawn to stretch

taut skin, the

morning of

new existence

spreading decisive

through space, they linger

in a pose along the curves

of your ear

as you whisper

them to yourself

a shy stranger’s

invitation

welcome to

the art of feeling.
Maps in Javascript
By: Andrew Richards
Tags: Javascript Tips, JavaScript, Javascript Development, Software Development, ES6

ES6 introduced new data structures to take care of some problems that the language did not take care of.

Before its’ introduction, people generally used Objects to do the work.

However, Objects do not allow keys to be anything other than a string or integer. Keys in a Map, on the other hand, can be anything (object, array, string, or number). This allows for some interesting uses.

Features that objects do not have

Can store Arrays and Objects as keys.

Easily iterable in order of entry.

How to Create a Map

let m = new Map()

Built in Methods

.set()

Use the set method to add entries to a Map.

m.set('key', 'value')

m.set('hello', 'world)

.get()

Use the get method to get the value of a Key, Value pair in a map

m.get('hello')

// 'world'

.has()

Use the has method to check if a key is in the Map. Returns a boolean.

m.has('hi')

//false m.has('hello')

//true

.size()

Use the size method to check the size of a Map. Something that is not available with an object.

m.size()

//2

.delete()

Use the delete method to remove an entry from a Map.

m.delete('hello')

// will remove hello from the Map m.size()

// 1

Iterating Through a Map

One of the biggest improvements of a Map over an Object is the ability to iterate through the data structure in the order that the objects were added.

In doing this we also have access to the value using destructuring. We can use a “for, of” loop to get this done.

for(const [k, v] of m){ console.log(k, v) } // hello world

Conclusion

These features allow for a more expansive set of use cases and better ways to solve problems.

Thank you for reading! Please follow me on Twitter @thedrewprint and connect with me on LinkedIn. — Andrew Richards
Are You Relying Too Much On Your Past? Spoiler Alert—The Road Ahead is Not Behind You
By: Jill Reid
Tags: Life Lessons, Self Improvement, Personal Growth, Life

When I was 13, it seemed like an eternity until I’d be old enough to get a drivers license.

Time moved much slower back then (at least to me), and the next three years crawled by as I waited for that magical sixteenth birthday that would finally put me in the driver’s seat.

Like most of my friends, I took drivers ed.

Not because I didn’t know how to drive, (my mom had let me drive a few times in empty parking lots, so I was familiar with the basics), but because I would have to buy my own insurance. And taking a driver’s education class meant a discounted rate.

The course was scheduled on the weekends, and after a month of classroom instruction, it was finally my turn to take the wheel.
Is Family Life Teetering on the Brink of Disaster?
By: Dr. Deborah M. Vereen
Tags: Disaster, Hope, Parenting, Family, Joy

Prayer and mediation have the capacity to be powerful forces in life.

Quiet reflection, communicating with God, and listening to the still small voice that resides within the heart strengthens the body, mind, and soul. Spiritual introspection activates the senses. Vision and hearing become fine tuned. Information that is received into the mind becomes clearer.

Ultimately, prayer and mediation releases inner strength that increases the ability to take positive steps in life to improve negative family circumstances. This invites joy back into the family.

2. Maintain a Spirit of Thankfulness

Photo by Lucas Lenzi on Unsplash

Sometimes it is easy to overlook the basic yet critical things in life that should fill the soul with gratitude. Fresh air to breathe, bright sunlight that provides warmth and beauty, and clear fresh water to quench the thirst are among these vital necessities. Beyond these examples, there are so many other things in life to be grateful for.

When families adopt a spirit of thankfulness, they recognize and acknowledge all their blessings in their life. This enables them to respect the lives that they live unconditionally.

There is no greater way to rediscover the joy that daily grace and mercy bring into family life.

3. Welcome Each Day
IFA Recap: Main Street Hub & Winning Micro-Moments Across Your Brand Network
By: Main Street Hub
Tags: Social Media Marketing, Culture, Reputation Management, Franchise, Social Media

We really enjoyed talking with marketers and franchise professionals at IFA 2018 about social media and changing consumer behaviors in a mobile-first environment.

Since word-of-mouth has moved online, consumers expect to be able to find everything they need to know about a brand in just seconds. These precious seconds — when a consumer turns to their smartphone to take action on whatever they need or want right then — are defined as micro-moments.

Main Street Hub can help you master each micro-moment by posting authentic micro-content on your behalf to spread word-of-mouth, encourage repeat business, extend your voice online, reach a wider audience, and stand out from the competition.

What’s micro-content? Micro-content is content that’s accessible, clear, and inviting to consumers and retains its intended message when taken out of its original context. As consumers turn to mobile devices and social media, it has become the most “practical form of communicating” with current and potential customers.

Here are just a few ways Main Street Hub can help your brand network become a master of micro-content across social channels for each franchisee. Main Street Hub will:

Use high-quality photographs to make each of your locations stand out from their competitors.
Punching Nazis Totally Works
By: Darien Cavanaugh
Tags: Politics, Music, Defiant Politics

Punching Nazis Totally Works

Everyone who grew up in the hardcore/punk scene in the 1980s and 1990s knows it

by DARIEN CAVANAUGH

When alt-right poster boy Richard Spencer’s face ended up on the receiving end of the punch memed around the world on Inauguration Day, it raised questions among liberals and leftists about the role of violence in politics.

The debate quickly intensified following reports that an anti-fascist protestor was shot at the University of Washington as Breitbart editor Milo Yiannopoulos gave a speech there on the night of the inauguration. Then on Feb. 1, 2017, violent protests at the University of California Berkley shut down a scheduled appearance by Yiannopoulos.

The recent discussions of political violence, particularly as it relates to punching neo-Nazis, tend to center on ethical concerns and skepticism over whether or not it’s an effective tactic.

I’m not going to attempt to address the ethical question. There are reasonable arguments for both nonviolence and the use of force.

But I will say this — punching Nazis is absolutely an effective tactic. In fact, it’s been proved time and time again to be the most effective means of simply communicating with Nazis.

Violence between anti-fascist and neo-Nazis is nothing new. It’s been getting more attention since the rise of the alt-right and Pres. Donald Trump’s inauguration, but it’s been going on for decades.

Recent incidents include anti-fascist protest at a white supremacist rally in Sacramento in 2016. Several people were beaten and stabbed at the rally. Likewise, protestors at a November 2016 conference for the National Policy Institute, which Spencer heads, attacked one attendee and harassed several others.

In the 1980s and ’90s, much of the violence between anti-fascists and neo-Nazis occurred in the hardcore and punk music scenes.

I started listening to metal, punk and hardcore when I was 12 years old in 1988. The first show I ever went to was DRI, Sick of It All and Nasty Savage at the Cuban Club in Tampa on March 3, 1990. I was 13 at the time.

That night, there were several hundred people, maybe a thousand, in the enclosed courtyard behind the club where the bands played. Most of the people at the show were metal heads there to see DRI and Nasty Savage, but around 50 neo-Nazi skinheads were also there to see Sick of It All.

Vicious fights broke out almost as soon as the music started.

The skinheads targeted random metal-heads for no reason — just picked one or two of them out of the crowd, isolated them and ganged up on them. Any time one of the metal-heads dropped to the ground, they were immediately swarmed by a bunch of skins who kicked and stomped them.

Eventually several police cars and a few ambulances showed up and things calmed down for the rest of the night.

It was a terrifying introduction to the hardcore/punk scene, especially since I was a scrawny teen with long hair and was probably wearing a sleeveless Sacred Reich shirt. I looked like a metal-head, and Nazi skinheads have no qualms about beating up kids.
Happy Birthday Fiscal Stimulus
By: Keith Hennessey
Tags: Economy, Budget

I teach economic policy at Stanford’s Graduate School of Business. I served as Director of the National Economic Council for President George W. Bush.

Follow
Why Blockchain is so intriguing
By: Arne Reimann
Tags: Blockchain, CEO, ICO, Bitcoin, Token Sale

Hi there,

I have always been fascinated by new technological innovations. Especially because I have always been on the hunt for technologies that have immense potential for both businesses and end-users.

The Blockchain Technology is one of those innovations. Since the word “Blockchain” started popping up everywhere around me, I started digging deep into the topic, because I wanted to know every aspect of it.

The Blockchain technology is especially fascinating because it has evolved immensely since its Whitepaper has been published in 2008. Back in 2008, one of the main problems the blockchain addressed, was removing the need for a trusted authority or central server when transferring digital currency. In fact, Bitcoin, the crypto asset most of us have heard by now, became the first digital currency to solve the double spending problem. This problem has always been a flaw in digital cash in which the same token can be used twice — without using a centralized system.

As I mentioned before, Blockchain has evolved rapidly since the publication of its Whitepaper. Blockchain has become something far greater than initially anticipated. It was originally intended for the use of bitcoin and especially to solve the double spending problem. However, today its uses are nearly limitless. In short, the blockchain is a decentralized, incorruptible digital ledger of economic transactions, that can be programmed to record anything we find valuable. The ingeniousness of the blockchain is the security and its decentralized nature.

There is an infinite number of uses for blockchain technology, and ICOs are taking advantage of this, by offering a variety of services on the blockchain. It is looking something akin to the beginning of the 2000, where companies were jumping on to utilizing the benefits of the web.

Now we are again in an exciting stage of change. We are in the early adoption period of companies looking to be first to market by utilizing blockchain technology to offer a unique business service.

Most certainly, not all of these services will turn out to be profitable and not all companies will be successful, but it’s easy to see the business value for data to be completely secure, and utilising a decentralized network.

In the following weeks, I want to share my passion about the crypto industry with you. Stay tuned to learn about different areas of the industry, including how to spot a good Blockchain Venture Company, understanding the substantial use of Blockchain, as well as why Blockchain is so important for large companies.

Did you like this post? Tap the clap icon :)

Become a member of the Intrachain community

I will keep you posted on exciting angles of the Blockchain Industry. In the meantime, feel free to contact me on Telegram to chat with me and my Co-Founders.
Write For Pythoneers
By: Abhay Parashar
Tags: Writing, Pythoneers

We Are Always Ready For Supporters and Content Writers

Photo by Adolfo Félix on Unsplash

Pythoneers is the newest publication on medium. It is a publication based on Python Programming and Things That You Can Do With Python. We Accept a Variety of Topics.

Topics We Are Interested In

Machine Learning

Artificial Intelligence

Data Science

Python Programming

Programming Tips and Tricks

Web Scraping

Web Automation

Desktop Development

GUI Development

Web Design and Development

Testing

Scripting

Ethical Hacking

Computer Vision

Deep learning

How to Submit an Article With Pythoneers

Leave a Response Below. we will add you as a writer. Follow these instructions to submit a story. https://help.medium.com/hc/en-us/articles/213904978-Add-draft-or-post-to-publication We will review and lightly edit your story. If it meets our criteria, we will publish it.
by Martino Pietropoli
By: Martino Pietropoli
Tags: Cartoons, Thursday, Humor, Art

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

Follow
Will China’s new cryptocurrency make virtual cash respectable?
By: Enrique Dans
Tags: Economy, China, Privacy, Money, Cryptocurrency

IMAGE: E. Dans (CC BY)

This is one of those news items that tends to be overlooked by the media amid the so-called silly season, but which will have major repercussions: the People’s Bank of China has announced that after five years in development, it is ready to launch its digital currency, although no date has yet been set.

The country that has contributed most toward the development of cryptocurrencies, at least in quantitative terms, and that which has tried hardest to control them through successive prohibitions, is now about to do what very few other countries have: rather than continuing to wait and see, it has launched his own project, under centralized control like everything else in China, and aims to take advantage of the undoubted advantages of cryptocurrencies by launching its own. This is not a change of opinion, but a significantly more innovative reinterpretation of the ​​cryptocurrency project than other countries.

The structure of China’s virtual currency will probably have little to do with the cryptocurrencies we’ve known until now: it will be supervised at two levels, with the People’s Bank of China above and the country’s commercial banks below in order to manage China’s vast economy, rather than depending solely on blockchain, which is too slow and inefficient to manage such a huge volume of transactions. Ostensibly, the idea is to generate a stable currency, a modern vehicle for transactions with all the advantages of a cryptocurrency and avoiding the instability and fluctuations cryptocurrencies have traditionally been subject to. What China also wants to do is provide total traceability for all economic transactions, thus avoiding the problems associated with cash, such as crime, submerged economy… all very much in line with Beijing’s policy of rigid population control.

This approach will likely disappoint cryptocurrency enthusiasts but it could offer a model for developed nations that do not want to be associated with the antics of failed states like Venezuela and its petro. China’s move could be a radical rethink of the role of money in its its economy, offering solutions for its challenges. Cryptocurrencies are going to play a major role in the coming years, and China has decided to be part of that future, in a big way. This is a long way from the early ideals of the cryptocurrency development community, heavily influenced as it is by practical considerations and the interests of one of the world’s largest economies, but will nevertheless be watched closely.

The cryptocurrency has come of age.
Build Your Socials
By: Luke Wiese
Tags: Writing, Self Improvement, Social Media, Self

Disclaimer: Nothing’s easy. Not even on social media. In fact, it might be more challenging than you think. In a world where everyone’s connected, it also means you have some pretty brisk competition.

Here’s how you can finally get some traction in your social media life.

Post consistently.

People will try to tell you quality is king, and that has some truth to it.

Anyone who’s seen some type of real success with social media knows that just isn’t the case.

Quality isn’t king at all. Quantity is.

You should always try your hardest to put out your best work, whether it’s in the form of a post, picture or video. However, you can’t let yourself get caught up in the trap of chasing perfection, it’s simply unattainable.

Post everyday, even if you think your work sucks. Someone else might love it!

Learn from your mistakes. Try to learn where you went wrong from the articles or videos that flop. Figure out what your audience is searching for in content. Adjust and adapt at all times. The only way to effectively figure out what’s working and do this to become a better content creator is by posting all the time.

You should always approach your content from an “audience first” perspective. Don’t just use your social media accounts as your personal diary.

What do people really care about?

What are your viewers loving about your work, and what are they hating?

Will your readers take the time to read through this subject matter, or do they simply not care?

Discover the answer to these questions by doing the first simple task of content creation:

Post consistently.