fabiochiu/medium-articles huggingface dataset:
Weekend Gone Wrong: Illinois
By: Brianna Bennett
Tags: Murder, Midwest Crime, Kidnapping, True Crime, Divorce

Narrator: Good evening and welcome back to Friday Night Crimes. According to Parents Magazine, there are three types of kidnapping: family, acquaintance, and stranger. Family kidnappings are the most common, making up 49% of the 32,000 children kidnapped in 2017.

The Timeline: 2009–2013

Chronological Events of the Case:

March 7, 2009

Amy Leichtenberg says goodbye to her two sons, 9-year-old Duncan and 7-year-old Jack, sending them away for an unsupervised weekend visit with their father, Michael Connolly. (Leichtenberg had an order of protection against Connolly because of repeated threats to her life, so they cannot see each other.)

March 9, 2009

Connolly does not return the children to the police station as scheduled, and Leichtenberg reports them missing. The LeRoy Police Department does not immediately issue an AMBER alert because they did not believe the boys were in danger despite Connolly’s violent history and erratic behavior.

26 hours go by before the police issued the nationwide alert, and Leichtenberg constantly wonders if it could have saved her sons’ lives.

March 29, 2009

Three weeks pass before the bodies of Duncan, Jack, and Michael are found in rural Putnam County, Illinois. The children’s bodies are discovered in the backseat of Connolly’s car.

The coroner later ruled it as a double murder-suicide; both boys were drugged while only Jack was stabbed. Michael then hung himself from a nearby tree. No suicide note was ever found.

“He didn’t love my sons. He simply used them as pawns.” — Amy Liechtenberg

Shortly after their deaths, Amy had her sons’ names legally changed from their father’s to hers, and they are buried in Oak Grove Cemetery in LeRoy. Their gravestone is decorated with toys, angelic figurines, and a night-light.
My Opinion On School Uniforms
By: Hargun Singh
Tags: Education, Uniforms, Opinion, Life

I don’t like having uniforms, because you have to wash them, and most times they are uncomfortable.

First, let me say why choosing your clothes out in the morning is better than already knowing what to wear every day. When you wear clothes that you want to wear, you are comfortable. You won’t be annoyed for seven hours by what you're wearing. It’s not a good idea.

Another reason I think it is better to choose your own clothes is that it shows discipline and responsibly. You’re waking up, picking your own clothes, and eating breakfast.

So now let me tell you why it’s better to wear uniforms. When students wear uniforms, they are in the school dress code, and so when they have to pick their clothes, they would be out of the school dress code. When you have a school uniform, you can notice someone in the school that isn’t wearing a uniform, and so might not be supposed to be there.

If Easton adopted a uniform policy, I would be able to deal with it but I wouldn’t like it. I wouldn't be comfortable in school, and I wouldn’t get to be me and choose the clothes that I wear.

So as my final answer, I think not having uniforms is better than having uniforms because of keeping yourself comfortable.
pH Scale Recognition by RGB Color Using Flask.
By: Yash Garg
Tags: Regression Modeling, Machine Learning, Data Science, Data Visualization, Flask

Regression Model

Machine Learning Algorithms which were used to predict the pH scale were Multiple Linear Regression, Rigid Regression, SVM, Decision Tree and Random Forest Regression.

The highest r2_score was shown by Random Forest Regression. r2_score is a constant model that always predicts the expected value of y, disregarding the input features, would get a R² score of 0.0. Parameters y_true-like of shape (n_samples,) or (n_samples, n_outputs) Ground truth (correct) target values.

Initially Feature Scaling was used on the independent variable in order to get more precise test set results. After Feature Scaling, the dataset was split into test and training set and then the classification was done to predict the test set results.

Multiple Linear Regression : 0.682162

Ridge Regression : 0.682794

SVM : 0.929199

Decision Tree : 0.946644

Random Forest : 0.953246

The best r2_score is 1 and as we can see, all of the above models have shown astonishing results with Random Forest having the highest r2_score.
I Was a Slut — Can I Say #MeToo?. Or did I secretly want it?
By: Emme Beckett
Tags: Women, Life Experience, Gen X, Metoo, Sexuality

In the kitchen, I could hear Nicole cleaning up crushed cans of Natty Lite and red Solo cups with remnants of last night’s debauchery.

We had Nicole’s house to ourselves. Her parents were spending the night in the hospital. Her dad’s cancer required medical attention.

As responsible 16-year-old girls, we were trusted to stay home alone. Her younger siblings were at an aunt’s house.

“We’ll just walk up to BlockBuster and order a pizza. We’ll be totally fine,” Nicole lied to her parents.

The truth was, we had boys coming over.

“Have fun, girls. Be careful,” Mr. Murray weakly advised.

The night started innocent enough. Nicole invited her boyfriend, Dave, over. He brought his friend, Danny.

No big party. No disrespect of the Murray household.

They brought booze; Nicole and I had never had alcohol before.

So, we tried it. With a straw, we drank our beers, somehow thinking it would make the taste more tolerable.

We blasted Jagged Little Pill. With our newfound liquid courage, we did a sloppy, stumbly performance, substituting wooden spoons for microphones.

“Was she perverted like me? Would she go down on you in a theatre?” — Alanis Morissette

