fabiochiu/medium-articles huggingface dataset:
Dependency Injection in Swift with Property Wrappers
By: Ilario Salatino
Tags: Dependency Injection, Swift, Xcode, iOS, Mobile App Development

In this article I will propose an approach to implement Dependency Injection in swift using the new Property Wrappers, without any external API.

Some Background

If you don’t know what dependency injection is or you’re looking for some more simple and quick approach, check out my previous article

So to explain why that approach is not good for every situation let’s show the example I’ve made there

And we inject the dependencies as follows

The Problem with This Approach

This Contstructor Injection would be good if we’re developing a small app, but imagine if our app gets bigger, we would introduce a lot of boilerplate code by calling all the initializers and constantly passing objects to the initializers.

With Swift 5.1 Property Wrappers were introduced, and they could help us to implement dependency injection with a different approach.

If you’re curious to know what property wrappers are and why they were introduced check the following link.

The proposed Solution

I know you’re pretty confused right now but I will show you step by step how I implemented dependency injection with a custom property wrapper

Let’s use again CoffeeMaker as an example to have a better understanding of the problem related to a real world use case.

We have our coffee maker which contains some components as a Pump and a Electric Heater.

Let’s define a Component protocol with a simple serve() function:

Let’s now create our coffee maker components:

And of course our CoffeeMaker class:

As you may have noticed, our components have the @inject annotation, that for those who are familiar with android and dagger2 is not completely new.

But where is that annotation coming from?

Here the Property Wrappers come to the rescue:

What’s happening here?

We’re creating a property wrapper that applies the previous logic to every property we flag with the @Inject annotation.

Based on the component type, our Resolver class will inject the right dependency into our CoffeeMaker.

The “resolve” method will basically return the right dependency from the factory dictionary that we will populate using the “add” method.

Let’s Make Some Coffee

All we have to do now is to register the correct dependencies into our Resolver and try to use our CoffeeMaker

And there’s the output:

I hope you enjoyed the Article, let me know if you have some different approach or any feedback, Thanks!
The story of an interesting Pivot…
By: Jonathan Benassaya
Tags: Bitcoin

In 2012, while attending a birthday in Las Vegas, I heard the word Bitcoin for the first time in my life. At first sight I was skeptical, but being exposed to the famously known Patient-0 of Silicon Valley, I felt the contagion and bought my fist bitcoins on Mt-Gox. I felt super smart a few months later when I sold them for $1,000… In hindsight, I should have HODL’d.

Source: Lean Start Up

Fast forward to the summer of 2016, after the sale of my previous company, I decided to join the team at Matrix Partners as their Entrepreneur In Residence. I knew I wanted to work on artificial intelligence applied to personal finance. I had this hunch that people did not want to manage money but they would love to have a service doing it for them, like a private banker in your pocket. I spent a lot of time talking to entrepreneurs, hearing pitches and listening to stories about failures. Everyday I was fine tuning my idea and narrowing down to the essential value proposition of my new venture. As I’m a product person, I started building a prototype. Once the prototype was ready, I spent many afternoons on the Stanford Campus, talking to undergrads and MBA students, listening to their feedback. I found a co-founder, an expert in artificial intelligence and machine learning who had helped to build the artificial intelligence framework at Facebook. We started to pitch VCs, we hired a team. I started to visit multiple campuses like Berkeley, UC Santa Clara, San Jose State University, etc… While the feedback on the project was positive, the attention was more toward cryptocurrencies. I started to identify a pattern where people started to be more and more curious about crypto. I even found myself telling students where to buy their first bitcoins. After 2 months, the chatter about crypto became louder and louder. In the meantime, friends of mine started to ask me about crypto, how to invest, etc… We are in January 2017 and Ethereum started to Rock my World! Suddenly cryptocurrencies were becoming the fabric of a new technological revolution. No more barriers, no more government, no more censorship, freedom! and for the first time an alignment between investors and users as both parties from each other.

Crypto started to grow on me, and soon I started talking to my team about potentially pivoting. Our Facebook ad campaigns were going well but we saw the appearance of a lot of new mobile banks, increasing the competition. Day after day, my focus moved towards crypto. The more I learned about it, the more I saw some parallels between peer-to-peer networks, skype, the TCP protocol, etc… I remember I told myself: “The entire world is being disrupted right in front of us, and we can ALL be part of it!”.

That’s how a day of June 2017, we decided to pivot to building IronChain.
17 Productivity Gifts to Add to Your Holiday Wishlist
Tags: Gifts, Personal Development, Productivity, Holidays, Planning

17 Productivity Gifts to Add to Your Holiday Wishlist

Here’s a gift guide to make 2018 the most productive year yet

What do the most productive people want for the holidays?

We asked, you answered.

And now we’ve compiled a gift guide to make your holiday shopping a bit easier. Put these gifts on your wishlist or get something for a productivity-obsessed friend.

Subscriptions and Services:

Evernote Premium — From initial brainstorm to finished project, make the most of your notes with the complete Evernote toolkit.

— From initial brainstorm to finished project, make the most of your notes with the complete Evernote toolkit. Grammarly Premium — “Helps you write mistake-free on Gmail, Facebook, Twitter, LinkedIn, and nearly anywhere else you write on the web.”

