fabiochiu/medium-articles huggingface dataset:
Importing Data Into R from a CSV File and creating a Chart out of It
By: Krishna Kanth
Tags: R Language, Data Visualization

R is a very powerful statistical tool for analytics. Most important of the operations that R performs revolves around data. So, today let us take a very brief look at how to import data into R from a CSV file.

Open your R console and get ready to drag some data!

First off, create an Excel file and enter some very simple data, something like:

Save the excel file as a .CSV file with a relevant name. I called it ‘InputDataCSV.csv’.

A CSV file is a ‘comma separated values’ file that delimits each data value with a ‘,’ or a ‘;’

To see your saved data in this format, open Notepad and drag-drop the CSV file you just created, and you would be seeing something like:

Now, our data is ready in required format. So, let’s get down to business and import the data in R right away.

Firstly, just check your current path in R. To do so, type getwd() and hit enter.

Put the CSV file you created in that directory.

Now let us create a variable ‘data’ (you can name it anything, I chose ‘data’), and store the file in that variable.

<variablename> <- read.csv(“<filename.csv>”)

data <- read.csv(“InputDataCSV.csv”)

Once you type that and hit enter, the variable stores the data present in the input csv file. To see what data that is, just type the name of the variable and hit enter, and the data would be displayed.

So that’s it. You’ve just imported data from an external file into your R environment.
캠페이너 인생게임 툴킷 1.0 공개
By: 빠띠 Parti
Tags: 캠페이너인생게임, 캠페인, 워크숍, 툴킷

in In Fitness And In Health
Seeing is Feeling
By: Jessica Lee Mcmillan
Tags: Beauty, Winter, Nature, Sadness, Poetry

A poetry publication brought to you by Assemblage to capture all of your disconnected thoughts and let them find their form.

Follow
Treatment of generic responses in the Web API using C#
By: Alegria Kilanda
Tags: Responses, Generics, Web Api Development, C Sharp Programming

In software development when we talk about productivity, there’s no way we can’t talk about generics. In this article I present one of the ways to handle responses of a web api in a generic way using .Net.

1 — Creating the generic structure

First starts by creating a enum called EResponse, within it we define all kinds of responses that our web api will have.

Next we create a class called ResponseData, within it we have.

Code: it’s kind of response;

Status: it represents the state of the request, success or UnSuccess;

Message: it’s a simple informative text;

Data: it’s return data.

Exceptoins

Now we are going to create the Exceptoins, for each type of response we have an exception except OK.

As an example we have the exception NoDataException

Controller

Afeter we define the struct we’re going to create the first controller called ResponseController, this controller is responsible for handling the responses.

Now we’re going to create another controller called BaseController, it’s the heart of our solution.

In it we have two delegates

These delegates are invoked when making a request, below we will present them with greater clarity.

Still within the BaseController, we have a method called Execute, it’s responsible to execute all resquests. Here we’re using the exceptions defined above, whenever the web API has an exception, it analyzes the type of exception and handles the response according to the type of exception. Here we can also write logs…

In the BaseController we have other auxiliary methods

2 — Using the generic structure

Now that we have finished defining our generic structure, now we are going to use.

We’re going to create a model class called car, within this class we are using DataAnnotations to validate some properties.

We’re going to create a controller called CarController, it extends the BaseController. Within each action of controller we call the execute method, in the first parameter we inform the type of return, in the second is all the business logic.

3 — Result

To test our API we used the swager.

Now, we are going to test the route create:

Case 1

The case 1, it presents a validation error scenario from DataAnnotations, it does the validation on line 10.

Parameters

Parameters

Response Body

Response Body

Case 2

The case 2, it presents a validation error scenario , it does the validation on line 12.

Parameters

Parameters

Response Body

Response Body

Case 3

The case 3, it presents a success scenario.

Parameters

Parameters

Response Body

Response Body

Case 1

The case 1, it returns NoData, it does validation on line 31.

Case 2

The case 2, it presents a success scenario.

The project is available on github for contributions and improvements.
ПАТТЕРНЫ ОБЩЕНИЯ
By: Aleksey Tikhonov
Tags: Rus, Infovis, Посмотреть, Sndm

in In Fitness And In Health
Candi Sirah Kencong
By: Yacob Wijaya
Tags: Candi, Jawa Timur, Blitar

in In Fitness And In Health
Create news feed for own social network with Angular.
By: Yurii Kuznietsov
Tags: Angular, Web Development, Front End Development, Programming, Angular2

Analyzing

First we need to analyze how the post looks in the news feed. Every post has picture, text, author, date and buttons like comment, share. If we divide all those stuff in small pieces we will see a grid.

Post schema

Basically every post is a small table and the news feed is a line of tables.

Bootstrap

Because we want to have a responsive table we’re gonna use bootstrap. For that in the terminal of visual studio code we need to write a command ‘npm install bootstrap’ and add a path to bootstrap css files in configuration file ‘ angular.json ‘.

angular.json

Table

We need to make 2 components: newsfeed and post. In the news feed component we will pass an array of posts. Our table in the post component will have 4–5 rows and 3 columns. Some cells have a couple of rows to achieve that we will make a tiny table inside the cell.

