fabiochiu/medium-articles huggingface dataset:
How I Enabled CORS for Any API on My Single-Page App
By: Alessandro Diaferia
Tags: Programming, JavaScript, Nginx, Docker, Web Development

How I Enabled CORS for Any API on My Single-Page App

And how you can too

Photo by jose aljovin on Unsplash

In this article, I’ll show you how I used free services available to anyone to build a little proxy server for my app to overcome certain CORS limitations for my single-page app.

I built Chisel to help with some repetitive API-response composition and manipulation I was doing at work.

It’s a single-page app that allows you to perform requests against any API endpoint and compose results to extract only what you need. It also allows for CSV exports. Pretty straightforward.

Being it’s still in its earliest days, I decided I wanted to build it with the simplest architecture in order for me to be able to iterate quickly. I went for the JAMstack, built it in React, and deployed on Netlify.

Since it doesn’t have a back-end server it talks to, anything you do stays on your machine. Unfortunately, not all APIs allow for cross-origin requests, so in certain cases, you won’t be able to perform any request from your browser unless you enable the proxy functionality.

What happens if you don’t is your browser will attempt a CORS preflight request which will fail if the API doesn’t respond with the expected headers.
Shadows
By: Anna Breslin
Tags: Women, Poetry, Life, Love, Self

Shadows

A poem

Paul Klee, “ opened” Public Domain

~

.

Piercing through

half-open blinds,

shadows dance

distorted around me

as light moves with day.

I am myself, sliced

into light’s pieces

yesterday, tomorrow,

today, and

just this breath.

True north,

was more magnetic

in my youth.

Now my compass

points float

on the wind.

Wandering, wondering,

ruminating discursively,

pressure enters my body

through every cell of my skin.

Life, a story to write

and yet, I am myself

endless pages of words

crossed out.

I am unwilling to be

a cliche tale

of midlife reinvention.

It’s not so trite

as the label would suggest —

casting off roles,

cultural expectations

randomly assigned

in double helix twists.

I inhaled a uniform

from my first moment,

like a fish in a bowl,

yet I have never

belonged to this shell.

Does anyone

belong to their constructs

wholly without resistance

or consideration?

Why?

I want to rebuild,

reform,

question

every

single

thing

because I’ve learned

at least one thing -

nothing is by necessity

anything,

almost.

~

© 2019, A. Breslin. All Rights Reserved
Earn more profits from your online business with digital marketing
By: Sajiv Kumar
Tags: Online Marketing, Digital Marketing Company, Digital Marketing Agency, Synapseinteractive, Digital Marketing

Our digital marketing competencies have already benefited countless businesses in the USA and other countries. Being a reputable digital marketing agency, SynapseInteractive offers exclusive, result oriented digital marketing services to clients looking to increase the earnings from their online business ventures.

Digital marketing consultants, at SynapseInteractive, can be relied upon for helping your website get more customers and earn more profits for you. Owning a website and getting it online is just the first step towards success. The big task is still undone! You still need to ensure that your website is searchable by your potential customers online and, for that, you will require expert and result oriented digital marketing campaigns to be raised.

SynapseInteractive is the ultimate digital marketing agency in the USA, UK, Australia, and Europe or elsewhere to help you reach out to your business prospects in minimal time and minimal efforts.

Follow us on Facebook: SynapseInteractive: Digital Marketing Agency

Learn more: Digital Marketing Agency PPT or Digital Marketing Agency Video
Heads or tales from the Crypt…
By: Andy Anderson
Tags: Cryptocurrency, Crypto, Cartoon, Comics, Humor

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

Follow
COSS official IEO Liftoff to launch SWAPS.NETWORK on 21st August 2019
By: Coss Team
Tags: Blockchain, Cryptocurrency, Crypto, Bitcoin, Initial Exchange Offering

Hello, everyone.

We at COSS are elated to share this with our community. The IEO platform of COSS is finally ready and will soon be hosting its first project with the launch of SWAPS.NETWORK’s SWAP token.

About COSS Liftoff

COSS Liftoff platform has a team of experienced professionals who ensure the legitimacy of both the project and the token. They conduct a diligent evaluation of the potential and authenticity of each Blockchain project that goes live on the platform.

Additionally, COSS facilitates the frictionless purchase of the digital assets offered by the IEOs using the cryptocurrencies being held by you in your exchange or private wallets. During token distribution, you will receive the tokens in the medium used to purchase them.
Desk | Mejora en la experiencia de usuario de arquitectos y sus clientes.
By: Silvia Rodriguez Iza
Tags: UX, UI, Design Thinking, Architecture, Español

Sign up for Design news

By UX Planet

Get the latest news from the world of UX design Take a look
Биржа Serenity попала в рейтинг LiveCoinWatch
By: Serenity Financial
Tags: Криптобиржа, Листинг, Биткоин, Криптотрейдинг, Криптовалюты

The First Blockchain Escrow for Financial and Cryptocurrency Markets

Follow
自我介紹？不是要你介紹自己，而是如何留下印象。
By: 侯智薰 Raymond Ch Hou
Tags: 說話, 社交, Careers, 自我介紹, 知識