Between the booze and the stellar performance arts, my fatigue hit fast. Plus, I knew that Nicole wanted to be alone with Dave.

I announced I was heading to bed, and I retreated to the guest room.

I locked the door, pulled off my black Doc Martens, chugged a flat Diet Coke, and passed out — hard.

Fully dressed, I even left the pinch roll on the lower shins of my baggy GAP jeans.
Happy Christmas, To You, From Google Image Search
By: Pete Brook
Tags: Google, Christmas, Photography

All we want for Christmas is weird Christmas images. Vantage plumbed the depths of the Internet (spent a coupla hours on Google Images) to deliver you this incoherent message of festive confusion and, in some cases, just straight up festive wrong.

If you’ve got some especially weird holiday photos you think we missed, share them in the Responses field at the foot of this God-awful pile.

Merry festivenesss to one and all!
Three Things in Life That Are Totally Not Worth it
By: Sean Kernan
Tags: Life Lessons, Self Improvement, Humor, Self-awareness, Life

Lambo.

Lambo.

Lambo.

Youtube is filled with life coaches. Many of them bathing in the narratives of their own success.

“I was down and out. Nobody believed in me. Then — I started working out.”

Lambo.

The world was against them. Then they rose from the ashes.

Martyrdom: it’s a common trope.

We’ll set aside the extravagant fees these guys charge. We’ll ignore the fact that many of them don’t even own the cars they are posing in front of. We can even disregard that they aren’t living the lives that they’re selling.

Doesn’t it bother you just a bit that everything they are promoting revolves around wealth? Happiness, achievement, security, contentment — everything we seek, suddenly attached to shiny objects. That kind of marketing preys on people’s insecurities.

Do you really want to worship an avatar built on tacky sports cars and jewelry? You already know those things won’t make you happy.

Every flashy car you buy will be one-upped by the guy down the street. You’ll be outshined by the person with a slightly nicer watch. It is an endless game of escalation. But, hey, if you truly need a car that will break the sound barrier — have at it, 007.

To the rest of you, remember: Seeking status and looking rich is an expensive game to play. Participation isn’t required.

The men and women I know who have all of those fancy things aren’t any happier than regular folks. Typically, it’s quite the opposite.

Take it from a guy who has nothing to sell you: there are healthier models for happiness and contentment. Skip the status game.
Angular Universal: Server-Side Rendering and Pre-Rendering for Angular 9+ Applications
By: Keanu William Ellwood
Tags: Angular Universal, Angular, Serverside Rendering, Angular 9, Comparison

That’s it for the basics of Angular Universal and Server-side Rendering!

Easy development of SSR apps with Dev Server

As a developer, you can now easily see the SSR app reload when making changes to the app by using the new Dev server.

npm run dev:ssr

This allows for the same fast reload capabilities we have with using npm run start when developing client-side apps.

Pre-render any page with Angular Universal

Angular Universal 9 brings us a powerful tool in pre-rendering. Let’s say you have a bunch of simple pages that don’t need to be rendered server-side or rendered on the client every time a user makes a request. Angular Universal 9 now allows you to cache these pages as static files, which can then be served to the client via your CDN or a simple server. How?

In your Angular application, navigate to the angular.json file and look for the prerender builder (at the very end of the default angular.json ). The builder comes with a routes option, which allows you to specify the routes of the app pages you wish to pre-render.

angular.json with routes option

If you want a bunch of your app pages to pre-render, but you don’t want to provide all the routes manually, you can change the routes option to the routesFile option. The routesFile option allows you to point to a relative url that contains all the predefined routes for the pages you want to pre-render at build time. You can fill this file with the desired routes using a script or any other method you prefer.

pre-render-routes.txt

angular.json with routesFile option

Then just build the app and serve!

npm run prerender

npm run serve:ssr

You can find the pre-rendered files in your dist/<project-name>/browser . If you want to verify that your page has been pre-rendered just navigate to localhost:4000/<route-name>/index.html or if you are using a cdn just navigate to the route and inspect the page-source. At the bottom of the page you will see a small comment.

This page was pre-rendered with Angular Universal
How To Stop This Destructive Emotion?
By: Jun Wu
Tags: Life Lessons, Mental Health, Productivity, Self, Hope

Forgiveness is Hard

People who have not gone through many adversities will tell you that forgiveness is easy. Simply let go and you will be free. Having tasted real bitterness, and gone through many tragic circumstances that led to PTSD, I can tell you that forgiveness is hard.

The hardest part of forgiveness is not forgiving the people who wronged you. This is the easier part. Once you realize that you were lucky to be free of such people, forgiving them is just one step forward.

Using empathy, with each situation, when I stood in the other person’s shoe, I can sense the power, privilege, and the train of thought that led to the series of unfortunate events. Once you do that, it’s easy to realize that, “Yes, they didn’t handle this well or they deliberately wronged you. But, what’s done is done.”

The hard part of forgiveness is forgiving yourself for getting into these situations. Years after recovery, occasionally events in my life will trigger the bitterness, or anger from the past and remind me that forgiving yourself is a journey that you take every day.

“Turn down the volume of your negative inner voice and create a nurturing inner voice to take it’s place. When you make a mistake, forgive yourself, learn from it, and move on instead of obsessing about it. Equally important, don’t allow anyone else to dwell on your mistakes or shortcomings or to expect perfection from you.”