For generation components we will use angular CLI. In terminal we write 2 commands ‘ ng g c news-feed’ , ‘ ng g c news-feed/post-feed’ . Next step is to make a prototype of the table for that we need to use bootstrap classes ‘ row’, ‘ col’, ‘ container ‘.

Table prototype

Model

Model contains information for our post. We just need to pass it in as a component and bind it.

In ‘ AppComponent ‘ we will create an array of post models and pass it into the news feed.

app component

‘ NewsFeedComponent ‘ has a cycle for posts. I like to have a couple components because each of them has different responsibilities.

news feed component

Last details

We have a skeleton, it remains to add only the muscles. By muscles I mean set additional styles.

Bootstrap library is very powerful. It contains styles for buttons, padding and icons.

First part of post with bootstrap styles

Second part of post with bootstrap styles

To make the avatar round, we will create our own styles.

Styles for avatar photo

The final step is create a model with test data.

Test data

Result

Create news feed from social network was not so hard.

If you need to take a close look on project here is the link.
Trump’s Legacy
By: Liza Donnelly
Tags: Election 2020, Hate, Politics, Legacy, Trump

Lies and hate, perhaps?

An article in the New York Times today reported that many in the Trump administration are scrambling to make new rules and regulations in a host of departments that will affect many Americans, in the event he is not reelected. This in a hope to secure his legacy.
TLX holders on exchanges: immediate action required
By: Can Soysal
Tags: Telex Ai, Blockchain, Bitcoin, Telegram

Dear TeleX AI followers,

As mentioned in our previous announcement, we are upgrading the TLX contract, which will be followed by an airdrop of the new TLX tokens to the addresses holding old TLX.

Despite all our endeavors to get ahold of Yobit in order to commence the upgrade and/or delisting process, we could not make contact with their official team after repeated attempts. Therefore, we have to execute the contract upgrade without collaboration from their side. It means that everyone who has a TLX balance on Yobit needs to withdraw the tokens to their own Ethereum wallets immediately.

The token upgrade will take place next week, thus it is advisable that you stop any decentralized trading operations until then, in order to prevent any issues related to the upgrade. More details about an exact date will follow.

Withdrawing your tokens from Yobit prior to the airdrop will make sure you will not lose your TLX balance. Apart from that, TLX holders are not required to take any action, as long as they keep the tokens in their own Ethereum wallets whose private keys they control themselves.

There are various updates still to come from our team, so make sure to stay tuned for additional announcements and milestones.

Sincerely,

TeleX AI Team
Hybrid Mobile Development
By: Blog Moove-It
Tags: Devsnack

DevSnack #19: Developing a mobile app could result in something difficult for someone with little to no background in mobile development. However, building a hybrid app with native navigation and web content simplifies the task. The following list of articles goes through some vital steps on this type of developments.

#1 — Hybrid sweet spot: Native navigation, web content

In this article David Heinemeier Hansson (@dhh), creator of Ruby on Rails and founder & CTO of Basecamp, explains the architectural decisions they took and what things changed between versions when building the Basecamp mobile app.

#2 — WKWeb​View

When developing for the latest versions of iOS (iOS 8 and later), developers at Apple recommend to use their latest class of Web Views, Mattt Thompson (@mattt) gives us a walkthrough between the differences of the older UIWebView and the new WKWebView, along with advice on how to communicate back and forth between Swift and Javascript, among other tips and tricks.

#3 — WKWebViewTips

Shingo Fukuyama (@shingo_fuku) shares some tips he learned while working with the Apple WKWebView.

#4 — Android-Javascript Bridge

On the Android side of things, Md. Minhazul Haque (@mdminhazulhaque) explains the basics of duplex communication between Android native code and Javascript running inside a WebView.

#5 — A Concise Guide to Remote Debugging on iOS, Android, and Windows Phone

Last but not least, as a developer you will have to make some debugging at some point. TJ VanToll (@tjvantoll) shows us different tools available to debug these hybrid monsters.
Amplified
By: Pauline Montero
Tags: Radio, Broadcasting, Great Commission

Microphone is useless without a voice, but a voice is a many thing even without a microphone.

Therefore, speak.

I say, “Speak”.

“Moses said to the Lord, ‘Pardon your servant, Lord. I have never been eloquent, neither in the past nor since you have spoken to your servant. I am slow of speech and tongue.

The Lord said to him, ‘Who gave human beings their mouths? Who makes them deaf or mute? Who gives them sight or makes them blind? Is it not I, the Lord? Now go; I will help you speak and will teach you what to say’.”

Exodus 4:10–12 (NIV)

Functional beings may reason

But flee we cannot from our mission

A mouthpiece like a radio broadcasting

The Good News of eternal living.
My Lover’s Flaccid Penis
By: Mysterious Witt
Tags: Erotica, Sex, Sexuality, Self, Poetry

My Lover’s Flaccid Penis

A prose poem.

Photo by Владимир Васильев.

My lover’s flaccid penis is like the dawn — the sun tucked in behind the horizon.

An augur of mutual promised pleasure.

My challenge to bring to life.

But it’s not a weakness. His flaccid penis is just as pleasurable for me as his hard cock. When he’s inside me, I climax just as intensely from his flaccid penis as I do when he’s turgid.

In this way, my lover’s flaccid penis is also like the sunset, the vibrant day descending into night.

