fabiochiu/medium-articles huggingface dataset:
You can’t solve a verb problem with a noun solution
By: Steve Bryant
Tags: Marketing, Writing, Branding, Technology, Advertising

In the best cases, a good noun helps a good verb.

That is, a new web site helps your marketers market, new sales collateral improves the worst salesperson, a new ad campaign moves more product.

But in the worst cases, a good noun hides a bad verb.

That is, your marketers don’t know what to do with a new web site, better sales collateral doesn’t help the worst salesperson, an ad campaign fails to increase revenue.

This is the great tactical danger — reaching for nouns when you should be reaching for a verb. Perhaps you think that a better product will fix a broken process.

But why would this be true?

Buying a more expensive journal doesn’t make you better at journaling, just as buying nicer workout clothes doesn’t make you better at going to the gym, just as buying a fancier ink pen doesn’t make you better at signing checks. (It just means you’re spending more money to sign checks.)

In the same way, buying a more elegant web site doesn’t make you better at promoting your web site, just as creating better collateral doesn’t make your sellers more empathic, or aggressive, or smart.

In the worst cases, getting a new noun means you’re not changing your brand, you’re simply changing the impression of your brand. You may say well that’s the same thing, but it’s not — there’s a difference of who controls the interpretation of the relationship. You’re changing how people react to you more than changing the act of you.

And for an example of that, please see every middle-aged man who just bought a sports car.
decisions.
Tags: Society, Family, Poetry, One Line, Loneliness

CCO from Pixabay. Skitterphoto

for you,

they said,

just forget those past days

no dreams, no aspirations,

walk the way we tell you to,

eyes closed, walk

•family•

I’ll rather have no contacts than thrive as a slave of someone else’ will.
Gaslighting in Photojournalism:
By: Yunghi Kim
Tags: Photojournalism, Journalism, Photography, Women, Documentary

Stunningly and inexcusably, the editors behind this piece seemed unaware of Cathy Newman’s book that documented 100 years of contributions by women photographers to the pages of National Geographic. The book, “Women Photographers at the National Geographic” was published by the National Geographic almost twenty years ago!

Photographer and educator Todd Bigelow reacted to the article best and I agree:

“The narrative has been hijacked to some degree in an effort to make it seem like the male barrier has just now been pierced…that’s simply revisionist history. It’s just not true, but it serves the two-minute cycle of those with big social media followings. I grew up in this profession looking up to all the women listed here BECAUSE they broke through by creating incredible bodies of work. And have continued to lead the way as well.”

We –- the women who have preceded our younger sisters in the profession — have fought the good fight for diversity, equality and opportunity for over 35 years.

I remember 1997 was a breakthrough year for women in photojournalism. Looking back now, we established that women stood firmly on an even playing field across the entire industry. We had a collective voice that was raised and listened to by dint of the power and quality of our work.

Women swept awards that were previously bestowed largely to a field of men. It was the year Carol Guzy, Gail Fisher and I dominated the NPPA/Pictures of the Year competition (I won Magazine Photographer of the Year — only the second time it was awarded to a woman; the first time, 42 years earlier!). Corinne Dufka won the Robert Capa medal. Women swept the Overseas Press Club awards and top categories within the World Press Photo — the industry’s highest honors at the time. This story by Sherry Ricchardi retells what women faced then.
Piñata
By: Kahli Bree Adams
Tags: Haiku Fusion, Haiku, Poetry, Poetry On Medium, Life

A crazy collection of haikus from traditional ‘5-7-5' 3-liners to modern adaptations and interpretations. Topics range from humorous to melancholy, the whole shebang.

Follow
Environment Variables in Angular / Ionic
By: Adnane Lamghari
Tags: Ci Cd Pipeline, Environment Variables, Deployment, Angular, Nodejs

Solution 1: Create a environment.ts file for each environment

Angular by default provides a prebuilt solution, which is creating multiple environment files, like:

environment.ts : for developement

environment.prod.ts : for production

environment.preprod.ts : for preoproduction

environment.testing.ts : testing

…

Then manage all this in the angular.json file in root of your project :

angular.json

So basically, when you run ng build --prod Angular will replace your environment.ts file by the environment.prod.ts

And now let’s add the proper configuration for the other environments (let’s take preprod as an exemple) :

Create environment.preprod.ts file in src/environment folder

folder In your angular.json file add the following lines (edit the config if you want) :

"configurations": {

"production": {

"optimization": true,

..

},

"preprod": {

"optimization": true,

"outputHashing": "all",

"sourceMap": false,

"extractCss": true,

"namedChunks": false,

"aot": true,

"extractLicenses": true,

"vendorChunk": false,

"buildOptimizer": true,

"fileReplacements": [

{

"replace": "src/environments/environment.ts",

"with": "src/environments/environment.preprod.ts"

}

]

}

}

And now run this command to generate the build (Or add it to your build script in your CI/CD pipelines)

ng build --configuration=preprod

if you are on Ionic :

ionic cordova build android --configuration=preprod

Solution 2 : Create a environment.ts file using process.env

I prefer this solution because it’s more safe for me, and actually sometimes you don’t want to commit some environment variable in your code ( Such as a secret key … ) and you don’t want to make it visible to all your team.

In this solution we will overwrite the default environment file created by Angular before building using environment variables we set in our deployment environment (heroku, azure ..).