— “Helps you write mistake-free on Gmail, Facebook, Twitter, LinkedIn, and nearly anywhere else you write on the web.” 1Password Subscription — “Save your passwords and log in to sites with a single click.”

— “Save your passwords and log in to sites with a single click.” LastPass Premium — “Remembers all your passwords, so you don’t have to.”

— “Remembers all your passwords, so you don’t have to.” Lynda Premium — “The leading online learning platform that helps anyone learn business, software, technology and creative skills to achieve personal and professional goals.”

— “The leading online learning platform that helps anyone learn business, software, technology and creative skills to achieve personal and professional goals.” Launchbar — “Start with a single keyboard shortcut to access and control every aspect of your digital life.”

— “Start with a single keyboard shortcut to access and control every aspect of your digital life.” Skillshare Premium — “An online learning community where anyone can discover, take, or even teach a class.”

Products:
Smart Accounts Finally Activated On Waves MainNet!
By: Waves Tech
Tags: Blockchain, Cryptocurrency, Ethereum, Bitcoin, Waves

It’s happened! After miners voted overwhelmingly to approve the feature, we now have the first phase of smart contracts available to users.

We are very pleased to announce that smart accounts have been activated on Waves MainNet!

This has been one of the most hotly-anticipated features to be implemented on Waves Platform, and miners voted quickly and decisively for it. As of block #1,190,000, the first phase of Waves smart contracts is available.

Developers can set up smart accounts using the RIDE IDE. This will enable you to implement various kinds of account controls, including multi-sig addresses, token freezing, atomic swaps, voting and Oracles. This will not only make the platform more secure and flexible, providing additional tools for businesses and end users, but also offers entirely new use cases and scope for powerful decentralised applications. We hope to see some of these launched in due course as developers start to play with the new functionality offered by Waves!

Our developer advocate Inal Kardanov has made a number of tutorials to help you use smart contracts:

Enjoy! Our next task is to implement Turing Complete smart contracts, using a new approach and language we believe will be more safe and secure than Ethereum’s smart contracts. We’ll keep you posted — until then, Ride on Waves!
A Lifetime after WWII, the Steep Cost of Victory Remains Vivid for 96-year-old Veteran
By: Mara Truslow
Tags: Courage, Humanity, Wwii, History, Sacrifice

A Lifetime after WWII, the Steep Cost of Victory Remains Vivid for 96-year-old Veteran

Shot down in Nazi Germany & taken prisoner in the war’s final act, he lost his crew, but not his humanity. Silently, he lived with the memory of war until a phone call revealed video footage of his crew’s B-24 crash.

At the Planes of Fame Museum, Bob Vance looking on at a tribute to his WWII crew. (Source: Author)

August 15, 2020 marks the 75th anniversary of WWII’s end — V-J Day.

Bob Vance is 96-years-old. He has called Ontario, California home since 1946 and has attended the same Methodist church for 75 years. On a quiet cul de sac framed by the San Gabriel Mountains, Bob opens the door of his mid-century ranch wearing a sky-blue button down tucked into khakis.

A pen rests in his breast pocket at all times. He is tall, trim, and exudes a professionalism and vigor atypical of his age. He keeps a neat, snowy mustache.

(In case you are wondering — he has no affiliation to Bob Vance, of Vance Refrigeration, from the television show “The Office.”)

In his living room, Bob sips a glass of iced tea he brewed earlier that morning. Surrounded by photos of his children and grandchildren, he is a proud patriarch more eager to talk about his family than himself.

The metal fragment in Vance’s office is from Southern Comfort III, the B-24 his crew was flying when they were shot down. (Source: Shipdham Flying Club Museum)

Adjacent the living room, Bob’s office tells of a different life he lived 75 years ago during the Second World War. A plaque in the far corner bears the names of the seven brothers he lost during the final invasion of Germany.

Above their names is a mangled scrap of metal from the crash site where Bob plummeted to earth in a B-24 heavy bomber on March 24, 1945. I am here with Bob to hear his account of these events.

When speaking of the war, Bob is contemplative. Asked if the footage showing his bomber crash was more dramatic than living through it, Bob takes a long pause replete with deliberation. Eventually, he answers matter-of-factly: “No.”
COVID-19 Data Visualized
By: V Wegman
Tags: Coronavirus, Map, Covid 19, Covid

Current reporting shows rising coronavirus cases in most of the United States, parts of Canada, and much of Europe. The data is alarming. Communities are facing infection rates similar to those recorded during the pandemic’s height in July. Some are seeing their most morbid days yet. With so many statistics gracing headlines, it may be difficult to make sense of how the world is faring.

The following maps were drawn using compiled data from The New York Times and Johns Hopkins procured on October 16–18, 2020. Information is self-reported by state and nation, and may be false representations. Notable areas where numbers are suspected to be incorrect include China and Yemen.

Case trends based on past month
Medford Township Police Department is requesting the public’s help
By: Melissa Riker
Tags: Community, New Jersey, Police, Burlington County

The following information has been provided by the Medford Township Police Department:

The Medford Township Police Department is requesting the public’s help in identifying the male and female in the images posted above.

The subjects are being sought in connection with a burglary and theft that occurred in Medford Township in the Lake Pine development on Aug. 26, 2018.