And when he withdraws from inside me, still carrying my scent and juices on him, I, too, become just a memory.
FTNCI’s Quick Guide to the Social Justice Controversy
By: Cody Libolt
Tags: Christianity, Social Justice, Politics, Evangelicalism, Race

For the New Christian Intellectual provides a unique take on the recent social justice controversies, informed by our understanding of its ideological roots.

Undergirding each of the theories of power and oppression that are being force-fed into the public discourse — from radical feminism, to Critical Race Theory, to schemes of government wealth redistribution — you will find key ideas. Namely: the embrace of radical subjectivism, collectivism, and egalitarianism — at the expense of objectivity, individual rights, and blind, merit-based justice.

Here are some of our top resources to help a Christian get a lay of the land and begin to process what has corrupted the minds of so many, so quickly.

I picked these resources as something to offer a Sunday School teacher or pastor who is looking for a way to brush up on the issues in order to better serve his people.

Top 7 Resources:
Deconstructing my MHCI graduate application
By: Salonee Gupta
Tags: Masters Degree, Graduate Application, Hci, Career, UX

Last year, this time, I was a final year Computer Science Engineering student frantically filling out my graduate applications; nervous because I was close to the finish line. On receiving my offers of admission a few months later, I was forced to defer my decision owing to the pandemic.

I eventually accepted my offer of admission to Carnegie Mellon’s MHCI Program on the 16th of December, 2020.

The application process is overwhelming and stressful, especially when you don’t know a lot of people applying to the same program as you. But, it is also very rewarding. It forces a level of introspection and self awareness that really makes you feel like you’ve come out of this entire process on better terms with yourself, irrespective of where you get in.

My journey led me to offers from the following 7 programs: Carnegie Mellon (MHCI), University of California, Berkeley (MIMS), University of Washington (MHCI+D, HCDE), University of Maryland (HCIM), Indiana University, Bloomington (HCI/d), University of Texas (MSIS)

Through this article, I hope to provide greater clarity into the graduate application process.

What this article doesn’t do

Endorse any specific products or services to help during the admission process Advocate any graduate programs Imply a ‘right’ and ‘wrong’ way to do things

What I’ll be covering
İlham Verenler#2: 300 KIZ KARDEŞ
Tags: Community Engagement, Community, Digital Marketing

in In Fitness And In Health
Things in Our Life Are Always Perfect
By: Darshak Rana
Tags: Letters, Spirituality, Wisdom, Awakening, This Happened To Me

SPIRITUALITY | NEWSLETTER

Things in Our Life Are Always Perfect

Spiritual Secret #12

Image by Brett Hondow from Pixabay

Dear Spiritual Souls,

Tuesday, it is, and it’s time to spread some spiritual love. Loads of blessings and gratitude towards everyone connected with us emotionally, digitally, mentally, and spiritually. Thank you for joining us on our spiritual journey sharing your profound wisdom and divine thoughts.

I wasn’t sure what to share with you all in this Tuesday’s spiritual letter. So, I decided to share my personal experience.

Yesterday, I was watching world news and was enraged by the whole cacophony of unrest and chaos. A sudden urge to change the entire world scenario sprouted within me. But then something divine happened to me while sitting in my bedtime meditation, pondering over my daily thoughts and emotions.

It occurred to me that practicing spirituality; contentment should come naturally to me. If not, then there is something wrong with my spiritual application.

I then thought, “Does the play-actor try to change the whole script or focuses on his act?”

Everybody would be with me on the same page when I say that the actor plays his part without having any control over the play.

So, it would not be wrong to say that the props and play's backdrop are precisely where it should be. And most of us get entangled in this quest of changing the game without realizing the futility of the whole spiritual exercise. Sometimes, we may succeed in altering some parts of the play, and we start believing that we are the master.

But at what expense?

We lose all our energy, focus, and precious time in changing those things that are just the testament of our spiritual knowledge. Had we used that energy and earnest efforts to better ourselves, we would have excelled in not getting distracted by these backdrops and trivial props of political, social, economic, and universal imbalance?

So, I believe that excellence is a more powerful way to influence than being discontent. And excellence begins with contentment with what we have.

“The way things are in our life is just the way things are meant to be”

If you do have any spiritually awakening stories to share, please join us in any way possible.

See you all next Tenacious Tuesday. Till then, stay happy, safe, healthy, spiritually sound, and keep sharing your spiritual secrets.

Om Shanti!

(I am a Peaceful Soul)

Warmest Regards,

Darshak Rana
When You Run Out of Tears
By: Victoria Ponte
Tags: Poetry, Poetry On Medium, Blue Insights, Sadness, Self

When You Run Out of Tears

Come to me

The day after you have shed your last tear

When there are no more

We will learn to cry

Without them
Sundown
By: Background Noise Comics
Tags: Comics, Humor, Maine, Travel, Stephen King

Walking through the Maine woods at dusk makes it all-too-clear where Stephen King got his inspiration.
Barbie’s Pimples Aren’t the Problem
By: Sarah Kelly
Tags: Body Image, Culture, Women, Self, Self Care

Barbie’s big break out

While I’m not sure it’s the playset children deserve and need, I didn’t have a problem with “Face Mask Spa Day” Barbie until the red spots appeared on Barbie’s face via a “blemish marker”—and then disappeared thanks to the magic that is self-care in the form of a mud mask.