― Beverly Engel

Staving off bitterness is a goal every day. Forgiving yourself starts with compassion. Then, with self-care, limits, and focus you pull yourself from the depth of your depression to a happier place where you can hug yourself in a happier light.

At the heart of forgiving yourself is simply self-protection. You have to keep your spark, defend it from bitterness, and move on from a bad outcome. It’s done. You can’t change it. Why think about it relentlessly?

Optimism is Easier

Interestingly, once you pass the point of forgiving yourself, you can feel a sense of hope. This kind of hope is what people call optimism. It’s an ability to see the good in every situation. I used to be a person filled with hope and optimism. People commented on my “spark”.

But, these days, I have less optimism. My “spark” is not as strong as before. But, through bitterness, I’m grateful for still retaining a sense of optimism. Framing difficulties in my life as problems to solve has helped me retain a sense of optimism.

Each day, I can focus on the problems at hand. No matter what the emotions surrounding these problems are. The truth is that these problems all have to be solved. Spending time to come up with solutions is way better than sinking into the anger and bitterness surrounding it.

Picture hope as a well. You have to fill it every day. The way to fill it is simply through constant problem-solving. With each hurdle you overcome, you are filling the well of hope.

In turn, hope replenish your well of trust in the world.

Eventually, you can call yourself an optimistic person. You can take pride in your spark.
March 30— ULTIMATE BUCKETS FROM ULTIMATE COOKIE!!!
By: Ruth Grace Wong
Tags: Startup, Travel

Today I got ~100 buckets!!!!

Eric from work recommended that I ask Ultimate Cookie for buckets, a wholesale cookie manufacturer in his neighborhood. Gail from Ultimate Cookie said that they had about 20 buckets, but they had a hundred!! I ordered a Lyft plus to get them all home.

I am surprised at how I can still see the floor of my room, given that I have all the materials for 100 bucket kits, except for the USB fans. Good thing I don’t have that many clothes in my closet, so I can fill it with buckets :D

Huge thanks to Eric and Gail and the Ultimate Cookie crew!!!
Now you can suggest new content for Sparrho.com
Tags: Research, Science, Product, Search, Business Intelligence

Now you can suggest new content for Sparrho.com

Can’t find the paper or journal you need? 😱 Let us know what you would like to see (and pin) on Sparrho!

According to a recent study, there are over 2.5 million scientific papers published each year. That’s a lot of content to search through.

Luckily, we are here to help you discover the latest research relevant to you.

Our AI already looks through over 45,000 scientific sources daily, but now we want to hear what publications you think are important for us to reference.

So, we have added a new feature for you to quickly suggest a paper by its DOI or title/authors/year. You can also suggest a journal.

Your suggestions go straight to our user wishlist to help our tech team prioritise the most requested sources for scientific content.

How does it work?

Start a search and if there are no results or they are not relevant, click on the ‘Suggest a paper to be added’ link.

2. Enter as much information as possible (DOI, paper title, authors’ names, journal name) in the text field that pops up.

3. If you want to suggest a specific journal to be searched, either select ‘Follow Search’ or ‘Modify my Search’.

4. Type in the name of the journal in the ‘Include these journals’ field.

5. If you can’t find your desired journal, select the ‘Suggest one’ link above the field and send us your suggested journal title.

Your suggestion will be automatically sent to our wishlist and tell us which are the most in-demand publications to add to Sparrho.

Thanks for helping to make our platform better! 👍
The Volcano That Ruined The Dream of Napoleon Bonaparte
By: Mumary Songbatumis
Tags: Revolution, Volcano, Geology, History, Napoleon Bonaparte

Bad weather, lots of thunderstorms, and very little sunshine caused crop failures that led to famine. People died of starvation and suffered from malnutrition that made them susceptible to diseases including Cholera that started to be an epidemic where millions of people perished. Hence, afraid of it being spread wider, the elites took one measure that we all can find today, which is an interlinked and extensive sewage system.

Credit: Michael D. Stephen’s Pinterest & Forest Glen Community's Facebook

Such sudden climate change and severe famine also spurred a large-scale migration. The expansion into the west accelerated that contributed to the growing populations that led to the creation of the states of Indiana and Illinois in the United States of America.

Meanwhile, in Southern Germany, famine and the price of oat and wheat skyrocketing led the people to invent potato bread which was considered the most important culinary invention in the 19th century and it can be found in Ulm Bread Culture Museum.

Deutschland — MS

Another invention made was the bicycle by a German inventor, Karl Drace, in 1817 as the replacement of horses as the mode of personal transportation.

The consequences of the eruption are not only found in industrial aspects, but also in literature. The renowned novelist such as Mary Shelly got inspired by constant rain and darkness to produce new modern horror literature in 1818 that we all know as Frankenstein. Also, Lord Byron, with his poem “Darkness” that was written in 1816 and his 1819 unfinished novel entitled “Fragment”, suggests a vampire theme, that was influenced by the climate situation.

Despite this advanced invention made by the people at that time, the Tambora eruption also led to riots and disturbance. Many people stole and committed crimes as a result of the food shortage and its unaffordable prices. This chaotic and economic depression caused the Peterloo Massacre in British cities where a number of women and children were killed.