Anyone with information is asked to contact the Medford Township Police at (609) 267–8300 or the Confidential Tip Line at (609) 714–0302.
Being Careful What I Wish For
By: David Milgrim
Tags: Humor, Satire, Wishes, Decisions, Comics

Sign up for Yapjaw

By Slackjaw

Yapjaw is Medium's #1 newsletter for all things humor, and we're sorry to say you'll only receive it a few times a month. Take a look
Personalize your Linux desktop to tailor meet your demands
By: Mashayikh Shaikh
Tags: Gnome, CSS, Linux, Desktop Environments

Photo by Samantha Gades on Unsplash

Has a thought ever crossed your mind to beautify your Desktop? Well. then you’ve come to the right place. In this guide, I’ll show you some ways to transform your Gnome Desktop Environment into a crisp 🤩stunning Desktop. Don’t get me wrong, Linux by itself is truly magnificent both in functioning and appearance.

But, hey we’ve all got our preferences which may not always be satisfied with the built-in elements shipped with your Linux distribution.

Change File Manager Background

The default file manager in ubuntu or any other Debian-based distribution doesn’t provide an option to change the wallpaper or customize any aspect of the file manager itself.

There were many ways to accomplish this, unfortunately, they only work on versions prior to ubuntu 14.04.

if you want to add/customize any part of Nautilus then you will have to edit the source code.

Search for Nautilus under find tab (if you are using gedit) You should find a comment tab like down below

3. Great!! if you get this just go ahead and enter this code snippet below the blue comment box

window.thunar notebook scrolledwindow.frame.standard-view, .nemo-window .nemo-window-pane notebook scrolledwindow.view,

.nautilus-window,

.nautilus-window notebook,

.nautilus-window notebook > stack {

/*this is the line you are interested in*/

background-image: -gtk-scaled(url("assets/darkMountain.jpg"), url("assets/darkMountain.jpg"));}

4. You should find many other properties that you can customize under the Nautilus section. i.e search bar, window, etc. Play around these to get your desired result.
Beginner’s Python Financial Analysis Walk-through — Part 6
By: Keith Chan
Tags: Beginners Guide, Financial Analysis, Python, Coding, Stocks

You’ve made it! Image adapted from https://manchesterfbc.com/inside-fbc/finish-line

Putting it all Together

You’ve made it! Finally, we are at the end of the project and to put everything together, there is just one more plot to make.

I combined the candlestick chart, simple moving averages, Bollinger band plots, and even added trading volume in one plot. The Cufflinks package has a pretty nifty QuantFig Class that can add multiple technical analyses to the same plot for this purpose.

df_of_interest = each_df['SPY']

qf = cf.QuantFig(df_of_interest,title='A Look at the US Economy',legend='top',name='GS',up_color='green', down_color='red')

qf.add_bollinger_bands(periods=20, boll_std=2, colors=['cyan','grey'], fill=True,)

qf.add_volume(name='Volume',up_color='green', down_color='red')

qf.iplot()

Figure 1. A combination of candlestick chart, simple moving averages, Bollinger band plots, and trading volume

Conclusion

Through this project, I have simultaneously learned a lot about coding and investing. This blog post captures what I’ve learned and I’ve hoped to convey that information to you. It’s never too late to start investing, and when you do, I encourage you to review this project and remember the fundamentals you’ve learned!

In summary, we have successfully looked at how to use Python to pull and understand basic stock information. With some basic Python lines, we were able to query stock data, understand their historic returns, conduct rudimentary risk analysis, and even use past performance to (attempt to) predict future market behavior.

About halfway through this project, I learned of platforms like Think or Swim and Yahoo Finance actually have a lot of visualization capability. While they offer more comprehensive visualizations than those covered here, those platforms can also be intimidating to start with. I think it’s good to understand the basics first before adding more advanced concepts and analysis to your market research.

Figure 2. Other complex visualization platforms

This is just the beginning of the journey, and I want to add to this analysis as I learn more about coding and finance. Currently, some directions I want to explore include more technical analysis, fundamental analysis using yfinance, and using Dash or PowerBI to create a user-friendly dashboard.

I hope you enjoyed this financial analysis walk-through and found it instructive, beginner friendly, and easy to follow. Please let me know what you liked most and what you would like to see in future analyses in the comment section below!

If you liked what you read, please reach out and connect! I always welcome a chance to talk with fellow coders, investors, or avid learners!
Case study: building a custom form builder
By: Edgar Louis
Tags: UI Design, Case Study, UX Design, Product Design, Software Development

We tried to build something that combined the best of both. In Google Form, the heading and spacing is consistent design-wise. But the card system leaves the ‘clutter’ feeling as it creates too much unnecessary whitespace for each element. It risks the builder to create an empire state form, where the participant has to scroll a long page to fill out the form.

Typeform is intuitive and has a good flow. The builder can directly edit the label, input, and content of the form without the need to press the edit button. But what if the participant skips some parts of the question and decides to go back later? The participant needs to go all the way up one by one and it’s really annoying.

So then we created a system that takes the Google Form card system, by omitting the card design and making it more compact, and took the direct approach of Typeform that more intuitive for the users.

Task Flow

There are several design methods that I could possibly take for this project, like design principles, sketching, sketch boarding, etc. But I decided to go with task flow as it is the one that is suitable.