Get this newsletter By signing up, you will create a Medium account if you don’t already have one. Review our Privacy Policy for more information about our privacy practices.

Check your inbox

Medium sent you an email at to complete your subscription.
Casa Node Update — 12.7.18. Better Incoming Lightning Connections…
By: Nick Neuman
Tags: Cryptocurrency, Crypto, Product Updates, Lightning Network, Bitcoin

Casa Node Update — 12.7.18

Better Incoming Lightning Connections, Bug Fixes

This week’s update goes out to all of you Lightning Explorer lovers who’ve been wondering why your node’s connection address isn’t publicly visible! (crowd goes wild)

Improvements for incoming node connections

If you have to set up port forwarding — either because uPnP isn’t working or because you don’t want to use uPnP — we’ve now added in the ability to tell the Lightning Network what port you opened. This will make your node visible to other nodes using autopilot (so they’ll auto-open channels to you), and it will allow others to find your connection code in explorers.

You can check to see if your node is discoverable via your Connection Details.

We’ve moved our blog! To continue reading this article, visit the link below:

https://blog.keys.casa/casa-node-update-12-7-18/
This Most-Asked Question on Google Still Has No Answer
By: The Maverick Files
Tags: Humanity, Emotions, Relationships, Love, Self

This Most-Asked Question on Google Still Has No Answer

I can bet you’ve wondered about this too…

Image by PIRO4D from Pixabay

While “researching” for what I wanted to write about next, I came across the most interesting observation. I was trying to look for the most-asked questions on Google, and see if I could add to the existing knowledge out there to try and help the curious minds of the world.

Most of the questions on that list seemed like normal things to ask the almighty knowledge source that Google is.

When are the NBA playoffs?

What is my IP?

What time is it?

How to register to vote?

How to draw?

How many weeks are there in a year?

Well, for all of these questions, Google has a pretty legit answer and it shows up as your top result in emphatic style.

Snapshot by Author

Yet, there was one question that stood out to me — which even Google didn’t have a definitive answer to.

That question is a very existential one and one we struggle to figure out for most of our lives.

What is Love?

This time, however, even Google was less emphatic in its answer. It showed up an excerpt from an article that ranked on top of its SEO settings — but still had a vague answer. Here’s the answer that showed up — :

Love is complex. A mix of emotions, behaviors, and beliefs associated with strong feelings of affection, protectiveness, warmth, and respect for another person. Love can also be used to apply to non-human animals, to principles, and to religious beliefs. For example, a person might say he or she loves his or her dog, loves freedom, or loves God.

Does that leave you with a concrete idea of what love is? It definitely doesn’t do it for me. Especially because the answer has so many intangibles — affection, protectiveness, warmth, and respect — what do they even mean?

So, I thought of doing my own take on what love truly is and provide an answer to a question that’s been around for thousands of years, but still perplexes everyone.
Salt River Fields Grand Slams with ToneDen’s Dynamic Event Ads
By: Joanna Novak
Tags: Social Media Marketing, Facebook Advertising, Sports Marketing, Case Study, Baseball

It’s spring training time, which means the Colorado Rockies and the Arizona Diamondbacks are limbering up at Salt River Fields at Talking Stick. Meanwhile, fans are flocking to this picturesque Scottsdale complex to catch their favorite players in action. It’s not just the sportsmanship that’s stunning. From the 11,000-seat ball field, fans can see Camelback and the McDowell Mountains, Red Mountain, the Superstition Mountains, and Four Peaks.

If the landscape is breathtaking, so is the facility’s young history. As Chris Bonnell, Director of Marketing for Salt River Fields tells ToneDen, this isn’t your average spring training locale. “We’re the only Spring Training facility owned and operated by an Indian Community, the Salt River Pima-Maricopa Indian Community,” Bonnell says. When it opened in 2011, Salt River earned a LEED Gold Certification for New Construction from the United States Green Building Council (USGBC), making it the first LEED Gold-certified sports venue of its kind in the United States.

While Salt River Fields hosts events year-round, Spring Training is the busiest time of the year. Bonnell finds himself helping to “facilitate our game day production, game entertainment, and media communications.” He also oversees social media marketing, which is where he trusts ToneDen.

“With regards to baseball, we’re one of the best in all of Spring Training,” Bonnell admits. “To see the potential of ToneDen gets me excited. Every day as marketers we have to prove how we’re spending our budgets. To have actual analytics behind social media spends is helpful with proving that it’s an important marketing avenue, especially since it keeps evolving. It’s very hard to argue against hard numbers and money being brought in.”
I challenge you to not be an asshole this Christmas.
By: Karina Klaus
Tags: Christmas, Lessons Learned, Relationships, Challenge, Kindness

Photo by fotografierende on Unsplash

I challenge you to not be an asshole this Christmas. How often do I hear people complain about how it‘s hard to be politically correct these days. Like it’s impossible to say something without hurting anyone, as there would always be someone offended.

For all of those and, actually, everyone: Let’s have a Holiday Challenge! It’ll be fun!

Here are the rules:

Realize that there is more than just one good way to live life. Trust that the other person makes choices in line with what they believe is good for them. Be humble and consider that your right way might not be the right way for the other. Thus, realize that there is no reason for you to give unsolicited advice. If you’re not certain whether what you’re about to say complies with rules 1 to 4: Don’t say it.

I’d like to see you try!
Neighbour Embedding for Bioinformaticians
By: Anuradha Wickramarachchi
Tags: Machine Learning, Metagenomics, Genomics, Programming, Bioinformatics

Neighbour Embedding for Bioinformaticians

Useful usage of t-SNE for Sequence Analysis and Metagenomics

Image by Gordon Johnson from Pixabay

As bioinformaticians, we quite often use PCA when we need to see data on a plot to identify relationships. Sometimes we might do PCA in order to do clustering of Metagenomics sequences based on their k-mer frequencies too. However, t-SNE or t-distributed Stochastic Neighbour Embedding is a much powerful tool than PCA for data visualization. Since the data are fit into cluster following student-t distributions (which is much thinly distributed than a normal distribution) the clusters can be clearly observed. Furthermore, when we apply t-SNE we can see closely related data points much closer whilst less similar ones further apart. Let's follow the same example, we used for PCA.

First, we download the following references.

Staphylococcus aureus (Nuccore ID NC_007795.1 ) Pseudomonas aeruginosa (Nuccore ID NC_002516.2 )

In order to observe the beauty of the neighbour embedding, we will simulate 100 PacBio long reads from each of the above references using SimLoRD. I will set 1500bp to be the length of the shortest read.

simlord --no-sam -rr SA.fasta -n 100 -mr 1500 SA

simlord --no-sam -rr PA.fasta -n 100 -mr 1500 PA

Obtaining Oligonucleotide Frequency Vectors

Similar to our PCA study, we will use 3-mer frequency vectors for the simulated long reads. For this, I will use our k-mer frequency counter from the following article.

We can use the following command in order to obtain 3-mer frequency vectors. (Please refer to the above article for the compilation of code.)

./vectorize ./SA.fastq 3 8 100 > ./SA.txt

./vectorize ./PA.fastq 3 8 100 > ./PA.txt

Performing t-SNE and Plotting on a 2D Plane

The vectorized sequences from long reads can be used with Python’s Sci-Kit learn library to obtain the neighbour embedding. The Seaborn library is used to visualize the dimension reduced data on the 2D plane.

# Imports

import numpy as np

import seaborn as sns

from sklearn.manifold import TSNE

import matplotlib.pyplot as plt # Reading data

sa = np.loadtxt("SA.txt")

pa = np.loadtxt("PA.txt") # Preparing labels

data = np.append(pa, sa, axis=0)

labels = ["Staphylococcus aureus" for x in range(100)]

labels += ["Pseudomonas aeruginosa" for x in range(100)]

labels = np.array(labels) # Run T-SNE

tsne = TSNE(n_components=2)

data_2d = tsne.fit_transform(data) # Plotting using Seaborn

fig = plt.figure(figsize=(10, 10))

sns.scatterplot(data_2d[:,0], data_2d[:,1], hue=labels)

plt.xlabel("PCA 1")

plt.ylabel("PCA 2")

plt.savefig("PCA.png")

t-SNE visualization

PCA visualization

We can clearly see that in the PCA decomposition, the clusters are sparse whereas in the t-SNE plot they are much shrunk. This is a useful feature of t-SNE. This nature has been exploited in many metagenomics binning tools. Few such tools are;

I hope this article will help you in some of your research work in genomics analysis and metagenomics. Thanks for reading. Cheers.
IBM Data Science Professional Certificate Review in 2020
By: Przemek Chojecki
Tags: Education, Machine Learning, Learning To Code, Data Science, IBM

IBM Data Science Professional Certificate Review in 2020

Find an entry level data science job with IBM Course on Coursera

IBM has released a new certification for data scientists, which will help people to get started in the field of computer science and machine learning. and help them to get jobs in the tech industry, and get paid for it.

What is Data Science?

Data science has been one of the hottest professions of the last decade, and the need for data scientists who can analyze data and report results to make data-driven decisions has never been greater.

This professional certification from IBM will help anyone interested in a career in computer science or machine learning develop their skills and work experience.

By completing the specialisation and going through all the exercises you will be able to find an entry level job as a data scientist and start a great career.

IBM Data Science Professional Certificate Content

The program consists of 9 online courses on Coursera that will provide you with the latest tools and skills ready to go, including open source tools and libraries:

Python,

databases,

SQL,

data visualization,

data analysis,

statistical analysis,

predictive modeling

machine learning algorithms.

You will learn data science through hands-on exercises in IBM Cloud, using real data analysis tools and real world datasets, so there’s no need to go outside of Coursera or install anything on your computer.

IBM Data Science Verdict - is it worth it?

IBM Data Science Professional Certificate is definitely worth taking. Not only you will learn a lot, but you will solve practical problems and build a good momentum in your data science career.

Just remember, patience is key! It takes time to learn data science and you won’t become a data scientist overnight. If you want to find an internship in data science, become a data science intern or a junior data scientist, then this specialization is for you. You’ll learn all the basic skills to get your first entry level job in data science.