To do so, we will create a JS or TS file in the root of the project, let’s name it ‘set-env.js’ (add your variables to this code):

After creating this file, let’s add a ‘config’ script to our package.json :

"scripts": {

"ng": "ng",

"config": "node set-env.js",

"config-ts": "ts-node set-env.ts",

"start-dev": "ng serve -o",

"build": "npm run config && ng build --aot --prod",

...

},

And now enjoy executing your ‘npm run config’ command in your build script.
Zero Probability
Tags: Analytics, Mathematics, Data Science

Events that are impossible have zero probability, but the converse is not necessarily true. Clearly an empty set has zero probability. But, a zero probability event does not mean an impossible event.

The simplest example comes comes from a continuous model. Every point has zero probability but every point can be a possible outcome. Similarly, in a 2-dimensional space, a line also has zero probability. In other words, only events that have a significant enough likelihood can have positive probability in a continuous space.

To take a more real example, consider an infinite number of fair coin flips. The probability of seeing all heads is zero! But, it is a possible outcome.

This reminds me of a tongue-in-cheek note that I wrote to a friend, Ray, on his chances of finding the right girl, by his definition. The analysis is posted below, along with a postscript.
Google Metabooking Machine?
By: Reinhard Lanner
Tags: Reservierungssystem, Google, Tourismusmarketing, Buchen, Google Places

in Both Sides of the Table
TE-FOOD, Eurofins, and GE Aviation cooperate to offer end-to-end Covid-19 testing process solution for corporate customers
Tags: Progress, Covid 19, Coronavirus Update, Coronavirus, Covid 19 Testing

TE-FOOD and GE Aviation recently launched TrustOne, which enables organizations to manage and monitor the medical screening of their employees, guests, and passengers to mitigate the effects of COVID-19.

The cooperation with Eurofins targets corporate customers to receive a full package of tests, and TrustOne to manage and monitor testings efficiently.

Eurofins Scientific is a worldwide laboratory testing services group. Eurofins has 800 laboratories in 50 countries, with 48 000 employees.

The offering provides several ways for corporations to collect samples: through walk-in labs in many locations around the world, through on-site samplings by a healthcare professional, or by self-sampling at home under the supervision of a medical professional via live video (in countries where it’s allowed).

The solution tracks the sample kits throughout their journey to the lab and registers the test result.

Corporations can define the testing schedule of their employees, and set rules regarding what results they accept for compliance. Corporations can also combine sample testing with regular health status surveys, and temperature checks which are registered in the mobile app.
50 Things I’ve Learned in the First 90 Days of Running a Company
By: Romeen Sheth
Tags: Entrepreneurship, Work, Company Culture, Leadership, Startup

50 Things I’ve Learned in the First 90 Days of Running a Company

Reflections on my first three months as a CEO

Time flies. This past Friday I completed my first 90 days at Metasys. Thus far the journey has been gratifying, challenging, intense and eye opening. One of the exercises I promised myself I would do at the outset of this journey is place a deep importance on self reflection.

To that end, here are 50 things I’ve learned in the first 90 days:
Parse Shutdown, looking for Alternatives?
By: Pravin Singh
Tags: Chat, Messaging, Parse

Its a tough situation to be in. More than 600,000 developers are affected and we are all thinking what next. By now, we have built a habit of adapting as companies like Google and Microsoft too shuts down their services sometimes. Having said that, I am sure we all want to lessen the dependency and focus on our core products.

For the developers community, and those with apps providing communication solution with Parse, you may want to try Applozic. Think of it like Feature-as-a-Service. We have the backend for you but with complete control over your data, privacy and migration. Its like that “Plug n Play” service that you can enable/disable at your comfort.

Facebook has been incredibly nice to us by pushing it to open source instead of complete shutdown. But, if you don’t migrate your database by April 28, Parse will assume that your app is low priority and will de-prioritize its traffic to focus on production apps. Parse provided details on data migration to MongoDB here. After the export, please use our REST APIs to migrate chat and messaging data to Applozic servers: https://www.applozic.com/developers.html#platform-api-overview

Applozic’s API serves you with all aspects of IP messaging — one-on-one and group chats, push notifications, context based chat, CTA buttons to accomplish services on other apps for example Stripe for payments with online/offline status, typing indicators, read receipts and more. Applozic can be your quick and easy to integrate real time communication and user engagement solution.

Download the SDK from here: https://www.applozic.com/signup.html

Please feel free to contact us for integration and customization assistance.
Heart of Sparta
By: James Khan
Tags: Literature, Writing, Rap, Poetry, Life

Heart of Sparta

The paean of a pained poet

Non compos mentis, camera obscura,

I’m purer than water distilled from Andorra

With bitterness charged like a harsh Angostura,

I’m half Hideyoshi, the rest is Ghidorah,

I’m drawn to the shapes of the temptress of Kali,

The ghosts in the chains like the essence of Marley,

The abstract, unusual; painted like Dali,

The poison of Ivy, the contours of Harley,

Call me Frank Castle and Hector Montoya,

I’m split between Satan and Tom-fucking-Sawyer

But shit, even God needs the help of a lawyer

‘Cos life ain’t Cezanne it’s more fucking Goya,

My take on life, kids; word as a father

Is stay on the sofa, the floor’s made of lava,

Don’t crawl into craters, just be the cicada