In the task flow method, there is two fashion: top-down or bottom-up. When we’re thinking in the top-down, we consider what is the starting point of the user and what the encounter first. Then, after the first point what might happen as the users work deeper into the product.

Accordingly, the bottom-up approach considers what is the most interesting steps in the process for the user and we ask ourselves what comes before and after that. This puts the user in the key destination of why the user uses the product in the first place — this is the reason why they are here.

It was clear to me. I need to use the bottom-up method as the sole purpose of the user when sign-in on the web page is to create a form. What comes after that is publishing the form and viewing the result as the participants submit their answers.

Constraint and Design Specific

This process will help the team to get a shared vision on the personality and essence of the design by choosing the look and the feel of the interface. When the users use the product, it will feel crisp and professional. I decided to limit the use of the color palette and focusing more on the professional look.
Walking around Inspiration
By: Ruks Moreea
Tags: Wisdom, Mindfulness, Photography, Walking, Spirituality

Photograph by Author. Goddess Mother

A slow walk, with intent, can inspire most of us to take in the secrets and beauty of our surroundings. Mindful walking can quieten the busy-ness of our minds but also turn chaos more bearable I feel. I love photography. Although I do not arm myself with an SLR or any fancy apparatus, my silent phone does the trick. And I came across this beauty, which I have looked and quickly admired many times, in a rush to get someplace, but seen only yesterday, as I slowed down with no particular place to go, but only to soak in the cold air and warm rays. It inspired me to write just a few words and share it with you all.

See her, truly do. What is the hidden subtle wisdom you feel, just looking at her, with depth and intent?

I see Mother, Angel Mother or Goddess Mother, with calm determination, on one side and heart-felt love on the other. Just seeing her was electrifying, purifying, giving this urge to shun beliefs that no longer serve. To let go, to open up and embrace. I was glued to her purity and beauty. She may be just a statue for many, a symbol for a few, yet a work of Art for All. Yes, she is in a place of rest, in a peaceful spot yet deeply facing us, passers-by. Looking over us or at us? Guarding and guiding.

Enjoy the photo and look forward to reading your wisdom.

Love and Light.
Quali Obiettivi per un’Agenda Digitale
By: Oscar Badoino
Tags: Innovazione, Verbania, Infographics, Piemonte, Agenda Digitale

in Both Sides of the Table
Why You Should Write Character-Driven Stories
By: Brian Rowe
Tags: Character, Success, Writing, Art, Creativity

There’s so much to think about before you begin a new short story or novel.

You have to think about the genre you’re writing in. Reader expectations of that genre. The length you’re going to be aiming for. What ultimately the story is about. Who your characters are. What your characters want. How the story begins. How the story ends. What might happen in the middle.

There’s so, so much. And yet something you should never forget is that the best stories truly are the ones that are character-driven.

Now this is not to say that you should avoid telling a compelling story with high stakes and lots of tension and only focus on your character as he or she goes through the day.

What character-driven means, at least for me, is that the characters take control of the narrative. There’s not the sense that the author is playing God and just stringing along the characters, whether they’re one-dimensional or three-dimensional, from one destination to the next.
How To Rank Women
By: Ali Kelley
Tags: Humor, Feminism, Rankings, Beauty, Women

How To Rank Women

An easy guide for men

Time is money. So what’s the quickest way to identify the numerical hotness of a woman? Draw comparisons. Using science, we’ve assigned 100% accurate numbers to decode beauty for any situation you may find yourself in. Take this handy cheat sheet with you on the go! It easily folds up and fits in your coat pocket so you never have to guess if she’s worth your time or nah.

Cities

A 7 in Seattle is a 5 in Philadelphia.

Big Ten Schools

A 4 at Penn State is an 8 at U of Nebraska.

Holidays

A 3 on Thanksgiving is an 8 on Christmas.

Places of Worship

A 6 in a temple is a 7 in a Kingdom Hall.

Cruise Ships

A 5 on the lido deck is a *9 in an emergency lifeboat evacuation.

*Number adjusted for extenuating circumstances. This may be the last woman you see before you die.

National Parks

A 3 in Acadia is a 6 in Crater Lake.

Civil War Battles

A 5 in the Battle of Fredericktown is a 2 in the Battle of Chalk Bluff.

Dying American Electronic Superstores

A 4 in Best Buy is a 2 in Radioshack.

Sets of Golden Globe-Winning Films Starring Ben Affleck

A 7 on the set of Argo is a 3 on the set of Good Will Hunting.

Golden Girls

Sophia is a 5. Dorothy is a 6. Rose is a 7. Blanche is a 9.

Decades

A 2 in the 1970s is a 1 in the 1980s.

Vermont Footwear

A 4 in Tevas is a 6 barefoot.

Animals

A 3 on a horse is a 5 on an elephant.

Galaxies

A 3 in the Milky Way Galaxy is a 10 in some galaxy yet to be discovered because I’ve literally never met a 10 on Earth but have to assume they are out there, I guess.
I Don’t Want an Apology That Only Makes You Feel Better
By: Zulie Rane
Tags: Relationships, Mental Health, Psychology, Self Improvement, Self

I’ve done it. You’ve probably done it. Most of us have, at some point or another, been guilty of this.

When we’re wracked with guilt about something, major or minor, that we’re definitely at fault for, and we reach out to the injured party to apologize.