Pomnik Napoleona Bonaparte, Poland — MS

Even more surprising. As the title of this writing suggests, the change in climate also affected the Battle of Waterloo commanded by the French Emperor Napoleon Bonaparte. Excessive rainfall became the problem for him in which the large and heavy cannons he had found it hard to move due to sodden ground that brought him to be defeated. In fact, Victor Hugo in the “The Romances” made a counterfactual that specifically says,
Before The Waka Arrived
By: Froyle Davies
Tags: Culture, Artist, Creativity, Art, Life

I stood at the door, trembling. I had no idea how he would respond. I had found my birth mother through public records, and we had met briefly. Over coffee, she had given me my birth father’s name and two old black and white photos; images of a man who had died long ago.

Now I stood at the door of my brother’s house, and I felt terrified. What if he didn’t believe me, I didn’t have much proof, and I had been a complete secret to all the family. No one knew that I existed.

Brownie opened the door and hugged me tightly. I was shocked by the warmth of his embrace. He invited me in, and we spent the evening sharing stories. He had traced our ancestry right back to before the original waka (canoe) arrived in Aotearoa New Zealand. It was the first time in my life that I understood what it means to belong.
Viriditas*
By: Michelle Berry Lane
Tags: Awakening, Spirituality, The Heart, Poetry, Spiritual Secrets

That morning,

several years ago,

when I closed my eyes

before the warm glow of a candle flame,

tiny vines, earthy and green,

slowly and energetically

began to wind, growing up

over my feet, ankles,

calves.

I saw them

in periphery and

when I focused my inner eye

directly on them,

they stopped their vining,

like a child will stop

when she notices she is

being observed

doing something true,

but not meant to be watched.

And then

I let them be.

I knew

it was my heart

that needed tending.

Those lively green vines

would grow

lusciously, luxuriously

all on their own,

without me watching.

*“Viriditas” is a Latin word that means “greenness.” The medieval Christian mystic, Hildegard von Bingen, used the term “Viriditas” to describe an enlivened spiritual state, or “greening,” and also to refer to the creativity of God at work within us and all of Creation.

I am grateful you took the time to read.

If you would like more: https://medium.com/spiritual-secrets/retreat-cea4761c65e
Pluralsight stands with our LGBTQ+ youth
By: Aaron Skonnard
Tags: Loveloud, Utah, LGBTQ

Utah has an opportunity to do more when it comes to embracing diversity, including our LGBTQ+ youth. I’m excited to say that things are changing. Expanded awareness of what it means to embrace someone who is different than you, evolving religious narratives and an influx of people from other states have increased the size of the LGBTQ+ community and its allies in Utah. And together, our voices grow more powerful and numerous every year.

Pluralsight understands the role companies can play in supporting our LGBTQ+ community. I feel a strong sense of duty to provide resources to this important group and the organizations that support them.

A community in need

According to a Gallup survey conducted between 2012 and 2014, Salt Lake City has the 7th largest LGBTQ+ population of the top 50 U.S. metropolitan areas. The city’s openness to embracing our LGBTQ+ community stands in stark contrast to Utah’s reputation. We can and need to do more.

LGBTQ+ youth in unaccepting homes and communities are 8 times more likely to die by suicide and 3 times more likely to engage in risky drug use — highlighting how vital it is that we embrace ALL Utahns.

This year, Pluralsight is supporting the Love Loud Foundation, which exists to help local and national LGBTQ+ nonprofits do as much good as possible. Through LOVELOUD, their annual fundraising concert, the foundation has been able to provide vital support to organizations like Equality Utah, the Utah AIDS Foundation and the Human Rights Campaign, all of which are saving lives.

Making Utah more inclusive

As the father of five children, I’m deeply committed to helping Utah become a fully inclusive place that celebrates diversity of all kinds. Resistance to diversity is rooted in fear, and limits how much beauty and value we’re able to see in the world. I believe embracing our differences is essential for creating a more thriving, intelligent society — one that’s driven by compassion and the desire to constantly improve.

That’s the kind of world I want my children to live in. I want them, and everyone, to celebrate what makes human beings different, so we can create happier, healthier societies.

I’m so impressed with the work the Love Loud Foundation is doing, and am proud to support their efforts. Pluralsight’s donation to Love Loud is one part of our broader mission to celebrate diversity and inclusion and create a place where everyone feels they belong. That mission begins in our offices around the world, where we want people to feel comfortable bringing their full selves to work. We’re constantly trying to expand our understanding and practices, so we can make Pluralsight the most inclusive and welcoming workplace possible. We know how much more people and companies can achieve when they embrace a wider range of perspectives.

To the LGBTQ+ community and their allies working hard to make Utah a more inclusive, safe place — thank you. You’re creating a better world for my children and for everyone, and I’m so excited to see what the future looks like in Utah.
These German Foods Are Just Plainly Weird For Anyone Who’s Not German
By: Patria Taylor
Tags: Life Lessons, Food, Recipe, Cooking, Healthy Eating

The followings are fourteen German foods the rest of the world just doesn’t understand. It’s the wurst.

1. Pommes mit Mayo