And leap over problems that sink your armada,

Retain the bravado, the passion, the ardour

And if they push back then you push fucking harder,

You can survive life if you don’t be the martyr-

The world is all Persia and me, I’m just Sparta.
Ledger Nano S: Review And Comparison
By: Nigeria Bitcoin Community
Tags: Crypto, Cryptocurrency Investment, Bitcoin, Crypto Wallet, Ledger Nano S

This post is a review of the Ledger Nano S, everything you need to know about it and how to use it.

The Ledger Nano S is a hardware wallet that was designed to securely store 1000 cryptocurrencies. It is the most widely used cryptocurrency hardware wallet.

So far this is the most detailed review on the Ledger Nano S you can find online.

In this post, I will also be revealing its successor; Ledger Nano X.

Post Summary and Company Review

Launched in 2014 by eight experts, Ledger is one of the leading companies in hardware wallet technology.

The company has over 130 employees in Verizon, Paris and San Francisco. Its aim is to secure every class of crypto-asset using a unique Operating system called BOLOS.

Its products include;

To make this review clear and simple, this is what I will be covering.

Also Read my Ledger Nano X review
The One Mistake That Is Holding You Back
By: Younes Henni
Tags: Life Lessons, Motivation, Productivity, Personal Development, Self Improvement

The One Mistake That Is Holding You Back

Why some people achieve their goals, and others don’t?

Photo by Nathan Dumlao on Unsplash

Simple Experiment, Strange Results

Jerry Uelsmann was a University of Florida professor, who once performed a rather strange experiment with his students.

In this experiment, Uelsmann divided his film photography class of students into two groups:

On the left side of the room, he labelled one group as quantity group. They will be graded only for the quantity of work they produced—the greater the number of photos submitted by each student in this group, the higher their grades.

On the right side of the studio, the second group of students is labelled quality group. They will be judged only for the quality of work they produce. Unlike the “quantity” group, to get the highest grade, these students were only required to submit one nearly perfect picture.

After a few weeks of competition, Uelsmann graded the students in both the quantity and quality groups. The results were astonishing:

The best photos were all produced by the quantity group!

As Uelsmann looked into the reasons behind these unusual findings, the facts start to emerge.

Whilst the quantity group were busy taking photos, learning from their mistakes and improving the quality of their work, the quality group sat around pondering on how to create the perfect picture, procrastinated on taking action, and in the end, produced mediocre results.

The key observation Uelsmann discovered was this:
I Hope You Never Stop Believing In Magic
By: Megan Minutillo
Tags: Poetry, Moments, Self-awareness, Magic, Poem

I Hope You Never Stop Believing In Magic

A poem.

Photo by Almos Bechtold on Unsplash

I hope you never stop believing in magic.

Not the kind that speaks of spells and witches,

but the kind of everyday magic that’s found in the

pockets of everyday life.

Moments like when the sun streams through your

windows in the morning, illuminating a twinkle in your

beloveds eyes so beautiful it takes your breath away.

Moments like when you’re having a bad day, and

somehow, someway, your best friend senses that

through the universe and calls you to check-in.

Moments like when you lose yourself in art — like

the pages of a new book, or the notes of a new song,

or the scenes of a new movie.The story that you’re

watching or reading or listening to speaks

to the very core of your being, and the light you hold

within your soul.

Magic was never just about witches and warlocks

and potions and spells. It’s about the untapped joy,

and power, and beauty that exists within every moment

of this precious life, and every molecule that is

the miracle, and wonder, that is you.

I hope you never stop believing in magic.

I hope you never stop believing in you.
Between the Dunes and the Ocean
By: Anne Bonfert
Tags: Travel, Lifestyle, Photography, Africa, Outdoors

The ocean had been rough for the last couple of days. That’s why we took a break from paddling after the initial first three days in a row where we went out. We don’t like big waves and getting trashed by them.

But today we decided to try our luck. As long as we can get out of the mole, which is a little bay, we will be fine. Getting out of the bay and then staying behind the waves or the point where they break, was our plan.

As we stopped the car in the parking lot I could see them already. A group of dolphins playing in the water. Surrounding a guy sitting on a surfboard. I couldn’t get my board quick enough off the car and was tripping three times on my way down to the water.

But the dolphins were in no rush. As we reached the other guy five or more dolphins were surrounding us. Jumping up and down. Swimming underneath us just to pop up on the other side again.

I’ve never experienced something like this I would say. But it’s a lie. This happened to me here before. The dolphins often swim down the coastline and come into the bay to swim around paddlers and surfers.

But still. Every time I experience it my heart stops beating. Don’t ask me to take pictures of it. I was too much in the moment and forgot about the camera. Only started to film once they were moving out of the bay.

We followed them for a bit. It was lovely watching them having fun and playing in the waves. Dolphins play in the water which shows their incredible level of intelligence.

Such lovely creatures. So peaceful. The first time I freaked out when I saw them in the water only seeing the fins sticking out. But after realizing that there are no sharks here I quickly fell in love with their presence.

After the initial excitement, I got hit by reality and was facing head on a huge wave. Hoping it wouldn’t break before I could paddle over it. We went far out onto the ocean trying to escape the danger of the waves.

Looking into the water I saw all of a sudden lots of jellyfish. Big ones. Live ones. I can’t remember last seeing them. Obviously, you sometimes see dead ones being swept onto land.