It’s only the right thing to do, after all. Not apologize? Are you kidding? It’s clear we’re in the wrong, and we need to do our best to make amends.

There’s only one problem. We’re not doing this for them.

We do it for us.

Most of our apologies are entirely selfish, not intended for the person we’ve wronged in some way. They’re just stepping stones for us to feel better about ourselves.

Your apology is sometimes just a manipulation. Stop trying to force the people you love to say you did nothing wrong.
The New Year Resolutions Clock
By: Neha Sandhir S
Tags: Poetry, Creativity, New Year, Self, Energy

Tick tock goes the New Year resolutions clock

It’s time to dust off some notes

To rewrite the resolution files

And colorfully pin future hopes

It’s time to assemble few pieces from this year

Some kind acts, some not so kind

Some moral achievements and maybe some regrets

Playing many visuals in mind

Rejoicing this year’s highlights in life

And while penning new notes

For the exciting new ones

Promising self to try

And truly abide by

Most of New Year’s

Resolutions list

Always held so dear

Almost every year.

©Neha Sandhir. All Rights Reserved.
ICONOMI ICNX DAA Rules Update
By: Jani Valjavec
Tags: Iconomi, Blockchain, Ethereum, Updates, Bitcoin

ICONOMI is developing the first ever Digital Asset Management Platform for blockchains and cryptocurrencies. As part of this we are creating Digital Asset Arrays (DAA) that can be managed from our platform. ICNX is an index-based passive DAA which invests in tokens that meet the ICONOMI eligibility criteria. The tokens currently included represent 70% of the total market capitalisation of cryptocurrencies.

It is important to adapt to the fast changing nature of the markets and as such we have updated the set of ICNX managing rules.

Eligibility criteria for token inclusion

The token’s underlying concept must be based on blockchain technology and seen as viable in the long term by ICONOMI. We look at the following: Token functionality, Stage and quality of product being developed, User adoption potential and growth, Capability of team, Competition

The token must be released and it must have been trading on Poloniex or Bittrex for at least 1 week (additional exchanges such as Kraken are coming soon)

Average daily volume of particular token in the past 7 days on exchanges must be at least double of the invested value in the portfolio.

The invested amount of particular token shouldn’t exceed 5% of its market capitalization.

There is no cap on the number of tokens in ICNX.

Circulating supply of particular token should be at least 60% of total supply, unless tokens not in circulation are issued in new funding campaigns.

Annual inflation rate of particular token shouldn’t exceed 20%, unless actual user base growth of token is high.

Structure methodology

The ICNX Index structure is based on a nominal value of a particular token’s market capitalization, where additional adjustments are made due to the high concentration of the top few tokens on the market. Index rebalancing is performed at the end of each month, or more frequently if ICONOMI deems it necessary.

Maximum weight of any token at rebalancing is 15%

Tokens that have a proportionally higher market cap have their weight based on a logarithm of market cap value*

ICNX pursues a structure that delivers diversification benefits and minimises risk.

During rebalancing periods the structure of ICNX may move from the defined criteria temporarily.

Rebalancing may be triggered during regular rebalancing periods if weight of certain tokens surpass 25% of ICNX.

*Log has to be taken in order to get a more fragmented structure of index. Log is applied only for those currencies which would otherwise have too large a weight (i.e. Bitcoin and Ethereum having combined weight of 70%).

ICNX index inception date was 23/12/2016. The ICNX price and structure is published and updated in real time.

ICNX currently has $2.5 million USD assets under management. We have added all the beta testers and plan to add every original ICO participant by the end of June 2017.
RS21 Responds to COVID-19 with New Urban Health Vulnerability Index
Tags: Data Visualization, Covid 19, Data Science, Maps, Data

RS21 Responds to COVID-19 with New Urban Health Vulnerability Index

Communities most vulnerable to an outbreak based on health, age and resources

In just five days, data science and visualization company RS21 created a data analytics website to help address the challenges of COVID-19. The Urban Health Vulnerability Index (UHVI) identifies urban populations at high risk for COVID-19, including older adults and people with serious medical conditions. The application is intended to support mid- to long-term planning in the face of health, economic and social disruptions.

The UHVI originally included metro areas in New Mexico where the company is headquartered. It now includes 13 cities, from Phoenix to Washington, D.C., and can be freely accessed at covid.rs21.io/map.

“In our mission to do good with data, a team of passionate RS21 data scientists and developers created this application that uncovers the most vulnerable parts of our communities,” said Charles Rath, President and CEO of RS21. “When leaders in healthcare, government, business and communities look at the impact holistically, we can make better decisions now and in the coming months.”

The UHVI quickly and clearly communicates information in a map-type interface, making it easy to use by decision-makers, analysts and citizens. Datasets come from the Centers for Disease Control, the US Census, COVID-19 cases, healthcare facilities and other disparate data sources.

“W e are facing unprecedented challenges, and it’s going to take innovation and action from everyone to help our communities bounce back and remain strong,” added Rath. “We are very open to partnerships, and we are ready to scale and customize this tool to take it to the next level.”

The UHVl shows data in Albuquerque, Las Cruces and Santa Fe, NM; Atlanta, GA; Chicago, IL; Denver, Aurora and Colorado Springs, CO; New Orleans, LA; New York, NY; Phoenix, AZ; and Washington, D.C.
Blue Sapphire
By: Chas Wyatt Https
Tags: Prose, Writing, Autumn, Fiction, Rain