Mayo on fries. It’s a thing in Germany. A very popular thing. Another version is mayo and ketchup on fries, which is called “Pommes Schranke” (barrier fries, because of the colors).
Success Fee Portfolios at Tokenbox. Now Live!
Tags: Trading, Tbxnews, Tokenbox, Bitcoin, Cryptocurrency

Success Fee at Tokenbox now Live!

Hello Tokenboxers!

What characterizes a good portfolio manager? Not only high performance and yields. Of course, his interest in the long-term success of his investors is also important.

One of the best ways to motivate a manager is to get a share of the profits — a Success Fee.

We are pleased to announce that now the Tokenbox platform allows to create portfolios with a Success Fee model.

Here is some important information about our new feature.

Only new Portfolios can be created with a Success Fee model. Portfolios that are already working can change the fee model. When creating the Portfolio you can set only 2 kinds of fees. For example, Entry + Exit, Entry + Success, Exit + Success. Success fee is charged only in case when the investor earned more than 10 USD (or equivalent in other reference currency) as a profit holding Portfolio tokens. So Success Fee is a share of the profit that will be transferred to the manager in the form of Portfolio tokens.

For example, investor bought 100 portfolio tokens for 1000 USD (10 USD per token). After that token price increased and became 12 USD. In this case investor’s profit is: (12 * 100) — (10 * 100) = 200 USD.

If success fee is set as 20% rate than 200 * 20% = 40 USD is a share of profit that has to be transferred to the manager. If assets will be transferred from the portfolio directly this impacts the token price. To prevent such a situation Success Fee is deducted in the form of portfolio tokens that will be transferred from investor to manager.

4. The calculation of Success fee will be conducted in 2 cases. First, success fee will be calculated when the investor decides to sell portfolio tokens. The second case, it’s so-called Monthly Success Fee Deduction, when possible profit will be calculated for investors of all Portfolios (with a Success Fee model) on the Tokenbox platform.

5. After the Success Fee calculation next deduction is only possible if token price will break the level of previous calculation and deduction.

6. Success Fee calculations counts all operations with the tokens — purchases, redemptions and previous Success Fee deductions. So Investors can be sure that they will not pay twice.

Success Fee is the most popular type of rewards, which serves both the interest of managers and additionally provides investors with confidence that the manager will do his best to achieve excellent results!
Bangun Click and Mortar Store ala “As Seen On TV Show”.
By: Reza Baita
Tags: Software Development, Product Development, As Seen On Tv, Click And Mortar, Product Design

Productivity Junkies, Problem Solver and I love to help people figure things out. | Founder @UrbaneRoom @Bihaviour

Follow
TLDR Using cgroups to limit I/O by André Carvalho
By: Pavel Trukhanov
Tags: Linux, Kernel, Docker, System Administration, Containers

TLDR Using cgroups to limit I/O by André Carvalho

Cgroups V1 (and hense docker too) can’t limit non O_DIRECT io, while cgroups v2 can!

Docker relies on a linux kernel feature, called cgroups, to be able to limit a process resource (CPU, memory, disk iops and bytes pers second) usage.

Managing cgroups is done by interacting with the cgroup filesystem, by creating directories and writing to certain files.

Cgroups v1 has a per-resource (memory, blkio etc) hierarchy of control groups.

Each process resides in exactly one cgroup per resource. If a process is not assigned to a specific cgroup for a resource, it is in the root cgroup for that particular resource.

Important: Even if there’s two cgroups — one for resourceA (say, block io) and one for resourceB (say, memory), have the same name (that’s how docker does it), they are independent.

Why this matters

If we try to limit disk write throughput of some process — cgroups v1 can’t do that, because written files (usually) are first put into the kernel page cache, that gets flushed to disk later.

Since in cgroups v1, different resources/controllers (memory, blkio) live in different hierarchies on the filesystem, even when those cgroups have the same name, they are completely independent. So, when the memory page is finally being flushed to disk, there is no way that the memory controller can know what blkio cgroup wrote that page.

For I/O limits to work when this I/O hits the page cache, both memory and io controllers should be controlled by cgroups v2! Because in cgroups v2 there is only a single hierarchy of control groups (instead of one hierarchy for resource) page cache writeback may account for process io even if it’s done asynchronously by kernel.

Try it yourself (check if you need to change /dev/sda to something)

$ docker run -it --device-write-bps /dev/sda:1kb ubuntu bash

then

# dd if=/dev/zero of=/tmp/testwrite bs=4k count=2 oflag=direct

...

8192 bytes (8.2 kB, 8.0 KiB) copied, 8.0042 s, 1.0 kB/s

VS

# dd if=/dev/zero of=/tmp/testwrite bs=4k count=2

...

8192 bytes (8.2 kB, 8.0 KiB) copied, 0.000199333 s, 41.1 MB/s

TLDR

Cgroups v1 suck, cgroups v2 are better =)
[EN] Elaia Partners exits Orchestra Networks as it is acquired by TIBCO software
By: Louisa Mesnard
Tags: Startup, News, Portfolio Stories, Master Data Management, Exit Strategy

​At Elaia Partners, we are delighted to share the good news : TIBCO Software Inc., a global leader in integration, API management, and analytics, today announced that it has acquired Orchestra Networks, a recognized leader of master data management (MDM) solutions and pioneer in data asset management.