But these were alive. And just as I was looking at one huge jellyfish I heard a big splash just behind me and almost fell off the board. What a freight I got. A seal just jumped in the air and landed right next to me.

It seems to be the day of all the sea life appearing. I’m loving it.
GridPlus’ GRID Token Now Available on Loopring Exchange
By: Matthew Finestone
Tags: Ethereum, Loopring, Zkrollup, Decentralized Exchange, Grid

This combination makes complicated blockchain use cases easy for those without extensive technical expertise. For example, GridPlus is preparing for development of a push-button eth2 validator deployment, which will be managed on the Lattice’s secure screen. The Lattice1 will create a network of secure uniform hardware that developers can put to use for any application requiring automated programmable signing.

The first such use case, which inspired the entire project, is GridPlus Energy — GridPlus’ subsidiary Texas retail energy provider which is live today and has approximately 4,000 customers. Today GridPlus Energy lets customers use crypto for access to wholesale pricing, but the long-term goal is for customers to leverage additional savings and functionality by having a Lattice1 in their home.

Finally, to support the transaction volume the energy business may require in the future, GridPlus developed the Phonon Network specification, a hardware enforced off-chain payment system that allows users of the hardware to send fast, free, privacy-preserving payments directly between Lattice1s.

About the GRID Token

The token’s primary use is to give customers the right to 500kWh of energy at wholesale pricing without markup. Right now customers deposit GRID which is applied to their bills automatically as they consume energy. The value varies according to both their rates and the price of energy on the open market.

Customers can pay their bills using traditional methods but GridPlus also accept ETH, DAI, BTC, and GRID. If customers opt to pay with GRID, they’ll realize additional savings compared to the current price of GRID.

Once tokens are redeemed they’re removed from circulation permanently.

GRID will also be directly redeemable at launch for a discount on the Lattice1.

Once the hardware ships GridPlus hopes to use GRID to support a broad ecosystem of applications made possible by the hardware. In particular, GridPlus will put Phonon into the public domain and are exploring the use of GRID to govern all of the systems parameters and fee revenue via a DAO.

Using GRID on Loopring

GridPlus is continually looking for ways to remove hurdles for customers to be able to use their GRID, and so is planning to integrate GRID redemptions via Loopring Pay so that customers who purchase GRID on the exchange don’t need to incur further costs withdrawing to the base chain when they wish to redeem for energy or Lattice1. Stay posted on this.

GridPlus is excited about its customers being able to use Loopring to acquire GRID to redeem without being subject to the high transaction fees experienced on other Ethereum DEXs at the moment. So once again, to encourage users to personally experience the speed and ease of Loopring, GridPlus is offering 10 GRID to each new user that signs up via this link, or just use code “GRID”. Enjoy life in the fast lane.
Berlin Tech Salaries in 2019
By: Wilbur Von Biscuit
Tags: Job Market, Berlin, Berlin Tech, Developer Salaries, Startup

Published: 01. March 2019

Author: CaissaTeam

Let’s talk about kale

As tech recruiters, we at Caissa talk a lot to technology people who are thinking to relocate to Berlin. One of the first questions they ask us is,

“What will I be paid here?”

Our last year’s survey shows that Berlin-based developers and engineers are also concerned with their potential income in a new position. When accepting a job offer, 73.2% of candidates would base their decision on the salary offered.

Now, let’s try to answer the following two questions:

Why is the salary so important?

What are the salaries in Berlin?

Berlin was dubbed “poor but sexy” in 2003. With an image like this, the city’s former mayor Klaus Wowereit wanted to attract investors, tourists, and young professionals. And it worked.

What’s funny, the slogan has been associated with the city ever since, even though the “poor” part of it is not really true anymore.

Berlin is, indeed, cheaper than most of the major European locations, including London, Paris, Amsterdam, Dublin, Stockholm, Milan, Zurich, and even big German cities like Munich, Stuttgart or Frankfurt. However, it’s getting more expensive to live here. Mainly, due to increasing rent prices (by 34% only between 2015 and 2018!).

With Berlin becoming a major EU tech hub, there is a strong need for tech professionals. And it’s natural that those who move here would want their salary to ensure a comfortable life at a new place.

But not all employers are willing to pay more.

Based on a number of sources (Glassdoor, Stepstone, one independent survey, and our internal data), we’ve made a graph of salary ranges. This data is based on what Berlin’s engineers, developers, and tech managers earned or were offered in 2018.

This is how much people in tech earned in Berlin in 2018 (annually, in EUR).

As you can see, the difference between the minimum and maximum amounts is really big.

First of all, we didn’t distinguish between experience levels.

Secondly, one’s salary after 8 years with the same company in Berlin will normally differ from the salary of someone who changed jobs within the last year.

To make sense of our graph, we’ve looked at the most prevalent salary offers in 2018 across different specialisations (Backend, Frontend, DevOps, and Management) and seniority levels (Middle and Senior, in case of engineers).

We’ve managed to map out the mode salary ranges for the following roles:

Mode salary spans of Backend Engineers/Developers: Mid-level and Senior

Mode salary spans of Frontend Engineers/Developers: Mid-level and Senior

Mode salary spans of DevOps Engineers: Mid-level and Senior

Mode salary spans of Tech Managers: Team Lead, DoE, CTO