Finally if you prefer to watch a video version of this review, have a look here:

**disclaimer: the above links are affiliate **
A Recap on Android Development
By: Satya Pavan Kantamani
Tags: Android App Development, AndroidDev, Software Development, Android, Programming

A Recap on Android Development

The world of Android development is changing at a fast phase. This article will recap the most important things from Android Development…

It’s been almost 12 years since Android originally rolled out on September 23, 2008. I remember back in 2012 when I had started Android Development there were no many resources and things are not so easy to implement. As it was the starting point of the evolution of Android people have mostly used the Android mobiles to check mails, texting, calls, etc.

People have not used many apps at that point. There were very limited apps. As quick changes started in the development phase since 2015 I was lazy I was not updated with up to date things with time and I regret this every minute.

Though I was into Android development for quite a long time I have not completely explored things and there was no exception for that. So, I don’t want fellow developers or starters to face the same issues. So I want to just give a brief about my journey with Android.
Should (You #3)
By: Adam Vrána
Tags: Poetry, Art, Thinking, Love, Self Love

There is a good bunch of stuff we should do with our lives.

According to our parents…

…teachers…

…employers…

…to-do-lists…

…government…

…laws…

…newspapers…

…gurus…

…lovers…

…partners…

…soulmates…

…and yes, even Medium.com itself.

But if you forget all about these things.

All the images of…

…how to be a good child…

…employee…

…laser-focused individual / entrepreneur…

…honourable citizen…

…humble apprentice…

…sex-machine…

…good husband…

…100% harmonized duality-being…

…and yes, even an author worth following here at Medium.com.

And instead of that have a proper look inside…

… can you see that? All that desires and wishes?

Just give them a try and follow.

And maybe there won’t be nothing else you should do with your life.

Ever again.
Why I’m Focusing on These Five Data Science Concepts in 2021
By: Terence Shin
Tags: Data Science, Machine Learning, Education, Deep Learning, Work

1. Model Deployment

Why?

It’s becoming increasingly important that data scientists not only know how to build models but how to deploy them as well. In fact, a lot of job postings are now requiring some experience in model deployment.

The reason that it’s so important to learn how to deploy models is that a model is only as valuable as its ease of use and ease of interpretability. And so, being able to deploy it in a way that anyone can interact with will be extremely useful.

A model is only as good as its ability to use and interpret.

I am still very much a novice in this area (I must admit!), but I believe there are several tools that can be used to deploy models like Docker, Heroku, Streamlit, and Airflow so I want to explore the different options and compare where they see fit.

How?

Similar to how I started learning machine learning, I don’t know what I don’t know. Therefore, I’m going to initially be skimming through a lot of different resources. I’ll most likely be starting with Docker, as it seems to be the most widely used for deployment.

Below are some initial resources that I plan on going through:
We are happy to announce Aleph VC as a pre-sale investor
Tags: Mobile, Investing, Cryptocurrency, Blockchain, ICO

Colu has been in the blockchain space since 2012, working on solutions to make development on top of blockchain easier. We have raised $12.1M from top VCs and investors who realized the potential in the technology. Aleph is one of our earliest backers, and now an investor in the CLN token sale.

Aleph is an early stage venture capital fund with $334 million under management. Aleph partners with Israeli entrepreneurs to help scale them into large, meaningful companies and globally recognized brands. Aleph is an Equal Partnership of Eden Shochat, Michael Eisenberg and Aaron Rosenson. Since its founding in 2013, the fund has invested in 17 companies including Houseparty, Wework, Windward, Nexar, Lemonade, Freightos and Honeybook.

The Aleph partners

4 years ago when only a few early adopters were familiar with blockchain, and the bitcoin valuation was $200, Aleph was vocal about these topics and strongly advocating them. To put their money where their mouth is, Eden Shochat, an equal partner at Aleph, announced a $50K bounty and presented a challenge -to reduce transaction costs on the blockchain.

Our CEO Amos Meiri won the challenge, but instead of taking the 50K prize, he received a seed investment in his startup.

Since that investment, the fund’s partners and team have provided great support and helped us on our mission “to change the way money is being created and used”. These days Aleph is backing us by investing in the CLN token pre-sale.

VCs are not the typical contributors when it comes to a token sale, but Aleph prefers to do things a bit differently.

Here is what Eden Shochat, who is also a board member of the Israeli Bitcoin Association, had to say:

We are very excited about the road ahead and look forward to working with the team at Aleph to make Colu the first to connect everyday purchases to a payment network that enables token based incentives.

Read more about the CLN and Colu’s token sale on our website.
How to Secure Your GraphQL API From Malicious Queries
By: Sachin Thakur
Tags: Programming, Nodejs, JavaScript, Database, GraphQL

Query Cost Analysis

In depth limit, we’re limiting the execution of queries to n th level but it might not be suitable for all cases. Sometimes the depth can be a lot less but the cost to compute that query can be high. This might happen when we’re fetching a lot of data in a single query and it’s putting a lot of load on our back end server or database server. These queries might look something like this:

Even though this query is only two levels deep, you can understand the level of complexity — the amount of data it will be requesting from the database server and computation happening on the backend server.

This issue will not be resolved by either depth limiting or size limiting, so we need something robust that can handle this kind of query. Often in these cases, we need to perform a query cost analysis, where our server computes the cost of each query and decides whether to allow this query or reject it.

To do this, we need to analyze each query before running them on our server. If they’re too complex or too expensive, we need to block them. There are numerous open-source libraries which have been built by some really smart people — one of those libraries is graphql-validation-complexity . You can separately define complexity for each field, like different complexity for scalar types and objects. There is also graphql-query-complexity which calculates the complexity based on each field, unlike graphql-validation-complexity which calculates it based on the types. Adding query cost analysis using either of these libraries is pretty straightforward:

Before you start implementing query cost analysis on your server, just make sure your server really needs it. Otherwise, it will just be another overhead for your server and you’ll just end up wasting resources and time. If your server doesn’t any complex relations fetching you might be better off without query cost analysis — just add size limiting and depth limiting.
What I Am Glad for Today
By: Winslow Thornhill
Tags: Life Lessons, Short Story, Poetry, Emotions, Fiction

Swimming in the fresh sunlight of today I am glad for it. The memory of yesterday, gray and drizzled, is like the dry lick of a postage stamp; should have gathered more spit. I hammered through the snow turned mud, up to the field where so much opens up around me; the reward for the hundred yards of muck from where I parked my car.

I come here daily, and first spy down the straightway as much as my eyes will power to see if there is any trace of another human. If there is I’ll turn and go back and brood in the protection of my car, behind rolled up windows, until the stranger, hopefully on his way out and back and not just beginning his journey, sees me and I see him and we give each other the knowing and appreciative wave and smile pulled out to let each other know, as the governor said a few minutes ago on my radio, we are in this together.

But today it’s just me and my pup and his instantly renewable energy source — curiosity about his unknown world, too young to have experienced loss and the apathy that comes in its wake.

Today I’ve reclaimed my spot, the place not so convenient to town. It’s tucked at the corner of a badly maintained stretch of gravel road and a town line that shoots off to the east, toward a mink farm whose stench wrings vinegary tears from my eyes. It is past this birth canal hundred yard muck and stench that the glories of the pasture await, the focus, the end goal, reward, call it what you what.

Today I’m out in it, no strangers. The mud has baked dry under the spring sun. I close my eyes. Veins in tomato red soup. I lift my face up to the blueness and open my eyes to a sky now free of contrails and appreciate deeply what I have at this moment.

Arney barks in the distance. He’s treed a squirrel.
Homeless Teen Kills Family Who Let Him Stay With Them
By: Cat Leigh
Tags: Crime, Justice, History, California, True Crime

Six weeks into his stay with the Pendergast family, Charles got mad at four-year-old Diane because she was bouncing on the bed and screaming. He went into the bedroom and threw her on the floor, resulting in a cut on her head.

Lois ran to the bedroom and took her to the bathroom. She asked Charles to call a doctor. Instead, he went to the garage and grabbed a gun. He then shot 37-year-old Lois in the hallway.

He proceeded to cut Diane and two-year-old Allen’s throats in the bathroom with a hunting knife. When six-year-old Thomas Jr. and nine-year-old David returned home from school, Charles cut their throats and disemboweled them. Thomas Jr’s body was found in one of the bedrooms and David’s in the garage — likely because he tried to run away.

After murdering the mother and children, he packed his suitcase with his clothes, a hunting knife, and a blade. When Thomas returned home from work, Charles pointed a gun at him and forced him to drive him downtown San Diego. During the car ride, Thomas managed to wrestle the gun out of his hand and Charles fled the car, leaving his suitcase behind.

Thomas, who had been unaware of his family’s murders, went home and found their bodies.
Reddit Announces Permanent Work from Home
By: Larry Cornett
Tags: Remote Working, Reddit, Work From Home, Careers, Employment

REMOTE WORK

Reddit Announces Permanent Work from Home

The first company to do the right thing

Photo by Christin Hume on Unsplash

Reddit announced permanent work from home this week. They also stated that they wouldn’t reduce their employees’ compensation if they choose to move away from the Bay Area of California.

“Many tech companies have taken this step amid the pandemic, but few have eliminated geographic compensation adjustments. Reddit said they will not lower the pay of employees who choose to work remotely; instead, all U.S. compensation will now be tied to pay ranges of high-cost areas such as the Bay Area.”

If you’re not familiar with the “cost of living adjustment,” employers often pay employees more to offset the higher cost of living in some locations (e.g., New York, San Francisco, London). If you already live in a location with a higher cost of living, guess what happens if you move somewhere with a lower cost of living?

That’s right. Many employers will cut your pay if you move away. 😫

For example, Facebook announced that employee compensation would be adjusted based on the cost of living in the locations where workers choose to live. Reading between the lines, expect to have your base salary reduced if you move out of the Bay Area.

Reddit’s announcement is huge. Now you can live anywhere and get paid for the value you deliver vs. being paid because of where you’re forced to live.

Someone told me that it was impossible. I guess not. So, I guess I wasn’t naive or stupid to predict this shift?

“With this change due to remote work and WFH, jobs, wealth, and economic opportunity will be more broadly distributed into smaller communities and formerly-dying cities across the world. You no longer have to “move away from home” to find work, like I did when I was young.” — Larry Cornett, May 12, 2020

I hope more companies follow this model. Pay for value delivered, not an employee’s zip code.

Equitable pay across geographies will create loyalty. People will feel that they can grow and thrive within a company, no matter where they choose to live.

But, if you screw people over with pay cuts when they move? Be ready to lose them to enlightened employers.

The global war for talent has begun!
December 10, 2017
Tags: Steemit, Blockchain, Crowdini, Questions, Games

DON’T TEMPT THE INTERNET!

In the latest example of never tempt the internet…Kelsey took a selfie of her in this Christmas tree suit with the caption: “1,000 retweets and I’ll wear this to all my classes for the rest of the semester”

Well guess what happens…Why would I even mention this if she didn’t get the 1,000 retweets.

It is currently at 33,600+ retweets.

She finished her almost week Friday. You can see the highlights here: https://twitter.com/i/moments/937736727518728192

That leads me to today’s question.

All the best,

Jason
Medium in 2055
By: Nanji Erode
Tags: Editor, Rejection, Ｍedium, NLP, Microfiction

Medium in 2055

Microfiction

Photo by christian buehner on Unsplash

Third rejection of the week. Jake was so mad, he wanted to punch Sarah, the editor.

He sent a scathing note to Sarah laying out the reasons why she is the worst editor.

His note was instantly analyzed and a response generated by many lines of NLP code aka “Sarah”.
Look At Us
By: Jonathan Greene
Tags: Social Media, Resistance Poetry, Poetry, Technology, Poem

Look At Us

A Poem

Photo by DESIGNECOLOGIST on Unsplash

Look at what we’ve become

A simulation of ourselves

One that stares down

at a phone

and ignores the present

The present isn’t a notification

about a new follower

or an update for your

favorite app

The present is what’s in front of you

What you are missing

While you rumple downward

in casual conversation

to check something

and ignore me

The person you are talking to

Look at the walking zombies

on the street

ignoring their footsteps

in favor of a video

because God forbid

we aren’t always doing

two things at once

We are an avatar of ourselves

A bad one

One that is missing out

on all the good

Taking a photo of nature

and then moving to the next

without inhaling the sweet smell

Of unfiltered air

and the sounds

of silence

Look at us recording ourselves

to send a video

to our followers

who are also recording themselves

So we pass each other

on the narcissistic WiFi network

consuming us slowly

and highlighting the residue

of a life less lived

And we don’t care

because we don’t even know

all we are missing

that isn’t on that screen

Look at us hyper-rationalizing

our technological temperament

and Internet idiocy

as staying ahead of the curve

But we should be behind the curve

watching the rest of the world

walk into the bend

Look at us

How proud we must be

to have progressed so far

with technology that brings us closer

But that was a farce

It all is

Everything is a sale

We are a mark

And we’ve been taken

along with all of our personal information

Just look at us

if you dare take a moment

to look up
Internet giant Google has begun development of cloud-based blockchain solutions
By: Alex Tishkov
Tags: ICO, Blockchain, Altcoins

Google corporation works on creation of cloud solutions based on blockchain. The company plans to implement cloud services that would help internet giant to strengthen its competitive advantages on the market. In order to reach this goal Google makes investments into companies that posses significant expertise in the area of distributed ledger technology. At the same time company officials have not made any public announcements regarding their plans, nor committed to any developer deadlines.
Fall in Love with the Pain of Failure
By: Bryan Ye
Tags: Life Lessons, Self Improvement, Life, Failure, Personal Development

There are three reactions we can have to failure: ignore it, give up, or learn. The people who ignore it — or never experience it — never get better. You don’t know these people because they aren’t exceptional. There are so many extraordinary people in every art; we never remember the ordinary. We can barely remember silver medalists; we only remember number one.

The same public dismissal applies to those who give up. Those who ignore failure get kicked down once and never get back up again. They find out that they suck, their egos can’t handle their awareness, and they quit. They never want to feel failure’s wicked whip again.

What do the exceptional people do? They learn from failure. These are the people who get beat up; learn from their mistakes; and come back harder, better, faster, stronger. And of course, to become remarkable, you have to overcome more than one failure. You have to get knocked down over and over and stand up again and again. The nauseous black ball in your gut has to be a physiological sign to learn and improve.

If you want to master a craft, learning from failure is inevitable. Have you seen Bill Burr on Letterman in 2011? With almost 20 years of stand-up experience, he messes up a joke. You can see the mark of failure on his face in the form of a crooked disappointment he never wants to feel again. He nervously goes through the rest of his set: his failure haunts him. This failure is from Bill Burr, a legendary comedian celebrated by many, saying the wrong words, and messing up a simple facelift joke. You can bet that he failed many times before and after this and that he learned from each experience. If Bill Burr fails, what chance do we have?
Are you an artist or a scientist UX designer?
Tags: Product Design, UX Design, UX Research, User Experience, Ux Strategy

Imagine that you’ve just been assigned to a brand new project as the lead UX designer. You have a rough idea of what the project is, and what is potentially involved. Where do you start?

In my entire designing career, I’ve been searching for answers to this question. Because I know the beginning is the hardest part of everything. Once you know what to do, it’s just a matter of doing it. Figuring out and prioritizing what to do, is more difficult than it sounds. You want to make sure you’re going to spend energy on what matters and deliver the best outcome. If I can come up with some kind of magic formula I can re-use every time I start a new project, wouldn’t it be nice?

As you probably have already guessed, I don’t have a single magic formula. Because what I learned over the years, is that every project is different. No matter how you try to define a seemingly perfect UX process, draw pretty diagrams like this one, you will find reality doesn’t always allow you to stay on track, in fact, it almost never does. The project scope changes, someone on your team leaves, some other priorities want to compete with your project, someone is having a tough day, the list goes on and on.

However, I did discover something interesting about the working styles of UX designers who come from different training backgrounds. That is, there is the Artist UX Designer, and the Scientist UX Designer.
Pixhawk 2.1 set to fly off shelves
By: Gary Mortimer
Tags: Open Source, Drones, Pixhawk 2, Photography, Arduino

Not just auto flying, but auto driving and floating as well. Pixhawk 2.1 running Ardupilot software can be used to command all types of autonomous vehicle.

Shipping has started from Australia and distributors around the world.

Designed by Philip Rowse of ProfiCNC the Pixhawk 2.1 is a tale of two halves.

A cube contains an isolated and dampened IMU that is heated by a thermal resistor. This allows for consistent operations across a wide temperature range. It is particularly important in cold weather conditions.

The IMU solution is triple redundant, having.

3 Accelerometers

3 Gyroscopes

3 Magnetometers

2 Barometers

The cube essentially is the part that will keep your flying platform the right way up. It connects to a carrier board that provides the inputs and outputs to flying controls/motors and command and control (C2) links.

Cube and carrier board are sold as a combined kit for $198 RRP or individually.

This allows end users to have the power of a triple redundant heated IMU in their own carrier boards for specialist applications.

The standard carrier board has a built in Intel Edison port to easily add a powerful companion computer. It has standard radio control in and out along with SBUS support.

You can connect two GPS for that extra sense of in-flight security, better still they can be RTK GPS.

Very unusual in this space, the Pixhawk 2.1 has two power inputs. Allowing you redundancy in case of one power system going down.

The Pixhawk 2 Suite comes as standard with:

The Cube…. the brains behind the operation. A full carrier board. 1 Power Brick (two power bricks can be filtered for redundant power.) Cable set that allows you to connect to your old Telemetry module, GPS, and sensors

I was lucky enough to receive an alpha unit, and quite honestly lost my mind over the new connectors. A vast improvement over Pixhawk 1!

For support, there is an active Facebook Group https://www.facebook.com/groups/pixhawk2
The Fiercest Teenager in America
Tags: Filmmaking, Boxing, Photography, Documentary, Film

A talk with the filmmakers behind the documentary T-Rex — and a look inside the life of the country’s youngest female boxing champ.

In 2012, women’s boxing was included as an Olympic event for the first time ever. Fighting for the U.S. was Claressa “T-Rex” Shields, just 17 years old, an undefeated champion from the streets of Flint, Michigan. As she fought her way to Olympic gold, it wasn’t just audiences that watched with bated breath — filmmakers Drea Cooper, Zackary Canepari, and producer Sue Jaye Johnson were also following her story, creating a documentary that would become an intimate portrait of a new kind of American heroine. Named T-Rex, after its singular protagonist, the film explores Claressa’s relationships with her history, her hometown, and her way “out” of them.

Originally premiered at SXSW and an official Hot Docs Festival selection, T-Rex will be just one of the five films being screened at the 2015 Kickstarter Film Festival. Before the big night, though, we got in touch with the filmmaking trifecta behind the documentary to talk boxing, Olympic determination, and teenage-hood.

Text by Sue Jaye Johnson, from an interview by Cassie Marketos.
How Transformers Work
By: James Briggs
Tags: Machine Learning, Data Science, Programming, Technology, Software Development

Attention

The attention mechanism predates transformers and was originally used to enhance the previous cutting-edge in NLP — recurrent neural nets (RNNs).

Originally, these RNNs shared information through a single point of contact, which meant no direct connection between the majority of input and output units resulting in a bottleneck of information and limited performance for long-range dependencies.

Encoder-decoder LSTMs with attention.

Two layers of simple, densely connected neural nets were added — one for the encoder consuming all of the input values — and the other for the decoder, which would pass the current timestep's hidden state to the attention operation [1].

The attention operation produces an ‘alignment’ score, which is concatenated to the decoder hidden state — and a softmax operation performed to produce the output probabilities.

Information is passed between the RNNs and encoder-decoders via the query, key, and value tensors. The query is delivered from the decoder hidden state, whereas the key-value tensors are delivered from the encoder hidden states.

Attention between encoder and decoder neurons during an English-French translation task. Image source [1].

Where word representations were found to have high similarity (alignment), the attention operation would assign a high score — and those with low similarity a low score.

This mechanism produced a behavior called attention, where units in the output layer could focus on particular, relevant units in the input layer.

Attention vs Recurrence

Before transformers and attention, we had RNNs. These networks were well suited to language tasks thanks to their recurrence.

This recurrence allowed the neural nets to register whether a word was present in a sequence and consider the words surrounding it — and even words long preceding or following it. Because of this, the nuances of human language could be better represented.

The architecture of the Attention Is All You Need Transformer. Adapted from the same paper.

However, this new attention mechanism proved to be very powerful. Powerful enough for a 2017 paper called Attention Is All You Need to introduce a model without recurrence, replacing it entirely with attention [2] — the first transformer model.

Three mechanisms made attention work without the need for recurrence — (1) positional encoding, (2) multi-head attention, and (3) self-attention.
Want to pitch yourself well? Don’t talk.
By: Francesco Melachrinos
Tags: Communication, Emotional Intelligence, Self Improvement, Presentation Skills, Dialogue

Want to pitch yourself well? Don’t talk.

Why speaking less says more about you

You are about to meet someone new for the first time, and you want to make a great first impression. You get all excited, feel confident, and go in strong, putting forward all the great things about yourself. You go home believing you had a great meeting, but never hear from that person again.

Sound familiar?

You’ve been told that by always promoting yourself, you can improve your career and network. That selling yourself properly is important in today’s world. True. But somewhere along the line, we’ve got the execution of that wrong, and I see it happening almost daily.

People love talking about the things they are able to do or deliver; how skilled and talented they are, how well they are connected, and how they are best friends with famous or wealthy people.

Achievements are overanalyzed and sometimes exaggerated, while some may not even be true. Generally, it’s all about them.

People will say anything to look good, and this is where the problem lies.

Saying too much makes you look insecure and lacking in confidence. So what makes a good impression?
every time you return
By: Jason Henry
Tags: Poetry, Relationships, Fear, Love, Poetry On Medium

every time you return, i get

more and more unsure

because you are starting to see

everything i told you

but i am starting to see

everything you warned me about
Answers of Front-end Job Interview Coding Questions
By: Onur Dayıbaşı
Tags: JavaScript, Quiz, Async, Promises, Scopes

Question: What is the value of foo ?

var foo = 10 + '20'; console.log(foo); //Result '1020' because its string concat operation

Question: What will be the output of the code below?

console.log(0.1 + 0.2 == 0.3); console.log(result); //Result false because float keep binary in mem so when convert 0.1 or 0.2 to binary its not same 0.1 0.10000000001 etc.

Question: How would you make this work?

add(2, 5); // 7

add(2)(5); // 7 const add=(a, b)=>{

if(a && b) return a+b;

else return buffAdd=(b)=>{return a+b}

}; console.log(add(2, 5));