“Blue Sapphire”, 12" x 12", colored pencil on paper © 2020 by Chas Wyatt

She wore a faded denim jacket with a single blue rose embroidered on the back. Her dark raven tresses hung down covering one side of her face, peek-a-boo style like a Brunette Veronica Lake. I could tell from the black tank top protruding from underneath her jacket that she had an aversion to bras.

Her jeans clung to the curvature of her figure like an Anaconda coiling around the branches of a tree. The aroma that wafted through the air as she passed was an intoxicating and seductive mixture of opium and jasmine. On her feet she wore black velvet high heels adorned with bows and a single blue sapphire centered on each one. Shoes! How could I notice her shoes?

Maybe it was the clicking they made on the hardwood floors as she sashayed down the corridor. As she got to the end of the hall and opened the door, a gust of wind blew the first leaves of autumn into the building. There was a torrential downpour outside. She took one step — and disappeared,

devoured by the rain.
First look to OPA(Open Policy Agent)
By: Batuhan Apaydın
Tags: Rego, Opa, Platform, Open Policy Agent

In this article, I am gonna explain what OPA is, what is the motivation behind it, some use cases, tooling and at the end of this article, I will make a simple demo to demonstrate how to write policies and use OPA.

What is the Motivation Behind OPA?

In general, every product or service in organizations has a unique way of handling policy and authorization: who-can-do-what and what-can-do-what, so we should consider this process of handling policy and authorization much more centralized and elegant way.

In the cloud-native world, authorization and policy are getting more complex than ever before. As the cloud-native ecosystem evolves, there’s a growing need to identify and address security and compliance issues earlier in development and deployment cycles.

To address these problems, we needed a solution that would allow defining complex authorization rules easily and the more generic way that could be enforced across many services, that’s where OPA comes into play.

What is the OPA?

The Open Policy Agent (OPA) is an open-source, general-purpose policy engine that unifies policy implementation across the stack. The project was created by Styra and it is currently incubating at the Cloud Native Computing Foundation. You can use OPA to enforce policies in microservices, Kubernetes, CI/CD pipelines, API gateways, data protection, ssh/sudo & container exec control, Terraform risk-analysis, and much more.

One of the core ideas behind the project is that you decouple policy decision making from policy enforcement. The OPA gives architects, developers, and security practitioners a really good way of expressing security policy as code and then delivering on it, said Torin Sandall who has the technical lead for OPA.

There are many ways available to get started playing with OPA.

First, OPA has a CLI that you can easily interact with it that you can easily download it from here.

You can also download and run OPA via Docker. The latest stable image tag is openpolicyagent/opa:latest .

Let’s look at some commands that are available within the CLI:

eval → is a swiss-army knife that you can use to evaluate arbitrary Rego expressions and policies

run → OPA has to main modes when it comes to the run command, one this at interactive mode(REPL) which is the default mode when no flags provided and the other one is the server mode which is activated with -s or --server flag.

Another way to start using OPA is that as a Go library. You can implement all of the good features that OPA provides to your code with just a few lines of code.

OPA helps us to implement policy as code using a high-level declarative language called Rego. Rego was inspired by Datalog, which is a well understood, decades-old query language. Rego has a very simple syntax and a small set of functions and operators, optimized for query evaluation.

Rego’s sole purpose is to make policy decisions that other products/services need to take action. For example:
Automating management of Selenium webdriver binaries with Java
By: Hrvoje Ruhek
Tags: Java, Automated Testing, Selenium, Software Development

Manual setup of testing environment for Selenium can be tiresome. Installed browser version and Selenium webdriver binary version need to be in sync. When you need to do it on multiple machines, each with different OS, it takes a lot of time and effort.

There is a nice javascript tool webdriver-manager that is useful if you can install node.js on your testing environment, but it’s useless if you only have Java available.

At first I wrote custom Gradle build scripts. It took a lot of effort to maintain them and they were useless on projects that used Maven. Then I found one awesome Java project that solves the problem. It’s Boni Garcia’s Webdriver manager.

The project is actively maintained and has excellent documentation. WebdriverManager can be used as a standalone server that fetches Selenium webdriver binaries, or you can include it as a dependency in your project and use it directly in your test code.
Hue-man Thoughts
By: Cocoa Griot
Tags: Haiku, Life Lessons, Poetry, Colorism, Self Love

I married a man that loved me and my deep ebony hue. His family was mortified that he married “someone soooooo dark” as they put it. They told him that his children would be dark-skinned like me.

His family acted like I was the carrier of some kind of plague. My husband stood firm and let them know that they did not have to love me because he did. Their obsession with colorism was unacceptable.

When I was pregnant with our child I prayed that he would be so black he could sit in a hot tub and make tea! That did not happen because our son was born with the light complexion of my parents. My husband’s family surveyed our son after birth and determined he would not be the same hue as me. His fingertips were not brown. They were ecstatic to know that he would not “turn” dark.

It is important for us to love our whole selves. People will interject their biases into our world if we let them. My husband stood up and politely gave his family the fickle finger. I am thankful that he loved me for me!
Join Us
By: Gb Rogut
Tags: Health, Join Us, Lifestyle, The Road To Wellness, Wellness