Elaia Partners will have remained the only professional investor alongside the four founders of Orchestra Networks. Since our investment, Orchestra Networks has expanded out of France to many other geographies such as the US, Germany and England for example and they have become the global leader in multi-domain MDM and recognized as such by analysts.

“This is a very important acquisition for us, supporting our mission to create the world’s leading platform for digital business. Orchestra Networks will allow TIBCO to address our customers’ simple and complex master data and data asset management needs quickly and easily,” said Matt Quinn, chief operating officer, TIBCO. « Orchestra Networks brings an exceptional team that, with TIBCO, will continue to support their customers and partners.”

“Strengthened by TIBCO, EBX will provide shared data assets for integration and analytics to empower better decisions and faster, smarter actions” said Christophe Barriolade, co-founder and chief executive officer, Orchestra Networks. “TIBCO will help Orchestra Networks to market and support its leading data asset management software on a larger, more global scale while offering complementary API-led integration and AI-driven analytics capabilities to our customers.”

Christophe Barriolade, CEO of Orchestra Networks, says:”We chose Elaia Partners because very early on, they believed in our technological vision and during the ten years they spent with us, we were able to greatly appreciate their commitment and the relevance of their support. “

Philippe Gire, Partner at Elaia Partners, adds: “The development of Orchestra Networks has been spectacular and we are delighted by this investment which leads Orchestra Networks to join a first-in-class platform for a new phase of growth and allows our fund to make a multiple of over ten times the amount invested.”

Congrats to the Orchestra Network team! #ElaiaFamily

To learn more about the deal : Capital Finance
Why have an online store
By: Mercy Kinoti
Tags: Kduka, Online Shopping, Ecommerce, Online Marketing

With online shopping catching on, it’s become crucial to have an online store in order to capture that market and retain some of the current customers too. There’s a whole lot of people who would want to shop/research online rather than walk into a “bricks-and-mortar" setting.

In addition, the same benefits befall the people who want to start their business online from the word go. This seeks to encourage both parties to have their business out there.

On the other hand, it’s much cheaper to setup an online store than a retail business. With kduka, you can do this in a matter of minutes.

Not convinced yet? Here are more reasons why you should have an online store:

Availability: With an online store, you’re available 24/7. A customer can visit the store anytime from anywhere provided they have an internet connection. This gives you and your store more exposure and a chance to make more. Work from anywhere: It’s much easier to work from anyway with an online store compared to a physical store. For a physical store, it’s dire to be there during the working hours, whereas with an online one, you just need open channels of communication and you are all set. Reduced Costs: With Kduka especially, we reduce the initial cost of hiring developers to create a store for you. You can create your own store in minutes and customize it as you like. Compared to a physical one/hiring web developers, which would mean spending more on initial setup and operations. Global Market Exposure: With an online store, anyone from anyway can see it and buy the products. With shipping and transportation made easier by the logistics companies, it’s much easier to deliver products globally. Better customer service and support: It’s much easier to help your customers in realtime as they can reach out when they are in need. They ask questions regarding the products before purchase. They can also inform you on problems they are having with purchases or comparisons with other products. Customers want it: Slowly, customers prefer to shop online or window shop before doing a purchase. Having an online shop ensures you don’t this segment of customers. This is reason enough to create an online store and be engaged with your customers. Flexibility: You can change your online store anytime you want to without much of a hassle or incurring expenses. You can experiment with different themes and designs till you find one that works for your customers.

Evidently, an online business gives you freedom and flexibility in terms of time, finances and location. To get started, visit Kduka today and setup your own store.
A step by step guide to population comparison
By: Akhil Anand
Tags: Hypothesis Testing, Z Test, Statistics, T Test

Population, statistics and …

Photo by Winston Chen on Unsplash

What is comparison of two population ?

We Compare two population means from independent population to obtain their difference for hypothesis testing . It plays a great role to decide whether null hypothesis should be rejected or accepted.

Photo by Christopher Rusev on Unsplash

Why is it so important ?

Let’s take a real world Scenario. Suppose you are a ration shop owner and there is certain fluctuation happened in sugar price and because of that you have sold sugar at two different prices i.e:- at 34/- and 45/- and next week you have sold the sugar without fluctuation in it’s cost ie:- at 44/- and you want to decide when you have been profited ?

when you have sold sugar at a constant cost or when you have fluctuated the sugar cost on the basis of market need.

How we will decide H0 and H1 in this scenario ?

We will decide null or alternative hypothesis on the basis of mean difference. Let me clear this by doing mathematical analysis.

case 1 :

when difference between two population mean is zero.

when 𝜇1 =𝜇2

H0 = 𝜇1 -μ2 =0

𝐻1 = 𝜇1-μ2 !=0 (Two tailed hypothesis testing)

case 2 :

Difference between two population mean is less than zero

when 𝜇1< =𝜇2

𝐻0H0 = 𝜇1-𝜇2 <=0

𝐻1H1 = 𝜇1-𝜇2 >0 (one tailed hypothesis testing)

case 3 :

Difference between two population mean is less than D.

when 𝜇1< =𝜇2+D

H0 = 𝜇1 -𝜇2< =D

𝐻1 = 𝜇1 -𝜇2 >D(one tailed hypothesis testing)

Note:- when we are solving this kind of problem we need to focus on size of population if size < 30 then we will apply t-statistics else we will go with z-statistics.