As you are reading this, the market demand is growing, as do salaries that candidates ask for. By the start of this year, the modes have already shifted towards the upper end of our spans.

Based on our observations and market research, the mode salaries are likely to get higher by 10–15% as we advance into 2019.
How to Get an Arduino and Your Smartphone to Talk to Each Other
By: Shubh Patni
Tags: IoT, Programming, Technology, Arduino, Software Development

How to Get an Arduino and Your Smartphone to Talk to Each Other

A comparison of various Arduino communication methods

Photo by the author. Created with Canva.

Imagine being able to communicate with any device from anywhere in the world. You can control your TV, lights, washing machine, dishwasher, toaster, coffee machine — anything you want — just for a few bucks.

You can do it with Arduino. I have a lot of these lying around in my room, ready to automate another device of mine.

In one of my previous articles, I covered how you can use Arduino as a switch to turn any device on or off.

Today, I will discuss the pros and cons of various wireless methods used to create communication between Arduino and smartphones. This would not only allow you to use your phone as a switch, but it would also enable it to send specific commands for operations and get the state from Arduino.
Your Wishes May Come True
By: Floyd Mori
Tags: Wishes, Hope, Poetry, Elections, Dreams

Your Wishes May Come True

Keep on wishing

Photo by JoelValve on Unsplash

Do you wish the U.S. elections were over?

That wish will come true soon.

Do you wish for Trump to lose?

That will be known soon as well.

Do you wish the coronavirus would leave?

Hopefully, that wish will also come true.

You can keep on wishing,

but do wishes come true?

If you are really lucky

or maybe extremely blessed,

your wishes might come true.

You shouldn’t stop wishing

and dreaming for

good things to come.

The hope of a wish

can be magical.

Maybe your wishes

will come true.
Winter
By: J.D. Harms
Tags: Image, Musing, Poetry, Winter

Winter

A Poem

Photo by Jr Korpa on Unsplash

I’m not afraid

of the cold

he says

from beneath

the blanket

and the chair

This is living

in Manitoba

the knowing look

that irritates

so very much

This means mud

and salt in

the roads in

another six months

or less

with global warming

and all

Wind still makes

those special divots

on the lawn

sculptures

no one appreciates

not the cat

who must saunter

through

to find her summer

dirt

I’m not afraid

of January

he says

one hand wrapped

up in the other
Ethlus in Numbers user bid 0.02ETH (4.45 $) and won Ripple is equivalent to $ 148
By: Ethlus Winning Machine
Tags: Crypto, Binance, Blockchain, Cryptocurrency, Ethereum

Ethlus in numbers today

The largest profit:

https://ethlus.io/auctions/97/

The user bid 0.02ETH (4.45 $), and won Ripple is equivalent to $ 148, respectively, the net gain is $ 143.

Number of bets: 118

The number of public rallies created: 22 (7 of them have already been completed)

Hot Draws:

https://ethlus.io/auctions/155/

https://ethlus.io/auctions/168/

https://ethlus.io/auctions/109/

https://ethlus.io/auctions/210/

https://ethlus.io/auctions/137/

@ethlus telegram support
Apache Kafka Producer/Consumer Spring Boot Implementation
By: Oshan Fernando
Tags: Java, Spring Boot, Message Queue, Apache Kafka, Kafka

Apache Kafka Producer/Consumer Spring Boot Implementation

Creating a simple producer and consumer using spring boot

This article assumes that you have prior knowledge on what is Apache Kafka and spinning up a multi-node cluster. If not, please read the official documentation here.

In this article, we’ll be going through a set of simple steps of creating a producer application and a consumer application, while keeping the broiler plate code at a minimum.

Setup

2 node Kafka cluster

topic : topic.message, partitions : 2, replication-factor : 2

1 producer, 2 consumers

Getting Started

Let's start by creating 2 spring boot applications for producer and consumer. You can use Spring initializr to create the projects and then add the below dependency to both the applications.

<dependency>

<groupId>org.springframework.kafka</groupId>

<artifactId>spring-kafka</artifactId>

<version>2.3.4.RELEASE</version>

</dependency>

Producer

application.properties

Replace the bootstrap servers with the IP’s of your Kafka brokers separated by commas if there are multiple nodes.

Let’s create a model class that will have the message content which we will be publishing and consuming. I have created a model named Message containing an id and body attributes

Message.java

As we now have the Message Object, let’s create the producer service interface and the implementation.

MessageProducer.java

MessageProducerImpl.java

Here, we have to autowire the KafkaTemplate where the first parameter is a data type of the key and the second parameter is the data type of the value, i.e. Message.java which we created earlier.

To publish the message to the queue, we can call the send()method and pass the parameters - topic name, key of the message, and the value. If you want to publish the messages synchronously, call the get() method on send().

There’s one more thing we have to do, that is to create a Serializer so that we can convert Message Object into a stream of bytes that can be transported. Kafka offers serializers/deserializers only for a few data types such as String, Long, Double, Integer, Bytes. So, if the data type of your value is one of the above, you don’t need to create a custom serializer/deserializer.

MessageSerializer.java

The above class converts the Message object to a String and retrieve the bytes.

Finally, in the properties file, change the value of the property to the path of your serializer as shown below. Alright, that’s it for the producer application. It should start up without any errors.
Mary Poppins
By: Jo Ann Harris
Tags: Imagination, Storytelling, Childrens Books, Publishing, Magic