console.log(add(2)(5));

Question: What value is returned from the following statement?

"i'm a lasagna hog".split("").reverse().join(""); const stringOpsResult="i'm a lasagna hog".split("").reverse().join("");

console.log(stringOpsResult); //goh angasal a m'i. how ? splits generates 17 char array all char reverse then the string generate



//if we split(" ") and join(" ") this time we generate 4 word array and we reverse word hog lasange a i'm

Question: What is the value of window.foo ?

( window.foo || ( window.foo = "bar" ) );

console.log(window.go); //Result is 'bar' if we use && then second command not work so window.foo=undefined

Question: What is the outcome of the two alerts below?

var foo = "Hello"; (function()

{var bar = " World"; alert(foo + bar);})(); //Alert=> Hello World

alert(foo + bar); // Reference Error bar is not defined

Question: What is the value of foo.length ?



var foo = [];

foo.push(1);

foo.push(2);

console.log(foo.length); //Results is 2

Question: What is the value of foo.x ?

var foo = {n: 1};

var bar = foo;

foo.x = foo = {n: 2}; //foo.x = (foo = {n:2}); => {n:1}.x = ( {n:1} = {n:2} ); R.H.S. foo={n:2}

console.log(foo.x); //Result undefined

console.log(foo); //Result {n:2}

console.log(bar); //Result {n:1, x: {n:2}} Result = undefined

Question: What does the following code print?

console.log(‘one’);

setTimeout(function() {

console.log(‘two’);

}, 0);

Promise.resolve().then(function() {

console.log(‘three’);

})

console.log(‘four’); //Result one, four , three, two its easy for one and four but theb why first three and then two prints.

//All of timeout and promise is async func..

//Answers is timeout in EventLoop Queue , promise process in JobQueue and JobQueue is high priority…

Question: What is the difference between these four promises?

//One level difficult..

//The answer https://gist.github.com/nolanlawson/940d1a390b2d9cf9483c

Promises answers
Meduim Articles on Flutter
By: Greg Perry
Tags: Android App Development, Flutter App Development, Software Development, iOS App Development, Programming Languages

Landing page for past articles

All ‘MVC’ articles are free to read. The rest are ‘metered’ articles — your first three reads every month are free. Further readings for such articles, require membership to medium.com.

MVC Flutter Framework on YouTube

Comparing MVC to Other Design Patterns