Z-stats formulation for comparison of two population

Here x1 and x2 are mean value of population and S.E is standard error . S.E is formulated below as;

let’s make it easy by solving an example;
API Development in Python With Flask-Restful and MongoDB
By: Peter Ayeni
Tags: API, Programming, Python, Flask, Web Development

What We Are Building

For the rest of this tutorial, we will be developing the API service for AA Motors to manage its fleet of buses. From your console, run the following.

mkdir aa-api

cd aa-api

touch app.py

Then install Pipenv pip install --user pipenv After this, we will then install Flask. pipenv install flask This will create a virtual environment and install Flask. It will generate two files for us, Pipfile and Pipfile.lock . If you have some experience with Node.js, this is similar to a Package.json file or Ruby Gemfile.

To activate the virtual environment created by Pipenv, run pipenv shell :

➜ aa-api pipenv shell

Launching subshell in virtual environment…

. /Users/peterayeni/.local/share/virtualenvs/aa-api-9L89IsJh/bin/activate

➜ aa-api . /Users/peterayeni/.local/share/virtualenvs/aa-api-9L89IsJh/bin/activate

(aa-api) ➜ aa-api

To install Flask-Restful, run:

pipenv install flask-restful

To install MongoEngine:

pipenv install flask-mongoengine

In the root directory, create a new directory called database and also two files called db.py and model.py:

mkdir database

touch database/db.py

touch database/model.py

Your directory should now look this way:

aa-api

│ app.py

| Pipfile

| Pipfile.lock

└───database

│ db.py

└───models.py

Above is our app.py where we initialize our app and configure a MongoDB connection using MongoEngine we imported from database.db which we will be creating next.

That’s how easy it is to instantiate a MongoDb database with MongoEngine. Next, we will be creating our data model.

MongoEngine uses Python Class to model our data. db.StringField is used to set text data type, and we can also provide arguments that set some certain attributes for our datatype, like required and unique MongoEngine as great documentation you can check it to learn more.

Endpoints

We are going to start by creating an endpoint to get all buses in the database and to add a new bus. Let create a new folder called resources and inside create two files bus.py and routes.py our folder structure at this point will look this way.

aa-api

│ app.py

| Pipfile

| Pipfile.lock

└───database

│ db.py

└───models.py

└───resources

│ bus.py

└───routes.py

This way we can organize our API by features and as we add additional resources like trip it is easy to extend our API and best manage our code.
Music Is Our Time machine
By: Pratik Mishra
Tags: Music, Songs, Time, Lyrics, Poem

Music Is Our Time machine

Lyrics gave meanings to the metaphors of our life

Photo by Alex on Unsplash

Are songs time machines,

for today, I’ve lived a ‘Holocene.’

I woke up to Beethoven’s ‘Fur Elise’ as

it took me to Vienna, two centuries to now.

Yes, I did travel with my morning frown.

I found myself scratching an old scar —

pulling me a hundred years deeper into the past,

there it was, ‘Lacrimosa’ by Mozart.

Be warned —

for it would pierce holes into dams that you’ve kept tightly barred.

It was time for you to get up; I climbed into the bed

and watched you open those sad eyes.

Restlessly they counted each bother

for a today that laid ahead.

Kodaline’s ‘All I Want’ was playing in the room,

and I knew,

I will never understand what can sadden you

when you get to get up on a weekday afternoon.

‘I can’t take my eyes off you,’ was precisely how I felt

when you had your hair wrapped in a purple towel

stepping out from the steaming shower.

I hated Damien Rice for having already said this

when he sang ‘Blower’s Daughter’.

Cigarettes After Sex were soughing ‘Crush,’

as we sat scrolling pictures from when we met first.

‘City of Stars,’ tuned in and I remembered,

the yellow dress you wore,

on the night we slept in your campus corridor.

We made some tea, and sang, ‘love of my life,’

to each other’s face at the top of our voice.

We howled and danced

to Pharrel Williams’ ‘Freedom,’ before watching the sun disappear

to the sound of bonfire hearts.

For evening,

We decided to dig into a classic from the 19th century —

winds changed their attitude,

resonating with Chopin’s ‘Nocturne II.’

As bedroom’s windows flirted with the windy night,

Your hands were caressing mine,

and the bedsheets in the balcony got quietly drenched in time.

‘Arabesque’ was a perfect beginning to conclude the day —

with Debussy’s playfulness,

and warmness in the colour of lights —

each melody defined our gait, and

every lyric gave meanings to the metaphors of life.

As we, tired time travellers,

yawned for sleep,

Beethovens’ played ‘Moonlight Sonata,’ bidding a jovial peace.

Tomorrow we’ll wake up at another time,

and if your eyes are still sad, we’ll add more music to our lives.
Old Mom Problems
By: Cara Gormally
Tags: Babies Babies Babies, Comics, Cara Gormally, Motherhood, Parenting

In the past, older moms* used to be, well, just old. In fact, sometimes we “evoked a feeling of dread and foreboding” in (presumed male) doctors.

*Before we go deep, let’s define what we mean by old: age 35+ (a la Sullivan, 1960 “elderly primigravida,” though he wasn’t the first to use this term)