Mary Poppins

The magic of the mind.

Google photo

Pamela Lyndon Travers, born Helen Lyndon Goff, was responsible for writing the Mary Poppins books. She was born in Australia in 1899 but mostly lived in England. She grew up as a writer and published her first book in 1933. She was also a professional Shakespearean actress and she danced on stage to the embarrassment of her family.

She said when she wrote the Mary Poppins books, she wouldn’t remember what she wrote because they wrote themselves. She would sit somewhere not to be disturbed and wake up later with the book or portions of it finished.

They meant so much to her that it took almost thirty years for Walt Disney to finally be able to buy the rights and make a musical, which she hated, and fought him tooth and nail to not make it silly and animated.

She finally sold the rights to him which set her up for life. These stories have also lived out the author as a new story, actress, and cast had been released last year.

Great stores and characters live on and on.

Jo Ann Harris is an author, parent, book devotee, writer, copywriter, and film fanatic. She is an autodidact who learns about everything on her own. She grew up and worked in Atlanta, Georgia and lived there sixty years. She writes articles about love, hope, personal life stories, advice and poems. She lives in South Florida now.
How to connect to RSS feeds with teams to get Google Alert on channel
Tags: Google, Dipostarfinance, Ddc, Microsoft, Office 365

How to connect to RSS feeds with teams to get Google Alert on channel Ayu Follow Aug 18, 2020 · 4 min read

Hi everyone. How do you catch up your interests or news normally? Probably someone use Google Alert. I am also the person who use it.

https://www.google.com/alerts

In workplace I use teams so I want to get their feeds on teams. It is really easy to implement with connector and it helps your team to catch up news.

In this article, I would like to share how to do it.

1. Select words on Google Alert

First of all, let’s select words what you want to know by google alerts.

You have to log-in with Google account but the account would not be displayed on teams. So I use my personal google account for it.

This is my alert. You can see 3 icons on right side: RSS, Edit, Delete.

If you don’t find RSS icon, please click edit button to open setting.

Please select “RSS feed” on “Deliver to” and click “Update alert”. So you will see RSS icon on list.

For next step we need to open teams but you should not close google alert because we will be back here soon.

2. Create channel on teams to post feeds

On teams, please create a channel to post feeds by Google alert. It doesn’t matter private channel or open channel.

I have created a channel “My Interests” like below image.

3. Add a connectors on the channel

You can find “Connectors” from menu on right-top.

Please find “RSS” on connectors and click “Configure”

4. Paste RSS address on teams

Finally you can set feeds on this channel!

You can name to this connection. To enter “Address for RSS feed”, you need to be back to Google alert.

You can copy their address with right-click as above image.

5. You can get feeds on teams

Once you complete setting in previous step, RSS feeds would be posted on channel automatically!

Every member in channel can see those feeds and visit a link directly without log-in google account.

If you want to get feeds with another word, of course you can do. Only select on Google alert and paste their RSS address on connectors on teams.

How to remove connectors

If you feel you don’t need their feeds any more, you can remove it one by one. It is quite easy too. Please open connectors and remove it.

Since feeds display only text so it feels boring a little. But it is good to track your interests or news with team.

I hope it helps your team. Thank you.
VIDEO: Interview with Stefaan Verhulst on Data Collaboration, Stewardship, and Responsibility
By: Andrew Young
Tags: Data Stewards, Interview, Data Collaboratives, Data Responsibility, Data

Responsible Data Leadership to Address the Challenges of the 21st Century

Follow
Mavatar CEO Susan Akbarpour discusses how to make crypto safer for investors at 36th Annual Monetary and Trade Conference
By: Janine Just
Tags: Drexel University, Cryptocurrency, Cryptocurrency Investment, Bitcoin, Federal Reserve

Mavatar CEO Susan Akbarpour discusses how to make crypto safer for investors at 36th Annual Monetary and Trade Conference Janine Just Follow May 3, 2018 · 2 min read

Mavatar CEO Susan Akbarpour spoke on a panel at the 36th Annual Monetary and Trade Conference in Philadelphia on April 19, 2018, urging legislators to define the Utility Tokens for start-ups that are leveraging cryptocurrencies to remove a bottleneck from their innovative technology platforms.

The event was held by Drexel University’s LeBow College of Business, the Global Interdependence Center and the Federal Reserve Bank of Philadelphia.

Mavatar CEO Susan Akbarpour discussed how crypto and ICOs can be regulated in a safe way for investors.

Susan was part of the panel titled, “Bitcoin and Other Cryptocurrencies.” Other speakers on the panel included David Mills of the Board of Governors of the Federal Reserve System, Kim Hunyh of Bank of Canada and Will Cong of University of Chicago.

One of the primary topics of discussion was how to make crypto safer for investors. While many agree it is a way to raise capital risk, crypto and ICOs which come with a litany of risks including legal, settlement, operational and fraud, also can save the legitimate technologies, teams and startups that deserve surviving, raising enough capital from a greater community of investors.

Multiple speakers pressed on the fact that it makes it difficult to know how or when government and regulation should get involved when overall ICOs still account for a small fraction of investments. Only $6 billion was raised by ICOs in 2017 compared to $141 billion for IPOs.