The girl on the TV announced, “Barbie has a pimple!” Well. I woke up to a giant red mountain forming on my nose this morning, should I book an appointment at the spa? A facial would put a dent in my bank account and I’d likely walk out looking worse, but luckily for Barbie, her problems disappeared under a glob of playdough. As the blemishes vanished from her plastic pores, the same sing-song voice left viewers with a message of “Self-care every day” followed by the slogan, You Can Be Anything. In another context, I would find these statements encouraging, but preaching self-care alongside an activity that teaches shame by centring around the objective of erasing flawed skin? That doesn’t sit right.

Barbie’s pimples aren’t the problem. Actually, I kind of enjoy the idea that a plastic doll could bear the same stubborn skin issues we humans face. What is harmful, however, are the messages conveyed by the intended narrative of the toy and the marketing surrounding it. Without having to own the product, this commercial has now taught the 7-year-old girl across from me that self-care is the name and becoming flawless is the game.
Introduction to Cypress and Front-End Testing
By: Bri Turner
Tags: JavaScript, Testing, Cypress, Tutorial, Programming

Writing Tests

Now that you’ve got Cypress installed and open, you can start to write your first tests.

Cypress should have automatically created a cypress folder upon installation. Inside of cypress , you should find another folder labeled integration . Navigate inside of this folder and create a file called something like project_spec.js . This file will hold your first tests.

Now that you’ve created the test file, it should show up in the Cypress test runner. If you click on the file, it should automatically launch a new test window:

At this point, you won’t have any tests in your file, so it won’t do much. Let’s fix that! For your first test, I’ll show you how to visit your web page:

First, notice that the test is wrapped inside two functions: a describe function and an it function. The it function creates an individual test. The describe function groups together related tests.

Next, the actual “test” part is on line 3. Most Cypress tests follow the same format: cy.action . On this line, we’re simply visiting our website, so naturally, the command is cy.visit . For a full list of Cypress commands, check out their docs.

If you copy and paste my code into your test file, you’ll see that the Cypress test runner displays the describe function’s text in bold with a dropdown arrow, and inside it lists all of the tests inside of that function.

Each test can pass or fail, and the Cypress test runner provides ample feedback for each failure that occurs. You’ll also notice that the test runner keeps track of how many passes and failures occur, as well as the amount of time it takes to run through all of the tests.

I’ll go through one more testing example — making sure that the correct information is displayed to the page:

For this Cypress test, we’re checking that our page contains a string, so I’ll use cy.contains . This command takes an argument of a string and finds that element on the page. If the element is found, it will return that element.
Cryptocurrency Consultant: Gridcoin
By: Alejandro Ignacio Morles
Tags: Bitcoin, Economics, Gridcoin

Many people have heard of the cryptocurrency Bitcoin in recent news. Whether it be about Bitcoin passing $1100 USD recently, skeptics questioning the ‘bubble’ forming around Bitcoin, or why Bitcoin is a good investment. However, many consumers do not realize there are various other crypto-currencies in circulation. I’ll be analyzing ‘Gridcoin’, one form of cryptocurrency, based on three categories:

History: When the cryptocurrency was founded and any major events.

Price: How stable the cryptocurrency is and the value of one coin.

Usage: To what extent is it used at the moment of writing.

Rating: Rating out of 10 and whether its a good investment or not.

The first currency I will be analyzing is Gridcoin.

Gridcoin, an open source cryptocurrency based on the BOINC platform

History:

Gridcoin officially launched on October 16, 2013 by its pseudonym developer Rob Halförd, making it younger than the giant known as Bitcoin (2009). Like almost all of the cryptocurrencies in circulation, Gridcoin works without the intervention of a third party organization. Other than that, not a lot of important events have happened. It’s a lesser known cryptocurrency and isn’t really in major news.

Price:

WorldCoinIndex Price Chart for Gridcoin compared to US Dollars

Since the founding of Gridcoin, it has never passed $0.08 USD. Relatively, the price fluctuates very often. However, it is clearly on a more-or-less upward gain. Gridcoin passed $0.06 earlier this week as well.

Usage:

Gridcoin is a lesser known cryptocurrency. On the Gridcoin website, only 3 services are advertised currently accept Gridcoins: CoinPayments, Crypto-Games, and Cointopay Marketplace.

Rating: 5/10

Gridcoin is a cryptocurrency that is increasing in value overall. However, without a serge of popularity, as seen in other cryptocurrencies like Bitcoin, it will never be on the same level of usage. Even if the price of Gridcoin increases, having no place to use said coin completely ruins the value.
10 Best YouTube Channels You Need To See
By: George Blue Kelly
Tags: YouTube, Ideas, Personal Development, Technology, Social Media

In a fairly short amount of time, YouTube has monopolized the digital VOD industry, that even the big giants who were playing the TV game have thrown their hands in the air, as a sign of surrender. In today's world, if you can't beat them, partner with them. That's why these old media giants have also come to take the advantages YouTube provides by creating their own channels on the platform to reach a much wider audience on an even lower budget.

YouTube has taken over brilliantly- combining entertainment and education on a single platform has been the bedrock of its success. It's like a hub of videos, varieties that covers every area of audio-visual content. It has created the biggest opportunity that the previous TV giants did not. Giving opportunities to professionals and regular folks alike, to be able to create contents and enrich the lives of consumers. And it is some of these immensely valuable contents creators we will be looking at in this article.