There are many of us: people who used to eat crappy food. Never working out. In chronic pain. Struggling with mental health. Battling addictions.

We are not out of the danger zone yet…but we are on our way to a better, healthier life.

The Road to Wellness is for people who haven’t always been healthy. Heck, you could say most of our lives we were the opposite of that. But one good day, we decided to turn things around and own our lives.

Do you have a story like that? Or do you have advice on how to keep working towards health?

Then, please, consider joining us.

It’s a very straightforward process:

Send an email to theroadtowellnessmedium@gmail.com.

In said email, say you are interested in joining. Add a link to your profile and to a post you think appropriately reflects the kind of stories you want to share with us. We will respond within a week.

Once you are a writer, submit a story whenever you want. We will get back to you within a week.

When submitting a post, please, make sure to send a polished draft.

Limit the use of images to one per post, unless your piece requires more to make your point.

Limit self-promotion to one box link per post. The idea is to not interrupt readers as they enjoy your writing.

Please, feel free to send comments and suggestions. We cannot wait to read what you have in mind.

What do you think? Do you want to join us on the road to a healthier life?

G & G
A Perfect Shrimp Cocktail For the Holidays
By: North Coast Seafoods
Tags: Chefs, Shrimp, Seafood, Shrimp Cocktail, Cooking Classes

Making Restaurant-Style Shrimp Cocktail

If you’re anywhere near my age, you’ll remember going to restaurants and supper clubs with your parents, where one of the most elegant appetizers you could order was the shrimp cocktail.

There’s honestly nothing quite like a crisp, chilled shrimp with a zesty cocktail sauce, especially during the holiday season. I wanted to share one of my favorite seafood recipes with you, and make it possible for you to bring another festive dish into your home for the holidays.

If you prefer to cook along with a video, check out this step by step tutorial showing my Perfect Shrimp Cocktail recipe using Naked Raw Shrimp:

Ingredients Needed for this Shrimp Recipe

Shrimp cocktail requires a high-quality, sustainably sourced shrimp. I like to use Naked Raw Shrimp, which comes peeled, deveined and with the shell on.

Our ocean-raised Naked Shrimp has a naturally-clean flavor profile and crisp texture. The most important part about this shrimp is that it contains absolutely no chemicals, no artificial preservatives, and no antibiotics… it’s just pure shrimp.

Naked Shrimp is 4-Star Certified Sustainable by the Best Aquaculture Practices (BAP), which is the highest rating possible. This means that every step of the process is carefully monitored to ensure the highest quality, best tasting, responsibly sourced Shrimp.
Muslim Haiku -1
By: Lisa Spray
Tags: Haiku, Poem, God, Religion, Spirituality

Muslim Haiku -1

My understanding of Islam in Haiku

personal photo

Like the sun rising

over rolling black mountains

lighting up my heart

Salat¹ grows my soul

Zakat, Ramadan and Hajj²

also do the same

God’s great creation

draws me right, back there to Him³ —

Paradise on Earth!⁴

What a Merciful

Lord and Master mankind has

Who so blesses us

Who sends the gentle rain,

filling fields with waving green

and bright, clear bird song

What more do we need

To be joyous and content?

Glory be to God!
How I Changed Careers From Marketing to Software Engineering
By: Katie Annabelle Raby
Tags: Women Who Code, Learning To Code, Programming, Women In Tech, Startup

How I Changed Careers From Marketing to Software Engineering

I did it and you can too!

Photo by Arnel Hasanovic on Unsplash

Last year, I was in an established marketing career, with no tech degree to speak of, and was convinced that switching to a career in tech would be nearly impossible. Less than a year later, I landed a job as a junior software engineer 💻 Here’s my story.

From the first time I dabbled in code for the first time at the age of 12 to learning the basics of HTML and CSS, I found that there was an unmistakable pull and magical feeling about coding. It was a world where I could create anything I wanted.

While at school, I never thought a career in coding was even possible for me, and I never thought of studying computer science an option. At many points in my life, I went back to coding “bits and bobs,” but I never fully committed myself to changing careers.

I graduated from university in 2015 with a degree in international business and French and soon took an interest in marketing as a career because it was interdisciplinary and would allow me to be creative. I eventually got a job working in communications for a global engineering consultancy — the beginning of my marketing career.

Once you’re fully embedded in a career, it can be difficult to make a change — especially to tech. You face all sorts of questions: How will I translate my previous experience into the tech world? Will my resume be impressive enough to land my first role? In the past, I’d worked a stint at a recruitment agency, so I knew how challenging a career change could be. But I was determined. I wanted a job that I would love and look forward to every day — working towards that goal became my focus.
Tomorrow Morning — A Haiku. What will you do then?
By: Jason Gutierrez
Tags: Haiku, Haiku Poetry, Personal, Life, Growth

Tomorrow morning

Everything begins again

What will you do then?
How to participate in TowerBee token sale
Tags: ICO, Blockchain, Cryptocurrency, Ethereum, Bitcoin

The token sale begins on 05 May 2018, 06:30 AM, UTC

TowerBee, a SaaS company is bringing the SaaS industry closer to Blockchain technology. TowerBee token sale will begin on 05 May 2018 and will end on 04 June 2018 or before if hard cap is reached.