Figure 2. “Advanced maternal age” sounds better than “elderly primigravida.” The word “advanced” conjures up “progressive” and “cutting edge.”

Now, though, we’re the cool kids — a growing demographic, in fact. I’m part of a trend! Catch this wave while you can, people.

And bonus, us old moms have some advantages.

Figure 3. Old moms for the win: (clockwise) more education; greater earnings; more “ready” to have kids; and increased happiness.

Old moms are often advantaged both socioeconomically and educationally. Fellow old moms, we’re making more bank on average than our younger counterparts (but remember, that’s on average).

Also, research suggests old moms are more likely to be “ready” to have kids (I mean, I hope so, if we’re this old? and also, how can you ever truly be ready?).

Parents age 23–34 temporarily experience increased happiness after the birth of their first child. But within a few years of parenthood, happiness declines to pre-birth levels. Good news, fellow oldsters. The first kid kicks your happiness into high gear — which remains elevated from pre-kid days.** For me, this seems true: I feel ridiculous, mushy, unparalleled joy. See it to believe it. Here’s an actual picture of me these days:

Figure 4. This is my face now, in 8 out of 10 pictures.

Yup, I’m that delighted. Oh hey, recent research shows kids may benefit, too.

But real talk, y’all. Old parent problems are a thing. The physicality of motherhood is no joke. Just when you think you’re done with the physical demands of pregnancy, oh hello, motherhood.

Next up: the saga unfolds…
Gender And Racial Bias In Cognitive AI.
By: Jerry Buaba
Tags: Racism, Machine Learning, Artificial Intelligence, Data Science, Algorithms

What Causes Gender And Racial Bias In Image AI

An intelligent model is only as good as the data used to train it. — Derek Degbedzui

Models and algorithms can only do what they have been trained to do; detect and recognize things (or people) they have been trained to recognize. Almost every image AI model or algorithm in production has been trained and tested with very big data. Such datasets are very time-consuming and expensive to make. It requires high-quality headshot photos of many different people varying in terms of gender and race if the model or algorithm is been developed to serve the public. Because of the stress involved in making such huge datasets, most engineers prefer to just use open or closed source datasets where much of the data collection has already been done for them. What they fail to recognize is that, even though their models and algorithms will pass with very high accuracy, there also has to be sufficient data of people of almost every gender and race. Your models and algorithms will fail against black people if it was trained with data of only white people and vice versa. The same applies to genders. Your organization has the sole responsibility of making sure your train and test data includes all possible races and genders of people who may use your service or product. When these things are taken care of, we can finally have unbiased systems, models or algorithms in cognitive AI.

Typical Instances Where AI Systems Have Portrayed Cognitive AI Bias.

Over the past few weeks, lots of people have found out about the cognitive bias most AI systems portray and have set out to openly announce them so the general public knows and hence, force the companies involved to fix their AI systems. I will share a few of those tweets so anyone who wants to learn more about what went on during the public tests can find out.

Zoom not being able to detect black faces and erasing them when virtual backgrounds are used: Twitter user Colin Madland noticed that a black faculty member had his face erased by zoom’s facial recognition system when he switched to virtual background. Below is the image that captures the happening.

Twitter Cropping out Black Faces in Posts: Twitter runs a facial detection algorithm that crops images posted on the platform to give focus on the face in the image posted. Recently, a lot of users have noticed that the algorithm that crops images prioritize white faces when there are multiple faces in a single image with people of different races.

The same user in the above embed, Colin Madland noticed that after posting an image with both his face and the face of his black faculty member, the twitter algorithm cropped out the face of his black faculty member in the image preview on mobile devices.
Going From JavaScript to TypeScript
By: Richard Prasad
Tags: Typescript, JavaScript, Front End Development, Software Development, Programming

Setting up TypeScript

Web browsers and NodeJS do not understand TypeScript code. It must first be converted to JavaScript through a process called compilation. The TypeScript compiler, which performs this compilation, is called tsc. Let’s see how we can use it.

As part of an npm project

We can add TypeScript locally to an npm project like so:

mkdir test-app

cd test-app

npm init -y

npm install --save-dev typescript

npx tsc --init

A file called tsconfig.json will be generated after running tsc --init and placed in the root directory of the project. This file contains settings and options for the TypeScript compiler (tsc).

Ideally, we will keep our TypeScript files in one directory, and all our generated JavaScript files will go into their own directory. Let’s create a src directory for TS files and a dist directory for JS files.

mkdir src dist

We can tell tsc where to find our TS files and where to place our JS files by editing two fields in the tsconfig.json file:

Open the project in a code editor and make the above changes. Finally, we can add a “build:dev” script to our package.json file:

The compiler is set to run in watch mode to recompile our code as we save changes. I have also set it to preserve the console output, which is a personal preference that you can remove. A start script was also added so we can run a quick test.

Create a file called index.ts inside of the src directory:

touch src/index.ts

echo "console.log('hello');" > src/index.ts

Then compile the code and run it:

npm run build:dev (In a separate terminal window or tab)

npm start

We are going to return to this test-app later. For now, kill the server by pressing Ctrl C in the terminal.

As part of a react project

We can create a new React project configured with TypeScript by using the create-react-app (CRA) tool:

npx create-react-app my-app --template typescript (OR) yarn create react-app my-app --template typescript