Enforcing regulations on the process of decentralization of the networks seems like an oxymoron, however if done via integration with smart contracts and aligned with this innovative paradigm shift, regulations could be a transparent and solid way to protect investors while improving economic growth.
What’s cooking
By: Alok Tyagi
Tags: Accounting Solutions, Agile, Erp, Business Intelligence, Mas 90

Some screen shots from MAS 90 — BIE (Business Insights Explorer) demo that we showed at Insights.

Taking the data view ->

and generate on the fly, configurable charts based on various filters, dimensions and more.

Stay tuned…
How to Enable Dark Mode With Tailwind CSS (and Pure CSS)
By: Vinicius De Antoni
Tags: JavaScript, Programming, Web Design, CSS, Tailwind Css

How to Enable Dark Mode With Tailwind CSS (and Pure CSS)

Add color scheme responsiveness to your web app

Photo by Glenn Carstens-Peters on Unsplash

Dark mode (aka a light-on-dark color scheme) has become very popular in the past few years. It’s arguably easier on the eyes and battery and it’s supported by all major operating systems for desktop and mobile devices.

In this article, I’ll show you how you can make your web application responsive to the color scheme chosen by the user with both pure CSS and Tailwind CSS.

If you’re not familiar with Tailwind CSS, I recommend checking out the website and the screencasts to learn more. Also, you can see it and play with it from your browser in this code sandbox.
How to Price your Content Creation Services
By: Fab Giovanetti
Tags: Entrepreneurship, Work, Business, Freelancing, Creativity

How to Price your Content Creation Services

Understanding the basics of pricing

Photo by Jc Romero from Pexels

Pricing your services as a creative means really looking at basing partnerships on reputable collaborations and work that can resonate with your followers.

When should you get started with collaborations? You’ll need to have at least a good base of followers on Instagram to effectively collaborate with brands. I find that the average between 500–1,000 is the starting point for most creators.

A lot of people have different opinions on the matter but in order to have a clear idea of your reach, engagement, and growth you need to have enough audience to track your analytics and account quality. Once you are in a position you feel can allow you to charge what your time is worth, it’s key to understand how best you can price your services.
Daily SG: 16 Dec 2014
By: The Singapore Daily
Tags: Artist, Arrears, Ambulance, Audit, Ahpetc

CPF

- Musings From the Lion City: The CPF Review

— My Singapore News: PAP reviewing the CPF Scheme?

— Just Speaking My Mind: CPF Minimum Sum for Different Groups?

— 2econdsight: Attractive CPF Returns or IPS Naivety?

— Singapore Alternatives: CPF Life Annuity is a Money Making Machine for PAP government!

Countering the Terrorist Threat

- Top of the Word: Sydney Hostage Taker, an Iranian on Asylum in Australia

PAP vs AHPETC: Round 3

- Thoughts of a Cynical Investor: Does AHPETC have a 21st century IT system?

— Redwire Times: The AHPETC Saga: Do the Workers’ Party and PAP Leaders Think We the Public are Fools?

Daily Disclosure

- Bertha Harian: What other sexual subcultures should we know about then?

— Poached Mag: Our so-called ‘liberal’ generation

— Singapore 2B: GUTS 1: Moving towards Singapore 2.0. Part 2 What Singaporeans Need

— My Little Corner: Lightning is the next energy source?

— Likedatosocanmeh: Junk mail — only beneficiary of town coucils’ solution’ is Singpost

Uniquely Singapore

- Remember Singapore: Enter a World of Advertisement in Old Singapore

— Thought Moments: Tanjong Rhu in the Past

— The Long and Winding Road: A paddle through the Jalan Gemala Nature Area

A Vote for Change

- The Independent, SG: Why PAP is still a good bet

— Yours Truly Singapore: Contraries to what PM Lee said

— 否极泰来 Piji Tailai: PAP is like an iPhone 3, an oldie.
[Chapter-2] Data Preparation for End-to-End Machine Learning Project — part-3🧙🏻‍♂️
By: Vishvdeep Dasadiya
Tags: Artificial Intelligence, Machine Learning, Data Cleaning, Python, Data Science

Data Cleaning 🧓

Most of Machine Learning algorithm cannot work with missing features, so let’s create a few function to take care of them. In previous blog we have seen that total_bedrooms attribute has some missing values, so let’s fix it 👨‍🏭. In order to fill these missing values we have three options:

Get rid of the missing values.

Get rid of the whole features.

Set the values to some values (zero, the mean, the median, etc.)

First things 👨‍🏫, getting rid of the missing values might lost our one of the most critical scenario, so in the worst case we should do this and also goes for the same with getting rid of the while features. We do unless and until, we do not have any options left.

If you choose 3 👩‍💼, you should compute the median value on the training set, and use it to fill the missing values in the training set, but also do not forgot to save the median somewhere 👩‍🏫, it will be handy later to replace missing values in the test set when you want to evaluate your system, and also once the system goes live (into production)👷‍♂️ to replace missing values in new data.

housing.dropna(subset=["total_bedrooms"]) # option 1

housing.drop("total_bedrooms", axis=1) # option 2

median = housing["total_bedrooms"].median() # option 3

housing["total_bedrooms"].fillna(median, inplace=True)

Another things, in Scikit-Learn provides a handy class to take care of missing values: SimpleImputer 😻. Here it how to use it. First, you need to create a SimpleImputer instance, specifying that you want to replace each attribute’s missing values with the median of that attribute:

from sklearn.impute import SimpleImputer

imputer = SimpleImputer(strategy="median")

housing_num = housing.drop("ocean_proximity", axis=1)

imputer.fit(housing_num)

Since the median can only be computed on numerical attributes, we need to create a copy of the data. And then use fit() method on dataset 🤗.

The imputer has simply computed the median of each attribute and stored the result in its statistics_instance variable. Although we know only total_bedrooms attribute had missing values, still it would be safer to implement on all numerical attribute before system goes live to 😎production.

>>> imputer.statistics_

array([ -118.51 , 34.26 , 29. , 2119.5 , 433. , 1164. , 408. , 3.5409]) >>> housing_num.median().values

array([ -118.51 , 34.26 , 29. , 2119.5 , 433. , 1164. , 408. , 3.5409]) X = imputer.transform(housing_num) housing_tr = pd.DataFrame(X, columns=housing_num.columns)

By using transform() method we implement transformation on dataset using imputer object 🙌. The result is a plain NumPy array containing the transformed features.
Grammarly Alternatives Every Writer Should Consider
By: Elisa Álvarez
Tags: Writers On Writing, Writing, Grammarly, Editing, Writing Tips

ProWritingAid

This is my favorite alternative and the one I’m currently using. ProWritingAid is full of amazing features that will make your writing process feel like a breeze.

For starters, you can get a summary of how your text is looking so far. As you can see on the screenshot below, it’s all organized in meters that show you percentages of success. However, if you scroll down in the same summary section, you’ll get a detailed insight into every aspect of your text.

ProWritingAid, Summary Report — Screenshot by the author

It covers grammar and spelling scores, use of passive voice and adverbs, sentence length and variety, readability, and so much more. It also includes a thesaurus so you can quickly find alternatives for overused words. And you can get more reports on plagiarism, clichés, dialogues, and pace.

You can use it for free on the website, with the only limitation of 500 words per check. You can also buy an annual license for only $60, this includes unlimited word-check, desktop version, and integration for MS Word, Google Docs, Chrome, and Scrivener.

Click this link to check it out.
Why “Retirement” Should Not Be Your Life Goal
By: Julia Tsoi
Tags: Retirement, Purpose, Careers, Goals, Life

Why “Retirement” Should Not Be Your Life Goal

“Find a job you enjoy doing, and you will never have to work a day in your life.”― Mark Twain

Photo by Cata on Unsplash

Last month, I joined a virtual workshop that a social association hosted to inspire students to explore their passion and purpose in life. Those were the student studying in high school, aged around 15–16. In the session’s opening, they asked the question — “What is your goal in life?” and had the student typed their answer in the chat.

To no surprise, some people wrote about earning a lot of money, traveling around the world, being a celebrity, you name it. However, there was one particular answer that repeated for serval times scared me.

Retirement.

It is frustrating to know that students are already dreaming of retirement, even before they get into university. It implies that they already assume they would not like the job; Each working day would be nothing more than torture that they want to run away from it. And all they want is to end their career as soon as possible, then head to retirement and finally enjoy the life they deserve.

Let’s try to do the maths for the teens. Assume they would start working in their 20s and retire at 60. It means that, in their mind, they believe they would be tolerating a job that they don’t like for more than 40 years. And only after enduring the pain for almost half the decades they could finally leave the workforce and arrive at the stage of “happiness.”

Society. Education. All kinds of advisement we see daily. Those are the culprits for people’s misconceptions about jobs and careers. Why must working be tiring? Why can’t we have fun and enjoy our job at the same time? And why people have to retire in their 60s?
Michael Siegel Interview
By: Bj Campbell
Tags: Gun Control, Gun Policy, Guns, Politics

An hour long discussion with one of the world’s leading gun policy researchers, on RECOIL TV.

Fans of the “gun policy” arm of the HWFO publication should be very familiar with Michael Siegel’s work. It first cropped up in our first article here:

And in the second article here:

Also later on here:

And in my “gun policy opus” discussion over on Open Source Defense:

I met Mr. Siegel on Medium in a comment thread, we connected via email, and have had some positive discussions. I was really excited, and fortunate, to do an hour long podcast interview with him last week for RECOIL TV, about a study he released last week. This discussion is great, and talks mostly about how gun policy researchers and gun control politicians have done a tremendously poor job of identifying what actually works and what doesn’t (other than Michael, see the link immediately above) and have further done a very poor job of earning the trust of the gun community. Siegel is squarely in the gun owners camp on this issue, and it shows in this interview. This is totally worth the watch in my opinion.

Here’s the interview:

And here is Siegel’s most recent study, which is a feature in the dialogue:

Enjoy.
New Year’s Eve
By: Salma Nihru
Tags: Poetry, Poem, Poet, New Year, Life

Source image: Unsplash

A girl is sitting in the corner of her room

Seeing the crowd outside the window

Through the wall

Knocking her fingers to the table

Raising her eyebrows for seconds

The crowd is defeated by the noises inside herself

Her neurons explode

Creating fireworks in her head

Her heartbeats are as loud as the sound of the joy

Louder than the trumpets

The demons are singing aloud

Together — definitely, delighted

Having a party in the deep down of her heart

Celebrating their winning

After taking over her barouche for years

Setting the direction of the horses as they wishes

Will lead her next year into deeper well

The demons won

They have the girl’s new year’s eve