So here are my lists of some of the most powerful YouTube channels that have grown my wealth of knowledge immensely.
East Carolina University Embraces Video Feedback Tool
By: Hillary Gamblin
Tags: Teaching, Student Teacher, Teacher Training, Higher Education, Education

Many teacher education programs use video — especially to record student teacher observations. But many programs fall short of harnessing all of video’s potential. Specifically, video platforms that provide time-stamped feedback go beyond the traditional benefits of student teaching video.

East Carolina University’s College of Education discovered when they used GoReact’s video feedback platform to record student teaching observation videos, it enhanced faculty feedback and deepened student self-reflection.

Better Feedback

When ECU adopted GoReact, Dr. Christina Tschida and other faculty in the College of Education believed that GoReact’s unique time-coded feedback feature would improve feedback for student teaching videos. And they were right. Their study found that 88% of the student teachers find the feedback in the teaching video useful.

Improved Student Reflections

Similarly, Dr. Taschida witnesses a remarkable improvement in student reflections as they used GoReact. Before GoReact, Dr. Tschida instructed her students to watch student teaching videos and record their reflections in a Word document. These limited tools produced reflections that were superficial because they mostly relied on memory instead of time-coded evidence.

Dr. Tschida said, “GoReact has created a space for our students to really learn how to reflect in strong ways — more sophisticated ways.” And they have the numbers to prove it. In a recent study, students were asked to do their reflection assignment using GoReact, and 78% of students rated the assignment as extremely or very important to developing their skills as a teacher.

To read the rest of the College of Education’s story, check out our ECU case study.
Weekend
By: Kahli Bree Adams
Tags: Haiku Fusion, Poetry On Medium, Life, Haiku, Poetry

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
Yule Be Sorry
By: Laura Sheridan
Tags: Humor, Death, Comedy, Poetry, Christmas

I would come home for Christmas

if I were still alive,

materialise before your eyes

and turn up in your drive.

I loved you, dearest Eddie,

I thought you loved me too,

but there you were with saucy Fleur

your glasses all askew.

You said that it meant nothing

when I caught you with Jane,

and then with Wend, my dearest friend,

it drove me quite insane.

Last Christmas Eve we argued,

a bitter, jealous fight,

and in our car — the Jaguar

I drove into the night.

The roads were cold and icy

and also, I’d been drinking,

I hit the brake, slid in the lake

found I was slowly sinking.

It was a chilly, horrid death

but I can’t rest in peace,

your cheating heart tore me apart

a pain that will not cease.

I can’t come home for Christmas

as living flesh and bone,

but I’ll be here in spirit, dear

so make sure you’re alone -

‘cos if I catch you with Marie -

you’ll end up in the lake, with me…
Moments
By: Robert Faron
Tags: One Line, Time, Chalkboard, Poetry, Limits

Photo by Gayatri Malhotra on Unsplash

It will come,

The time of your limits,

Until then keep pace,

Make every moment count.

2020 Robert Faron

Thanks to Lee-Anne Hancock for the accounting prompt “Time.”

https://medium.com/chalkboard/time-9b922f56627d

And thanks to Kathy Jacobs, Harper Thorpe, and rest of the Chalkboard team.
International Relations PhD Surprises: Coffee Conversations Episode 1
By: Michael Gaman
Tags: International Relations, PhD, Education, Careers

International Relations Career Ph.D. Surprises Webisode with Ilkmade Careers

I saw this interesting webisode on Ilkmade Careers about International Relations career PhD surprises.

Here is the video on Youtoube: https://www.youtube.com/watch?v=lVfGNivgsqQ

Rebecca Chen: Hi. I’m Rebecca Chen, and welcome to Ilkmade Careers’ Coffee Conversation, a show where we speak to various guests in the political space at different stages in their education and careers, digging deep to uncover the insight they’ve gained.

In this episode, we’re discussing International Relations PhD surprises, with Angela Ju, Visiting Assistant Professor at Quinnipiac University, Ivan Farias, Policy Consultant at Public Asesores, and Emeka Njoku, PhD candidate at University of Ibadan. We’ll look at how they dealt with some unexpected challenges and surprises, and how they overcame them.

What did you find really surprising while you pursued your PhD in International Relations?

Angela Ju: The most unexpected thing that happened to me while getting my PhD was just having to change my dissertation topic after having advanced to candidacy. I actually ended up changing almost all of my dissertation committee and getting a new dissertation chair.

Ivan Farias: Many of us can see the International Relations PhD as being only a preparation for getting into academia, and ideally a professorship. Actually, a PhD can also be a sort of tool or training for getting onto other things, research yes, but also policy practice and policy analysis.

Emeka Njoku: One of the things that surprised me when I started a PhD was how lonely the program can be.

Rebecca Chen: I think we all can maybe relate to some of that feeling of loneliness and isolation.

Emeka Njoku: You can just have an idea, and you really want to discuss it. You want to talk about it, sort of share those ideas and get feedback.

Was there some things that you did to kind of try to overcome that?

Angela Ju: Just developing a support network outside of academia. For me, that just really helped with my sanity, to not have to think about my research all the time, when I’m hanging out with friends.
by Martino Pietropoli
By: Martino Pietropoli
Tags: Illustration, Drawing, Humor, Comics, Monday

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