Step 1: Get whitelisted

To participate in TowerBee token sale, you should get whitelisted first. There is a simple whitelisting process and it has 2 levels:

Level 1: Users withe verified email id are able to purchase tokens of value upto 5 ETH.

Level 2: Users who submit additional documents are able to purchase any amount of TowerBee tokens.

The whitelisting process in detail is given in this medium article https://medium.com/towerbee/how-to-participate-in-towerbee-ico-whitelist-and-kyc-process-83e93985ae0e

Step 2: Send ETH to contract address

When the token sale begins on 05 May, 06:30 AM UTC, send ETH to the contract address which is available after you login to your account at TowerBee.io

The contract address where ETH needs to be sent can be seen only after you login to your account at TowerBee.io. We will not send contract address by email. Please do not believe if you receive any such email.

Step 3: View TowerBee tokens in your wallet

After your have done the Step 2 and your transaction is successful, you will receive the TowerBee (TBE) tokens instantly in your wallet. You will need the following information to view TowerBee tokens stored in your wallet.

Token Address: 0xf18b97b312ef48c5d2b5c21c739d499b7c65cf96

Token Symbol: TBE

No. of decimals: 18

Congratulations! You now have TowerBee (TBE) tokens in your wallet.

Important Links

Telegram: https://t.me/towerbee

Join whitelist: https://towerbee.io/login.aspx

Website: https://towerbee.io

Whitepaper: https://towerbee.io/bounty-front/images/pdf/TowerBee%20ICO%20Whitepaper-V1.pdf
2 Videos worth watching
By: Caleb Dismuke
Tags: Career Advice, Cryptocurrency, Bitcoin, Tdu, Videos

Scott Galloway is a marketing professor at NYU and runs L2, a digital benchmarking company.

He does a video once a week that is informative, entertaining, and sometimes a little salty, language wise.

His youtube channel is worth subscribing to. Click here to subscribe.
Launchpad 0.6 — Hover effects and more
By: Anima App
Tags: Design Thinking, Design, UX Design, Web Development, Sketch

Every week we are rolling out a new set of exciting features. To make sure you stay up to date with the latest on Launchpad —

📩 Subscribe to our Newsletter (2 emails per month)
Disproportion
By: Rebeca Ansar
Tags: Haiku, Poetry, Art, Self, Poem

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.
Error Logging in Salesforce
By: Esteban Efigenio
Tags: Sentry, Salesforce Development, Salesforce, Error Handling, Development

I have recently started a new job where my primary development is with the Salesforce platform. Salesforce is a CRM at the core, but also provides a pretty robust ecosystem of tools that make up a customer success platform. It is great! There are plenty of things that have been done to it to make it more attractive to developers. Lightning is something that comes to mind.

Salesforce Official Logo

Salesforce provides three different development tools for developers when working with their SAAS solution:

Visualforce — The older UI framework used by Salesforce, that is similar to HTML and allows JavaScript with some native handlers to access Salesforce data.

Lightning — The new UI framework used by Salesforce, component based framework kind of like React, it seems a little bit more decoupled from Salesforce making accessing data to take a little bit more work.

Apex — Salesforce’s custom Object Oriented Programming Language that is similar to the flavor of Java, but with fewer features.

All of these tools used by Salesforce are great, but one thing missing from each of them is a common way of handling errors.
Gümüşlük’de Yaz Bir Başkadır. https://www.youtube.com/watch?v=z_6EJDeZ…
By: Jiyan Aytek
Tags: Gümüşlük, Türkçe, Yaz, Tatil, Günlükler

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.
Trade with FUN and Win Rs. 1,42,000
By: Vaibhav Seth
Tags: Crypto India, Blockchain, Cryptocurrency, Funfair, Bitbns

Hey guys,

We recently listed Funfair (FUN) token. So if you remember, we always bring you a trading contest shortly after listing a new asset. For those who haven’t guess yet; it’s time for the FUN trading contest, and upto Rs. 142,000 worth of FUN tokens are up for grabs.

Here are the contest details:

Total Reward: Rs. 142000 worth of FUN token

Start Date: 03rd December 2019, 4 p.m IST Onwards

Extended End Date: 12th December 2019, 11:59 p.m IST

Unlock Process: For every Rs 150 worth of FUN traded on Bitbns, Rs. 0.75 worth of FUN token gets unlocked.

How it works:

Unlock Mechanism:

FUN tokens worth Rs. 142000 for rewards will be unlocked during the contest. For every 150 worth of FUN token traded, FUN tokens worth double the trading fee collected will be unlocked. The contest would continue until FUN tokens worth Rs. 142000 are unlocked.

For instance — If someone trades Rs.150 worth of FUN, Rs. 0.75 worth of FUN token will be unlocked.

How much you earn:

Let’s say the total trading volume on 10th Dec 2019 is worth 5000. At this point if 2840000 worth of FUN has been traded. So your share of FUN would be:

(Your Volume Traded in INR during the contest/ Total Volume traded in INR during the contest) * Unlocked Value in INR

For example, you traded Rs.5000 worth of FUN during the contest. You would earn:

(5000/2840000) * 142000 = 250 FUN tokens

#FUN #FUNContest #MilegaUmeedSeDugna #HarKoiJeetega