Follow
Wolves’ Tattered Clothing
Tags: Poetry, Creative Writing, Poem, Lyrics

Wolves’ Tattered Clothing

A Poem

Picture by Factory 43

Dozens of lies all dressed up in suits

Some will distract while others will shoot

And thousands of husks abandoned by life

Are planning the union of body and knife

Dozens of lies all dressed up in suits

Saying, ‘Look at my fabric, I’m made of the truth’,

But the wolf’s tattered clothing is worn by the sheep

So keep one eye open, they’ll come in your sleep

Pulling the wool down over my eyes

Doesn’t pull from the fact I see through your disguise

And drawing your gun will cause no alarm

As I’m drawing a picture of stillness and calm

The Lost demand justice, they want their revenge

And the shepherd that lead them is digging a trench

Is digging a hole in which he can climb

To out-sleep the guilt and the shame of his crimes

And if he wakes up, he may long have been dead

And wonder why bullets are lodged in his head

Will wonder how time does the body decay

Will question the reasons for running away

For no one is left to hear his retort

No one left here to bribe and no one to extort

Only the roaches out here have survived

In wolves’ tattered clothing, on high, they preside
夢がかなうコミュニケーション。人と人がつながる絵本づくり。 ～千倉書房～
By: いしまるあきこ, Akiko Ishimaru
Tags: Communication, 日本語, Japanese, Picture Books

in In Fitness And In Health
Covering Segments by Points
Tags: Algorithms, Programming, Competitive Programming, Code, Cpp

Problem Introduction

You are given a set of segments on a line and your goal is to mark as few points on a line as possible so that each segment contains at least one marked point.

Problem Description

Task. Given a set of n segments {[a(0) ,b(0) ],[a(1) ,b(1) ],…,[a(n)−1 ,b(n)−1 ]} with integer coordinates on a line, find the minimum number m of points such that each segment contains at least one point. That is, find a set of integers X of the minimum size such that for any segment [a(i) ,b(i) ] there is a point x ∈ X such that a(i) ≤ x ≤ b(i) .

Input Format. The first line of the input contains the number n of segments. Each of the following n lines contains two integers a(i) and b(i) (separated by a space) defining the coordinates of endpoints of the i-th segment.

Constraints. 1 ≤ n ≤ 100; 0 ≤ a(i) ≤ b(i) ≤ 10^9 for all 0 ≤ i < n.

Output Format. Output the minimum number m of points on the first line and the integer coordinates of m points (separated by spaces) on the second line. You can output the points in any order. If there are many such sets of points, you can output any set. (It is not difficult to see that there always exist a set of points of the minimum size such that all the coordinates of the points are integers.)

Time Limits. C: 1 sec, C++: 1 sec, Java: 1.5 sec, Python: 5 sec. C#: 1.5 sec, Haskell: 2 sec, JavaScript: 3 sec, Ruby: 3 sec, Scala: 3 sec.

Memory Limit. 512 Mb

Sample 1

Input:

3

1 3

2 5

3 6

Output:

1

3

Explanation:

In this sample, we have three segments: [1,3],[2,5],[3,6] (of length 2,3,3 respectively). All of them contain the point with coordinate 3: 1 ≤ 3 ≤ 3, 2 ≤ 3 ≤ 5, 3 ≤ 3 ≤ 6.

Sample 2

Input:

4

4 7

1 3

2 5

5 6

Output:

2

3 6

Explanation:

The second and the third segments contain the point with coordinate 3 while the first and the fourth segments contain the point with coordinate 6. All the four segments cannot be covered by a single point, since the segments [1,3] and [5,6] are disjoint.

What To Do

To design a greedy algorithm for this problem, consider a segment with the minimum right endpoint. What is a safe way to cover it by a point?
ลูกค้าที่ดี. เราเป็นลูกค้าที่ดีหรือไม่ ……
Tags: Leaders, Self Improvement, Customer, Careers

A member of Mutrack and Inthentic. I lead, learn, and build with vision, love and care. https://piyorot.com

Follow
Eric, as an INFP, I’m always looking for ways to bring people together, resolve differences, work…
By: Gwen Saoirse
Tags: LGBTQ, Criticism, Teamwork, Goals, Friendship

“five people making hand stacks” by rawpixel on Unsplash

Eric, as an INFP, I’m always looking for ways to bring people together, resolve differences, work in harmony, and ultimately achieve glorious idealistic dreams.

Sometimes my natural abilities are hampered by those who are simply too invested in being right. When being right comes at the cost of losing friendships, hurting others, and ultimately stifling your effectiveness, I call that being “dead right”.

When people double-down on calling out their friends and allies when their beliefs don’t align, even after they have been encouraged temper their criticisms, they can be blind to falling victim to hypocrisy and becoming that which they revile — bigoted.

I hope none of my friends fall into this trap.
How to Dress for an Interview
By: Homework Help Global
Tags: Work, Resume, Dresses, Interview, Preparation

Job interviews can be stressful; they’re 15-minutes to an hour strictly dedicated on being judged off of your qualifications, education, experience, personality, and yes — your looks. This doesn’t mean that beauty trumps brains, but it does mean that employers want to see you dressed a certain way that reflects their organization. In fact, 59.9% of employers know within the first 15 minutes of an interview whether or not they will make a hire. This of course will depend on the job field, but here are some basic guidelines to dressing for an interview.

Shower

This one may sound obvious but it’s a crucial to smell good for an interview. This does not mean you should douse yourself in cologne or perfume — in fact, you’re better off avoiding that altogether as some employers promote scent-free environments. However, washing your hair and body to ensure you are fresh-faced and radiant will surely shine through. After all, when you feel good you perform better!

Comb Your Hair

Employers will look to make sure that you appear professional and polished. This is where the fine details come into play; combing your hair, shaving, brushing your teeth, removing cracked nail polish and applying a fresh coat are all grooming techniques that should be addressed where applicable. For women, be careful with makeup application and try to appear more natural than you would for a night out. After all, if you do get this job you will need to maintain the appearance you had during your interview so you want to create an image that is easy to replicate on a daily basis.

Adhere to the Dress Code

The tricky thing about dressing for a job interview is that it’s not a one-size-fits-all scenario. For example, an interview as a driver for a trucking and logistics company will look a lot different than an interview for an administrative assistant at a big office. The most important thing in mind is to remember to look as professional as possible given the position you are interviewing for. If it’s a “business casual” dress code then be sure to dress more on the business side of things and keep the casualness to a minimum. If the dress code is strictly casual, then dark, fitted jeans with a plain collared shirt is appropriate as well. Now, if you are unsure of the dress code, simply ask! Employers often don’t mind and will actually like that you’re taking the time to ask about their work culture and environment.



There is no worse feeling than showing up for a job interview and immediately realizing you don’t fit in. Taking the time to prepare for an interview will pay off in the long run, and this includes how you look. You only get to make a first impression once, so make sure you appear to be what employers are looking for. Now, the tough part is actually landing the interview in the first place, so check out our tips for sending the best possible job application.
Meet the Refugees of the Future
By: Raunaq Nambiar
Tags: India, Human Rights, Climate Action, Environmental Issues, Climate Change

At over 10,000 square kilometres and accounting for 85% of India’s Mangrove forests, the Sundarbans is one of India’s most important biodiversity hotspots. Located in the north-east, the area is also on the front lines of an incoming crisis. A combination of rising sea levels, increasing global temperatures, and inadequate state assistance are all pushing the delicate ecosystem and its residents towards a point of no return. If nothing is done, the residents of the Sundarbans could very well become India’s first climate refugees.

The U.N World Meteorological Organization (UNWMO) estimated that by the year 2100, global temperatures will likely rise by 3–5°C. Given this, the International Panel on Climate Change (IPCC) estimates that sea levels could rise anywhere between 0.26m and 0.98m. With an elevation of under one metre, this poses a massive risk for the Sundarbans. However, its residents can already feel the pressure to adapt to an ever-changing landscape.

On the island of Mousuni, a community that primarily relies on agriculture and fishing, over 70% of previously farmable land has become unusable due to increased salinity. The state of West Bengal has also been unable to conduct the necessary infrastructure initiatives to protect the area, leaving it vulnerable to storms like Cyclone Amphan. With farmland sinking beneath the waves, homes being torn due to climate change enhanced storms, and inadequate government assistance, the impoverished are left with just one choice, flee.

The residents of the Sundarbans might still be alright, since India itself remains safe, for now. In the South Pacific, entire countries prepare for the likely future of ceasing to exist. The island nation of Kiribati has already purchased land in Fiji, anticipating transplanting citizens there. The same extends to the nation of Tuvalu, which has also considered shifting to more stable environments like Fiji and Australia. The lack of internationally recognised literature on climate change as a cause of fleeing only adds insult to injury. It’s a symbol of laws from another time failing to address a very 21st-century crisis
Fresh Wounds
By: Michelle Muses
Tags: Relationships, Art, Family, Fiction, Abuse

Night sweeps in with its elusive embrace, painting boxed frames over the bedroom floor. Cold air drifts in carelessly through the thin gap below the windowpane.

The man leans over, crinkling the sky-blue sheets as he murmurs into Julie’s ear. His breath tickles the insides of her earlobes and a tingling sensation runs through her. “Oh, Julie, Julie, Julie.”

The words, uttered ever so softly, stir the recesses of her memory.

She lies next to this man whose name she cannot remember, letting the memories waft in like a gossamer haze, and the tingle grows into a fire.
“Mood optimizer” — How to boost your mood in a simple way
Tags: Optimization, Data Science, Mood, Analytics

“Mood optimizer” — How to boost your mood in a simple way Inside.TechLabs Follow Sep 2 · 4 min read

This project was carried out as part of the TechLabs “Digital Shaper Program” in Münster (Term 2020/01).

Abstract: Our goal was to use personal data derived from fitness trackers and longitudinal self-report questionnaires to make recommendations on how to generally optimize daily mood levels of individuals. With the selected data, we were able to visualize the relationships between the examined variables (e.g. sleep quality, physical activity, mood and stress) using Python, and to make predictions about the likely mood level with random forest models.
You Bring a Smile to My Face
By: Rhonda Skinner
Tags: Spiritual Secrets, Law Of Attraction, Connection, Smile, Poetry

You Bring a Smile to My Face

The Divine breath

Photo by Joel Filipe on Unsplash

I’ve longed to see you set free

Releasing all hesitation

Looking at you

I see the factaled jewels

Within your eyes

I see your dance

The smile on your face

The heart to heart connect

As the stars wrap around us

Reuniting us once again

Seeing you here

Brings a smile to my face

Relief to my soul

I’ve longed to see you fly.

You asked me once

What is it that I desire today

To me, desires held are expectations

And expectations hold you in a vibration of wanting

Something that is not within this moment

Focus on desire

Keeps us from the fullness of this very moment

Robbing us of the beauty that is in the here and now

Once you know the true desires of the heart

Speak them clearly

Now let them go

Setting free to the universe

Energy flow

Momentum

Brings them into being

Faith in the divine

That piece that resides within

Set into motion

The divine breath

To the center spot within our chest

Kissing the breath of consciousness into life

What limits do we have

None

What holds us back

Nothing

The void

An extension of our heart

A space to be filled with our presence and love

Thank you for the shared moments

I hold them dear

Rhonda Skinner
Ubcoin crowdsale result
By: Ubcoin. Cryptocurrency Reimagined
Tags: Bitcoin, Ethereum, Ubcoin, Ubc, Ubc News

On August 27, 2018 the first part of a beautiful Ubcoin journey has ended — and a new promising chapter started. We closed Ubcoin token sale with success and are enormously thankful to all contributors, supporters, community members and others who put their trust in Ubcoin. We promise to continue to work hard and transparently to meet your expectations.

Crowdsale summary

Total funds raised: 27,294 ETH (94.1% of hardcap)

Unique token holders: 51,322

Total supply: 633,837,700 tokens (97.5% of max supply)

Circulating supply 316,918,850 tokens now, and after bounty payouts it will be 342,272,358 tokens (54% of total supply).

Non-circulating supply (46% of total supply) is tokens of the Reserve Pool, Community Rewards and Team Allocation.

Geographical distribution of contributors

Our most numerous, active and interested contributors come from the regions of East Asia and Southeast Asia. This is one of the reasons why we focus our corporate structure, technical development and marketing activities in these territories. South America, Europe and Africa made a significant contribution too.

Immediate plans

Trading of UBC tokens on COSS exchange (https://coss.io ) starts on 28 August 2018. We decided to start from smaller and highly promising exchange and then selectively list on medium and larger exchanges, both as the market improves and as trading community becomes more familiar with UBC.

Ubcoin Market mobile app will be available for download and use shortly, in September. The platform will be available in several Asian languages and will have the following features: creating a listing to sell goods, a chat establishing a real time communication between a seller and a buyer, and the process of buying an item for UBC tokens (utility tokens for settlement of smart contacts and fees on the platform). We follow the roadmap as planned.

Funds distribution

We plan to use raised funds as follows:

We believe the potential for Ubcoin app is enormous. We trust our community will support and drive the process of winning over hearts and minds of the crypto enthusiasts all over the globe, and together we will build a great business and a rewarding community experience!
How To Start Raspberry Pi
By: Lusiana Diyan Ningrum
Tags: Software Development, Computer Engineering, Raspberry Pi, Microcontrollers

Sign up for Best Stories

By Dev Genius

The best stories sent monthly to your email. Take a look
Learn Solidity: The Factory Pattern
By: Wissal Haji
Tags: Programming, Solidity, Ethereum, Smart Contracts, Cryptocurrency

Clone Factory Pattern

The problem with the previous pattern is that it wastes lots of gas since all child contracts will have the same logic and we redeploy almost the same contract each time — same code but different context. We need a way to deploy only one child contract with all the functions and make all other child contracts act as proxies that delegate calls to the first child contract we created and let functions execute with the context of the proxy contracts.

Photo by the author.

Fortunately, there is the EIP-1167 specification that defines how to implement a proxy contract cheaply. This proxy will forward all calls and 100% of the gas to the implementation contract and then relay the return value back to the caller. The bytecode of the proxy contract according to the specification is

363d3d373d3d3d363d73bebebebebebebebebebebebebebebebebebebebe5af43d82803e903d91602b57fd5bf3 . The bytes at indices 10-29 (inclusive) are replaced with the 20-byte address of the master functionality contract (the contract to which we will delegate the calls).

The whole magic of the proxy contract is done using delegatecall . You can get an idea of how it works by reading this article.

Let’s see now how to make this work. First, you need to grab the implementation of this specification, which you can find on GitHub. Copy-paste the code of CloneFactory in your project.

The code we’re going to use this time is as follows:

This time, we used the createClone function from the GitHub repository to create child contracts instead of the new keyword.

You can deploy the contracts by creating a new migration file in Truffle that looks like this:

To test if the code works, I created a test file that you can try on your own to make sure that everything is working as expected:
Florid Coloratura Breathe Wild One
By: Francine Fallara
Tags: Relationships, Love, Haiku, Dating, Poetry

His words paused my life

Four years in hiatus mode

Your eyes brought me back

You bifurcated

My routine today to stop

To smell that flower

Inexplicably

You offered me perfect joy

Squeezed me your big hug

To hug you is like

Florid coloratura

To reverse verses
La diversité et l’inclusion : une « superpriorité »
By: Ana Collantes
Tags: Diversité

I like common things that are done uncommonly well.

Follow