Unnamed: 0
int64 0
192k
| title
stringlengths 1
200
| text
stringlengths 10
100k
| url
stringlengths 32
885
| authors
stringlengths 2
392
| timestamp
stringlengths 19
32
⌀ | tags
stringlengths 6
263
| info
stringlengths 45
90.4k
|
---|---|---|---|---|---|---|---|
1,900 | SpatialKey | Background
The Journey
If you were to map (sorry, pun intended) my journey, in the field we call UX, SpatialKey would certainly be one of my bigger stops. I was the first and only UX person at the time.
SpatialKey was a startup under Universal Mind. We had a very small team of people for many years as we built up the product. I learned a lot about more than just product design; the pressures of startups — make money as of yesterday — and especially how difficult it is to design applications that do a lot of very, very complex things.
Five-O
SpatialKey began as a demo that was on its way to becoming an MVP when I was hired. The intention was to pilot with a police department in Utah, and then explore other industries for product/market fit.
For the police department, we were pulling in datasets and then enabling them to map criminal activity and help police officials make informed decisions about staffing and also help their team to investigate crimes.
Early version of SpatialKey
Start wearing a lot of hats
In a startup you learn to wear many hats. So I did more than just work on the interfaces and IA; I designed and coded the first SpatialKey site, and also storyboarded and art directed the launch video. | https://medium.com/portfolio-francisco-inchauste/spatialkey-case-study-595d927a8c7d | ['Francisco Inchauste'] | 2019-03-24 14:07:37.609000+00:00 | ['Web Apps', 'Case Study', 'Data Visualization', 'UX', 'Design'] | Title SpatialKeyContent Background Journey map sorry pun intended journey field call UX SpatialKey would certainly one bigger stop first UX person time SpatialKey startup Universal Mind small team people many year built product learned lot product design pressure startup — make money yesterday — especially difficult design application lot complex thing FiveO SpatialKey began demo way becoming MVP hired intention pilot police department Utah explore industry productmarket fit police department pulling datasets enabling map criminal activity help police official make informed decision staffing also help team investigate crime Early version SpatialKey Start wearing lot hat startup learn wear many hat work interface IA designed coded first SpatialKey site also storyboarded art directed launch videoTags Web Apps Case Study Data Visualization UX Design |
1,901 | To empathise with developers is to learn the basics of coding | Photo by Nathan Dumlao on Unsplash
In early 2019, I started a Codecademy online course to learn the basics of HTML (HyperText Markup Language) and CSS (Cascading Style Sheets). Every evening after work I would go through each lesson. Let me tell you — it was painful. I didn’t understand any of it. Why did things have to be done a certain way? Why can’t code be much simpler? I just didn’t get it. I didn’t get why coding works the way it does. For example, why do you need to add a Float property to push pixels around the screen? It is very difficult to transition from a UX to a Front End mindset. After a month of the course, I still understood very little and would have no idea where to start if I were to put it into practice.
A few weeks after the course, I discussed my need to understand more about coding with a former colleague named Rodolfo, (who is now a good friend) and has agreed to be my mentor, and from then on, things started to change drastically. He agreed to teach me how to code everyday for 1 hour after work including some weekends. I am thankful for that. | https://uxdesign.cc/to-empathise-with-developers-is-to-learn-the-basics-of-coding-6d21818d36f0 | ['Simon Hoang'] | 2020-07-05 12:27:02.398000+00:00 | ['Development', 'Design', 'Tech', 'UX', 'Coding'] | Title empathise developer learn basic codingContent Photo Nathan Dumlao Unsplash early 2019 started Codecademy online course learn basic HTML HyperText Markup Language CSS Cascading Style Sheets Every evening work would go lesson Let tell — painful didn’t understand thing done certain way can’t code much simpler didn’t get didn’t get coding work way example need add Float property push pixel around screen difficult transition UX Front End mindset month course still understood little would idea start put practice week course discussed need understand coding former colleague named Rodolfo good friend agreed mentor thing started change drastically agreed teach code everyday 1 hour work including weekend thankful thatTags Development Design Tech UX Coding |
1,902 | Hey, Troll. Can You Not Dump Your Litter In My Comments? | Cleaning up after you is a dirty business. There’s the reading, the blocking, the deleting, the don’t-let-this-get-to-you pep rally, complete with pom-poms and a megaphone. Honestly, I shouldn’t be doing this work — I’m not your parent; my job isn’t to teach you how to be a decent person. By now, you should’ve been schooled in all things human, and yet you still feel the need to unload your refuse all over my hard work. You’re fiending to tell me what a cunt I am for writing that marketing article that sent you over the edge.
So, I’m a cunt — your point?
I read plenty of non-sensical, self-absorbed garbage on the internet. You don’t see me calling people a cunt in the comments. You won’t find me unloading my trash on your living room floor. I’m a functioning adult, I keep on moving.
Maybe in the past five years, I’ve left two less than positive comments on someone’s work? However, I criticized the work, not the person. I didn’t attack them, call them a waste of space.
I don’t write about sex, feminism, or any form of catnip enticing men who live to demean and degrade women, or the women who practice misogyny for sport. I used to consider my work safe — customer segmentation studies, brand strategy, depression, strange fiction, and the books that inspire it, the sordid tales about my chubby cat — but au contraire, mon amie, nothing is safe. Apparently, when I write about how I worked years to create multiple income streams so I don’t have to rummage through bins and live on ramen and oatmeal for months at a time, it inspires mockery and vitriol. When I speak up about people stealing and republishing my work, it inspires rage blackouts on the level of a Greek tragedy.
Motherfuckers are acting like I drop-kicked their chihuahua.
Every single day, people want to tell me how to do the job I’ve been doing successfully for over two decades. Meanwhile, they’ve never worked in marketing or built a brand. People are desperate to explain book publishing to me while the extent of their experience is typing on Medium. And when I’m not being subjected to daily condescending tutorials by people who don’t know any better, I’m called all the names women are always called.
I’m told the tutorials I share can be found on Google. Well, yes. You can find anything on Google. Congrats on learning how to use the internet.
While I enjoy the occasional rant — and there is much to rant about in the world — keep your rage on your own page. Don’t dump it all over people. And if you’re going to rage, close with solutions. Deliver an alternative. Present and argue your point of view. Don’t simply stomp your little feet and whine for six minutes. You’ll certainly find an audience because anger craves company, but it’ll be composed of people who prefer complaining over creating.
Do you think I’m a snob because I’ve read a lot of books? Get a library card. Do you hate my work? Hate me? Fuck you, I don’t care. I’m not going anywhere, but you can take your hate-reading ass elsewhere. While you’re spewing hate and snark on how I don’t get over a thousand claps per article (seriously, this is what people care about?!), I’m consistently closing five-figure projects from people who find my work valuable.
Don’t fret, my little liebchen, I’m doing just fine.
Instead of kicking sand in your sandbox, write your own articles and tutorials. Spend six hours sharing research on how Alzheimer’s disproportionately impacts African Americans. Spend two months writing the equivalent of a book on how to build a brand. Write hundreds of articles on marketing and freelancing before you come for me. Lay your heart out to bear in vulnerable, personal essays and see how it feels when some random asshole stomps all over them.
Pitch an agent, then an editor, and work for years to write, edit, and publish two books. Stop complaining everyone else’s writing is basura but yours. Because agents and editors who google you are so attracted to online whining. People definitely want to hire someone whose sum total of online work consists of you suck comments. Readers who are not in your clique don’t care about your snarky blind-item posts.
There’s a difference between criticizing someone’s work and calling them a cunt into the comments. There’s a difference between critiquing a platform you believe is unfair to groups of writers and dropping CLICKBAIT! and THIS SUCKS comments on other people’s work. The former focuses on change and solutions while the latter makes you look petty and small.
Years ago, I held scathing opinions about literary journal gatekeepers — the Granta and Paris Review mags of the world. Did I drop rude comments on the fiction and essays published in said journals? No. Instead, I published an online and print literary journal that welcomed debut writers. I created that which didn’t exist.
I have strong opinions about bloggers posing as marketers on this platform and online influencers acting like brand strategy experts when their Instagram channel is their sole experience and case study — all of whom dole out advice that is just plain wrong. While I’ve made my opinions known, my larger response has been to publish and share my knowledge, expertise, and experience as a counterpoint.
If you don’t like what you read, create. Flood the world with your work. Critique, but publish and share an alternative. Dismantle systems. Build new structures.
But don’t think for a second I’ll tolerate you flinging your trash onto my work. | https://medium.com/the-gathering-kind/hey-troll-can-you-not-dump-your-litter-in-my-comments-982e8b502609 | ['Felicia C. Sullivan'] | 2020-08-06 18:05:04.653000+00:00 | ['Women', 'Writing', 'Creativity', 'Culture', 'Social Media'] | Title Hey Troll Dump Litter CommentsContent Cleaning dirty business There’s reading blocking deleting don’tletthisgettoyou pep rally complete pompoms megaphone Honestly shouldn’t work — I’m parent job isn’t teach decent person should’ve schooled thing human yet still feel need unload refuse hard work You’re fiending tell cunt writing marketing article sent edge I’m cunt — point read plenty nonsensical selfabsorbed garbage internet don’t see calling people cunt comment won’t find unloading trash living room floor I’m functioning adult keep moving Maybe past five year I’ve left two le positive comment someone’s work However criticized work person didn’t attack call waste space don’t write sex feminism form catnip enticing men live demean degrade woman woman practice misogyny sport used consider work safe — customer segmentation study brand strategy depression strange fiction book inspire sordid tale chubby cat — au contraire mon amie nothing safe Apparently write worked year create multiple income stream don’t rummage bin live ramen oatmeal month time inspires mockery vitriol speak people stealing republishing work inspires rage blackout level Greek tragedy Motherfuckers acting like dropkicked chihuahua Every single day people want tell job I’ve successfully two decade Meanwhile they’ve never worked marketing built brand People desperate explain book publishing extent experience typing Medium I’m subjected daily condescending tutorial people don’t know better I’m called name woman always called I’m told tutorial share found Google Well yes find anything Google Congrats learning use internet enjoy occasional rant — much rant world — keep rage page Don’t dump people you’re going rage close solution Deliver alternative Present argue point view Don’t simply stomp little foot whine six minute You’ll certainly find audience anger craves company it’ll composed people prefer complaining creating think I’m snob I’ve read lot book Get library card hate work Hate Fuck don’t care I’m going anywhere take hatereading as elsewhere you’re spewing hate snark don’t get thousand clap per article seriously people care I’m consistently closing fivefigure project people find work valuable Don’t fret little liebchen I’m fine Instead kicking sand sandbox write article tutorial Spend six hour sharing research Alzheimer’s disproportionately impact African Americans Spend two month writing equivalent book build brand Write hundred article marketing freelancing come Lay heart bear vulnerable personal essay see feel random asshole stomp Pitch agent editor work year write edit publish two book Stop complaining everyone else’s writing basura agent editor google attracted online whining People definitely want hire someone whose sum total online work consists suck comment Readers clique don’t care snarky blinditem post There’s difference criticizing someone’s work calling cunt comment There’s difference critiquing platform believe unfair group writer dropping CLICKBAIT SUCKS comment people’s work former focus change solution latter make look petty small Years ago held scathing opinion literary journal gatekeeper — Granta Paris Review mag world drop rude comment fiction essay published said journal Instead published online print literary journal welcomed debut writer created didn’t exist strong opinion blogger posing marketer platform online influencers acting like brand strategy expert Instagram channel sole experience case study — dole advice plain wrong I’ve made opinion known larger response publish share knowledge expertise experience counterpoint don’t like read create Flood world work Critique publish share alternative Dismantle system Build new structure don’t think second I’ll tolerate flinging trash onto workTags Women Writing Creativity Culture Social Media |
1,903 | What John Green Can Teach You About Writing | What John Green Can Teach You About Writing
#1 bestselling author and 2006 Printz Award winner…
John Green is one of the most successful authors of this decade, winning multiple awards and writing books that have spent weeks on bestseller lists, and most of which have been adapted to movies. So what can one of the most accomplished authors of this decade teach us about writing? A lot, actually.
Reading As Apprenticeship
“Reading is just as important as writing when you’re trying to be a writer, because it’s the only apprenticeship we have, it’s the only way of learning how to write a story.”
Any author will tell you just how important it is to read as a writer. As John notes, it’s the only real apprenticeship we as writers really have. When you read good, crafted work, you will find that, afterward, you’ll start writing better as a result.
John is also strongly in favor of reviewing, and says that thoughtful and constructive analysis of art is vital to your own creation of art. However, he doesn’t like reviews that state everything wrong with X, or 13 reasons why Z is terrible.
There will be many things wrong with every piece of art, and so the most important kind of criticism you can do is the one in which you read to go to places you haven’t been, to glimpse worlds you couldn’t otherwise see, to see worlds within yourself.
“You always need to look for the good, for what about the piece is valuable and worthy of attention, what stories have expanded your universe or changed the way you think.”
It can also be helpful to review books, or look at books, through a lens. For example, looking at Game of Thrones through the lens of climate change.
The Writing Process
John says that no great book can be written in a first draft, no matter how long it takes you to write it. The important thing is to finish it. Books are made in revision, anyway. John says that he deletes 90% of his first draft anyway, and that everything people like about his books emerges in later drafts.
His books aren’t very plot-driven, and so doesn’t go in with any preconceived notions about plot or character. He’s a pantser. He uses the first draft as a way to get to know his characters and their problems well, and a general sense of a beginning, middle, and ending.
John tries to write at least 4 hours a day, but is pleased if he can hit 2,000 words a day, and is sad when he doesn’t.
When he talked about NaNoWriMo, John said:
“NaNoWriMo forces you to be disciplined, and gives you permission to suck, which are two of the things you most need if you’re going to be a novelist.”
He says that you should just enjoy the process of writing, the process of even temporarily escaping the real world. Writing should be fun; don’t let it become miserable. He notes that writing, whether you’re doing it well or doing it poorly, always looks the exact same.
He also says that you need to be patient as a writer. Lots of times, your second idea will be a better idea. Always be patient, and wonder if the second joke or idea, will be the better joke or idea.
Book Proposals
John also offers a small point concerning book proposals. He says that very rarely does a first novel sell on just a proposal, and that you almost always need to have a finished manuscript as well.
A book proposal basically consists of a plot summary, a list of the characters, and then sample chapters, so that people know what the book is actually about and is going to sound like.
The Editorial Process
John says that the editorial process really starts when you send your editor a draft, and then they send you back an editorial letter. This letter is not about comma splices, it usually includes overall plot and theme and structure stuff.
“The assumption that editors exist primarily to fix grammar errors is really incorrect.”
He says that it’s no coincidence that The Great Gatsby and The Sun Also Rises were both edited by the same guy.
Conclusion
I do really hope that this gave you some direction or help or motivation or inspiration in your creative pursuits. To help, I compiled a playlist on Youtube of John Green talking about writing.
Until next time! | https://medium.com/sukhroop-the-storyteller/what-john-green-can-teach-you-about-writing-7b27edb0d9f0 | ['Sukhroop Singh'] | 2019-08-28 11:08:07.638000+00:00 | ['Creative Process', 'Writing', 'Creative', 'Creativity', 'Creative Writing'] | Title John Green Teach WritingContent John Green Teach Writing 1 bestselling author 2006 Printz Award winner… John Green one successful author decade winning multiple award writing book spent week bestseller list adapted movie one accomplished author decade teach u writing lot actually Reading Apprenticeship “Reading important writing you’re trying writer it’s apprenticeship it’s way learning write story” author tell important read writer John note it’s real apprenticeship writer really read good crafted work find afterward you’ll start writing better result John also strongly favor reviewing say thoughtful constructive analysis art vital creation art However doesn’t like review state everything wrong X 13 reason Z terrible many thing wrong every piece art important kind criticism one read go place haven’t glimpse world couldn’t otherwise see see world within “You always need look good piece valuable worthy attention story expanded universe changed way think” also helpful review book look book lens example looking Game Thrones lens climate change Writing Process John say great book written first draft matter long take write important thing finish Books made revision anyway John say deletes 90 first draft anyway everything people like book emerges later draft book aren’t plotdriven doesn’t go preconceived notion plot character He’s pantser us first draft way get know character problem well general sense beginning middle ending John try write least 4 hour day pleased hit 2000 word day sad doesn’t talked NaNoWriMo John said “NaNoWriMo force disciplined give permission suck two thing need you’re going novelist” say enjoy process writing process even temporarily escaping real world Writing fun don’t let become miserable note writing whether you’re well poorly always look exact also say need patient writer Lots time second idea better idea Always patient wonder second joke idea better joke idea Book Proposals John also offer small point concerning book proposal say rarely first novel sell proposal almost always need finished manuscript well book proposal basically consists plot summary list character sample chapter people know book actually going sound like Editorial Process John say editorial process really start send editor draft send back editorial letter letter comma splice usually includes overall plot theme structure stuff “The assumption editor exist primarily fix grammar error really incorrect” say it’s coincidence Great Gatsby Sun Also Rises edited guy Conclusion really hope gave direction help motivation inspiration creative pursuit help compiled playlist Youtube John Green talking writing next timeTags Creative Process Writing Creative Creativity Creative Writing |
1,904 | Please Put TypeScript Down for a Moment | Code Easily Becomes Verbose
As mentioned in the comments, I’m viewing this mainly from a React + Redux perspective. Your experience will highly depend on the libraries you use!
In general, the irony of using TypeScript and Flow is that manual typing is something we want to avoid as much as we can! It can make code more verbose, error-prone, and harder to manage.
In an ideal world, we let TypeScript infer types from our libraries and those already defined in the language. That way, we get the benefit of type safety while only having to manage custom object types.
However, sometimes there is no avoiding the verbosity. Let’s look at a simple class-based React component written in TypeScript:
Here is a vanilla class-based React component:
The TypeScript version has 248% more code. Yes, props and state are clearly defined, but is that really what we call readable these days?
Just look at this example of a type to handle redux actions. It’s very clever and useful — I highly recommend reading it — but why is it necessary in the first place?
type InferValueTypes<T> = T extends { [key: string]: infer U } ? U : never;
type Actions = ReturnType<InferValueTypes<typeof actions>>
I won’t even get into the ugliness that typecasting brings… | https://medium.com/better-programming/please-put-typescript-down-for-a-moment-103f15378d34 | ['Kris Guzman'] | 2020-03-17 10:30:17.414000+00:00 | ['Programming', 'JavaScript', 'Typescript', 'Web Development', 'Software Engineering'] | Title Please Put TypeScript MomentContent Code Easily Becomes Verbose mentioned comment I’m viewing mainly React Redux perspective experience highly depend library use general irony using TypeScript Flow manual typing something want avoid much make code verbose errorprone harder manage ideal world let TypeScript infer type library already defined language way get benefit type safety manage custom object type However sometimes avoiding verbosity Let’s look simple classbased React component written TypeScript vanilla classbased React component TypeScript version 248 code Yes prop state clearly defined really call readable day look example type handle redux action It’s clever useful — highly recommend reading — necessary first place type InferValueTypesT extends key string infer U U never type Actions ReturnTypeInferValueTypestypeof action won’t even get ugliness typecasting brings…Tags Programming JavaScript Typescript Web Development Software Engineering |
1,905 | How I Write | For me, everything is about that first line and where it takes you. Some writers are driven by plot, the delicate arrangement of chess pieces, while others are drawn in by a character and the ability to go on a journey with a new fictional friend. And some writers live for the music words make — they hold the beauty of the line above all else. There are hundreds of books and essays that purport to teach you the mechanics of writing. Between the books, manuals, writing workshops, and MFA programs, everyone seems to have a magic formula, but few cut through the noise and show you how to find your own way. Few tell you the way can be messy, filled with false starts and experiments gone wrong, manuscripts buried in drawers, and the stories that make you shudder whenever you re-read them. I’ve been at this for 34 years and I can say that the mess is the journey. The mess and mishaps ultimately form a clearing that reveals your distinct voice and style.
For five years, I wrote stories that you needed a weedwacker to wade your way through. They were dense, flowery, filled with extraneous exposition. The kind of stories where you found yourself banging your head against the wall, screaming, WILL SHE GET TO THE FUCKING POINT ALREADY? Two years after that, I wrote fiction modeled off the likes of Lydia Davis, Ben Marcus, Amy Hempel, and Gary Lutz because they seemed like word fakirs. They awed me with their language acrobatics; they would take a meaning of a word or an image and upend it, and you would find yourself looking at the world a little differently — it’s sort of like being in the Upside Down, only your experience is with paper. Both styles didn’t fit. I found myself in my thirties unsure of what I wanted to say and how I wanted to say it because I was still in the process of mimicry and experimentation.
Some writers know their voice and style at the get-go. It took me 20 years of writing to master mine, and I still consider myself a student. Writing is still hard, but the joy is in the work and the possibility of what it can breed. Writers live for this, I think, the magic of seeing the world they’ve architected all the way through. I’m not famous. My books don’t sell a hundred thousand copies. The “cool kids” don’t follow me on social media. But this isn’t about the business of books, rather, this is about the love of what you commit to the page. I’ve devoted my life to the practice of reading and writing and it’s yielded results of which I’m proud (two beautiful books, lots of stories published, and a few awards).
But the work is where the joy resides. I love writing, live for it, regardless of the outcome.
In 1962, Peter Orr asked Sylvia Plath what sort of things she wrote about as a young poet. She said, “Nature, I think: birds, bees, spring, fall, all those subjects which are absolute gifts to the person who doesn’t have any interior experience to write about. I think the coming of spring, the stars overhead, the first snowfall and so on are gifts for a child, a young poet.” This rang true for me. I wrote in a tactile way about the stories my senses told me. I wrote about how rain felt on bare skin, the sound of my mother’s voice, and the tastes and smells of the food everyone in the neighborhood made. I wrote what was in front of me because as a child that felt big enough. A young writer describes the world as they encounter it with their limited vocabulary. As they grow older they begin to compare the things they encounter with how those things make them feel. The interior world starts to form, their vocabulary becomes richer, yielding a sense of power. They realize that their internal and external worlds aren’t necessarily harmonious.
Experience becomes wholly subjective, and although it took me decades to feel confident in my voice and style, what interested me as a child continues to fascinate me as a forty-two-year-old adult. I’ve always been fascinated by familial discord, loss, and broken people in a perpetual state of dressing and re-opening their wounds. I like familial mess and never tire of navigating it.
During a workshop in the Columbia MFA program, a student dismissed a story of mine by saying, family stories are so done. We weren’t supposed to talk while our stories were being critiqued, so I had to restrain myself from shouting out IS THIS REAL LIFE? ARE YOU FUCKING KIDDING ME? What I ended up saying was that every story’s been told, the joy is finding new ways of telling them.
Up until 2009, I lived a great deal of my life in the writing world. I worked in book publishing, I founded a literary magazine, I published my first book and a dozen or so short stories. My friends and first readers were writers. I had a Columbia MFA — a decision I’ll keep paying for until the grave. And still I was lost. I found myself copying styles from different writers. I felt guilty because I wasn’t the kind of person who could wake up every day and write (also because I had a full-time corporate job), and there’s this sense of constant competitiveness in publishing that felt, for me at least, suffocating. I didn’t know who I was as a writer because I was focused on the external — everyone else.
Someone once told me that a writer is always writing, even when there’s nothing on paper. I spent the next four years as an agency executive, and although I wasn’t writing, I was reading. I stopped reading the bold type authors of the moment, and simply read stories I liked. I read for pleasure and for study. How did this writer structure her novel? How did this writer master a child’s POV and an adult’s in the same chapter? How did this writer pace her novel, knowing when to drop the right clues at the right time? I didn’t write, but I dissected and mapped. I wrote in the margins of the books I loved. Unbeknownst to me, a draining job had manage to compact my free time so I spent it with the books that mattered to me. I had started to winnow down to that which was essential, and in doing so, I spent those four years finding my style and voice. I read Joan Didion and Maggie Nelson and learned how to make effective use of white space. I read Kelly Link, Nick Flynn, Franz Kafka, Gabriel Garcia Marquez, Aimee Bender, Alessandro Baricco to learn how to be imaginative with words and rediscover the feeling of play in writing. I read Junot Diaz, Denis Johnson (who once said in a workshop I attended that people never speak the way you want them to. Dialogue isn’t about a Q&A, it’s about not answering the question, revealing what’s between the lines. Dialogue has to reveal, not inform) and Nabokov to understand the mechanics of good dialogue. I read Zadie Smith because she’s Zadie Smith.
In short, I created my own program filled with teachers from whom I could draw knowledge. After four years of not writing a single story, I realized that my style was a fusion of traditional and experimental writing. I loved characters and storyline, but writing in a linear way felt daunting, and I wanted to play with language without it being masturbatory. My whole was the sum of many beautiful and disparate parts. When I wrote what would become my second book, for the first time in my life I felt assured. I knew that my style wouldn’t please the masses, but it pleased me and the few people who are impacted by my work. Much like life, writing is about finding your tribe and trimming the fat.
After a rough 2017 (I published my second book to tumbleweed and crickets), I transformed my bitterness and perspective and made myself return to the part of writing that brings me joy — the writing itself rather than the business of it. I resolved to write 52 stories this year, sketches, really, but an exercise that will keep me moving and creative. As a result, a few friends asked about my process. I thought it might be helpful to take you through the mechanics of how I drafted the first part in what will be a serial.
First, I have a notebook where I collect words and lines. I know that sounds weird, but whenever I come across an image, song, line from a movie — anything really — that puts me on pause, I write it down. For this particular story, I drew inspiration from the Aziz Ansari allegations (please, I beg you, no hot takes about this, as it will derail the purpose of this essay) over the weekend to craft a story about a girl’s disappearance. The story lays blame on a great deal of people in the town with the exception of the girl’s actual killer, whose story manages, oddly, to get dwarfed. I like stories with multiple points-of-view because it gives me freedom. I get to be the Sybil of a story, manipulating speech patterns, language, etc. I started with an image, a line, which is how I start every story. The line may not be the first one, but it has to be a line that draws me in. I have to convince myself that it’s easy to walk into this new world, when in reality it will likely take forever to create it.
I wrote the line in my notebook, read it aloud, and tooled with its structure. Rhythm and cadence are important to me; I have to feel like lines are singing as I read them aloud. In this crude, early draft, I got bumped by using the word “photographing” in a line whose syllables were lean. At the same time, I made sure that I had the vocabulary and vernacular of autopsy — or at least the basics. I never get bogged down on getting everything right because that tends to derail me and stops the flow of writing. I tell myself, just get it half-right and you’ll figure out the rest later. No matter what, keep moving.
First draft of what will become a paragraph
Final result
After I get a few core lines down, it’s then I’ll start drafting the story in a Word doc. Then, I ask myself what I want this section to do. What point does it serve? Why is it here? Is every word essential? Does every line or image (or the bulk of them)work on multiple levels? This may sound daunting, but it’s not. Think about when you learn a new exercise or start a new workout routine. There’s a whole set of moves and lexicon you have to master. At first, it may feel overwhelming or confusing, but after a lot practice you get the hang of it. And when a teacher says check your form, it’s a reminder for you to return to the essentials. Now, I write with the moves ingrained, but the tough part is returning to basics, making sure you’ve answered the bigger questions that serve the story, and that you’ve exercised restraint.
Everything I write is deliberate. Every character is essential. Every word has been considered. I only introduce a storyline or character because they’ll give the reader something no one else can. In the above brief section, I sought to accomplish three things:
Give you clues about what happened to the girl through examination. Only in an autopsy do we learn the time, cause, and manner of death. Contrast the heinous nature of the crime on a child with the everyday goings-on of these character’s lives. We live with daily horror but have somehow become slightly immune to it. This, for me, sets up the world I’m about to dive into. Foreshadow, through some of the technical aspects of this paragraph, elements of what’s to come in the story, hints of who the killer could be, and his/her intention.
Once I justify the existence of the paragraph (because don’t you hate when you read something and it has no place in the story and it does nothing to further or inform the character or plot?), I go line by line.
Years ago, I had the privilege of studying with Nathan Englander, and it only recently dawned on me that he had a tremendous impact on my work. After workshop, I would spend up to two hours with him in his office. He’d print two copies of my story — one had general comments on plot, character, plausibility, structure, and pacing, while the other was basically the equivalent of a literary bloodbath. In an act of sheer generosity, he would take me through my own story and teach me how to trim the fat. He would ask, Why this line? Why this word? Is this the right word? Could another word do the work of two? Why is this here? Did you write this because it sounded pretty? For Nathan, if the word didn’t have a purpose it didn’t belong in the story. There’s no other way to describe other than to say it was surgery. He was surgical with my work and he taught me how to be surgical with my work. While it’s okay to overwrite and spew in a Word document, you better believe in the editing process there will be a butchering. I go through several passes before something feels final to me.
Then, I think about dialogue. The hardest thing to do is capture the rhythms and nuances of how people really speak to one another. For example, one of my friends asked me how my day was going and I said, I hate everyone. I didn’t directly answer her question and dialogue rarely does that. Instead, dialogue is supposed to tell you about the character, how they speak and think, and how close they’re holding the chess plot pieces to their chest. I view dialogue as a puzzle where I come out of it learning something more than what was being told to me. I hear Nathan in my head asking why dialogue versus narrative? Justify it. So, if I just want to reveal facts I tend to play in narrative and if I want to muddy the waters and add some layers to the story, I’ll insert dialogue. The dialogue, at least for me, acts to tell you what’s between the narrative lines.
If you want me to have a heart attack, ask me to do an outline. I’m the kind of writer who likes to develop plot as I go, which often leads to dead ends and a lot of rewrites, but it’s the only path that thrills me. However, I have found that when you’re working on a novel, it helps to have a general map of when things happen and an overall working timeline. It gives you a sense of pacing (are you dragging the story out unnecessarily without a payoff for the reader?) and helps reconcile issues with verisimilitude. I owe my life to the copy editors of my last two books because they’ve pointed out inconsistencies that were crucial to earning the reader’s trust. Once a reader is lost or doubts your control of this world, it takes a lot to bring them back. I only use outlines for bigger projects, rarely, if ever, for short fiction.
Every writer has their Achilles, and mine is structure. I’m incapable of going from A to Z. I’ve tried it, trust me. I can’t do it. I like to meander, move within spaces of time as a technique. However, this often drives the reader bonkers. Nearly every criticism of my books (with the exception of this writer blows, etc.) is: WHY CAN’T SHE WRITE IN A CHRONOLOGICAL MANNER? For my last book, I spent two years on structure — ripping the book apart, re-arranging chapters, shifting timelines — until the story made sense in my head. I try to answer for: why is this particular chapter (or section) here? There has to be a reason for the timeshift and a larger purpose for the structure. One reason could be to show contrasting states in plot, character, or culture/setting that serves to elevate the story and imbue a larger meaning. Another reason could be pacing or plot-related. Through flashbacks, a character could come to a realization or a story reveals itself.
Many readers won’t be there for the structure ride, but remember, not everyone is your reader.
Finally, I take a step back and look at all my characters. All my characters have to serve a purpose and I have to enjoy them in some capacity. Often, my favorite characters to write are moral defectives. You hear actors say, as a person I hated him, but as a character I loved him. Moral ambiguity and unlikeable characters are fun for me to write because I get to explore the fringes of societal norm. I get to say the things I’d never to think to say and try to understand why people do the things they do. I wrote an essay on creating polarizing, unlikeable characters. Likeability is tricky and wholly subjective. I like to read and understand people who pull me out of my comfort zone, and in doing so, I hope to exercise a greater sense of empathy.
As a child, I wrote to understand the world around me. I wrote because I had a terrifying childhood and writing made sense of it for me. People call it therapy or catharsis, but I aim, as Plath says in her interview,
I must say I cannot sympathise with these cries from the heart that are informed by nothing except a needle or a knife, or whatever it is. I believe that one should be able to control and manipulate experiences, even the most terrifying, like madness, being tortured, this sort of experience, and one should be able to manipulate these experiences with an informed and an intelligent mind. I think that personal experience is very important, but certainly it shouldn’t be a kind of shut-box and mirror looking, narcissistic experience. I believe it should be relevant to the larger things.
My work is relentlessly dark and, in parts, personal, but I’ve learned to turn the mirror away from myself and reflect out into the world. With my last book and my new work, I’ve started to think about the bigger things, political and culture norms, and I think this is part of what’s exciting about being a writer right now—looking out at the world and interpreting it. Those are the gifts that only life can bring. | https://medium.com/mastering-the-mechanics/how-i-write-e215f22d8b6f | ['Felicia C. Sullivan'] | 2018-01-24 20:59:38.855000+00:00 | ['Writing', 'Education', 'How To Write', 'Creativity', 'Fiction'] | Title WriteContent everything first line take writer driven plot delicate arrangement chess piece others drawn character ability go journey new fictional friend writer live music word make — hold beauty line else hundred book essay purport teach mechanic writing book manual writing workshop MFA program everyone seems magic formula cut noise show find way tell way messy filled false start experiment gone wrong manuscript buried drawer story make shudder whenever reread I’ve 34 year say mess journey mess mishap ultimately form clearing reveals distinct voice style five year wrote story needed weedwacker wade way dense flowery filled extraneous exposition kind story found banging head wall screaming GET FUCKING POINT ALREADY Two year wrote fiction modeled like Lydia Davis Ben Marcus Amy Hempel Gary Lutz seemed like word fakir awed language acrobatics would take meaning word image upend would find looking world little differently — it’s sort like Upside experience paper style didn’t fit found thirty unsure wanted say wanted say still process mimicry experimentation writer know voice style getgo took 20 year writing master mine still consider student Writing still hard joy work possibility breed Writers live think magic seeing world they’ve architected way I’m famous book don’t sell hundred thousand copy “cool kids” don’t follow social medium isn’t business book rather love commit page I’ve devoted life practice reading writing it’s yielded result I’m proud two beautiful book lot story published award work joy resides love writing live regardless outcome 1962 Peter Orr asked Sylvia Plath sort thing wrote young poet said “Nature think bird bee spring fall subject absolute gift person doesn’t interior experience write think coming spring star overhead first snowfall gift child young poet” rang true wrote tactile way story sens told wrote rain felt bare skin sound mother’s voice taste smell food everyone neighborhood made wrote front child felt big enough young writer describes world encounter limited vocabulary grow older begin compare thing encounter thing make feel interior world start form vocabulary becomes richer yielding sense power realize internal external world aren’t necessarily harmonious Experience becomes wholly subjective although took decade feel confident voice style interested child continues fascinate fortytwoyearold adult I’ve always fascinated familial discord loss broken people perpetual state dressing reopening wound like familial mess never tire navigating workshop Columbia MFA program student dismissed story mine saying family story done weren’t supposed talk story critiqued restrain shouting REAL LIFE FUCKING KIDDING ended saying every story’s told joy finding new way telling 2009 lived great deal life writing world worked book publishing founded literary magazine published first book dozen short story friend first reader writer Columbia MFA — decision I’ll keep paying grave still lost found copying style different writer felt guilty wasn’t kind person could wake every day write also fulltime corporate job there’s sense constant competitiveness publishing felt least suffocating didn’t know writer focused external — everyone else Someone told writer always writing even there’s nothing paper spent next four year agency executive although wasn’t writing reading stopped reading bold type author moment simply read story liked read pleasure study writer structure novel writer master child’s POV adult’s chapter writer pace novel knowing drop right clue right time didn’t write dissected mapped wrote margin book loved Unbeknownst draining job manage compact free time spent book mattered started winnow essential spent four year finding style voice read Joan Didion Maggie Nelson learned make effective use white space read Kelly Link Nick Flynn Franz Kafka Gabriel Garcia Marquez Aimee Bender Alessandro Baricco learn imaginative word rediscover feeling play writing read Junot Diaz Denis Johnson said workshop attended people never speak way want Dialogue isn’t QA it’s answering question revealing what’s line Dialogue reveal inform Nabokov understand mechanic good dialogue read Zadie Smith she’s Zadie Smith short created program filled teacher could draw knowledge four year writing single story realized style fusion traditional experimental writing loved character storyline writing linear way felt daunting wanted play language without masturbatory whole sum many beautiful disparate part wrote would become second book first time life felt assured knew style wouldn’t please mass pleased people impacted work Much like life writing finding tribe trimming fat rough 2017 published second book tumbleweed cricket transformed bitterness perspective made return part writing brings joy — writing rather business resolved write 52 story year sketch really exercise keep moving creative result friend asked process thought might helpful take mechanic drafted first part serial First notebook collect word line know sound weird whenever come across image song line movie — anything really — put pause write particular story drew inspiration Aziz Ansari allegation please beg hot take derail purpose essay weekend craft story girl’s disappearance story lay blame great deal people town exception girl’s actual killer whose story manages oddly get dwarfed like story multiple pointsofview give freedom get Sybil story manipulating speech pattern language etc started image line start every story line may first one line draw convince it’s easy walk new world reality likely take forever create wrote line notebook read aloud tooled structure Rhythm cadence important feel like line singing read aloud crude early draft got bumped using word “photographing” line whose syllable lean time made sure vocabulary vernacular autopsy — least basic never get bogged getting everything right tends derail stop flow writing tell get halfright you’ll figure rest later matter keep moving First draft become paragraph Final result get core line it’s I’ll start drafting story Word doc ask want section point serve every word essential every line image bulk themwork multiple level may sound daunting it’s Think learn new exercise start new workout routine There’s whole set move lexicon master first may feel overwhelming confusing lot practice get hang teacher say check form it’s reminder return essential write move ingrained tough part returning basic making sure you’ve answered bigger question serve story you’ve exercised restraint Everything write deliberate Every character essential Every word considered introduce storyline character they’ll give reader something one else brief section sought accomplish three thing Give clue happened girl examination autopsy learn time cause manner death Contrast heinous nature crime child everyday goingson character’s life live daily horror somehow become slightly immune set world I’m dive Foreshadow technical aspect paragraph element what’s come story hint killer could hisher intention justify existence paragraph don’t hate read something place story nothing inform character plot go line line Years ago privilege studying Nathan Englander recently dawned tremendous impact work workshop would spend two hour office He’d print two copy story — one general comment plot character plausibility structure pacing basically equivalent literary bloodbath act sheer generosity would take story teach trim fat would ask line word right word Could another word work two write sounded pretty Nathan word didn’t purpose didn’t belong story There’s way describe say surgery surgical work taught surgical work it’s okay overwrite spew Word document better believe editing process butchering go several pass something feel final think dialogue hardest thing capture rhythm nuance people really speak one another example one friend asked day going said hate everyone didn’t directly answer question dialogue rarely Instead dialogue supposed tell character speak think close they’re holding chess plot piece chest view dialogue puzzle come learning something told hear Nathan head asking dialogue versus narrative Justify want reveal fact tend play narrative want muddy water add layer story I’ll insert dialogue dialogue least act tell what’s narrative line want heart attack ask outline I’m kind writer like develop plot go often lead dead end lot rewrite it’s path thrill However found you’re working novel help general map thing happen overall working timeline give sense pacing dragging story unnecessarily without payoff reader help reconcile issue verisimilitude owe life copy editor last two book they’ve pointed inconsistency crucial earning reader’s trust reader lost doubt control world take lot bring back use outline bigger project rarely ever short fiction Every writer Achilles mine structure I’m incapable going Z I’ve tried trust can’t like meander move within space time technique However often drive reader bonkers Nearly every criticism book exception writer blow etc CAN’T WRITE CHRONOLOGICAL MANNER last book spent two year structure — ripping book apart rearranging chapter shifting timeline — story made sense head try answer particular chapter section reason timeshift larger purpose structure One reason could show contrasting state plot character culturesetting serf elevate story imbue larger meaning Another reason could pacing plotrelated flashback character could come realization story reveals Many reader won’t structure ride remember everyone reader Finally take step back look character character serve purpose enjoy capacity Often favorite character write moral defectives hear actor say person hated character loved Moral ambiguity unlikeable character fun write get explore fringe societal norm get say thing I’d never think say try understand people thing wrote essay creating polarizing unlikeable character Likeability tricky wholly subjective like read understand people pull comfort zone hope exercise greater sense empathy child wrote understand world around wrote terrifying childhood writing made sense People call therapy catharsis aim Plath say interview must say cannot sympathise cry heart informed nothing except needle knife whatever believe one able control manipulate experience even terrifying like madness tortured sort experience one able manipulate experience informed intelligent mind think personal experience important certainly shouldn’t kind shutbox mirror looking narcissistic experience believe relevant larger thing work relentlessly dark part personal I’ve learned turn mirror away reflect world last book new work I’ve started think bigger thing political culture norm think part what’s exciting writer right now—looking world interpreting gift life bringTags Writing Education Write Creativity Fiction |
1,906 | Surviving as an Empath in the Time of Corona | A few weeks ago, I attended a training about dealing with difficult people, during which the instructor spoke about people being in control of their own emotions. He said we should not let other people’s feelings affect us “too much,” but this fails to recognize that some of us don’t have a choice, or that there is no real gauge of what is too much to feel, to little, or just the right amount.
It’s not that I want to take on other people’s emotions, or even that I do that on such a base level. I’m sensitive to energy, and the feeling of a room. The state of the world effects me in much the same way temperature affects me. Vibrations, auras, and planets in retrograde are things I would have made fun of 25 years ago. Through my experiences, I’ve been forced to open my mind and reach for words and concepts that will help me to make sense of my journey in this world.
I have to be careful about my consumption of media and social media. Stories of abuse and hardship my eyes fill with tears and my heart aches, and when I reach the end of the page, that isn’t the end of it for me. The lingering heaviness of secondhand grief and the weight of other people’s mourning is not easy to capture. It slithers through my fingers and runs through my veins for hours, my heart beating with the rhythm of our collective pain. Sometimes I cry. Sometimes there is a part of me that wants to let go completely, to curl up in the dark and let all of that pain channel through me, a ground for the emotions people emit.
My capacity for love and caring is immense, but in the same ways it lifts me, sometimes it undoes me.
My heart breaks over sorrowful things, but also over joy, something hauntingly beautiful might send me reeling for hours or days. These are not choices I make, things I can just be rid of. My receptiveness is also a huge positive in my life because it allows me to make deep connections with people, to love with rapturous abandon. The flipside is that sometimes, the world is really hard to keep moving through without feeling depleted. My capacity for love and caring is immense, but in the same ways it lifts me, sometimes it undoes me. | https://medium.com/rachael-writes/surviving-as-an-empath-in-the-time-of-corona-2e59d2d6b513 | ['Rachael Hope'] | 2020-03-15 06:13:53.528000+00:00 | ['Self', 'Health', 'Mental Health', 'Pandemic', 'Empathy'] | Title Surviving Empath Time CoronaContent week ago attended training dealing difficult people instructor spoke people control emotion said let people’s feeling affect u “too much” fails recognize u don’t choice real gauge much feel little right amount It’s want take people’s emotion even base level I’m sensitive energy feeling room state world effect much way temperature affect Vibrations aura planet retrograde thing would made fun 25 year ago experience I’ve forced open mind reach word concept help make sense journey world careful consumption medium social medium Stories abuse hardship eye fill tear heart ache reach end page isn’t end lingering heaviness secondhand grief weight people’s mourning easy capture slithers finger run vein hour heart beating rhythm collective pain Sometimes cry Sometimes part want let go completely curl dark let pain channel ground emotion people emit capacity love caring immense way lift sometimes undoes heart break sorrowful thing also joy something hauntingly beautiful might send reeling hour day choice make thing rid receptiveness also huge positive life allows make deep connection people love rapturous abandon flipside sometimes world really hard keep moving without feeling depleted capacity love caring immense way lift sometimes undoes meTags Self Health Mental Health Pandemic Empathy |
1,907 | Basic Example of Neural Style Transfer | Basic Example of Neural Style Transfer
Basic Example of Neural Style Transfer using Tensorflow and Pre-Trained Models
This post is a practical example of Neural Style Transfer based on the paper A Neural Algorithm of Artistic Style (Gatys et al.). For this example, we will use the pre-trained Arbitrary Image Stylization module which is available in TensorFlow Hub. We will work with Python and TensorFlow 2.x.
Disclaimer: This post is totally based on the TensorFlow tutorial where I tried to simplify it.
Neural Style Transfer
Neural style transfer is an optimization technique used to take two images-a images and a style reference image (such as an artwork by a famous painter)-and blend them together so the output image looks like the content image, but “painted” in the style of the style reference image.
This is implemented by optimizing the output image to match the content statistics of the content image and the style statistics of the style reference image. These statistics are extracted from the images using a convolutional network.
For example, let’s take an image of the Gold Gate Bridge and the Starry Night by Van Gogh.
Now how would it look like if Van Gogh decided to paint the picture of Golden Gate with this style?
Example of Neural Style Transfer using Tensorflow
Let’s start coding and also download the content and style images.
%tensorflow_version 2.x from __future__ import absolute_import, division, print_function, unicode_literals
import tensorflow as tf
print(tf.__version__) import IPython.display as display import matplotlib.pyplot as plt
import matplotlib as mpl
mpl.rcParams['figure.figsize'] = (20,20)
mpl.rcParams['axes.grid'] = False import numpy as np
import PIL.Image
import time
import functools def tensor_to_image(tensor):
tensor = tensor*255
tensor = np.array(tensor, dtype=np.uint8)
if np.ndim(tensor)>3:
assert tensor.shape[0] == 1
tensor = tensor[0]
return PIL.Image.fromarray(tensor) # Visualize the input
# Define a function to load an image and limit its maximum dimension to 512 pixels. def load_img(path_to_img):
max_dim = 512
img = tf.io.read_file(path_to_img)
img = tf.image.decode_image(img, channels=3)
img = tf.image.convert_image_dtype(img, tf.float32) shape = tf.cast(tf.shape(img)[:-1], tf.float32)
long_dim = max(shape)
scale = max_dim / long_dim new_shape = tf.cast(shape * scale, tf.int32) img = tf.image.resize(img, new_shape)
img = img[tf.newaxis, :]
return img # Create a simple function to display an image: def imshow(image, title=None):
if len(image.shape) > 3:
image = tf.squeeze(image, axis=0) plt.imshow(image)
if title:
plt.title(title) # Download images and choose a style image and a content image: content_path = tf.keras.utils.get_file('Golden_Gate.jpg', ' https://upload.wikimedia.org/wikipedia/commons/0/0c/GoldenGateBridge-001.jpg' style_path = tf.keras.utils.get_file('Starry_Night.jpg',' https://upload.wikimedia.org/wikipedia/commons/thumb/e/ea/Van_Gogh_-_Starry_Night_-_Google_Art_Project.jpg/757px-Van_Gogh_-_Starry_Night_-_Google_Art_Project.jpg' content_image = load_img(content_path)
style_image = load_img(style_path) plt.subplot(1, 2, 1)
imshow(content_image, 'Content Image') plt.subplot(1, 2, 2)
imshow(style_image, 'Style Image')
Let’s confirm that we have downloaded and loaded correctly the images.
import tensorflow_hub as hub
hub_module = hub.load('
stylized_image = hub_module(tf.constant(content_image), tf.constant(style_image))[0]
tensor_to_image(stylized_image) # Use the TensorFlow Hubimport tensorflow_hub as hubhub_module = hub.load(' https://tfhub.dev/google/magenta/arbitrary-image-stylization-v1-256/1' stylized_image = hub_module(tf.constant(content_image), tf.constant(style_image))[0]tensor_to_image(stylized_image)
Discussion
That was a practical example of how you can easily apply for Neural Style Transfer and to be somehow a “digital artist” :-). Note that modern approaches train a model to generate the stylized image directly (similar to cyclegan).
In this tutorial, we assumed that the reader is familiar with Images. In the previous post, we have explained how we can extract text from images, how we can iterate over pixels, how we can get the most dominant color of an image, and how we can blend images.
References
https://www.tensorflow.org/tutorials/generative/style_transfer | https://medium.com/towards-artificial-intelligence/basic-example-of-neural-style-transfer-b9760b235212 | ['George Pipis'] | 2020-10-25 21:57:18.556000+00:00 | ['Python', 'Artificial Intelligence', 'TensorFlow', 'Tensorflow Hub', 'Neural Style Transfer'] | Title Basic Example Neural Style TransferContent Basic Example Neural Style Transfer Basic Example Neural Style Transfer using Tensorflow PreTrained Models post practical example Neural Style Transfer based paper Neural Algorithm Artistic Style Gatys et al example use pretrained Arbitrary Image Stylization module available TensorFlow Hub work Python TensorFlow 2x Disclaimer post totally based TensorFlow tutorial tried simplify Neural Style Transfer Neural style transfer optimization technique used take two imagesa image style reference image artwork famous painterand blend together output image look like content image “painted” style style reference image implemented optimizing output image match content statistic content image style statistic style reference image statistic extracted image using convolutional network example let’s take image Gold Gate Bridge Starry Night Van Gogh would look like Van Gogh decided paint picture Golden Gate style Example Neural Style Transfer using Tensorflow Let’s start coding also download content style image tensorflowversion 2x future import absoluteimport division printfunction unicodeliterals import tensorflow tf printtfversion import IPythondisplay display import matplotlibpyplot plt import matplotlib mpl mplrcParamsfigurefigsize 2020 mplrcParamsaxesgrid False import numpy np import PILImage import time import functools def tensortoimagetensor tensor tensor255 tensor nparraytensor dtypenpuint8 npndimtensor3 assert tensorshape0 1 tensor tensor0 return PILImagefromarraytensor Visualize input Define function load image limit maximum dimension 512 pixel def loadimgpathtoimg maxdim 512 img tfioreadfilepathtoimg img tfimagedecodeimageimg channels3 img tfimageconvertimagedtypeimg tffloat32 shape tfcasttfshapeimg1 tffloat32 longdim maxshape scale maxdim longdim newshape tfcastshape scale tfint32 img tfimageresizeimg newshape img imgtfnewaxis return img Create simple function display image def imshowimage titleNone lenimageshape 3 image tfsqueezeimage axis0 pltimshowimage title plttitletitle Download image choose style image content image contentpath tfkerasutilsgetfileGoldenGatejpg httpsuploadwikimediaorgwikipediacommons00cGoldenGateBridge001jpg stylepath tfkerasutilsgetfileStarryNightjpg httpsuploadwikimediaorgwikipediacommonsthumbeeaVanGoghStarryNightGoogleArtProjectjpg757pxVanGoghStarryNightGoogleArtProjectjpg contentimage loadimgcontentpath styleimage loadimgstylepath pltsubplot1 2 1 imshowcontentimage Content Image pltsubplot1 2 2 imshowstyleimage Style Image Let’s confirm downloaded loaded correctly image import tensorflowhub hub hubmodule hubload stylizedimage hubmoduletfconstantcontentimage tfconstantstyleimage0 tensortoimagestylizedimage Use TensorFlow Hubimport tensorflowhub hubhubmodule hubload httpstfhubdevgooglemagentaarbitraryimagestylizationv12561 stylizedimage hubmoduletfconstantcontentimage tfconstantstyleimage0tensortoimagestylizedimage Discussion practical example easily apply Neural Style Transfer somehow “digital artist” Note modern approach train model generate stylized image directly similar cyclegan tutorial assumed reader familiar Images previous post explained extract text image iterate pixel get dominant color image blend image References httpswwwtensorfloworgtutorialsgenerativestyletransferTags Python Artificial Intelligence TensorFlow Tensorflow Hub Neural Style Transfer |
1,908 | How to Write a Feminist Story | How to Write a Feminist Story
8 tips to validate characters in your story
Photo by Isi Parente on Unsplash
Writers around me often ask these questions:
how to write in solidarity with feminism,
how to make my writing resonate with feminists, and
the strangest of all — how to target the feminist audience.
It was surprising to me that it’s now a genre in itself!
My short response usually goes like this — stories we read impact us, and we impact society with our words. Stories mould our culture, and in return, cultures shape our stories. Society and stories live in a symbiotic equilibrium. Ergo, if you want to write a feminist novel, or want to attract feminist readers, be a feminist. Your work will reflect you.
Eliminate sexism, not sexes.
Now, of course, everyone who asked this claims to be a feminist, but what they wanted to know was how to become a feminist writer. What does being a feminist means for the writer and their process? The answer is simple: research your characters without gender bias. | https://medium.com/literally-literary/how-to-write-a-feminist-story-eba676e54d18 | ['Pratik Mishra'] | 2020-06-06 12:09:35.362000+00:00 | ['Feminism', 'Writing', 'Creativity', 'Bechdel Test', 'Essay'] | Title Write Feminist StoryContent Write Feminist Story 8 tip validate character story Photo Isi Parente Unsplash Writers around often ask question write solidarity feminism make writing resonate feminist strangest — target feminist audience surprising it’s genre short response usually go like — story read impact u impact society word Stories mould culture return culture shape story Society story live symbiotic equilibrium Ergo want write feminist novel want attract feminist reader feminist work reflect Eliminate sexism sex course everyone asked claim feminist wanted know become feminist writer feminist mean writer process answer simple research character without gender biasTags Feminism Writing Creativity Bechdel Test Essay |
1,909 | Share Your Story! | Reaching Out is made of raw and honest lives like yours. We are strengthened by hearing your story, wherever it leads.
A little about us:
We are a Medium publication & community dedicated to LGBTQ people of all backgrounds and religions.
We are not afraid of stories of faith lost, deconstructed, or renewed in unexpected ways.
Pat Gothman started Reaching Out in November of 2017.
If you have a story that relates to…
Coming out in a religious community
Working through your sexuality with your family
Working through your sexuality with your faith leaders or community
Celibacy or conversion therapy
Intersectionality, especially from POC & women
Finding a new faith community or witnessing within the one you grew up
Raising an LGBTQ child
Pastoring gay members of your faith community
Romantic relationships in a faith community
WE WANT TO SHARE IT!
Basically, if you understand the tension and struggle of being a queer person of faith, we want to hear from you!
First, make sure you have a Medium account and follow Reaching Out!
Then, fill out this form!
If you don’t have a Medium account and want to submit a story anonymously, email Pat at heyreachingout(at)gmail.com. We prefer to publish stories through Medium accounts as they are YOUR stories. But we also understand that sometimes you have something you need to share but aren’t in a place to do so publicly right now. So shoot over a draft and let us know what you are comfortable with sharing!
Best,
Pat Gothman, Reaching Out | https://medium.com/reaching-out/share-your-story-fbab0f3a5d41 | ['Patrick Flores'] | 2018-01-14 21:54:06.056000+00:00 | ['Storytelling', 'Christianity', 'Writing', 'LGBTQ', 'Muslim'] | Title Share StoryContent Reaching made raw honest life like strengthened hearing story wherever lead little u Medium publication community dedicated LGBTQ people background religion afraid story faith lost deconstructed renewed unexpected way Pat Gothman started Reaching November 2017 story relates to… Coming religious community Working sexuality family Working sexuality faith leader community Celibacy conversion therapy Intersectionality especially POC woman Finding new faith community witnessing within one grew Raising LGBTQ child Pastoring gay member faith community Romantic relationship faith community WANT SHARE Basically understand tension struggle queer person faith want hear First make sure Medium account follow Reaching fill form don’t Medium account want submit story anonymously email Pat heyreachingoutatgmailcom prefer publish story Medium account story also understand sometimes something need share aren’t place publicly right shoot draft let u know comfortable sharing Best Pat Gothman Reaching OutTags Storytelling Christianity Writing LGBTQ Muslim |
1,910 | A Good Support System Will Go A Long Way In Helping You Cope With Your Mental Struggles | I’ve written a couple of times about the mental struggles that I’ve gone through in my life. From being in the darkest moments of my life more than 15 years ago to having smaller attacks of worries and anxieties since then, I’ve shared my experiences with my readers openly.
What I’ve not really done though, is shared with people that I know personally in real life.
Aside from my wife, I’ve not really spoken about the mental struggles that due to the pandemic that we’re currently facing and all the changes it has brought to our lives, have occurred on more than a couple of occasions in the last couple of months.
My Medium community is made up of people that I mostly have known through the platform itself. I do have a couple of other writers/readers on the platform that I know personally in real life and who are good friends too but at the moment, we’re on different continents.
Those who are living in the same country as me, who I interact with on an almost daily basis probably don’t really know about my little adventure as a writer on this platform and probably have no idea about the stories and experiences that I’ve shared over the last year and a half that I’ve been writing.
But it was about time someone did, someone aside from my wife.
That person was my immediate supervisor and the relief I felt after letting her know about the struggles that I’ve been going through, especially over the last couple of months was nothing short of amazing.
If a drug addict or an alcoholic was able to go days/months/years without falling back into their addiction, it would be called being ‘clean’ because they were able to abstain from the very thing that caused them harm in the first place.
I would like to think that not having had any anxiety or panic attacks for many years would make me ‘clean’ too.
When I was in a deep depression at 19 years old, that was the darkest place I’d ever been in my life. It was even worse than the depression that I was in when my dad passed away back in 2013 (when I was 27 years old) and that says something.
After I recovered on both occasions, I rarely had any depress feelings nor went through any anxiety or panic attacks. I think when I recovered back when I was 19 years old, I didn’t go through any depressive state until my dad passed away more than 8 years later. And when I recovered and started to get over my dad’s death, I didn’t have any depress feelings nor went through any anxiety or panic attacks — until this year.
I don’t know if it’s a direct result of the pandemic or the effects that the pandemic has brought to everyone, but things definitely went downhill for me emotionally after my country went into lockdown.
I had one panic attack after another or I would just start to feel really anxious for no reason at all.
It affected me personally and also professionally.
Needless to say, my colleagues started to notice it and it was getting harder and harder to just brush it off and come up with excuse after excuse as to why I wasn’t performing at the standards that I had been in previous years.
Things finally came to a point that I just had to come clean with my supervisor and there was no better time to do that than during my latest performance review.
It started off normal, at least for the first few minutes.
Then the dreaded question came.
“Benny, is everything OK with you? I’ve noticed you’ve been quite different these last few months. Are you having any problems?”
I went quiet for a good 10–15 seconds.
I then took a deep breath and told my supervisor that there was something that I needed her to know.
I started off with what happened to me back when I was 19 years old, to give her a brief history. Aside from my wife (and all you readers out there), no one really knows about what I went through back then.
But to tell her what’s happening to me now, my supervisor needed to know what happened to me then.
After a short 5 minutes of ‘Benny history,’ I told her that in the last couple of months, I’ve noticed that I’ve been getting random panic and anxiety attacks and whenever it happens, I get paralyzed and just crippled. I wouldn’t be able to function properly and it has affected not just my personal life but also the work that I have to do on a daily basis.
I told her that I wasn’t sure how to bring it up with anyone because all this while, the only other person who knew about it is my wife. Not even my parents or siblings know about what I’ve been through or am going through.
I apologized for any problems that I may have caused my team or department but I just felt that I wasn’t able to handle things by myself anymore and because it was affecting my work more than ever, it was important that someone in my workspace knew and the most logical person for me was my supervisor.
She was quiet at first.
But she finally broke her silence and told me that she didn’t expect it at all, especially from me as I was always the happy-go-lucky one in the office. I was always the optimist, positive one that would be smiling and cracking jokes.
I told her that usually, the ones that seem happiest are usually the ones that have unseen problems or are actually sad like the late Robin Williams used to say.
She then told me that she was thankful that I trusted her enough to tell her. She said that she probably doesn’t fully understand what I’m actually going through but that she’s glad she now knows the truth and she can understand why I’ve been the way I’ve been over the last few months.
I felt relieved when I heard that.
She wasn’t blaming me for anything. She wasn’t blaming me for the delays in some projects that I was handling. She wasn’t blaming me for slowing my other team mates down because I took longer than I should with my portion of the work.
Instead, she was thanking me for being honest with her and for trusting her with something that is probably not an easy thing to admit to others (it’s not).
But the thing that really got to me was when she said, not to worry as she will help me to figure out ways to beat it again. She said that because I’ve had it before and managed to stay ‘clean’ for quite sometime after that, she said I could do it again and she wants to help and give me any support that I may need.
Help and support.
Those were the two keywords that I needed to hear, that anyone in a position of feeling down and hopeless, needs to hear.
I’ve had tremendous support from my wife over the years but I do feel bad for her because it is a heavy burden.
So, to have someone else willing to be my support as well, that was a much-needed thing for me to hear.
I immediately felt better. I felt like a big burden had been lifted off of me.
What was supposed to be a short 20 minutes session turned into a good 2 hours plus of just talking and listening to one another. She shared some personal stories with me and I shared more with her. We worked out plans on how to manage my workload, especially if I suffered any more panic or anxiety attacks.
By the end of the session, I felt so much better compared to when it started. To know that I wasn’t judged for the struggles that I was going through, that I wasn’t blamed for being a burden to others, that I was actually offered help and support, it was a huge relief.
And needless to say, it’s definitely helped me in terms of managing stress from work as well. I know that although I’m still expected to perform at a certain level, I’m able to not stress so much about it and am allowed to work according to my circumstances.
Having that support has so far helped in keeping the random attacks at bay. Where in the last few months I’ve had over a dozen sudden attacks, I’ve not had any since my conversation over 2 weeks ago.
It just goes to show that a good support system (or two) goes a long way in helping to cope with any mental struggles you may have. | https://medium.com/narrative/a-good-support-system-will-go-a-long-way-in-helping-you-cope-with-your-mental-struggles-cba26c50ee82 | ['Benny Lim'] | 2020-12-12 07:01:27.289000+00:00 | ['Health', 'Mental Health', 'Support', 'Mental Illness', 'Mental Health Awareness'] | Title Good Support System Go Long Way Helping Cope Mental StrugglesContent I’ve written couple time mental struggle I’ve gone life darkest moment life 15 year ago smaller attack worry anxiety since I’ve shared experience reader openly I’ve really done though shared people know personally real life Aside wife I’ve really spoken mental struggle due pandemic we’re currently facing change brought life occurred couple occasion last couple month Medium community made people mostly known platform couple writersreaders platform know personally real life good friend moment we’re different continent living country interact almost daily basis probably don’t really know little adventure writer platform probably idea story experience I’ve shared last year half I’ve writing time someone someone aside wife person immediate supervisor relief felt letting know struggle I’ve going especially last couple month nothing short amazing drug addict alcoholic able go daysmonthsyears without falling back addiction would called ‘clean’ able abstain thing caused harm first place would like think anxiety panic attack many year would make ‘clean’ deep depression 19 year old darkest place I’d ever life even worse depression dad passed away back 2013 27 year old say something recovered occasion rarely depress feeling went anxiety panic attack think recovered back 19 year old didn’t go depressive state dad passed away 8 year later recovered started get dad’s death didn’t depress feeling went anxiety panic attack — year don’t know it’s direct result pandemic effect pandemic brought everyone thing definitely went downhill emotionally country went lockdown one panic attack another would start feel really anxious reason affected personally also professionally Needless say colleague started notice getting harder harder brush come excuse excuse wasn’t performing standard previous year Things finally came point come clean supervisor better time latest performance review started normal least first minute dreaded question came “Benny everything OK I’ve noticed you’ve quite different last month problems” went quiet good 10–15 second took deep breath told supervisor something needed know started happened back 19 year old give brief history Aside wife reader one really know went back tell what’s happening supervisor needed know happened short 5 minute ‘Benny history’ told last couple month I’ve noticed I’ve getting random panic anxiety attack whenever happens get paralyzed crippled wouldn’t able function properly affected personal life also work daily basis told wasn’t sure bring anyone person knew wife even parent sibling know I’ve going apologized problem may caused team department felt wasn’t able handle thing anymore affecting work ever important someone workspace knew logical person supervisor quiet first finally broke silence told didn’t expect especially always happygolucky one office always optimist positive one would smiling cracking joke told usually one seem happiest usually one unseen problem actually sad like late Robin Williams used say told thankful trusted enough tell said probably doesn’t fully understand I’m actually going she’s glad know truth understand I’ve way I’ve last month felt relieved heard wasn’t blaming anything wasn’t blaming delay project handling wasn’t blaming slowing team mate took longer portion work Instead thanking honest trusting something probably easy thing admit others it’s thing really got said worry help figure way beat said I’ve managed stay ‘clean’ quite sometime said could want help give support may need Help support two keywords needed hear anyone position feeling hopeless need hear I’ve tremendous support wife year feel bad heavy burden someone else willing support well muchneeded thing hear immediately felt better felt like big burden lifted supposed short 20 minute session turned good 2 hour plus talking listening one another shared personal story shared worked plan manage workload especially suffered panic anxiety attack end session felt much better compared started know wasn’t judged struggle going wasn’t blamed burden others actually offered help support huge relief needle say it’s definitely helped term managing stress work well know although I’m still expected perform certain level I’m able stress much allowed work according circumstance support far helped keeping random attack bay last month I’ve dozen sudden attack I’ve since conversation 2 week ago go show good support system two go long way helping cope mental struggle may haveTags Health Mental Health Support Mental Illness Mental Health Awareness |
1,911 | Fix Bugs in Your Swift Code | Fix Bugs in Your Swift Code
Squash those critters
Photo by David Clode on Unsplash
We use the squash, splat and crush analogy from insects when talking about bugs. This is with good reason: Thomas Edison wrote about bugs during his hardware engineering travails and this means the term is probably here to stay.
Get used to it, or bug off!
Deal with the bugs (Approaches)
Clean your area
One way to make your code bug-free is to avoid writing them in the first place!
Testing
Modularity
Simplicity and clarity
By testing (use this Swift TDD guide) your code is much less likely be to bugged as it is tested before ever getting close to production.
The works hand-in-hand with modularity which and making sure that your code is written in separate, testable chunks. You might have chosen MVC, MVVM, VIPER or some other architecture for your project — and there are advantages and disadvantages to each.
The third pillar of of well-written non-bugged code is simple clear code. This minimal code should be created with the eventual reader in mind (that is, another programmer should be able to pick up your code and understand it).
Writing a //TODO is fine for missing functionality, but code that is incomplete should not be checked in — and is a great use of annotation in your code!
Don’t ignore warnings
Warnings are there for a reason and should not be suppressed (Ok, you can suppress some without consequence). Using a linter helps to point out your errors before they grow and become real problems that can stop a release or mean that you’ll be working late into Friday night.
Another way to put this is:
Do it once — do it right.
I’m sure this won’t be a problem to you, but of course you’d never ignore a warning in the first place, would you? Some even put their own errors in their code
Consider ignoring your problems
It seems counter-intuitive, but you can ignore some of your problems and hope they go away. Unprofesssional? Sure. Not-recommended? This is tricky.
If you have a bug that affects a very small number of users, and may require a potentially inordinate amount of time to fix it may just be justifiable to leave this bug (even in production code).
As an approach, the decision to go with this is probably above the pay-grade of a coder. That is, this should be a team decision and the team should decide whether leaving an extremely difficult to fix bug is…well…too difficult.
As a repeated strategy for an individual coder ignoring badly coded solutions may be a sign of incompetence. That is, use this technique with an abundance of care.
Use an issue tracker
There are many different offers of issue trackers for use in teams and organisations. This enables the issues to be triaged and organised into tiers of importance and urgency so the most urgent and important issues get checked first.
Bugs (beyond the initial ones picked up in unit testing) should be logged so an understanding of issues and when they arise (as well as why they arise) can be formulated.
Even if you are working on your own, keeping a log of issues that have been encountered can be useful, and GitHub even has a suite of features that can help you out!
Check under assumptions
One of the most important things in coding is checking that the ideas you have and the way that you think things should work is accurate. This can seem simpler to say than to do and the long term strategy is to understand the technology you are working with from the capabilities to the implementation of the same. In the short term some light rubber duck debugging.
You might like to do the following — record assumptions and theories as such for each issue, and then test them when they need to be. How? Here are the definitions:
Assumptions: The preconditions for a problem
Theories: Ideas that you have that can be tested sequentially in the pursuit of a solution
Block of the nest (narrow down the problem)
Most IDEs give you some idea of what might be going on in your code. You can step through any given problem using breakpoints and perhaps even more features that can help you find out where the problem is in your code.
If you’re using TDD then you probably already have well-tested code that you are slotting together to make a whole. Are you sure that your units are well-tested? Now is the time to take a look. Use your debugger to ensure that your variables are what you expect them to be at any given point.
Most of all; rule at general possibilities for error and wind them down into specific opportunities for investigation. This isolate-test-fix strategy should get you closer to a solution than when you started.
Go back to when everything was fine (version control)
You are using GIT, right? If not you have some method of version control? So when did this issue first appear? When you can narrow down when the problem appeared you can can use this to enhance your investigation. Since you know something about the origin of the error you can use this to help you find the solution. Make a new branch and then add back in code at will. You’ll hunt this down, and get the solution right!
Create a MVP
Create a test program to reproduce the error. This might work where you (unfortunately) don’t have modular testable code. You can then separate out the code that is likely to have made the issue, and then add sections back into the program until the problem manifests. This would mean that you’ve found out the original issue and can go and fix it!
Check the underlying design
This one is perhaps the most painful conclusion. The project has not been built on good foundations, and perhaps the whole initial design is not suitable for the project. This can also happen when the project is changed during the implementation stage and then, essentially, can be said to not be the programmers fault.
In any case though, it needs to be fixed. If the underlying design is an issue it perhaps does need to be changed, but the costs for doing to may be great which means that you must be sure that the time spent to fix this problem will be worth the rewrite in the end.
If you’re in this situation, I hope you found it early…
Recording Bugs
Even if you follow the approaches detailed above, you are still likely to run into problems and issues (and, dare we say it, bugs) in your code.
Recording these also requires some finesse and understanding of the software development approach.
Many bug-fixing tools have a workflow integrated into their interface, but remember to record the following:
Reproducability: Can it be reproduced?
Severity: How important is it that the bug be fixed?
You might also have the ability to save crash logs, and this might help you when you are trying to solve a problem that has just come up. After all, you want clarity on the problem and work to solve the issue is easier when you have the full information.
When all is lost (Strategies)
One of the greatest problem solving strategies is the following:
take a break
have a stress-free sleep
It seems almost ridiculous. However your mind works much better after a rest, and you should leverage that in your problem solving journey and using the fact that your mind can ruminate on things when it’s concentration is elsewhere is a great strategy for trying to solve that unsolvable problem.
Bugs away (Conclusion)
We all should write perfect code, all of the time. There should never be any bugs, and the software should conform to the requirements and pass User Testing at the first time of asking.
Unfortunately, software development is an inherently human process, and humans do unfortunately make mistakes. Unfortunately we do have responsibility as developer to hunt down those bugs and squash them — preferably before they ever existed.
I hope this article has given you an idea of how this can happen in a professional environment. | https://stevenpcurtis.medium.com/fix-bugs-in-your-swift-code-e9d53bc11883 | ['Steven Curtis'] | 2020-05-14 14:02:46.336000+00:00 | ['Mobile App Development', 'Swift Programming', 'Software Engineering', 'Swift', 'Programming'] | Title Fix Bugs Swift CodeContent Fix Bugs Swift Code Squash critter Photo David Clode Unsplash use squash splat crush analogy insect talking bug good reason Thomas Edison wrote bug hardware engineering travail mean term probably stay Get used bug Deal bug Approaches Clean area One way make code bugfree avoid writing first place Testing Modularity Simplicity clarity testing use Swift TDD guide code much le likely bugged tested ever getting close production work handinhand modularity making sure code written separate testable chunk might chosen MVC MVVM VIPER architecture project — advantage disadvantage third pillar wellwritten nonbugged code simple clear code minimal code created eventual reader mind another programmer able pick code understand Writing TODO fine missing functionality code incomplete checked — great use annotation code Don’t ignore warning Warnings reason suppressed Ok suppress without consequence Using linter help point error grow become real problem stop release mean you’ll working late Friday night Another way put — right I’m sure won’t problem course you’d never ignore warning first place would even put error code Consider ignoring problem seems counterintuitive ignore problem hope go away Unprofesssional Sure Notrecommended tricky bug affect small number user may require potentially inordinate amount time fix may justifiable leave bug even production code approach decision go probably paygrade coder team decision team decide whether leaving extremely difficult fix bug is…well…too difficult repeated strategy individual coder ignoring badly coded solution may sign incompetence use technique abundance care Use issue tracker many different offer issue tracker use team organisation enables issue triaged organised tier importance urgency urgent important issue get checked first Bugs beyond initial one picked unit testing logged understanding issue arise well arise formulated Even working keeping log issue encountered useful GitHub even suite feature help Check assumption One important thing coding checking idea way think thing work accurate seem simpler say long term strategy understand technology working capability implementation short term light rubber duck debugging might like following — record assumption theory issue test need definition Assumptions precondition problem Theories Ideas tested sequentially pursuit solution Block nest narrow problem IDEs give idea might going code step given problem using breakpoints perhaps even feature help find problem code you’re using TDD probably already welltested code slotting together make whole sure unit welltested time take look Use debugger ensure variable expect given point rule general possibility error wind specific opportunity investigation isolatetestfix strategy get closer solution started Go back everything fine version control using GIT right method version control issue first appear narrow problem appeared use enhance investigation Since know something origin error use help find solution Make new branch add back code You’ll hunt get solution right Create MVP Create test program reproduce error might work unfortunately don’t modular testable code separate code likely made issue add section back program problem manifest would mean you’ve found original issue go fix Check underlying design one perhaps painful conclusion project built good foundation perhaps whole initial design suitable project also happen project changed implementation stage essentially said programmer fault case though need fixed underlying design issue perhaps need changed cost may great mean must sure time spent fix problem worth rewrite end you’re situation hope found early… Recording Bugs Even follow approach detailed still likely run problem issue dare say bug code Recording also requires finesse understanding software development approach Many bugfixing tool workflow integrated interface remember record following Reproducability reproduced Severity important bug fixed might also ability save crash log might help trying solve problem come want clarity problem work solve issue easier full information lost Strategies One greatest problem solving strategy following take break stressfree sleep seems almost ridiculous However mind work much better rest leverage problem solving journey using fact mind ruminate thing it’s concentration elsewhere great strategy trying solve unsolvable problem Bugs away Conclusion write perfect code time never bug software conform requirement pas User Testing first time asking Unfortunately software development inherently human process human unfortunately make mistake Unfortunately responsibility developer hunt bug squash — preferably ever existed hope article given idea happen professional environmentTags Mobile App Development Swift Programming Software Engineering Swift Programming |
1,912 | How to Teach Students to Love Writing | How to Teach Students to Love Writing
Motivating students to write is important.
How much time do teachers spend trying to teach proper writing skills, such as grammar, spelling, genre, form, and structure? Probably a lot of time. After all, they are important skills for writing successfully. However, how much focus is left for teaching the most important thing of all? Learning to love writing.
If you want to learn how to write better, there is one thing you can’t get away from: the need to practice. And not just a little bit, either. Writing any text is a difficult process. Without motivation, students are likely to either give up or not try very hard.
Now that I’ve outlined the importance of being motivated and excited to write, here’s how you can accomplish that with students.
Make them believe they can learn to write well.
If students believe they are incapable of learning to write, you’ll find it very hard to motivate them for anything. After all, in their minds, what’s the point?
A student’s belief in their ability to succeed in a specific situation is called self-efficacy¹. It comes from several sources and learning how to influence self-efficacy can help teachers motivate students. It’s important to note that ‘specific situation’ means that their abilities in something else, such as sports, have no impact on their self-efficacy for writing.
Mastery experience are the most important source of self-efficacy. Succeeding at a writing task will help students believe they can succeed at future writing tasks. To provide mastery experiences, you should give them tasks that are challenging, but that you know they can do. Once they have overcome smaller challenges, they will feel more equipped to take on bigger ones.
Examples of someone writing well can also help students feel like it’s possible for them. However, it’s important that this is done in an instructional way, and that focus is taken away from the students comparing themselves to others. Even telling them how they can succeed will help, for example with getting them through those initial mastery experiences.
It’s so hard to do something when you don’t believe you’re able to. That’s why it’s so important that teachers help students see that they can become good writers, as long as they keep practicing.
Give writing a purpose.
By this, I don’t mean telling them they have to write because they have an assignment that you need to grade. Why do writers write? Actual writers write because they want to convey something to a reader. Or just to get their thoughts out on paper where they might be a little clearer. Sure, some of them have jobs with deadlines, and might not always write exactly what they want, but they still chose writing over countless other professions for a reason. Help students find that reason, and they will be way more motivated to work on their writing.
Give the students authentic writing tasks², where they write for an audience. This can be an article to be ‘published’ at the school, a letter to someone they care about, or a class blog about what’s important to them. With an actual audience and purpose to the text, not only will they be more motivated, but they might find it easier to write, because they know who they’re writing for.
Interest is something else that can give the writing a purpose for students. If they’re interested in a topic, they’re more likely to want to write about it, simply to tell someone about their interest². Students want to write about things that are relevant to them!³
The context of writing.
The context in which the writing happens is very important for motivation.² Context here applies to many things, such as the writing task itself, the classroom, the social environment, and the emotional context.
For the writing task, remember what you read about giving writing a purpose. Here’s where you can do that. Also, the writing task should be as complex as possible without being too difficult to accomplish. People are more motivated by challenges than by tasks that are too easy for them. However, as mentioned earlier, if they don’t believe they can accomplish the task, they won’t be very motivated at all.
The classroom environment should be prepared for writing, so that when they write, they’ll have what they need. Information, organized writing tools, a calm environment, enough space, and someone they can ask for help. These are all things that can promote a better writing environment.
As much as possible, it’s also important to try to reduce stress and negative emotions in students². Writing can be an unexpectedly difficult process for many, and it’s easy to get discouraged. You can help combat negative emotions about writing with positive reinforcement, and by giving them manageable tasks where they write about what they know.
Motivation can also be promoted by making the classroom more of a writing community, where students read and discuss each other’s writing⁴. If you think of the students as writers, expecting them to establish and audience and a purpose for their writing, they could start to think of themselves as writers too. By seeing them as writers, and letting them engage with each other, you can promote an environment where students write not because they have to, but because they want to. | https://medium.com/age-of-awareness/how-to-teach-students-to-love-writing-62d1bedd7d31 | ['Markus Skårnes'] | 2020-11-18 03:49:45.016000+00:00 | ['Teaching English', 'Motivation', 'Education', 'Teaching', 'Writing'] | Title Teach Students Love WritingContent Teach Students Love Writing Motivating student write important much time teacher spend trying teach proper writing skill grammar spelling genre form structure Probably lot time important skill writing successfully However much focus left teaching important thing Learning love writing want learn write better one thing can’t get away need practice little bit either Writing text difficult process Without motivation student likely either give try hard I’ve outlined importance motivated excited write here’s accomplish student Make believe learn write well student believe incapable learning write you’ll find hard motivate anything mind what’s point student’s belief ability succeed specific situation called selfefficacy¹ come several source learning influence selfefficacy help teacher motivate student It’s important note ‘specific situation’ mean ability something else sport impact selfefficacy writing Mastery experience important source selfefficacy Succeeding writing task help student believe succeed future writing task provide mastery experience give task challenging know overcome smaller challenge feel equipped take bigger one Examples someone writing well also help student feel like it’s possible However it’s important done instructional way focus taken away student comparing others Even telling succeed help example getting initial mastery experience It’s hard something don’t believe you’re able That’s it’s important teacher help student see become good writer long keep practicing Give writing purpose don’t mean telling write assignment need grade writer write Actual writer write want convey something reader get thought paper might little clearer Sure job deadline might always write exactly want still chose writing countless profession reason Help student find reason way motivated work writing Give student authentic writing tasks² write audience article ‘published’ school letter someone care class blog what’s important actual audience purpose text motivated might find easier write know they’re writing Interest something else give writing purpose student they’re interested topic they’re likely want write simply tell someone interest² Students want write thing relevant them³ context writing context writing happens important motivation² Context applies many thing writing task classroom social environment emotional context writing task remember read giving writing purpose Here’s Also writing task complex possible without difficult accomplish People motivated challenge task easy However mentioned earlier don’t believe accomplish task won’t motivated classroom environment prepared writing write they’ll need Information organized writing tool calm environment enough space someone ask help thing promote better writing environment much possible it’s also important try reduce stress negative emotion students² Writing unexpectedly difficult process many it’s easy get discouraged help combat negative emotion writing positive reinforcement giving manageable task write know Motivation also promoted making classroom writing community student read discus other’s writing⁴ think student writer expecting establish audience purpose writing could start think writer seeing writer letting engage promote environment student write want toTags Teaching English Motivation Education Teaching Writing |
1,913 | Marketing in the time of crisis | Photo by Campaign Creators on Unsplash
The outbreak of the novel coronavirus has brought the world to a standstill, as individuals, healthcare professionals, and businesses scramble to come to terms with the new normal.
With several countries imposing stringent lockdowns, businesses find themselves in a precarious position with no revenues coming in to keep them afloat. While some companies that could quickly switch to online are aiming to earn some passive income by accepting orders to fulfill once the lockdown is lifted, a significant majority of them do not have this luxury. Even if there is an online medium to place orders, the environment is not very conducive for customers to even consider shopping for anything non-essential.
Brands that quickly adapted to the changing scenario and used a hard-found link between their offerings and the pandemic have faced brickbats from customers for being insensitive, profiteering, and opportunistic.
Source: Twitter
Organizations seem to be facing a double-edged sword here. On one end, they are facing an unprecedented decline in revenues and an acute financial crunch, and on the other end, they are facing severe scrutiny for marketing communications or advertising in the time of the crisis.
Let’s face it. This scenario is not an opportunity a marketeer can maximize upon when there are pressing matters in the minds of the customer.
So, does that mean brands completely stop communicating with their audiences?
Absolutely not. But these are sensitive times. Companies who are unapologetically trying to hard-sell their products are fighting a losing battle with today’s well-aware customer.
The first to go down the drain were companies promoting false claims that their products are anti-coronavirus — these include companies manufacturing sanitizers, masks, and even mattresses. Misrepresentation with a myopic vision to boost sales is nothing short of a suicide mission.
Source: Twitter
Neither is fear-mongering to create panic amidst extraordinary circumstances.
Instead of exploiting fear and trying to capitalize on the crisis, brands should leverage the platform to make a real connection with their audiences.
Remember, customers today are much more aware and savvier in the age of information. Social media platforms are a two-way street, and you could face a backlash openly across mediums if you are seen opportunistic.
So, How should you go about communicating then?
First things first, stop your regular marketing communications. The circumstances today are anything but ordinary and brand conversations cannot be impervious to them.
The first step we did at TheSeasonedStorytellers when the lockdown was announced was to pause and go back to our client’s content calendars to check if they were still relevant.
Hit pause, and reflect. What does your brand offer? Are they essential? How can they make your customer’s lives easier during this time of crisis? If these answers lead you to a logical messaging, then excellent, reframe your communications along the new lines of thought and distribute it across mediums.
If they don’t and you genuinely find a gap between your current offerings, then don’t force-fit your product.
Practice empathy
Listen to your customers and make an effort to understand their position. Turn the narrative away from selling your offering and keep the spotlight on the customer instead. Communicate what is valuable to the customer.
Reach out to them only if you and your solutions can help them without adding to their woes. And even when you do, stick to the facts — realistic communications over aspiration or idealistic brand messages at such times.
If you do not find a connection, take a different approach to reach out to your customers. Educate them, uplift their moods, make their lives easier, and win their trust. Revolve your messaging around the current scenario, of how they can protect themselves or their loved ones, curate a list of reliable sources they can trust, and tell your customers, “You understand their situation, and you are there for them.” Period. In the long run, it shall pay more dividends than closing a sale today.
Intentions matter
Refrain from virtue-signaling in times of crisis. The intentions behind your communications become evident in testing times. Make sure you are very clear with the “why.” Does this communication help your brand recall or puts to ease a customer’s worry? Think this through thoroughly, because it can make or break brands.
Your objective in a crisis is purely to build an audience and make them stay — nothing more, nothing less.
A few examples of brands genuinely reaching out to make a difference that I came across
Be transparent
Transparency holds true for every stakeholder. Customer’s loyalty to a brand is not just based on how you treat them, but also on how you manage your own employees, suppliers, and partners. Be transparent in your communications with every stakeholder.
Everyone’s resources are stretched thin currently, and your hands might be tied in terms of the extent of the support you can extend to them. But that is immaterial. Your brand’s legacy will depend on how you treat your stakeholders. Keep the communications open, address their anxieties, optimize your resources the best way possible, and avoid chest-thumping these initiatives.
While the lockdown maybe for 21 days, the undercurrents of the impact will still be felt by businesses for much longer. Unlike recessions in the past, there is no visibility of the end as the virus continues to spread rapidly.
Do not stop marketing altogether. But now is the time to show that your brand is more than just a profiteering machine out to make money. Show that you care, mobilize your communities to stay positive, and hope that the community remembers your efforts once the crisis passes. | https://beingmeraklis.medium.com/marketing-in-the-time-of-crisis-8d62d10be658 | ['Shwetha Sivaraman'] | 2020-04-08 02:41:04.294000+00:00 | ['Marketing', 'Crisis Communications', 'Coronavirus', 'Brand Strategy', 'Communication'] | Title Marketing time crisisContent Photo Campaign Creators Unsplash outbreak novel coronavirus brought world standstill individual healthcare professional business scramble come term new normal several country imposing stringent lockdown business find precarious position revenue coming keep afloat company could quickly switch online aiming earn passive income accepting order fulfill lockdown lifted significant majority luxury Even online medium place order environment conducive customer even consider shopping anything nonessential Brands quickly adapted changing scenario used hardfound link offering pandemic faced brickbat customer insensitive profiteering opportunistic Source Twitter Organizations seem facing doubleedged sword one end facing unprecedented decline revenue acute financial crunch end facing severe scrutiny marketing communication advertising time crisis Let’s face scenario opportunity marketeer maximize upon pressing matter mind customer mean brand completely stop communicating audience Absolutely sensitive time Companies unapologetically trying hardsell product fighting losing battle today’s wellaware customer first go drain company promoting false claim product anticoronavirus — include company manufacturing sanitizers mask even mattress Misrepresentation myopic vision boost sale nothing short suicide mission Source Twitter Neither fearmongering create panic amidst extraordinary circumstance Instead exploiting fear trying capitalize crisis brand leverage platform make real connection audience Remember customer today much aware savvier age information Social medium platform twoway street could face backlash openly across medium seen opportunistic go communicating First thing first stop regular marketing communication circumstance today anything ordinary brand conversation cannot impervious first step TheSeasonedStorytellers lockdown announced pause go back client’s content calendar check still relevant Hit pause reflect brand offer essential make customer’s life easier time crisis answer lead logical messaging excellent reframe communication along new line thought distribute across medium don’t genuinely find gap current offering don’t forcefit product Practice empathy Listen customer make effort understand position Turn narrative away selling offering keep spotlight customer instead Communicate valuable customer Reach solution help without adding woe even stick fact — realistic communication aspiration idealistic brand message time find connection take different approach reach customer Educate uplift mood make life easier win trust Revolve messaging around current scenario protect loved one curate list reliable source trust tell customer “You understand situation them” Period long run shall pay dividend closing sale today Intentions matter Refrain virtuesignaling time crisis intention behind communication become evident testing time Make sure clear “why” communication help brand recall put ease customer’s worry Think thoroughly make break brand objective crisis purely build audience make stay — nothing nothing le example brand genuinely reaching make difference came across transparent Transparency hold true every stakeholder Customer’s loyalty brand based treat also manage employee supplier partner transparent communication every stakeholder Everyone’s resource stretched thin currently hand might tied term extent support extend immaterial brand’s legacy depend treat stakeholder Keep communication open address anxiety optimize resource best way possible avoid chestthumping initiative lockdown maybe 21 day undercurrent impact still felt business much longer Unlike recession past visibility end virus continues spread rapidly stop marketing altogether time show brand profiteering machine make money Show care mobilize community stay positive hope community remembers effort crisis passesTags Marketing Crisis Communications Coronavirus Brand Strategy Communication |
1,914 | Top Movies, Videos, Books, and Podcast Recommendations That Got Us Through 2020 | As we’re getting close to ending what was one rollercoaster of a year, we’ve decided to pay an ode to our faithful companions. Companions who kept our spirits up during the endless days of lockdown restrictions and social distancing. Here’s a round-up of the most interesting books, movies, videos, documentaries, podcasts, and articles that provided us with much-needed mental stimulation.
Must Watch Movies and Documentaries of 2020
One can merely stand back and express awe at this 105-year-old artist who’s been active for much of the past century, but sold her first painting in 2004 at the age of 89! Watch Carmen Herrera’s inspiring story to learn how to value your artistic talents from within, sans validation from the outside world. If there’s one thing Ms. Herrera teaches us, it is that the secret to finding happiness is to keep doing more of what you love, no matter what.
The Social Dilemma talks about the consequences of our growing dependence on social media — the way it influences what we see, read, and going by that, the way we think. This documentary created is worthy of the buzz it created and the conversations it provoked when it was released this year.
Milton Glaser, the man behind the iconic I ♥ NY design is remembered for his sublime graphics as he is for his thoughtful reflections on the role of design as a whole. This wonderful documentary takes viewers on a journey through Glaser’s personal life, his creative process, and his lasting design legacy.
Must-Read Articles and Papers in 2020
Designing the right solution calls for identifying the right problem to solve, before anything else. Therefore, it is of utmost importance to frame the problem well. One can only do that by asking the right questions, the answers to which lead to framing the right problem to solve. This short article lists out those pertinent questions.
The design process begins with research or the discovery phase. This is the phase that sets the tone for the entire process to follow. Roadblocks in this stage can muddle the rest of the process, sometimes irreparably so. These 10 experiments throw light on how you can manage to offset those glitches.
Bad decisions can be attributed to a variety of reasons — unclear alternatives, lack of data, or more. But sometimes the fault does lie in the hands of the decision-maker itself. This paper details 8 psychological traps that are particularly likely to affect the way we make business decisions, and how to steer clear of them.
Videos/Series
In this video, product discovery coach, Teresa Torres talks about placing different into context and help product teams know what to use when. As designers, we continue to explore the best way to help us prioritize user needs, discover unmet needs, and develop solutions that address those needs. This video helps in figuring out the best way to accomplish that.
Can you boost you creativity by doing nothing? Noted designer, Stefan Sagmeister certainly believes so and tells you how in this video. The daily humdrum of our working leaves us with minimal time to refresh our energies which actually dulls the creative brain. Taking time off is more necessary than you think — it renews your creative faculties, helps you engage with new influences, and improve your output.
There are little to no chances of anyone in the design profession to have missed this series. But in case you’re among those rare beings, do give it a watch. The series chronicles eight of the most innovative designers working today in fashion, art, cars, and more and learn how design impacts every aspect of life and shapes our world today. From Tinker Hatfield — the mind behind the most popular Nike Jordans ever sold and the first self-lacing sneakers to graphic designer Paula Scher, you’ll find the most awesome creative profiles out there.
Top Podcast Recommendations of 2020
99% Invisible is like an ode to the definitive quality of good design, invisibility. This series takes you behind the most intriguing origins of products and services that have seamlessly blended themselves into our lives such as Murphy’s beds, highways, coin mints, and more.
Design Matters is one of the oldest and most revered podcasts that started out as a radio show in 2004. Ever since, it has been having insightful conversations with the most brilliant creative minds of our time, including actors, musicians, writers, architects, art historians, and more, besides designers across disciplines.
AID is a fun, happy, every day show that talks about everything under the (design) sun. From pathbreaking design to dealing with real-life design challenges, this podcast covers all the topics concerning the discipline and its professionals. The conversations are fun, humorous, and practical, and you’re sure to find something that delights you every day.
Books
The title says it all, doesn’t it? Every designer ought to read this book, even if they think they’re expert communicators. Talking to stakeholders and communicating the value of design is a tightrope walk for many. This book proffers doable tips, tactics, and actionable methods to talk the talk when it comes to prepping and presenting your designs.
Winner of the Nobel Prize in Economics, Daniel Kahneman, takes us through a remarkable journey of the mind, revealing the two systems that drive the way we think. The first — fast, intuitive, and emotional, the second — slower, more deliberative, and more logical. The catch is knowing how the two systems shape our judgments and decisions. A true classic!
The Effortless Experience is a definitive mind reader of customers and is relatable at every level. Here’s an excerpt: Loyalty is driven by how well a company delivers on its basic promises and solves day-to-day problems, not on how spectacular its service experience might be. Most customers don’t want to be “wowed”; they want an effortless experience. And they are far more likely to punish you for bad service than to reward you for good service. Need we say more?
2020 is going to be a memorable experience for all of us. It packed in enough action and bumps to last us for another 5 years at the very least. What kept us sane were these fine pieces of content and entertainment which led us to think and expand our creative horizons. Do make sure you share your recommendations in the comments section! | https://medium.com/nyc-design/top-movies-videos-books-and-podcast-recommendations-that-got-us-through-2020-a99fc5acbac3 | ['Bansi Mehta'] | 2020-12-28 06:38:34.354000+00:00 | ['UI Design', 'User Experience', 'Design', 'UX Design', 'New York'] | Title Top Movies Videos Books Podcast Recommendations Got Us 2020Content we’re getting close ending one rollercoaster year we’ve decided pay ode faithful companion Companions kept spirit endless day lockdown restriction social distancing Here’s roundup interesting book movie video documentary podcasts article provided u muchneeded mental stimulation Must Watch Movies Documentaries 2020 One merely stand back express awe 105yearold artist who’s active much past century sold first painting 2004 age 89 Watch Carmen Herrera’s inspiring story learn value artistic talent within sans validation outside world there’s one thing Ms Herrera teach u secret finding happiness keep love matter Social Dilemma talk consequence growing dependence social medium — way influence see read going way think documentary created worthy buzz created conversation provoked released year Milton Glaser man behind iconic ♥ NY design remembered sublime graphic thoughtful reflection role design whole wonderful documentary take viewer journey Glaser’s personal life creative process lasting design legacy MustRead Articles Papers 2020 Designing right solution call identifying right problem solve anything else Therefore utmost importance frame problem well One asking right question answer lead framing right problem solve short article list pertinent question design process begin research discovery phase phase set tone entire process follow Roadblocks stage muddle rest process sometimes irreparably 10 experiment throw light manage offset glitch Bad decision attributed variety reason — unclear alternative lack data sometimes fault lie hand decisionmaker paper detail 8 psychological trap particularly likely affect way make business decision steer clear VideosSeries video product discovery coach Teresa Torres talk placing different context help product team know use designer continue explore best way help u prioritize user need discover unmet need develop solution address need video help figuring best way accomplish boost creativity nothing Noted designer Stefan Sagmeister certainly belief tell video daily humdrum working leaf u minimal time refresh energy actually dulls creative brain Taking time necessary think — renews creative faculty help engage new influence improve output little chance anyone design profession missed series case you’re among rare being give watch series chronicle eight innovative designer working today fashion art car learn design impact every aspect life shape world today Tinker Hatfield — mind behind popular Nike Jordans ever sold first selflacing sneaker graphic designer Paula Scher you’ll find awesome creative profile Top Podcast Recommendations 2020 99 Invisible like ode definitive quality good design invisibility series take behind intriguing origin product service seamlessly blended life Murphy’s bed highway coin mint Design Matters one oldest revered podcasts started radio show 2004 Ever since insightful conversation brilliant creative mind time including actor musician writer architect art historian besides designer across discipline AID fun happy every day show talk everything design sun pathbreaking design dealing reallife design challenge podcast cover topic concerning discipline professional conversation fun humorous practical you’re sure find something delight every day Books title say doesn’t Every designer ought read book even think they’re expert communicator Talking stakeholder communicating value design tightrope walk many book proffer doable tip tactic actionable method talk talk come prepping presenting design Winner Nobel Prize Economics Daniel Kahneman take u remarkable journey mind revealing two system drive way think first — fast intuitive emotional second — slower deliberative logical catch knowing two system shape judgment decision true classic Effortless Experience definitive mind reader customer relatable every level Here’s excerpt Loyalty driven well company delivers basic promise solves daytoday problem spectacular service experience might customer don’t want “wowed” want effortless experience far likely punish bad service reward good service Need say 2020 going memorable experience u packed enough action bump last u another 5 year least kept u sane fine piece content entertainment led u think expand creative horizon make sure share recommendation comment sectionTags UI Design User Experience Design UX Design New York |
1,915 | How Glossier tapped into customer empathy to build a $1.2 billion brand | How has the company been able to reach these levels of success? With a direct, authentic 1:1 relationship with customers.
The value proposition Glossier brings to the table is the extra-special attention individuals receive in every interaction, perfectly serving what they hear about others’ requests.
For instance, Glossier allows customers the ability to FaceTime representatives to ask questions about products they may not have time to test in-person. The team has also created a rep-based program to reward those who create social content for their products — flying out top-performers to shadow Glossier’s offices and collaborate with their product and creative teams.
Image source: Run UK
2. Involve the customer at every stage.
At Glossier, the customer is king (and rightfully so). According to Weiss, the company’s success has been largely attributed to involving customers at every stage of the product lifecycle.
For instance, initial ideas for one of Glossier’s earliest products — the Milky Jelly cleanser — originated by asking consumers about their dream face wash. Questions asked pinpointed ingredients individuals were looking for, the kind of texture people looked for in a cleanser, and names of actors who would play the cleanser in a movie (spoiler: Eddie Redmayne got top pick).
Image source: Run UK
“Their responses proved they have really smart and educated opinions around beauty. You should never underestimate the consumer.” — Emily Weiss
From there, the surge of valuable suggestions were sent straight to chemists in Glossier’s lab. It was invaluable towards crafting the perfect product and the team was able to collect product needs they hadn’t thought of on their own: a travel-friendly pump, absence of fragrance, and a balanced pH level.
Today, the Milky Jelly cleanser is a top-selling product and has also been dubbed as one of the best cleansers of all-time by Cosmopolitan, Allure, ManRepeller, and Elle Magazine. The team has also since then applied this approach to other products such as the Priming Moisturizer Rich cream, Cloud Paint eyeshadow and blush palettes, and Glossier You fragrance.
3. Promote authentic conversations.
When Weiss was working at major beauty editors such as Vogue in her pre-Glossier days, she was often asked for advice on how to create engagement based on her experience as a beauty blogger.
Her answer was always to cut the gimmicks and simply involve readers. Ultimately, she learned that customers are micro-influencers for their own circles—it’s imperative to lend a huge voice to those who deserve it in the company that you build. | https://uxdesign.cc/how-glossier-tapped-into-customer-empathy-to-build-a-1-2-billion-brand-f4fa1e36b826 | ['Michelle Chiu'] | 2020-11-02 16:15:29.003000+00:00 | ['Marketing', 'Branding', 'Design', 'UX', 'Tech'] | Title Glossier tapped customer empathy build 12 billion brandContent company able reach level success direct authentic 11 relationship customer value proposition Glossier brings table extraspecial attention individual receive every interaction perfectly serving hear others’ request instance Glossier allows customer ability FaceTime representative ask question product may time test inperson team also created repbased program reward create social content product — flying topperformers shadow Glossier’s office collaborate product creative team Image source Run UK 2 Involve customer every stage Glossier customer king rightfully According Weiss company’s success largely attributed involving customer every stage product lifecycle instance initial idea one Glossier’s earliest product — Milky Jelly cleanser — originated asking consumer dream face wash Questions asked pinpointed ingredient individual looking kind texture people looked cleanser name actor would play cleanser movie spoiler Eddie Redmayne got top pick Image source Run UK “Their response proved really smart educated opinion around beauty never underestimate consumer” — Emily Weiss surge valuable suggestion sent straight chemist Glossier’s lab invaluable towards crafting perfect product team able collect product need hadn’t thought travelfriendly pump absence fragrance balanced pH level Today Milky Jelly cleanser topselling product also dubbed one best cleanser alltime Cosmopolitan Allure ManRepeller Elle Magazine team also since applied approach product Priming Moisturizer Rich cream Cloud Paint eyeshadow blush palette Glossier fragrance 3 Promote authentic conversation Weiss working major beauty editor Vogue preGlossier day often asked advice create engagement based experience beauty blogger answer always cut gimmick simply involve reader Ultimately learned customer microinfluencers circles—it’s imperative lend huge voice deserve company buildTags Marketing Branding Design UX Tech |
1,916 | Getting Out of My Comfort Zone Made My Depression Worse | The clash could have been avoided
After that initial realization, I was able to pinpoint one major mistake I made in my quest to becoming a better version of myself by moving thousands of kilometers away from my comfort zone: I neglected to work on my self-awareness first.
In an interview with Forbes, Andy Molinski, author of the book Reach: A New Strategy to Help You Step Outside Your Comfort Zone, Rise to the Challenge and Build Confidence, says the best way to successfully get out of your comfort zone without negatively affecting yourself is to start with small actions that match your personality. Overall, start with something that makes sense to you at the moment:
The first steps, I believe, should be small and doable. Instead of jumping right into speaking at an industry event, sign up for a public speaking class. Instead of speaking up in the boardroom, start by speaking up in smaller meetings with peers to see how it feels.
Molinski calls this “customization”, which is the ability to take into consideration your own quirks when performing a certain task and adjusting it so it doesn’t feel too uncomfortable or unnatural for you.
Psychology professor Art Markman also shared his thoughts with Fast Company on the importance of self-awareness before deciding how far you should stretch yourself when looking for opportunities to grow by venturing into the unknown:
“Since you can’t really change where your own sweet spot falls, you simply need to get to know yourself: (For example) Are you able to get a lot done without much prompting, or do you need lots of help to energize yourself before getting down to work?”
If I had been more self-aware before deciding to just board a plane away from everything and everyone, I would have known that a big move wasn’t what I needed to feel better and that it was more than I could handle at the time. I stretched myself too far when I didn’t have the right tools to do so. | https://medium.com/invisible-illness/getting-out-of-my-comfort-zone-made-my-depression-worse-3000b8cfdaf7 | ['Mariana F.'] | 2020-10-31 19:49:32.234000+00:00 | ['Depression', 'Comfort Zone', 'Mental Health', 'Self-awareness', 'Anxiety'] | Title Getting Comfort Zone Made Depression WorseContent clash could avoided initial realization able pinpoint one major mistake made quest becoming better version moving thousand kilometer away comfort zone neglected work selfawareness first interview Forbes Andy Molinski author book Reach New Strategy Help Step Outside Comfort Zone Rise Challenge Build Confidence say best way successfully get comfort zone without negatively affecting start small action match personality Overall start something make sense moment first step believe small doable Instead jumping right speaking industry event sign public speaking class Instead speaking boardroom start speaking smaller meeting peer see feel Molinski call “customization” ability take consideration quirk performing certain task adjusting doesn’t feel uncomfortable unnatural Psychology professor Art Markman also shared thought Fast Company importance selfawareness deciding far stretch looking opportunity grow venturing unknown “Since can’t really change sweet spot fall simply need get know example able get lot done without much prompting need lot help energize getting work” selfaware deciding board plane away everything everyone would known big move wasn’t needed feel better could handle time stretched far didn’t right tool soTags Depression Comfort Zone Mental Health Selfawareness Anxiety |
1,917 | Better Iteration in Python— 6 Ways to Filter Iterables | 5. Conditional Abortion
Suppose that you start with an iterable, and for particular business needs, you need to iterate it and the iteration doesn’t stop until some condition is met. In this case, you should consider using a function called takewhile, which is also a higher-order function that is available in the itertools module. Let’s see its usage with some example code before I explain it to you.
Use of takewhile Function
In the above code, we have a stream of HTTP responses with the code and data saved. We want to log all valid responses until we encounter an error. To do that, we use the takewhile function with a predicate or evaluation function lambda x: x[0] == 200 , which means that the iteration will continue to run until the first element in the iterator can’t satisfy this evaluation criterion. In our case, the first three elements are eligible, while the fourth one isn’t. Thus, the iteration will abort at the fourth position.
One thing that can be confusing to beginners is how it’s different from the filter function. The filter function will go over the entire iterable and keep all the elements that pass the evaluation criterion. By contrast, the takewhile function has the conditional abortion feature, and it will stop the iteration completely once the next item evaluates True for the predicate. | https://medium.com/swlh/better-iteration-in-python-6-ways-to-filter-iterables-dde6c8969f89 | ['Yong Cui'] | 2020-06-26 15:01:01.449000+00:00 | ['Python', 'Artificial Intelligence', 'Technology', 'Data Science', 'Programming'] | Title Better Iteration Python— 6 Ways Filter IterablesContent 5 Conditional Abortion Suppose start iterable particular business need need iterate iteration doesn’t stop condition met case consider using function called takewhile also higherorder function available itertools module Let’s see usage example code explain Use takewhile Function code stream HTTP response code data saved want log valid response encounter error use takewhile function predicate evaluation function lambda x x0 200 mean iteration continue run first element iterator can’t satisfy evaluation criterion case first three element eligible fourth one isn’t Thus iteration abort fourth position One thing confusing beginner it’s different filter function filter function go entire iterable keep element pas evaluation criterion contrast takewhile function conditional abortion feature stop iteration completely next item evaluates True predicateTags Python Artificial Intelligence Technology Data Science Programming |
1,918 | News: Medium Has Lost Its Way | News: Medium Has Lost Its Way
Prepping for a giant loaf of white bread in my future dashboard
Photo by Laura Ockel on Unsplash
Medium has always maintained a ‘no clickbait’ policy as long as I’ve been a member. But somehow they’ve lost their way in the basic human behavior department. The latest change in distribution is likely the large reason most of us have lost reader traffic overnight.
This is a change all Medium writers must be aware of.
In yesterday’s story from the Medium blog, this article digs deep into their ‘clickbait’ policy. And overreaching it has become.
The actual definition of clickbait is to use sensational, misleading language to encourage a reader click a link. This link leads to a video, story, or ad that has nothing to do with the text in the link. Medium’s new stance appears to take this to such an extreme level that all basic copywriting strategies will soon be in question.
Hence, prepare for a whole pile of stories with titles that read like the owner’s manual for an ’86 Oldsmobile.
Medium is cracking-down on the distribution and curation of stories with titles they deem as clickbait. I’d argue to say this could include any title that would actually grab your reader’s attention.
I mean we’re talking (these are direct quotes from the story above):
Is the title trying to exploit a reader’s personal worries, insecurities, or emotional state?
Is the title or story image more provocative than the content of the story merits?
Is the title over-reaching or over-promising with hyperbolic claims or absolutes that are not verifiable?
Is the title withholding important context; misleading the reader; or using clichés, gimmicks, or cheap language?
At the surface these all sound like improvements. But this list is a direct gateway into shutting-out some fantastic, creative titles that encourage readers to open your content.
Good writers understand this.
As writers it’s our job to encourage people to open and read or content.
If your title doesn’t tickle the reader’s emotions and place an unanswered question in her mind, she won’t open your story. Period. This isn’t about lying or deception. I’m not advocating actual clickbait. This is about creative wordplay in order to continue the dance with the reader.
Creative titles are a dance readers welcome.
We want to be amazed. We want to open stories with unanswered questions. Nobody wants to read a story with a title “How to Turn a Discarded Stuffed Animal into a Dog Toy.” Bo-ring! But you can bet she’ll open “A Free and Clever Way to Entertain Your Furry Friend With Household Waste”
This second title is not clickbait. It’s copywriting. And there’s a Grand Canyon’s difference between the two.
The story would describe exactly what the title promised. But it would fail Medium’s test. You can’t infer your reader’s emotional state (don’t you dare say this is clever. It’s now only your reader’s decision to decide it’s clever). You can’t use ‘cheap language’ (which could mean anything), so the ‘household garbage’ bit is out too. We probably can’t say ‘furry friend’ either, because someone might get butt-hurt that humans could possibly be friends with an animal.
I’m worried.
I realize this is an extreme take on their clickbait stance, but the requirements are so overreaching almost any interesting title could tumble into the rejected net.
When faced with a glut of over-choice and ever-changing content, the reader will choose a story that strikes her core emotions and wants. A title that stirs fascination. A title that begs to be clicked to find out the answer to an unanswered questions.
Our brains are hard-wired to close open-loops.
Following Medium’s new direction of ‘reader engagement’ and super-wokeness, the home page is about to be wallpapered with white bread and saltines. The most-popular stories are soon to be the ‘stomach flu’ diet of content.
…and it gets better.
This new change in reader engagement now says it’s OK for writers to ask readers for claps and feedback. This has been a no-no forever. Since we don’t get paid for claps anymore, it’s now OK to ask for cheap, forced replies from readers, but we can’t give them a compelling reason to open the story in the first place?
There is some light, however.
I don’t want to leave you with a total rant and not end on a high note. Medium’s new changes apply to their distribution standards-only. This means you can still use any title you wish (and get paid for it). This is the path I choose. But if you want your story curated for broad distribution outside your following, be prepared for white bread and saltines.
I hope our stories don’t come to this, but at least you’re aware.
We’re waiting for you. | https://medium.com/the-book-mechanic/news-medium-has-lost-its-way-3a6eb45dbdf8 | ['August Birch'] | 2020-12-10 18:11:28.224000+00:00 | ['Medium', 'Marketing', 'Life', 'Life Lessons', 'Writing'] | Title News Medium Lost WayContent News Medium Lost Way Prepping giant loaf white bread future dashboard Photo Laura Ockel Unsplash Medium always maintained ‘no clickbait’ policy long I’ve member somehow they’ve lost way basic human behavior department latest change distribution likely large reason u lost reader traffic overnight change Medium writer must aware yesterday’s story Medium blog article dig deep ‘clickbait’ policy overreaching become actual definition clickbait use sensational misleading language encourage reader click link link lead video story ad nothing text link Medium’s new stance appears take extreme level basic copywriting strategy soon question Hence prepare whole pile story title read like owner’s manual ’86 Oldsmobile Medium crackingdown distribution curation story title deem clickbait I’d argue say could include title would actually grab reader’s attention mean we’re talking direct quote story title trying exploit reader’s personal worry insecurity emotional state title story image provocative content story merit title overreaching overpromising hyperbolic claim absolute verifiable title withholding important context misleading reader using clichés gimmick cheap language surface sound like improvement list direct gateway shuttingout fantastic creative title encourage reader open content Good writer understand writer it’s job encourage people open read content title doesn’t tickle reader’s emotion place unanswered question mind won’t open story Period isn’t lying deception I’m advocating actual clickbait creative wordplay order continue dance reader Creative title dance reader welcome want amazed want open story unanswered question Nobody want read story title “How Turn Discarded Stuffed Animal Dog Toy” Boring bet she’ll open “A Free Clever Way Entertain Furry Friend Household Waste” second title clickbait It’s copywriting there’s Grand Canyon’s difference two story would describe exactly title promised would fail Medium’s test can’t infer reader’s emotional state don’t dare say clever It’s reader’s decision decide it’s clever can’t use ‘cheap language’ could mean anything ‘household garbage’ bit probably can’t say ‘furry friend’ either someone might get butthurt human could possibly friend animal I’m worried realize extreme take clickbait stance requirement overreaching almost interesting title could tumble rejected net faced glut overchoice everchanging content reader choose story strike core emotion want title stir fascination title begs clicked find answer unanswered question brain hardwired close openloops Following Medium’s new direction ‘reader engagement’ superwokeness home page wallpapered white bread saltine mostpopular story soon ‘stomach flu’ diet content …and get better new change reader engagement say it’s OK writer ask reader clap feedback nono forever Since don’t get paid clap anymore it’s OK ask cheap forced reply reader can’t give compelling reason open story first place light however don’t want leave total rant end high note Medium’s new change apply distribution standardsonly mean still use title wish get paid path choose want story curated broad distribution outside following prepared white bread saltine hope story don’t come least you’re aware We’re waiting youTags Medium Marketing Life Life Lessons Writing |
1,919 | Don’t let 2021 start without a solid publishing plan. | Don’t let 2021 start without a solid publishing plan. Now is the time to gab a piece of paper and flesh-out your writing plan for next year. Don’t wait until January.
January becomes July, then November. Then your here. A year later. Wondering why your audience hasn’t grown.
Make a plan now, as the year winds-down. Look at what worked for you. Do more of that. Look at what didn’t work and do less of that.
This story may help too:
Enroll in my Free Email Masterclass. Get Your First 1,000 Subscribers | https://medium.com/the-book-mechanic/dont-let-2021-start-without-a-solid-publishing-plan-c0da819220f0 | ['August Birch'] | 2020-12-16 15:19:36.358000+00:00 | ['Medium', 'Marketing', 'Money', 'Life Lessons', 'Writing'] | Title Don’t let 2021 start without solid publishing planContent Don’t let 2021 start without solid publishing plan time gab piece paper fleshout writing plan next year Don’t wait January January becomes July November year later Wondering audience hasn’t grown Make plan year windsdown Look worked Look didn’t work le story may help Enroll Free Email Masterclass Get First 1000 SubscribersTags Medium Marketing Money Life Lessons Writing |
1,920 | 3 to read: Pokemon Go & newsrooms | Who defines your startup’s success? | 3 to read: Pokemon Go & newsrooms | Who defines your startup’s success? | Why stats stink (w bad drawings)
By Matt Carroll <@MattatMIT>This week:
This week: How Pokemon Go will help usher in an era of “augmented reality” stories for newsrooms; don’t let outside expectations define your news startup’s success; and hey, let’s laugh a bit — some bad cartoons about how lyin’ stats.
Get notified via email: Send note to 3toread (at) gmail.com
“3 to read” online
Matt Carroll runs the Future of News initiative at the MIT Media Lab. | https://medium.com/3-to-read/3-to-read-pokemon-go-newsrooms-who-defines-your-startups-success-b6b8cae71dbc | ['Matt Carroll'] | 2016-07-20 12:22:57.351000+00:00 | ['Journalism', 'Startup', 'Media', 'Pokemon Go', 'Statistics'] | Title 3 read Pokemon Go newsroom defines startup’s successContent 3 read Pokemon Go newsroom defines startup’s success stats stink w bad drawing Matt Carroll MattatMITThis week week Pokemon Go help usher era “augmented reality” story newsroom don’t let outside expectation define news startup’s success hey let’s laugh bit — bad cartoon lyin’ stats Get notified via email Send note 3toread gmailcom “3 read” online Matt Carroll run Future News initiative MIT Media LabTags Journalism Startup Media Pokemon Go Statistics |
1,921 | Pursuing Your Passions Doesn’t Have to Be About Profits | “Turn your passion into a money-making opportunity.” How many times have you heard that? Bloggers, YouTubers, and life coaches love to tout this idea as a great solution to our financial woes. The “side-hustle” and the “gig economy” are all ways to do this, people say.
Most of the time, I just want to relax, and express myself creatively. When did my hobbies become about monetization? Well, when wages started to stagnate, student loans went unpaid, and retirement seemed impossible. That’s when.
It’s when the notion of always hustling took over. Having a nine-to-five is great. Steady employment with a stable income is something many of us want. But sometimes it’s not enough. With almost six figures of student loan debt and little income coming in, I understand this.
I fill my free-time with low-paying jobs on Upwork and other content mills. I write basic ad copy for $.05 a word. I constantly plan and re-plan about how I can use my skills to make more money. Should I start a blog? A Youtube channel? A digital marketing firm? And I try to upskill as much as possible, so I never have to rely (and therefore pay) others for their share of the work.
This all helps me earn more income, but it also has a negative effect: I can never enjoy my passion or even relax.
When I try to write for fun, my brain freezes up. The guilt settles in and I get writer’s block. I look at my money making goals and realize there is no time for silly little stories.
Moreover, whenever I have downtime and decide to flip on Netflix or complete a puzzle, my anxiety kicks in. A voice in the back of my head tells me I’m wasting time, not trying hard enough. A heavy weight forms in the pit of my stomach, making it hard to unwind. And the harder I try, the worst the feeling gets.
But studies have shown us, again and again, that relaxation is important to function as a normal person. Relaxing and working less resets stress levels, makes it easier to sleep, and boosts creativity. All the things we should want during our normal, productive hours.
This is proven in studies, but also is true anecdotally: The more I try and force productivity, the less productive I become. But it’s so engrained in me to think it’s never enough.
So how can we shake it?
It’s hard when we constantly consume media about the hustlers and the entrepreneurs out there making huge salaries off their passions. We want to be like them, earning good money for doing what we love.
But when we force something so much, it no longer becomes enjoyable. Writing no longer became something I enjoyed because I was no longer writing what I liked. I was writing for companies and people I will never meet and who will replace me in a heartbeat, for a better price.
It’s taken several years for me to realize what has happened. I’ve been so consumed with becoming that person, I forgot what it’s like to enjoy my passion. To enjoy writing and do it for fun. I don’t have the answers on how to fully shake it, but I do know what works for me.
Set Boundaries
I have set boundaries with myself. When and where I am allowed to work. It varies each day, but no more than eight hours a day, like a normal person. If it’s been eight hours, I am not allowed to work. Or think about working. Or feel guilty for not working. This allows me time to relax, be active, or write for fun. It hasn’t totally stopped the guilty feeling, but it reduces it significantly.
Meditate
I used to hate the idea of meditation. Sitting in silence is just another way of being unproductive. But now I’ve embraced in and realized how great it can be. Not only does it increase my creativity, it also has great physiological affects. I mostly do moving meditation to engage my body as well as my mind. Even a few minutes a day helps clear the negativity taking space in my mind.
Enjoy My Passion Again
Another thing I’ve finally started to do again was write without purpose. I’ve upgraded the wide-ruled paper with a keyboard and a blank Word doc. For November, I am participating in NaNoWriMo, a month-long project to finish a novel. Thousands of people around the world join each year with the goal to write 50,000 words in a month. Some people are very competitive, but most are just in it for fun, like me. So far, I am very far behind at only 6,500 words. But I don’t care. Because I have finally embraced the creative writing I have denied myself for years.
A few days into the month, I started thinking about how I could eventually pitch this novel to publishers. Old habits die hard, I suppose. And someday, I might try and make something out of it. I would love to get paid for my creative storytelling. But for now, I want to focus on the process, not the end goal. I want to feel the joy I used to feel when crafting a story, without profits on my mind.
Because even if I never make a living from my storytelling, it’s still worth pursuing. The joy and calm it provides me is worth more than any dollar amount. It’s time to stop thinking about all our passions as profit-making devices, and start to learn how to embrace being unproductive, even if just for a little bit. | https://medium.com/wholistique/pursuing-your-passions-doesnt-have-to-be-about-profits-788ae8ca024 | ['Ashley Hague'] | 2020-12-04 10:00:20.526000+00:00 | ['Productivity', 'Personal Growth', 'Passion', 'Writing'] | Title Pursuing Passions Doesn’t ProfitsContent “Turn passion moneymaking opportunity” many time heard Bloggers YouTubers life coach love tout idea great solution financial woe “sidehustle” “gig economy” way people say time want relax express creatively hobby become monetization Well wage started stagnate student loan went unpaid retirement seemed impossible That’s It’s notion always hustling took ninetofive great Steady employment stable income something many u want sometimes it’s enough almost six figure student loan debt little income coming understand fill freetime lowpaying job Upwork content mill write basic ad copy 05 word constantly plan replan use skill make money start blog Youtube channel digital marketing firm try upskill much possible never rely therefore pay others share work help earn income also negative effect never enjoy passion even relax try write fun brain freeze guilt settle get writer’s block look money making goal realize time silly little story Moreover whenever downtime decide flip Netflix complete puzzle anxiety kick voice back head tell I’m wasting time trying hard enough heavy weight form pit stomach making hard unwind harder try worst feeling get study shown u relaxation important function normal person Relaxing working le reset stress level make easier sleep boost creativity thing want normal productive hour proven study also true anecdotally try force productivity le productive become it’s engrained think it’s never enough shake It’s hard constantly consume medium hustler entrepreneur making huge salary passion want like earning good money love force something much longer becomes enjoyable Writing longer became something enjoyed longer writing liked writing company people never meet replace heartbeat better price It’s taken several year realize happened I’ve consumed becoming person forgot it’s like enjoy passion enjoy writing fun don’t answer fully shake know work Set Boundaries set boundary allowed work varies day eight hour day like normal person it’s eight hour allowed work think working feel guilty working allows time relax active write fun hasn’t totally stopped guilty feeling reduces significantly Meditate used hate idea meditation Sitting silence another way unproductive I’ve embraced realized great increase creativity also great physiological affect mostly moving meditation engage body well mind Even minute day help clear negativity taking space mind Enjoy Passion Another thing I’ve finally started write without purpose I’ve upgraded wideruled paper keyboard blank Word doc November participating NaNoWriMo monthlong project finish novel Thousands people around world join year goal write 50000 word month people competitive fun like far far behind 6500 word don’t care finally embraced creative writing denied year day month started thinking could eventually pitch novel publisher Old habit die hard suppose someday might try make something would love get paid creative storytelling want focus process end goal want feel joy used feel crafting story without profit mind even never make living storytelling it’s still worth pursuing joy calm provides worth dollar amount It’s time stop thinking passion profitmaking device start learn embrace unproductive even little bitTags Productivity Personal Growth Passion Writing |
1,922 | Managing A Long-Term Ticket: The Never Ending Apollo Upgrade | This upgrade necessarily had me touching large parts of the application. I took this opportunity to do two things. One of those was to familiarize myself with the large swathes of the front-end that I know exist but have not had a chance to work with previously. This project definitely led to me having a far better understanding of the front-end code for our project on the whole.
The other great opportunity I got from seeing and touching so much front-end code, was a side project of modernizing old-style react code. As Tatami/FlooringStores has been an active project for quite a bit now, its existence has spanned multiple paradigms for React. Especially when the application was first being built, class-style components were still quite hot.
Now, as we’re in late 2020, it seems like the move has been to go towards functional components. If there are any class-style components that I end up significantly touching, I also make an effort to convert those to functional components. These refactors have been one of the parts of this ticket that I have most enjoyed.
Lesson Three: Keeping Up To Date With Master
CC4 License, Merge Icon by Daniel Bruce
One of the major challenges I faced about three weeks into the project, was that I realized that I had not been keeping my branch up-to-date with master . This could have caused some big challenges when attempting to merge this whole upgrade in when it is eventually completed, had it not been addressed. The first time I merged in origin/master it was a pretty big mess. It took at least an hour, if not longer, to resolve all of the merge conflicts. After that tough lesson, I started merging in master much more frequently.
Any day where I am working on this ticket, I start that day with the following command git fetch && git merge origin/master . Keeping this branch up-to-date with master can be difficult at times, especially when there are components that have been touched by tickets that were also components that I converted to being a functional style component. Here is a contrived example to demonstrate what I’m talking about.
// Old style class component
Old Style Class Component
// My conversion to functional type
Functional Component
// Merge Conflict
Merge Conflict
This is a bit of a mess to resolve at times, especially for non-contrived, real world examples. Normally what I would do is take whatever methods are on the class and pull them outside to be top-level functions. With the more frequent merges from master , I have been able to catch these problems more quickly.
Conclusion
It’s very important to update your packages, but you might not want to do so at the very first opportunity. It might be worthwhile closing that dependabot PR, or at least putting it on hold for a bit if it’s a major version upgrade.
When you do get around to making that upgrade, use it as a chance to refactor. It really is a great way to get to either learn or re-familiarize yourself with the codebase and is an opportunity to modernize the codebase to current paradigms.
Furthermore, make sure that you keep your branch up to date with your master branch when doing the upgrade. Refactoring, while delightful, can be a bit of a double-edged sword if people are making changes to the components that you are refactoring. This can be dealt with more deftly if you regularly update with master and the changes are not too hard to manage in a merge conflict scenario. | https://medium.com/broadlume-product/managing-a-long-term-ticket-the-never-ending-apollo-upgrade-daa88f0b341e | ['Eli Sadoff'] | 2020-10-21 19:47:16.833000+00:00 | ['Apollo Client', 'Typescript', 'Upgrade', 'Apollo', 'React'] | Title Managing LongTerm Ticket Never Ending Apollo UpgradeContent upgrade necessarily touching large part application took opportunity two thing One familiarize large swathe frontend know exist chance work previously project definitely led far better understanding frontend code project whole great opportunity got seeing touching much frontend code side project modernizing oldstyle react code TatamiFlooringStores active project quite bit existence spanned multiple paradigm React Especially application first built classstyle component still quite hot we’re late 2020 seems like move go towards functional component classstyle component end significantly touching also make effort convert functional component refactors one part ticket enjoyed Lesson Three Keeping Date Master CC4 License Merge Icon Daniel Bruce One major challenge faced three week project realized keeping branch uptodate master could caused big challenge attempting merge whole upgrade eventually completed addressed first time merged originmaster pretty big mess took least hour longer resolve merge conflict tough lesson started merging master much frequently day working ticket start day following command git fetch git merge originmaster Keeping branch uptodate master difficult time especially component touched ticket also component converted functional style component contrived example demonstrate I’m talking Old style class component Old Style Class Component conversion functional type Functional Component Merge Conflict Merge Conflict bit mess resolve time especially noncontrived real world example Normally would take whatever method class pull outside toplevel function frequent merges master able catch problem quickly Conclusion It’s important update package might want first opportunity might worthwhile closing dependabot PR least putting hold bit it’s major version upgrade get around making upgrade use chance refactor really great way get either learn refamiliarize codebase opportunity modernize codebase current paradigm Furthermore make sure keep branch date master branch upgrade Refactoring delightful bit doubleedged sword people making change component refactoring dealt deftly regularly update master change hard manage merge conflict scenarioTags Apollo Client Typescript Upgrade Apollo React |
1,923 | A Guide to Effective Sales and Communication | A Guide to Effective Sales and Communication
Quick tips on how to sell better and get things moving in your organisation.
Photo by Tim Mossholder on Unsplash
The art of selling becomes more prevalent and essential as you progress further in your career or expand your business.
When I started as a developer, I only had to sell solutions to my team. After moving onto a consultant role, I had to sell solutions to my team and clients. Now, being in a management role, I find myself constantly having to sell ideas/solutions to my team, partners/vendors, clients, senior management, and other related stakeholders.
Progress through Sales
I used to have the misconception that management does a lot of talking while the analysts contribute more to the progress of projects and get things done. Having gone through the transition, I’ve started to appreciate the art of sales in contributing to progress.
Below are some examples of progress through sales in a business/team:
Obtain support and buy-in from stakeholders — project proposals and funding requests for new digital initiatives, support from other departments, i.e. branding and marketing, risk assessment, solution implementation, etc.
— project proposals and funding requests for new digital initiatives, support from other departments, i.e. branding and marketing, risk assessment, solution implementation, etc. Offload priorities and venture into new fields — the nature of a digital lean startup is to explore new, potentially disruptive solutions constantly; frequent handovers are required to release capacity for new innovation and ventures.
— the nature of a digital lean startup is to explore new, potentially disruptive solutions constantly; frequent handovers are required to release capacity for new innovation and ventures. Recruit capable team members for expansion — positioning the team’s initiatives, culture and achievements in the right light to attract potentially suitable candidates. This applies to partner engagements as well.
The above examples are some highlights which I profoundly resonate with at this stage of my career. The list goes on — the point is that almost everything I do emphasises on selling effectively.
Enhance Sales and Communication
In my short experience so far, I have found some general guidelines which have been helpful in communicating an idea across better. A large part of selling involves conveying our intents clearly across to the stakeholders.
Here are three tactics to enhance your sales communication:
Appeal to interest — in every conversation or email, always put yourself in the shoes of the recipient and ask “What’s in it for me?”; you can explore putting the question as a placeholder text to guide and contextualise your thoughts. Use visuals, numbers and examples — charts, tables, and statistics are extremely useful in making your case concrete and “legit” — do your homework and reach out to the relevant parties to obtain numbers. Impression plays a great role in getting buy-ins. Keep things short and concise — most important stakeholders are perpetually busy; it’s recommended to begin by going straight to the conclusion/point (address the “What you need from me?” or “What do you suggest?”), and subsequent salient details in point form (limit to about 3). You can include further details and justifications upon request.
Applying the above-mentioned tactics require skills and deliberate practice. You’ll have to constantly put in time and effort in sharpening your sales sword.
I have found these approaches useful in my attempt to get better:
Write frequently and address the right questions — helps to organise, clarify, and guide your thoughts.
— helps to organise, clarify, and guide your thoughts. Seek reviews/feedback iteratively — find someone experienced to review your email or pitch deck drafts to highlight points for improvements.
— find someone experienced to review your email or pitch deck drafts to highlight points for improvements. Read often and see how others do it — to better present information via charts, etc. you can consider looking at examples of how top consulting firms present research information and sell solutions and ideas to senior stakeholders.
Pitfalls to Avoid
It’s also important to bear in mind some of the pitfalls that could negatively affect your progress. Here are three pitfalls which I have faced throughout my journey so far:
Fear, procrastination and not learning from feedback — a large part of sales is jumping in with two feet and dance to whatever music is playing. Without taking action, you won’t get feedback, which results in a lack of learning and improvement.
— a large part of sales is jumping in with two feet and dance to whatever music is playing. Without taking action, you won’t get feedback, which results in a lack of learning and improvement. Ignore the interest of stakeholders — a key challenge is managing and balancing stakeholder’s interest. Often there may be compromises to be made, but it’s ultimately your job as the driver of an initiative to manage the expectations since you’re aware of the big picture. A lack of support from a stakeholder could pose a threat to your objectives.
— a key challenge is managing and balancing stakeholder’s interest. Often there may be compromises to be made, but it’s ultimately your job as the driver of an initiative to manage the expectations since you’re aware of the big picture. A lack of support from a stakeholder could pose a threat to your objectives. Overwhelm someone with information — I realised that when the request is too lengthy, there’s a high chance that it gets ignored and unread; this leads to confusion and the need for reminders and follow-ups, which may prompt further clarification — resulting in unnecessary timeline delays and negatively affecting stakeholder’s interest.
I hope you won’t make the same mistakes I did. | https://medium.com/the-internal-startup/a-guide-to-effective-sales-and-communication-384c5b540a21 | ['Jimmy Soh'] | 2020-06-30 08:19:38.685000+00:00 | ['Entrepreneurship', 'Startup', 'Technology', 'Presentations', 'Communication'] | Title Guide Effective Sales CommunicationContent Guide Effective Sales Communication Quick tip sell better get thing moving organisation Photo Tim Mossholder Unsplash art selling becomes prevalent essential progress career expand business started developer sell solution team moving onto consultant role sell solution team client management role find constantly sell ideassolutions team partnersvendors client senior management related stakeholder Progress Sales used misconception management lot talking analyst contribute progress project get thing done gone transition I’ve started appreciate art sale contributing progress example progress sale businessteam Obtain support buyin stakeholder — project proposal funding request new digital initiative support department ie branding marketing risk assessment solution implementation etc — project proposal funding request new digital initiative support department ie branding marketing risk assessment solution implementation etc Offload priority venture new field — nature digital lean startup explore new potentially disruptive solution constantly frequent handover required release capacity new innovation venture — nature digital lean startup explore new potentially disruptive solution constantly frequent handover required release capacity new innovation venture Recruit capable team member expansion — positioning team’s initiative culture achievement right light attract potentially suitable candidate applies partner engagement well example highlight profoundly resonate stage career list go — point almost everything emphasis selling effectively Enhance Sales Communication short experience far found general guideline helpful communicating idea across better large part selling involves conveying intent clearly across stakeholder three tactic enhance sale communication Appeal interest — every conversation email always put shoe recipient ask “What’s me” explore putting question placeholder text guide contextualise thought Use visuals number example — chart table statistic extremely useful making case concrete “legit” — homework reach relevant party obtain number Impression play great role getting buyins Keep thing short concise — important stakeholder perpetually busy it’s recommended begin going straight conclusionpoint address “What need me” “What suggest” subsequent salient detail point form limit 3 include detail justification upon request Applying abovementioned tactic require skill deliberate practice You’ll constantly put time effort sharpening sale sword found approach useful attempt get better Write frequently address right question — help organise clarify guide thought — help organise clarify guide thought Seek reviewsfeedback iteratively — find someone experienced review email pitch deck draft highlight point improvement — find someone experienced review email pitch deck draft highlight point improvement Read often see others — better present information via chart etc consider looking example top consulting firm present research information sell solution idea senior stakeholder Pitfalls Avoid It’s also important bear mind pitfall could negatively affect progress three pitfall faced throughout journey far Fear procrastination learning feedback — large part sale jumping two foot dance whatever music playing Without taking action won’t get feedback result lack learning improvement — large part sale jumping two foot dance whatever music playing Without taking action won’t get feedback result lack learning improvement Ignore interest stakeholder — key challenge managing balancing stakeholder’s interest Often may compromise made it’s ultimately job driver initiative manage expectation since you’re aware big picture lack support stakeholder could pose threat objective — key challenge managing balancing stakeholder’s interest Often may compromise made it’s ultimately job driver initiative manage expectation since you’re aware big picture lack support stakeholder could pose threat objective Overwhelm someone information — realised request lengthy there’s high chance get ignored unread lead confusion need reminder followup may prompt clarification — resulting unnecessary timeline delay negatively affecting stakeholder’s interest hope won’t make mistake didTags Entrepreneurship Startup Technology Presentations Communication |
1,924 | Write for The Indiependent | Learn how to apply as a contributor to www.indiependent.co.uk
If you’re interested in joining The Indiependent contributor team then all you have to do is send an email to [email protected] with a brief summary of the following:
A little bit about you — including your full (preferred) name, age and where you’re from.
Any previous journalistic experience you have (doesn’t matter if you don’t have any!)
The section(s) that you’re most interested in contributing to out of Music, Books, Film, TV, Gaming, Theatre, Opinion (which includes Politics, Lifestyle, Art, Scientific Interest)
An example of your writing — this can be school or university work if you’ve never written an article before.
We process applications every month so do not worry if you don’t hear from us straight away! Please read our FAQ below before applying and drop us an email us if you have any other questions.
If you’re unsure about anything to do with writing for us then drop us a tweet @indie_pendent or an email — [email protected]
FAQ
If you’ve written for other publications or your own blog before, that’s great, but not something we exclusively look for in applicants. The point of our site is to give aspiring journalists a leg up — we’re here to open doors to people who’ve not written for a site before, therefore it would be pointless if we were to discriminate against applicants depending on their level of experience.
Yes, of course! We currently have writers from Australia, USA and parts of Europe. However, our editorial team is English — please do not submit applications in a language other than English, and bear in mind that we will only accept applicants who comply with our standards of spelling, punctuation and grammar.
We encourage contributors to create their own portfolio sites to showcase their work — we only ask that you link back to The Indiependent site to encourage maximum traffic for your articles. We discourage contributors from submitting articles they’ve written for us to other sites (or vice versa) as usually they will have strict submission policies which state that they do not want to publish or share content from elsewhere. If you’re ever feeling frustrated by how quickly your piece is put live we would advise you to speak to a member of the senior editorial team before you send the piece to another platform to ensure we’ve done everything possible to publish your work in a timely fashion.
We suggest you try and write at least 1 article per month, and have no upper limit regarding how many pieces you can submit. Obviously if you have a busy month because of exams/university or schoolwork, or extenuating personal circumstances (such as illness, or family problems) then our editors will be sympathetic if you do not contribute something in that month. All we ask is you show a continual interest in writing for the site, and we’ll make sure you remain a valued and integral part of our team.
The first thing we will assess is that you have proficient spelling, punctuation and grammar. Make sure you read over your application before you hit send! Then, we’ll look for enthusiasm and flair. If we get lots of applicants for one section, we may be forced to choose between you and someone else (this is especially the case for Music, which is our largest section). Therefore, use this application as an opportunity to sell yourself to us. We don’t want a team of people who are all the same — bring your personality to the fore. | https://medium.com/the-indiependent/write-for-the-indiependent-25cd94f32ca7 | ['Beth Kirkbride'] | 2020-05-11 10:38:14.326000+00:00 | ['The Indiependent', 'Journalism', 'Media', 'Writing', 'Write For Us'] | Title Write IndiependentContent Learn apply contributor wwwindiependentcouk you’re interested joining Indiependent contributor team send email contactusindiependentcouk brief summary following little bit — including full preferred name age you’re previous journalistic experience doesn’t matter don’t section you’re interested contributing Music Books Film TV Gaming Theatre Opinion includes Politics Lifestyle Art Scientific Interest example writing — school university work you’ve never written article process application every month worry don’t hear u straight away Please read FAQ applying drop u email u question you’re unsure anything writing u drop u tweet indiependent email — contactusindiependentcouk FAQ you’ve written publication blog that’s great something exclusively look applicant point site give aspiring journalist leg — we’re open door people who’ve written site therefore would pointless discriminate applicant depending level experience Yes course currently writer Australia USA part Europe However editorial team English — please submit application language English bear mind accept applicant comply standard spelling punctuation grammar encourage contributor create portfolio site showcase work — ask link back Indiependent site encourage maximum traffic article discourage contributor submitting article they’ve written u site vice versa usually strict submission policy state want publish share content elsewhere you’re ever feeling frustrated quickly piece put live would advise speak member senior editorial team send piece another platform ensure we’ve done everything possible publish work timely fashion suggest try write least 1 article per month upper limit regarding many piece submit Obviously busy month examsuniversity schoolwork extenuating personal circumstance illness family problem editor sympathetic contribute something month ask show continual interest writing site we’ll make sure remain valued integral part team first thing ass proficient spelling punctuation grammar Make sure read application hit send we’ll look enthusiasm flair get lot applicant one section may forced choose someone else especially case Music largest section Therefore use application opportunity sell u don’t want team people — bring personality foreTags Indiependent Journalism Media Writing Write Us |
1,925 | Whatsapp Group Chat Analysis with Python | The present analysis is based in the article of Saiteja Kura : Whatsapp Group Chat Analysis using Python and Plotly
Lot of people is using whatsapp, and most of the whatsapp user is in a chat group (toxic or not). Some of us ask ourselves questions like “Why this dude is in the group if never send a message” or “I’m for sure that today nobody will send a message”.
Next steps are based in Saiteja Kura’s work with some modifications due the OS of the phone and convenience. Detailed process can be found there.
Getting data & create data frame.
First we need to export the group chat using the option export in the group options in the phone, the chat file is stored in a txt file and saved in data directory.
Saved data must be parsed in order to be stored in a data frame, next the function that recognizes the date at start of the line that indicates that is a unique message, if yes the message is splitted in a Date, Time, Author and Message to be stored in a pandas Data Frame. In this case I needed to change some parts of code because the txt file is diferent on iOS.
Anonymizing data.
To protect privacy of the chat members we need to anonymizing the names, changing all names with LOTR characters.
Here, some relevant data from the data frame created, result of df.info and df.head, this small set consts of 914 records that implies a similar number of messages.
Group Wise Stats
Let see some stats from the data frame, first thing is that we can count the media messages counting the occurrence of “<Media omitted>”. By using emoji library we can found the total of emojis, creating a emoji column we have a emoji for particular message, additionally we create a column to count all URLs in the messages using re library.
The group messages has a 914 messages in total, thats because the exported chat has recently started, one interesting data is that are at least one emoji every two messages or an average of two messages by emoji.
Next, we separate text messages from media messages in two data frames, messages_df only contain text messages.
More Stats
Let see more stats, we show the letter count for a message and word count for that message,
More stats came from the emojis we already count the total emojis, and we have separate each, let get unique number of each one of them. with that information we can find the most used emoji in the group.
With 68 occurences “🙏” is the most used emoji, follow by “😘” with 60 occurences, next we show emoji distribution in a pie chart.
With the same library “Plotly”, we can show this chart individually.
Word Cloud
Word clouds (also known as text clouds or tag clouds) work in a simple way: the more a specific word appears in a source of textual data (such as a speech, blog post, or database), the bigger and bolder it appears in the word cloud. We created a word cloud for all messages.
First join all messages in a large message.
A stop word is a commonly used word (such as “the”, “a”, “an”, “in”) that a search engine has been programmed to ignore, both when indexing entries for searching and when retrieving them as the result of a search query.
We use the word Cloud library including the list already included in the library. We set spanish set of words because the native language of the group. We add some more words to ommit some occurrences.
And More Stats
We can get the the messages behavior in time, group the messages by date.
Day Distribution
Using a radar chart, we show the distribution by day of week.
Conclusion
There’s a lot of information about all our day to day activities, we assume several things about that information but is great when you can probe your assumptions even more using tools like Plotly and Python, in my personal experience was great discover this tools, and see all that trends, charts and info and all we see here is just a star in the sky of data science.
Thanks to Saiteja Kura for the original post, go there and see more interesting articles. | https://medium.com/mcd-unison/whatsapp-group-chat-analysis-with-python-ae21f326b32c | ['Enrique Alvarado'] | 2020-10-31 01:43:42.131000+00:00 | ['Feature Engineering', 'Chart Analysis', 'Python', 'Plotly'] | Title Whatsapp Group Chat Analysis PythonContent present analysis based article Saiteja Kura Whatsapp Group Chat Analysis using Python Plotly Lot people using whatsapp whatsapp user chat group toxic u ask question like “Why dude group never send message” “I’m sure today nobody send message” Next step based Saiteja Kura’s work modification due OS phone convenience Detailed process found Getting data create data frame First need export group chat using option export group option phone chat file stored txt file saved data directory Saved data must parsed order stored data frame next function recognizes date start line indicates unique message yes message splitted Date Time Author Message stored panda Data Frame case needed change part code txt file diferent iOS Anonymizing data protect privacy chat member need anonymizing name changing name LOTR character relevant data data frame created result dfinfo dfhead small set consts 914 record implies similar number message Group Wise Stats Let see stats data frame first thing count medium message counting occurrence “Media omitted” using emoji library found total emojis creating emoji column emoji particular message additionally create column count URLs message using library group message 914 message total thats exported chat recently started one interesting data least one emoji every two message average two message emoji Next separate text message medium message two data frame messagesdf contain text message Stats Let see stats show letter count message word count message stats came emojis already count total emojis separate let get unique number one information find used emoji group 68 occurences “🙏” used emoji follow “😘” 60 occurences next show emoji distribution pie chart library “Plotly” show chart individually Word Cloud Word cloud also known text cloud tag cloud work simple way specific word appears source textual data speech blog post database bigger bolder appears word cloud created word cloud message First join message large message stop word commonly used word “the” “a” “an” “in” search engine programmed ignore indexing entry searching retrieving result search query use word Cloud library including list already included library set spanish set word native language group add word ommit occurrence Stats get message behavior time group message date Day Distribution Using radar chart show distribution day week Conclusion There’s lot information day day activity assume several thing information great probe assumption even using tool like Plotly Python personal experience great discover tool see trend chart info see star sky data science Thanks Saiteja Kura original post go see interesting articlesTags Feature Engineering Chart Analysis Python Plotly |
1,926 | What to Stop and Start Doing in SEO in 2020 | Dead SEO Strategies
Putting your website in directories and stuffing your post with links
This was a good idea in the past. Where the off-page SEO efforts were just as basic as putting your website links into directories and in forums.
While for on-page SEO, you just stuffed in backlinks from various sites and wait.
There weren’t as many websites, and people were not trying to rank as much either. So, whoever knew these strategies sat comfortably at the top. There are still many people putting their websites in directories, but you have to be smart about it. Put your website links in niche-focused directories.
Keyword stuffing
Adding keywords is still a top SEO ranking strategy. But it is way different now. Google is like a delivery man that tries to deliver quality content to whoever makes an order for content via Google search.
So naturally, they would show the best article for the particular search term. When the Google crawlers check your page and see the keywords and what’s it’s about, you would rank, but if your article is not easily readable, Google will bury your article. Why? Because you didn’t produce quality. You should focus on putting out the best quality and relevant content rather than trying to rank.
Stuffing your post with keywords is dead. You should just use about two keywords and mention them not more than five times in the post. Google is more sophisticated, and they can tell if you stuffed in keywords. So, an article with stuffed keywords wouldn’t even be given a chance.
Paying for backlinks
This has more disadvantages than benefits. In an attempt to try to play on Google, people used to pay for backlinks so they could rank.
But when you do this, you put yourself at risk of getting blacklisted.
Blackhat SEO practices
People used to get away with Blackhat SEO practices in the past. Not anymore. Some of these practices include:
Cloaking involves showing one piece of content on the search engine while having another article on the page.
Comment spamming. This is one of the oldest tricks used by digital marketers. You know those links on your comment sections that look like if you click on them, you will get hacked? When you continuously do this on different sites, your page and website, in some cases, would be blacklisted.
Sneaky redirects. It is keeping links that redirect you to results other than what you wanted to get. Most websites that use these are download websites which have been paid for an ad or something.
Blackhat SEO practices automatically make your website blacklisted. So, you shouldn’t expect to rank doing them. | https://medium.com/better-marketing/what-to-stop-and-start-doing-in-seo-in-2020-dd68d6cf25d9 | ['Tochukwu Okoro E.'] | 2020-03-28 18:07:37.858000+00:00 | ['Marketing', 'Content Marketing', 'Writing', 'Copywriting', 'SEO'] | Title Stop Start SEO 2020Content Dead SEO Strategies Putting website directory stuffing post link good idea past offpage SEO effort basic putting website link directory forum onpage SEO stuffed backlinks various site wait weren’t many website people trying rank much either whoever knew strategy sat comfortably top still many people putting website directory smart Put website link nichefocused directory Keyword stuffing Adding keywords still top SEO ranking strategy way different Google like delivery man try deliver quality content whoever make order content via Google search naturally would show best article particular search term Google crawler check page see keywords what’s it’s would rank article easily readable Google bury article didn’t produce quality focus putting best quality relevant content rather trying rank Stuffing post keywords dead use two keywords mention five time post Google sophisticated tell stuffed keywords article stuffed keywords wouldn’t even given chance Paying backlinks disadvantage benefit attempt try play Google people used pay backlinks could rank put risk getting blacklisted Blackhat SEO practice People used get away Blackhat SEO practice past anymore practice include Cloaking involves showing one piece content search engine another article page Comment spamming one oldest trick used digital marketer know link comment section look like click get hacked continuously different site page website case would blacklisted Sneaky redirects keeping link redirect result wanted get website use download website paid ad something Blackhat SEO practice automatically make website blacklisted shouldn’t expect rank themTags Marketing Content Marketing Writing Copywriting SEO |
1,927 | A Guide For Those Who Feel Lost In Life | The first few years of our existence are characterized by a wide range of activities, beliefs and commitments that are either inherited or thrust upon us. Rarely challenged to forge a path of our own, who we are becomes more or less the agglomeration of our environment and genetics.
Until, of course, that fateful period when the training wheels are ripped off and suddenly we’re under the pressure to find out ‘the right thing to do’ all by ourselves. Do we go to university? Do we entertain the same political beliefs as our parents? Do we flirt with other religions and gods or cast them aside altogether? Do we rebel against the things that had previously constructed our sense of self in an effort to gain autonomy? Or do we attempt to engage, on a deeper level, with the constructs that previously formed us, in an effort to develop a more meaningful sense of identity?
All of these questions, met with conflicting answers from guidance counsellors, parents, teachers, friends and internet forums, lead us into a dreadful sense of confusion and hopelessness. One twenty something year old in the psychologist Meg Jay’s “The Defining Decade” describes this feeling poetically:
Ian told me his twenty something years were like being in the middle of the ocean, like this vast, unmarked body of water. He couldn’t see land in any direction, so he didn’t know which way to go. He felt overwhelmed by the prospect that he could swim anywhere or do anything. He was equally paralyzed by the fact that he didn’t know which of the anythings would work out. Tired and hopeless at age twenty-five, he said he was treading water to stay alive”
Photo by Matt Hardy on Unsplash
When asked how people do get out of the ocean, Ian replied “I don’t know…I guess all you can do is hope someone comes along in a boat or something” This belief that patience will prevail and somebody or something will magically arrive and save us from drowning in a sea of aimless potentialities, is likely a sentiment shared by many lost in life. Unfortunately, it is also a dangerous idea, to give up the idea that your life is up to you.
Waiting around, we tend to drift from job to job, relationship to relationship, pushed and pulled by the tides of fate. We distract ourselves from the dizziness of freedom with delicious escapism and occupy our time with tasks we never really wanted to do but, instead, had snuck themselves into our lives through the path of least resistance.
We say to ourselves “one day I’ll read that book or watch that movie or meet that person who will set me on a predetermined path where I’ll find what I’m here for”. Our lifelong passion will simply come along and offer itself to us. We will become who we always were.
Photo by Nik Shuliahin on Unsplash
Unfortunately, years pass and our hope for salvation is more or less unfounded. Life happens whether we choose to live it or not. As one character from Kaufmann’s “I’m Thinking Of Ending Things” puts it:
“People like to think of themselves as points moving through time, but I think it’s probably the opposite. We’re stationary and time passes through us. Blowing like cold wind, stealing our heat.”
And just like that, the time to follow our dreams and stress over the limitlessness of our future swiftly crumbles, weakened by the fact that, like every other animal, we die. So many wrong turns…
Photo by Kristina Tripkovic on Unsplash
Although there is no universal guide to identity formation, psychology gives us a few reasonable leads. James Marcia, a clinical and developmental psychologist, was deeply interested in the work of Erik Erikson. Erikson suggests that human development is composed of psychosocial conflicts and tasks that, if resolved, results in positive maturation. For example, Erikson proposes that young adults engage in the struggle to maintain close relationships and avoid social isolation. This is the psychosocial stage of intimacy vs isolation. Those in their middle age will either discover purpose through engaging in the world in a prosocial and altruistic manner or retreat into their own activities, caring little for future generations. This is called generativity vs stagnation.
Marcia was specifically interested in the stage slightly before we worry about intimacy: identity vs confusion. In this stage, Erikson argues that individuals will work at developing a sense of self through experimentation, commit to certain initiatives or experience some manner of identity crisis.
Erik Erikson
Rather than Erikson’s binary argument that one has either found their identity or is confused. Marcia argues that this stage can be characterized by the extent to which an individual has explored and committed to an identity
As Marcia put his theory to the test in semi-structured interviews that would explore the extent to which individuals explored and committed to different life areas, generally revolving around ideology and occupation, four identity statuses or types emerged.
Those who were entirely committed but made little or no effort to explore alternative were considered to have a “foreclosed identity”. Without thinking, they simply continued the path laid out to them early in life. For example, a child may be told by their parents that being a doctor is the only valid career choice. The child will then form their identity entirely around getting good enough marks to go to medical school, achieving academic excellence in medical school and becoming a doctor. At no point does this individual challenge the idea that they might try another career path. They may even dismiss their more uncertain or artsy friends as being lost.
Identity Status Theory
Foreclosed identity can also occur when someone develops an identity directly in opposition to what they were told to do. This is called a “negative identity”. That same child, constantly told to work hard and become a doctor, may rebel under the pressure and drop out of high school to pick a life path far from intellectual. Despite feeling that they are behaving freely, their behaviour is nonetheless perfectly correlated with what they are being told to do.
As Marcia warns “the individual about to become a Methodist, Republican farmer like his Methodist, Republican farmer father, with little or no thought in the matter, certainly cannot be said to have “achieved” an identity, in spite of his commitment”. The rigidity of those in the foreclosed identity group provides a seemingly strong sense of stability. There is no doubt in their mind over what to do. However, as soon as ones commitments are challenged, the vulnerability of this status is put to the test. The foreclosed identity is undoubtedly susceptible to an identity crisis.
Photo by Zach Kadolph on Unsplash
The second stage, identity diffusion, is characterized by an avoidance in committing and exploring to anything. Marcia argues that there is little anxiety in this stage because they are invested in little. They show general indecision, indifference and lethargy.
The third stage, moratorium, is defined by those who are in a state of identity crisis due to their lack of commitments. Nonetheless, they are actively exploring and experimenting in different areas of their life, forming their values and discovering their interests.
“Moratoriums…report experiencing more anxiety than do students in any other status…The world for them is not, currently, a highly predictable place; they are vitally engaged in a struggle to make it so”.
This is nonetheless considered to be a far more beneficial stage of development than the previous two, one that characterizes the ideal of university education; the young adult sifting through a catalogue of potential careers, ideologies, identities and relationships without committing to anything in particular. Recent research suggests that more people are spending a greater duration in this stage.
Photo by javier trueba on Unsplash
After an identity crisis has been worked through, Marcia suggests that the individual will reach identity achievement, the final stage of identity formation. Such an individual will reach a point in their life where they have certain commitments and are still willing to explore alternatives. A true sense of self has been achieved. Perhaps they are entirely happy with their career and simultaneously welcome the idea that they would be willing to explore other careers if necessary. By maintaining a balance between healthy flexibility and the courage to commit to things we care about, we can potentially avoid the dreadful sense of feeling lost.
Photo by Nghia Le on Unsplash
“The search of youth is not for all-permissibility, but rather for new ways of directly facing up to what truly counts” wrote Erikson. Perhaps we know what counts, deep down, but don’t have the courage or knowledge to pursue it. Perhaps we truly don’t know yet. Nonetheless, by trying out new things, even things we’re lukewarm about, as well as committing to certain things, even if they’re not our lifelong passion, this delicate balancing act of identity formation can be achieved. The important thing is not to wait around. Your life is, above all else, yours to create or destroy. | https://sisyphus089.medium.com/a-guide-for-those-who-feel-lost-in-life-a4d209961d71 | ['Ben Thomas'] | 2020-10-18 13:48:07.717000+00:00 | ['Self Improvement', 'Philosophy', 'College', 'Psychology', 'Development'] | Title Guide Feel Lost LifeContent first year existence characterized wide range activity belief commitment either inherited thrust upon u Rarely challenged forge path becomes le agglomeration environment genetics course fateful period training wheel ripped suddenly we’re pressure find ‘the right thing do’ go university entertain political belief parent flirt religion god cast aside altogether rebel thing previously constructed sense self effort gain autonomy attempt engage deeper level construct previously formed u effort develop meaningful sense identity question met conflicting answer guidance counsellor parent teacher friend internet forum lead u dreadful sense confusion hopelessness One twenty something year old psychologist Meg Jay’s “The Defining Decade” describes feeling poetically Ian told twenty something year like middle ocean like vast unmarked body water couldn’t see land direction didn’t know way go felt overwhelmed prospect could swim anywhere anything equally paralyzed fact didn’t know anythings would work Tired hopeless age twentyfive said treading water stay alive” Photo Matt Hardy Unsplash asked people get ocean Ian replied “I don’t know…I guess hope someone come along boat something” belief patience prevail somebody something magically arrive save u drowning sea aimless potentiality likely sentiment shared many lost life Unfortunately also dangerous idea give idea life Waiting around tend drift job job relationship relationship pushed pulled tide fate distract dizziness freedom delicious escapism occupy time task never really wanted instead snuck life path least resistance say “one day I’ll read book watch movie meet person set predetermined path I’ll find I’m for” lifelong passion simply come along offer u become always Photo Nik Shuliahin Unsplash Unfortunately year pas hope salvation le unfounded Life happens whether choose live one character Kaufmann’s “I’m Thinking Ending Things” put “People like think point moving time think it’s probably opposite We’re stationary time pass u Blowing like cold wind stealing heat” like time follow dream stress limitlessness future swiftly crumbles weakened fact like every animal die many wrong turns… Photo Kristina Tripkovic Unsplash Although universal guide identity formation psychology give u reasonable lead James Marcia clinical developmental psychologist deeply interested work Erik Erikson Erikson suggests human development composed psychosocial conflict task resolved result positive maturation example Erikson proposes young adult engage struggle maintain close relationship avoid social isolation psychosocial stage intimacy v isolation middle age either discover purpose engaging world prosocial altruistic manner retreat activity caring little future generation called generativity v stagnation Marcia specifically interested stage slightly worry intimacy identity v confusion stage Erikson argues individual work developing sense self experimentation commit certain initiative experience manner identity crisis Erik Erikson Rather Erikson’s binary argument one either found identity confused Marcia argues stage characterized extent individual explored committed identity Marcia put theory test semistructured interview would explore extent individual explored committed different life area generally revolving around ideology occupation four identity status type emerged entirely committed made little effort explore alternative considered “foreclosed identity” Without thinking simply continued path laid early life example child may told parent doctor valid career choice child form identity entirely around getting good enough mark go medical school achieving academic excellence medical school becoming doctor point individual challenge idea might try another career path may even dismiss uncertain artsy friend lost Identity Status Theory Foreclosed identity also occur someone develops identity directly opposition told called “negative identity” child constantly told work hard become doctor may rebel pressure drop high school pick life path far intellectual Despite feeling behaving freely behaviour nonetheless perfectly correlated told Marcia warns “the individual become Methodist Republican farmer like Methodist Republican farmer father little thought matter certainly cannot said “achieved” identity spite commitment” rigidity foreclosed identity group provides seemingly strong sense stability doubt mind However soon one commitment challenged vulnerability status put test foreclosed identity undoubtedly susceptible identity crisis Photo Zach Kadolph Unsplash second stage identity diffusion characterized avoidance committing exploring anything Marcia argues little anxiety stage invested little show general indecision indifference lethargy third stage moratorium defined state identity crisis due lack commitment Nonetheless actively exploring experimenting different area life forming value discovering interest “Moratoriums…report experiencing anxiety student status…The world currently highly predictable place vitally engaged struggle make so” nonetheless considered far beneficial stage development previous two one characterizes ideal university education young adult sifting catalogue potential career ideology identity relationship without committing anything particular Recent research suggests people spending greater duration stage Photo javier trueba Unsplash identity crisis worked Marcia suggests individual reach identity achievement final stage identity formation individual reach point life certain commitment still willing explore alternative true sense self achieved Perhaps entirely happy career simultaneously welcome idea would willing explore career necessary maintaining balance healthy flexibility courage commit thing care potentially avoid dreadful sense feeling lost Photo Nghia Le Unsplash “The search youth allpermissibility rather new way directly facing truly counts” wrote Erikson Perhaps know count deep don’t courage knowledge pursue Perhaps truly don’t know yet Nonetheless trying new thing even thing we’re lukewarm well committing certain thing even they’re lifelong passion delicate balancing act identity formation achieved important thing wait around life else create destroyTags Self Improvement Philosophy College Psychology Development |
1,928 | Why Integrate Diversity in the Energy Sector with AI and more? | Why Integrate Diversity in the Energy Sector with AI and more?
Integration of technologies and diversity in data sources can act as catalysts towards the energy transition, but it’s easier said than done
Photo by Scott Umstattd on Unsplash
What does it mean to “Integrate Diversity”?
It starts with understanding and recognizing that everyone but also every technology is unique, with a different set of strengths, capabilities and experiences. Integrating diversity is first, recognizing it and then creating environments where you can bring out the best aspects so that when they work together, the sum is much greater than the parts.
In this article, I want to focus on the Power sector, where the integration of technologies and diversity in data sources can act as catalysts towards the energy transition, while restrictions and “adversarialisation” (or simple rivalry) of technologies would break the whole process apart.
In order to come up with cutting-edge solutions, you really need to have different perspectives and skills. We all know that, on a team, if you have the same type of people working on something (all-male, all-old, all- from the city, etc.), you’re limited to the types of solutions you can create. By integrating differences, it actually allows you to expand your horizons and push the boundaries. Artificial Intelligence can contribute to the integration of different solutions and widen the spectrum of possibilities.
AI from books and film have been around a long time in different forms. They are portrayed as sometimes friendly and sometimes menacing. But in real life, we like to think of AI as Augmented Intelligence. Over the years, AI has proven itself useful in many different domains. Before AI, the idea of a computer recognizing people in photographs based solely on examples was unheard of. Today, we even use AI to examine medical images to rapidly identify abnormalities, saving patients’ lives.
Andrew Ng, Co-founder of Coursera and formerly head of Baidu AI Group / Google Brain, compares the transformational impact of AI to that of electricity 100 years back, and I surely agree with him.
Professor Andrew Ng is the former chief scientist at Baidu, where he led the company’s Artificial Intelligence Group. He is an adjunct professor at Stanford University. In 2011 he led the development of Stanford University’s main MOOC (Massive Open Online Courses) platform and also taught an online Machine Learning class that was offered to over 100,000 students, leading to the founding of Coursera.
In fact, AI means different things to different people. For a video game designer, AI means writing the code that affects how bots play or how the environment reacts to the player. For the majority of us, the AI we see is more likely to be an app on your phone than an intelligent robot (or an Android!). It’s used behind the scenes to manage finances, suggest your next Netflix film, identify credit card fraud, read medical imaging, and find appropriate clinical trials for patients. Artificial Intelligence is involved in the decisions we make each day.
Worldwide spending on artificial intelligence (AI) systems is forecast to reach $35.8 billion in 2019, an increase of 44.0% over the amount spent in 2018. With industries investing aggressively in projects that utilize AI software capabilities, the International Data Corporation (IDC) Worldwide Semi-annual Artificial Intelligence Systems Spending Guide expects spending on AI systems will more than double to $79.2 billion in 2022 with a compound annual growth rate (CAGR) of 38.0% over the 2018–2022 forecast period.
But still, it has a lot of mileage to do in the energy world. In the Power sector, more than in many other sectors, we can use Augmented Intelligence to extend human capabilities and accomplish things that neither humans nor machines could do on their own. Some of the challenges we face today come from an excess of information. Faster communications, Distributed computing and Internet of things (IoT) have lead to (an exponentially growing) generation of massive amounts of data, while IoT itself and social networking has encouraged most of that data to be unstructured. There is so much data that human experts cannot keep up with all the changes and advancements.
Photo by Jose Fontano on Unsplash
Unlock the intelligence
With Augmented Intelligence, we can “unlock” much more of the substance and interrelations in the data while putting the information that needed at our fingertips, and back that information up with evidence, so that the stakeholders can make more informed decisions. This will allow experts and the decision makers to scale their capabilities so they can better service their customers. The machines doing the time-consuming work so that we’re able to do the things that matter.
In traditional programming, everything is deterministic, and the if-then-else loop determines how the software responds to varying conditions. That works well when you are comparing known values, like temperatures, text strings or numbers in a spreadsheet. But when you want to classify objects/decisions/variations into categories, simple if-then statements won’t work. The world is far too complex, with shades of grey and multiple correct answers, and probabilistic answers become a requirement. In the power sector, almost everything is Probabilistic (weather, consumers behaviour, peak management, wind turbine or solar PV output, etc.). Whereas a deterministic system can tell you, “The answer is X because this comparison succeeded”, such as the temperature on a thermostat, a probabilistic system is required in Load Leveling or Renewable Power Generation because you need a system that can tell you, “I’m very confident this is the correct answer, but I also have evidence to support these alternatives” (e.g. to store energy for later use, to slow down wind turbine because wind might exceed limitations, etc.).
So, even if for Hollywood, AI generally means a character that acts like a human with some trope computer features mixed in. For a data scientist, and especially in the Energy sector, AI is a way of exploring and classifying data to meet specific goals. But no matter who is defining AI, the crucial point is that AI means intelligence. How do we define intelligence? There are many aspects of AI, each of which is influenced by advances in the sciences and philosophy. Computer science and electrical engineering determine how AI is implemented in software and hardware. Mathematics and statistics determine viable models and measure performance. Because AI is modelled on how we believe the brain works, psychology and linguistics play an important role in understanding how AI might work. Philosophy provides guidance about topics like what intelligence is and ethical considerations. It is the fusion of all these fields of study that make it possible for us to build systems that act intelligently. Power grids, especially with Renewables, need that intelligence.
Photo by Arthur Poulin on Unsplash
Data learning applied to the Power sector
What is AI good at, and what is it not good at? The answer to that often comes down to data. AI technology improves just like any technology does, so today’s limitation may be tomorrow’s breakthrough, but current AI technologies are very good at classification and translation (interpretation).
Whether you are talking about natural intelligence or artificial intelligence, nothing is intelligent that cannot learn. Humans are born with some level of innate intelligence, and we can build on that intelligence through learning. The only innate intelligence machines have is what we give them, and common sense is not currently on that very short list of items. What we do provide, though, is the ability to examine examples, and create machine learning models based on the inputs and desired outputs. For supervised learning, we provide the AI with examples. Unsupervised learning is where you provide inputs, but not labels, and let the machine infer qualities. This type of learning can be useful for clustering data, where data is grouped according to how similar it is to its neighbours and dissimilar to everything else.
Once the data is clustered, you can use different techniques to explore that data and look for patterns. Reinforcement learning is where the machine makes a decision and is given a reward or retribution depending on whether the decision was a good one. You could use reinforcement learning to teach a machine to play chess or navigate an obstacle course such as a demand-side management or power generation scheme. Deep learning is a subset of machine learning that applies to neural networks. Deep learning networks refer to the arrangements of the nodes, and that could definitely be the next generation of energy-related AI application
When choosing sources of data for training your machine models, it is important to sample data that is representative of the data that will be encountered in production. One challenge that can occur is when training data will not predict future input data. This has to be addressed soon in the process. Not necessarily that you need all the answers, but rather that you identified a process to take care of the situation. Because garbage in equals garbage out, no AI solution can give good results from bad data. What you can do if some of your data is bad, however, is to identify and keep your usable data, and collect (or build) new data that can be used in your solution. You should be considering the amount, quality, and sensitivity of the data you have to work with.
The integration of Renewable Energies, easier said than done
This is becoming more and more complex for the grid operator, but also for the smaller facilities or communities. It now involves integrating renewable energy production assets into self-consumption (solar thermal and/or photovoltaic, production of heat from biomass or biogas, geothermal energy, …), to enable manufacturers or communities to reduce their carbon footprint, to diversify their energy mix and reduce their dependence on fossil fuels, which should allow better control of energy-related budgets over the long term.
It is, in any case, the lever to activate in priority: “the unspent energy costs nothing and does not pollute”. On the other hand, even if there are some good successes or more specifically attractive sectors, the deployment of renewable energies and recovery technologies is still too little advanced in the industry. There are many brakes to overcome: significant investment costs, competition current with fossil fuels and cheap electricity, the fear of operational risks associated with these innovative technologies, the lack of technical knowledge or operational capabilities, etc. And this is where AI and data science can help greatly. Many positive experiences can be analysed and can be considered as examples to follow in the “learning” phase. That would aim to provide the industry with a light on the possibilities offered in the short term through recovery technologies and renewable energy, focusing on major sectors and a set of technologies.
For example, we can think of the optimization of a decentralized power generation (solar PV or wind turbine) with an intelligent energy storage system (IES). In this scenario, if the next day’s weather forecast is communicated to the AI, the storage capacity can be prepared according to the expected state of the network. The AI can decide to unload the storage unit (hybrid energy storage, for example) overnight so that a maximum of current can be stored there the next day. Thanks to this control function, it would also be possible to know the status on the higher voltage grid levels. The distribution side (Lower voltage grid) can then help maintain the voltage on the higher grid levels (and even at transmission level with a sufficient amount of capacity involved). In surplus to that, the electricity produced is either consumed directly (priority 1) or injected into the grid or stored temporarily according to the state of the grid. In case of local voltage problems, the locally stored electricity (battery) can be fed into the grid. In a wider scenario, the energy provider can actively control the intelligent modules based on certain signals (weather forecast, balance group, etc.). That way, the IES positively influences the maintenance of local network voltage and, more generally, the security of supply (local and decentralized system services). It is also an ideal platform for energy suppliers in terms of customer loyalty and the development of new products (services, assignment of contracts, etc.).
Photo by Stephen Dawson on Unsplash
State of play: a smart dashboard of innovative technologies, integrated and tailored to the needs
First, alongside conventional solutions there are numerous relatively mature innovative technologies to produce and self-consume energy, be it heat (at temperature levels compatible with the most uses), cooling or electricity. And, “vis-à-vis” each unitary need, there are even several alternative solutions.
In the first approach, these technologies can be classified into three complementary categories:
Technologies providing so-called low-temperature heat, such as geothermal energy (very low energy), recovery on drying steam or solar thermal, which are adapted to uses such as domestic hot water production, space heating, or low-temperature industrial processes, such as pasteurization in the food industry. As a reminder, Concentrated solar power, geothermal heat with very high heat (shaded part), and that low and medium energy geothermal energy are presented in the cartography but are not this study.
Solar Energy Generating Systems (SEGS) solar complex in northern San Bernardino County, California. The first commercial parabolic trough power plants with a total of 354 megawatts went online in California. By USA.Gov — BLM — BUREAU OF LAND MANAGEMENT — http://www.ca.blm.gov/cdd/alternative_energy.html, Public Domain https://commons.wikimedia.org/w/index.php?curid=15957890
2) Technologies providing so-called high-temperature heat, such as biomass, biogas or smoke recovery from certain furnaces, which make it possible to respond to needs, particularly those that can be found in metallurgy, glass or chemistry.
3) Technologies to produce electricity, useful for all processes studied. These can be covered for example with solar photovoltaic, wind energy or biomass or biogas cogeneration unit.
Source: Adapted from The National Energy Education Project (public domain)
Issues related to the integration of technologies: carbon footprint, competitiveness, conditions integration and exploitation
A survey carried out in 2018 among many manufacturers in Europe (ref: www.ademe.fr/mediatheque), showed that these technologies are already deployed on the ground, often successfully, despite the difficulties encountered. The interviewed industrials evoke a first family of stakes: the reduction of CO2 emissions, the development of a responsible corporate image, which can confer a marketing advantage, while coherence with their environmental and societal commitments.
The authors added:
« Le niveau de déploiement de ces technologies est assez inégal, notamment du fait du niveau historique de leur compétitivité respective face aux énergies conventionnelles, et cela, malgré la visibilité sur les coûts de production qu’apporte une solution EnR&R (indépendants de la fluctuation du prix des énergies fossiles). » or, in the Shakespeare language: The level of deployment of these technologies is quite uneven, in particular because of the historical level of their competitiveness compared with conventional energy sources, despite the visibility on the costs of production that brings a Renewable Energy or Energy Recovery solution (independent of the fluctuation of the price of fossil fuels).
However, even if the industrials interviewed mention environmental and branding issues, they agree that competitiveness issues are of the first order: in other words, the deployment of Renewables, or Energy Recovery technologies are only done if it contributes to their competitiveness.
Photo by paolo candelo on Unsplash
On the road to competitiveness
For renewable energies (RE), it’s always a challenge to be considered an add-on to competitiveness. Especially when there are no subsidies available, under current market conditions, with a very low gas price, and apart from a few special cases, they are globally less competitive than traditional reference solutions (electricity and natural gas). It can be noted that these conventional energies are often accessible at even lower cost for large consumers, benefiting from better supply contracts. In this context, public policies, and the support mechanisms associated with them, but also maximization of the outcomes with AI and energy storage (IES) play a major role. Under the impetus for subsidies and technology integration, many solutions can bring competitiveness to industrial. But RE coupled with IES should be seen as a team member into the bigger competitive race.
In addition, investing in an energy asset is often a mid-term or a long-term choice, with longer depreciation period. A choice today will have consequences for the next 5, 10, 15 years or more. Choosing to invest in one or more Renewable or Recovery assets today may be a long-term paying choice because it allows to diversify the energy mix and decrease the dependence on traditional energies, whose prices may be particularly erratic. Moreover, such a strategy allows also, at least in part, to overcome the increase in the price of fuel, electricity or even to a lesser extent the CO2 credit market.
The integration of technologies must be part of a global reflection on the needs and possibilities of a site. Integrate on an industrial site a solar installation, a wind turbine, a biomass boiler, or a methanization plant, demand for space and adapted infrastructure and even more a good evaluation (if not a good prediction) of the future outcomes. The integration of the cleantech assets may also require a significant overhaul of distribution associated with it. Depending on the topology of the site concerned, integration constraints, location of needs, changes may not be marginal. In a number of cases, it can even be necessary to deploy new grid or to install storage capacities (because of the time lag between when heat recovery can be achieved and when energy recovered can be used, or because of the variability of some RE). Artificial “augmented” Intelligence is required to efficiently perform all this. And this is emphasized by the fact that, in general, due to their relative lack of flexibility, Renewables require more specific operational know-how than their traditional competitors (electricity grid, conventional power generation, heat produced from natural gas).
Credit: Optimizing power generation with Hybrid Energy Storage and AI (CC BY-NC-SA 2.0), © Smart Phases Inc. (DBA Novacab)
The strengths of one counterbalance the weaknesses of the others
Indeed, conventional technologies have the advantage of being (almost) always available, responsive and flexible. They easily adapt to even rapid fluctuations in load and activities and are therefore able to provide load curves with a lot of responsiveness. This is not the case for the majority of Renewable technologies. Solar and wind technologies, on the other hand, are typically variable, producing only electricity and/or heat in the presence of sun and/or wind. It is the same with the global process of production and combustion of biogas or biomass, which may be subject to the availability of resources local (liquid effluents or various wastes). However, it is possible to overcome these difficulties by intelligently combining energies technologies with heat recovery technologies and renewable energies, to provide the different uses of the site. As an example, we can consider the association of district heat with energy storage solutions to cope with the variability of production of certain renewable energy assets or asynchronous heat recovery solutions. To facilitate the integration of renewable energy, industrialists will have to rely on the contribution of all the ecosystem: technology providers, service providers, financing actors through innovative business models, in order to share the risks and overcome the difficulties mentioned.
Such projects might seem quite complex to implement for us mortal human, but with the help of AI, they can bring high-performance levels, both from an economic and an environmental point of view. In order to give the most value, it is important to focus on improving training times for our AI and squeezing the most insight from smaller quantities of data. The end results are solutions that require fewer data to build, are faster to train and deploy, and that protect your intellectual property.
In short, a mix of energy storage (electric, thermal, hybrid, mechanical, etc.) and AI are jointly able to solve this downside of RE. The combination of conventional technologies and Renewables with Intelligent Energy storage technologies facilitates the integration and exploitation of these. Indeed, while all these technologies might appear implicitly in a competitive situation to each other, these technologies must above all be seen as complementary to the each other, just as they can be complementary to conventional sources (electricity and gas in particular). The whole challenge lies in the construction of an energy system in which the assets complement each other so that the strengths of one counterbalance the weaknesses of the others (each technology brings its share of advantages and disadvantages, which need to be assessed and taken into case by case, at each industrial site), to enable the deployment of efficient energy solutions of an operational and economic point of view. And at each industrial site corresponds a specific solution. Multiple data sources are key here to optimize the solution and AI is necessary to deal with this mountain of information.
As Edmund Hillary once said: When you go to the mountains, you see them and you admire them. In a sense, they give you a challenge, and you try to express that challenge by climbing them. The Energy Transition is the mountain range ahead. It challenges us, we need to better join our strengths and “augmented intelligence” to climb it the best way possible!
Photo by Hu Chen on Unsplash
___________________________________________________________________
This article is part of a series on Artificial Intelligence and Energy Storage by Stephane Bilodeau, ing., P.Eng, PhD, FEC. Chief Technology Officer, Smart Phases (Novacab), Fellow of Engineers Canada and expert contributor to Energy Central.
You can find other articles here: | https://towardsdatascience.com/why-integrate-diversity-in-energy-with-ai-and-more-468517e09b76 | ['Stephane Bilodeau'] | 2019-06-03 12:45:53.218000+00:00 | ['Towards Data Science', 'Renewable Energy', 'Data Science', 'Energy Storage', 'Artificial Intelligence'] | Title Integrate Diversity Energy Sector AI moreContent Integrate Diversity Energy Sector AI Integration technology diversity data source act catalyst towards energy transition it’s easier said done Photo Scott Umstattd Unsplash mean “Integrate Diversity” start understanding recognizing everyone also every technology unique different set strength capability experience Integrating diversity first recognizing creating environment bring best aspect work together sum much greater part article want focus Power sector integration technology diversity data source act catalyst towards energy transition restriction “adversarialisation” simple rivalry technology would break whole process apart order come cuttingedge solution really need different perspective skill know team type people working something allmale allold city etc you’re limited type solution create integrating difference actually allows expand horizon push boundary Artificial Intelligence contribute integration different solution widen spectrum possibility AI book film around long time different form portrayed sometimes friendly sometimes menacing real life like think AI Augmented Intelligence year AI proven useful many different domain AI idea computer recognizing people photograph based solely example unheard Today even use AI examine medical image rapidly identify abnormality saving patients’ life Andrew Ng Cofounder Coursera formerly head Baidu AI Group Google Brain compare transformational impact AI electricity 100 year back surely agree Professor Andrew Ng former chief scientist Baidu led company’s Artificial Intelligence Group adjunct professor Stanford University 2011 led development Stanford University’s main MOOC Massive Open Online Courses platform also taught online Machine Learning class offered 100000 student leading founding Coursera fact AI mean different thing different people video game designer AI mean writing code affect bot play environment reacts player majority u AI see likely app phone intelligent robot Android It’s used behind scene manage finance suggest next Netflix film identify credit card fraud read medical imaging find appropriate clinical trial patient Artificial Intelligence involved decision make day Worldwide spending artificial intelligence AI system forecast reach 358 billion 2019 increase 440 amount spent 2018 industry investing aggressively project utilize AI software capability International Data Corporation IDC Worldwide Semiannual Artificial Intelligence Systems Spending Guide expects spending AI system double 792 billion 2022 compound annual growth rate CAGR 380 2018–2022 forecast period still lot mileage energy world Power sector many sector use Augmented Intelligence extend human capability accomplish thing neither human machine could challenge face today come excess information Faster communication Distributed computing Internet thing IoT lead exponentially growing generation massive amount data IoT social networking encouraged data unstructured much data human expert cannot keep change advancement Photo Jose Fontano Unsplash Unlock intelligence Augmented Intelligence “unlock” much substance interrelation data putting information needed fingertip back information evidence stakeholder make informed decision allow expert decision maker scale capability better service customer machine timeconsuming work we’re able thing matter traditional programming everything deterministic ifthenelse loop determines software responds varying condition work well comparing known value like temperature text string number spreadsheet want classify objectsdecisionsvariations category simple ifthen statement won’t work world far complex shade grey multiple correct answer probabilistic answer become requirement power sector almost everything Probabilistic weather consumer behaviour peak management wind turbine solar PV output etc Whereas deterministic system tell “The answer X comparison succeeded” temperature thermostat probabilistic system required Load Leveling Renewable Power Generation need system tell “I’m confident correct answer also evidence support alternatives” eg store energy later use slow wind turbine wind might exceed limitation etc even Hollywood AI generally mean character act like human trope computer feature mixed data scientist especially Energy sector AI way exploring classifying data meet specific goal matter defining AI crucial point AI mean intelligence define intelligence many aspect AI influenced advance science philosophy Computer science electrical engineering determine AI implemented software hardware Mathematics statistic determine viable model measure performance AI modelled believe brain work psychology linguistics play important role understanding AI might work Philosophy provides guidance topic like intelligence ethical consideration fusion field study make possible u build system act intelligently Power grid especially Renewables need intelligence Photo Arthur Poulin Unsplash Data learning applied Power sector AI good good answer often come data AI technology improves like technology today’s limitation may tomorrow’s breakthrough current AI technology good classification translation interpretation Whether talking natural intelligence artificial intelligence nothing intelligent cannot learn Humans born level innate intelligence build intelligence learning innate intelligence machine give common sense currently short list item provide though ability examine example create machine learning model based input desired output supervised learning provide AI example Unsupervised learning provide input label let machine infer quality type learning useful clustering data data grouped according similar neighbour dissimilar everything else data clustered use different technique explore data look pattern Reinforcement learning machine make decision given reward retribution depending whether decision good one could use reinforcement learning teach machine play chess navigate obstacle course demandside management power generation scheme Deep learning subset machine learning applies neural network Deep learning network refer arrangement node could definitely next generation energyrelated AI application choosing source data training machine model important sample data representative data encountered production One challenge occur training data predict future input data addressed soon process necessarily need answer rather identified process take care situation garbage equal garbage AI solution give good result bad data data bad however identify keep usable data collect build new data used solution considering amount quality sensitivity data work integration Renewable Energies easier said done becoming complex grid operator also smaller facility community involves integrating renewable energy production asset selfconsumption solar thermal andor photovoltaic production heat biomass biogas geothermal energy … enable manufacturer community reduce carbon footprint diversify energy mix reduce dependence fossil fuel allow better control energyrelated budget long term case lever activate priority “the unspent energy cost nothing pollute” hand even good success specifically attractive sector deployment renewable energy recovery technology still little advanced industry many brake overcome significant investment cost competition current fossil fuel cheap electricity fear operational risk associated innovative technology lack technical knowledge operational capability etc AI data science help greatly Many positive experience analysed considered example follow “learning” phase would aim provide industry light possibility offered short term recovery technology renewable energy focusing major sector set technology example think optimization decentralized power generation solar PV wind turbine intelligent energy storage system IES scenario next day’s weather forecast communicated AI storage capacity prepared according expected state network AI decide unload storage unit hybrid energy storage example overnight maximum current stored next day Thanks control function would also possible know status higher voltage grid level distribution side Lower voltage grid help maintain voltage higher grid level even transmission level sufficient amount capacity involved surplus electricity produced either consumed directly priority 1 injected grid stored temporarily according state grid case local voltage problem locally stored electricity battery fed grid wider scenario energy provider actively control intelligent module based certain signal weather forecast balance group etc way IES positively influence maintenance local network voltage generally security supply local decentralized system service also ideal platform energy supplier term customer loyalty development new product service assignment contract etc Photo Stephen Dawson Unsplash State play smart dashboard innovative technology integrated tailored need First alongside conventional solution numerous relatively mature innovative technology produce selfconsume energy heat temperature level compatible us cooling electricity “visàvis” unitary need even several alternative solution first approach technology classified three complementary category Technologies providing socalled lowtemperature heat geothermal energy low energy recovery drying steam solar thermal adapted us domestic hot water production space heating lowtemperature industrial process pasteurization food industry reminder Concentrated solar power geothermal heat high heat shaded part low medium energy geothermal energy presented cartography study Solar Energy Generating Systems SEGS solar complex northern San Bernardino County California first commercial parabolic trough power plant total 354 megawatt went online California USAGov — BLM — BUREAU LAND MANAGEMENT — httpwwwcablmgovcddalternativeenergyhtml Public Domain httpscommonswikimediaorgwindexphpcurid15957890 2 Technologies providing socalled hightemperature heat biomass biogas smoke recovery certain furnace make possible respond need particularly found metallurgy glass chemistry 3 Technologies produce electricity useful process studied covered example solar photovoltaic wind energy biomass biogas cogeneration unit Source Adapted National Energy Education Project public domain Issues related integration technology carbon footprint competitiveness condition integration exploitation survey carried 2018 among many manufacturer Europe ref wwwademefrmediatheque showed technology already deployed ground often successfully despite difficulty encountered interviewed industrials evoke first family stake reduction CO2 emission development responsible corporate image confer marketing advantage coherence environmental societal commitment author added « Le niveau de déploiement de ce technology est assez inégal notamment du fait du niveau historique de leur compétitivité respective face aux énergies conventionnelles et cela malgré la visibilité sur le coûts de production qu’apporte une solution EnRR indépendants de la fluctuation du prix de énergies fossiles » Shakespeare language level deployment technology quite uneven particular historical level competitiveness compared conventional energy source despite visibility cost production brings Renewable Energy Energy Recovery solution independent fluctuation price fossil fuel However even industrials interviewed mention environmental branding issue agree competitiveness issue first order word deployment Renewables Energy Recovery technology done contributes competitiveness Photo paolo candelo Unsplash road competitiveness renewable energy it’s always challenge considered addon competitiveness Especially subsidy available current market condition low gas price apart special case globally le competitive traditional reference solution electricity natural gas noted conventional energy often accessible even lower cost large consumer benefiting better supply contract context public policy support mechanism associated also maximization outcome AI energy storage IES play major role impetus subsidy technology integration many solution bring competitiveness industrial coupled IES seen team member bigger competitive race addition investing energy asset often midterm longterm choice longer depreciation period choice today consequence next 5 10 15 year Choosing invest one Renewable Recovery asset today may longterm paying choice allows diversify energy mix decrease dependence traditional energy whose price may particularly erratic Moreover strategy allows also least part overcome increase price fuel electricity even lesser extent CO2 credit market integration technology must part global reflection need possibility site Integrate industrial site solar installation wind turbine biomass boiler methanization plant demand space adapted infrastructure even good evaluation good prediction future outcome integration cleantech asset may also require significant overhaul distribution associated Depending topology site concerned integration constraint location need change may marginal number case even necessary deploy new grid install storage capacity time lag heat recovery achieved energy recovered used variability Artificial “augmented” Intelligence required efficiently perform emphasized fact general due relative lack flexibility Renewables require specific operational knowhow traditional competitor electricity grid conventional power generation heat produced natural gas Credit Optimizing power generation Hybrid Energy Storage AI CC BYNCSA 20 © Smart Phases Inc DBA Novacab strength one counterbalance weakness others Indeed conventional technology advantage almost always available responsive flexible easily adapt even rapid fluctuation load activity therefore able provide load curve lot responsiveness case majority Renewable technology Solar wind technology hand typically variable producing electricity andor heat presence sun andor wind global process production combustion biogas biomass may subject availability resource local liquid effluent various waste However possible overcome difficulty intelligently combining energy technology heat recovery technology renewable energy provide different us site example consider association district heat energy storage solution cope variability production certain renewable energy asset asynchronous heat recovery solution facilitate integration renewable energy industrialist rely contribution ecosystem technology provider service provider financing actor innovative business model order share risk overcome difficulty mentioned project might seem quite complex implement u mortal human help AI bring highperformance level economic environmental point view order give value important focus improving training time AI squeezing insight smaller quantity data end result solution require fewer data build faster train deploy protect intellectual property short mix energy storage electric thermal hybrid mechanical etc AI jointly able solve downside combination conventional technology Renewables Intelligent Energy storage technology facilitates integration exploitation Indeed technology might appear implicitly competitive situation technology must seen complementary complementary conventional source electricity gas particular whole challenge lie construction energy system asset complement strength one counterbalance weakness others technology brings share advantage disadvantage need assessed taken case case industrial site enable deployment efficient energy solution operational economic point view industrial site corresponds specific solution Multiple data source key optimize solution AI necessary deal mountain information Edmund Hillary said go mountain see admire sense give challenge try express challenge climbing Energy Transition mountain range ahead challenge u need better join strength “augmented intelligence” climb best way possible Photo Hu Chen Unsplash article part series Artificial Intelligence Energy Storage Stephane Bilodeau ing PEng PhD FEC Chief Technology Officer Smart Phases Novacab Fellow Engineers Canada expert contributor Energy Central find article hereTags Towards Data Science Renewable Energy Data Science Energy Storage Artificial Intelligence |
1,929 | Why your next product should include a conversational Artificial Intelligence | We learned to use Graphic User Interfaces because we had to, in order to give orders to the machine. We learned the machine’s language. What if we actually make the machine learn our language? I mean real language with sentences and intention, understanding, empathy even.
“The Fly” movie shows Seth Brundle having some chat conversations with his computer. He actually asks questions to the machine which will answer to him. Like a chat. The way he interacts with it seems obvious and easy but until recently, it was only science-fiction. Having a computer understanding a human sentence question requires a lot of work. Luckily, it is finally close to our present, even more advanced maybe, where Artificial Intelligence can give us the feeling that they have empathy. And empathy is what makes our brain happy.
“The Fly” movie: the conversational interaction with the machine
Make me feel something
Using the app Slack for a while now, I can tell you that I love Slack bot. I feel like he understands me. For example, when I post a Dropbox link on the app, he is so intelligent that he asks me if he should grab the document itself from my Dropbox and upload it on Slack. I can either answer “Yes”, “Not this time”, “Never”. When I chose “Not this time”, he answered me a full sentence that confronted me that he understood me: “OK, I won’t import this Dropbox file, but I will remember to ash you again next time.” I love you Slack bot ❤
Slackbot answers me using a full clear sentence of his intentions — I felt so well understood!
Really, that’s how strong relationships with computer could and should be. They are our assistants 24/7. As a product designer, my goal is to build apps or services the user can emotionally rely on. That means building this trusted relationship, including emotions.
Add granularity in the emotions
I like using movies as examples of Artificial Intelligence and User Interface as they are spaces where designers can go a bit further on their imagination, not depending so much on feasibility as we do in the real world.
On “Interstellar“, Cooper talks with the robot T.A.R.S. to get information and asks him to do some actions. But also, and that’s the most important thing here, he can modify the humor and trust settings. This is really strong Artificial Intelligence there. Empathy, emotion, humor that can be in different degrees to create a more plausible AI.
Interstellar T.A.R.S. has humor and trust settings
[Sci-fi movie nerd digression: I have to forget the fact that the shape of this robot makes no sense at all to me (seems so instable and could get stuck in so many situations!) and that its screen is showing stupid lines of codes instead of something else that could be, let’s say, useful. Adam Savage from Mythbuster seems to actually find the shape genius on this Youtube video (he still says the main issue is the stability/balance though haha) . Oh and this awesome article about the designs and sets for Interstellar: the part about how they built the Tesseract totally blew my mind! Sorry for the sci-fi movie nerd digression.]
Show me you care about me
Let’s go back to our subject: interacting with Artificial Intelligence. Remember the computer HAL talking in “2001: A Space Odyssey“? That’s what I felt using Lark app for the past few weeks. Lark, the Artificial Intelligence, is typing me some interesting facts about my health and I am really happy to start a conversation with him. I can even see the 3 dots when he is typing, giving me the feeling that there is actually a soul typing a text for me. Yes, I feel like someone is interacting with me, maybe even care about me and my health, and my human brain is really really happy.
Lark app where I really feel the AI is typing to me
Same feeling for the Artificial Intelligence used for the scheduling meetings tools Amy. Amy was really nice with me when I told her I was not available on the first days she suggested. (If you want to learn more about Amy, I interviewed Dennis Mortensen, founder of x.ai on the podcast Daily Hunt podcast.)
Make me fall in love
So when you think about your new product or service, try to have this AI aspect in your mind. How your users will interact with your app or service? How can you trigger the emotions you want from your users? How can you create the trusted relationship the user needs in order to fall in love with your product?
If you did not watch the movie “Her“, now would be the best time as this is not so a science-fiction scenario after all. The more we rely on conversational Artificial Intelligence, the better they will be designed (not the UI only but more the overall experience). Designed by us. By you. By me.
Or maybe… am I actually an AI without knowing it? *creepy Twilight Zone music*
This article was included on the issue#3 my curated publication “Design for startups“.
Don’t forget to sign up for it to receive new tips and tricks on your inbox.
“Design for startups” is my curated publication that helps you design when you are not a designer. Tips, tools and interesting articles for startups.
Originally published at www.sophiemasure.com. | https://medium.com/design-for-startups/why-your-next-product-should-include-a-conversational-artificial-intelligence-a14241408823 | ['Max Masure'] | 2015-12-09 14:13:56.137000+00:00 | ['Artificial Intelligence', 'Design', 'UX'] | Title next product include conversational Artificial IntelligenceContent learned use Graphic User Interfaces order give order machine learned machine’s language actually make machine learn language mean real language sentence intention understanding empathy even “The Fly” movie show Seth Brundle chat conversation computer actually asks question machine answer Like chat way interacts seems obvious easy recently sciencefiction computer understanding human sentence question requires lot work Luckily finally close present even advanced maybe Artificial Intelligence give u feeling empathy empathy make brain happy “The Fly” movie conversational interaction machine Make feel something Using app Slack tell love Slack bot feel like understands example post Dropbox link app intelligent asks grab document Dropbox upload Slack either answer “Yes” “Not time” “Never” chose “Not time” answered full sentence confronted understood “OK won’t import Dropbox file remember ash next time” love Slack bot ❤ Slackbot answer using full clear sentence intention — felt well understood Really that’s strong relationship computer could assistant 247 product designer goal build apps service user emotionally rely mean building trusted relationship including emotion Add granularity emotion like using movie example Artificial Intelligence User Interface space designer go bit imagination depending much feasibility real world “Interstellar“ Cooper talk robot TARS get information asks action also that’s important thing modify humor trust setting really strong Artificial Intelligence Empathy emotion humor different degree create plausible AI Interstellar TARS humor trust setting Scifi movie nerd digression forget fact shape robot make sense seems instable could get stuck many situation screen showing stupid line code instead something else could let’s say useful Adam Savage Mythbuster seems actually find shape genius Youtube video still say main issue stabilitybalance though haha Oh awesome article design set Interstellar part built Tesseract totally blew mind Sorry scifi movie nerd digression Show care Let’s go back subject interacting Artificial Intelligence Remember computer HAL talking “2001 Space Odyssey“ That’s felt using Lark app past week Lark Artificial Intelligence typing interesting fact health really happy start conversation even see 3 dot typing giving feeling actually soul typing text Yes feel like someone interacting maybe even care health human brain really really happy Lark app really feel AI typing feeling Artificial Intelligence used scheduling meeting tool Amy Amy really nice told available first day suggested want learn Amy interviewed Dennis Mortensen founder xai podcast Daily Hunt podcast Make fall love think new product service try AI aspect mind user interact app service trigger emotion want user create trusted relationship user need order fall love product watch movie “Her“ would best time sciencefiction scenario rely conversational Artificial Intelligence better designed UI overall experience Designed u maybe… actually AI without knowing creepy Twilight Zone music article included issue3 curated publication “Design startups“ Don’t forget sign receive new tip trick inbox “Design startups” curated publication help design designer Tips tool interesting article startup Originally published wwwsophiemasurecomTags Artificial Intelligence Design UX |
1,930 | Can a gadget addict go green? | Can a gadget addict go green?
Thoughts about kicking my conspicuous consumption habit
Falling iPhone sales may be bad for Apple, but keeping old iPhones going is good for Earth (photo©babulous)
A few days ago, I saw a news article that said iPhone users now wait four years to upgrade their devices. I can relate to that as my iPhone 6S+ is now into its fourth year. Despite being a gadget-lover, I delayed upgrading because of the tear-inducing prices of iPhones in India. An iPhone XS Max (64GB) that’s $1099 in US is almost 50% pricier in India at $1545 (₹1,09,900).
However, people rarely do things because of a single reason. My other reason for delaying the upgrade is another snippet of news that I came across on the net. We are currently generating 40,000,000 tons of e-waste, every year.
Seems that’s like throwing out 800 laptops every single second. Ouch!
I couldn’t help feeling guilty. Just yesterday, I packed up a bunch of old DVDs to throw away as everything is available online these days. The last time I owned a DVD player was nearly eight years ago. Come to think of it, I’ve no idea where that player disappeared. Probably joined the huge pile of e-waste generated by yours truly. The day before, it was an old set-top box that became obsolete when the TV signal went digital. A week before, I disconnected my mother’s old landline. That’s two handsets and a bunch of telephone cables headed for the bin, and that’s not counting the two long looping cables dangling off the roof that lead to the telephone pole on the road. This morning, it was four rechargeable AA batteries that had died. In short, every other day, I’m contributing to the world’s mounting e-waste problem.
So what led to my enlightenment?
How many gadgets is too many gadgets?
Last weekend, I was staying over at a friend’s farm in the hills when something came up, and I had to rush back. On reaching home, I found my travel gadget-bag was missing two gadgets: a power bank and the portable hotspot to which I had connected it. I recalled leaving it outdoors in order to pick up the faint cellular signal in the hills. Fortunately, the rainy season hasn’t begun in India but I still had to make a 45-minute drive the next evening to retrieve my stuff.
Driving is thinking the time for me as my brain is relatively free of the distraction of my usual multitasking. So that’s how this question popped up in my mind.
What kind of person carries a travel gadget-bag with so much in it that he misplaces two gadgets, and doesn’t even notice he has misplaced them?
The answer was uncomfortably obvious. It’s a guy who has too many gadgets!
I took a closer look at my travel gadget-bag. Not counting my iPhone and iPad, there were a whole lot of assorted cables (lightning & USB) in varying sizes, three chargers, a couple of pen drives, a flash card, an OTG connector, a wifi range extender, a set of iPhone attach-on lens, an Android phone, an Echo Dot, a bluetooth speaker, a Bluetooth headset, and random adapters and dongles. Once upon a time, the only gadget I would have had on me was a camera.
Too many gadgets, and no two ways about it!
Stop consuming, start recycling
I have been talking about being environment-friendly. But I need to put my money where my mouth is. Ideally, I should get rid of all my gadgets, and go back to reading books and newspapers. However, giving away my expensive gadgets is a bit too much to ask of myself. But all of us can delay acquiring additional gadgets, cut down on our conspicuous consumption habits, and recycle our existing gadgets for a few extra years. That will give Mother Nature some respite from our constant ravaging of her resources.
Time to disagree with Amy Winehouse, and go to gadget rehab.
What I’m going to do is audit all my electronic devices, see if I can avoid buying more of the same. My goal is to try to make up for all my years of generating electronic waste, and cut down or delay my consumption. It’s the least I can do for my e-waste contributions to our long-suffering planet. So here goes. | https://medium.com/hackernoon/can-a-gadget-addict-go-green-66675aa4a5d1 | [] | 2019-11-11 08:41:02.621000+00:00 | ['Recycling', 'Electronic Waste', 'Environment', 'Conspicuous Consumption', 'Apple'] | Title gadget addict go greenContent gadget addict go green Thoughts kicking conspicuous consumption habit Falling iPhone sale may bad Apple keeping old iPhones going good Earth photo©babulous day ago saw news article said iPhone user wait four year upgrade device relate iPhone 6S fourth year Despite gadgetlover delayed upgrading tearinducing price iPhones India iPhone XS Max 64GB that’s 1099 US almost 50 pricier India 1545 ₹109900 However people rarely thing single reason reason delaying upgrade another snippet news came across net currently generating 40000000 ton ewaste every year Seems that’s like throwing 800 laptop every single second Ouch couldn’t help feeling guilty yesterday packed bunch old DVDs throw away everything available online day last time owned DVD player nearly eight year ago Come think I’ve idea player disappeared Probably joined huge pile ewaste generated truly day old settop box became obsolete TV signal went digital week disconnected mother’s old landline That’s two handset bunch telephone cable headed bin that’s counting two long looping cable dangling roof lead telephone pole road morning four rechargeable AA battery died short every day I’m contributing world’s mounting ewaste problem led enlightenment many gadget many gadget Last weekend staying friend’s farm hill something came rush back reaching home found travel gadgetbag missing two gadget power bank portable hotspot connected recalled leaving outdoors order pick faint cellular signal hill Fortunately rainy season hasn’t begun India still make 45minute drive next evening retrieve stuff Driving thinking time brain relatively free distraction usual multitasking that’s question popped mind kind person carry travel gadgetbag much misplaces two gadget doesn’t even notice misplaced answer uncomfortably obvious It’s guy many gadget took closer look travel gadgetbag counting iPhone iPad whole lot assorted cable lightning USB varying size three charger couple pen drive flash card OTG connector wifi range extender set iPhone attachon lens Android phone Echo Dot bluetooth speaker Bluetooth headset random adapter dongle upon time gadget would camera many gadget two way Stop consuming start recycling talking environmentfriendly need put money mouth Ideally get rid gadget go back reading book newspaper However giving away expensive gadget bit much ask u delay acquiring additional gadget cut conspicuous consumption habit recycle existing gadget extra year give Mother Nature respite constant ravaging resource Time disagree Amy Winehouse go gadget rehab I’m going audit electronic device see avoid buying goal try make year generating electronic waste cut delay consumption It’s least ewaste contribution longsuffering planet goesTags Recycling Electronic Waste Environment Conspicuous Consumption Apple |
1,931 | I Stopped Mocking Myself for a Day and the Results Were Amazing | My latest diary entry crowned me a Self-Deprecation Queen.
I titled it Confessions of a Terribly Absentminded Trans Girl: How would you save a clown version of Cinderella? I poked fun at myself and portrayed my situation as pathetic.
Using myself as a comedic punching bag is JOY. It lets me vent aggression at my inadequacies while savoring the attention. As a sensitive introvert, criticizing myself before anyone else can (but jokingly) seems to disarm and endear. It’s helped me better connect with people.
When traditional “confidence” didn’t work, I learned to humorously humble myself. Self-deprecation gave me an unexpected “alt confidence”that’s been all I could ever ask for. Thank you, Natalie Tran.
However, there are drawbacks to constantly insulting oneself. When I get too in the zone zapping my own character with creative disses, here’s what I notice happening:
I become more self-focused than I want to be. Coming up with jokes at my own expense gets addicting and distracting.
I subconsciously set myself up to fail! Because failure = material for my next satire article, right?
I don’t try my best, admit my strengths, or truly shine. Success would go against the very core of this self-effacing personality I’ve constructed…
I was glad I got the “clown Cinderella” rant out of my system. I wouldn’t take back anything I said.
But after entering “Research Day” Wednesday without a plan and doing everything but researching, I was ready for a self-deprecation vacation.
On Thursday, I was able to think straight and I pitched to 5 publications that pay per article. I’ve only earned through the Medium Partner Program and have been meaning for months to get pitching!
Overall, the latter half of this week has been a poopy dump of a slump that makes me go hrumph. So I just want to re-live what went right Thursday afternoon. See what I can learn.
5 things.
I finished making my lists of 28 dares to grow as a writer + 28 adulting challenges. Both are “due” December 11 for my 28th birthday. For Thursday, I would take on this first dare: “In one day, pitch to 5 publications that pay.” When I know what actions and results I’m looking forward to, motivation surges. Took a long walk around the neighborhood and I took my phone with me. I scrolled through my drafts folder and thought about potential pitches. I swear, strolling the beautiful scenery with my vermilion iPhone 12 while generating writing ideas is a special form of self-care I plan to repeat. While still out walking, Stepmama texted me. She and my dad would be home in 20 with a guest on the way — could I sweep the entrance? Ha, that’s one way to send me flying home so I get some dang cardio! Sweeping was fun; then I went downstairs and got the first pitch done. And the second. By this time, I noticed I was as focused and determined as if it were Reset Night on Neopets. A rarity! Basically, my goal every day is to get as completely engrossed in something as I used to be in that excruciatingly-difficult-to-quit online game. Pitch #4 got sent with 15 minutes to spare before bedtime. Scrambling for #5, I quickly found an LGBTQ pub and emailed them 2 of my best articles along with bullet points of essays I’ll write next. Boom, just in time! A deadline a day keeps writer’s block at bay.
Your success streaks are SO worth reflecting on. Especially when your name is Phoenix and every success in your life is like a grove of date-bearing palm trees surrounded by miles and miles of desert nothing.
Oops, did I just self-defecate — I mean, self-deprecate again?
Game over. You made it 638 words without roasting yourself. Your high score is: 638 points. Better luck next time!
Speaking of next time, even though Saturday is half over and I’ve done near diddly-squat, let’s turn that around so I can update you more optimistically tonight.
I’ll review my lists and decide what to focus on. 9pm will be my deadline a day that keeps the writer’s block at bay. I’ll take another neighborhood hike, I’ll get my heart rate up, and I’ll get to work!
Only slightly less self-flagellating than usual, this is your friend Huber the Goober, slacking off!
Update: This afternoon I got back to a bunch of friends I’d waited too long to reply to. That was a big relief. My mama needed me to drive my dad to the store to get missing ingredients for their supper, and it made me feel useful and we ate together. On my evening walk, I brainstormed an upcoming article: “X Ways I’d Behave Differently if I Were More Altruistic.” Ahh, yes, this is going to be a good breakthrough post to get back on track with a more service-oriented psychology. Thank you for your patience with me. Sweet Dreams. 💗 | https://medium.com/love-everyone/i-stopped-mocking-myself-for-a-day-and-the-results-were-amazing-4d839ae02388 | ['Phoenix Huber'] | 2020-11-17 00:51:54.328000+00:00 | ['Self Improvement', 'Comedy', 'Productivity', 'Writing', 'Diary'] | Title Stopped Mocking Day Results AmazingContent latest diary entry crowned SelfDeprecation Queen titled Confessions Terribly Absentminded Trans Girl would save clown version Cinderella poked fun portrayed situation pathetic Using comedic punching bag JOY let vent aggression inadequacy savoring attention sensitive introvert criticizing anyone else jokingly seems disarm endear It’s helped better connect people traditional “confidence” didn’t work learned humorously humble Selfdeprecation gave unexpected “alt confidence”that’s could ever ask Thank Natalie Tran However drawback constantly insulting oneself get zone zapping character creative dis here’s notice happening become selffocused want Coming joke expense get addicting distracting subconsciously set fail failure material next satire article right don’t try best admit strength truly shine Success would go core selfeffacing personality I’ve constructed… glad got “clown Cinderella” rant system wouldn’t take back anything said entering “Research Day” Wednesday without plan everything researching ready selfdeprecation vacation Thursday able think straight pitched 5 publication pay per article I’ve earned Medium Partner Program meaning month get pitching Overall latter half week poopy dump slump make go hrumph want relive went right Thursday afternoon See learn 5 thing finished making list 28 dare grow writer 28 adulting challenge “due” December 11 28th birthday Thursday would take first dare “In one day pitch 5 publication pay” know action result I’m looking forward motivation surge Took long walk around neighborhood took phone scrolled draft folder thought potential pitch swear strolling beautiful scenery vermilion iPhone 12 generating writing idea special form selfcare plan repeat still walking Stepmama texted dad would home 20 guest way — could sweep entrance Ha that’s one way send flying home get dang cardio Sweeping fun went downstairs got first pitch done second time noticed focused determined Reset Night Neopets rarity Basically goal every day get completely engrossed something used excruciatinglydifficulttoquit online game Pitch 4 got sent 15 minute spare bedtime Scrambling 5 quickly found LGBTQ pub emailed 2 best article along bullet point essay I’ll write next Boom time deadline day keep writer’s block bay success streak worth reflecting Especially name Phoenix every success life like grove datebearing palm tree surrounded mile mile desert nothing Oops selfdefecate — mean selfdeprecate Game made 638 word without roasting high score 638 point Better luck next time Speaking next time even though Saturday half I’ve done near diddlysquat let’s turn around update optimistically tonight I’ll review list decide focus 9pm deadline day keep writer’s block bay I’ll take another neighborhood hike I’ll get heart rate I’ll get work slightly le selfflagellating usual friend Huber Goober slacking Update afternoon got back bunch friend I’d waited long reply big relief mama needed drive dad store get missing ingredient supper made feel useful ate together evening walk brainstormed upcoming article “X Ways I’d Behave Differently Altruistic” Ahh yes going good breakthrough post get back track serviceoriented psychology Thank patience Sweet Dreams 💗Tags Self Improvement Comedy Productivity Writing Diary |
1,932 | PixieDust 1.0 is here! | PixieDust 1.0 is here!
Notebook data visualizations for everyone
Back in October of last year, I introduced the PixieDust open source project. PixieDust is a helper library for Python or Scala notebooks, which lets you generate sophisticated charts, maps, and other visualizations in a few clicks — no coding necessary. It smooths out some other pain points for notebook users too, which you’ll read about in a minute. PixieDust got lots of interest from the community. Thank you all for your feedback, which is helping us refine the tool.
The magic is bottled
Finally, the wait is over. After much hard work from the team, I am happy to announce the availability of PixieDust 1.0 on PyPi. Can’t wait to see it? Here’s a quick video showing PixieDust’s display() API and chart rendering in action:
New features
Multi-renderer support
PixieDust offers several different rendering engines you can use out-of-the-box to display your data. Depending upon what chart you’re viewing, render with matplotlib, Bokeh, or Seaborn — all without coding a single extra line. You can also generate sophisticated, gorgeous maps from your data using Mapbox or Google Maps.
Spark Progress Monitor
Track the status of your Spark job. No more waiting in the dark. Notebook users can now see how a cell’s code is running behind the scenes.
Installer for local use
We’ve made it easier to get started with PixieDust locally. Try our new packaged installer. It will walk you through setup, step by step.
Scala in a Python notebook
Enter Scala commands in a Python notebook. Variables are automatically transferred from Python to Scala and vice-versa.
Improvements
Extensibility Guidance
Want to create your own visualizations or add a renderer? We help you understand how to build add-ons with a generate wizard, which walks you through a sample setup using Terminal or other command line tools.
Display improvements
We continue to refine and improve PixieDust’s display() API with smarter introspection of your DataFrames and expanded options for data visualizations.
That’s just the latest
As before, PixieDust lets you install Spark packages inside a Python notebook, export data, embed a polished app UI in your notebook, and more. For details on these and other features, visit PixieDust’s readme.
Coming soon
Full Scala notebook support
Love Scala, but crave the robust visualizations that only Python can deliver? Fear not, Matplotlib lovers — soon, there’ll be no need to choose!
PixieDust will soon work in Scala notebooks too, letting you configure robust and varied data display options in just a few clicks (no coding necessary). To see a preview, watch the video above or jump straight to it on YouTube.
Try it yourself
To help you get started, we offer some sample notebooks. Give PixieDust a try and share your issues, comments, and ideas on GitHub. PRs welcome!
Also, spread the magic. Click the ♡ here to sprinkle a bit of love in the name of PixieDust.
Oh, hey. Did we forget to mention? We have a new logo too:
Sprinkling data science magic since 2016.
Acknowledgements: Since there would be no magic without passion, I want to thank va barbosa, Mike Broberg, Jess Mantaro, Brad Noble, RAJ SINGH, Patrick Titzler, Chetna Warade, Mark Watson , and the rest of the of the IBM Watson Data Platform developer advocacy team for their dedication and long hours trying to make data simple and accessible. | https://medium.com/codait/pixiedust-1-0-is-here-15e0f428df88 | ['David Taieb'] | 2017-03-23 22:31:36.123000+00:00 | ['Python', 'Jupyter Notebook', 'Pixiedust', 'Data Science', 'Scala'] | Title PixieDust 10 hereContent PixieDust 10 Notebook data visualization everyone Back October last year introduced PixieDust open source project PixieDust helper library Python Scala notebook let generate sophisticated chart map visualization click — coding necessary smooth pain point notebook user you’ll read minute PixieDust got lot interest community Thank feedback helping u refine tool magic bottled Finally wait much hard work team happy announce availability PixieDust 10 PyPi Can’t wait see Here’s quick video showing PixieDust’s display API chart rendering action New feature Multirenderer support PixieDust offer several different rendering engine use outofthebox display data Depending upon chart you’re viewing render matplotlib Bokeh Seaborn — without coding single extra line also generate sophisticated gorgeous map data using Mapbox Google Maps Spark Progress Monitor Track status Spark job waiting dark Notebook user see cell’s code running behind scene Installer local use We’ve made easier get started PixieDust locally Try new packaged installer walk setup step step Scala Python notebook Enter Scala command Python notebook Variables automatically transferred Python Scala viceversa Improvements Extensibility Guidance Want create visualization add renderer help understand build addons generate wizard walk sample setup using Terminal command line tool Display improvement continue refine improve PixieDust’s display API smarter introspection DataFrames expanded option data visualization That’s latest PixieDust let install Spark package inside Python notebook export data embed polished app UI notebook detail feature visit PixieDust’s readme Coming soon Full Scala notebook support Love Scala crave robust visualization Python deliver Fear Matplotlib lover — soon there’ll need choose PixieDust soon work Scala notebook letting configure robust varied data display option click coding necessary see preview watch video jump straight YouTube Try help get started offer sample notebook Give PixieDust try share issue comment idea GitHub PRs welcome Also spread magic Click ♡ sprinkle bit love name PixieDust Oh hey forget mention new logo Sprinkling data science magic since 2016 Acknowledgements Since would magic without passion want thank va barbosa Mike Broberg Jess Mantaro Brad Noble RAJ SINGH Patrick Titzler Chetna Warade Mark Watson rest IBM Watson Data Platform developer advocacy team dedication long hour trying make data simple accessibleTags Python Jupyter Notebook Pixiedust Data Science Scala |
1,933 | How To Take Action When You Have A Lot Of Ideas. | Are you someone who comes up with a new idea almost every day? Yesterday it was becoming an event planner — Today, it’s starting a YouTube channel. Tomorrow it may be writing that book you’ve always wanted to write. Oh, remember back in high school you wanted to become a filmmaker? Time to dust off that bad boy and get snappin’.
If this sounds like you then don’t worry — you’re not alone. Like you and many others I also have multiple ideas floating around in my head. I’m the kind of person who can see potential in almost anything. If someone is willing to pay, there is a business to be built around it.
Having a lot of ideas is a great problem to have — except when you don’t act on any of them. Sometimes you’ll have so many ideas that you become overwhelmed and end up not doing anything. It’s easy to come up with an idea yet putting them to work is the hard part.
Record And Evaluate.
When you get a wave of new ideas, jot them down and start looking at them from all angles. Ask yourself a few questions to gain clarity on the ideas.
Is this something I can really see myself doing? Is this going to be a side project or a full-time deal? Can I fit this into my schedule? Is this worth my time?
You’re not going to have an answer for each idea — and that’s the point. Some ideas will have an entire page filled and others will be like pulling teeth.
The goal is to see which ideas can go from paper to reality. You shouldn’t spend a lot of time trying to think about it. If the idea draws a blank then let it go. Evaluation helps you decide which ideas sound as good on paper as they do in your head. Something I like to do is write them down in my notes app and come back to them later. This way I am able to look at things in a different state of mind. If I still like the idea, I’ll keep it. If not, I’ll get rid of it.
Do Something You Actually Like (And Can Do).
The last thing you should be doing is starting something because it’s popular. When you get ideas you’re going to have a range of things you think about. You may want to start a game app because you saw how much Candy Crush makes in a day — but can you code? If you can’t will you outsource and dedicate the time needed to scale and maintain the app? If not, pass on the idea.
On the other hand, you may decide to become a fashion stylist. Unlike the gaming app idea, you actually know a thing or two about fashion — it’s practically your middle name! Because you enjoy fashion and have knowledge about styling yourself and others, this will be something that you can do effortlessly.
Filtering through your ideas is essentially trimming the fat — which means to get rid of dead-end ideas. You will have a lot of ideas but after some evaluation, you will end up with the few that’s best for you.
Pick One Thing And Get Focused.
Did you pick some great ideas? Good. It’s the first step of world domination.
Before you decide to take over the world, you have to create a plan of action. What is the end goal? Is this a long or short term idea? Once you’ve made your decisions it’s time to get your hands dirty.
Focus on one thing and make that your main idea. You’re going to think about your other ideas often, but now is the time to double down. Before you can eat our cake you have to master patience and commitment needed to get the ball rolling. Once done, you’ll be able to branch off onto your other ideas.
What is the most important part of building a house? The foundation. You can’t build a house without it. In the beginning, your goal is to build the groundwork that leads to other things. If you try to build three houses at a time you’ll take three times as long as you should. It’s best to take things one step at a time and give that one thing your full attention.
Prioritize Your Ideas
The best thing is to choose the idea that can help you segway into your other ideas. This is the gateway idea. Let’s say you have three ideas: Becoming a YouTuber, an author, and running a startup. The YouTube channel will be your gateway because it can bring awareness to your other ideas. Because of this, YouTube will be the top priority and foundation.
Once you’ve scaled your YouTube channel to a suitable audience size you can now add your other ideas into the mix. Since you have a following, you will have people who will buy your book and potential customers for your startup.
Finish What You Started
We want to focus on a question that was asked earlier. What is the end goal of your ideas? Are you in the YouTube game for the long haul? Is becoming an author a one time deal or do you want multiple books? Whatever your plan is make sure you’re able to finish strong.
In closing, we’ve created a four-step how-to for taking action on your ideas:
List your ideas Evaluate and trim the fat Take action and prioritize your ideas Finish until you reach your goal
It’s going to be a challenge to make these things happen and there will be days where you want to quit. The point in finishing is to not end up like those who start something and don’t finish — you want to go all the way. Once you’re able to finish one thing it will give you the confidence to take on something else in completion. Rinse and complete until all of your ideas are in action. | https://arronfornasetti.medium.com/how-to-take-action-when-you-have-a-lot-of-ideas-d6db8f5df3ce | ['Arron Fornasetti'] | 2019-11-04 17:05:30.096000+00:00 | ['Ideas', 'Startup', 'Productivity', 'Thoughts', 'Work'] | Title Take Action Lot IdeasContent someone come new idea almost every day Yesterday becoming event planner — Today it’s starting YouTube channel Tomorrow may writing book you’ve always wanted write Oh remember back high school wanted become filmmaker Time dust bad boy get snappin’ sound like don’t worry — you’re alone Like many others also multiple idea floating around head I’m kind person see potential almost anything someone willing pay business built around lot idea great problem — except don’t act Sometimes you’ll many idea become overwhelmed end anything It’s easy come idea yet putting work hard part Record Evaluate get wave new idea jot start looking angle Ask question gain clarity idea something really see going side project fulltime deal fit schedule worth time You’re going answer idea — that’s point idea entire page filled others like pulling teeth goal see idea go paper reality shouldn’t spend lot time trying think idea draw blank let go Evaluation help decide idea sound good paper head Something like write note app come back later way able look thing different state mind still like idea I’ll keep I’ll get rid Something Actually Like last thing starting something it’s popular get idea you’re going range thing think may want start game app saw much Candy Crush make day — code can’t outsource dedicate time needed scale maintain app pas idea hand may decide become fashion stylist Unlike gaming app idea actually know thing two fashion — it’s practically middle name enjoy fashion knowledge styling others something effortlessly Filtering idea essentially trimming fat — mean get rid deadend idea lot idea evaluation end that’s best Pick One Thing Get Focused pick great idea Good It’s first step world domination decide take world create plan action end goal long short term idea you’ve made decision it’s time get hand dirty Focus one thing make main idea You’re going think idea often time double eat cake master patience commitment needed get ball rolling done you’ll able branch onto idea important part building house foundation can’t build house without beginning goal build groundwork lead thing try build three house time you’ll take three time long It’s best take thing one step time give one thing full attention Prioritize Ideas best thing choose idea help segway idea gateway idea Let’s say three idea Becoming YouTuber author running startup YouTube channel gateway bring awareness idea YouTube top priority foundation you’ve scaled YouTube channel suitable audience size add idea mix Since following people buy book potential customer startup Finish Started want focus question asked earlier end goal idea YouTube game long haul becoming author one time deal want multiple book Whatever plan make sure you’re able finish strong closing we’ve created fourstep howto taking action idea List idea Evaluate trim fat Take action prioritize idea Finish reach goal It’s going challenge make thing happen day want quit point finishing end like start something don’t finish — want go way you’re able finish one thing give confidence take something else completion Rinse complete idea actionTags Ideas Startup Productivity Thoughts Work |
1,934 | One Year Since Julian Assange Was Detained, He Faces Greatest Threat To His Survival Yet | One Year Since Julian Assange Was Detained, He Faces Greatest Threat To His Survival Yet Kevin Gosztola Follow Apr 11 · 8 min read
Photo taken and owned by Kevin Gosztola
It has been one year since the United States government, with the support of the governments of Ecuador, Sweden, and the United Kingdom, dramatically escalated their political prosecution against WikiLeaks founder Julian Assange.
On April 11, 2019, Assange was expelled from the Ecuador embassy in the U.K. British police arrested him and charged him with violating bail conditions when he sought asylum in 2012, but the arrest was also connected to an indictment and extradition request filed by the U.S. government.
Video showed police carrying the body of a long-haired and bearded Assange, who was in clear distress. He begged the UK to resist President Donald Trump’s administration as officers loaded him into a van.
Assange was taken to Her Majesty’s Belmarsh Prison, where he served a 50-week sentence for the bail charge imposed against him. He remains in jail, despite his deteriorating health, the way it inhibits his ability to work with his legal team on his extradition case, and the reality that the global coronavirus pandemic threatens the lives of every incarcerated or jailed person.
Vaughan Smith, a friend who allowed Assange to live with him under house arrest in 2010, wrote on April 9 that Assange is “confined alone in a cell 23 and a half hours every day. He gets half an hour of exercise and that is in a yard crowded with other prisoners. With over 150 Belmarsh prison staff off work self-isolating, the prison is barely functioning.”
“We know of two COVID-19 deaths in Belmarsh so far, though the [Ministry] of Justice have admitted to only one death. Julian told me that there have been more and that the virus is ripping through the prison,” Smith added.
On March 25, British Magistrate Court Judge Vanessa Baraitser denied Assange bail, despite widespread calls for the release of detainees and prisoners to halt the spread of the coronavirus.
Assange’s legal team asked Baraitser to postpone a three-week extradition hearing scheduled for May 18. Baraitser refused to move the date.
According to Smith, “[Assange] is convinced this is happening to disadvantage him legally. Unable to meet with his lawyers, he cannot prepare his defense properly.”
Baraitser rejected a plea from lawyer Stella Morris to protect her anonymity as Assange’s fiancé. They fell in love while he was living in the embassy, and they had two kids. The tabloid press marked Assange’s one-year anniversary in detention by spreading salacious details.
“Forming a family was a deliberate decision to see, to kind of break down those walls around him, and imagine a life beyond that prison,” Morris said. “So, while for many people it would seem insane to start a family in that context, for us it was the sane thing to do. It was what keeps things real.” | https://medium.com/discourse/one-year-since-julian-assange-was-detained-he-faces-greatest-threat-to-his-survival-yet-de088181248f | ['Kevin Gosztola'] | 2020-04-13 01:57:10.980000+00:00 | ['Journalism', 'Wikileaks', 'Julian Assange', 'Human Rights', 'Coronavirus'] | Title One Year Since Julian Assange Detained Faces Greatest Threat Survival YetContent One Year Since Julian Assange Detained Faces Greatest Threat Survival Yet Kevin Gosztola Follow Apr 11 · 8 min read Photo taken owned Kevin Gosztola one year since United States government support government Ecuador Sweden United Kingdom dramatically escalated political prosecution WikiLeaks founder Julian Assange April 11 2019 Assange expelled Ecuador embassy UK British police arrested charged violating bail condition sought asylum 2012 arrest also connected indictment extradition request filed US government Video showed police carrying body longhaired bearded Assange clear distress begged UK resist President Donald Trump’s administration officer loaded van Assange taken Majesty’s Belmarsh Prison served 50week sentence bail charge imposed remains jail despite deteriorating health way inhibits ability work legal team extradition case reality global coronavirus pandemic threatens life every incarcerated jailed person Vaughan Smith friend allowed Assange live house arrest 2010 wrote April 9 Assange “confined alone cell 23 half hour every day get half hour exercise yard crowded prisoner 150 Belmarsh prison staff work selfisolating prison barely functioning” “We know two COVID19 death Belmarsh far though Ministry Justice admitted one death Julian told virus ripping prison” Smith added March 25 British Magistrate Court Judge Vanessa Baraitser denied Assange bail despite widespread call release detainee prisoner halt spread coronavirus Assange’s legal team asked Baraitser postpone threeweek extradition hearing scheduled May 18 Baraitser refused move date According Smith “Assange convinced happening disadvantage legally Unable meet lawyer cannot prepare defense properly” Baraitser rejected plea lawyer Stella Morris protect anonymity Assange’s fiancé fell love living embassy two kid tabloid press marked Assange’s oneyear anniversary detention spreading salacious detail “Forming family deliberate decision see kind break wall around imagine life beyond prison” Morris said “So many people would seem insane start family context u sane thing keep thing real”Tags Journalism Wikileaks Julian Assange Human Rights Coronavirus |
1,935 | Organization and wellness tips for balancing family and working from home | However, by combining creative problem-solving with an unapologetic focus and time management framework, we can successfully manage our conflicting duties and busy schedules and take back our lives, even during the pandemic.
Drawing from the intersection of positive psychology, design thinking, habits, and behavioral change, we uncovered through our research nine daily “win the day” tools. They are:
1. Bring awareness to the here and now.
Begin by wiggling your toes, bringing awareness to the now. Research shows us that being more present increases our happiness and well-being. Remind yourself that you are right here, and you have a choice for how you want to show up as an employee, parent, partner, or friend.
2. Limit your choices — perfect is no longer trending.
Worrying and reacting to social comparison can quickly creating FOMO and choice fatigue. Satisfying means knowing when to stop, even if something may not be perfect. Limiting our choices and comparisons makes us happier. So, think twice and restrain yourself before opening up your social media, signing up for another activity or even deciding where to order dinner.
3. Create unapologetic boundaries.
Juggling work, family, and distractions is like a circus act with no intermission. Some interruptions occur when our brains become overactive or unfocused, while others are caused by external factors, like technology, a coworker or child. Research shows us that boundaries help us protect our emotional energy and give us more control.
Consider using awareness apps, time-blocking, or rules around your toleration limits. Also, consider saying no sometimes. Remember that saying no is saying yes to something else.
4. Be your own environmental designer.
Research demonstrates that a small change in what we see daily can make a positive difference. Uplifting online and offline environments can spark your sense of connection and vitality and help lower stress.
Design your workspace to thrive, with colors, lighting, air flow, visuals, and scents that you enjoy. Make sure your office and computer are free of clutter and organized, and that connecting with others is part of your routine.
5. Find freedom in planning and prioritizing.
Continuous distractions and multi-tasking can waste time and wreak havoc on our daily productivity and stress loads. Given limited time and energy, focus on pruning and prioritizing your to-do list. Complete the most important tasks early in the day, and consider chopping work into 25-minute blocks, focusing on one task at a time.
6. Charge your well-being battery.
It’s essential to recharge your batteries. Think of your top energy-giving and energy-draining activities and observe the patterns. Rearrange to maximize your timing of certain tasks.
Allowing for mini-breaks increases your overall productivity while helping to consolidate memories and new skills. So, when daily fatigue sets in, consider a stretch, a walk outside, or friend-calling instead of another cup of caffeine.
7. Choose and invest in your friendships wisely.
Friendships fill us. They boost our self-esteem, quality of work, and decrease illness. To improve well-being, focus on quality and frequency rather than quantity of friends. Social media often doesn’t fill this void. Take a thoughtful approach and consider consistently investing in fewer, quality friendships that will fill your friendship tank (not drain it).
8. Rinse and repeat for happy habits.
Establishing consistent habits can help reduce stress by freeing up time spent worrying or overthinking. Make your habits small, easy, and specific.Consider focusing on tiny habits that improve your overall well-being — like physical movement, healthy friendship, and sufficient sleep.
Let’s improve our happiness and well-being by beginning with more unapologetic awareness and focus. Don’t forget to celebrate your accomplishments along the way, as few female superheroes are decorated with the accolades they deserve.
Clare Davenport is a positive psychology expert, life design coach, CEO and published author. She began her career at Goldman Sachs, followed by over 20 years in management consulting for Fortune 500 companies and managing businesses. Davenport works with business leaders, women’s groups, teams and individuals undergoing life transitions to evaluate and improve their well-being.
Elizabeth (Liz) Koehler, CFA, has been in the financial services industry for over 18 years and is currently the head of BlackRock’s Advisor Insights team. Her team develops and delivers educational programs and new insights for financial advisors and the investor clients, focused on business management, team leadership and organizations, portfolio and financial market insights — including women and investing.
For more great stories, visit Business Insider’s homepage. | https://medium.com/business-insider/8-organization-and-wellness-tips-for-balancing-career-and-family-while-working-from-home-845e6f20b117 | ['Business Insider'] | 2020-12-28 16:03:23.089000+00:00 | ['Friendship', 'Mental Health', 'Wellness', 'Working From Home', 'Women'] | Title Organization wellness tip balancing family working homeContent However combining creative problemsolving unapologetic focus time management framework successfully manage conflicting duty busy schedule take back life even pandemic Drawing intersection positive psychology design thinking habit behavioral change uncovered research nine daily “win day” tool 1 Bring awareness Begin wiggling toe bringing awareness Research show u present increase happiness wellbeing Remind right choice want show employee parent partner friend 2 Limit choice — perfect longer trending Worrying reacting social comparison quickly creating FOMO choice fatigue Satisfying mean knowing stop even something may perfect Limiting choice comparison make u happier think twice restrain opening social medium signing another activity even deciding order dinner 3 Create unapologetic boundary Juggling work family distraction like circus act intermission interruption occur brain become overactive unfocused others caused external factor like technology coworker child Research show u boundary help u protect emotional energy give u control Consider using awareness apps timeblocking rule around toleration limit Also consider saying sometimes Remember saying saying yes something else 4 environmental designer Research demonstrates small change see daily make positive difference Uplifting online offline environment spark sense connection vitality help lower stress Design workspace thrive color lighting air flow visuals scent enjoy Make sure office computer free clutter organized connecting others part routine 5 Find freedom planning prioritizing Continuous distraction multitasking waste time wreak havoc daily productivity stress load Given limited time energy focus pruning prioritizing todo list Complete important task early day consider chopping work 25minute block focusing one task time 6 Charge wellbeing battery It’s essential recharge battery Think top energygiving energydraining activity observe pattern Rearrange maximize timing certain task Allowing minibreaks increase overall productivity helping consolidate memory new skill daily fatigue set consider stretch walk outside friendcalling instead another cup caffeine 7 Choose invest friendship wisely Friendships fill u boost selfesteem quality work decrease illness improve wellbeing focus quality frequency rather quantity friend Social medium often doesn’t fill void Take thoughtful approach consider consistently investing fewer quality friendship fill friendship tank drain 8 Rinse repeat happy habit Establishing consistent habit help reduce stress freeing time spent worrying overthinking Make habit small easy specificConsider focusing tiny habit improve overall wellbeing — like physical movement healthy friendship sufficient sleep Let’s improve happiness wellbeing beginning unapologetic awareness focus Don’t forget celebrate accomplishment along way female superheroes decorated accolade deserve Clare Davenport positive psychology expert life design coach CEO published author began career Goldman Sachs followed 20 year management consulting Fortune 500 company managing business Davenport work business leader women’s group team individual undergoing life transition evaluate improve wellbeing Elizabeth Liz Koehler CFA financial service industry 18 year currently head BlackRock’s Advisor Insights team team develops delivers educational program new insight financial advisor investor client focused business management team leadership organization portfolio financial market insight — including woman investing great story visit Business Insider’s homepageTags Friendship Mental Health Wellness Working Home Women |
1,936 | Landing your First UX Design Job with 0 Industry Experience | spyrestudios
The question of searching for UX design jobs as a new UX designer gets asked a lot and I receive these kinds of questions a lot to the point where writing a blog post about it might help eager designers search for their first UX job. A question I received out of many pertaining to this topic is: “How can I advance further towards the UX/UI industry as a rookie? How can I land actual UX/UI jobs with 0 experience in working at real companies?”
Get an internship
the odyssey online
The demand for UX designers is growing but this means the competition is as well. If you didn’t do an internship in college or don’t have too much job experience, getting an internship may be a better choice for you than getting an actual job because an internship exposes you to how the design industry works. It makes it easier to transition to a full time position as you have learned how design works in real time and how to apply the skills you learned in school in real situations where your design and the people matter.
An internship allows you to learn and make as many mistakes as you can before working full-time. You also learn about how to find and interview for jobs in the process which is an important skill to have if you plan on transitioning from and to different places.
Overall an internship allows you to understand your role and duties surrounding your position as well as any expectations and assumptions you may have about working. I have a few tips that have helped me get my first internship here as well as another post about the unspoken expectations of your design internship here.
Recruiters are your friend
twitter
If you have a Linkedin account, refine it and when you feel like it showcases all of your skills and experience, reach out to recruiters on Linkedin who are hiring and introduce yourself. Do not just message recruiters your resume and portfolio without giving them context. Just like meeting a new person for the first time, you need to be thoughtful and honest about yourself to them. Also, first impressions count.
From messaging a recruiter perspective, you need to know exactly how you can help them and how they can help you. Tell recruiters about how your skills and background would be a good fit for the company based on what they are doing. If the company has any problems they are currently facing, what can you do to help them? By messaging recruiters about how you can contribute to the company shows them that you have done your research and that you are very passionate about tackling challenges and opportunity. Even if they don’t currently have UX positions, by making a memorable impression, you never know what could happen in the future.
Overall, it is good to do research on the company and how that might be a good fit for you. After all, people hire based on how they can help you as well as whether or not you have the potential to grow. Also link them to your portfolio and resume which will help them pass along this information if they are interested.
Build a network
Find UX networking events around your area that you can to go to and talk to designers. Expanding your design network is key to connecting with awesome people, making meaningful relationships, learning about design and finding people who may be able to refer you a place you may want to work at. Going back to my previous tip, if you have any second connections who know someone (i.e. recruiter) from x company, ask them to intro you. That never hurts and people have gotten jobs through secondary connections because that person knew someone from a company who was hiring.
In general, use your connections (friends, professors, Linkedin) and ask them if they could connect you to anymore or a company who is hiring.
Don’t wait till you get a job; work on projects!
If you have school projects and hackathons, be sure to have a project section on your resume where you can highlight those projects! Side projects are a good way to starting a conversation and an article from Tanner Christensen, a designer at Facebook, did just that despite not having formal design experience here.
Once you have projects, curate your portfolio
Along with your resume, a portfolio is crucial to applying for any UX design job. It showcases your skills and thinking to people who don’t know you personally. A strong portfolio with well articulated thoughts and design goes a long way and is one of the major factors to getting the job. I have tips on what not to do when designing a portfolio here.
It also helps to ask other designers for feedback on improving your portfolio because it is one of the first things recruiters will see and get you through the resume screening. Feedback is not just an important part of the design process, but in real life. It allows you to improve and learn. :)
If you have any questions about design, message me on LinkedIn and I’ll write about it!
To help you get started on owning your design career, here are some amazing tools from Rookieup, a site I used to get mentorship from senior designers:
Links to some other cool reads: | https://uxplanet.org/landing-your-first-ux-design-job-with-0-industry-experience-e4e9cff1e914 | ['Tiffany Eaton'] | 2018-02-02 16:52:55.883000+00:00 | ['Self Improvement', 'Design', 'UX', 'Life Lessons', 'Startup'] | Title Landing First UX Design Job 0 Industry ExperienceContent spyrestudios question searching UX design job new UX designer get asked lot receive kind question lot point writing blog post might help eager designer search first UX job question received many pertaining topic “How advance towards UXUI industry rookie land actual UXUI job 0 experience working real companies” Get internship odyssey online demand UX designer growing mean competition well didn’t internship college don’t much job experience getting internship may better choice getting actual job internship expose design industry work make easier transition full time position learned design work real time apply skill learned school real situation design people matter internship allows learn make many mistake working fulltime also learn find interview job process important skill plan transitioning different place Overall internship allows understand role duty surrounding position well expectation assumption may working tip helped get first internship well another post unspoken expectation design internship Recruiters friend twitter Linkedin account refine feel like showcase skill experience reach recruiter Linkedin hiring introduce message recruiter resume portfolio without giving context like meeting new person first time need thoughtful honest Also first impression count messaging recruiter perspective need know exactly help help Tell recruiter skill background would good fit company based company problem currently facing help messaging recruiter contribute company show done research passionate tackling challenge opportunity Even don’t currently UX position making memorable impression never know could happen future Overall good research company might good fit people hire based help well whether potential grow Also link portfolio resume help pas along information interested Build network Find UX networking event around area go talk designer Expanding design network key connecting awesome people making meaningful relationship learning design finding people may able refer place may want work Going back previous tip second connection know someone ie recruiter x company ask intro never hurt people gotten job secondary connection person knew someone company hiring general use connection friend professor Linkedin ask could connect anymore company hiring Don’t wait till get job work project school project hackathons sure project section resume highlight project Side project good way starting conversation article Tanner Christensen designer Facebook despite formal design experience project curate portfolio Along resume portfolio crucial applying UX design job showcase skill thinking people don’t know personally strong portfolio well articulated thought design go long way one major factor getting job tip designing portfolio also help ask designer feedback improving portfolio one first thing recruiter see get resume screening Feedback important part design process real life allows improve learn question design message LinkedIn I’ll write help get started owning design career amazing tool Rookieup site used get mentorship senior designer Links cool readsTags Self Improvement Design UX Life Lessons Startup |
1,937 | Don’t Let your Kids Crush Your Dreams | Don’t Let your Kids Crush Your Dreams
How to Juggle Kids, Career, and a Business One-Handed
Source: Tina Bo at Unsplash
If you’re a parent, you know what it’s like to have to do things one-handed. Newborn cradled in one arm like a football as you make yourself a coffee to fight the sleep deprivation brought on by waking up every 2 hours.
Parenthood. It’s an exclusive club with a lot of members.
When I roll into work at my engineering job all my other co-workers who have kids too give me the “sup” head nod of acknowledgement. They know the battles I’ve endured.
What they can’t understand is how I manage to be highly functional at work while also running a restaurant business and dealing with a newborn and toddler.
They say when you have kids, your life is over. Kiss your dreams goodbye, it’s all about the kids just embrace it.
That doesn’t have to be the case. You just have to become more efficient at everything you do. These are the tools I use to squeeze the most out of the day.
Organizing Tasks with the Reminders App
It started off as a joke but something I used to say at work has now become my mantra.
Set your goals low and you will always achieve
Now that my brain now has to deal with the parental adventure of keeping mini human beings alive I had to shift my memory banks into an app on my phone.
Create smaller, achievable tasks that can be completed in an hour or less Knock out 2–3 a day. I’m able to do this without being an absentee dad by either plugging away while feeding the newborn (not like you need to be engaging them in conversation during a night feeding), early in the morning or late at night when the kids are asleep, and one of the most productive workspaces…the bathroom. Reward yourself for knocking out that quota. For me that’s playing a couple rounds of Clash Royale on my phone or grabbing a brown sugar boba ice cream out of the freezer.
I like to create multiple lists and try to rotate between different types of tasks versus focusing on one thing for a long time which helps me from hitting roadblocks or getting tunnel vision on something. Scheduled tasks are great because they remind me to do things that don’t happen often enough for me to remember naturally like scheduling a hood cleaning every 3 months.
Source: I Sun
Brainstorming with Dropbox Paper
Another great app for jotting down anything I’m thinking about at the time is Dropbox Paper. I used to use Google Keep since it was integrated with GMail but I found Paper to have a cleaner feel and more features.
I use it as a scratchpad for absolutely any fleeting thought that comes to my head. As we were preparing for the opening of the restaurant my partner and I would collaborate in Paper on operating procedures or share notes about things on licensing and permits. These days we use it more for brainstorming thoughts on improving our operations.
Source: I Sun
You can track collaborative tasks in here as well but we don’t use it much since I usually have a short phone call with my partner every day.
Payments and Payroll with Square
As a small business, Square was a good fit for us because of the low startup cost. I already had an iPad laying around, I just had to buy a Square Stand that came with the chip and contactless reader for $100-something.
What’s cool about it too is I can do basically everything from my phone:
Check daily sales
Check time cards
Run payroll
Find transactions
Pro-tip: If you have over $250k in sales and your average ticket is $15 or more get in touch with their customer service to lower your rates.
Do Your Numbers with Quickbooks Online
While Dropbox Paper and Reminders are free, this one requires a $20/month subscription. It’s totally worth it because if I try to use the desktop version my toddler would materialize out of thin air and start bashing on my keyboard. He’s already pulled out two keys off the keyboard so I don’t want any more smoke there.
Source: Quickbooks
Being able to access all our accounting data through my phone helps me stay in touch with our cash flows, monitor banking feeds and look over Profit & Loss reports.
It’s got a nifty feature where you can swipe through your transactions like Tinder to confirm whether it has been categorized appropriately. It’s not as powerful as using it on your desktop but it gets the job done.
Don’t Deal with Checks, Use Bill Pay
Most of our bills are on auto-draft, the ones that aren’t I set up with Bill Pay using my bank. It cuts the check from your account and mails it to where I specify without me having to buy stamps or risk getting a tongue laceration licking an envelope. You can schedule them but I typically manually kick them off as driven by one of my reminders.
Scheduling with Homebase
Managing schedule for our front and back of house staff used to be a hassle. We got rid of that pain with Homebase.
Source: Homebase
With Homebase I no longer have to deal with the occasional call out or change of shift. Everybody can see their schedules and can trade on their own (which I have the opportunity to approve). Employees can put in their availability which helps with scheduling.
Takeaway
Just because you have kids doesn’t mean you have to set your dreams of starting or running a business to the side. Find ways to simplify your life by harnessing the power of all the apps out there (most of which you can use for free).
Soon you’ll be running your business all with one hand without sacrificing what matters most…spending time with your kids. | https://medium.com/swlh/dont-let-your-kids-crush-your-dreams-c016667706d9 | ['I Sun'] | 2020-05-27 12:17:23.612000+00:00 | ['Work Life Balance', 'Entrepreneurship', 'Kids', 'Productivity'] | Title Don’t Let Kids Crush DreamsContent Don’t Let Kids Crush Dreams Juggle Kids Career Business OneHanded Source Tina Bo Unsplash you’re parent know it’s like thing onehanded Newborn cradled one arm like football make coffee fight sleep deprivation brought waking every 2 hour Parenthood It’s exclusive club lot member roll work engineering job coworkers kid give “sup” head nod acknowledgement know battle I’ve endured can’t understand manage highly functional work also running restaurant business dealing newborn toddler say kid life Kiss dream goodbye it’s kid embrace doesn’t case become efficient everything tool use squeeze day Organizing Tasks Reminders App started joke something used say work become mantra Set goal low always achieve brain deal parental adventure keeping mini human being alive shift memory bank app phone Create smaller achievable task completed hour le Knock 2–3 day I’m able without absentee dad either plugging away feeding newborn like need engaging conversation night feeding early morning late night kid asleep one productive workspaces…the bathroom Reward knocking quota that’s playing couple round Clash Royale phone grabbing brown sugar boba ice cream freezer like create multiple list try rotate different type task versus focusing one thing long time help hitting roadblock getting tunnel vision something Scheduled task great remind thing don’t happen often enough remember naturally like scheduling hood cleaning every 3 month Source Sun Brainstorming Dropbox Paper Another great app jotting anything I’m thinking time Dropbox Paper used use Google Keep since integrated GMail found Paper cleaner feel feature use scratchpad absolutely fleeting thought come head preparing opening restaurant partner would collaborate Paper operating procedure share note thing licensing permit day use brainstorming thought improving operation Source Sun track collaborative task well don’t use much since usually short phone call partner every day Payments Payroll Square small business Square good fit u low startup cost already iPad laying around buy Square Stand came chip contactless reader 100something What’s cool basically everything phone Check daily sale Check time card Run payroll Find transaction Protip 250k sale average ticket 15 get touch customer service lower rate Numbers Quickbooks Online Dropbox Paper Reminders free one requires 20month subscription It’s totally worth try use desktop version toddler would materialize thin air start bashing keyboard He’s already pulled two key keyboard don’t want smoke Source Quickbooks able access accounting data phone help stay touch cash flow monitor banking feed look Profit Loss report It’s got nifty feature swipe transaction like Tinder confirm whether categorized appropriately It’s powerful using desktop get job done Don’t Deal Checks Use Bill Pay bill autodraft one aren’t set Bill Pay using bank cut check account mail specify without buy stamp risk getting tongue laceration licking envelope schedule typically manually kick driven one reminder Scheduling Homebase Managing schedule front back house staff used hassle got rid pain Homebase Source Homebase Homebase longer deal occasional call change shift Everybody see schedule trade opportunity approve Employees put availability help scheduling Takeaway kid doesn’t mean set dream starting running business side Find way simplify life harnessing power apps use free Soon you’ll running business one hand without sacrificing matter most…spending time kidsTags Work Life Balance Entrepreneurship Kids Productivity |
1,938 | Your Outrage Doesn’t Mean You’re Right | A while back, I posted the following essay to a Facebook group of women writers that I’m in. In a nutshell, this essay is about me — while I was living in Hanoi — dating a much younger Vietnamese man for 10 months, who turned out to be a covert narcissist. He almost killed me.
You would think that the comments about my essay would centre around the cycle of narcissistic abuse, or trauma bonds or intermittent reinforcement. Or how a smart, educated woman like myself could be drawn in by manipulation and lies. How I was gaslighted and controlled. Or why leaving emotionally abusive relationships is so difficult. Or about an older woman was busting stereotypes by dating a younger man.
No.
There was none of that.
The commentators were outraged that I said my ex was Vietnamese, that I described his physical features, that I was attracted to him because of these characteristics, and that I said his manipulation was cold, calculating and reptilian. These are all facts, all true. And this— I’m paraphrasing — is what was said about my essay:
You need to think super critically about racial disparities in this piece
You have eroticised him
You have positioned yourself unflatteringly as a fearful victim, deceived and entrapped
You need to take a course about writing memoirs
You need to discuss Vietnam’s troubling history and colonialism
You shouldn’t be analysing his words and actions.
Say what?
The commentary completely missed the point of my essay: that I was a victim of narcissistic abuse. Yes, it was perpetrated by a Vietnamese man who was much younger than me, but would this even be a bone of contention if the narcissist were an older, white guy? I don’t think so. Narcissistic abuse is narcissistic abuse, no matter who perpetrates it.
I was deflated by their outrage.
Then I got curious. Who were these women who were so outraged about my writing? Why had they missed — or completely ignored — the point of my story?
Turns out one is a cultural critic. Another is an editor. The other offers writing coaching.
Aha.
They have criticised my story through their own lenses, their own agendas, their own positioning. Just as I have written my story through mine. And I’m the bad guy? Please. | https://medium.com/vox-virtus/outrage-doesnt-mean-you-re-right-136d378b5702 | ['Diane Lee'] | 2020-10-01 23:22:06.762000+00:00 | ['Nonfiction', 'Experience', 'Outrage', 'Viewpoints', 'Writing'] | Title Outrage Doesn’t Mean You’re RightContent back posted following essay Facebook group woman writer I’m nutshell essay — living Hanoi — dating much younger Vietnamese man 10 month turned covert narcissist almost killed would think comment essay would centre around cycle narcissistic abuse trauma bond intermittent reinforcement smart educated woman like could drawn manipulation lie gaslighted controlled leaving emotionally abusive relationship difficult older woman busting stereotype dating younger man none commentator outraged said ex Vietnamese described physical feature attracted characteristic said manipulation cold calculating reptilian fact true this— I’m paraphrasing — said essay need think super critically racial disparity piece eroticised positioned unflatteringly fearful victim deceived entrapped need take course writing memoir need discus Vietnam’s troubling history colonialism shouldn’t analysing word action Say commentary completely missed point essay victim narcissistic abuse Yes perpetrated Vietnamese man much younger would even bone contention narcissist older white guy don’t think Narcissistic abuse narcissistic abuse matter perpetrates deflated outrage got curious woman outraged writing missed — completely ignored — point story Turns one cultural critic Another editor offer writing coaching Aha criticised story lens agenda positioning written story mine I’m bad guy PleaseTags Nonfiction Experience Outrage Viewpoints Writing |
1,939 | Multidimensional scaling for dissimilarity visualization | Multidimensional scaling for dissimilarity visualization
An implementation with Python
Multidimensional scaling is a powerful technique used to visualize in 2-dimensional space the (dis)similarity among objects. The idea is that we can derive to what extent two objects are similar, based on the geometric distance they exhibit in the 2D plan.
Namely, imagine we see the following:
We can think that pizza and pasta are kind of similar food items (they are both carbohydrates, both typical Italian food, and people tend to like them both), while cucumber is far from them (it is not that similar).
But which are the data from which this visualization is retrieved?
The starting point is building the so-called distance matrix: given N objects, a distance matrix is a MxM, symmetric matrix which determines how dissimilar from each other are all the couples of objects.
Retrieving the example above, we can namely make a survey asking people whether or not they would eat a given food item. Imagine we interview N people for M food items. If individual i would eat item j, then the cell (i,j) will be filled with a 1, otherwise, it will be filled with a 0.
Then, for each pair of food item, we can derive a 2x2 dissimilarity matrix as follows:
Where:
a is the total amount of time both item 1 and 2 are eaten
d is the total amount of time neither item 1 nor 2 are eaten
b is the total amount of time item 1 is eaten, while item 2 is not
c is the total amount of time item 2 is eaten, while item 1 is not
Finally, we can compute a dissimilarity score. In this case, I will use the Jaccard dissimilarity index, given by:
Now, each couple of food items will have a corresponding Jaccard dissimilarity score: we can hence build an MxM distance matrix filled with corresponding scores.
Where J_ik is the score corresponding to the couple of food items i and k.
Note: the principal diagonal of the distance matrix is filled with 0. Indeed, the Jaccard score for a couple of the same food item is 0 (b and c are indeed 0).
Now let’s implement it in Python. I will initialize a random dataset with 10 food items and 100 interviewed. Then, I will compute the corresponding dissimilarity matrix, which will be a 10x10 square matrix.
#importing necessary packages
import numpy as np
import scipy
import matplotlib.pyplot as plt from sklearn.metrics import pairwise_distances #jaccard diss.
from sklearn import manifold # multidimensional scaling foods_binary = np.random.randint(2, size=(100, 10)) #initial dataset
print(foods_binary.shape) Output: (100,10)
Now let’s initialize the distance matrix, using the Jaccard dissimilarity:
dis_matrix = pairwise_distances(foods_binary, metric = 'jaccard')
print(dis_matrix.shape) Output: (100,100)
Finally, let’s fit the multidimensional scaling algorithm to the distance matrix and plot the results:
mds_model = manifold.MDS(n_components = 2, random_state = 123,
dissimilarity = 'precomputed')
mds_fit = mds_model.fit(dis_matrix)
mds_coords = mds_model.fit_transform(dis_matrix)
food_names = ['pasta', 'pizza', 'meat', 'eggs', 'cheese', 'ananas', 'pear', 'bread', 'nuts', 'milk'] plt.figure()
plt.scatter(mds_coords[:,0],mds_coords[:,1],
facecolors = 'none', edgecolors = 'none') # points in white (invisible)
labels = food_names
for label, x, y in zip(labels, mds_coords[:,0], mds_coords[:,1]):
plt.annotate(label, (x,y), xycoords = 'data')
plt.xlabel('First Dimension')
plt.ylabel('Second Dimension')
plt.title('Dissimilarity among food items')
plt.show()
Note that we initialized a random original dataset, hence those results might be counterintuitive, yet they drive an important message. Imagining our dataset being true, they are telling us that eggs, cheese, and meat are almost perfect substitutes, since they satisfy the same need (represented by the area on the graph). On the other side, bread lies in a very isolated area, meaning that it has no competition in terms of substitutes.
Note that all the empty areas represent potential needs which have not been satisfied yet. That’s why multidimensional scaling might be a very powerful tool to investigate whether there is room for intervention in some markets, whether there are opportunities that have not been sized yet.
References | https://medium.com/dataseries/multidimensional-scaling-for-dissimilarity-visualization-9fb061396cf3 | ['Valentina Alto'] | 2020-05-30 15:26:19.928000+00:00 | ['Python', 'Dimensionality Reduction', 'Distance Matrix', 'Multidimensional Scaling', 'Dissimilarity'] | Title Multidimensional scaling dissimilarity visualizationContent Multidimensional scaling dissimilarity visualization implementation Python Multidimensional scaling powerful technique used visualize 2dimensional space dissimilarity among object idea derive extent two object similar based geometric distance exhibit 2D plan Namely imagine see following think pizza pasta kind similar food item carbohydrate typical Italian food people tend like cucumber far similar data visualization retrieved starting point building socalled distance matrix given N object distance matrix MxM symmetric matrix determines dissimilar couple object Retrieving example namely make survey asking people whether would eat given food item Imagine interview N people food item individual would eat item j cell ij filled 1 otherwise filled 0 pair food item derive 2x2 dissimilarity matrix follows total amount time item 1 2 eaten total amount time neither item 1 2 eaten b total amount time item 1 eaten item 2 c total amount time item 2 eaten item 1 Finally compute dissimilarity score case use Jaccard dissimilarity index given couple food item corresponding Jaccard dissimilarity score hence build MxM distance matrix filled corresponding score Jik score corresponding couple food item k Note principal diagonal distance matrix filled 0 Indeed Jaccard score couple food item 0 b c indeed 0 let’s implement Python initialize random dataset 10 food item 100 interviewed compute corresponding dissimilarity matrix 10x10 square matrix importing necessary package import numpy np import scipy import matplotlibpyplot plt sklearnmetrics import pairwisedistances jaccard dis sklearn import manifold multidimensional scaling foodsbinary nprandomrandint2 size100 10 initial dataset printfoodsbinaryshape Output 10010 let’s initialize distance matrix using Jaccard dissimilarity dismatrix pairwisedistancesfoodsbinary metric jaccard printdismatrixshape Output 100100 Finally let’s fit multidimensional scaling algorithm distance matrix plot result mdsmodel manifoldMDSncomponents 2 randomstate 123 dissimilarity precomputed mdsfit mdsmodelfitdismatrix mdscoords mdsmodelfittransformdismatrix foodnames pasta pizza meat egg cheese ananas pear bread nut milk pltfigure pltscattermdscoords0mdscoords1 facecolors none edgecolors none point white invisible label foodnames label x ziplabels mdscoords0 mdscoords1 pltannotatelabel xy xycoords data pltxlabelFirst Dimension pltylabelSecond Dimension plttitleDissimilarity among food item pltshow Note initialized random original dataset hence result might counterintuitive yet drive important message Imagining dataset true telling u egg cheese meat almost perfect substitute since satisfy need represented area graph side bread lie isolated area meaning competition term substitute Note empty area represent potential need satisfied yet That’s multidimensional scaling might powerful tool investigate whether room intervention market whether opportunity sized yet ReferencesTags Python Dimensionality Reduction Distance Matrix Multidimensional Scaling Dissimilarity |
1,940 | Nurture trust through cost transparency | Internet access and cost challenges are common and can cause frustration, anxiety, panic, and — worst of all — lack of trust in your products. Before exploring design options to alleviate these problems, it’s important to understand the different ways access and cost influence how users interact with apps and websites.
Internet access varies along the lines of Wi-Fi access and post-paid and pre-paid mobile data plans.
Post-paid
In the United States, parts of Europe, and other countries, most mobile internet users rely on post-paid or contract mobile data plans. These users also have frequent access to broadband Wi-Fi networks at home, work, and public areas such as parks, squares, and plazas. The combination of post-paid mobile data contracts and Wi-Fi allow for continuous internet access.
Post-paid customers:
Pay regularly, such as once per month, for a guaranteed allocation of data (e.g. 5 GB) via a credit card, bank payment, or other automated bill pay
Are usually guaranteed continual connectivity
May pay extra money for additional usage above a cap or experience a slowdown of their internet speed
Pre-paid
In the majority of the world, users rely on pre-paid mobile data plans, and may have little to no access to high-speed Wi-Fi networks. There are various forms of pre-paid mobile data plans:
Customers purchase a fixed amount of data in advance, such as $5 for 1 GB with a one-week expiration. Once the data is gone, the user tops up (refills).
Mobile data providers in much of South Asia (such as in India, Indonesia, and the Philippines) often allow users to refill their data packs using a mobile app or dialing code.
In much of Sub-Saharan Africa (such as in Nigeria and Kenya), customers top up by paying cash at neighborhood shops. If the consumer doesn’t have cash, or the shop is closed, the consumer does not know when they will have internet access again.
The access to topping up at a shop can vary dramatically depending on location, if the user has access to cash or an open bank and shop. Depending on these variables, a user may experience a delay in internet access from a few minutes to several days.
Variations exist. Some people in the US, Canada, Western Europe, and other regions face the same internet access issues as those in Sub-Saharan Africa or India. There are Kenyans, Brazilians, Indians, and Filipinos with easy access to the internet. People on short stays, such as vacations or business trips, may buy pre-paid data plans in countries where most residents use post-paid plans. However, when designing for truly global internet usage, it is important to be mindful of just how diverse internet access can be.
How does cost influence usage?
According to the Alliance for Affordable Internet, the prices for mobile data vary significantly from country to country and in some countries, can be prohibitively expensive. In 2019, 1 GB of mobile data in Argentina was equal to 0.66% of monthly gross national income per capita, whereas in Zimbabwe 1 GB was 10.06%.
Circumstances vary, but internet frugality and frustrations are similar. In countries, such as Brazil, where mobile data is expensive, but Wi-Fi is easy to find, users may complain that getting on the internet is costly when they can’t find Wi-Fi and they have run out of mobile data on their pre-paid plans. Across the world in Indonesia, people have relatively inexpensive data, but limited Wi-Fi. Indonesians may face challenges accessing the internet when they can’t find an internet shop to top up their mobile data.
Even when users have an affordable, large data pack, they still prioritize which kinds of content are worth spending data.
Expensive mobile data leads to:
Preferring apps with zero-rating or low data usage
Close monitoring of how much data apps and websites use
Borrowing data loans from carriers. Customers borrow data from their future pre-paid balance when they run out and pay a fee, sometimes as high as 20%.
Switching off mobile data at night, when out of the house, or anytime not actively in use
Sharing media and app files via Bluetooth and Wi-Fi direct apps like Files
Sharing data via hotspots
Being transparent about costs develops trust with your users. During a mobile data price transparency study in Ghana study, Google researchers piloted SmartBrowse, a prototype informing users of the cost of accessing a given web page prior to and immediately after incurring that cost. There was a control group that used the internet without SmartBrowse and another group that used SmartBrowse. The research findings demonstrated that “…compared with the control group, using SmartBrowse led to a significant reduction in internet credit spend and increased online activity among SmartBrowse users, while providing the same or better mobile Internet user experience.”
Strategies to minimize cost:
Design for intermittent, slow and offline connectivity
Use data compression to reduce image file sizes
Keep updates frequency low and size small
Explain the value of updates (such as “the app is now more stable on older Android devices”, instead of “v3.5.6 released and 5 bugs fixed”) so users can decide if it’s worth the data cost to update
Be transparent about your app’s data consumption
Allow user control over when your app can use mobile data vs. Wi-Fi
Be clear about how much data it will cost the user to view a video, download, or save a file, listen to music, and more
Display options for the user to decide whether to download or not
Examples:
To minimize user frustration due to connectivity we’re sharing some examples of how to design apps that are transparent about data usage and give the user control about their data consumption.
Be transparent about data consumption
For large file downloads, clearly communicate the amount of data needed and give the user the option not to download.
This messaging example gives the user the option to download an image, by displaying a download icon with the size of the file, 24MB.
Provide flexible options that allow users to customize their features corresponding to how much data they consume.
(1) The Google Maps app’s “Offline maps” feature allows users to save multiple maps for offline consumption, clearly indicating how they will update over time. (2) When selecting a map, the map area UI allows flexibility by showing how much data the area would consume when downloaded.
For high quality media streaming, offer options to save mobile data, or alert the user when data consumption reaches specified thresholds.
(1) Android TV’s Data Saver helps extend watch time by adjusting video quality when using a mobile hotspot. (2) Data alerts prevent the excess usage of data when a user is on a limited data plan. (3) Data alert notification shown while watching TV content once the specified limit is reached.
Enable control over data consumption
A user may wonder if a video is worth the data it will cost to watch it. Reducing video size is becoming common practice. The New York Times reported that various video streaming companies have reduced video file sizes to account for high demand over the past few months.
Offer options to download large files or stream content at different levels of quality. Some users are on limited data plans or on throttled plans that initially offer one internet speed and then slow down. When possible, offer user control over data consumption options, clearly labeling the data cost of each choice.
(1) The YouTube app’s Premium service offers the choice to save videos in varying qualities: High (720p) or Medium (360p). (2) The YouTube Music app’s Premium service allows saving music videos in varying qualities (High or Medium), as well as providing an “Audio Only” option.
Allow users control over connectivity and data management settings, like media quality or Wi-Fi connectivity.
While offering a Wi-Fi-only setting is useful, be cautious of enabling this by default as not all users regularly access Wi-Fi. This default setting could keep the app from connecting to the internet. | https://medium.com/google-design/nurture-trust-through-cost-transparency-b61a5947d2fc | ['Susanna Zaraysky'] | 2020-09-23 16:57:03.492000+00:00 | ['Cost Transparency', 'Design', 'Next Billion Users', 'Trust', 'Transparency'] | Title Nurture trust cost transparencyContent Internet access cost challenge common cause frustration anxiety panic — worst — lack trust product exploring design option alleviate problem it’s important understand different way access cost influence user interact apps website Internet access varies along line WiFi access postpaid prepaid mobile data plan Postpaid United States part Europe country mobile internet user rely postpaid contract mobile data plan user also frequent access broadband WiFi network home work public area park square plaza combination postpaid mobile data contract WiFi allow continuous internet access Postpaid customer Pay regularly per month guaranteed allocation data eg 5 GB via credit card bank payment automated bill pay usually guaranteed continual connectivity May pay extra money additional usage cap experience slowdown internet speed Prepaid majority world user rely prepaid mobile data plan may little access highspeed WiFi network various form prepaid mobile data plan Customers purchase fixed amount data advance 5 1 GB oneweek expiration data gone user top refill Mobile data provider much South Asia India Indonesia Philippines often allow user refill data pack using mobile app dialing code much SubSaharan Africa Nigeria Kenya customer top paying cash neighborhood shop consumer doesn’t cash shop closed consumer know internet access access topping shop vary dramatically depending location user access cash open bank shop Depending variable user may experience delay internet access minute several day Variations exist people US Canada Western Europe region face internet access issue SubSaharan Africa India Kenyans Brazilians Indians Filipinos easy access internet People short stay vacation business trip may buy prepaid data plan country resident use postpaid plan However designing truly global internet usage important mindful diverse internet access cost influence usage According Alliance Affordable Internet price mobile data vary significantly country country country prohibitively expensive 2019 1 GB mobile data Argentina equal 066 monthly gross national income per caput whereas Zimbabwe 1 GB 1006 Circumstances vary internet frugality frustration similar country Brazil mobile data expensive WiFi easy find user may complain getting internet costly can’t find WiFi run mobile data prepaid plan Across world Indonesia people relatively inexpensive data limited WiFi Indonesians may face challenge accessing internet can’t find internet shop top mobile data Even user affordable large data pack still prioritize kind content worth spending data Expensive mobile data lead Preferring apps zerorating low data usage Close monitoring much data apps website use Borrowing data loan carrier Customers borrow data future prepaid balance run pay fee sometimes high 20 Switching mobile data night house anytime actively use Sharing medium app file via Bluetooth WiFi direct apps like Files Sharing data via hotspot transparent cost develops trust user mobile data price transparency study Ghana study Google researcher piloted SmartBrowse prototype informing user cost accessing given web page prior immediately incurring cost control group used internet without SmartBrowse another group used SmartBrowse research finding demonstrated “…compared control group using SmartBrowse led significant reduction internet credit spend increased online activity among SmartBrowse user providing better mobile Internet user experience” Strategies minimize cost Design intermittent slow offline connectivity Use data compression reduce image file size Keep update frequency low size small Explain value update “the app stable older Android devices” instead “v356 released 5 bug fixed” user decide it’s worth data cost update transparent app’s data consumption Allow user control app use mobile data v WiFi clear much data cost user view video download save file listen music Display option user decide whether download Examples minimize user frustration due connectivity we’re sharing example design apps transparent data usage give user control data consumption transparent data consumption large file downloads clearly communicate amount data needed give user option download messaging example give user option download image displaying download icon size file 24MB Provide flexible option allow user customize feature corresponding much data consume 1 Google Maps app’s “Offline maps” feature allows user save multiple map offline consumption clearly indicating update time 2 selecting map map area UI allows flexibility showing much data area would consume downloaded high quality medium streaming offer option save mobile data alert user data consumption reach specified threshold 1 Android TV’s Data Saver help extend watch time adjusting video quality using mobile hotspot 2 Data alert prevent excess usage data user limited data plan 3 Data alert notification shown watching TV content specified limit reached Enable control data consumption user may wonder video worth data cost watch Reducing video size becoming common practice New York Times reported various video streaming company reduced video file size account high demand past month Offer option download large file stream content different level quality user limited data plan throttled plan initially offer one internet speed slow possible offer user control data consumption option clearly labeling data cost choice 1 YouTube app’s Premium service offer choice save video varying quality High 720p Medium 360p 2 YouTube Music app’s Premium service allows saving music video varying quality High Medium well providing “Audio Only” option Allow user control connectivity data management setting like medium quality WiFi connectivity offering WiFionly setting useful cautious enabling default user regularly access WiFi default setting could keep app connecting internetTags Cost Transparency Design Next Billion Users Trust Transparency |
1,941 | How to use Pipenv with Jupyter and VSCode | Currently, I study Artificial Intelligence at the JKU university and for some exercises, we need to use jupyter notebooks. Having worked a little bit with Python the package manager pipenv proofed to be valuable. Now, I encountered some problems using it with Jupyter notebooks and within VSCode. Therefore, a short guide on how I solved it.
Table of Contents
The Issue
As I described in my last article Working with Jupyter and VSCode I use pyenv and pipenv for managing all packages in my python development. I also referenced some articles why this way is helpful and easy to use. Now, it is necessary to dive a little more into it. There are two ways you would want to develop with jupyter notebook. Either you work with it directly in the browser or inside VSCode. In both use cases, there can emerge problems.
Developing with Jupyter Notebook in the browser
Jupyter Notebook in the browser
Let’s say you already have the proper python environment on your system and now you want to create a specific one for a project.
First, create a Pipenv environment. Make sure to navigate into the correct directory. Use pipenv install <packages> to install all your packages. Then use pipenv shell to activate your shell. Then use pipenv install jupyter and afterward pipenv run jupyter notebook .
Now the jupyter server is started and your notebook will have access to the correct environment.
Activating the right environment for Jupyter notebook in the browser
Develop with Jupyter Notebook in VSCode | https://towardsdatascience.com/how-to-use-pipenv-with-jupyter-and-vscode-ae0e970df486 | ['Daniel Deutsch'] | 2020-09-28 09:32:46.481000+00:00 | ['Python', 'Vscode', 'Jupyter Notebook', 'Pipenv', 'Pyenv'] | Title use Pipenv Jupyter VSCodeContent Currently study Artificial Intelligence JKU university exercise need use jupyter notebook worked little bit Python package manager pipenv proofed valuable encountered problem using Jupyter notebook within VSCode Therefore short guide solved Table Contents Issue described last article Working Jupyter VSCode use pyenv pipenv managing package python development also referenced article way helpful easy use necessary dive little two way would want develop jupyter notebook Either work directly browser inside VSCode use case emerge problem Developing Jupyter Notebook browser Jupyter Notebook browser Let’s say already proper python environment system want create specific one project First create Pipenv environment Make sure navigate correct directory Use pipenv install package install package use pipenv shell activate shell use pipenv install jupyter afterward pipenv run jupyter notebook jupyter server started notebook access correct environment Activating right environment Jupyter notebook browser Develop Jupyter Notebook VSCodeTags Python Vscode Jupyter Notebook Pipenv Pyenv |
1,942 | 8 Things to Know to Master Python Function Arguments | 8 Things to Know to Master Python Function Arguments
All you need to know to write readable Python functions
Photo by Marc Marchal on Unsplash.
We always use functions in our projects — no matter what our projects are about. When we call functions that are written by others, we need to understand the function signature (i.e. what parameters we should pass to get the desired function output). Sometimes, we need to write functions for others to call when we should be clear about the desired use cases without causing any ambiguity. In either case, it’s not the easiest job.
In this article, I’d like to provide a comprehensive overview of arguments in Python functions. Specifically, I’m referring to the input parameters. I hope this article can eliminate any questions that you may have when you’re calling others’ functions or defining your own. | https://medium.com/better-programming/8-things-to-know-to-master-python-function-arguments-75ed7597463e | ['Yong Cui'] | 2020-12-09 21:05:37.573000+00:00 | ['Programming', 'Machine Learning', 'Python', 'Data Science', 'Artificial Intelligence'] | Title 8 Things Know Master Python Function ArgumentsContent 8 Things Know Master Python Function Arguments need know write readable Python function Photo Marc Marchal Unsplash always use function project — matter project call function written others need understand function signature ie parameter pas get desired function output Sometimes need write function others call clear desired use case without causing ambiguity either case it’s easiest job article I’d like provide comprehensive overview argument Python function Specifically I’m referring input parameter hope article eliminate question may you’re calling others’ function defining ownTags Programming Machine Learning Python Data Science Artificial Intelligence |
1,943 | Google Colab 101 Tutorial with Python — Tips, Tricks, and FAQ | Introduction
Google Colab is a project from Google Research, a free, Jupyter based environment that allows us to create Jupyter [programming] notebooks to write and execute Python [1](and other Python-based third-party tools and machine learning frameworks such as Pandas, PyTorch, Tensorflow, Keras, Monk, OpenCV, and others) in a web browser.
📚 Check out our editorial recommendations on the best machine learning books. 📚
A programming notebook is a type of shell or kernel in the form of a word processor, where we can write and execute code. The data required for processing in Google Colab can be mounted into Google Drive or imported from any source on the internet. Project Jupyter is an open-source software organization that develops and supports Jupyter notebooks for interactive computing [4].
Google Colab requires no configuration to get started and provides free access to GPUs. One of the main functionalities of Google Colab is that it allows anyone to share live code, mathematical equations, data visualizations, data processing (cleaning and transformation), numerical simulations, machine learning models, and many other projects with others.
Why We Use Google Colab?
Google Colab has unique and critical features:
It provides a free Jupyter notebook environment.
It comes with pre-installed packages.
It hosts entirely on Google Cloud.
Users do not need to set up on servers or workstations.
Notebooks save automatically on a user’s Google Drive.
It provides browser-based Jupyter notebooks.
It is completely free of cost and offers GPU and TPU power (unless you need more resources and decide to go pro with Colab Pro ).
). It supports Python versions 2 and 3 (however, Google Suggests migrating important notebooks to Python 3 [2] [5]).
It provides two hardware accelerators:
1. GPU (Graphical Processing Unit).
2. TPU (Tensor Processing Unit).
Start Google Colab
Python code can be executed directly on the web browser by using Colab. We can launch it with the URL below:
The launch window opens with a popup offering many features:
Figure 1: Screenshot of Google Colab’s start page.
It provides options to create a notebook as well as to upload and select from different sources such as:
GitHub
Google Drive
Local computer
Uploading a Notebook from GitHub
Python code can be directly uploaded from Github by using its project’s URL or by searching the organization or user. The steps below highlight how to upload a project using a Github URL:
Launch Google Colab.
Select the GitHub tab from the popup box.
Figure 2: Screenshot of Google Colab’s upload code using a Github URL.
Enter the GitHub’s project URL and search it to fetch the code
Figure 3: Screenshot showing how to upload a Github repository with Google Colab.
It will upload the complete code with one click to the Google Colab notebook.
Figure 4: Screenshot showcasing the uploaded Github repository using a URL.
Similarly, the code can be uploaded directly from Google Drive by filtering saved notebooks by name, date, owner, or modified date.
Figure 5: Screenshot showing how to upload a notebook directly from Google Drive to Google Colab.
Uploading Data from Kaggle
Data from Kaggle can be uploaded directly into Colab for processing. An API token from Kaggle is required to accomplish the data import.
Steps to generate API token from Kaggle
Open Kaggle
Go to “My Account”
Scroll down to the “API” section
Figure 6: Screenshot of Kaggle’s website showing the API section.
Click on “Expire API Token” to remove the previous token if required.
Click on “Create New API Token.” It will generate a new token and download a JSON file named “ kaggle.json ”
” The “kaggle.json” file contains the username and key like:
Figure 7: Screenshot of IDE showing test API key for Kaggle.
Steps to upload data from Kaggle
Save the “kaggle.json” file on your local computer.
Install the Kaggle package
!pip install -q kaggle
Import packages:
from google.colab import files
Upload the local file “kaggle.json”
files.upload()
Figure 8: Screenshot of the output of the uploaded file “kaggle.json”
Check if the Colab notebook connects with Kaggle correctly.
!kaggle datasets list
Figure 9: Screenshot showing a dataset list from Kaggle.
Download any competition data from Kaggle (i.e., competition name — predict future sales)
!kaggle competitions download -c competitive-data-science-predict-future-sales
Figure 10: Screenshot showing the output of data downloads from Kaggle.
Data from Kaggle will be downloaded and uploaded in Colab, like:
Figure 11: Screenshot of Google Colab showing the uploaded data from Kaggle.
Read Files from Google Drive
Google Colab provides functionality to read data from google drive too.
Import packages
import globimport pandas as pdfrom google.colab import drive
Mount Google Drive
drive.mount('/gdrive')
This will ask Google to drive authorization code.
Figure 12: Screenshot showing Google Colab asking you to insert Google Drive’s authorization code.
Input box for the authorization code
Click on the link and generate the authorization code.
Read a CSV file from the drive.
file_path = glob.glob("/gdrive/My Drive/***.csv")for file in file_path:
df = pd.read_csv(file)
print(df)
Figure 13: Output from the test CSV file on Google Drive.
Setting up Hardware Accelerator GPU for Runtime
Google Colab provides a free cloud service with a GPU hardware accelerator. High configurations GPU machines are very costly and required in machine learning and deep learning to simultaneously process multiple computations. | https://medium.com/towards-artificial-intelligence/google-colab-101-tutorial-with-python-tips-tricks-and-faq-7689bd4d24b4 | ['Towards Ai Team'] | 2020-12-09 23:43:45.984000+00:00 | ['Artificial Intelligence', 'Innovation', 'Technology', 'Education', 'Science'] | Title Google Colab 101 Tutorial Python — Tips Tricks FAQContent Introduction Google Colab project Google Research free Jupyter based environment allows u create Jupyter programming notebook write execute Python 1and Pythonbased thirdparty tool machine learning framework Pandas PyTorch Tensorflow Keras Monk OpenCV others web browser 📚 Check editorial recommendation best machine learning book 📚 programming notebook type shell kernel form word processor write execute code data required processing Google Colab mounted Google Drive imported source internet Project Jupyter opensource software organization develops support Jupyter notebook interactive computing 4 Google Colab requires configuration get started provides free access GPUs One main functionality Google Colab allows anyone share live code mathematical equation data visualization data processing cleaning transformation numerical simulation machine learning model many project others Use Google Colab Google Colab unique critical feature provides free Jupyter notebook environment come preinstalled package host entirely Google Cloud Users need set server workstation Notebooks save automatically user’s Google Drive provides browserbased Jupyter notebook completely free cost offer GPU TPU power unless need resource decide go pro Colab Pro support Python version 2 3 however Google Suggests migrating important notebook Python 3 2 5 provides two hardware accelerator 1 GPU Graphical Processing Unit 2 TPU Tensor Processing Unit Start Google Colab Python code executed directly web browser using Colab launch URL launch window open popup offering many feature Figure 1 Screenshot Google Colab’s start page provides option create notebook well upload select different source GitHub Google Drive Local computer Uploading Notebook GitHub Python code directly uploaded Github using project’s URL searching organization user step highlight upload project using Github URL Launch Google Colab Select GitHub tab popup box Figure 2 Screenshot Google Colab’s upload code using Github URL Enter GitHub’s project URL search fetch code Figure 3 Screenshot showing upload Github repository Google Colab upload complete code one click Google Colab notebook Figure 4 Screenshot showcasing uploaded Github repository using URL Similarly code uploaded directly Google Drive filtering saved notebook name date owner modified date Figure 5 Screenshot showing upload notebook directly Google Drive Google Colab Uploading Data Kaggle Data Kaggle uploaded directly Colab processing API token Kaggle required accomplish data import Steps generate API token Kaggle Open Kaggle Go “My Account” Scroll “API” section Figure 6 Screenshot Kaggle’s website showing API section Click “Expire API Token” remove previous token required Click “Create New API Token” generate new token download JSON file named “ kagglejson ” ” “kagglejson” file contains username key like Figure 7 Screenshot IDE showing test API key Kaggle Steps upload data Kaggle Save “kagglejson” file local computer Install Kaggle package pip install q kaggle Import package googlecolab import file Upload local file “kagglejson” filesupload Figure 8 Screenshot output uploaded file “kagglejson” Check Colab notebook connects Kaggle correctly kaggle datasets list Figure 9 Screenshot showing dataset list Kaggle Download competition data Kaggle ie competition name — predict future sale kaggle competition download c competitivedatasciencepredictfuturesales Figure 10 Screenshot showing output data downloads Kaggle Data Kaggle downloaded uploaded Colab like Figure 11 Screenshot Google Colab showing uploaded data Kaggle Read Files Google Drive Google Colab provides functionality read data google drive Import package import globimport panda pdfrom googlecolab import drive Mount Google Drive drivemountgdrive ask Google drive authorization code Figure 12 Screenshot showing Google Colab asking insert Google Drive’s authorization code Input box authorization code Click link generate authorization code Read CSV file drive filepath globglobgdriveMy Drivecsvfor file filepath df pdreadcsvfile printdf Figure 13 Output test CSV file Google Drive Setting Hardware Accelerator GPU Runtime Google Colab provides free cloud service GPU hardware accelerator High configuration GPU machine costly required machine learning deep learning simultaneously process multiple computationsTags Artificial Intelligence Innovation Technology Education Science |
1,944 | Design for Place Matrix | Humans are increasingly displaced and distance-enabled. Without a sense of connection, knowledge, and commitment to geographically-bound places over longer periods of time, we design out of context and relationship, abstracted from the direct experience and consequences of our actions.
Design for social innovation often seeks to make systems-level change towards more sustainable and equitable futures. However, longevity and embeddedness in a place is often absent and projects are left un-stewarded towards their long-term intended aims. If we are to transition towards a living future, awareness of our own orientation to ‘place’ is important for designers of all kinds to grasp, understand, and embed in our design work.
This article explores the concept of place and its role in design through a pilot project conducted for Design Theory and Seminar at Carnegie Mellon University. It offers a ‘place matrix’ with four potential lenses of human orientation to ‘place’, informed by the fields of human geography, urban planning, anthropology, and philosophy. Building off of the ‘place matrix’, a prototype of an imaginative ‘Place Labyrinth’ offers experiential exercises and prompts to grow knowledge, connection and affection towards the places we inhabit and design.
A Place Orientation Matrix
‘Place’, defined for this article, is the human habitat created through an ongoing process with the human and more-than-human world. ‘Places’ might include towns, cities, and settlements where humans create a collective home. ‘Place’ differs from space in that place is finite and holds meaning, space is infinite yet becomes place through built and social human and more-than-human interaction overtime (Tuan, 1974; Watts, 2013; Mortan, 2018). ‘Places’ are made up of many forms of infrastructure, some more visible than not. Our actions and more specifically our intentions, spontaneous or not, are often translated into designs that form the places we inhabit and relationships therein. In that sense, what we design, designs ‘place’.
Geographer Yi-Fu Tuan in his 1974 seminal book titled ‘Topophilia’, explored the human relationship to place historically and into the modern area. His work greatly informed the fields of human geography, architecture and urban planning, as well as this research. Topophilia refers to ‘love of place’ and place attachment theory which suggests that ‘places’ like people, operate as living systems. Positive attachment to ‘place’ can result in pro-social and pro-environmental behavior. However, humans are increasingly displaced, over many thousands of years. Detachment, especially from ancestral lands and traditions has instilled a disconnection from the places we inhabit, often out of fear of future loss of connection (Tuan, 1974).
How can we experience a deeper sense of connection and commitment to a ‘place’, once we’ve adopted, chosen, or been forced into a globally dependent and networked system?
The following the ‘place matrix’ explores four orientations to place — to be ‘on-place, ‘with-place’, ‘of-place’, and ‘for-place’. By categorizing these potential orientations to place, designers and practitioners of social impact might better understand how we inhabit and create the world around us.
On-Place Orientation
To be ‘on-place’ is to see and experience the earth as something that humans dominate. In this orientation, the earth and places within it are more like destinations, or projects, than relationships or even living beings unto themselves (Auge, 1995).
In our modern era, design and business have often aspired and aimed towards one global and homogeneously designed planet. The perpetuated abstraction of human beings from other life forms has accelerated and manifested in ‘non-places’, ‘placelessness’, and ‘geography of nowhere’ (Auge, 1995; Tuan, 1974; Kunstler 1993). A planet made-up of places that look almost identical to each other and the purpose of visiting them is to put a pin in a map, is just another symptom of the accelerating loss of biodiversity of many forms on the planet (Auge, 1995).
When we design from a place of being ‘on-place’ we tend to see ourselves as superior to everything else. Most humans on earth today experience ourselves as abstracted and deeply separate from the other forms of life that we surround (Auge, 1995; Watts, 2013; Mortan, 2018). This way of being and communicating manifests in our built environment, how we interact with it, and how we experience it, and how we care for it, others, and ourselves. There can be an assumption made that most designers working towards social change are not interested in perpetuating colonialism in any of its catastrophic forms, therefore being ‘on-place’ is no longer viable as a sustainable way of inhabiting the planet.
With-Place Orientation
To be ‘with-place ‘offers an orientation that aims to restore an ecological balance. However in this orientation, the designer may still sees themselves as separate from other earthkin — the human still dominates and is believed to hold superior agency (Mortan, 2017).
The sustainability movement, among others like it, has brought a more ecological way of thinking about the human role in a complex web of life. However, in our aim to bring humans into better relationship with all life we may have cast ourselves away as an invasive species on the planet. There may be trouble with believing we can build a better future by operating out of a sense of shame for being human. Furthermore, to be able to think and act ecologically today can often come from a position of privilege. Ecological consciousness can often manifest in an urgency to ‘save the planet’ and perpetuate a cycle of acceleration, quick decision making, and hence the colonizer mentality all over again. In our efforts to repair and restore, we yet again deplete and degrade in a vicious cycle of unintended consequences (Brown, 2017;Mortan, 2017).
In the film Examined Life, philosopher Slavoj Zizek is seen at a garbage dump professing that if we are to think ecologically, we’d have to love even our waste. What’s important about this image and this message is that, if we are to truly love the earth we might also love the parts that we wish to castaway. In this sense, to be ‘with-place’ may still be entrenched in older notions of the human as separate from nature, and therefore we must look into other orientations that embrace more radical forms of ‘place’ love.
Of-Place Orientation
To be believe that the human is made of humus and interconnected with all of life expresses an orientation ‘of-place’. To be ‘of-place’ is often associated with an indigenous way of knowing and being and sees the human as of the earth and interdependent with all of life (Watts, 2013).
Much can be said about the importance of indigenous ways of knowing and being, and the crucial significance this knowledge plays in a living future.
Indigenous scholar Vanessa Watts describes how in indigenous knowledge thoughts are inseparable from the ground and place from which they come. She goes further to say that ‘our truth, not only Anishnaabe and Haudenosaunee people but in a majority of Indigenous societies, conceives that we (humans) are made from the land; our flesh is literally an extension of soil’ (Watts, 2013 p.27). In this sense, to be ‘of-place’ is not an abstract statement, instead a complex truth about the human relationship to the earth. To deeply believe and operate as inseparable from the soil offers a profoundly different experience and intent for design and our connection to place.
To be ‘of-place’ is often the result of many generations of direct ties to land, and certainly longer term commitments to a place. In that sense, the experience of indigeneity and ‘of-place’ orientation may be inaccessible, at least in the short-term, for many designers today.
For-Place Orientation
Many humans on earth today may possess a sense of deep interconnection with all of life but may be unable to fully access and live out this way of being in the day-to-day modern existence. If the orientation to be ‘of-place’ is inaccessible in a modern western-mind, then what might being ‘for-place’ orientation offer us?
To be ‘for-place’ offers an orientation that sees the modern human as de-centered and in interdependence with all other life and operates from a place of service to other lifeforms.
From a design perspective this means that we de-center the human as the superior being and operate from a place of being in service to the more-than-human beings with which we co-create and inhabit the earth.
‘Modern man has conquered distance but not time. In a life span, a man now, as in the past can establish profound roots only in a small corner of the world’ (Tuan, 1974 p. 64). If we are to assume a relationship to ‘place’ that is in service to it, we might scale it appropriately and develop a longer-term relationship to it. When we operate from an orientation ‘for-place’ we specify our sense of place while enlarging our sense of community. That is to say that we can begin to include the more-than-human world in the places that we root.
Knowing, loving, and designing ‘for-place’ doesn’t have to require big actions, in fact it is in the everyday awareness of our relationship to place, the trees, the weeds, squirrels, rats, people, empty cans, and soil beneath our feet that can bring about affection and it’s benefits.
‘Place Labyrinth’ as Homing Device
The digital ‘place labyrinth’ is hosted at iamerica.work/placelabyrinth. Its purpose is to support designers of all kinds to apply the ‘place matrix’ and offer experiences that help to reconnect to place. Viewed through the lens of the ‘place matrix’ there are corresponding exercises in the ‘place labyrinth’ that offer insights into the embodied experience of the various ‘on/with/of/for’ place orientations.
As one moves through the four stages of the labyrinth there are instructions offered for participating in self-guided reflections and experiences, including journaling, gazing, pondering, lingering, tracking, meandering and creating. Prior to entering the Labyrinth there are guidelines that include:
Once inside the Labyrinth visitors imaginatively remain there until exiting the labyrinth by drafting a ‘place manifesto’. Visitors may decide to spend a few hours, a few days, or longer (remember just imaginatively) in the labyrinth exploring the various orientations via individual own place contexts.
At various points you will be given a ‘place’ research question that will provide you with the ‘password key’ to access the experiential exercises.
Practice appreciative inquiry and deep listening to optimize learning and reflection.
Once imaginatively inside the labyrinth, the exercises in each quadrant are intended to build on each other and deepen the level of experience and complexity as visitors move from ‘on place’ to for-place’. Some of the exercises include:
Reflections on all the places one has visited in the world. Which ones evoke the most positive or the weakest memory?
Write an ‘ecoduction’, an autobiography told through landscapes and places that have formed who you are today, rather than what you’ve done. (Recommended 500 words)
Grieve and mourn any loss of connection to place. Write a eulogy for a place and/or create a ritual real or imaginative to mourn.
Write a letter to an ancestor.
Interview an elder that has lived in the same place over a long period of time.
To imaginatively exit the ‘place labyrinth’ you are prompted to draft a ‘Place Manifesto’. The manifesto includes prompts and questions such as:
Reflect on what brought you to the place you currently inhabit and whether you intend to continue inhabiting it for a longer period of time and why?
What are three places on earth that you could imagine inhabiting for extended periods of time in your life?
Consider that longevity in a place be important for designing for systems-level change. What period of time would be necessary for you to develop knowledge and relationships, and to experience and iterate on outcomes of your work?
What guidelines might you give yourself for staying connected and committed to place?
How do you continue to reduce your carbon footprint or offset it in the place you inhabit?
How might you continue to deepen and grow your relationship with your place?
How might what you do and design for your place to leave it better than had you not been there or done nothing at all?
Designers who complete the labyrinth will have entered into an exploration intended to deepen understanding of ‘place’, orientations to it, and how this might better inform design for ‘place’, towards living futures.
Onwards
We have to account for the fact that most design work is embedded within a capital-driven system that prioritizes short-term profits. The ‘wicked problem’ that is late capitalism and its hierarchical and highly imbalanced ownership structure, means that there is tremendous amounts of slow untangling required for a notion of ‘designing for place’ to be viable and in its fullest integrity.
My hope is that this research serves the growing population of digital nomads and designers, often who design for social change. The ‘place matrix’ may supporting designs for various lifestyle, business, and economic models that support globally networked and locally placed existences.
‘Possibly, in some ideal future, our loyalty will be given only to the home region of intimate memories and, at the other end of the scale, to the whole earth’ (Tuan, 1974 p.100).
Hyper-mobility via the internet and cheap flights, has afforded many a globally connected community and access to knowledge, information, and interactions that have also become enhancing, if not essential for survival. We might imagine into a world that is biodiverse, living, and equitable. To do so we will need to operate as if we were dependent on the earth and in service to the more-than-human world with whom we inhabit ‘place’.
References | https://medium.com/research-for-into-through-design-ing/design-for-place-matrix-9914498f52bf | ['Erica Dorn'] | 2020-07-28 18:55:02.449000+00:00 | ['Environment', 'Design', 'Design Thinking'] | Title Design Place MatrixContent Humans increasingly displaced distanceenabled Without sense connection knowledge commitment geographicallybound place longer period time design context relationship abstracted direct experience consequence action Design social innovation often seek make systemslevel change towards sustainable equitable future However longevity embeddedness place often absent project left unstewarded towards longterm intended aim transition towards living future awareness orientation ‘place’ important designer kind grasp understand embed design work article explores concept place role design pilot project conducted Design Theory Seminar Carnegie Mellon University offer ‘place matrix’ four potential lens human orientation ‘place’ informed field human geography urban planning anthropology philosophy Building ‘place matrix’ prototype imaginative ‘Place Labyrinth’ offer experiential exercise prompt grow knowledge connection affection towards place inhabit design Place Orientation Matrix ‘Place’ defined article human habitat created ongoing process human morethanhuman world ‘Places’ might include town city settlement human create collective home ‘Place’ differs space place finite hold meaning space infinite yet becomes place built social human morethanhuman interaction overtime Tuan 1974 Watts 2013 Mortan 2018 ‘Places’ made many form infrastructure visible action specifically intention spontaneous often translated design form place inhabit relationship therein sense design design ‘place’ Geographer YiFu Tuan 1974 seminal book titled ‘Topophilia’ explored human relationship place historically modern area work greatly informed field human geography architecture urban planning well research Topophilia refers ‘love place’ place attachment theory suggests ‘places’ like people operate living system Positive attachment ‘place’ result prosocial proenvironmental behavior However human increasingly displaced many thousand year Detachment especially ancestral land tradition instilled disconnection place inhabit often fear future loss connection Tuan 1974 experience deeper sense connection commitment ‘place’ we’ve adopted chosen forced globally dependent networked system following ‘place matrix’ explores four orientation place — ‘onplace ‘withplace’ ‘ofplace’ ‘forplace’ categorizing potential orientation place designer practitioner social impact might better understand inhabit create world around u OnPlace Orientation ‘onplace’ see experience earth something human dominate orientation earth place within like destination project relationship even living being unto Auge 1995 modern era design business often aspired aimed towards one global homogeneously designed planet perpetuated abstraction human being life form accelerated manifested ‘nonplaces’ ‘placelessness’ ‘geography nowhere’ Auge 1995 Tuan 1974 Kunstler 1993 planet madeup place look almost identical purpose visiting put pin map another symptom accelerating loss biodiversity many form planet Auge 1995 design place ‘onplace’ tend see superior everything else human earth today experience abstracted deeply separate form life surround Auge 1995 Watts 2013 Mortan 2018 way communicating manifest built environment interact experience care others assumption made designer working towards social change interested perpetuating colonialism catastrophic form therefore ‘onplace’ longer viable sustainable way inhabiting planet WithPlace Orientation ‘withplace ‘offers orientation aim restore ecological balance However orientation designer may still see separate earthkin — human still dominates believed hold superior agency Mortan 2017 sustainability movement among others like brought ecological way thinking human role complex web life However aim bring human better relationship life may cast away invasive specie planet may trouble believing build better future operating sense shame human Furthermore able think act ecologically today often come position privilege Ecological consciousness often manifest urgency ‘save planet’ perpetuate cycle acceleration quick decision making hence colonizer mentality effort repair restore yet deplete degrade vicious cycle unintended consequence Brown 2017Mortan 2017 film Examined Life philosopher Slavoj Zizek seen garbage dump professing think ecologically we’d love even waste What’s important image message truly love earth might also love part wish castaway sense ‘withplace’ may still entrenched older notion human separate nature therefore must look orientation embrace radical form ‘place’ love OfPlace Orientation believe human made humus interconnected life express orientation ‘ofplace’ ‘ofplace’ often associated indigenous way knowing see human earth interdependent life Watts 2013 Much said importance indigenous way knowing crucial significance knowledge play living future Indigenous scholar Vanessa Watts describes indigenous knowledge thought inseparable ground place come go say ‘our truth Anishnaabe Haudenosaunee people majority Indigenous society conceives human made land flesh literally extension soil’ Watts 2013 p27 sense ‘ofplace’ abstract statement instead complex truth human relationship earth deeply believe operate inseparable soil offer profoundly different experience intent design connection place ‘ofplace’ often result many generation direct tie land certainly longer term commitment place sense experience indigeneity ‘ofplace’ orientation may inaccessible least shortterm many designer today ForPlace Orientation Many human earth today may posse sense deep interconnection life may unable fully access live way daytoday modern existence orientation ‘ofplace’ inaccessible modern westernmind might ‘forplace’ orientation offer u ‘forplace’ offer orientation see modern human decentered interdependence life operates place service lifeforms design perspective mean decenter human superior operate place service morethanhuman being cocreate inhabit earth ‘Modern man conquered distance time life span man past establish profound root small corner world’ Tuan 1974 p 64 assume relationship ‘place’ service might scale appropriately develop longerterm relationship operate orientation ‘forplace’ specify sense place enlarging sense community say begin include morethanhuman world place root Knowing loving designing ‘forplace’ doesn’t require big action fact everyday awareness relationship place tree weed squirrel rat people empty can soil beneath foot bring affection it’s benefit ‘Place Labyrinth’ Homing Device digital ‘place labyrinth’ hosted iamericaworkplacelabyrinth purpose support designer kind apply ‘place matrix’ offer experience help reconnect place Viewed lens ‘place matrix’ corresponding exercise ‘place labyrinth’ offer insight embodied experience various ‘onwithoffor’ place orientation one move four stage labyrinth instruction offered participating selfguided reflection experience including journaling gazing pondering lingering tracking meandering creating Prior entering Labyrinth guideline include inside Labyrinth visitor imaginatively remain exiting labyrinth drafting ‘place manifesto’ Visitors may decide spend hour day longer remember imaginatively labyrinth exploring various orientation via individual place context various point given ‘place’ research question provide ‘password key’ access experiential exercise Practice appreciative inquiry deep listening optimize learning reflection imaginatively inside labyrinth exercise quadrant intended build deepen level experience complexity visitor move ‘on place’ forplace’ exercise include Reflections place one visited world one evoke positive weakest memory Write ‘ecoduction’ autobiography told landscape place formed today rather you’ve done Recommended 500 word Grieve mourn loss connection place Write eulogy place andor create ritual real imaginative mourn Write letter ancestor Interview elder lived place long period time imaginatively exit ‘place labyrinth’ prompted draft ‘Place Manifesto’ manifesto includes prompt question Reflect brought place currently inhabit whether intend continue inhabiting longer period time three place earth could imagine inhabiting extended period time life Consider longevity place important designing systemslevel change period time would necessary develop knowledge relationship experience iterate outcome work guideline might give staying connected committed place continue reduce carbon footprint offset place inhabit might continue deepen grow relationship place might design place leave better done nothing Designers complete labyrinth entered exploration intended deepen understanding ‘place’ orientation might better inform design ‘place’ towards living future Onwards account fact design work embedded within capitaldriven system prioritizes shortterm profit ‘wicked problem’ late capitalism hierarchical highly imbalanced ownership structure mean tremendous amount slow untangling required notion ‘designing place’ viable fullest integrity hope research serf growing population digital nomad designer often design social change ‘place matrix’ may supporting design various lifestyle business economic model support globally networked locally placed existence ‘Possibly ideal future loyalty given home region intimate memory end scale whole earth’ Tuan 1974 p100 Hypermobility via internet cheap flight afforded many globally connected community access knowledge information interaction also become enhancing essential survival might imagine world biodiverse living equitable need operate dependent earth service morethanhuman world inhabit ‘place’ ReferencesTags Environment Design Design Thinking |
1,945 | A Guide to Our Copyediting Process: Common Errors, Grammar Pet Peeves, and Advice for Writers | Ask the Copy Editors: Q&A with Deirdre, Lelo, Brittany, Ayanna, and Vinh
Note: These answers apply to all publications within the “Better Publishing” network — Better Humans, Better Marketing, and Better Programming.
What are some common errors that you see in articles?
A very common one is unnecessary capitalization, especially for job titles. (Lelo)
Basic grammatical mistakes (“it’s” vs. “its,” “there” vs. “their” vs. “they’re,” etc.) and unnecessary capitalization are the most common issues I encounter. (Vinh)
Run-on sentences. Keep your readers in mind, and let them take a breath! :) (Lelo)
Using Medium’s quotation styling for passages that aren’t quotations. (Deirdre)
Sometimes writers don’t know when to close compounds. For example, “my work out.” In this case, it should be “workout” because it is being used as a noun. (Lelo)
Often authors use capitals in places where capitals don’t belong. Those places include the phrases that an acronym stands for, job titles, the names of corporate departments, and general concepts, principles, and disciplines. Some examples of incorrect capitalization: “IDE stands for Integrated Development Environment.” “To apply for a job as a Senior Developer, contact the Human Resources Department.” “There are Bootcamps for everything from Data Science to Machine Learning to Object-Oriented Programming.” (The correct forms would be: “IDE stands for integrated development environment.” “To apply for a job as a senior developer, contact the human resources department.” “There are bootcamps for everything from data science to machine learning to object-oriented programming.”) (Deirdre)
Using “he/she” (or more usually “he”) instead of “they”. “They” is now standard in many style guides, including ours— and using it makes life so much easier! (Deirdre)
What kind of style and structure changes do you make to an article?
The main publication I edit for at the moment (Better Programming) doesn’t require much structural editing. I do, however, try to keep the flow in mind in order to provide a good reading experience. As such, I will tweak run-on or messy sentences to that end. Style-wise, I follow our in-house guide, which covers everything from formatting to site-specific spelling preferences and diversity/inclusion guidelines. (Vinh)
I try to fix unclear sentences by using punctuation first. If that doesn’t work, I reorganize, break up, or combine sentences, and I reorder or replace words. As a last resort, I rewrite, but minimally. I repair awkward constructions and smooth out bumpy transitions. I add, remove, or replace conjunctions to avoid confusion (e.g., the conversational “because,” the one that’s just a filler). At the word level, I add missing words and remove those that are redundant, and I fix eggcorns (e.g., “for all intensive purposes”), mangled metaphors, and words that are simply wrong. I correct misused prepositions and verb forms (more on that in the attached list.) I always try to make list constructions parallel because they have so much more punch that way. (Deirdre)
When I’m editing authors who aren’t fluent in English, I often have to make a fair number of changes, some of which occasionally require mindreading. It must seem pretty invasive to the writers sometimes. If the writing is already strong but there’s a missed opportunity for it to really shine, I try to raise the whole piece to a consistently high level, e.g., by varying repetitive words and phrases or pruning writing tics heavily. I admit I have a soft spot for authors who have a strong voice but aren’t quite there stylistically. (Deirdre)
I hate side-aligned images and will almost always center-align all images in an article. I think the side-align usually make articles a little hard to read and breaks up the flow. (Brittany)
I often have to change titles to title case and subtitles to sentence case. It would help me a lot if writers did this on their own. And a lot of writers do not insert page breaks between sections, so I find myself having to do this a lot as well. (Ayanna)
Do you have any copyediting pet peeves?
Overuse of filler words, like “that.” Only use “that” where it’s necessary. Read the sentence out loud to see if it makes sense without the filler word. If it works without it, leave it out. (Lelo)
Dealing with plagiarism has to be the single most irritating part of the job. It isn’t always intentional (some writers don’t know any better), but it’s a real pain nonetheless. Also, just on principle, people should always get credit for their work. So give it to them. (Vinh)
This is a Medium-specific pet peeve, but when you submit an article to a publication, the publication editors can see all the comments on the article. That means every comment: the line-edit suggestions from your writer’s group, your “thanks but no thanks” note from other publication editors, etc. I don’t mind seeing peer-edit comments as much, but rejection notes from other publications are a great way to let us know that you didn’t write this specifically for us and you’re just shopping your article around to different publications — which may make us feel less inclined to publish it. (Brittany)
A surprising number of Better Programming authors are sloppy about the names of the programs, libraries, and frameworks that are the bread and butter of their work. It’s not unusual to see “javascript,” “Javascript,” “JavaScript,” “JS,” and “js” in the same article. Authors are unwittingly undermining their credibility. Every time I have to make this kind of fix, I think, “I really hope you aren’t this careless when you’re writing code.” Since Medium has no global find-and-replace, making program names consistent is a pain. (Deirdre)
Crazy amounts of bold formatting for every other word. So many authors do this and it makes your writing hard to read! If there’s too much extraneous formatting, I will just highlight the entire article and strip all of the bold away. (Brittany)
What are things that make you happy to see in articles?
Consistency makes me happy. If you’re writing in British English, stick to it throughout. The same applies if you’re writing in American English. (Lelo)
Proper attribution is wonderful to see. I also enjoy an article that manages to be informative and easy to read. Striking that balance is trickier than you might think. (Vinh)
Properly formatted headings, properly credited and linked images. Gists. Credit given to the people whose work the author has quoted from or paraphrased. Good alt texts! OK, let’s face it: any alt text at all. A distinctive voice that’s neither pompous nor frenetic. If all those things are in place, I can focus on making the article super professional. (Deirdre)
A few suggested alternate titles. Your first article title idea is rarely the best one. Leaving a private margin note at the top of an article with a comment like “hey, here are some other title ideas I had” is helpful, and we appreciate the extra effort. (Brittany)
What would you love to see a little less of in articles?
Any type of content that doesn’t offer enough input/insight from the author (aggregate content, lists, etc.). Bring something to the table. (Vinh)
Walls of text, especially those created by never-ending sentences. Keep all your sentences short and sweet if you can. (Lelo)
Images that are uncredited. Please make sure you credit your images correctly. It’s important! (Lelo)
I would like for writers to refrain from using Wikipedia as a source. It makes the writer lose credibility since Wikipedia is not reliable. (Ayanna)
It makes me sad on their behalf to see authors trying too hard to generate excitement or bolster their credibility. These are the people who pepper their articles with emojis and GIFs, bolding and italics, exclamation marks, and phrases like “we’re gonna make something awesome!!!” This comes across as anxiety that their idea, app, or analysis can’t stand on its own — when it probably can. (Deirdre)
Some authors repeatedly start sentences with “so” when the causal connection to the previous statement is perfectly clear. When “so” is used in excess, it makes authors look like they doubt that their argument is clear, when it almost always is. This is different from starting every second sentence with “so” just to be conversational and informal, which also happens a lot and is a distraction in its own right. (Deirdre)
We see the same feature photos over and over again. I’d love to see more unique photos, photos that reflect more diversity, and other image types (like illustrations, cartoons, DIY graphics). If you’re using Unsplash, scroll down a little — don’t pick the first image that comes up in your search. Also, photos that are overly literal but don’t have much to do with the content otherwise: for example, an article about a product launch and a rocket launch photo, sigh. In my opinion, an image that’s less related to the article but is interesting is better than a boring-but-related header image. (Brittany) | https://medium.com/better-marketing/a-guide-to-our-copyediting-process-common-errors-grammar-pet-peeves-and-advice-for-writers-2a363e7ff29d | ['Brittany Jezouit'] | 2020-12-17 22:54:24.709000+00:00 | ['Editing', 'Medium', 'Marketing', 'Writing', 'Grammar'] | Title Guide Copyediting Process Common Errors Grammar Pet Peeves Advice WritersContent Ask Copy Editors QA Deirdre Lelo Brittany Ayanna Vinh Note answer apply publication within “Better Publishing” network — Better Humans Better Marketing Better Programming common error see article common one unnecessary capitalization especially job title Lelo Basic grammatical mistake “it’s” v “its” “there” v “their” v “they’re” etc unnecessary capitalization common issue encounter Vinh Runon sentence Keep reader mind let take breath Lelo Using Medium’s quotation styling passage aren’t quotation Deirdre Sometimes writer don’t know close compound example “my work out” case “workout” used noun Lelo Often author use capital place capital don’t belong place include phrase acronym stand job title name corporate department general concept principle discipline example incorrect capitalization “IDE stand Integrated Development Environment” “To apply job Senior Developer contact Human Resources Department” “There Bootcamps everything Data Science Machine Learning ObjectOriented Programming” correct form would “IDE stand integrated development environment” “To apply job senior developer contact human resource department” “There bootcamps everything data science machine learning objectoriented programming” Deirdre Using “heshe” usually “he” instead “they” “They” standard many style guide including ours— using make life much easier Deirdre kind style structure change make article main publication edit moment Better Programming doesn’t require much structural editing however try keep flow mind order provide good reading experience tweak runon messy sentence end Stylewise follow inhouse guide cover everything formatting sitespecific spelling preference diversityinclusion guideline Vinh try fix unclear sentence using punctuation first doesn’t work reorganize break combine sentence reorder replace word last resort rewrite minimally repair awkward construction smooth bumpy transition add remove replace conjunction avoid confusion eg conversational “because” one that’s filler word level add missing word remove redundant fix eggcorns eg “for intensive purposes” mangled metaphor word simply wrong correct misused preposition verb form attached list always try make list construction parallel much punch way Deirdre I’m editing author aren’t fluent English often make fair number change occasionally require mindreading must seem pretty invasive writer sometimes writing already strong there’s missed opportunity really shine try raise whole piece consistently high level eg varying repetitive word phrase pruning writing tic heavily admit soft spot author strong voice aren’t quite stylistically Deirdre hate sidealigned image almost always centeralign image article think sidealign usually make article little hard read break flow Brittany often change title title case subtitle sentence case would help lot writer lot writer insert page break section find lot well Ayanna copyediting pet peeve Overuse filler word like “that” use “that” it’s necessary Read sentence loud see make sense without filler word work without leave Lelo Dealing plagiarism single irritating part job isn’t always intentional writer don’t know better it’s real pain nonetheless Also principle people always get credit work give Vinh Mediumspecific pet peeve submit article publication publication editor see comment article mean every comment lineedit suggestion writer’s group “thanks thanks” note publication editor etc don’t mind seeing peeredit comment much rejection note publication great way let u know didn’t write specifically u you’re shopping article around different publication — may make u feel le inclined publish Brittany surprising number Better Programming author sloppy name program library framework bread butter work It’s unusual see “javascript” “Javascript” “JavaScript” “JS” “js” article Authors unwittingly undermining credibility Every time make kind fix think “I really hope aren’t careless you’re writing code” Since Medium global findandreplace making program name consistent pain Deirdre Crazy amount bold formatting every word many author make writing hard read there’s much extraneous formatting highlight entire article strip bold away Brittany thing make happy see article Consistency make happy you’re writing British English stick throughout applies you’re writing American English Lelo Proper attribution wonderful see also enjoy article manages informative easy read Striking balance trickier might think Vinh Properly formatted heading properly credited linked image Gists Credit given people whose work author quoted paraphrased Good alt text OK let’s face alt text distinctive voice that’s neither pompous frenetic thing place focus making article super professional Deirdre suggested alternate title first article title idea rarely best one Leaving private margin note top article comment like “hey title idea had” helpful appreciate extra effort Brittany would love see little le article type content doesn’t offer enough inputinsight author aggregate content list etc Bring something table Vinh Walls text especially created neverending sentence Keep sentence short sweet Lelo Images uncredited Please make sure credit image correctly It’s important Lelo would like writer refrain using Wikipedia source make writer lose credibility since Wikipedia reliable Ayanna make sad behalf see author trying hard generate excitement bolster credibility people pepper article emojis GIFs bolding italic exclamation mark phrase like “we’re gonna make something awesome” come across anxiety idea app analysis can’t stand — probably Deirdre author repeatedly start sentence “so” causal connection previous statement perfectly clear “so” used excess make author look like doubt argument clear almost always different starting every second sentence “so” conversational informal also happens lot distraction right Deirdre see feature photo I’d love see unique photo photo reflect diversity image type like illustration cartoon DIY graphic you’re using Unsplash scroll little — don’t pick first image come search Also photo overly literal don’t much content otherwise example article product launch rocket launch photo sigh opinion image that’s le related article interesting better boringbutrelated header image BrittanyTags Editing Medium Marketing Writing Grammar |
1,946 | The Kessler Syndrome: Closing Off Earth From Space | When writing about outer space, I often compare it to the vast and plentiful oceans here on Earth. Both are mysterious frontiers as yet largely unexplored and with magnificent potential — from sunken cities and trench inhabitants to strange planets tidally locked to their stars, creating a surface of duality where scorching temperatures coexist beside glacial, shimmering tundras. They’re also immense; looking out across the faceted blue of the waters it seems to be infinite. Grand and indomitable. It’s because of this illusion that we’ve had a terrible effect on the ocean’s ecosystem. We’ve depleted fish populations, killed half the Great Barrier Reef, and continue to add more than 8 million tons of plastic into the ocean each year. We’re treating the space around Earth in much the same way.
It’s difficult to believe with such clear night skies — freckled with luminous bodies of stars and planets — that anything exists up there which might hinder space exploration. And yet much like the iconic rings around Saturn, there’s a growing ring of debris circling Earth. It’s composed of dead satellites, slivers of paint, fragments of solar panels and rockets from missions long ago. Altogether there are millions of pieces of debris in orbit with only 22,300 of those pieces regularly tracked by the US Military. Theoretical models are needed to predict the path of any debris under 10 cm, which can’t be tracked. And while the military has the largest public database of space debris, even this doesn’t include satellites omitted by international governments, commercial companies, or our own ongoing projects.
The most frightening aspect is that all of this material is not merely tame and floating around but rather moving at speeds as high as 17,000 miles per hour (27,000 km per hour) with each object varying in direction as it’s affected by the Earth’s gravitational field. Friction of an object against the atmosphere will also cause some objects to fall in altitude. At these speeds, a screw can have the same impact as a high-speed car, potentially destroying an entire satellite. These are the same satellites we depend on for everything from communication to ATM withdrawals to monitoring of the Earth’s ecosystems. Avoiding collisions through evasive maneuvers uses up the satellite’s fuel and time, making it less efficient than it could be. Even more problematic is the fact that most objects in orbit cannot be controlled from Earth so there’s no way to interfere with debris on a collision course.
The 2013 film “Gravity” explores the devastating effects of space debris hitting a space shuttle. While nothing so devastating has happened in real life, the ISS has been hit before, with NASA cautioning crew members to take refuge in the Soyuz capsules which can detach and return to Earth. However, the capsules themselves have damage from debris.
This is the fear addressed by the Kessler Syndrome. It was a theory proposed 41 years ago by NASA scientist Donald Kessler. The theory describes an ongoing collision of debris where an initial incident continues to cascade into another and another, giving way to an exponential rise of debris around the planet. In fact, some scientists believe the effect might already have been put into place by the events of 2009.
That year, an operational Iridium satellite and a defunct Russian satellite struck one another at the rate of 26 miles per hour (42 km) and created 2,000 new pieces of debris. This occurred at Earth’s polar orbits at a height of 490 miles (789 km) in altitude. This area at the poles is considered to carry the highest risk of debris collision.
While most causes of debris are accidental, like the incident above, an unsavory plan in 2007 angered many countries across the world. China destroyed a weather satellite and created thousands of new pieces of junk orbiting above us right now. The test itself was already controversial, aimed to test their capabilities of destroying objects in space. The US also caused a lot of pollution in the 1960’s when it sent millions of copper needles into space to improve radio communications. While some of these needles came back down, thousands of clumps of copper still reside up there to this day.
And since the 1960’s, space’s artificial population of objects continues to grow rapidly with 400 new satellites having entered orbit in 2017 alone. This number doesn’t seem to be going down. SpaceX received approval last year to launch 12,000 new satellites and they’re only one among many companies with plans to deploy similar satellites in the near future. Technology like CubeStats — small scale satellites enabling research groups and companies to have access to space — are cost effective and accessible, meaning they’re being increasingly deployed as well. If these rates continue to increase and nothing is done about the problem, collisions can become up to 25 times more likely, meaning that spaceflight would be almost impossible.
A little over a decade ago, agencies developed guidelines for the launch of spacecraft. Satellites should turn off batteries and vent all fuel and combustible material to avoid in-orbit explosions. The altitude of these satellites should also be low enough that they will naturally burn up after 25 years, meaning they should come below 372 miles (600 km). This foresight is known as the passivation of objects. Debris will burn up upon re-entry to Earth’s atmosphere, though this does come with the potential for larger pieces of debris to land in populated areas. Only half of all missions abide by these guidelines.
Unfortunately, a critical point for space debris has already been reached. Even if no further launches were to take place, the number of objects would continue to increase as more and more collisions occurred. The only long-term solution is to remove 5–10 large objects from orbit each year. And experts urge us to begin this process of removal now. Proposals for cleaning up space include nets to capture objects, lasers to guide them into re-entry, and large magnets to attract the pieces. But technology for managing space debris is still under testing and development. For now, the best agencies are able to do is to track the moving objects.
RemoveDEBRIS is a project that utilizes nets to capture trash. It has shown to successfully retrieve targets during experiments.
Artificial intelligence with neural networks — the machine equivalent of a human brain — can be used to track debris and give a prediction of where it will be in the future. The AI is capable of learning from its mistakes and becoming more accurate as time goes on. It could also suggest the best launch times since research shows that even a difference of 15 minutes in launch time can influence how long it will take a satellite to come back down. Massive data sets are not only cataloging objects but also studying sizes and shapes in order to better asses the danger a piece of debris will pose. | https://medium.com/predict/the-kessler-syndrome-closing-off-earth-from-space-8126bd13bebb | ['Ella Alderson'] | 2019-04-20 17:39:08.463000+00:00 | ['Environment', 'Technology', 'Science', 'Space', 'Universe'] | Title Kessler Syndrome Closing Earth SpaceContent writing outer space often compare vast plentiful ocean Earth mysterious frontier yet largely unexplored magnificent potential — sunken city trench inhabitant strange planet tidally locked star creating surface duality scorching temperature coexist beside glacial shimmering tundra They’re also immense looking across faceted blue water seems infinite Grand indomitable It’s illusion we’ve terrible effect ocean’s ecosystem We’ve depleted fish population killed half Great Barrier Reef continue add 8 million ton plastic ocean year We’re treating space around Earth much way It’s difficult believe clear night sky — freckled luminous body star planet — anything exists might hinder space exploration yet much like iconic ring around Saturn there’s growing ring debris circling Earth It’s composed dead satellite sliver paint fragment solar panel rocket mission long ago Altogether million piece debris orbit 22300 piece regularly tracked US Military Theoretical model needed predict path debris 10 cm can’t tracked military largest public database space debris even doesn’t include satellite omitted international government commercial company ongoing project frightening aspect material merely tame floating around rather moving speed high 17000 mile per hour 27000 km per hour object varying direction it’s affected Earth’s gravitational field Friction object atmosphere also cause object fall altitude speed screw impact highspeed car potentially destroying entire satellite satellite depend everything communication ATM withdrawal monitoring Earth’s ecosystem Avoiding collision evasive maneuver us satellite’s fuel time making le efficient could Even problematic fact object orbit cannot controlled Earth there’s way interfere debris collision course 2013 film “Gravity” explores devastating effect space debris hitting space shuttle nothing devastating happened real life ISS hit NASA cautioning crew member take refuge Soyuz capsule detach return Earth However capsule damage debris fear addressed Kessler Syndrome theory proposed 41 year ago NASA scientist Donald Kessler theory describes ongoing collision debris initial incident continues cascade another another giving way exponential rise debris around planet fact scientist believe effect might already put place event 2009 year operational Iridium satellite defunct Russian satellite struck one another rate 26 mile per hour 42 km created 2000 new piece debris occurred Earth’s polar orbit height 490 mile 789 km altitude area pole considered carry highest risk debris collision cause debris accidental like incident unsavory plan 2007 angered many country across world China destroyed weather satellite created thousand new piece junk orbiting u right test already controversial aimed test capability destroying object space US also caused lot pollution 1960’s sent million copper needle space improve radio communication needle came back thousand clump copper still reside day since 1960’s space’s artificial population object continues grow rapidly 400 new satellite entered orbit 2017 alone number doesn’t seem going SpaceX received approval last year launch 12000 new satellite they’re one among many company plan deploy similar satellite near future Technology like CubeStats — small scale satellite enabling research group company access space — cost effective accessible meaning they’re increasingly deployed well rate continue increase nothing done problem collision become 25 time likely meaning spaceflight would almost impossible little decade ago agency developed guideline launch spacecraft Satellites turn battery vent fuel combustible material avoid inorbit explosion altitude satellite also low enough naturally burn 25 year meaning come 372 mile 600 km foresight known passivation object Debris burn upon reentry Earth’s atmosphere though come potential larger piece debris land populated area half mission abide guideline Unfortunately critical point space debris already reached Even launch take place number object would continue increase collision occurred longterm solution remove 5–10 large object orbit year expert urge u begin process removal Proposals cleaning space include net capture object laser guide reentry large magnet attract piece technology managing space debris still testing development best agency able track moving object RemoveDEBRIS project utilizes net capture trash shown successfully retrieve target experiment Artificial intelligence neural network — machine equivalent human brain — used track debris give prediction future AI capable learning mistake becoming accurate time go could also suggest best launch time since research show even difference 15 minute launch time influence long take satellite come back Massive data set cataloging object also studying size shape order better ass danger piece debris poseTags Environment Technology Science Space Universe |
1,947 | Why Long Walks Will Change Your Life | Over the years, I must have walked this same route a thousand times, yet I’ve never tired of its charms. If one is attentive enough, every walk is an opportunity to see new sights and hear new sounds. On many occasions, I walked off the track and ended up in some unfamiliar landscape I never could have imagined. For the most part, the landscape of West Yorkshire is not very diverse; it’s mostly green fields and green hills that seem to stretch on forever. But on my local walks, I am an explorer, a pioneer, I am involved in the landscapes, and I notice the wonderful capabilities of the landscape to bend and fold over short distances. I learn the shapes and curves of different trees and plants, and I notice how they change throughout each season. On my walks I am in a constant, slow-burning rapture.
Usually, I walk without a plan. I have nothing to achieve; the beauty is in the walking, in the journey itself. I depend on instinct and walk interminably, one foot in front of the other, breathing in the cold air, marveling at the stature of the oak trees, nodding and greeting the dog walkers who pass me by. And then, quite suddenly, ideas arrive. Stories unfold. Meaning and purpose are restored. Beautiful words, long sentences, poetry and rhyme, answers to dreaded questions — these all come in flashing moments when I am absorbed in the landscape, in the eternity of the natural world. It always takes me by surprise, and I often regret not carrying a notepad to write my thoughts down; I just have to hope I will remember everything when I get back home.
In nature, you leave yourself behind. You are nobody in the woods. When faced with a particularly difficult problem, I find it’s always healthier to just get out of the house and go for a walk rather than trying to force the answer. For in the repetition of walking you empty yourself out, free yourself of opinion and expectation, and embody once again humanity’s innate character. In this state of emptiness, your mind begins to clear — and then the gods descend to fill the void. Freedom of movement stimulates the mind, bringing forth divine wisdom. A free body is a free mind; which is why, I suppose, the powers that be prefer we sit in offices and cubicles day and night, so that we are made forever stupid and loyal customers.
In nature, you leave yourself behind.
Indeed, like everyone else, I have days that require I sit inside the office or the library all day and work until the end. And on these days I always feel as if there is a small stove slowly burning in my stomach, a hollow pain, which grows fierier the longer I stifle my vitality. If evening comes and I have not walked far at all, then this fire cannot be contained and it becomes impossible to remain sitting still. I get so anxious that I cannot concentrate on even the simplest of tasks. My mind is exhausted but my body’s energy is idle and unsatisfied. If this energy does not find release through physical exertion, it seeps into the mind and transforms into worries, doubts, fears — what’s more, I can’t sleep, because the untapped life force whirls and spins around my mind, desperately trying to exert itself, keeping me awake. The life force I should be expressing through physical exertion turns back on my body and slowly destroys me.
I take long walks because I have a body, and if I do not use my body then I become bad-tempered and apathetic. Those who concentrate solely on their intellect and leave the body behind tend to be rigid, stern characters, and unhealthy. As far as I can tell, each of us seems to have a primal drive toward life, which finds its easiest expression in the act of walking, in the act of moving forward through the natural world and marveling at its beauty. In my experience, all anxious and depressive feelings seem to dissipate when walking along a woodland path. And if you walk far enough you eventually achieve a state of joy — a quiet, inner happiness — and you are relieved, as you have escaped the walls, the squares, the eternity of sitting, of stagnation; now you are moving over the landscape, over the hills and far away, fighting against gravity, breathing fresh air, with a pulsing heart and an appetite for flowers and sunlight. You are free in search of the springs of life. A long walk is a rebirth of consciousness; one never returns quite the same, and is always better off for it. | https://humanparts.medium.com/walking-is-medicine-why-long-walks-will-change-your-life-59297e955a49 | ['Harry J. Stead'] | 2020-05-26 17:51:26.671000+00:00 | ['Psychology', 'Mindfulness', 'Mental Health', 'Self Improvement', 'Inspiration'] | Title Long Walks Change LifeContent year must walked route thousand time yet I’ve never tired charm one attentive enough every walk opportunity see new sight hear new sound many occasion walked track ended unfamiliar landscape never could imagined part landscape West Yorkshire diverse it’s mostly green field green hill seem stretch forever local walk explorer pioneer involved landscape notice wonderful capability landscape bend fold short distance learn shape curve different tree plant notice change throughout season walk constant slowburning rapture Usually walk without plan nothing achieve beauty walking journey depend instinct walk interminably one foot front breathing cold air marveling stature oak tree nodding greeting dog walker pas quite suddenly idea arrive Stories unfold Meaning purpose restored Beautiful word long sentence poetry rhyme answer dreaded question — come flashing moment absorbed landscape eternity natural world always take surprise often regret carrying notepad write thought hope remember everything get back home nature leave behind nobody wood faced particularly difficult problem find it’s always healthier get house go walk rather trying force answer repetition walking empty free opinion expectation embody humanity’s innate character state emptiness mind begin clear — god descend fill void Freedom movement stimulates mind bringing forth divine wisdom free body free mind suppose power prefer sit office cubicle day night made forever stupid loyal customer nature leave behind Indeed like everyone else day require sit inside office library day work end day always feel small stove slowly burning stomach hollow pain grows fierier longer stifle vitality evening come walked far fire cannot contained becomes impossible remain sitting still get anxious cannot concentrate even simplest task mind exhausted body’s energy idle unsatisfied energy find release physical exertion seeps mind transforms worry doubt fear — what’s can’t sleep untapped life force whirl spin around mind desperately trying exert keeping awake life force expressing physical exertion turn back body slowly destroys take long walk body use body become badtempered apathetic concentrate solely intellect leave body behind tend rigid stern character unhealthy far tell u seems primal drive toward life find easiest expression act walking act moving forward natural world marveling beauty experience anxious depressive feeling seem dissipate walking along woodland path walk far enough eventually achieve state joy — quiet inner happiness — relieved escaped wall square eternity sitting stagnation moving landscape hill far away fighting gravity breathing fresh air pulsing heart appetite flower sunlight free search spring life long walk rebirth consciousness one never return quite always better itTags Psychology Mindfulness Mental Health Self Improvement Inspiration |
1,948 | Neural Networks from Scratch with Python Code and Math in Detail— I | 4. What is a Perceptron?
A perceptron is a neural network without any hidden layer. A perceptron only has an input layer and an output layer.
Figure 6: A perceptron
Where we can use perceptrons?
Perceptrons’ use lies in many case scenarios. While a perceptron is mostly used for simple decision making, these can also come together in larger computer programs to solve more complex problems.
For instance:
Give access if a person is a faculty member and deny access if a person is a student. Provide entry for humans only. Implementation of logic gates [2].
Steps involved in the implementation of a neural network:
A neural network executes in 2 steps :
1. Feedforward:
On a feedforward neural network, we have a set of input features and some random weights. Notice that in this case, we are taking random weights that we will optimize using backward propagation.
2. Backpropagation:
During backpropagation, we calculate the error between predicted output and target output and then use an algorithm (gradient descent) to update the weight values.
Why do we need backpropagation?
While designing a neural network, first, we need to train a model and assign specific weights to each of those inputs. That weight decides how vital is that feature for our prediction. The higher the weight, the greater the importance. However, initially, we do not know the specific weight required by those inputs. So what we do is, we assign some random weight to our inputs, and our model calculates the error in prediction. Thereafter, we update our weight values and rerun the code (backpropagation). After individual iterations, we can get lower error values and higher accuracy.
Summarizing an Artificial Neural Network:
Take inputs Add bias (if required) Assign random weights to input features Run the code for training. Find the error in prediction. Update the weight by gradient descent algorithm. Repeat the training phase with updated weights. Make predictions.
Flow chart for a simple neural network:
Figure 7: Artificial Neural Network (ANN) Basic Flow Chart
The training phase of a neural network:
Figure 8: Training phase of a neural network
5. Perceptron Example:
Below is a simple perceptron model with four inputs and one output.
Figure 9: A simple perceptron
Figure 10: A set of data
What we have here is the input values and their corresponding target output values. So what we are going to do, is assign some weight to the inputs and then calculate their predicted output values.
In this example we are going to calculate the output by the following formula:
Figure 11: Formula to calculate the neural net’s output
For the sake of this example, we are going to take the bias value = 0 for simplicity of calculation.
a. Let’s take W = 3 and check the predicted output.
Figure 12: The output when W = 3
b. After we have found the value of predicted output for W=3, we are going to compare it with our target output, and by doing that, we can find the error in the prediction model. Keep in mind that our goal is to achieve minimum error and maximum accuracy for our model.
Figure 13: The error when W = 3
c. Notice that in the above calculation, there is an error in 3 out of 4 predictions. So we have to change the parameter values of our weight to set in low. Now we have two options:
Increase weight Decrease weight
First, we are going to increase the value of the weight and check whether it leads to a higher error rate or lower error rate. Here we increased the weight value by 1 and changed it to W = 4.
Figure 14: Output when W = 4
d. As we can see in the figure above, is that the error in prediction is increasing. So now we can conclude that increasing the weight value does not help us in reducing the error in prediction.
Figure 15: Error when W = 4
e. After we fail in increasing the weight value, we are going to decrease the value of weight for it. Furthermore, by doing that, we can see whether it helps or not.
Figure 16: Output when W = 2
f. Calculate the error in prediction. Here we can see that we have achieved the global minimum.
Figure 17: Error when W = 2
In figure 17, we can see that there is no error in prediction.
Now what we did here:
First, we have our input values and target output. Then we initialized some random value to W, and then we proceed further. Last, we calculated the error for in prediction for that weight value. Afterward, we updated the weight and predicted the output. After several trial and error epochs, we can reduce the error in prediction.
Figure 18: Illustrating our function
So, we are trying to get the value of weight such that the error becomes minimum. We need to figure out whether we need to increase or decrease the weight value. Once we know that, we keep on updating the weight value in that direction until error becomes minimum. We might reach a point where if further updates occur to the weight, the error will increase. At that time, we need to stop, and that is our final weight value.
In real-life data, the situation can be a bit more complex. In the example above, we saw that we could try different weight values and get the minimum error manually. However, in real-life data, weight values are often decimal (non-integer). Therefore, we are going to use a gradient descent algorithm with a low learning rate so that we can try different weight values and obtain the best predictions from our model.
Figure 19: Formula representing the final
6. Sigmoid Function:
A sigmoid function serves as an activation function in our neural network training. We generally use neural networks for classifications. In binary classification, we have 2 types. However, as we can see, our output value can be any possible number from the equation we used. To solve that problem, we use a sigmoid function. Now for classification, we want our output values to be 0 or 1. So to get values between 0 and 1 we use the sigmoid function. The sigmoid function converts our output values between 0 and 1.
Let’s have a look at it:
Figure 20: Sigmoid function
Let’s visualize our sigmoid function with Python:
Figure 21: Python code for the sigmoid function
Output:
Figure 22: Sigmoid function graph
Explanation:
In figure 21 and 22, for any input values, the value of the sigmoid function will always lie between 0 and 1. Here notice that for negative numbers, the output of the sigmoid function is ≤0.5, or we can say closer to zero, and for positive numbers, the output is going to be >0.5, or we can say closer to 1.
7. Neural Network Implementation from Scratch:
We are going to do is implement the “OR” logic gate using a perceptron. Keep in mind that here we are not going to use any of the hidden layers.
What is logical OR Gate?
Straightforwardly, when one of the inputs is 1, the output of the OR gate is going to be 1. It means that the output is 0 only when both of the inputs are 0.
Representation:
Figure 23: The OR gate
Truth-Table for OR gate:
Figure 24: Set of truth-table data for the OR gate
Perceptron for the OR gate:
Figure 25: A perceptron
Next, we are going to assign some weights to each of the input values and calculate it.
Figure 26: A-weighted perceptron
Example: (Calculating Manually)
a. Calculate the input for o1:
Figure 27: Formula to calculate the input for o1
b. Calculate the output value:
Figure 28: Formula to calculate the output value
Figure 29: Result output value
Notice that from our truth table, we can see that we wanted the output of 1, but what we get here is 0.68997. Now we need to calculate the error and then backpropagate and then update the weight values.
c. Error Calculation:
Next, we are going to use Mean Squared Error for calculating the error :
Figure 30: Mean squared error formula
The summation sign (Sigma symbol) means that we have to add our error for all our input sets. Here we are going to see how that works for only one input set.
Figure 31: Result of the MSE
We have to do the same for all the remaining inputs. Now that we have found the error, we have to update the values of weight to make the error minimum. For updating weight values, we are going to use a gradient descent algorithm.
8. What is Gradient Descent?
Gradient Descent is a machine learning algorithm that operates iteratively to find the optimal values for its parameters. It takes into account, user-defined learning rate, and initial parameter values.
Working: (Iterative)
1. Start with initial values.
2. Calculate cost.
3. Update values using the update function.
4. Returns minimized cost for our cost function
Why do we need it?
Generally, what we do is, we find the formula that gives us the optimal values for our parameter. However, in this algorithm, it finds the value by itself!
Interesting, isn’t it?
Figure 32; Formula for the Gradient Descent algorithm
We are going to update our weight with this algorithm. First of all, we need to find the derivative f(X).
9. Derivation of the formula used in a neural network
Next, what we want to find is how a particular weight value affects the error. To find that we are going to apply the chain rule.
Figure 33: Finding the derivative
Afterward, what we have to do is we have to find values for these three derivatives.
In the following images, we have tried to show the derivation of each of these derivatives to showcase the math behind gradient descent.
d. Calculating derivatives:
Figure 34: Calculating the derivatives
In our case:
Output = 0.68997
Target = 1
Figure 35: Finding the first derivative
e. Finding the second part of the derivative:
Figure 36: Calculating the second part
To understand it step-by-step:
e.a. Value of outo1:
Figure 37: Value of outo1
e.b. Finding the derivative with respect to ino1:
Figure 38: Derivative of outo1 with respect to ino1
e.c. Simplifying it a bit to find the derivative easily:
Figure 39: Simplication
e.d. Applying chain rule and power rule:
Figure 40: Applying the chain rule, along with power rule
e.e. Applying sum rule:
Figure 41: Applying sum rule to outo1 with respect to ino1
e.f. The derivative of constant is zero:
Figure 42: Derivative of the constant is zero
e.g. Applying exponential rule and chain rule:
Figure 42: Applying exponential rule and a chain rule
e.h. Simplifying it a bit:
Figure 43: Simplifying the derivative
e.i. Multiplying both negative signs:
Figure 44: Multiplication of both negations
e.j. Put the negative power in the denominator:
Figure 45: Moving the negative power to the denominator
That is it. However, we need to simplify it as it is a little complex for our machine learning algorithm to process for a large number of inputs.
e.k. Simplifying it:
Figure 46: Simplifying the algorithm
e.l. Further simplification:
Figure 47: Step two of the simplyfication
e.k. Adding +1–1:
Figure 48: Adding the values
e.l. Separate the parts:
Figure 49: Separating the algorithm
e.m. Simplify:
Figure 50: Simplify the separation
e.n. Now we all know the value of outo1 from equation 1:
Figure 51: Value from outo1
e.o. From that we can derive the following final derivative:
Figure 52: Deriving the final derivative
e.p. Calculating the value of our input:
Figure 53: Final calculation of the output
f. Finding the third part of the derivative :
Figure 54: Formula to calculate the third derivative
f.a Value of ino :
Figure 55: Value of ino
f.b. Finding derivative:
All the other values except w2 will be considered constant here.
Figure 56: Finding the derivative
f.c Calculating both values for our input:
Figure 57: Calculating both values for the input
f.d. Putting it all together:
Figure 58: Calculating it as a whole
f.e. Putting it in our main equation:
Figure 59: Putting it on the main equation
f.f. We can calculate:
Figure 60: Calculation of second weight
Notice that the value of the weight has increased here. We can calculate all the values in this way, but as we can see, it is going to be a lengthy process. So now we are going to implement all the steps in Python. | https://medium.com/towards-artificial-intelligence/building-neural-networks-from-scratch-with-python-code-and-math-in-detail-i-536fae5d7bbf | ['Towards Ai Team'] | 2020-12-09 23:49:02.768000+00:00 | ['Artificial Intelligence', 'Innovation', 'Technology', 'Education', 'Science'] | Title Neural Networks Scratch Python Code Math Detail— IContent 4 Perceptron perceptron neural network without hidden layer perceptron input layer output layer Figure 6 perceptron use perceptrons Perceptrons’ use lie many case scenario perceptron mostly used simple decision making also come together larger computer program solve complex problem instance Give access person faculty member deny access person student Provide entry human Implementation logic gate 2 Steps involved implementation neural network neural network executes 2 step 1 Feedforward feedforward neural network set input feature random weight Notice case taking random weight optimize using backward propagation 2 Backpropagation backpropagation calculate error predicted output target output use algorithm gradient descent update weight value need backpropagation designing neural network first need train model assign specific weight input weight decides vital feature prediction higher weight greater importance However initially know specific weight required input assign random weight input model calculates error prediction Thereafter update weight value rerun code backpropagation individual iteration get lower error value higher accuracy Summarizing Artificial Neural Network Take input Add bias required Assign random weight input feature Run code training Find error prediction Update weight gradient descent algorithm Repeat training phase updated weight Make prediction Flow chart simple neural network Figure 7 Artificial Neural Network ANN Basic Flow Chart training phase neural network Figure 8 Training phase neural network 5 Perceptron Example simple perceptron model four input one output Figure 9 simple perceptron Figure 10 set data input value corresponding target output value going assign weight input calculate predicted output value example going calculate output following formula Figure 11 Formula calculate neural net’s output sake example going take bias value 0 simplicity calculation Let’s take W 3 check predicted output Figure 12 output W 3 b found value predicted output W3 going compare target output find error prediction model Keep mind goal achieve minimum error maximum accuracy model Figure 13 error W 3 c Notice calculation error 3 4 prediction change parameter value weight set low two option Increase weight Decrease weight First going increase value weight check whether lead higher error rate lower error rate increased weight value 1 changed W 4 Figure 14 Output W 4 see figure error prediction increasing conclude increasing weight value help u reducing error prediction Figure 15 Error W 4 e fail increasing weight value going decrease value weight Furthermore see whether help Figure 16 Output W 2 f Calculate error prediction see achieved global minimum Figure 17 Error W 2 figure 17 see error prediction First input value target output initialized random value W proceed Last calculated error prediction weight value Afterward updated weight predicted output several trial error epoch reduce error prediction Figure 18 Illustrating function trying get value weight error becomes minimum need figure whether need increase decrease weight value know keep updating weight value direction error becomes minimum might reach point update occur weight error increase time need stop final weight value reallife data situation bit complex example saw could try different weight value get minimum error manually However reallife data weight value often decimal noninteger Therefore going use gradient descent algorithm low learning rate try different weight value obtain best prediction model Figure 19 Formula representing final 6 Sigmoid Function sigmoid function serf activation function neural network training generally use neural network classification binary classification 2 type However see output value possible number equation used solve problem use sigmoid function classification want output value 0 1 get value 0 1 use sigmoid function sigmoid function convert output value 0 1 Let’s look Figure 20 Sigmoid function Let’s visualize sigmoid function Python Figure 21 Python code sigmoid function Output Figure 22 Sigmoid function graph Explanation figure 21 22 input value value sigmoid function always lie 0 1 notice negative number output sigmoid function ≤05 say closer zero positive number output going 05 say closer 1 7 Neural Network Implementation Scratch going implement “OR” logic gate using perceptron Keep mind going use hidden layer logical Gate Straightforwardly one input 1 output gate going 1 mean output 0 input 0 Representation Figure 23 gate TruthTable gate Figure 24 Set truthtable data gate Perceptron gate Figure 25 perceptron Next going assign weight input value calculate Figure 26 Aweighted perceptron Example Calculating Manually Calculate input o1 Figure 27 Formula calculate input o1 b Calculate output value Figure 28 Formula calculate output value Figure 29 Result output value Notice truth table see wanted output 1 get 068997 need calculate error backpropagate update weight value c Error Calculation Next going use Mean Squared Error calculating error Figure 30 Mean squared error formula summation sign Sigma symbol mean add error input set going see work one input set Figure 31 Result MSE remaining input found error update value weight make error minimum updating weight value going use gradient descent algorithm 8 Gradient Descent Gradient Descent machine learning algorithm operates iteratively find optimal value parameter take account userdefined learning rate initial parameter value Working Iterative 1 Start initial value 2 Calculate cost 3 Update value using update function 4 Returns minimized cost cost function need Generally find formula give u optimal value parameter However algorithm find value Interesting isn’t Figure 32 Formula Gradient Descent algorithm going update weight algorithm First need find derivative fX 9 Derivation formula used neural network Next want find particular weight value affect error find going apply chain rule Figure 33 Finding derivative Afterward find value three derivative following image tried show derivation derivative showcase math behind gradient descent Calculating derivative Figure 34 Calculating derivative case Output 068997 Target 1 Figure 35 Finding first derivative e Finding second part derivative Figure 36 Calculating second part understand stepbystep ea Value outo1 Figure 37 Value outo1 eb Finding derivative respect ino1 Figure 38 Derivative outo1 respect ino1 ec Simplifying bit find derivative easily Figure 39 Simplication ed Applying chain rule power rule Figure 40 Applying chain rule along power rule ee Applying sum rule Figure 41 Applying sum rule outo1 respect ino1 ef derivative constant zero Figure 42 Derivative constant zero eg Applying exponential rule chain rule Figure 42 Applying exponential rule chain rule eh Simplifying bit Figure 43 Simplifying derivative ei Multiplying negative sign Figure 44 Multiplication negation ej Put negative power denominator Figure 45 Moving negative power denominator However need simplify little complex machine learning algorithm process large number input ek Simplifying Figure 46 Simplifying algorithm el simplification Figure 47 Step two simplyfication ek Adding 1–1 Figure 48 Adding value el Separate part Figure 49 Separating algorithm em Simplify Figure 50 Simplify separation en know value outo1 equation 1 Figure 51 Value outo1 eo derive following final derivative Figure 52 Deriving final derivative ep Calculating value input Figure 53 Final calculation output f Finding third part derivative Figure 54 Formula calculate third derivative fa Value ino Figure 55 Value ino fb Finding derivative value except w2 considered constant Figure 56 Finding derivative fc Calculating value input Figure 57 Calculating value input fd Putting together Figure 58 Calculating whole fe Putting main equation Figure 59 Putting main equation ff calculate Figure 60 Calculation second weight Notice value weight increased calculate value way see going lengthy process going implement step PythonTags Artificial Intelligence Innovation Technology Education Science |
1,949 | Cooling crops become hot airport topic | An innovative project that lowers runway temperatures by using recycled water to grow commercial crops at airports will be shared with global aviation leaders in Abu Dhabi this week.
The world-first project is expected to generate strong interest from numerous airports in hot regions, especially those with busy long-haul schedules through the heat of the day.
Trials at Adelaide Airport in South Australia in conjunction with state-owned utility SA Water have shown that planting lucerne around runways can drop air temperatures by more than 3C on warm days and therefore improve the performance of departing airplanes.
In warmer, less dense air, planes must travel faster down the runway to produce the lift needed for take-off. When a runway lacks the distance required to reach these speeds, a plane’s weight must be reduced by removing passengers, luggage and cargo. This reduces profit for the airline.
There is also a threshold temperature above which some smaller domestic aircraft simply cannot take-off.
Adelaide Airport is working up a business case to extend the project from its current 4ha trial plot to 200ha of airport land. The lucerne is being irrigated by stormwater captured as part of SA Water’s aquifer storage program but will also include recycled water from SA Water if the project is extended.
SA Water Environmental Opportunities Manager Greg Ingleton, who developed the Adelaide Airport concept, will present the findings to more than 1000 delegates at the Airports Council International’s Airport Exchange, one of the aviation industry’s peak annual conferences.
Ingleton’s presentation will be part of the Airport Development and Sustainability stream tomorrow (Tuesday, November 26), the middle day of the three-day conference.
He said the aim of the presentation was to further raise awareness about the Adelaide trial and generate interest in other locations.
“The main aim is to present the facts and figures to the airport stakeholders from around the world and to potentially raise the opportunity to explore the implementation at other airports with us,” Ingleton said.
“One of the interesting things to come back from the recent aircraft performance analysis was because Adelaide doesn’t have a busy schedule in the heat of the afternoon, particularly for international flights, the benefit is modest compared to what it could be at other airports where it is a bit hotter and they’ve got a busier schedule during those peak periods particularly for those larger long-haul planes.
“We’re also investigating the ability to create carbon credits from growing the crops, demonstrating carbon sequestration whereby the plants absorb CO2 and use it as fuel for growth by locking it in the soil.”
Ingleton said the hot daytime temperatures and high air traffic volumes experienced in the Middle East made Abu Dhabi an ideal location to be discussing the project.
“Ultimately because of where the conference is being held a lot of the attendees will be from some of these Middle Eastern countries where they do have pressure on their airports to function well, particularly as climate change kicks in and the risk of impacts on aircraft performance, payloads and cancellations increase,” he said.
“The extensive hard surfaces and cleared land around airports means they can often become sources of increased heat, which impacts both terminal and airside operations.”
Adelaide Airport is the fifth-largest domestic airport and sixth-largest international airport in Australia and processes more than 8 million passengers annually.
It has the potential for up to 200ha of lucerne and a further 50–100ha of irrigated turf around the main runway and other infrastructure.
Adelaide is known for its hot, dry summers. The city has experienced 12 days in the first three months of 2019 where daytime temperatures exceeded 37C, including a maximum temperature of 46.6C on January 24.
The 4-hectare Adelaide trial site is 600 metres south of the airport’s main runway. A number of grass species were initially tried including tall fescue, couch and kikuyu but lucerne, which can be cut into hay and sold as a premium stock feed, had the greatest impact on ambient temperatures.
During the study, which has been running for three years, between 12 and 15 millimetres of recycled suburban stormwater was applied to the area up to three evenings a week, with more than 40 temperature and humidity sensors monitoring conditions in the irrigation area, and the persistence of cool air outside of the test zone.
This has led to a reduction in average ambient air temperatures in and around the irrigation area of more than 3C on warm days.
“Our recent economic analysis, which was based on an expansion of the irrigation area to 200ha, suggests innovative initiatives like this can provide a range of operational efficiencies and wider benefits for airports, and we’re hoping these findings will turn a few heads in Abu Dhabi,” Ingleton said.
“The beauty of it from an agricultural production perspective is that the business case stacks up so the cooling is actually free and I think that’s important because any benefit you get from the cooling is a bonus on top of the revenue on the agribusiness side of it.” | https://newsleads.medium.com/cooling-crops-become-hot-airport-topic-e2a7318f9227 | ['Solstice Media'] | 2019-11-29 03:50:26.643000+00:00 | ['Airports', 'Global Warming', 'Physics', 'Sustainability', 'Science'] | Title Cooling crop become hot airport topicContent innovative project lower runway temperature using recycled water grow commercial crop airport shared global aviation leader Abu Dhabi week worldfirst project expected generate strong interest numerous airport hot region especially busy longhaul schedule heat day Trials Adelaide Airport South Australia conjunction stateowned utility SA Water shown planting lucerne around runway drop air temperature 3C warm day therefore improve performance departing airplane warmer le dense air plane must travel faster runway produce lift needed takeoff runway lack distance required reach speed plane’s weight must reduced removing passenger luggage cargo reduces profit airline also threshold temperature smaller domestic aircraft simply cannot takeoff Adelaide Airport working business case extend project current 4ha trial plot 200ha airport land lucerne irrigated stormwater captured part SA Water’s aquifer storage program also include recycled water SA Water project extended SA Water Environmental Opportunities Manager Greg Ingleton developed Adelaide Airport concept present finding 1000 delegate Airports Council International’s Airport Exchange one aviation industry’s peak annual conference Ingleton’s presentation part Airport Development Sustainability stream tomorrow Tuesday November 26 middle day threeday conference said aim presentation raise awareness Adelaide trial generate interest location “The main aim present fact figure airport stakeholder around world potentially raise opportunity explore implementation airport us” Ingleton said “One interesting thing come back recent aircraft performance analysis Adelaide doesn’t busy schedule heat afternoon particularly international flight benefit modest compared could airport bit hotter they’ve got busier schedule peak period particularly larger longhaul plane “We’re also investigating ability create carbon credit growing crop demonstrating carbon sequestration whereby plant absorb CO2 use fuel growth locking soil” Ingleton said hot daytime temperature high air traffic volume experienced Middle East made Abu Dhabi ideal location discussing project “Ultimately conference held lot attendee Middle Eastern country pressure airport function well particularly climate change kick risk impact aircraft performance payload cancellation increase” said “The extensive hard surface cleared land around airport mean often become source increased heat impact terminal airside operations” Adelaide Airport fifthlargest domestic airport sixthlargest international airport Australia process 8 million passenger annually potential 200ha lucerne 50–100ha irrigated turf around main runway infrastructure Adelaide known hot dry summer city experienced 12 day first three month 2019 daytime temperature exceeded 37C including maximum temperature 466C January 24 4hectare Adelaide trial site 600 metre south airport’s main runway number grass specie initially tried including tall fescue couch kikuyu lucerne cut hay sold premium stock feed greatest impact ambient temperature study running three year 12 15 millimetre recycled suburban stormwater applied area three evening week 40 temperature humidity sensor monitoring condition irrigation area persistence cool air outside test zone led reduction average ambient air temperature around irrigation area 3C warm day “Our recent economic analysis based expansion irrigation area 200ha suggests innovative initiative like provide range operational efficiency wider benefit airport we’re hoping finding turn head Abu Dhabi” Ingleton said “The beauty agricultural production perspective business case stack cooling actually free think that’s important benefit get cooling bonus top revenue agribusiness side it”Tags Airports Global Warming Physics Sustainability Science |
1,950 | Bokeh 2.2 | Bokeh 2.2 is out this week, with DataTable improvements, SVG export fixes, performance enhancements, a new DocumentReady event, and lots of other small fixes and features.
DataTables
The DataTable got a style update! The header row and overall theme have been lightened, resulting in a more modern look. #10363
New Datatable!
The DataTable also got some improved layout options. A new property was added, autosize_mode , replacing the fit_columns property. This property allows four possible approaches for determining DataTable column widths:
fit_columns : compute column widths based on the column’s cell contents, and then pad until viewport is filled.
: compute column widths based on the column’s cell contents, and then pad until viewport is filled. fit_viewport : compute the column widths, and then adjust the viewport size to match the computed sizes.
: compute the column widths, and then adjust the viewport size to match the computed sizes. force_fit : equally split the total table width across all columns.
: equally split the total table width across all columns. none : will not auto-compute widths.
DataTables also now allow row and column freezing, similar to the Excel functionality where the first row/column stays static while the rest of the table can be scrolled through. #10353
Color Mapping
This release also included the addition of the EqHistColorMapper , which uses a technique called histogram equalization to make structure visible in highly skewed distributions of data. While this technique loses information about the absolute values of data points, it can be very valuable in determining a dataset’s high-level structure. Particularly when combined with the ability to hover, you can get the best of both worlds: make out the global spatial distribution of the data, while also being able to reveal the underlying values. In the next release we will also add support for rendering a ColorBar for this color mapper to help with interpretation of the actual values.
Comparison of colormapping approaches
SVG Grid Export + Backend Redesign
A major redesign of the SVG backend was also completed with this release, fixing some layout and rendering issues:
Glpyhs being drawn slightly out of place, or not at all — axis ticks overlaying their axes, missing arrow tails, only a subset of a plot’s glyphs being rendered in the final SVG #9551
SVG export now handles NAN values correctly #10305
Removes extra whitespace in bar charts #8046
See a full list of corrected issues on the PR for this update. #10402
Currently, SVG export is available for individual plots. In the next release, an entire gridplot will be exportable as a single file with a new export_svg function.
DocumentReady
This release adds a new event type to Bokeh Server, the DocumentReady event. Previously, all components had to fully initialize before a Bokeh Server app would display. This change allows the basic page elements to be rendered quickly, so that the end user sees some visual framework, and any larger computations or data loading can be added as they complete. #10265
Performance Enhancements
Several of the features and fixes in 2.2 are direct or indirect improvements to overall performance and efficiency. Some of the notable changes are:
Remove excessive re-rendering of toolbar (also fixing a flickering effect) #10191
Speed up hovering, selection, and filtering on plots with many data points #10161 #10162 #10234
Fix over-quoting of Bokeh JSON when embedding, reducing output size #10271
Reduce memory usage by ensuring smaller types arrays are used by default for storing numerical data #10176 #10329
Fixes and Features
And finally, some tweaks and additions:
Fixed a bug where the SaveTool generated a smaller image than the plot. SaveTool now respects device pixel ratio #10249
Addressed a couple of issues with glyphs (Band, Arrow) not updating when data source updated #10216 #10217
Require authentication to open Bokeh app websocket connections. (Authentication has always been required for the initial HTTP request—this change adds an additional layer of protection.) #10316
Correct instances where typed arrays were being returned as dicts #10153
A new color palette with the colors of the Bokeh logo #10298
Bugfixes and UX improvements for Spinner widget #10367
Season of Docs
Bokeh is participating in Google’s Season of Docs, a program to foster collaboration between the open source community and technical writers. After a wonderful application phase with over 50 interested candidates, we are glad to announce that Timo Cornelius Metzger will be working with us to improve the process of creating, reading and sharing Bokeh’s documentation. Welcome, Timo!
Next Steps
If you have questions after upgrading, we encourage you to stop by the Bokeh Discourse! Friendly project maintainers and a community of Bokeh users are there to help you navigate any issues that arise.
If you are using Anaconda, Bokeh can most easily be installed by executing conda install -c bokeh bokeh . Otherwise, use pip install bokeh .
Developers interested in contributing to the library can visit Bokeh’s Slack for guidance on best practices and technical considerations.
As always, we appreciate the thoughtful feedback from users and especially the work of our contributor community that make Bokeh better! | https://medium.com/bokeh/bokeh-2-2-d9096a223df6 | [] | 2020-08-24 20:35:00.259000+00:00 | ['Python', 'Data Science', 'Web Development', 'Visualization'] | Title Bokeh 22Content Bokeh 22 week DataTable improvement SVG export fix performance enhancement new DocumentReady event lot small fix feature DataTables DataTable got style update header row overall theme lightened resulting modern look 10363 New Datatable DataTable also got improved layout option new property added autosizemode replacing fitcolumns property property allows four possible approach determining DataTable column width fitcolumns compute column width based column’s cell content pad viewport filled compute column width based column’s cell content pad viewport filled fitviewport compute column width adjust viewport size match computed size compute column width adjust viewport size match computed size forcefit equally split total table width across column equally split total table width across column none autocompute width DataTables also allow row column freezing similar Excel functionality first rowcolumn stay static rest table scrolled 10353 Color Mapping release also included addition EqHistColorMapper us technique called histogram equalization make structure visible highly skewed distribution data technique loses information absolute value data point valuable determining dataset’s highlevel structure Particularly combined ability hover get best world make global spatial distribution data also able reveal underlying value next release also add support rendering ColorBar color mapper help interpretation actual value Comparison colormapping approach SVG Grid Export Backend Redesign major redesign SVG backend also completed release fixing layout rendering issue Glpyhs drawn slightly place — axis tick overlaying ax missing arrow tail subset plot’s glyph rendered final SVG 9551 SVG export handle NAN value correctly 10305 Removes extra whitespace bar chart 8046 See full list corrected issue PR update 10402 Currently SVG export available individual plot next release entire gridplot exportable single file new exportsvg function DocumentReady release add new event type Bokeh Server DocumentReady event Previously component fully initialize Bokeh Server app would display change allows basic page element rendered quickly end user see visual framework larger computation data loading added complete 10265 Performance Enhancements Several feature fix 22 direct indirect improvement overall performance efficiency notable change Remove excessive rerendering toolbar also fixing flickering effect 10191 Speed hovering selection filtering plot many data point 10161 10162 10234 Fix overquoting Bokeh JSON embedding reducing output size 10271 Reduce memory usage ensuring smaller type array used default storing numerical data 10176 10329 Fixes Features finally tweak addition Fixed bug SaveTool generated smaller image plot SaveTool respect device pixel ratio 10249 Addressed couple issue glyph Band Arrow updating data source updated 10216 10217 Require authentication open Bokeh app websocket connection Authentication always required initial HTTP request—this change add additional layer protection 10316 Correct instance typed array returned dicts 10153 new color palette color Bokeh logo 10298 Bugfixes UX improvement Spinner widget 10367 Season Docs Bokeh participating Google’s Season Docs program foster collaboration open source community technical writer wonderful application phase 50 interested candidate glad announce Timo Cornelius Metzger working u improve process creating reading sharing Bokeh’s documentation Welcome Timo Next Steps question upgrading encourage stop Bokeh Discourse Friendly project maintainer community Bokeh user help navigate issue arise using Anaconda Bokeh easily installed executing conda install c bokeh bokeh Otherwise use pip install bokeh Developers interested contributing library visit Bokeh’s Slack guidance best practice technical consideration always appreciate thoughtful feedback user especially work contributor community make Bokeh betterTags Python Data Science Web Development Visualization |
1,951 | Design Patterns Saga: Manta Ray vs Butterfly | What’s the problem?
Before you jump to create a swimmer guide, take a look at the description of the movement of each stroke. Just to make it visual, I organized everything into a spreadsheet and highlighted things that caught my attention.
The Freestyle and Backstroke both swim in a horizontal position, but Backstroke swimmers do it on their back (obviously). Breaststroke and Butterfly use a prone position, but in different ways as well. Butterfly’s body executes a wave-like undulation. The same notes on arm movements. Now, take a look at leg movement and breathing. Freestyle has exactly the same flutter kick as Backstroke and same breathing instructions as Butterfly. In Backstroke, there are no special instructions at all, since breathing is not restricted.
Consider the implementation of the swimming guide above. We can override each behavior by concrete swimming stroke classes. Let’s assume that flutter kick is the default leg movement, then whip kick and dolphin kick are overridden behaviors. Butterfly with Manta paddle and Dolphin kick, that’s what I call a naming embarrassment.
So far so good. Now you want to add the additional swimming stroke, let’s call it Pupa (still think about 🐛 → 🦋) that has a 100% dolphin kick. I’m guessing you will add an additional base level (or will just copy the Breaststoke’s leg movement implementation).
Then you will add some additional strokes, heaven forbid, Synchronous Swimming, that has hundreds of positions. From here on it’s a short slide into madness 🤪.
It’s becoming apparent that our previous example suffered from excessive tight-coupling. When code is tightly coupled to a specific solution (or the current model of the problem) it becomes difficult to extend it. The world, for better or worse, is a dynamic place. The problems we already fixed change and our old solutions become irrelevant like yesterday’s news.
The Strategy Design Pattern is an attempt to provide extensibility in a dynamic world that achieves a set goal. The method of doing things may change but the end goal remains the same. | https://medium.com/swlh/design-patterns-saga-manta-ray-vs-butterfly-db6622167a04 | ['Gene Zeiniss'] | 2020-07-05 05:07:40.269000+00:00 | ['Design Patterns', 'Object Oriented', 'Composition', 'Java', 'Programming'] | Title Design Patterns Saga Manta Ray v ButterflyContent What’s problem jump create swimmer guide take look description movement stroke make visual organized everything spreadsheet highlighted thing caught attention Freestyle Backstroke swim horizontal position Backstroke swimmer back obviously Breaststroke Butterfly use prone position different way well Butterfly’s body executes wavelike undulation note arm movement take look leg movement breathing Freestyle exactly flutter kick Backstroke breathing instruction Butterfly Backstroke special instruction since breathing restricted Consider implementation swimming guide override behavior concrete swimming stroke class Let’s assume flutter kick default leg movement whip kick dolphin kick overridden behavior Butterfly Manta paddle Dolphin kick that’s call naming embarrassment far good want add additional swimming stroke let’s call Pupa still think 🐛 → 🦋 100 dolphin kick I’m guessing add additional base level copy Breaststoke’s leg movement implementation add additional stroke heaven forbid Synchronous Swimming hundred position it’s short slide madness 🤪 It’s becoming apparent previous example suffered excessive tightcoupling code tightly coupled specific solution current model problem becomes difficult extend world better worse dynamic place problem already fixed change old solution become irrelevant like yesterday’s news Strategy Design Pattern attempt provide extensibility dynamic world achieves set goal method thing may change end goal remains sameTags Design Patterns Object Oriented Composition Java Programming |
1,952 | “Anxiety likes a blank canvas…” | As a clinician in private practice, one of the phrases that I hear myself repeating often is “Anxiety likes a blank canvas.” This emphasizes several aspects of anxiety:
Anxiety is about a possible future that has not happened yet.
Anxiety explores options, especially dangerous-feeling “what ifs”.
And when there is a lot of blank canvas, there is ample room to paint.
Photo by Franck V. on Unsplash
Anxiety is about a possible future.
The blank canvas is full of possibilities. We can paint happy trees or scary monsters. The future is open to us!
But the physical feelings of anxiety are very present. In this present, you may feel your muscles tighten, your heart rate increase, that “itchiness” in your abdomen, the changes in breathing so that your breath becomes shallow and short instead of long and relaxed. Yet in our minds, our thoughts are generally consumed with the future. As I have noted before, anxiety likes to “time travel” to a possible future.
Because this future is unwritten (or unpainted), our wonderfully imaginative brains can fill in lots of gaps as to what MIGHT happen, eventually creating such a detailed picture that it feels as if this imagined outcome IS actually happening.
Photo by Nik Shuliahin on Unsplash
Remember that your brain is trying to protect you.
We can spend a lot of time being frustrated with an anxious brain, or we can see it for what it is: our armor. Generally, those of us who have more anxiety have had an event (or multiple events) that involved a lower-grade threat to a potentially life-threatening catastrophe. But no matter the intensity or duration of the anxiety-producing event, our present brain wants to make sure that we do not go through that again. So our brain becomes a sort of sentry, a protector, a lookout for danger.
And this is where having a “blank canvas” future is challenging. The anxious “lookout” brain begins to see all sorts of “what ifs” in the blank space of the canvas.
What if I didn’t turn off the oven?
What if that noise is someone in my apartment?
What if my child is still doing this when they are an adult?
What if I lose my job?
Remember that the “what ifs” are about a possible future that has not happened yet, whether that future is something that could happen in the next hour (an anticipated “disastrous” meeting) or in several decades (dying alone).
That future has not happened yet, even though it may feel as if it is. This is just how our brains work.
Photo by Alice Achterhof on Unsplash
So what do we do with a blank canvas? We start to choose how to fill it in instead of letting our “anxious” brain do it for us.
So we pause, take a deep breath, remind ourselves to be in this present moment. Then from that calmer place, we can acknowledge the possible anxiety-producing outcome. Once we have acknowledged it (not fought it) we can look for other possible futures, not only the ones from which our brain is attempting to protect us.
We may paint using reminders about past good outcomes. Remember back to when this scenario went “just OK” or even when everything worked out well!
We may paint with some research that shows us that statistically, our chances of getting attacked by a shark are pretty low. That anxious part of your brain is typically not interested in statistics, but the calmer, more present part of us can better acknowledge what is a real risk and what is not.
We may paint with the colors of our present as a way of filling in the space on the canvas. This way our “protector” doesn’t have room to imagine all the potential nightmares.
Above all, remember to be kind to yourself. That also means being kind to that part of your self that worries. Be gentle with events that have happened in your past. They have shaped you and made you aware of dangers that might happen, that did happen at one time. But then come back to the present, look at that blank canvas, and choose what you paint next.
Hmm, maybe some happy trees? | https://medium.com/whenanxietystrikes/anxiety-likes-a-blank-canvas-9b34ca3f2304 | ['Jason B. Hobbs Lcsw'] | 2019-08-23 00:30:10.890000+00:00 | ['Mental Health', 'Self', 'Psychology', 'Anxiety', 'Therapy'] | Title “Anxiety like blank canvas…”Content clinician private practice one phrase hear repeating often “Anxiety like blank canvas” emphasizes several aspect anxiety Anxiety possible future happened yet Anxiety explores option especially dangerousfeeling “what ifs” lot blank canvas ample room paint Photo Franck V Unsplash Anxiety possible future blank canvas full possibility paint happy tree scary monster future open u physical feeling anxiety present present may feel muscle tighten heart rate increase “itchiness” abdomen change breathing breath becomes shallow short instead long relaxed Yet mind thought generally consumed future noted anxiety like “time travel” possible future future unwritten unpainted wonderfully imaginative brain fill lot gap MIGHT happen eventually creating detailed picture feel imagined outcome actually happening Photo Nik Shuliahin Unsplash Remember brain trying protect spend lot time frustrated anxious brain see armor Generally u anxiety event multiple event involved lowergrade threat potentially lifethreatening catastrophe matter intensity duration anxietyproducing event present brain want make sure go brain becomes sort sentry protector lookout danger “blank canvas” future challenging anxious “lookout” brain begin see sort “what ifs” blank space canvas didn’t turn oven noise someone apartment child still adult lose job Remember “what ifs” possible future happened yet whether future something could happen next hour anticipated “disastrous” meeting several decade dying alone future happened yet even though may feel brain work Photo Alice Achterhof Unsplash blank canvas start choose fill instead letting “anxious” brain u pause take deep breath remind present moment calmer place acknowledge possible anxietyproducing outcome acknowledged fought look possible future one brain attempting protect u may paint using reminder past good outcome Remember back scenario went “just OK” even everything worked well may paint research show u statistically chance getting attacked shark pretty low anxious part brain typically interested statistic calmer present part u better acknowledge real risk may paint color present way filling space canvas way “protector” doesn’t room imagine potential nightmare remember kind also mean kind part self worry gentle event happened past shaped made aware danger might happen happen one time come back present look blank canvas choose paint next Hmm maybe happy treesTags Mental Health Self Psychology Anxiety Therapy |
1,953 | Dieting Addiction | Dieting Addiction
A poem about poison
Photo by i yunmai on Unsplash
She is addicted.
She has been hooked since she was young.
Sold it as the solution for life.
She was told it’s health-giving, necessary.
That it will save her.
Yet, it’s taken away her life.
Stolen precious minutes of every hour.
Robbed her of other thoughts, dreams.
Her life is no richer.
She’s never known the fruits of her labor.
Rather, she even denies herself fruit.
Yet, she labors on.
Believing in the promises they fed her.
Believing she will never be enough until she loses “the weight.”
Believing she is not enough as she is.
She has been fed lies.
The “cure” is the poison that keeps her sick.
As long as she diets, she will never be free. | https://medium.com/invisible-illness/dieting-18b27e022d9b | ['Rachel Miller'] | 2020-08-08 18:43:47.971000+00:00 | ['Poetry', 'Life', 'Mental Health', 'Self Improvement', 'Psychology'] | Title Dieting AddictionContent Dieting Addiction poem poison Photo yunmai Unsplash addicted hooked since young Sold solution life told it’s healthgiving necessary save Yet it’s taken away life Stolen precious minute every hour Robbed thought dream life richer She’s never known fruit labor Rather even denies fruit Yet labor Believing promise fed Believing never enough loses “the weight” Believing enough fed lie “cure” poison keep sick long diet never freeTags Poetry Life Mental Health Self Improvement Psychology |
1,954 | Work with private repositories and other updates of the FlyElephant platform | Work with private repositories and other updates of the FlyElephant platform
The FlyElephant team has prepared a number of upgrades that allow you to work with private repositories with an improved system security and good task functionality.
FlyElephant is a platform for scientists, providing a computing infrastructure for calculations, helping to find partners for the collaboration on projects, and managing all data from one place. FlyElephant automates routine tasks and helps to focus on core research issues.
The Azure cloud is used as a computational resource. Users can run computing tasks written in C++ (with support for OpenMP), R, Python, Octave, Scilab, Java, Julia, OpenFOAM, GROMACS, Blender on servers from 1 to 32 cores and up to 448 GB.
Here is a list of our updates:
· Working with private repositories.
The possibility of working with a private repository using a RSA key, which you can get at your account settings.
· The process of running computational tasks was improved.
Now the starting command can be specified directly in the form of a task creation. The necessary files — run.sh and build.sh — were removed from repository.
· The functionality for saving, stopping, deleting and duplicating tasks was added.
· Improved log system.
On the task details page you can check in real time all logs of the computing task.
· Public API.
The public API was realized, which allows to interact with the platform (to manage tasks and data), also to integrate FlyElephant with your solutions or to build a new one on the platform.
· New payment system.
Users have two accounts now: Computing Hours (CH) and General ($). CH is a bonus account that gives users free calculation time. General — the main account, can be replenished using a credit card.
· Referral Program.
Invite your friends using a personal link, which you find in the account settings and you’ll receive a bonus (200 CH).
· Implemented SSL.
· New Documentation.
Updated documentation is placed here: https://flyelephant.net/documentation/.
We invite you to try the new features of the system. If you haven’t registered yet, go here. After registration, 500 CH will be in your account. Use the promo code 145124070132 and enter it in the Dashboard and you can recharge for another 300 CH.
We will be happy to hear your feedback and suggestions on how to improve the platform. We also can hold a 30-minute demo presentation for you with great pleasure. You can book time for a demo presentation right here. | https://medium.com/flyelephant/work-with-private-repositories-and-other-updates-of-the-flyelephant-platform-ab3addf580d2 | ['Dmitry Spodarets'] | 2016-03-16 18:00:25.980000+00:00 | ['Science', 'Data Science', 'Big Data'] | Title Work private repository update FlyElephant platformContent Work private repository update FlyElephant platform FlyElephant team prepared number upgrade allow work private repository improved system security good task functionality FlyElephant platform scientist providing computing infrastructure calculation helping find partner collaboration project managing data one place FlyElephant automates routine task help focus core research issue Azure cloud used computational resource Users run computing task written C support OpenMP R Python Octave Scilab Java Julia OpenFOAM GROMACS Blender server 1 32 core 448 GB list update · Working private repository possibility working private repository using RSA key get account setting · process running computational task improved starting command specified directly form task creation necessary file — runsh buildsh — removed repository · functionality saving stopping deleting duplicating task added · Improved log system task detail page check real time log computing task · Public API public API realized allows interact platform manage task data also integrate FlyElephant solution build new one platform · New payment system Users two account Computing Hours CH General CH bonus account give user free calculation time General — main account replenished using credit card · Referral Program Invite friend using personal link find account setting you’ll receive bonus 200 CH · Implemented SSL · New Documentation Updated documentation placed httpsflyelephantnetdocumentation invite try new feature system haven’t registered yet go registration 500 CH account Use promo code 145124070132 enter Dashboard recharge another 300 CH happy hear feedback suggestion improve platform also hold 30minute demo presentation great pleasure book time demo presentation right hereTags Science Data Science Big Data |
1,955 | Engage Your Audience By Writing In Different Styles | One of the biggest challenges that a new freelance writer faces is the “voice”. When you are writing for clients, your writing voice might not resonate with every single client. You need to speak their branding language. At the same time, you need to figure out the style of writing that your client wants to see. Before bringing on any client, you can expect to spend at least 2 to 4 hours researching the client by reading through the client’s website and supporting materials to adopt their voice.
There’s a short cut to this process.
If you practiced switching between different styles of writing on your blogs, it becomes infinitely easier to adapt your voice to a company’s voice, a brand’s voice, and an influencer’s voice.
I liken the process to acting. Instead of channeling the writer in me, I channel the actor in me.
What does a method actor do when they want to play a part well? They have to research and figure out what makes this “person” tick. At the same time, they practice by playing a variety of parts to be able to embody any “person” at anytime
The difference between a good writer and an experienced writer is that an experienced writer will mix elements of different writing styles to truly engage the audience with a customized “voice” that fits.
For an experienced writer, writing becomes an art form and you create new colors rather than just using the colors.
Practice writing these types of articles, you will see your writing improve drastically. You will learn the nuances of each writing style and be able to mix them to write more engaging articles. | https://medium.com/jun-wu-blog/engage-your-audience-by-writing-in-different-styles-fd745c496790 | ['Jun Wu'] | 2020-04-15 11:48:15.766000+00:00 | ['Audience', 'Freelancing', 'Writing', 'Marketing', 'Writing Tips'] | Title Engage Audience Writing Different StylesContent One biggest challenge new freelance writer face “voice” writing client writing voice might resonate every single client need speak branding language time need figure style writing client want see bringing client expect spend least 2 4 hour researching client reading client’s website supporting material adopt voice There’s short cut process practiced switching different style writing blog becomes infinitely easier adapt voice company’s voice brand’s voice influencer’s voice liken process acting Instead channeling writer channel actor method actor want play part well research figure make “person” tick time practice playing variety part able embody “person” anytime difference good writer experienced writer experienced writer mix element different writing style truly engage audience customized “voice” fit experienced writer writing becomes art form create new color rather using color Practice writing type article see writing improve drastically learn nuance writing style able mix write engaging articlesTags Audience Freelancing Writing Marketing Writing Tips |
1,956 | It’s Time to Take a Serious Break, and You Can Do This | It’s Time to Take a Serious Break, and You Can Do This
If 2020 has taught us anything, it’s the need for real downtime
Photo: AsiaVision/Getty Images
Sitting in my usual chair in front of my computer at a ridiculously early hour on a Friday morning, uninspired by every single story idea I was mulling after 11 months and 11 days of writing or thinking about writing every single day, I looked around my home office and said to myself: “Rob, you kinda just don’t wanna write any of these.”
My next thought: “These are some good ideas. Why don’t you want to write them? Where is your motivation?”
Then finally: “Dude, you really need to take some time off.”
“But I suck at taking time off,” I said aloud. (Yes, I talk to myself out loud when dealing with the most intractable challenges — it’s the best way to get my attention.) And I had the usual fear pop into my head: “If you don’t write something today, you’ll slip out of the flow, become irrelevant, never making a living wage again.”
That’s when my next story idea germinated: This year, let’s actually work really hard to take a real break. Because we’re terrible at it.
Everyone needs a break right now. Among the 75% of U.S. adults who say they’re burned out at work, 40% blame the pandemic and the sudden disruption of working from home.
Meanwhile, we Americans are, compared to other developed countries, terrible at taking time off. When we do vacate, however, we tend to return to work more motivated. In a survey commissioned by the American Psychological Association in 2018, 57% of Americans said they return to work more motivated after a vacation, 66% said they come back with more energy, and 68% report a more positive mood upon getting back at it.
There’s a flip side, of course: Most Americans say their organization isn’t supportive about time off, so the whole idea of a vacation proves stressful. This is where your willpower must take over. You need time off. You must take it. You will enjoy it. And then you should do it again. Survey says.
Getting away from it all is particularly challenging when your home is your workplace. Whether that’s your situation or not, it’s more vital than ever right now to truly shut things down for a stretch.
Here are three easy (really!) ways that you can make this happen and ensuring your time off is truly time away from it all, drawing from back in the day when it was much easier to slip away and nobody could contact you even if they tried:
First off, tell, don’t ask, your boss about your time off. Be firm about the fact that you will be unreachable. Set email auto-responders for work and even your personal account. Change your voicemail to let everyone know you’re outta here. Delete social media apps from your phone. You can reload them when you get back and everything will be there — every last depressing, sorrowful, aggravating bit.
Then go do something you love and something that’s good for the soul. Cook, read a book, hike, bike, create some really long Spotify playlists, sleep in, snuggle for hours in front of your kids’ favorite movies, or even hit the road (safely, of course) with no particular destination in mind (other than where people aren’t).
So. I’m publicly vowing here and now to take two weeks off (!) from work and social media and everything, all before 2021 starts to kick our collective butts. Honestly, it will be really, really hard. But I must do it, I can do it, I will do it.
Join me? | https://forge.medium.com/its-time-to-take-a-serious-break-and-you-can-do-this-bcae4989274f | ['Robert Roy Britt'] | 2020-12-16 06:33:12.455000+00:00 | ['Wellbeing', 'Vacation', 'Motivation', 'Mental Health', 'Burnout'] | Title It’s Time Take Serious Break ThisContent It’s Time Take Serious Break 2020 taught u anything it’s need real downtime Photo AsiaVisionGetty Images Sitting usual chair front computer ridiculously early hour Friday morning uninspired every single story idea mulling 11 month 11 day writing thinking writing every single day looked around home office said “Rob kinda don’t wanna write these” next thought “These good idea don’t want write motivation” finally “Dude really need take time off” “But suck taking time off” said aloud Yes talk loud dealing intractable challenge — it’s best way get attention usual fear pop head “If don’t write something today you’ll slip flow become irrelevant never making living wage again” That’s next story idea germinated year let’s actually work really hard take real break we’re terrible Everyone need break right Among 75 US adult say they’re burned work 40 blame pandemic sudden disruption working home Meanwhile Americans compared developed country terrible taking time vacate however tend return work motivated survey commissioned American Psychological Association 2018 57 Americans said return work motivated vacation 66 said come back energy 68 report positive mood upon getting back There’s flip side course Americans say organization isn’t supportive time whole idea vacation prof stressful willpower must take need time must take enjoy Survey say Getting away particularly challenging home workplace Whether that’s situation it’s vital ever right truly shut thing stretch three easy really way make happen ensuring time truly time away drawing back day much easier slip away nobody could contact even tried First tell don’t ask bos time firm fact unreachable Set email autoresponders work even personal account Change voicemail let everyone know you’re outta Delete social medium apps phone reload get back everything — every last depressing sorrowful aggravating bit go something love something that’s good soul Cook read book hike bike create really long Spotify playlist sleep snuggle hour front kids’ favorite movie even hit road safely course particular destination mind people aren’t I’m publicly vowing take two week work social medium everything 2021 start kick collective butt Honestly really really hard must Join meTags Wellbeing Vacation Motivation Mental Health Burnout |
1,957 | To Read More Books, Practice “The Bill Gates Effect” | To Read More Books, Practice “The Bill Gates Effect”
Implement these strategies if you want to read more frequently.
Photo via Flickr
I’ve reached a point in my life where I enjoy nothing more than sitting down and reading a good book for several hours. But I wasn’t always like this. More often than not, I struggled to find the time, energy, and motivation to sit down on the sofa and read the first page.
So how did I become an avid reader in a short amount of time? The answer is adopting the habits of passionate readers, such as Bill Gates, and then implementing them into my own life.
So below are several strategies that will help you to read a lot more frequently. Each of these insights changed my life for the better, and I’m confident they will do the same for you, too. | https://medium.com/curious/to-read-more-books-practice-the-bill-gates-effect-4b691854521a | ['Matt Lillywhite'] | 2020-08-14 16:39:29.818000+00:00 | ['Self Improvement', 'Productivity', 'Education', 'Books', 'Reading'] | Title Read Books Practice “The Bill Gates Effect”Content Read Books Practice “The Bill Gates Effect” Implement strategy want read frequently Photo via Flickr I’ve reached point life enjoy nothing sitting reading good book several hour wasn’t always like often struggled find time energy motivation sit sofa read first page become avid reader short amount time answer adopting habit passionate reader Bill Gates implementing life several strategy help read lot frequently insight changed life better I’m confident tooTags Self Improvement Productivity Education Books Reading |
1,958 | First $500k: Request for Biotech Startups | Biotech founders, apply to Boost VC for your first $500k!
Boost VC is looking to invest in 2 biotech companies in the next 2 months for Tribe 14. Apply at www.boost.vc/apply
Over the last couple years we have backed biotech companies: InterVenn (AI driven mass spectrometry), NewCulture (lab grown cheese), Dynomics (regenerative molecules to reverse heart failure), NextBiotics (engineered viruses for good) and are looking for more!
Here is a non-exhaustive list of things we are interested in backing:
Food to Change Your Mind: 🍄 Whether it be nootropics or psilocybin it is becoming more mainstream to explore how chemicals and food can enhance us all. Read Michael Pollan’s “How to Change Your Mind” and tell me this wave isn’t coming.
Super Babies: 👶 Instead of fixing problems when they happen, can we start out human life minimizing the threats of cancer and disease. Although a delicate subject, more people are becoming comfortable using tools to help conceive healthy children.
Software solutions for process problems in life sciences: 💻 As Benchling (Adam angel investment) enhanced and scaled the R&D process for life science, what other processes need improving?
Using biotech to solve mass hunger and thirst: 💧More people than ever to feed and less drinkable water. What technological breakthroughs are happening to solve these problems that we can bring to scale?
Still the best founders we back are ones who convince us of their vision of the future. We want to hear your idea and tell us how you will make it happen!
www.boost.vc/apply | https://medium.com/boost-vc/first-500k-request-for-biotech-startups-a6355b4b01ec | ['Brayton Williams'] | 2020-06-01 18:52:08.824000+00:00 | ['Venture Capital', 'Biotechnology', 'Startup'] | Title First 500k Request Biotech StartupsContent Biotech founder apply Boost VC first 500k Boost VC looking invest 2 biotech company next 2 month Tribe 14 Apply wwwboostvcapply last couple year backed biotech company InterVenn AI driven mass spectrometry NewCulture lab grown cheese Dynomics regenerative molecule reverse heart failure NextBiotics engineered virus good looking nonexhaustive list thing interested backing Food Change Mind 🍄 Whether nootropics psilocybin becoming mainstream explore chemical food enhance u Read Michael Pollan’s “How Change Mind” tell wave isn’t coming Super Babies 👶 Instead fixing problem happen start human life minimizing threat cancer disease Although delicate subject people becoming comfortable using tool help conceive healthy child Software solution process problem life science 💻 Benchling Adam angel investment enhanced scaled RD process life science process need improving Using biotech solve mass hunger thirst 💧More people ever feed le drinkable water technological breakthrough happening solve problem bring scale Still best founder back one convince u vision future want hear idea tell u make happen wwwboostvcapplyTags Venture Capital Biotechnology Startup |
1,959 | Become a Writer for Chance Encounters | Guidelines
Once we’ve added you as a writer, follow these guidelines to submit your story. We only have a few, so take a moment to read them. They do matter.
New Stories Only
We only accept unpublished drafts. This is so we can ensure proper scheduling and that each story spends ample time on our front page.
Follow the Theme
Our name is Chance Encounters for a reason. We’re open to all genres and approaches. Stories can be any length but must contain an element of ‘coincidence’ or ‘the unknown’. For more on what we’re looking for, read our intro here.
Use Original Images
All submissions must include an original featured image right BELOW the title and subtitle. We only accept original images. This can be a photograph, painting, sketch, etc — created by you. Add your credit in the image caption.
We do not accept images from Unsplash, Pixabay, Pexels, etc. Using original images brings an individual quality to each story. It also helps us support and celebrate the artists who create these visuals for a living.
The quality of the image you submit matters. We are a visual publication and want our work to reflect that. If you can’t find a unique image for your story or are worried about the quality, don’t worry. You have options:
Collaborate with someone who is willing to contribute their own image(s). Credit them in the image caption area and feel free to mention your experience in the story. We call this a chance collaboration. See more about how this works here .
with someone who is willing to contribute their own image(s). Credit them in the image caption area and feel free to mention your experience in the story. We call this a chance collaboration. See more about how this works Ask for help. If you still can’t find an image, insert a description of the idea/mood you’re looking for at the beginning of your post. If we like your story, we’ll try to find a photo from our own archives. This may take a few days, but we will leave you a private note with an update.
Tag It
Please use Chance Encounters as one of your tags. The rest are up to you.
Titles, Subtitles, and Text
Please proofread your work and create original titles and subtitles for your story. We ask that you avoid using the term ‘chance encounters’ in your post, as that’s the name of our publication. Use your imagination. Often times, less is more. Look at some of our favorite stories for ideas:
Questions
If you have any questions at all, leave a comment below or send an email to: cewritingteam[at]gmail[dot]com.
~ LB and Attila | https://medium.com/chance-encounters/write-for-us-90705054fba0 | [] | 2020-10-19 22:01:43.986000+00:00 | ['Community', 'Collaboration', 'Storytelling', 'Writing', 'Submission Guidelines'] | Title Become Writer Chance EncountersContent Guidelines we’ve added writer follow guideline submit story take moment read matter New Stories accept unpublished draft ensure proper scheduling story spends ample time front page Follow Theme name Chance Encounters reason We’re open genre approach Stories length must contain element ‘coincidence’ ‘the unknown’ we’re looking read intro Use Original Images submission must include original featured image right title subtitle accept original image photograph painting sketch etc — created Add credit image caption accept image Unsplash Pixabay Pexels etc Using original image brings individual quality story also help u support celebrate artist create visuals living quality image submit matter visual publication want work reflect can’t find unique image story worried quality don’t worry option Collaborate someone willing contribute image Credit image caption area feel free mention experience story call chance collaboration See work someone willing contribute image Credit image caption area feel free mention experience story call chance collaboration See work Ask help still can’t find image insert description ideamood you’re looking beginning post like story we’ll try find photo archive may take day leave private note update Tag Please use Chance Encounters one tag rest Titles Subtitles Text Please proofread work create original title subtitle story ask avoid using term ‘chance encounters’ post that’s name publication Use imagination Often time le Look favorite story idea Questions question leave comment send email cewritingteamatgmaildotcom LB AttilaTags Community Collaboration Storytelling Writing Submission Guidelines |
1,960 | Become More Self-Aware in the Next 3 Minutes | Become More Self-Aware in the Next 3 Minutes
Deciding to be alone is always the hardest part
Photo by Houcine Ncib on Unsplash
Everyone wants to be self-aware, but no one wants to be by themselves.
Unfortunately, if we never spend time alone, we’ll never know who we are.
Often, it’s not being alone that’s hard, it’s deciding to be alone. The prospect of loneliness — what we might feel when no one’s around — scares us so much that we never make time for it.
We might end up alone by coincidence, but we don’t plan for it, and we definitely don’t plan for it frequently. Thus, we rarely ever get there.
Once we actually are on our own, however, almost always, we realize: “Hey! This isn’t so bad. The world is still turning!” And then we learn something new about ourselves.
One such thing you can learn in the next three minutes, and it might not even require physical solitude. All it takes is finding your reflection.
Grab the small mirror in your bag or stand in front of your large one at home. Go to a restroom or turn on your laptop’s camera. You could even use the front cam of your phone, look at its shiny back, or stare at a window.
Wherever you can find it, once you see your twin inside the glass, take a deep breath. Sit or stand straight. Close your eyes. Inhale through the nose, hold for a second, then exhale through your nose as well. Then, open your eyes.
What you see right now is your face at rest. What does it look like? Is it a happy face? A bored face? A sad face? Are you smiling? Do you look grumpy?
Whatever it looks like, without realizing it, this is the face you’re wearing 95% of the time you’re awake.
It’s the face people see when you pass them in the street. It’s the face looking at your screen as you work, at your phone as you chill, and at your TV while playing games. It’s the face behind the windshield of your car, the face that walks into a grocery store, and the face that looks at new people as you meet them for the first time.
Unless…you change it.
If you don’t smile, people won’t see you smiling. If you don’t laugh, no one knows you’re having fun. If you don’t look focused, how should we know not to interrupt you? Facial expressions matter.
Knowing ourselves is our responsibility, and it starts with the look on our face.
It may seem small, but every day, that’s the message we’re carrying into the world. If we want to change that message, we first have to know what it says.
Self-awareness is something we all aspire to, and yet, because of what’s necessary to get there — being alone — we shy away from it at the same time.
Today, spend three minutes with the person in the mirror. Get to know them.
Take a bathroom break, pretend you’re fixing your makeup, or spend a long time “preparing for a selfie.” It’s okay to make up an excuse. If it helps you know yourself better, it’ll be worth it.
Self-awareness is a skill. It takes practice, and to practice, we must make time. Staring at yourself in the mirror won’t be the end of it, but it sure is a start. | https://ngoeke.medium.com/become-more-self-aware-in-the-next-3-minutes-58310d556d12 | ['Niklas Göke'] | 2020-06-08 15:04:37.628000+00:00 | ['Relationships', 'Life Lessons', 'Psychology', 'Body Image', 'Self-awareness'] | Title Become SelfAware Next 3 MinutesContent Become SelfAware Next 3 Minutes Deciding alone always hardest part Photo Houcine Ncib Unsplash Everyone want selfaware one want Unfortunately never spend time alone we’ll never know Often it’s alone that’s hard it’s deciding alone prospect loneliness — might feel one’s around — scare u much never make time might end alone coincidence don’t plan definitely don’t plan frequently Thus rarely ever get actually however almost always realize “Hey isn’t bad world still turning” learn something new One thing learn next three minute might even require physical solitude take finding reflection Grab small mirror bag stand front large one home Go restroom turn laptop’s camera could even use front cam phone look shiny back stare window Wherever find see twin inside glass take deep breath Sit stand straight Close eye Inhale nose hold second exhale nose well open eye see right face rest look like happy face bored face sad face smiling look grumpy Whatever look like without realizing face you’re wearing 95 time you’re awake It’s face people see pas street It’s face looking screen work phone chill TV playing game It’s face behind windshield car face walk grocery store face look new people meet first time Unless…you change don’t smile people won’t see smiling don’t laugh one know you’re fun don’t look focused know interrupt Facial expression matter Knowing responsibility start look face may seem small every day that’s message we’re carrying world want change message first know say Selfawareness something aspire yet what’s necessary get — alone — shy away time Today spend three minute person mirror Get know Take bathroom break pretend you’re fixing makeup spend long time “preparing selfie” It’s okay make excuse help know better it’ll worth Selfawareness skill take practice practice must make time Staring mirror won’t end sure startTags Relationships Life Lessons Psychology Body Image Selfawareness |
1,961 | How to Boost Your Productivity While Working From Home | I’m writing this from North Carolina where I’m hunkering down at home with my family.
Since I’ve worked from home for over ten years, my daily routine hasn’t been affected very much. Everything feels like normal until I read the news or hear my neighbor’s high school age son playing basketball in the driveway during school hours.
But maybe you’re like many of my friends and family members and suddenly find yourself working from home for the first time. It can be a big adjustment from working in an office, especially if you have kids at home too.
That’s why I’ve written this article for you.
I’m sharing several tips and strategies I’ve collected over the years that help me boost my productivity while working from home.
I hope they will help you too as we all adapt to this difficult situation we’re currently experiencing.
Let’s dive in.
1. Set up a dedicated workspace
I’ve found that one of the number one factors that’s helped me stay productive while working from home is having a dedicated workspace.
In the previous house I lived in, I had my desk in my bedroom. In my new home, I have a separate room for my office. I love this because it helps me separate my work from my personal life.
It also is a much more professional environment for doing live video calls with my writing and web design clients (I like using Zoom for live calls).
If you don’t have a separate room you can set up as an office, here are three tips for making a productive work environment in the space you do have:
1. Try to find a place that’s outside your bedroom, and especially avoid working from your bed in your pajamas. Sitting in bed will make you sluggish, wreck your productivity, and might also threaten your quality of sleep at night.
The Division of Sleep Medicine at Harvard observes,
“Keeping computers, TVs, and work materials out of the room will strengthen the mental association between your bedroom and sleep.”
Of course, if you can’t find a private place in your home besides your bedroom, then you can set up a desk and chair in that room. Just make sure you’re not tempted to move to your bed and do your work there.
2. Pay attention to your posture. A desk and ergonomic chair is the optimal workspace, but even then you might need a laptop stand in order to work comfortably. I sometimes raise my laptop up on top of several books so I don’t have to bend my neck down to look at the screen.
If you don’t have a desk where you can work, be careful about sitting on your couch for hours. It’s much better to move your workspace around your house throughout the day.
In fact, I find that I don’t like working in one place for a long period of time.
I’ll start out in my office working on an intensive writing project that requires my full attention. Then I might move to the kitchen table to respond to emails. Afterward, I might work on less intensive projects while sitting on the couch in the living room, but I time myself when I sit there and make sure to get up when the timer goes off.
3. If the only place in your house where you can work is in the living room in front of the TV, and you’re finding it difficult to focus because you usually use that room to relax, try to change the environment.
Usually, I work on my fiction projects in the evening when I’m tired and don’t want to sit at my desk. But I still want my brain to be focused. I love putting on ambient scenes on the TV of a fireplace crackling and the sound of rain falling outside.
Here are several YouTube channels where you can find these types of scenes: Ambience of Yesteryear, New Bliss, and p12oud.
You might prefer playing music. I wrote this article about the different writing rituals of famous authors that helped them get into a flow while they were working.
And for more tips on setting up an inspiring workspace, check out my article where I take a peek at the workspaces of several famous writers.
2. Create a Structure to Your Day With a Morning and Evening Routine
I’ve run into two challenges while working from home: One, it’s easy to procrastinate on getting started on your projects. And, two, it’s easy to get so caught up in working on your projects that you don’t stop until late into the night.
Creating a morning and evening routine is an efficient solution that will help create a structure to your day so you don’t become a workaholic (or lounge about the house all day).
I write up a schedule with the exact time I’ll wake up in the morning, what activities I’ll complete before breakfast (for example, reading the Bible, writing in my journal, exercising), then what time I’ll have breakfast, and, finally, the time that I officially have to get started on my workday.
Similarly, I have an evening routine. First, I have a set time for when I stop working on any business projects. Usually, this is around 5:00 since I like to spend my evenings working on my fiction writing.
I also have a time for when I must shut down my computer completely so I’m not tempted to start working on a business project again late at night.
It’s critically important to decide on your working hours. If you’re living with family or roommates, you can tell them exactly when you’re working so they’ll know not to disturb you during that time.
Of course, your working hours might be completely different than mine. Maybe you like working on business projects in the evening and prefer to keep your afternoons for other activities. Or maybe you have kids and have to adapt your schedule to their activities.
Experiment until you find the solution that works best for your job, your personal life, and your productivity.
3. Make Schedules and Keep Track of Your Projects
Aside from your evening and morning routines, I also recommend creating specific schedules and to-do lists for your projects.
During your working hours, what will you be working on? You can time block this part of your schedule. For example, from 9am — 11am, you’re working on a copywriting project for a client. From 11am — 12:30pm, you’re replying to emails.
When creating your to-do list for the day, don’t make the list so long that it becomes overwhelming. A good medium is 3 to 5 tasks that you could reasonably complete during your working hours.
Make sure the tasks are specific. For example, I don’t write, “respond to emails”. Instead, I’ll write something like, “respond to emails from Harry, Larry, and Susan”.
In order to keep your daily to-do list short, you should keep track of your projects and deadlines on a single master list. (You could keep it in Evernote, Todoist, or in a physical planner.)
The master list is where you write down everything that you need to accomplish (it could be a year-long list of projects or maybe it spans the upcoming three months). Then every night write up a separate to-do list for the next day, pinpointing which items on your master list are your top priorities.
Organize the tasks on your daily to-do list according to importance and complete them in order. Begin with the items that are your “Most Important Tasks”. You should try to tackle the MITs first thing in the morning before moving on to the other tasks. It becomes more difficult to complete them the longer and longer you put them off.
Depending on what kind of projects you’re working on, you might find it helpful to devote an entire day to working on one project, rather than switching your focus between multiple projects. For example, I might devote Mondays and Tuesdays to writing blog posts, Wednesdays and Thursdays to working on client projects, etc.
In this article, I wrote about the journaling method I use to boost my productivity and keep track of all of my projects.
4. Limit Distractions and Take Breaks
In today’s world, multitasking has become such an acceptable part of our daily life that it’s a tough habit to break. As we work on a project, we might stop every few minutes or so to check a text on our phone or a notification from Facebook or Instagram.
However, our brains can’t focus on a handful of tasks all at the same time. Instead, the brain has to scramble to switch its focus every time we start doing something different.
When we’re multitasking while working on an article or any kind of writing project, that means that our brains only have a matter of seconds to jump back and forth as we check Facebook, then write a few lines, then quickly check our email, write a few more lines, then check our text messages, then return to our writing project.
According to this Wall Street Journal article,
“It takes more than 25 minutes on average to resume a task after being interrupted.”
Even worse,
“It takes an additional 15 minutes to regain the same intense focus or flow as before the interruption.”
That’s forty entire minutes, and that doesn’t even take into consideration multiple interruptions.
In order to prevent multitasking, I keep my phone in another room while I’m working. Sometimes I need to access Facebook for my work, but I’ve installed an extension in Chrome that disables the feed so I can only read notifications or visit people’s profiles directly. It’s called Newsfeed Eradicator (it displays an inspirational quote in place of the feed).
Additionally, I often use noise-canceling headphones and listen to music to drown out distractions from my surroundings.
I also use the Pomodoro technique to sharpen my focus while working on projects. I’ve written more about it here.
Essentially, you set a timer for twenty-five minutes during which time you work on your project, and then you take a short five-minute break. Those breaks allow your brain a little bit of time to reenergize but still keep you in the flow.
When I’ve been working for about an hour and made good progress, I’ll reward myself with a longer break and might allow myself to check social media or watch a YouTube video. I’ll time this, though, so I don’t take too much time away from the other work I need to do.
5. Stay Healthy
Working from home all day can be harmful to your physical and mental health if you don’t take the necessary precautions.
As I mentioned before, you need to pay attention to where you’re working. Sitting on a couch all day long can lead to neck and back pain. And that’s not helpful for your productivity at all.
Even if you’re careful to have good posture while working, it’s still not healthy to sit for hours. Get up from your desk, stretch, and move around during your breaks.
I go for a 30-minute walk outside when the weather is warm. In the wintertime, I like to go for 10-minute walks on a treadmill in my house throughout the day. (I wrote about how walking can boost your creativity in my article here.)
I also lift weights and have a stretching routine. My family set up a little gym in our garage where I can lift weights, but if you don’t have access to a gym, you might like to try bodyweight exercises. Here’s a 7-minute bodyweight workout. (Of course, make sure to check with your doctor before beginning any vigorous exercise plan.)
Another danger is skipping meals because you get so busy working. Or you might end up binging on unhealthy foods because you’re working right next to the kitchen.
Here are some ways to combat that: prepare your lunch the night before (maybe make a big dinner so you have leftovers you can quickly reheat for lunch the next day). Create a meal plan for the week. Stock up on healthy snacks.
You also might experience eyestrain if you’re staring at a screen for hours on end. The blue light from computer screens can also disrupt your sleep. To combat this, you might be able to download an app on your computer that changes the tint of your screen at nighttime.
I bought a pair of blue light blocking glasses. I wear them in the evening, and sometimes throughout the day too (I also wear them to watch TV in the evening). Here’s an article I wrote all about blue light and about the glasses I bought.
Finally, working from home can feel confining if you live alone or if your spouse, family members, or roommates work outside the home. You don’t have colleagues to talk to and bounce ideas off of.
With everyone isolating now, you’re probably staying at home as much as possible. But, if you continue working from home in the future, you might find you like working at a coffee shop once a week (or more often) to get out of the house and experience a different environment.
Or maybe you try to be more proactive about making sure to meet up with friends. Right now, this could mean a video call.
The Takeaway
I love the flexibility that working from home provides. If you’re working for yourself, you have complete control over your schedule and when you accomplish certain tasks.
But you do need to be disciplined and establish processes that will help you get your work done and also make sure you’re keeping your brain and body healthy.
I wish you all the best with your projects and hope these strategies will help you. | https://medium.com/copywriting-secrets/how-to-boost-your-productivity-while-working-from-home-35caafa1c6f0 | ['Nicole Bianchi'] | 2020-03-19 20:48:55.780000+00:00 | ['Productivity', 'Freelancing', 'Work', 'Writing', 'Remote Work'] | Title Boost Productivity Working HomeContent I’m writing North Carolina I’m hunkering home family Since I’ve worked home ten year daily routine hasn’t affected much Everything feel like normal read news hear neighbor’s high school age son playing basketball driveway school hour maybe you’re like many friend family member suddenly find working home first time big adjustment working office especially kid home That’s I’ve written article I’m sharing several tip strategy I’ve collected year help boost productivity working home hope help adapt difficult situation we’re currently experiencing Let’s dive 1 Set dedicated workspace I’ve found one number one factor that’s helped stay productive working home dedicated workspace previous house lived desk bedroom new home separate room office love help separate work personal life also much professional environment live video call writing web design client like using Zoom live call don’t separate room set office three tip making productive work environment space 1 Try find place that’s outside bedroom especially avoid working bed pajama Sitting bed make sluggish wreck productivity might also threaten quality sleep night Division Sleep Medicine Harvard observes “Keeping computer TVs work material room strengthen mental association bedroom sleep” course can’t find private place home besides bedroom set desk chair room make sure you’re tempted move bed work 2 Pay attention posture desk ergonomic chair optimal workspace even might need laptop stand order work comfortably sometimes raise laptop top several book don’t bend neck look screen don’t desk work careful sitting couch hour It’s much better move workspace around house throughout day fact find don’t like working one place long period time I’ll start office working intensive writing project requires full attention might move kitchen table respond email Afterward might work le intensive project sitting couch living room time sit make sure get timer go 3 place house work living room front TV you’re finding difficult focus usually use room relax try change environment Usually work fiction project evening I’m tired don’t want sit desk still want brain focused love putting ambient scene TV fireplace crackling sound rain falling outside several YouTube channel find type scene Ambience Yesteryear New Bliss p12oud might prefer playing music wrote article different writing ritual famous author helped get flow working tip setting inspiring workspace check article take peek workspace several famous writer 2 Create Structure Day Morning Evening Routine I’ve run two challenge working home One it’s easy procrastinate getting started project two it’s easy get caught working project don’t stop late night Creating morning evening routine efficient solution help create structure day don’t become workaholic lounge house day write schedule exact time I’ll wake morning activity I’ll complete breakfast example reading Bible writing journal exercising time I’ll breakfast finally time officially get started workday Similarly evening routine First set time stop working business project Usually around 500 since like spend evening working fiction writing also time must shut computer completely I’m tempted start working business project late night It’s critically important decide working hour you’re living family roommate tell exactly you’re working they’ll know disturb time course working hour might completely different mine Maybe like working business project evening prefer keep afternoon activity maybe kid adapt schedule activity Experiment find solution work best job personal life productivity 3 Make Schedules Keep Track Projects Aside evening morning routine also recommend creating specific schedule todo list project working hour working time block part schedule example 9am — 11am you’re working copywriting project client 11am — 1230pm you’re replying email creating todo list day don’t make list long becomes overwhelming good medium 3 5 task could reasonably complete working hour Make sure task specific example don’t write “respond emails” Instead I’ll write something like “respond email Harry Larry Susan” order keep daily todo list short keep track project deadline single master list could keep Evernote Todoist physical planner master list write everything need accomplish could yearlong list project maybe span upcoming three month every night write separate todo list next day pinpointing item master list top priority Organize task daily todo list according importance complete order Begin item “Most Important Tasks” try tackle MITs first thing morning moving task becomes difficult complete longer longer put Depending kind project you’re working might find helpful devote entire day working one project rather switching focus multiple project example might devote Mondays Tuesdays writing blog post Wednesdays Thursdays working client project etc article wrote journaling method use boost productivity keep track project 4 Limit Distractions Take Breaks today’s world multitasking become acceptable part daily life it’s tough habit break work project might stop every minute check text phone notification Facebook Instagram However brain can’t focus handful task time Instead brain scramble switch focus every time start something different we’re multitasking working article kind writing project mean brain matter second jump back forth check Facebook write line quickly check email write line check text message return writing project According Wall Street Journal article “It take 25 minute average resume task interrupted” Even worse “It take additional 15 minute regain intense focus flow interruption” That’s forty entire minute doesn’t even take consideration multiple interruption order prevent multitasking keep phone another room I’m working Sometimes need access Facebook work I’ve installed extension Chrome disables feed read notification visit people’s profile directly It’s called Newsfeed Eradicator display inspirational quote place feed Additionally often use noisecanceling headphone listen music drown distraction surroundings also use Pomodoro technique sharpen focus working project I’ve written Essentially set timer twentyfive minute time work project take short fiveminute break break allow brain little bit time reenergize still keep flow I’ve working hour made good progress I’ll reward longer break might allow check social medium watch YouTube video I’ll time though don’t take much time away work need 5 Stay Healthy Working home day harmful physical mental health don’t take necessary precaution mentioned need pay attention you’re working Sitting couch day long lead neck back pain that’s helpful productivity Even you’re careful good posture working it’s still healthy sit hour Get desk stretch move around break go 30minute walk outside weather warm wintertime like go 10minute walk treadmill house throughout day wrote walking boost creativity article also lift weight stretching routine family set little gym garage lift weight don’t access gym might like try bodyweight exercise Here’s 7minute bodyweight workout course make sure check doctor beginning vigorous exercise plan Another danger skipping meal get busy working might end binging unhealthy food you’re working right next kitchen way combat prepare lunch night maybe make big dinner leftover quickly reheat lunch next day Create meal plan week Stock healthy snack also might experience eyestrain you’re staring screen hour end blue light computer screen also disrupt sleep combat might able download app computer change tint screen nighttime bought pair blue light blocking glass wear evening sometimes throughout day also wear watch TV evening Here’s article wrote blue light glass bought Finally working home feel confining live alone spouse family member roommate work outside home don’t colleague talk bounce idea everyone isolating you’re probably staying home much possible continue working home future might find like working coffee shop week often get house experience different environment maybe try proactive making sure meet friend Right could mean video call Takeaway love flexibility working home provides you’re working complete control schedule accomplish certain task need disciplined establish process help get work done also make sure you’re keeping brain body healthy wish best project hope strategy help youTags Productivity Freelancing Work Writing Remote Work |
1,962 | Resources to Supercharge your Data Science in 2021 | Web Resources
🔦 ML Showcase — great for project inspiration, this repository of data science projects from Team Paperspace should certainly get your wheels turning.
🎓 Codecademy — time after time, I find myself recommending this powerful learning platform to folks breaking into coding or looking to pick up new languages. The strength of Codecademy lies in its simplicity — these exercises will get your muscle memory trained up so that you’ll be typing code like a master in no time.
🖌 The Data Visualization Catalogue — this site offers archetypal renderings of all the creative chart options available to help you get your data science point across. Plus, check out i want hue as a data-science-based tool for making your color palette selection.
💻 StackShare —a powerful platform for comparing tools side-by-side. StackShare also offers the perusal of stacks used at titans of Data Science such as Stitch Fix, Uber, Airbnb, and many more.
📚 Git Style Guide — just like PEP8 for Python, git has its own guidelines for naming, commenting, and walking forwards and backwards while elegantly balancing a stack of books on your head. Thanks Agis Anastasopoulos for this resource! | https://towardsdatascience.com/supercharge-data-science-562d891ef7f9 | ['Nicole Janeway Bills'] | 2020-12-28 14:13:57.676000+00:00 | ['Machine Learning', 'Data Science', 'Statistics', 'Python', 'Artificial Intelligence'] | Title Resources Supercharge Data Science 2021Content Web Resources 🔦 ML Showcase — great project inspiration repository data science project Team Paperspace certainly get wheel turning 🎓 Codecademy — time time find recommending powerful learning platform folk breaking coding looking pick new language strength Codecademy lie simplicity — exercise get muscle memory trained you’ll typing code like master time 🖌 Data Visualization Catalogue — site offer archetypal rendering creative chart option available help get data science point across Plus check want hue datasciencebased tool making color palette selection 💻 StackShare —a powerful platform comparing tool sidebyside StackShare also offer perusal stack used titan Data Science Stitch Fix Uber Airbnb many 📚 Git Style Guide — like PEP8 Python git guideline naming commenting walking forward backwards elegantly balancing stack book head Thanks Agis Anastasopoulos resourceTags Machine Learning Data Science Statistics Python Artificial Intelligence |
1,963 | Best Machine Learning Blogs to Follow in 2020 | Best Machine Learning Blogs to Follow in 2020
Keep up with the best and the latest machine learning (ML) research blogs through reliable sources
From researchers to students, industry experts, and machine learning (ML) enthusiasts — keeping up with the best and the latest machine learning research is a matter of finding reliable sources of scientific work. While blogs usually update in a more informal and conversational style, we have found that the sources in this list are accurate, resourceful, and reliable sources of machine learning research. Fit for all of those interested in learning more about the scientific field of ML.
Please know that the blogs listed below are by no means ranked or in a particular order. They are all incredible sources of machine learning research. Please let us know in the comments if you know of any other reliable blog sources in machine learning.
The machine learning blog at Carnegie Mellon University, ML@CMU, provides an accessible, general-audience medium for researchers to communicate research findings, perspectives on the field of machine learning, and various updates, both to experts and the general audience. Posts are from students, postdocs, and faculty at Carnegie Mellon [1]. | https://medium.com/towards-artificial-intelligence/best-machine-learning-blogs-to-follow-for-reliable-ml-research-towards-ai-6730ea2df3bd | ['Roberto Iriondo'] | 2020-08-28 03:21:45.407000+00:00 | ['Machine Learning', 'Science', 'Data Science', 'Machine Learning Blog', 'Artificial Intelligence'] | Title Best Machine Learning Blogs Follow 2020Content Best Machine Learning Blogs Follow 2020 Keep best latest machine learning ML research blog reliable source researcher student industry expert machine learning ML enthusiast — keeping best latest machine learning research matter finding reliable source scientific work blog usually update informal conversational style found source list accurate resourceful reliable source machine learning research Fit interested learning scientific field ML Please know blog listed mean ranked particular order incredible source machine learning research Please let u know comment know reliable blog source machine learning machine learning blog Carnegie Mellon University MLCMU provides accessible generalaudience medium researcher communicate research finding perspective field machine learning various update expert general audience Posts student postdoc faculty Carnegie Mellon 1Tags Machine Learning Science Data Science Machine Learning Blog Artificial Intelligence |
1,964 | Running a Jupyter Notebook in an Astronomer Airflow Local Development in 6 easy steps | Step 1
Add the following to packages.txt in your Airflow project root directory. These packages are to support the running of Jupyter within your docker image.
build-base
python3-dev
zeromq-dev
Step 2
Add the jupyter package to your requirements.txt which also resides in the airflow project root directory
jupyter
Step 3
Now we’ll need to either create or add to a file named docker-compose.override.yml within the Airflow projectroot directory. This file allows you to append/modify the default docker-compose file for the Astronomer Airflow image. We’re going to open the default port of 8888 for our Jupyter Notebook on the webserver docker container.
version '2'
services:
webserver:
ports:
- 0.0.0.0:8888:8888
Step 4
Start your local instance with astro dev start if currently running, first run astro dev stop
Step 5
Find the docker container id for your Airflow webserver by running docker ps
The output will show you 3 images running, one for the webserver, one for the scheduler and another for postgres. In this case we want the container id for the webserver. It should be around 10 characters a mix of lowercase letters and numbers as seen in the image below.
Step 6 (Last!)
Now we’ll want to execute jupyter notebook from the webserver container by running
docker exec -it xxxxxxxxxxxxx jupyter notebook --ip 0.0.0.0 --port 8888 --no-browser
Let’s break down the statement above a bit further:
docker exec -it — executes a command -it interactive text terminal
xxxxxxxxxxxxx is the id of the container found in step 5
jupyter notebook is the command to run jupyter notebook everything after this line are options for running
--ip 0.0.0.0 because we’re in a docker image we need to define the ip running as 0.0.0.0 in order to port forward to your local machine
--port 8888 is the running port that we defined in earlier steps. If you chose to run on a different port you can put that number here instead
--no-browser because this is running within the docker container airflow web server, we do not need a web browser to auto launch as we will handle that on our own.
Assuming this all ran correctly you should see output similar to this:
Console output from running Step 6
Load up Jupyter Notebook in your favorite browser
Now you can use this dockerized notebook as you would any other notebook.
By visiting the http://127.0.0.1:8888/?token= link at the bottom of the output we are now running a Jupyter Notebook in our Airflow web server.
Note: If you are prompted for a token, you will need to leverage token seen in the output, in the example above it is aa4234d685bf1f43799fd55e49cc86fb2b9feb9da445bd73
This token will be different on every start of the jupyter notebook
Jupyter Notebook running in Airflow project root directory
Within this notebook you can now write code as you would for a DAG being able to leverage connections, variables and native hooks interactively | https://medium.com/analytics-vidhya/running-a-jupyter-notebook-in-an-astronomer-airflow-local-development-in-6-easy-steps-5f134da392a0 | ['Kyle Shannon'] | 2020-07-24 16:13:40.448000+00:00 | ['Airflow', 'Jupyter Notebook', 'Etl', 'Astronomer', 'Python'] | Title Running Jupyter Notebook Astronomer Airflow Local Development 6 easy stepsContent Step 1 Add following packagestxt Airflow project root directory package support running Jupyter within docker image buildbase python3dev zeromqdev Step 2 Add jupyter package requirementstxt also resides airflow project root directory jupyter Step 3 we’ll need either create add file named dockercomposeoverrideyml within Airflow projectroot directory file allows appendmodify default dockercompose file Astronomer Airflow image We’re going open default port 8888 Jupyter Notebook webserver docker container version 2 service webserver port 000088888888 Step 4 Start local instance astro dev start currently running first run astro dev stop Step 5 Find docker container id Airflow webserver running docker p output show 3 image running one webserver one scheduler another postgres case want container id webserver around 10 character mix lowercase letter number seen image Step 6 Last we’ll want execute jupyter notebook webserver container running docker exec xxxxxxxxxxxxx jupyter notebook ip 0000 port 8888 nobrowser Let’s break statement bit docker exec — executes command interactive text terminal xxxxxxxxxxxxx id container found step 5 jupyter notebook command run jupyter notebook everything line option running ip 0000 we’re docker image need define ip running 0000 order port forward local machine port 8888 running port defined earlier step chose run different port put number instead nobrowser running within docker container airflow web server need web browser auto launch handle Assuming ran correctly see output similar Console output running Step 6 Load Jupyter Notebook favorite browser use dockerized notebook would notebook visiting http1270018888token link bottom output running Jupyter Notebook Airflow web server Note prompted token need leverage token seen output example aa4234d685bf1f43799fd55e49cc86fb2b9feb9da445bd73 token different every start jupyter notebook Jupyter Notebook running Airflow project root directory Within notebook write code would DAG able leverage connection variable native hook interactivelyTags Airflow Jupyter Notebook Etl Astronomer Python |
1,965 | What AI Can Teach Us About Failure | What AI Can Teach Us About Failure
Please don’t buy into failure-ism. Train for strikes not gutter balls.
Photo by Jorik Kleen on Unsplash
If you’ve read anything on business in the last two decades, there’s a good chance you’ve heard that failure is significant, something to be proud of, a badge of entrepreneurial prowess.
Ostensibly, the more you fail, you are somehow more successful.
This approach is undoubtedly accurate to a point.
I agree that failure is a needed part of the process of success, only that we may have emphasized the wrong thing.
Now, I’m certainly all for reframing our mistakes as something else, especially when this helps us move forward more productively, gaining resilience and flexibility.
This thought process is one of the core ideas behind CBT or cognitive behavioral therapy. And the reason is that it works. Studies show that CBT can help us move past some of our worst failures and emerge on the other side, happier, healthier and wiser.
But speaking from experience, I’d rather have one success than ten failures, and here’s why.
It’s not just me. Experts have been cautioning for a while that this culture of “failure-ism” might not be the best way to achieve our goals.
At the heart of Failure-ism is an unsubstantiated, almost romantic notion of the value of randomness. Many motivational speakers seem to be saying that if we open ourselves to the possibility of failure, something positive will happen, almost by a kind of magic.
Indeed, recent studies have confirmed that failing is not precisely the panacea that many are making it out to be.
Some studies have shown that people do indeed learn from their mistakes, but only if you’re in the same ballpark to the right answer
Here’s what the research says:
The Centre for European Economic Research, for example, had found that entrepreneurs who previously failed were no more likely than novices to launch a successful venture, echoing another study that found those who had failed before were less likely to succeed than complete neophytes.
I don’t know about you, but this reminds me a little of the recent trend of so-called gurus taking a pile of cash, renting a Lambo, and flashing all of this in your face on a YouTube ad.
Buy their 1000 dollar course, and you’ll be rolling deep in a Malibu crib with an infinity pool dropping off the edge of a perfectly manicured cliff into your private beach.
I read a great article the other day on this subject. It all makes sense, however. How easy it is to reframe failure as success and ironically go out and make money doing this.
But you may want to rethink trusting in failure as a sign of success, the same way you’d be wary of a skinny chef.
The whole fake it until you’ve made it routine. While I know, many psychologists have recommended this strategy as a coping mechanism, especially in situations like social anxiety, this has taken it to an entirely different level. | https://medium.com/the-innovation/what-ai-can-teach-us-about-failure-52d925fcceab | ['Nate Rutan'] | 2020-09-30 18:21:34.884000+00:00 | ['Failure', 'Life Lessons', 'Success', 'Psychology', 'Artificial Intelligence'] | Title AI Teach Us FailureContent AI Teach Us Failure Please don’t buy failureism Train strike gutter ball Photo Jorik Kleen Unsplash you’ve read anything business last two decade there’s good chance you’ve heard failure significant something proud badge entrepreneurial prowess Ostensibly fail somehow successful approach undoubtedly accurate point agree failure needed part process success may emphasized wrong thing I’m certainly reframing mistake something else especially help u move forward productively gaining resilience flexibility thought process one core idea behind CBT cognitive behavioral therapy reason work Studies show CBT help u move past worst failure emerge side happier healthier wiser speaking experience I’d rather one success ten failure here’s It’s Experts cautioning culture “failureism” might best way achieve goal heart Failureism unsubstantiated almost romantic notion value randomness Many motivational speaker seem saying open possibility failure something positive happen almost kind magic Indeed recent study confirmed failing precisely panacea many making study shown people indeed learn mistake you’re ballpark right answer Here’s research say Centre European Economic Research example found entrepreneur previously failed likely novice launch successful venture echoing another study found failed le likely succeed complete neophyte don’t know reminds little recent trend socalled guru taking pile cash renting Lambo flashing face YouTube ad Buy 1000 dollar course you’ll rolling deep Malibu crib infinity pool dropping edge perfectly manicured cliff private beach read great article day subject make sense however easy reframe failure success ironically go make money may want rethink trusting failure sign success way you’d wary skinny chef whole fake you’ve made routine know many psychologist recommended strategy coping mechanism especially situation like social anxiety taken entirely different levelTags Failure Life Lessons Success Psychology Artificial Intelligence |
1,966 | Can You Really Make Money on News Break? | Can You Really Make Money on News Break?
The News Break difference that makes it a revelation
Photo: Roman Kraft on unsplash
Lately, a couple of my beloved friends/fellow writers have noticed that (once again) I’ve been strangely absent from Medium.
Taking lengthy breaks from the platform is always a good indicator that I’ve discovered something new and exciting, and am instead dedicating my time to pursuing this new interest.
Yes friends, this has indeed happened. Except unlike with times gone by, the interest I’ve discovered isn’t something unique to me and my situation, I’m merely following the current that has carried many other writers in this new direction.
As you already know from reading the title, I’m talking about News Break.
Scam?
News Break is the news aggregate service we all thought was a scam a month ago. Some of us received emails inviting us to join their new creator program, others of us (including me) did not.
Some of those that were invited were turned off by the minimum payment promise of $1,000 each month, because of how fake that sounded.
I actually discovered it from a post I deleted from the Medium-focused Facebook group I help moderate. Someone had posted a referral code to the page, which is strictly against the rules, but it did pique my curiosity.
I assumed that this kind of new platform would probably be catnip for the types of writers that are drawn to Medium, so I searched ‘News Break’ in Medium and was greeted with a treasure trove of results.
The enlightening accounts of everyone’s positive experiences gave me the confidence I needed to apply for the program. I figured that it’s free, so I don’t have anything to lose by giving it a try.
Photo: Matthieu Stern via unsplash
What does it offer
The News Break Creator Program hasn’t been around long enough for anyone to get paid yet, so we won’t know for another week whether or not this program is absolutely, without a doubt, legitimate.
(Payment is sent on the 15th of each month for royalties earned during the previous month).
But the regular aggregate site that existed before the program has been around for 5 years, and was started by a former executive at Yahoo. So we can assume that News Break probably isn’t selling snake oil.
Instead, the site features breaking news and informative articles pulled from all over the web, and has made a lot of money doing so.
But now they’re ready to invest a lot of that money into producing original content. That’s right, just like Netflix before them, they’re splashing money all over the internet looking for creators to produce new content just for them.
Here’s what they’re offering;
They’re willing to pay a minimum of $1,000 per month for writers who will commit to contributing 3 articles per week. I see it as a twist on a conventional advance for novelists. Writers will need to sign a contract to that effect, although the contract states that either parties can cancel at any time.
Contracts are really turning off some writers, which I understand. Another interesting element is that the site won’t offer contracts to just anyone, you’ll need to apply and be accepted first. I received my acceptance about 2 weeks after applying.
Right now we’re in an early adoption period, so for three months, writing 3 articles per week is the only condition to receive the minimum payment. After three months however, writers will also need a minimum of 500 followers and a viewership of 500 unique readers on each article.
While on Medium this would be a near-impossible ask, I’ve personally found that attracting views is a lot easier on News Break.
The Difference
Since joining the site three days ago, I’ve uploaded 24 articles onto the site. Here are my dashboard stats so far.
Screenshot from News Break
These stats are actually lower than my real numbers because the dashboard only updates about every 24 hours, which the company claims they’ll improve.
The whole platform on the creation end feels like Wordpress did 10 years ago, or blogger did 15 years ago.
It’s very basic, and there’s no app for creators. But it’s exciting to be part of something while the paint is still drying. I appreciate being a part of something while it’s still in its infancy and before it gains all the bells and whistles, and drops all the perks.
Remember when Medium used to pay bonuses for quality writing? Infancy is a wonderful thing.
News Break welcomes previously published work, so I’ve boosted my presence on the site by uploading a bunch of my existing articles that have fleshed out my profile and made me more visible.
It turned out to be a smart move, because I’m now well on my way to achieving the follower and viewership requirements, even though I won’t be obliged to until February.
Dumping dozens of articles at once onto Medium would be social suicide for this site. It’s far better to upload slowly and regularly, while interacting with all of your readers.
News Break feels like a numbers game, where you really need to be present in a big way to be noticed at all. Writers are complaining that they’ve gained 30 followers over two weeks while publishing on a Medium-style schedule. Those writers may have to get a lot more aggressive or risk being lost by the algorithm.
Audience Interaction
After scanning the hundreds of comments I’ve received, I’ve definitely gained the impression that there are a lot more people on News Break than on Medium.
I’ve also gained the strong impression that these are the same people who watch and comment on YouTube videos, because these comments are (for the most part) vile or crazy.
For more than a year, I’ve stayed in the relative safety and comfort of Medium. During my time on Medium, I’ve received lots of harsh comments on a couple of my stories. But they all felt like comments written by people who read a lot, and had a strong opinion one way or another.
On News Break, I’m getting random racist comments mixed with jokes mixed with others asking about bran muffin recipes. It’s a mess of loud conversation and crazy accusations. While for the most part these comments go down some dark holes, they also make the site feel alive and well trafficked.
I’m someone that writes with the hope of exposure, and on News Break I’ve received in three days the amount of views I’d normally get on Medium in a week.
That might not sound like a huge difference, but I’ve been a writer on Medium for over a year and a half and have amassed hundreds of stories. I’ve uploaded just over two dozen articles onto News Break and in three days my stats are (by my standards) exploding.
The Real Consideration
The most important reason News Break works for me lines up with the exact reason Medium has stopped working for me in recent weeks.
Once upon a time, my views on Medium were from paid members about 90% of the time. Lately, I’d estimate that roughly 5% of my views are from paid Medium members.
There are a lot of factors contributing to this. One factor might be that I’m not producing content that Medium readers care about anymore, another is that I’m producing work that shows up well in a Google search.
Unfortunately, it has meant that while my viewership hasn’t decreased, my royalty payments have sharply decreased. My payment for last month was the first that I’ve ever felt was unacceptable for my stats, so News Break is coming at the perfect moment for me in my journey.
So I’m not going to quit Medium, but I’m also not going to take it as seriously as I have in the past. I’m going to stop checking my royalty payments, and instead only write for Medium whenever inspiration dictates. I’ll also continue running Money Clip, but won’t check daily as I have before. This may mean that stories will be published a bit slower than they have historically.
I won’t be following a schedule, or submitting to outside publications. Instead, all my effort will be going into News Break, which is the platform that best suits my goals and priorities in this moment.
Since I’m someone that attracts attention from people who seem disinterested in subscriptions, I’ll be writing articles that aim at attracting attention from everyone, and will enjoy that fact that every read (no-matter where they’re from) counts as a monetised view.
Think of the potential when taking away the paywall that prevents so much royalty income. I’ve always said that I’d prefer ads over a lower income stream, and now that’s what I’ve got.
I understand that some writers feel that News Break is too crass, and not artistic enough for your personal brand of expression, and I respect that. I agree that not everything is right for a site like News Break, which is why I’ll continue to contribute to Medium sometimes.
But for the most part, News Break is exactly my style, and I’ll be giving it all I’ve got. I’ll check back in once I’ve received my first royalty payment in January to confirm once and for all whether or not this is legit. | https://medium.com/money-clip/can-you-really-make-money-on-news-break-b2a45a3a74fa | ['Jordan Fraser'] | 2020-12-07 09:28:10.189000+00:00 | ['Money', 'Success', 'Writing', 'Finance', 'Entrepreneurship'] | Title Really Make Money News BreakContent Really Make Money News Break News Break difference make revelation Photo Roman Kraft unsplash Lately couple beloved friendsfellow writer noticed I’ve strangely absent Medium Taking lengthy break platform always good indicator I’ve discovered something new exciting instead dedicating time pursuing new interest Yes friend indeed happened Except unlike time gone interest I’ve discovered isn’t something unique situation I’m merely following current carried many writer new direction already know reading title I’m talking News Break Scam News Break news aggregate service thought scam month ago u received email inviting u join new creator program others u including invited turned minimum payment promise 1000 month fake sounded actually discovered post deleted Mediumfocused Facebook group help moderate Someone posted referral code page strictly rule pique curiosity assumed kind new platform would probably catnip type writer drawn Medium searched ‘News Break’ Medium greeted treasure trove result enlightening account everyone’s positive experience gave confidence needed apply program figured it’s free don’t anything lose giving try Photo Matthieu Stern via unsplash offer News Break Creator Program hasn’t around long enough anyone get paid yet won’t know another week whether program absolutely without doubt legitimate Payment sent 15th month royalty earned previous month regular aggregate site existed program around 5 year started former executive Yahoo assume News Break probably isn’t selling snake oil Instead site feature breaking news informative article pulled web made lot money they’re ready invest lot money producing original content That’s right like Netflix they’re splashing money internet looking creator produce new content Here’s they’re offering They’re willing pay minimum 1000 per month writer commit contributing 3 article per week see twist conventional advance novelist Writers need sign contract effect although contract state either party cancel time Contracts really turning writer understand Another interesting element site won’t offer contract anyone you’ll need apply accepted first received acceptance 2 week applying Right we’re early adoption period three month writing 3 article per week condition receive minimum payment three month however writer also need minimum 500 follower viewership 500 unique reader article Medium would nearimpossible ask I’ve personally found attracting view lot easier News Break Difference Since joining site three day ago I’ve uploaded 24 article onto site dashboard stats far Screenshot News Break stats actually lower real number dashboard update every 24 hour company claim they’ll improve whole platform creation end feel like Wordpress 10 year ago blogger 15 year ago It’s basic there’s app creator it’s exciting part something paint still drying appreciate part something it’s still infancy gain bell whistle drop perk Remember Medium used pay bonus quality writing Infancy wonderful thing News Break welcome previously published work I’ve boosted presence site uploading bunch existing article fleshed profile made visible turned smart move I’m well way achieving follower viewership requirement even though won’t obliged February Dumping dozen article onto Medium would social suicide site It’s far better upload slowly regularly interacting reader News Break feel like number game really need present big way noticed Writers complaining they’ve gained 30 follower two week publishing Mediumstyle schedule writer may get lot aggressive risk lost algorithm Audience Interaction scanning hundred comment I’ve received I’ve definitely gained impression lot people News Break Medium I’ve also gained strong impression people watch comment YouTube video comment part vile crazy year I’ve stayed relative safety comfort Medium time Medium I’ve received lot harsh comment couple story felt like comment written people read lot strong opinion one way another News Break I’m getting random racist comment mixed joke mixed others asking bran muffin recipe It’s mess loud conversation crazy accusation part comment go dark hole also make site feel alive well trafficked I’m someone writes hope exposure News Break I’ve received three day amount view I’d normally get Medium week might sound like huge difference I’ve writer Medium year half amassed hundred story I’ve uploaded two dozen article onto News Break three day stats standard exploding Real Consideration important reason News Break work line exact reason Medium stopped working recent week upon time view Medium paid member 90 time Lately I’d estimate roughly 5 view paid Medium member lot factor contributing One factor might I’m producing content Medium reader care anymore another I’m producing work show well Google search Unfortunately meant viewership hasn’t decreased royalty payment sharply decreased payment last month first I’ve ever felt unacceptable stats News Break coming perfect moment journey I’m going quit Medium I’m also going take seriously past I’m going stop checking royalty payment instead write Medium whenever inspiration dictate I’ll also continue running Money Clip won’t check daily may mean story published bit slower historically won’t following schedule submitting outside publication Instead effort going News Break platform best suit goal priority moment Since I’m someone attracts attention people seem disinterested subscription I’ll writing article aim attracting attention everyone enjoy fact every read nomatter they’re count monetised view Think potential taking away paywall prevents much royalty income I’ve always said I’d prefer ad lower income stream that’s I’ve got understand writer feel News Break crass artistic enough personal brand expression respect agree everything right site like News Break I’ll continue contribute Medium sometimes part News Break exactly style I’ll giving I’ve got I’ll check back I’ve received first royalty payment January confirm whether legitTags Money Success Writing Finance Entrepreneurship |
1,967 | Things I Learnt Working For Myself | It’s been over a year since I quit my full-time job to make my way in the world in the ship of ATRIUM Consultancy. I got smart with myself and my social circles and decided to leverage my skills to my broad network. Having been in the Hospitality and Tourism trade for 6 years enabled me to not break into new territory but to use knowledge in an industry I am well versed in.
Being an independent worker, people are paying you for your time and for your skill.
Once you have established yourself as someone who moves within that industry it’s much easier to reach out to newer clients. My first few breaks came from friends and acquaintances I made during my work years. They have seen the result of my direct involvement of the company I worked for and wanted to see it in theirs.
After ten years of working fulltime with a freelance gig on the side, I was able to transcend to being a fulltime-freelance worker. These are a few thing’s that I learnt during my journey.
Know Your Worth
To be a good consultant you need to have a string of victories behind you. The more ownership you have of those victories, the more you can charge. Even if you don’t and you’re starting up, even as a freelancer make sure that you price yourself well. There are times that people would take this advice without doing a quick reality check of themselves, it may be tough but it’s needed to gauge where you stand.
If you do have success stories behind you then you can charge a much higher rate but always check the market for a rough price idea. The habit of overselling and under-delivering is very persistent in the services and consulting industry. So being too cheap to get more business will make you look desperate, whilst overcharging will have no one looking at you.
After a year of doing business at various price points, I entered the new year with a higher and more consistent price tag for my services. I weighed the experience I had, the success stories of my life and the service I was offering and decided to mark up my prices and increase the time and energy per client. This meant I would take on fewer clients, but this way I get compensated more which pushes me to work harder, smarter and better. | https://medium.com/the-lucky-freelancer/things-i-learnt-working-for-myself-8cae36bb5592 | ['Ahamed Nizar'] | 2020-08-21 23:58:33.035000+00:00 | ['Tips', 'Startup', 'Freelance', 'Consulting', 'Entrepreneurship'] | Title Things Learnt Working MyselfContent It’s year since quit fulltime job make way world ship ATRIUM Consultancy got smart social circle decided leverage skill broad network Hospitality Tourism trade 6 year enabled break new territory use knowledge industry well versed independent worker people paying time skill established someone move within industry it’s much easier reach newer client first break came friend acquaintance made work year seen result direct involvement company worked wanted see ten year working fulltime freelance gig side able transcend fulltimefreelance worker thing’s learnt journey Know Worth good consultant need string victory behind ownership victory charge Even don’t you’re starting even freelancer make sure price well time people would take advice without quick reality check may tough it’s needed gauge stand success story behind charge much higher rate always check market rough price idea habit overselling underdelivering persistent service consulting industry cheap get business make look desperate whilst overcharging one looking year business various price point entered new year higher consistent price tag service weighed experience success story life service offering decided mark price increase time energy per client meant would take fewer client way get compensated push work harder smarter betterTags Tips Startup Freelance Consulting Entrepreneurship |
1,968 | Monday Marketing Meeting at the Chateaux de la Swine | THE SALSA DIARIES #2
Monday Marketing Meeting at the Chateaux de la Swine
There’s a time and place for cock
Salsa dyed cock. New from the Chateaux de la Swine. Photo by laura adai on Unsplash
At the Chateaux de la Swine it was time for our daily dose of marketing. A meeting that often descended into chaos as each flamboyant hipster tried to outwit the previous. No idea was a dumb idea but I contest that the Pitbull of Chronic Humping™ may have been one step too far.
Our mission is to turn the world into a waste dump for our cheaply produced Salsa themed products. ‘If it ain’t got the heat then it ain’t got the salsa’. The meeting coincided with our once a month special endurance celebration. Yes, it was ‘Break An Intern Week’®. Seven days of physical and psychological torture for the thrill of destroying young spirits overflowing with optimism. This was the real world and there are no easy rides at the Chateaux (except for Hilda in Accounts Payable).
At the podium stood Smith and Weston. Two young bucks who were yet to break. I hadn’t the faintest idea what their actual names were but was assured that both were aptly titled. Apparently, they went off in your hand Jerry said. I liked Jerry. A loose cannon of a product tester whose ability to smear Salsa on his buttcheeks was legendary.
Smith, the Californian blond, was holding erect a large salsa themed, throbbing cock. And by cock, I mean chicken. And by salsa themed, I mean somebody had taken the time and effort to dye the cock in an unceremonious salsa red. The pungent cock was clearly aggrieved as it wrestled in the firm grip of Smith.
Weston was beaming. He began to talk. I wasn’t pleased. That damn cock was making a mess all over my expensive boardroom carpet. I had it imported from a whorehouse in Eastern Mongolia. The embedded smell alone reeked of a thousand years of cum related debauchery. I scrabbled around in my second drawer trying to find my Silencer.
Weston was now visibly shaking and had started to leave large patches of sweat under each armpit. Jerry meanwhile was fondling his balls under the board table. He knew I was about to make another intern shit his pants.
Just then, the cock broke free and ran head-on at Jerry. Unable to free his hands from his pants, the cock flew at his face, beak armed to peck.
It was going to be a bloody mess…again.
I placed the Silencer on the desk and sat there, gently massaging my forehead as another migraine started to take hold. I wondered if my nemesis Ev Williams ever had days like this. I imagined that even Ev never had to deal with the sight of Janet on all fours probing for a detached eyeball.
Roll on Tuesday. | https://medium.com/title-and-picture-gag/monday-marketing-meeting-at-the-chateaux-de-la-swine-72672ff234e2 | ['Reuben Salsa'] | 2020-12-13 17:25:02.184000+00:00 | ['Satire', 'Humor', 'Writing', 'Marketing', 'Salsa'] | Title Monday Marketing Meeting Chateaux de la SwineContent SALSA DIARIES 2 Monday Marketing Meeting Chateaux de la Swine There’s time place cock Salsa dyed cock New Chateaux de la Swine Photo laura adai Unsplash Chateaux de la Swine time daily dose marketing meeting often descended chaos flamboyant hipster tried outwit previous idea dumb idea contest Pitbull Chronic Humping™ may one step far mission turn world waste dump cheaply produced Salsa themed product ‘If ain’t got heat ain’t got salsa’ meeting coincided month special endurance celebration Yes ‘Break Intern Week’® Seven day physical psychological torture thrill destroying young spirit overflowing optimism real world easy ride Chateaux except Hilda Accounts Payable podium stood Smith Weston Two young buck yet break hadn’t faintest idea actual name assured aptly titled Apparently went hand Jerry said liked Jerry loose cannon product tester whose ability smear Salsa buttcheeks legendary Smith Californian blond holding erect large salsa themed throbbing cock cock mean chicken salsa themed mean somebody taken time effort dye cock unceremonious salsa red pungent cock clearly aggrieved wrestled firm grip Smith Weston beaming began talk wasn’t pleased damn cock making mess expensive boardroom carpet imported whorehouse Eastern Mongolia embedded smell alone reeked thousand year cum related debauchery scrabbled around second drawer trying find Silencer Weston visibly shaking started leave large patch sweat armpit Jerry meanwhile fondling ball board table knew make another intern shit pant cock broke free ran headon Jerry Unable free hand pant cock flew face beak armed peck going bloody mess…again placed Silencer desk sat gently massaging forehead another migraine started take hold wondered nemesis Ev Williams ever day like imagined even Ev never deal sight Janet four probing detached eyeball Roll TuesdayTags Satire Humor Writing Marketing Salsa |
1,969 | User Management With Firebase and Python | Set Up a New Firebase Project and Credentials
First things first, we need to set up our Firebase credentials so we’re able to use their APIs. Their documentation is detailed and easy enough to follow. You can find it here.
Anyway, let’s still go through the setup process so everybody is on the same page. We’ll only discuss the necessary steps here, so if you’d like to know more details, please visit the page I linked above.
Python version and pip installation
Firstly, your Python version needs to be 3.5 or above. Ensure you have it installed.
Next, we can install the Firebase Admin SDK using pip. Here’s the command you can run from your terminal to do that.
$ pip3 install firebase-admin
Just a reminder, it’s always better to install a package like this in our virtual environment to keep it contained in just the project that needs it.
Generate Google Application Default Credentials
Before we can use the SDK, we need to generate our Google Application Default Credentials.
Firstly, go to your Firebase console, and click on “Add project.”
Firebase console
Let’s give our project a name: python-admin-sdk-demo .
Name the Firebase project
The next step is to enable Google Analytics. For the purpose of this tutorial, we don’t need this to be turned on, so let’s just turn it off. After you disable it, click on “Create project.”
Google Analytics — turned off
Firebase will then set up and generate the new project for you. Once it’s finished, click on “Continue” to go to your Project Overview page.
Project Overview
On the top left-hand side, click on the cog icon next to “Project Overview,” and select “Project settings.”
Project settings
Then, navigate to the Service accounts tab. Click on Python for the Admin SDK configuration snippet.
Service accounts
Go ahead and click on “Generate new private key.” A window like below will pop up. As it says in the warning on the window, remember to keep the private key secure. Do not commit this to your project repository.
All right, we can continue and click on “Generate key.”
Generate a new private key
Firebase will open a prompt and ask you where you want to save the JSON file. Let’s create a new folder called python-admin-sdk-demo and store the file in there.
Great! We have what we need to be able to call the Firebase Admin APIs now. Let’s see how we can set it up in Python.
Here’s the instruction from Firebase:
“When authorizing via a service account, you have two choices for providing the credentials to your application. You can either set the GOOGLE_APPLICATION_CREDENTIALS environment variable, or you can explicitly pass the path to the service account key in code. The first option is more secure and is strongly recommended.”
So let’s follow their recommendation to set an environment variable named GOOGLE_APPLICATION_CREDENTIALS and give a value of the path to the JSON file we just downloaded from Firebase.
From your terminal, let’s execute the following command to set the environment variable.
~/demo/python-admin-sdk-demo ❯ export GOOGLE_APPLICATION_CREDENTIALS=/Users/billyde/demo/python-admin-sdk-demo/python-admin-sdk-demo-1a64n-firebase-adminsdk-ze72a-5a36713w1q.json ~/demo/python-admin-sdk-demo ❯ echo $GOOGLE_APPLICATION_CREDENTIALS
/Users/billyde/demo/python-admin-sdk-demo/python-admin-sdk-demo-1a64n-firebase-adminsdk-ze72a-5a36713w1q.json
Cool. Let’s write the Python code now.
Create a new file in your project directory and call it initialise_firebase_admin.py . This is what the content will be:
initialise_firebase_admin.py
Now, if we go back to the terminal and execute the following command, we’ll be able to see that the Firebase Admin App was successfully initialised.
~/demo/python-admin-sdk-demo ❯ python initialise_firebase_admin.py
<firebase_admin.App object at 0x125d19wg3>
Perfect! We’re ready to move on to more exciting stuff now. | https://medium.com/better-programming/user-management-with-firebase-and-python-749a7a87b2b6 | [] | 2020-03-13 23:41:49.551000+00:00 | ['Data Science', 'Firebase', 'Python', 'Programming', 'Software Engineering'] | Title User Management Firebase PythonContent Set New Firebase Project Credentials First thing first need set Firebase credential we’re able use APIs documentation detailed easy enough follow find Anyway let’s still go setup process everybody page We’ll discus necessary step you’d like know detail please visit page linked Python version pip installation Firstly Python version need 35 Ensure installed Next install Firebase Admin SDK using pip Here’s command run terminal pip3 install firebaseadmin reminder it’s always better install package like virtual environment keep contained project need Generate Google Application Default Credentials use SDK need generate Google Application Default Credentials Firstly go Firebase console click “Add project” Firebase console Let’s give project name pythonadminsdkdemo Name Firebase project next step enable Google Analytics purpose tutorial don’t need turned let’s turn disable click “Create project” Google Analytics — turned Firebase set generate new project it’s finished click “Continue” go Project Overview page Project Overview top lefthand side click cog icon next “Project Overview” select “Project settings” Project setting navigate Service account tab Click Python Admin SDK configuration snippet Service account Go ahead click “Generate new private key” window like pop say warning window remember keep private key secure commit project repository right continue click “Generate key” Generate new private key Firebase open prompt ask want save JSON file Let’s create new folder called pythonadminsdkdemo store file Great need able call Firebase Admin APIs Let’s see set Python Here’s instruction Firebase “When authorizing via service account two choice providing credential application either set GOOGLEAPPLICATIONCREDENTIALS environment variable explicitly pas path service account key code first option secure strongly recommended” let’s follow recommendation set environment variable named GOOGLEAPPLICATIONCREDENTIALS give value path JSON file downloaded Firebase terminal let’s execute following command set environment variable demopythonadminsdkdemo ❯ export GOOGLEAPPLICATIONCREDENTIALSUsersbillydedemopythonadminsdkdemopythonadminsdkdemo1a64nfirebaseadminsdkze72a5a36713w1qjson demopythonadminsdkdemo ❯ echo GOOGLEAPPLICATIONCREDENTIALS Usersbillydedemopythonadminsdkdemopythonadminsdkdemo1a64nfirebaseadminsdkze72a5a36713w1qjson Cool Let’s write Python code Create new file project directory call initialisefirebaseadminpy content initialisefirebaseadminpy go back terminal execute following command we’ll able see Firebase Admin App successfully initialised demopythonadminsdkdemo ❯ python initialisefirebaseadminpy firebaseadminApp object 0x125d19wg3 Perfect We’re ready move exciting stuff nowTags Data Science Firebase Python Programming Software Engineering |
1,970 | Unleash Your Full Potential With The Power of Mindfulness | Unleash Your Full Potential With The Power of Mindfulness
10 wise quotes to inspire success in your life by Eckhart Tolle.
Photo by Lukas Rodriguez from Pexels
You feel stuck in your life? Do you wonder when the magical moment will come when you have the energy to do what is necessary to fulfill your wildest dreams?
Why are we not fulfilled? Why is a success not coming for us? Eckhart Tolle is one of the most inspiring spiritual teachers of our time. His simple teachings have helped millions to live happier lives, but for advice on becoming successful we look up to entrepreneurs like Jeff Bezos or Elon Musk.
Mindfulness is for private stuff, so we think. But everything is connected. Being aligned with the present moment is the start of every success story.
Here are 10 powerful quotes to help you escape mediocrity and fulfill your wildest dreams. Get inspired to unleash your full potential with the power of mindfulness. | https://medium.com/change-your-mind/unleash-your-full-potential-with-the-power-of-mindfulness-cdedaf243548 | ['Karolin Wanner'] | 2020-12-23 11:03:09.372000+00:00 | ['Success', 'Mindfulness', 'Mental Health', 'Self', 'Psychology'] | Title Unleash Full Potential Power MindfulnessContent Unleash Full Potential Power Mindfulness 10 wise quote inspire success life Eckhart Tolle Photo Lukas Rodriguez Pexels feel stuck life wonder magical moment come energy necessary fulfill wildest dream fulfilled success coming u Eckhart Tolle one inspiring spiritual teacher time simple teaching helped million live happier life advice becoming successful look entrepreneur like Jeff Bezos Elon Musk Mindfulness private stuff think everything connected aligned present moment start every success story 10 powerful quote help escape mediocrity fulfill wildest dream Get inspired unleash full potential power mindfulnessTags Success Mindfulness Mental Health Self Psychology |
1,971 | Amazon Is at War With Its Workers | Stories about working conditions in Amazon’s warehouses — and efforts by Amazon’s warehouse workers to change those conditions — stretch back nearly a decade. But like other systemic crises, Amazon workers’ fight for dignity and safer jobs has been greatly amplified by the coronavirus pandemic. With a rising count of warehouse workers confirmed infected with the coronavirus—at least 153 cases across 65 warehouses worldwide—and nine walkouts and shutdowns around the world, the urgency of this fight has become far more evident.
The activism of Amazon workers in recent weeks feels different than previous organizing efforts. Workers seem to be more coordinated and widespread. Previously reticent white-collar tech workers are starting to speak out more publicly about the treatment of Amazon workers.
And these actions are producing results: After efforts by part-time workers in Detroit and Sacramento to ensure paid time off accelerated because of the coronavirus pandemic, Amazon granted PTO to warehouse workers nationwide. When Amazonians United NYC, a logistics workers’ group, launched a petition for basic protections and resources, the company agreed within days to provide paid sick leave to all workers who test positive or are quarantined. The company also pledged $25 million for a hardship fund to support workers.
Following recent walkouts at several Amazon warehouses, the company announced that it will be handing out masks and taking workers’ temperature when they arrive at a warehouse. That’s a far cry from meeting all the demands that Amazon workers sought, but it’s a sign the company is aware that it needs to respond to the unfolding public health and public relations crisis.
Does this mark a fundamental shift in the dynamics between Amazon’s workers and company management?
To get a proper sense of the scale of Amazon worker actions right now, it’s important to take a global perspective. Amazon runs almost 1,100 warehouses around the world, with about 600 of those outside the United States. Some of these workers are more organized and active than others, but nearly all of them have been affected by the coronavirus pandemic.
“There is a culture of fear. It has always been like that at Amazon.”
Since March 15, Amazon fulfillment centers in Italy, Spain, and France have seen strikes, walkouts, and protests demanding greater safety precautions for workers. Some of these actions are generating results: In Italy, an 11-day strike at a warehouse in Castel San Giovanni sparked by the discovery of a coronavirus case and poor prevention measures at the facility led to the adoption of such measures as maintaining two-meter separations between workstations and longer break times to accommodate rigorous hand-washing. In Spain, safety complaints led the Ministry of Labor to install an independent safety commission at the San Fernando de Henares facility in Madrid.
Eugenio Villasante, senior communications manager of UNI Global Union (formerly Union Network International), an international labor federation, says his organization is hearing from a lot of Amazon workers. “From Poland to Czech Republic to Slovakia, the U.K., the U.S., we hear very similar stories. People are [so close that they’re] rubbing each other’s shoulders in the locker room. They are putting [people on] microbuses to take them to warehouses where they don’t feel they are protected.”
Although there haven’t been explicit, formal gestures toward widespread U.S.-Europe work stoppages, it has happened in the past, most recently in July 2019 on Prime Day. There are some informal indicators of international warehouse worker solidarity. As of April 3, around one-fifth of the 5,000-plus signatures on the Amazonians United NYC’s petition for worker protections are actually from warehouse workers in Poland.
There’s also evidence to suggest a greater sense of solidarity among Amazon workers across subsidiaries and ranks. Another one-fifth of those signatures of the Amazonians United’s petition came from white-collar workers like software engineers, film producers, and executives. Signatories included Amazon Air staff, customer service representatives, and even one third-party seller.
Apparently, it’s not just Amazon’s warehouse workers worried about their health and safety on the job. Whole Foods employees recently staged sick-outs, and organizers are maintaining a public inventory of coronavirus cases among workers (currently 149 cases at 100 stores). In the Philippines, subcontractor employees at an Amazon Ring call center were made to choose between sleeping in their office in “subhuman” working conditions and forgoing pay. They instead wrote a scathing letter to their employer and worked with BIEN, a local organizing network for call center workers, to demand the option to work from home.
While the majority of workers at Amazon’s Seattle headquarters are now working from home, hourly contractors like receptionists, janitors, and security staff have had to show up to the empty HQ, putting themselves and their families at risk of exposure. An anonymous online petition demanding the HQ close so contractors can stay home has gathered more than 200 signatures. While not as attention-grabbing as a walkout, such petitions speak to the fact that Amazon workers are articulating their demands and organizing themselves with the resources they have. A quick search of Change.org and Coworker.org show workers articulating demands — everything from an appeals process for termination to shutting down and cleaning facilities with Covid-19 cases.
The many anonymous signatories of these petitions are also a reminder of the risk workers take when speaking out. Amazon workers seeking to organize also have to face the prospect of losing their jobs in the midst of a major economic depression. Although Amazon denied that the firing of Staten Island warehouse worker and walkout organizer Christian Smalls was an act of retaliation, a leaked memo in which senior leadership planned to smear Smalls somewhat undermined their claims. In mid-April, Amazon fired an additional two white-collar employees who had been critical of working conditions within the company’s warehouses.
“There is a culture of fear. It has always been like that at Amazon,” says Sarah Fields, a returns center associate at an Amazon warehouse in northern Kentucky. “Especially with unemployment as high as it is, people aren’t trying to risk their jobs, their health insurance.”
After learning about a potential coronavirus case at her warehouse, Fields tried contacting state agencies about the company’s failure to inform workers about the potential case. Then she began encouraging co-workers to do the same. Frustrated by state inaction, she contacted Smalls, who suggested she walk out. It was an action Fields didn’t know how to do on her own, let alone convince her colleagues to do.
Smalls tells OneZero that he’s been receiving messages from Amazon workers across the country and around the world who are eager to organize. The derogatory memo apparently drew outrage from some white-collar employees within Amazon, and Staten Island workers held a second walkout a week after Smalls’ termination. This week, Gizmodo reported on Tech Speaks Out, a campaign organized by workers at tech companies, including Google, Amazon, and Facebook, to voice their support for Amazon’s warehouse workers.
Amazon workers are realizing their own power at a moment when Amazon’s influence on the economy has never been larger.
Smalls says he’s been involved in the development of a still-nascent national strike fund to financially support Amazon workers who may lose their jobs over protesting — which, alongside efforts like a recently established Amazon Whistleblower Support Fund, could soften the blow of potential retaliation.
Amazon workers are realizing their own power at a moment when Amazon’s influence on the economy has never been larger. Last year, Amazon made up 37% of all retail sales in the United States — 4% of all retail spending in the United States. To keep up with a spike in customer demand during the coronavirus pandemic shutdown, the company hired 100,000 employees in the last month alone and wants to hire 75,000 more. Most of the videoconferencing, chat services, and binge-watching that’s maintaining some semblance of a status quo right now depend on Amazon Web Services, the company’s cloud platform and the most profitable arm of the company. If workers at Amazon really did engage in a cross-company shut down, it would cripple much of the commerce that still exists and bring most of the internet to a grinding halt.
With every new action, questions about the role Amazon plays in our economy and the conditions of its workers are coming to the fore. When asked about the recent actions by workers, Dania Rajendra, director of anti-Amazon coalition Athena, said, “Amazon’s failure to consider the needs of the people who make the corporation function is not new. There already was a worker health crisis at Amazon before the pandemic.” The coronavirus may be the most high-stakes manifestation of why Amazon’s labor policies need to change, but it’s far from the first.
Turning those high stakes into a moment for worker unity — across borders, across class lines, with public support — is a challenge, but not an impossible one. And it’s not entirely unprecedented. As Villasante of UNI Global Union points out, “This is how the labor movement was built: on the backs of workers who made very difficult decisions on factory floors, in supermarkets.” He believes we are approaching a tipping point where “workers [are] more afraid of a virus than their boss.”
For its part, Amazon is trying to reclaim the narrative, pointing to small improvements in working conditions and to the company’s plans to build coronavirus testing facilities. For now, workers seem to be saying those efforts are too little, too late.
Fields is impassioned about improving the conditions in her facility. In reiterating the call for paid sick leave, she got to the heart of the workers’ struggle: “Bezos’ money is our money. Give us our money now. That is our money. It’s all ours.” | https://onezero.medium.com/amazon-is-at-war-with-its-workers-661673e9dbc4 | ['Ingrid Burrington', 'Mary Jirmanus Saba'] | 2020-04-14 13:36:18.007000+00:00 | ['Amazon', 'Labor', 'Protest', 'Workers Rights', 'Coronavirus'] | Title Amazon War WorkersContent Stories working condition Amazon’s warehouse — effort Amazon’s warehouse worker change condition — stretch back nearly decade like systemic crisis Amazon workers’ fight dignity safer job greatly amplified coronavirus pandemic rising count warehouse worker confirmed infected coronavirus—at least 153 case across 65 warehouse worldwide—and nine walkout shutdown around world urgency fight become far evident activism Amazon worker recent week feel different previous organizing effort Workers seem coordinated widespread Previously reticent whitecollar tech worker starting speak publicly treatment Amazon worker action producing result effort parttime worker Detroit Sacramento ensure paid time accelerated coronavirus pandemic Amazon granted PTO warehouse worker nationwide Amazonians United NYC logistics workers’ group launched petition basic protection resource company agreed within day provide paid sick leave worker test positive quarantined company also pledged 25 million hardship fund support worker Following recent walkout several Amazon warehouse company announced handing mask taking workers’ temperature arrive warehouse That’s far cry meeting demand Amazon worker sought it’s sign company aware need respond unfolding public health public relation crisis mark fundamental shift dynamic Amazon’s worker company management get proper sense scale Amazon worker action right it’s important take global perspective Amazon run almost 1100 warehouse around world 600 outside United States worker organized active others nearly affected coronavirus pandemic “There culture fear always like Amazon” Since March 15 Amazon fulfillment center Italy Spain France seen strike walkout protest demanding greater safety precaution worker action generating result Italy 11day strike warehouse Castel San Giovanni sparked discovery coronavirus case poor prevention measure facility led adoption measure maintaining twometer separation workstation longer break time accommodate rigorous handwashing Spain safety complaint led Ministry Labor install independent safety commission San Fernando de Henares facility Madrid Eugenio Villasante senior communication manager UNI Global Union formerly Union Network International international labor federation say organization hearing lot Amazon worker “From Poland Czech Republic Slovakia UK US hear similar story People close they’re rubbing other’s shoulder locker room putting people microbuses take warehouse don’t feel protected” Although haven’t explicit formal gesture toward widespread USEurope work stoppage happened past recently July 2019 Prime Day informal indicator international warehouse worker solidarity April 3 around onefifth 5000plus signature Amazonians United NYC’s petition worker protection actually warehouse worker Poland There’s also evidence suggest greater sense solidarity among Amazon worker across subsidiary rank Another onefifth signature Amazonians United’s petition came whitecollar worker like software engineer film producer executive Signatories included Amazon Air staff customer service representative even one thirdparty seller Apparently it’s Amazon’s warehouse worker worried health safety job Whole Foods employee recently staged sickouts organizer maintaining public inventory coronavirus case among worker currently 149 case 100 store Philippines subcontractor employee Amazon Ring call center made choose sleeping office “subhuman” working condition forgoing pay instead wrote scathing letter employer worked BIEN local organizing network call center worker demand option work home majority worker Amazon’s Seattle headquarters working home hourly contractor like receptionist janitor security staff show empty HQ putting family risk exposure anonymous online petition demanding HQ close contractor stay home gathered 200 signature attentiongrabbing walkout petition speak fact Amazon worker articulating demand organizing resource quick search Changeorg Coworkerorg show worker articulating demand — everything appeal process termination shutting cleaning facility Covid19 case many anonymous signatory petition also reminder risk worker take speaking Amazon worker seeking organize also face prospect losing job midst major economic depression Although Amazon denied firing Staten Island warehouse worker walkout organizer Christian Smalls act retaliation leaked memo senior leadership planned smear Smalls somewhat undermined claim midApril Amazon fired additional two whitecollar employee critical working condition within company’s warehouse “There culture fear always like Amazon” say Sarah Fields return center associate Amazon warehouse northern Kentucky “Especially unemployment high people aren’t trying risk job health insurance” learning potential coronavirus case warehouse Fields tried contacting state agency company’s failure inform worker potential case began encouraging coworkers Frustrated state inaction contacted Smalls suggested walk action Fields didn’t know let alone convince colleague Smalls tell OneZero he’s receiving message Amazon worker across country around world eager organize derogatory memo apparently drew outrage whitecollar employee within Amazon Staten Island worker held second walkout week Smalls’ termination week Gizmodo reported Tech Speaks campaign organized worker tech company including Google Amazon Facebook voice support Amazon’s warehouse worker Amazon worker realizing power moment Amazon’s influence economy never larger Smalls say he’s involved development stillnascent national strike fund financially support Amazon worker may lose job protesting — alongside effort like recently established Amazon Whistleblower Support Fund could soften blow potential retaliation Amazon worker realizing power moment Amazon’s influence economy never larger Last year Amazon made 37 retail sale United States — 4 retail spending United States keep spike customer demand coronavirus pandemic shutdown company hired 100000 employee last month alone want hire 75000 videoconferencing chat service bingewatching that’s maintaining semblance status quo right depend Amazon Web Services company’s cloud platform profitable arm company worker Amazon really engage crosscompany shut would cripple much commerce still exists bring internet grinding halt every new action question role Amazon play economy condition worker coming fore asked recent action worker Dania Rajendra director antiAmazon coalition Athena said “Amazon’s failure consider need people make corporation function new already worker health crisis Amazon pandemic” coronavirus may highstakes manifestation Amazon’s labor policy need change it’s far first Turning high stake moment worker unity — across border across class line public support — challenge impossible one it’s entirely unprecedented Villasante UNI Global Union point “This labor movement built back worker made difficult decision factory floor supermarkets” belief approaching tipping point “workers afraid virus boss” part Amazon trying reclaim narrative pointing small improvement working condition company’s plan build coronavirus testing facility worker seem saying effort little late Fields impassioned improving condition facility reiterating call paid sick leave got heart workers’ struggle “Bezos’ money money Give u money money It’s ours”Tags Amazon Labor Protest Workers Rights Coronavirus |
1,972 | Event-driven autoscaling of Kubernetes workloads using KEDA | In my previous article, we explored how to use RabbitMQ Extension for Azure Functions. We discussed how to create an Azure Function using RabbitMQ Extension. The function gets triggered when we send a message to a RabbitMQ Queue. We also discussed how to generate a Dockerfile so that we can use it in production environments.
In this article, we will explore how to deploy this function in a Kubernetes cluster and autoscale it using KEDA.
What is KEDA?
KEDA is Kubernetes Event-Driven Autoscaling. KEDA is a lightweight component that determines when a container should be scaled. KEDA works along with Kubernetes’s Horizontal Pod Autoscaler. KEDA can scale any container in Kubernetes from 0 to n based on how many events are waiting to be processed.
KEDA can process Kubernetes Deployments and Jobs. Deployments are a common way to scale the workloads. When there is a long-running task, we have to use Kubernetes Jobs.
Some of the crucial concepts in KEDA are:
Scaling Agent: The primary goal of the Scaling Agent is to activate and deactivate deployments. Metrics Server: The Metrics Server acts as a Kubernetes Metrics Server. Metrics Server sends scaling parameters like Queue Length, Number of messages in a stream to HPA so that HPA can initiate scaling. Scaler: Scalers are responsible for collecting metrics from an event source. The scale handler talks to the scaler to get the event metrics. Depends on the reported event metrics by the scaler, the scale handler scales the deployment or job. Scaler acts as a bridge between KEDA and external event sources. KEDA provides many built-in scalers. Kafka, RabbitMQ, AWS Kinesis, Azure Service Bus, NATS are some of the built-in scales. ScaledObject: ScaledObject is a Kubernetes Custom Resource Definition (CRD). We should deploy a ScaledaObject to scale a Deployment. ScaledObject defines the deployment name, minimum replicas, maximum replicas, metadata for scaler.
Deploy KEDA to the cluster
KEDA provides Helm charts to deploy to the cluster. First, we need to add the Helm repo.
helm repo add kedacore https://kedacore.github.io/charts
helm repo update
Then we need to create a namespace (this is not a mandatory step, you can install KEDA to the default namespace). After that, we can install KEDA using Helm. I suppose you are having Helm 3.
kubectl create namespace keda
helm install keda kedacore/keda --namespace keda
Now we have deployed KEDA to our cluster. We can verify it by getting the pods.
kubectl get pods --namespace=keda
You can see the KEDA operator and metrics server pods are running. Now we need to deploy our function and enable KEDA.
Deploy Azure Function on Kubernetes and enable KEDA
To deploy our Azure Function on Kubernetes, we need to generate the YAML file with Deployment resources. We can manually create the YAML file or use the Azure Functions Core Tools to create the file. We will use the Azur Functions Core Tools to create the file. We can use the func kubernetes command to generate the YAML file. To generate the YAML file, go to the project folder, and run the following command:
func kubernetes deploy --name <name-of-function-deployment> --registry <container-registry-username> --dry-run
This command will create a YAML file and deploy it to the cluster. The name parameter specifies the name of the deployment. The registry parameter specifies the container registry. The registry parameter tells the tool to run a docker build and push the image to the registry/name. Alternatively, you can use image-name to pull an image. The registry and image-name parameters are mutually exclusive. The dry-run parameter will display the YAML. Use output redirection operator to save the content.
func kubernetes deploy --name <name-of-function-deployment> --registry <container-registry-username> --dry-run > func-deployment.yml
This command will generate a Deployment resource, ScaledObject resource, and a Secrets resource. The Secrets resource is generated using the contents in the local.settings.json file. Here is the generated resource definition.
data:
AzureWebJobsStorage: VXNlRGV2ZWxvcG1lbnRTdG9yYWdlPWZhbHNl
FUNCTIONS_WORKER_RUNTIME: ZG90bmV0
RabbitMqConnection: <base64 of RabbitMQ connection string>
apiVersion: v1
kind: Secret
metadata:
name: mqfn
namespace: default
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: mqfn
namespace: default
labels:
app: mqfn
spec:
selector:
matchLabels:
app: mqfn
template:
metadata:
labels:
app: mqfn
spec:
containers:
- name: mqfn
image: <image name>
env:
- name: AzureFunctionsJobHost__functions__0
value: fn
envFrom:
- secretRef:
name: mqfn
---
apiVersion: keda.k8s.io/v1alpha1
kind: ScaledObject
metadata:
name: mqfn
namespace: default
labels:
deploymentName: mqfn
spec:
scaleTargetRef:
deploymentName: mqfn
pollingInterval: 5 # Optional. Default: 30 seconds
cooldownPeriod: 30 # Optional. Default: 300 seconds
minReplicaCount: 0 # Optional, Default 0
maxReplicaCount: 30 # Optional. Default: 100
triggers:
- type: rabbitmq
metadata:
type: rabbitMQTrigger
queueName: sampleq
name: inputMessage
host: RabbitMqConnection
---
We need to make one more change manually to deploy to the cluster. We need to add a metadata queueLength. The queueLength represents the number of messages in the RabbitMQ Queue, the HPA scales pods based on this number. For example, if the queueLength is 10 and there are 30 messages in the RabbitMQ queue, the HPA will scale to 3 pods. Here is the final template.
data:
AzureWebJobsStorage: VXNlRGV2ZWxvcG1lbnRTdG9yYWdlPWZhbHNl
FUNCTIONS_WORKER_RUNTIME: ZG90bmV0
RabbitMqConnection: <base64 of RabbitMQ connection string>
apiVersion: v1
kind: Secret
metadata:
name: mqfn
namespace: default
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: mqfn
namespace: default
labels:
app: mqfn
spec:
selector:
matchLabels:
app: mqfn
template:
metadata:
labels:
app: mqfn
spec:
containers:
- name: mqfn
image: <image name>
env:
- name: AzureFunctionsJobHost__functions__0
value: fn
envFrom:
- secretRef:
name: mqfn
---
apiVersion: keda.k8s.io/v1alpha1
kind: ScaledObject
metadata:
name: mqfn
namespace: default
labels:
deploymentName: mqfn
spec:
scaleTargetRef:
deploymentName: mqfn
pollingInterval: 5 # Optional. Default: 30 seconds
cooldownPeriod: 30 # Optional. Default: 300 seconds
minReplicaCount: 0 # Optional, Default 0
maxReplicaCount: 30 # Optional. Default: 100
triggers:
- type: rabbitmq
metadata:
type: rabbitMQTrigger
queueName: sampleq
name: inputMessage
host: RabbitMqConnection
queueLength : '20'
---
Let’s deploy the function to the cluster.
kubectl apply -f func-deployment.yml
Let’s check the deployment.
kubectl get pods -w
You cannot see the function pod since KEDA scaled it to zero.
Now let’s run the RabbitMQ producer in another command shell to send a message to the queue.
node send.js TemperatureReading 19.2
If everything goes well, you can see the function pod running.
pods creating and terminating
Now we have successfully installed KEDA and deployed a function. Since we send only one message to the RabbitMQ queue, there is only one pod. If you send around 40 messages then the HPA will create 2 pods since our queueLength is 20.
The ScaledObject
Let’s look at the ScledObject in detail and understand it. Given below is our ScaledObject.
apiVersion: keda.k8s.io/v1alpha1
kind: ScaledObject
metadata:
name: mqfn
namespace: default
labels:
deploymentName: mqfn
spec:
scaleTargetRef:
deploymentName: mqfn
pollingInterval: 5 # Optional. Default: 30 seconds
cooldownPeriod: 30 # Optional. Default: 300 seconds
minReplicaCount: 0 # Optional, Default 0
maxReplicaCount: 30 # Optional. Default: 100
triggers:
- type: rabbitmq
metadata:
type: rabbitMQTrigger
queueName: sampleq
name: inputMessage
host: RabbitMqConnection
queueLength : '20'
This object contains apiVersion, kind, metadata as usual. Then comes some of the interesting elements:
scaleTargetRef — tells the HPA which deployment to scale. minReplicaCount — Minimum number of pods to maintain, in our case it is 0 minReplicaCount — Maximum number of pods to create pollingInterval — Polling Interval, how often to contact the event source for new metrics. We should select the value judiciously, otherwise, there will be a performance hit. cooldownPeriod — Cool Down period specifies how long the system should wait before terminating the pod. type — Type specifies the scaler, in our case it is rabbitmq. metadata — Metadata is scaler specific, it will be passed on to the selected scalar.
In the next article, we will explore how to create a custom scaler. | https://medium.com/swlh/event-driven-autoscaling-of-kubernetes-workloads-using-keda-12524f8ade3 | ['Krishnaraj Varma'] | 2020-05-20 13:00:27.202000+00:00 | ['Keda', 'Kubernetes', 'Azure Functions', 'Rabbitmq', 'Event Driven Architecture'] | Title Eventdriven autoscaling Kubernetes workload using KEDAContent previous article explored use RabbitMQ Extension Azure Functions discussed create Azure Function using RabbitMQ Extension function get triggered send message RabbitMQ Queue also discussed generate Dockerfile use production environment article explore deploy function Kubernetes cluster autoscale using KEDA KEDA KEDA Kubernetes EventDriven Autoscaling KEDA lightweight component determines container scaled KEDA work along Kubernetes’s Horizontal Pod Autoscaler KEDA scale container Kubernetes 0 n based many event waiting processed KEDA process Kubernetes Deployments Jobs Deployments common way scale workload longrunning task use Kubernetes Jobs crucial concept KEDA Scaling Agent primary goal Scaling Agent activate deactivate deployment Metrics Server Metrics Server act Kubernetes Metrics Server Metrics Server sends scaling parameter like Queue Length Number message stream HPA HPA initiate scaling Scaler Scalers responsible collecting metric event source scale handler talk scaler get event metric Depends reported event metric scaler scale handler scale deployment job Scaler act bridge KEDA external event source KEDA provides many builtin scaler Kafka RabbitMQ AWS Kinesis Azure Service Bus NATS builtin scale ScaledObject ScaledObject Kubernetes Custom Resource Definition CRD deploy ScaledaObject scale Deployment ScaledObject defines deployment name minimum replica maximum replica metadata scaler Deploy KEDA cluster KEDA provides Helm chart deploy cluster First need add Helm repo helm repo add kedacore httpskedacoregithubiocharts helm repo update need create namespace mandatory step install KEDA default namespace install KEDA using Helm suppose Helm 3 kubectl create namespace keda helm install keda kedacorekeda namespace keda deployed KEDA cluster verify getting pod kubectl get pod namespacekeda see KEDA operator metric server pod running need deploy function enable KEDA Deploy Azure Function Kubernetes enable KEDA deploy Azure Function Kubernetes need generate YAML file Deployment resource manually create YAML file use Azure Functions Core Tools create file use Azur Functions Core Tools create file use func kubernetes command generate YAML file generate YAML file go project folder run following command func kubernetes deploy name nameoffunctiondeployment registry containerregistryusername dryrun command create YAML file deploy cluster name parameter specifies name deployment registry parameter specifies container registry registry parameter tell tool run docker build push image registryname Alternatively use imagename pull image registry imagename parameter mutually exclusive dryrun parameter display YAML Use output redirection operator save content func kubernetes deploy name nameoffunctiondeployment registry containerregistryusername dryrun funcdeploymentyml command generate Deployment resource ScaledObject resource Secrets resource Secrets resource generated using content localsettingsjson file generated resource definition data AzureWebJobsStorage VXNlRGV2ZWxvcG1lbnRTdG9yYWdlPWZhbHNl FUNCTIONSWORKERRUNTIME ZG90bmV0 RabbitMqConnection base64 RabbitMQ connection string apiVersion v1 kind Secret metadata name mqfn namespace default apiVersion appsv1 kind Deployment metadata name mqfn namespace default label app mqfn spec selector matchLabels app mqfn template metadata label app mqfn spec container name mqfn image image name env name AzureFunctionsJobHostfunctions0 value fn envFrom secretRef name mqfn apiVersion kedak8siov1alpha1 kind ScaledObject metadata name mqfn namespace default label deploymentName mqfn spec scaleTargetRef deploymentName mqfn pollingInterval 5 Optional Default 30 second cooldownPeriod 30 Optional Default 300 second minReplicaCount 0 Optional Default 0 maxReplicaCount 30 Optional Default 100 trigger type rabbitmq metadata type rabbitMQTrigger queueName sampleq name inputMessage host RabbitMqConnection need make one change manually deploy cluster need add metadata queueLength queueLength represents number message RabbitMQ Queue HPA scale pod based number example queueLength 10 30 message RabbitMQ queue HPA scale 3 pod final template data AzureWebJobsStorage VXNlRGV2ZWxvcG1lbnRTdG9yYWdlPWZhbHNl FUNCTIONSWORKERRUNTIME ZG90bmV0 RabbitMqConnection base64 RabbitMQ connection string apiVersion v1 kind Secret metadata name mqfn namespace default apiVersion appsv1 kind Deployment metadata name mqfn namespace default label app mqfn spec selector matchLabels app mqfn template metadata label app mqfn spec container name mqfn image image name env name AzureFunctionsJobHostfunctions0 value fn envFrom secretRef name mqfn apiVersion kedak8siov1alpha1 kind ScaledObject metadata name mqfn namespace default label deploymentName mqfn spec scaleTargetRef deploymentName mqfn pollingInterval 5 Optional Default 30 second cooldownPeriod 30 Optional Default 300 second minReplicaCount 0 Optional Default 0 maxReplicaCount 30 Optional Default 100 trigger type rabbitmq metadata type rabbitMQTrigger queueName sampleq name inputMessage host RabbitMqConnection queueLength 20 Let’s deploy function cluster kubectl apply f funcdeploymentyml Let’s check deployment kubectl get pod w cannot see function pod since KEDA scaled zero let’s run RabbitMQ producer another command shell send message queue node sendjs TemperatureReading 192 everything go well see function pod running pod creating terminating successfully installed KEDA deployed function Since send one message RabbitMQ queue one pod send around 40 message HPA create 2 pod since queueLength 20 ScaledObject Let’s look ScledObject detail understand Given ScaledObject apiVersion kedak8siov1alpha1 kind ScaledObject metadata name mqfn namespace default label deploymentName mqfn spec scaleTargetRef deploymentName mqfn pollingInterval 5 Optional Default 30 second cooldownPeriod 30 Optional Default 300 second minReplicaCount 0 Optional Default 0 maxReplicaCount 30 Optional Default 100 trigger type rabbitmq metadata type rabbitMQTrigger queueName sampleq name inputMessage host RabbitMqConnection queueLength 20 object contains apiVersion kind metadata usual come interesting element scaleTargetRef — tell HPA deployment scale minReplicaCount — Minimum number pod maintain case 0 minReplicaCount — Maximum number pod create pollingInterval — Polling Interval often contact event source new metric select value judiciously otherwise performance hit cooldownPeriod — Cool period specifies long system wait terminating pod type — Type specifies scaler case rabbitmq metadata — Metadata scaler specific passed selected scalar next article explore create custom scalerTags Keda Kubernetes Azure Functions Rabbitmq Event Driven Architecture |
1,973 | How Authors Can Test Their Writing Before Publishing | How Authors Can Test Their Writing Before Publishing
Building a following and getting eyes on your writing before you publish
Photo by Siora Photography on Unsplash
As authorpreneurs, we understand the impact an audience has on our success. We want to make sure we are delivering content that people want to read.
But what happens when you’re a new author and haven’t published yet? Maybe you’ve adopted a pen name to write in a different genre, or maybe you haven’t quite found that sweet spot. You aren’t sure how to cater to your audience the right way.
Testing your work before publishing is a great way to understand what your audience wants and what they are willing to buy from you.
Fear not! If you don’t have a mailing list or an audience yet, these tips are still extremely helpful for building a following and growing your readership.
Start a blog
The age old solution to building a mailing list or getting eyes on your work is posting on a blog. Fiction or non-fiction, blog writing is a great way to practice some SEO strategies and get some authentic page reads. Non-fiction writers have the upper hand with blogs — writing about their topic and establishing themselves as a thought-leader on the subject.
Fiction writers can still benefit from blogging, but don’t let it take away from the important work — writing fiction. You can even write your book via blog posts for each chapter. You’ll gain some interest, and if you don’t share all of your work, you can have an audience ready to purchase your book so they can figure out the ending.
Make sure you have a clear call to action in each post. Give them a link to your mailing list and encourage sign ups. Promise a few extra chapters if they sign up for your mailing list or give them a small freebie to keep them interested. Make it worth their while.
Share on Medium
Another great place to get eyes on your work is through Medium. While there is a price tag subscription, you’re reaching an audience that is actively looking for your kind of work. Fiction is less prominent on the site, but it’s a great way to establish yourself and grow your talents. You can learn a lot on the site, and it’s always worth the investment to improve your skills.
Create on Patreon
While this is incredibly useful if you already have an audience, it’s also a great way to connect with your fans and keep them interested in your work. Offer some chapters or stories for free, show some behind-the-scenes material, and give your fans something extra for following along and paying you. There are tons of ways to post for free but you can also offer premium content like free books in the future, extra stories, or exclusive first-looks at material.
Post on Wattpad
While you have to work to grow readers on Wattpad, this is a great place to test out your chapters and get some feedback. Most people on Wattpad are avid readers and writers, so they are always looking for new content. Plus, with a fiction focus, you can test out your chapters and specifically ask for comments and feedback. There are also several groups that offer reading and comment swaps so you can actually get feedback from people who are searching for it themselves.
You can offer bonus content on Wattpad like different perspectives, or you can test out new story ideas. Post a few chapters and ask if people are interested in the story, the things they like or dislike, and whether they think the characters are relatable. Treat it like a pre-beta reader.
Share on Scribophile
With both free and premium options, Scribophile is potentially a step up from Wattpad because the people there are actively working to publish their work. It’s a better model in that you have to give feedback in order to get it. If you haven’t participated in the writing community, you won’t be rewarded with the option to post your work. It’s a good way to develop your review skills as well as study other writing with a specific focus on producing good work rather than just writing and writing and not giving back to the community.
Build a beta reader list
Once again, this is easier if you do have some published work, but you can start to build a beta reader list now. Ideally, you have only a few (3–5) beta readers who are actively looking to give feedback on your work. You get a free community to showcase your work to and ask them for advice or direct them with questions about your work. Test new book ideas with them, share your outline and ask for feedback, and make sure they are within the target market for your story. | https://medium.com/the-winter-writer/how-authors-can-test-their-writing-before-publishing-f78f0c12cd11 | ['Laura Winter'] | 2020-10-30 10:06:55.703000+00:00 | ['Publishing', 'Nonfiction', 'Fiction Writing', 'Authorpreneur', 'Writing'] | Title Authors Test Writing PublishingContent Authors Test Writing Publishing Building following getting eye writing publish Photo Siora Photography Unsplash authorpreneurs understand impact audience success want make sure delivering content people want read happens you’re new author haven’t published yet Maybe you’ve adopted pen name write different genre maybe haven’t quite found sweet spot aren’t sure cater audience right way Testing work publishing great way understand audience want willing buy Fear don’t mailing list audience yet tip still extremely helpful building following growing readership Start blog age old solution building mailing list getting eye work posting blog Fiction nonfiction blog writing great way practice SEO strategy get authentic page read Nonfiction writer upper hand blog — writing topic establishing thoughtleader subject Fiction writer still benefit blogging don’t let take away important work — writing fiction even write book via blog post chapter You’ll gain interest don’t share work audience ready purchase book figure ending Make sure clear call action post Give link mailing list encourage sign ups Promise extra chapter sign mailing list give small freebie keep interested Make worth Share Medium Another great place get eye work Medium price tag subscription you’re reaching audience actively looking kind work Fiction le prominent site it’s great way establish grow talent learn lot site it’s always worth investment improve skill Create Patreon incredibly useful already audience it’s also great way connect fan keep interested work Offer chapter story free show behindthescenes material give fan something extra following along paying ton way post free also offer premium content like free book future extra story exclusive firstlooks material Post Wattpad work grow reader Wattpad great place test chapter get feedback people Wattpad avid reader writer always looking new content Plus fiction focus test chapter specifically ask comment feedback also several group offer reading comment swap actually get feedback people searching offer bonus content Wattpad like different perspective test new story idea Post chapter ask people interested story thing like dislike whether think character relatable Treat like prebeta reader Share Scribophile free premium option Scribophile potentially step Wattpad people actively working publish work It’s better model give feedback order get haven’t participated writing community won’t rewarded option post work It’s good way develop review skill well study writing specific focus producing good work rather writing writing giving back community Build beta reader list easier published work start build beta reader list Ideally 3–5 beta reader actively looking give feedback work get free community showcase work ask advice direct question work Test new book idea share outline ask feedback make sure within target market storyTags Publishing Nonfiction Fiction Writing Authorpreneur Writing |
1,974 | 7 Ways To Get More Energy And Motivation Daily | Be Proactive & Strategic For Maximum Results…
Image Courtesy of Unsplash
Sometimes we get caught up in our own daily lives which may lead to not accomplishing our goals because of lack of energy, focus and even motivation.
Looking for a quick fix in making us feel better can include things that are hurtful to our bodies that could hurt us long-term.
Struggling through days where enough energy is expended, a change has to occur. I started implementing a few things that made me feel better, gave me lots of energy and a ton of motivation in order to complete daily tasks.
Eating The Right Foods
Most fitness experts will tell you that 90% of what you put in your body will change the scope of your health in a positive way.
Eating the right foods is definitely something that you should do to get more energy and subsequently be healthier.
You can start by doing research on the food that you eat and writing a detailed plan out for accountability.
Know that details matter when you are dieting because some grocery products are loaded with sugar and other harmful ingredients.
Image Courtesy of Unsplash
Fruits and vegetables along with plenty of water can be a start for anyone that’s struggling to get their energy back.
Take A Multivitamin That Works For You
For the past 15 years, taking multivitamins seem to give me a lot of energy and I can actually feel when I haven’t taken them as well.
Make sure you consult with your doctor before taking any multivitamins and do some research because you need to know exactly what your body is consuming.
You probably will go through a couple of different brands until you find a multivitamin that works for you. I would suggest making sure that iron is a core ingredient because it seems to correlate with energy.
Adequate Sleep And Rest
It is so important to get proper sleep and rest because it’s the core of having higher energy focus and the start of motivation. I couldn’t imagine anyone being motivated to do anything without adequate sleep.
Naps can be very important too because it allows your body to rest in a short period of time. A quick 1 to 2-hour nap can give you so much energy and relaxation and should make you feel like you can accomplish a lot.
If you sleep with the TV on at night, be sure to get maximum rest and as much silence as possible by turning it off when possible.
Sleep, energy and motivation are compatible with overall adequate rest in order to function properly.
Get Excited About Accomplishing Goals
As you start putting ideas in place, you should get motivated and excited to accomplish anything.
Waking up every morning excited should be your norm because it’s a blessing to be alive and you are one day or maybe even an hour closer to something special.
It can be hard if you don’t go about things the right way but for a person that is confident and understands his or her journey, nothing should stop you from being excited.
Image Courtesy of Unsplash
As you start checking off personal goals (even if they’re small), you should be energized and motivated to getting one step closer to accomplishing your goals.
Daily or Weekly Exercise
Exercising is the one thing that you can do to get more energy. The thing that you must understand about exercise is that it’s a process.
It starts with a plan so just don’t get up and start exercising without structure and approval from your physician.
You don’t have to spend money by getting a gym membership or hiring a personal trainer.
Remember that you can always start stretching and doing that alone is better than zero physical activity.
Be encouraged to implement daily or weekly exercises so you can have a little more pep in your step for energy and motivation.
Avoid Negativity At All Cost
One of the most important ways to get energized and motivated daily is by avoiding negativity at all cost. It can be completely draining and frustrating when someone is constantly being negative towards you.
The reason you should avoid it at all cost is that it can consume you by having self-limited beliefs.
Some people can be extremely toxic but don’t let their ways steer you from your greatness.
Be prepared because some people want you to fail but you shouldn’t adhere to their belief system only yours is important.
Think about all the great people that ever lived especially the ones we look up to. They all had haters, doubters, or just someone that was filled with bad energy.
Image Courtesy of Unsplash
It’s your responsibility to be successful, to be around better people and put yourself in a better position. It’s up to you in order to embrace positivity even from within regardless of how things may appear.
If you are motivated by the negativity of other people, then so be it if that works for you. Always welcome criticism but at the same time reject constant negativity at all costs.
Find Time For Yourself To Reflect
In order to get energized and motivated to do anything, you must find time for yourself to reflect. This can be very helpful to motivate you if you can find time to think about a situation whether its short term or otherwise.
It doesn’t matter if you find time to reflect privately or publicly. People are different and operate independently in their own way according to comfort levels.
Don’t live in a bubble so go out and have some fun in the process. Be safe in a great environment and be responsible but find a reflection point to be proud of at that moment.
Have one of your favorite beverages if that’s your thing. It might be helpful for you to get out of your comfort zone in a celebratory way while reflecting.
Remember this is your only life so make the best of it. Get energized, find your motivation and be happy!
How Do Find More Energy And Motivation In Your Life? | https://medium.com/thrive-global/7-ways-to-get-more-energy-and-motivation-daily-ecdbfa30af58 | ['Andre L. Vaughn'] | 2019-02-05 18:28:05.737000+00:00 | ['Life Lessons', 'Wellness', 'Success', 'Motivation', 'Energy'] | Title 7 Ways Get Energy Motivation DailyContent Proactive Strategic Maximum Results… Image Courtesy Unsplash Sometimes get caught daily life may lead accomplishing goal lack energy focus even motivation Looking quick fix making u feel better include thing hurtful body could hurt u longterm Struggling day enough energy expended change occur started implementing thing made feel better gave lot energy ton motivation order complete daily task Eating Right Foods fitness expert tell 90 put body change scope health positive way Eating right food definitely something get energy subsequently healthier start research food eat writing detailed plan accountability Know detail matter dieting grocery product loaded sugar harmful ingredient Image Courtesy Unsplash Fruits vegetable along plenty water start anyone that’s struggling get energy back Take Multivitamin Works past 15 year taking multivitamin seem give lot energy actually feel haven’t taken well Make sure consult doctor taking multivitamin research need know exactly body consuming probably go couple different brand find multivitamin work would suggest making sure iron core ingredient seems correlate energy Adequate Sleep Rest important get proper sleep rest it’s core higher energy focus start motivation couldn’t imagine anyone motivated anything without adequate sleep Naps important allows body rest short period time quick 1 2hour nap give much energy relaxation make feel like accomplish lot sleep TV night sure get maximum rest much silence possible turning possible Sleep energy motivation compatible overall adequate rest order function properly Get Excited Accomplishing Goals start putting idea place get motivated excited accomplish anything Waking every morning excited norm it’s blessing alive one day maybe even hour closer something special hard don’t go thing right way person confident understands journey nothing stop excited Image Courtesy Unsplash start checking personal goal even they’re small energized motivated getting one step closer accomplishing goal Daily Weekly Exercise Exercising one thing get energy thing must understand exercise it’s process start plan don’t get start exercising without structure approval physician don’t spend money getting gym membership hiring personal trainer Remember always start stretching alone better zero physical activity encouraged implement daily weekly exercise little pep step energy motivation Avoid Negativity Cost One important way get energized motivated daily avoiding negativity cost completely draining frustrating someone constantly negative towards reason avoid cost consume selflimited belief people extremely toxic don’t let way steer greatness prepared people want fail shouldn’t adhere belief system important Think great people ever lived especially one look hater doubter someone filled bad energy Image Courtesy Unsplash It’s responsibility successful around better people put better position It’s order embrace positivity even within regardless thing may appear motivated negativity people work Always welcome criticism time reject constant negativity cost Find Time Reflect order get energized motivated anything must find time reflect helpful motivate find time think situation whether short term otherwise doesn’t matter find time reflect privately publicly People different operate independently way according comfort level Don’t live bubble go fun process safe great environment responsible find reflection point proud moment one favorite beverage that’s thing might helpful get comfort zone celebratory way reflecting Remember life make best Get energized find motivation happy Find Energy Motivation LifeTags Life Lessons Wellness Success Motivation Energy |
1,975 | Growing up in post-Blackout London | It was very pretty and very green. Grass went all the way from the wall right up to the edges of the big, glass building in the middle. It must have been seventy stories high and it sat on top of an old red-brick building, a little bit like the ones near the market, but far bigger. The houses near the market were long and tall, squatting next to each other in rows. This one was much wider, almost as wide as our entire block, but it wouldn’t have been tall without the skyscraper. Grandma once tried to explain to me the difference between a high-rise and a skyscraper, but I hadn’t fully understood what she was saying until that moment. It looked like it could really cut the sky open with its pointed tip. I bet you could see the whole world from the top.
I wondered if perhaps this was the world outside of the city that grandma had told me about. It was difficult to say. The grass did stretch pretty far, but the wall and the city were still on all sides. Maybe this was a bit of the outside but inside the city. I made a mental note to ask her when I got back.
Steps climbed up towards the red-brick house. Steps not stairs, I decided. Each single stair would be much higher than these steps. These steps seemed more decorative than functional. I wondered why the builders even bothered to put them in. It’s not like the families who lived in this house needed to be a little bit higher, they had a skyscraper; and it didn’t look like this road was likely to overflow with toilet water like ours did sometimes. My nose wrinkled instinctively at the memory.
Staring up at the house and the skyscraper on top of it, I felt suddenly uncertain. There didn’t seem to be any papers flying around here. I got the feeling that I shouldn’t just walk into someone’s house without knowing anyone inside. What if they thought I was trying to steal something?
And so, like this, I froze, staring up at the house, one foot stretched out ready to climb the steps into it.
While I had been busy wrestling with my own conscience and the morality of entering a house unannounced, an old lady emerged from between the open doors. She must have been my grandmother’s age, perhaps a little bit older — her hair was whiter but thicker, arranged nicely in a ropey coil around her head, her skin was more wrinkled but also a little lighter, a pale woody beige — as she got closer, her eyes glinted from beneath heavy lids, just like my grandma’s. She smiled and I smiled back.
“Hello,” She said. Her English sounded a little bit like mine, but softer, like someone had rubbed the edges from her words. I pondered this for a moment before hurriedly returning her greeting.
“Hello.”
“What are you doing out here, all alone?” She asked, looking around as though trying to locate someone who might claim me.
“I’m looking for words.” I said, letting my eyes slip away from hers to look at the house once more.
“Words? What kind of words?”
“Hmm, I like long ones best, but it doesn’t really matter.” I admitted, “My grandma can’t write anymore, so I have to find words that we can use to tell stories, otherwise — ” I choked a little, surprised by my own emotion. I swallowed it, annoyed. “Otherwise there will be no stories and that would be sad.” I concluded with a little nod of my head.
“I see…” The old lady looked thoughtful. “Would you mind waiting here one moment? Perhaps I can help you.”
I nodded several times in quick succession to show her I meant it and planted my feet firmly at the base of the steps. I would not be going anywhere.
By the time the old lady returned, I had sat down. The walk had tired me more than I’d thought, my stomach ached with emptiness. I almost hoped that she’d conveniently forgotten my quest for words and had come back instead with something for me to eat. She hadn’t.
“Oh, good.” She said. “You’re still here.”
I stood up hastily, brushing the back of my trousers with one hand.
“Now, I don’t know exactly which kind of words you like, but this — ” My heart almost stopped as she spoke. “Has lots of stories.”
It was a book.
A whole book.
Thick, but not heavy, I held it in my hands as though to judge how many stories might be inside. The outside was shiny black with a blue moon peeking out from behind three big mountains — one tall and two small, just like the big door. Its name was emblazoned in thick silver letters across the top. I sounded them out: S-I-L-M-A-R-I-L-L-I-O-N.
My mouth had fallen open as my finger traced the letters.
The woman gazed down at me with a strange look on her face.
“Is it…” I started, but swallowed the words before they made it out. I tried again. “Is it for… Me?”
“Of course. I read it more than a hundred times, I don’t really need the book anymore.” She smiled, clasping her hands in front of her. “Words are powerful.”
I glanced up sharply.
“The words in this book saved me from many things.”
I looked down again in awe. This book, a real book, was mine.
I opened the first page. Someone had written a message on the inside cover.
Anna… A little piece of home to carry with you wherever you go.
The old lady had already turned and was making her way back up the steps.
“Missus… Are you Anna?” I called up after her.
She turned, smiling. “Yes, that’s me.”
I didn’t want her to go, but I didn’t know how to make her stay. “My name’s Wren, I’m Wren. That’s me.” | https://medium.com/the-open-bookshelf/growing-up-in-post-blackout-london-4b1b07db7d54 | ['Abbey Heffer'] | 2020-05-30 21:37:01.613000+00:00 | ['Writing', 'London', 'World', 'Fiction', 'Books'] | Title Growing postBlackout LondonContent pretty green Grass went way wall right edge big glass building middle must seventy story high sat top old redbrick building little bit like one near market far bigger house near market long tall squatting next row one much wider almost wide entire block wouldn’t tall without skyscraper Grandma tried explain difference highrise skyscraper hadn’t fully understood saying moment looked like could really cut sky open pointed tip bet could see whole world top wondered perhaps world outside city grandma told difficult say grass stretch pretty far wall city still side Maybe bit outside inside city made mental note ask got back Steps climbed towards redbrick house Steps stair decided single stair would much higher step step seemed decorative functional wondered builder even bothered put It’s like family lived house needed little bit higher skyscraper didn’t look like road likely overflow toilet water like sometimes nose wrinkled instinctively memory Staring house skyscraper top felt suddenly uncertain didn’t seem paper flying around got feeling shouldn’t walk someone’s house without knowing anyone inside thought trying steal something like froze staring house one foot stretched ready climb step busy wrestling conscience morality entering house unannounced old lady emerged open door must grandmother’s age perhaps little bit older — hair whiter thicker arranged nicely ropey coil around head skin wrinkled also little lighter pale woody beige — got closer eye glinted beneath heavy lid like grandma’s smiled smiled back “Hello” said English sounded little bit like mine softer like someone rubbed edge word pondered moment hurriedly returning greeting “Hello” “What alone” asked looking around though trying locate someone might claim “I’m looking words” said letting eye slip away look house “Words kind words” “Hmm like long one best doesn’t really matter” admitted “My grandma can’t write anymore find word use tell story otherwise — ” choked little surprised emotion swallowed annoyed “Otherwise story would sad” concluded little nod head “I see…” old lady looked thoughtful “Would mind waiting one moment Perhaps help you” nodded several time quick succession show meant planted foot firmly base step would going anywhere time old lady returned sat walk tired I’d thought stomach ached emptiness almost hoped she’d conveniently forgotten quest word come back instead something eat hadn’t “Oh good” said “You’re still here” stood hastily brushing back trouser one hand “Now don’t know exactly kind word like — ” heart almost stopped spoke “Has lot stories” book whole book Thick heavy held hand though judge many story might inside outside shiny black blue moon peeking behind three big mountain — one tall two small like big door name emblazoned thick silver letter across top sounded SILMARILLION mouth fallen open finger traced letter woman gazed strange look face “Is it…” started swallowed word made tried “Is for… Me” “Of course read hundred time don’t really need book anymore” smiled clasping hand front “Words powerful” glanced sharply “The word book saved many things” looked awe book real book mine opened first page Someone written message inside cover Anna… little piece home carry wherever go old lady already turned making way back step “Missus… Anna” called turned smiling “Yes that’s me” didn’t want go didn’t know make stay “My name’s Wren I’m Wren That’s me”Tags Writing London World Fiction Books |
1,976 | Automating Multi-Environment Kubernetes Virtual Clusters with Google Cloud DNS, Auth0, and Istio 1.0 | Kubernetes supports multiple virtual clusters within the same physical cluster. These virtual clusters are called Namespaces. Namespaces are a way to divide cluster resources between multiple users. Many enterprises use Namespaces to divide the same physical Kubernetes cluster into different virtual software development environments as part of their overall Software Development Lifecycle (SDLC). This practice is commonly used in ‘lower environments’ or ‘non-prod’ (not Production) environments. These environments commonly include Continous Integration and Delivery (CI/CD), Development, Integration, Testing/Quality Assurance (QA), User Acceptance Testing (UAT), Staging, Demo, and Hotfix. Namespaces provide a basic form of what is referred to as soft multi-tenancy.
Generally, the security boundaries and performance requirements between non-prod environments, within the same enterprise, are less restrictive than Production or Disaster Recovery (DR) environments. This allows for multi-tenant environments, while Production and DR are normally single-tenant environments. In order to approximate the performance characteristics of Production, the Performance Testing environment is also often isolated to a single-tenant. A typical enterprise would minimally have a non-prod, performance, production, and DR environment.
Using Namespaces to create virtual separation on the same physical Kubernetes cluster provides enterprises with more efficient use of virtual compute resources, reduces Cloud costs, eases the management burden, and often expedites and simplifies the release process.
Demonstration
In this post, we will re-examine the topic of virtual clusters, similar to the recent post, Managing Applications Across Multiple Kubernetes Environments with Istio: Part 1 and Part 2. We will focus specifically on automating the creation of the virtual clusters on GKE with Istio 1.0, managing the Google Cloud DNS records associated with the cluster’s environments, and enabling both HTTPS and token-based OAuth access to each environment. We will use the Storefront API for our demonstration, featured in the previous three posts, including Building a Microservices Platform with Confluent Cloud, MongoDB Atlas, Istio, and Google Kubernetes Engine.
Source Code
The source code for this post may be found on the gke branch of the storefront-kafka-docker GitHub repository.
https://github.com/garystafford/storefront-kafka-docker.git git clone --branch gke --single-branch --depth 1 --no-tags \
Source code samples in this post are displayed as GitHub Gists, which may not display correctly on all mobile and social media browsers, such as LinkedIn.
This project contains all the code to deploy and configure the GKE cluster and Kubernetes resources.
To follow along, you will need to register your own domain, arrange for an Auth0, or alternative, authentication and authorization service, and obtain an SSL/TLS certificate.
SSL/TLS Wildcard Certificate
In the recent post, Securing Your Istio Ingress Gateway with HTTPS, we examined how to create and apply an SSL/TLS certificate to our GKE cluster, to secure communications. Although we are only creating a non-prod cluster, it is more and more common to use SSL/TLS everywhere, especially in the Cloud. For this post, I have registered a single wildcard certificate, *.api.storefront-demo.com. This certificate will cover the three second-level subdomains associated with the virtual clusters: dev.api.storefront-demo.com, test.api.storefront-demo.com, and uat.api.storefront-demo.com. Setting the environment name, such as dev.* , as the second-level subdomain of my storefront-demo domain, following the first level api.* subdomain, makes the use of a wildcard certificate much easier.
As shown below, my wildcard certificate contains the Subject Name and Subject Alternative Name (SAN) of *.api.storefront-demo.com. For Production, api.storefront-demo.com, I prefer to use a separate certificate.
Create GKE Cluster
With your certificate in hand, create the non-prod Kubernetes cluster. Below, the script creates a minimally-sized, three-node, multi-zone GKE cluster, running on GCP, with Kubernetes Engine cluster version 1.11.5-gke.5 and Istio on GKE version 1.0.3-gke.0. I have enabled the master authorized networks option to secure my GKE cluster master endpoint. For the demo, you can add your own IP address CIDR on line 9 (i.e. 1.2.3.4/32 ), or remove lines 30–31 to remove the restriction (gist).
Lines 16–39: Create a 3-node, multi-zone GKE cluster with Istio;
Line 48: Creates three non-prod Namespaces: dev, test, and uat;
Lines 51–53: Enable Istio automatic sidecar injection within each Namespace;
If successful, the results should look similar to the output, below.
The cluster will contain a pool of three minimally-sized VMs, the Kubernetes nodes.
Deploying Resources
The Istio Gateway and three ServiceEntry resources are the primary resources responsible for routing the traffic from the ingress router to the Services, within the multiple Namespaces. Both of these resource types are new to Istio 1.0 (gist).
Lines 9–16: Port config that only accepts HTTPS traffic on port 443 using TLS;
Lines 18–20: The three subdomains being routed to the non-prod GKE cluster;
Lines 28, 63, 98: The three subdomains being routed to the non-prod GKE cluster;
Lines 39, 47, 65, 74, 82, 90, 109, 117, 125: Routing to FQDN of Storefront API Services within the three Namespaces;
Next, deploy the Istio and Kubernetes resources to the new GKE cluster. For the sake of brevity, we will deploy the same number of instances and the same version of each the three Storefront API services (Accounts, Orders, Fulfillment) to each of the three non-prod environments (dev, test, uat). In reality, you would have varying numbers of instances of each service, and each environment would contain progressive versions of each service, as part of the SDLC of each microservice(gist).
Lines 13–14: Deploy the SSL/TLS certificate and the private key;
Line 17: Deploy the Istio Gateway and three ServiceEntry resources;
Lines 20–22: Deploy the Istio Authentication Policy resources each Namespace;
Lines 26–37: Deploy the same set of resources to the dev, test, and uat Namespaces;
The deployed Storefront API Services should look as follows.
Google Cloud DNS
Next, we need to enable DNS access to the GKE cluster using Google Cloud DNS. According to Google, Cloud DNS is a scalable, reliable and managed authoritative Domain Name System (DNS) service running on the same infrastructure as Google. It has low latency, high availability, and is a cost-effective way to make your applications and services available to your users.
Whenever a new GKE cluster is created, a new Network Load Balancer is also created. By default, the load balancer’s front-end is an external IP address.
Using a forwarding rule, traffic directed at the external IP address is redirected to the load balancer’s back-end. The load balancer’s back-end is comprised of three VM instances, which are the three Kubernete nodes in the GKE cluster.
If you are following along with this post’s demonstration, we will assume you have a domain registered and configured with Google Cloud DNS. I am using the storefront-demo.com domain, which I have used in the last three posts to demonstrate Istio and GKE.
Google Cloud DNS has a fully functional web console, part of the Google Cloud Console. However, using the Cloud DNS web console is impractical in a DevOps CI/CD workflow, where Kubernetes clusters, Namespaces, and Workloads are ephemeral. Therefore we will use the following script. Within the script, we reset the IP address associated with the A records for each non-prod subdomains associated with storefront-demo.com domain (gist).
Lines 23–25: Find the previous load balancer’s front-end IP address;
Lines 27–29: Find the new load balancer’s front-end IP address;
Line 35: Start the Cloud DNS transaction;
Lines 37–47: Add the DNS record changes to the transaction;
Line 49: Execute the Cloud DNS transaction;
The outcome of the script is shown below. Note how changes are executed as part of a transaction, by automatically creating a transaction.yaml file. The file contains the six DNS changes, three additions and three deletions. The command executes the transaction and then deletes the transaction.yaml file.
> sh ./part3_set_cloud_dns.sh Old LB IP Address: 35.193.208.115
New LB IP Address: 35.238.196.231 Transaction started [transaction.yaml]. dev.api.storefront-demo.com.
Record removal appended to transaction at [transaction.yaml].
Record addition appended to transaction at [transaction.yaml]. test.api.storefront-demo.com.
Record removal appended to transaction at [transaction.yaml].
Record addition appended to transaction at [transaction.yaml]. uat.api.storefront-demo.com.
Record removal appended to transaction at [transaction.yaml].
Record addition appended to transaction at [transaction.yaml]. Executed transaction [transaction.yaml] for managed-zone [storefront-demo-com-zone].
Created [https://www.googleapis.com/dns/v1/projects/gke-confluent-atlas/managedZones/storefront-demo-com-zone/changes/53]. ID START_TIME STATUS
55 2019-01-16T04:54:14.984Z pending
Based on my own domain and cluster details, the transaction.yaml file looks as follows. Again, note the six DNS changes, three additions, followed by three deletions (gist).
Confirm DNS Changes
Use the dig command to confirm the DNS records are now correct and that DNS propagation has occurred. The IP address returned by dig should be the external IP address assigned to the front-end of the Google Cloud Load Balancer.
> dig dev.api.storefront-demo.com +short
35.238.196.231
Or, all the three records.
echo \
"dev.api.storefront-demo.com
" \
"test.api.storefront-demo.com
" \
"uat.api.storefront-demo.com" \
> records.txt | dig -f records.txt +short 35.238.196.231
35.238.196.231
35.238.196.231
Optionally, more verbosely by removing the +short option.
> dig +nocmd dev.api.storefront-demo.com ;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 30763
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1 ;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;dev.api.storefront-demo.com. IN A ;; ANSWER SECTION:
dev.api.storefront-demo.com. 299 IN A 35.238.196.231 ;; Query time: 27 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Wed Jan 16 18:00:49 EST 2019
;; MSG SIZE rcvd: 72
The resulting records in the Google Cloud DNS management console should look as follows.
JWT-based Authentication
As discussed in the previous post, Istio End-User Authentication for Kubernetes using JSON Web Tokens (JWT) and Auth0, it is typical to limit restrict access to the Kubernetes cluster, Namespaces within the cluster, or Services running within Namespaces to end-users, whether they are humans or other applications. In that previous post, we saw an example of applying a machine-to-machine (M2M) Istio Authentication Policy to only the uat Namespace. This scenario is common when you want to control access to resources in non-production environments, such as UAT, to outside test teams, accessing the uat Namespace through an external application. To simulate this scenario, we will apply the following Istio Authentication Policy to the uat Namespace. (gist).
For the dev and test Namespaces, we will apply an additional, different Istio Authentication Policy. This policy will protect against the possibility of dev and test M2M API consumers interfering with uat M2M API consumers and vice-versa. Below is the dev and test version of the Policy (gist).
Testing Authentication
Using Postman, with the ‘Bearer Token’ type authentication method, as detailed in the previous post, a call a Storefront API resource in the uat Namespace should succeed. This also confirms DNS and HTTPS are working properly.
The dev and test Namespaces require different authentication. Trying to use no Authentication, or authenticating as a UAT API consumer, will result in a 401 Unauthorized HTTP status, along with the Origin authentication failed. error message.
Conclusion
In this brief post, we demonstrated how to create a GKE cluster with Istio 1.0.x, containing three virtual clusters, or Namespaces. Each Namespace represents an environment, which is part of an application’s SDLC. We enforced HTTP over TLS (HTTPS) using a wildcard SSL/TLS certificate. We also enforced end-user authentication using JWT-based OAuth 2.0 with Auth0. Lastly, we provided user-friendly DNS routing to each environment, using Google Cloud DNS. Short of a fully managed API Gateway, like Apigee, and automating the execution of the scripts with Jenkins or Spinnaker, this cluster is ready to provide a functional path to Production for developing our Storefront API.
All opinions expressed in this post are my own and not necessarily the views of my current or past employers or their clients.
Originally published at programmaticponderings.com on January 12, 2019. | https://garystafford.medium.com/automating-multi-environment-kubernetes-virtual-clusters-with-cloud-dns-and-istio-885e598b345b | ['Gary A. Stafford'] | 2019-01-20 19:17:14.407000+00:00 | ['Istio', 'Google Cloud Platform', 'Kubernetes', 'Microservices', 'Cloud Native'] | Title Automating MultiEnvironment Kubernetes Virtual Clusters Google Cloud DNS Auth0 Istio 10Content Kubernetes support multiple virtual cluster within physical cluster virtual cluster called Namespaces Namespaces way divide cluster resource multiple user Many enterprise use Namespaces divide physical Kubernetes cluster different virtual software development environment part overall Software Development Lifecycle SDLC practice commonly used ‘lower environments’ ‘nonprod’ Production environment environment commonly include Continous Integration Delivery CICD Development Integration TestingQuality Assurance QA User Acceptance Testing UAT Staging Demo Hotfix Namespaces provide basic form referred soft multitenancy Generally security boundary performance requirement nonprod environment within enterprise le restrictive Production Disaster Recovery DR environment allows multitenant environment Production DR normally singletenant environment order approximate performance characteristic Production Performance Testing environment also often isolated singletenant typical enterprise would minimally nonprod performance production DR environment Using Namespaces create virtual separation physical Kubernetes cluster provides enterprise efficient use virtual compute resource reduces Cloud cost eas management burden often expedites simplifies release process Demonstration post reexamine topic virtual cluster similar recent post Managing Applications Across Multiple Kubernetes Environments Istio Part 1 Part 2 focus specifically automating creation virtual cluster GKE Istio 10 managing Google Cloud DNS record associated cluster’s environment enabling HTTPS tokenbased OAuth access environment use Storefront API demonstration featured previous three post including Building Microservices Platform Confluent Cloud MongoDB Atlas Istio Google Kubernetes Engine Source Code source code post may found gke branch storefrontkafkadocker GitHub repository httpsgithubcomgarystaffordstorefrontkafkadockergit git clone branch gke singlebranch depth 1 notags Source code sample post displayed GitHub Gists may display correctly mobile social medium browser LinkedIn project contains code deploy configure GKE cluster Kubernetes resource follow along need register domain arrange Auth0 alternative authentication authorization service obtain SSLTLS certificate SSLTLS Wildcard Certificate recent post Securing Istio Ingress Gateway HTTPS examined create apply SSLTLS certificate GKE cluster secure communication Although creating nonprod cluster common use SSLTLS everywhere especially Cloud post registered single wildcard certificate apistorefrontdemocom certificate cover three secondlevel subdomains associated virtual cluster devapistorefrontdemocom testapistorefrontdemocom uatapistorefrontdemocom Setting environment name dev secondlevel subdomain storefrontdemo domain following first level api subdomain make use wildcard certificate much easier shown wildcard certificate contains Subject Name Subject Alternative Name SAN apistorefrontdemocom Production apistorefrontdemocom prefer use separate certificate Create GKE Cluster certificate hand create nonprod Kubernetes cluster script creates minimallysized threenode multizone GKE cluster running GCP Kubernetes Engine cluster version 1115gke5 Istio GKE version 103gke0 enabled master authorized network option secure GKE cluster master endpoint demo add IP address CIDR line 9 ie 123432 remove line 30–31 remove restriction gist Lines 16–39 Create 3node multizone GKE cluster Istio Line 48 Creates three nonprod Namespaces dev test uat Lines 51–53 Enable Istio automatic sidecar injection within Namespace successful result look similar output cluster contain pool three minimallysized VMs Kubernetes node Deploying Resources Istio Gateway three ServiceEntry resource primary resource responsible routing traffic ingres router Services within multiple Namespaces resource type new Istio 10 gist Lines 9–16 Port config accepts HTTPS traffic port 443 using TLS Lines 18–20 three subdomains routed nonprod GKE cluster Lines 28 63 98 three subdomains routed nonprod GKE cluster Lines 39 47 65 74 82 90 109 117 125 Routing FQDN Storefront API Services within three Namespaces Next deploy Istio Kubernetes resource new GKE cluster sake brevity deploy number instance version three Storefront API service Accounts Orders Fulfillment three nonprod environment dev test uat reality would varying number instance service environment would contain progressive version service part SDLC microservicegist Lines 13–14 Deploy SSLTLS certificate private key Line 17 Deploy Istio Gateway three ServiceEntry resource Lines 20–22 Deploy Istio Authentication Policy resource Namespace Lines 26–37 Deploy set resource dev test uat Namespaces deployed Storefront API Services look follows Google Cloud DNS Next need enable DNS access GKE cluster using Google Cloud DNS According Google Cloud DNS scalable reliable managed authoritative Domain Name System DNS service running infrastructure Google low latency high availability costeffective way make application service available user Whenever new GKE cluster created new Network Load Balancer also created default load balancer’s frontend external IP address Using forwarding rule traffic directed external IP address redirected load balancer’s backend load balancer’s backend comprised three VM instance three Kubernete node GKE cluster following along post’s demonstration assume domain registered configured Google Cloud DNS using storefrontdemocom domain used last three post demonstrate Istio GKE Google Cloud DNS fully functional web console part Google Cloud Console However using Cloud DNS web console impractical DevOps CICD workflow Kubernetes cluster Namespaces Workloads ephemeral Therefore use following script Within script reset IP address associated record nonprod subdomains associated storefrontdemocom domain gist Lines 23–25 Find previous load balancer’s frontend IP address Lines 27–29 Find new load balancer’s frontend IP address Line 35 Start Cloud DNS transaction Lines 37–47 Add DNS record change transaction Line 49 Execute Cloud DNS transaction outcome script shown Note change executed part transaction automatically creating transactionyaml file file contains six DNS change three addition three deletion command executes transaction deletes transactionyaml file sh part3setclouddnssh Old LB IP Address 35193208115 New LB IP Address 35238196231 Transaction started transactionyaml devapistorefrontdemocom Record removal appended transaction transactionyaml Record addition appended transaction transactionyaml testapistorefrontdemocom Record removal appended transaction transactionyaml Record addition appended transaction transactionyaml uatapistorefrontdemocom Record removal appended transaction transactionyaml Record addition appended transaction transactionyaml Executed transaction transactionyaml managedzone storefrontdemocomzone Created httpswwwgoogleapiscomdnsv1projectsgkeconfluentatlasmanagedZonesstorefrontdemocomzonechanges53 ID STARTTIME STATUS 55 20190116T045414984Z pending Based domain cluster detail transactionyaml file look follows note six DNS change three addition followed three deletion gist Confirm DNS Changes Use dig command confirm DNS record correct DNS propagation occurred IP address returned dig external IP address assigned frontend Google Cloud Load Balancer dig devapistorefrontdemocom short 35238196231 three record echo devapistorefrontdemocom testapistorefrontdemocom uatapistorefrontdemocom recordstxt dig f recordstxt short 35238196231 35238196231 35238196231 Optionally verbosely removing short option dig nocmd devapistorefrontdemocom Got answer HEADER opcode QUERY status NOERROR id 30763 flag qr rd ra QUERY 1 ANSWER 1 AUTHORITY 0 ADDITIONAL 1 OPT PSEUDOSECTION EDNS version 0 flag udp 512 QUESTION SECTION devapistorefrontdemocom ANSWER SECTION devapistorefrontdemocom 299 35238196231 Query time 27 msec SERVER 8888538888 Wed Jan 16 180049 EST 2019 MSG SIZE rcvd 72 resulting record Google Cloud DNS management console look follows JWTbased Authentication discussed previous post Istio EndUser Authentication Kubernetes using JSON Web Tokens JWT Auth0 typical limit restrict access Kubernetes cluster Namespaces within cluster Services running within Namespaces endusers whether human application previous post saw example applying machinetomachine M2M Istio Authentication Policy uat Namespace scenario common want control access resource nonproduction environment UAT outside test team accessing uat Namespace external application simulate scenario apply following Istio Authentication Policy uat Namespace gist dev test Namespaces apply additional different Istio Authentication Policy policy protect possibility dev test M2M API consumer interfering uat M2M API consumer viceversa dev test version Policy gist Testing Authentication Using Postman ‘Bearer Token’ type authentication method detailed previous post call Storefront API resource uat Namespace succeed also confirms DNS HTTPS working properly dev test Namespaces require different authentication Trying use Authentication authenticating UAT API consumer result 401 Unauthorized HTTP status along Origin authentication failed error message Conclusion brief post demonstrated create GKE cluster Istio 10x containing three virtual cluster Namespaces Namespace represents environment part application’s SDLC enforced HTTP TLS HTTPS using wildcard SSLTLS certificate also enforced enduser authentication using JWTbased OAuth 20 Auth0 Lastly provided userfriendly DNS routing environment using Google Cloud DNS Short fully managed API Gateway like Apigee automating execution script Jenkins Spinnaker cluster ready provide functional path Production developing Storefront API opinion expressed post necessarily view current past employer client Originally published programmaticponderingscom January 12 2019Tags Istio Google Cloud Platform Kubernetes Microservices Cloud Native |
1,977 | 4 Unique Traits of an Extremely Likable Person | 1. Be curious and ask interesting questions.
According to several studies published in the Greater Good Science Center, curious people have better relationships. The research suggests that people who are curious are “often viewed in social encounters as more interesting and engaging and they are more apt to reach out to a wider variety of people.”
As a result, people are naturally drawn to others who display a sense of curiosity. They are seen as more confident and ultimately, more attractive.
Next time you meet someone new, instead of asking them the typical “what do you do for a living?”, hit them up with some open-ended questions that will lead to a more interesting conversation. Ask them what the highlight of their day was or what their dream job was growing up.
Note: Of course, you may have to ask some basic questions to build some rapport initially. But once you move past that, you can dive into deeper questions that may provoke a more engaging interaction.
2. Acknowledge others and always use their name.
We don’t really think much about names, but using them often actually makes other people feel more important.
If you don’t believe me, try using this at work more often this week and see how others react to you.
The other person will most certainly pick up on this and with every mention of their name, they will naturally turn towards you and remember how you made them feel. It will create a good impression on that person and naturally create a more positive bond between you two.
Another important thing is remembering other details about their lives that they have shared with you previously, like the names of their partner or what they did over the weekend.
3. Describe other people in a positive way.
Research has found that when it comes to winning people over, speaking positively of others makes you a more likable person. It puts other people at ease and shows that you are kind and non-judgemental.
Positivity is contagious. Try acting positive around people and you’ll find that they’ll tend to become more positive too.
So smile more, tell jokes and be enthusiastic around others. They will most likely walk away with a warm and fuzzy feeling that they will pass onto somebody else.
4. Mirror body language and speech patterns.
Mirroring is a social phenomenon where people mimic another person’s body language or terms that they use. It’s often subconscious but can be very powerful to showing comfort, trust and empathy.
By repeating back what people say, we are showing them that we understand them and that we are listening. It is a way to step into somebody else’s shoes and see things from their perspective.
Politicians are actually fluent in mirroring and go through intensive training to get as good as they are. It is a powerful tool in communication and helps us genuinely connect with other people. | https://medium.com/the-partnered-pen/4-unique-traits-of-an-extremely-likable-person-9facb92d2608 | ['Katy Velvet'] | 2020-12-14 07:25:22.903000+00:00 | ['Self Improvement', 'Relationships', 'Life Lessons', 'Psychology', 'Mental Health'] | Title 4 Unique Traits Extremely Likable PersonContent 1 curious ask interesting question According several study published Greater Good Science Center curious people better relationship research suggests people curious “often viewed social encounter interesting engaging apt reach wider variety people” result people naturally drawn others display sense curiosity seen confident ultimately attractive Next time meet someone new instead asking typical “what living” hit openended question lead interesting conversation Ask highlight day dream job growing Note course may ask basic question build rapport initially move past dive deeper question may provoke engaging interaction 2 Acknowledge others always use name don’t really think much name using often actually make people feel important don’t believe try using work often week see others react person certainly pick every mention name naturally turn towards remember made feel create good impression person naturally create positive bond two Another important thing remembering detail life shared previously like name partner weekend 3 Describe people positive way Research found come winning people speaking positively others make likable person put people ease show kind nonjudgemental Positivity contagious Try acting positive around people you’ll find they’ll tend become positive smile tell joke enthusiastic around others likely walk away warm fuzzy feeling pas onto somebody else 4 Mirror body language speech pattern Mirroring social phenomenon people mimic another person’s body language term use It’s often subconscious powerful showing comfort trust empathy repeating back people say showing understand listening way step somebody else’s shoe see thing perspective Politicians actually fluent mirroring go intensive training get good powerful tool communication help u genuinely connect peopleTags Self Improvement Relationships Life Lessons Psychology Mental Health |
1,978 | This One Silly Notebook Will Unlock 50% More of Your Hidden Potential | This One Silly Notebook Will Unlock 50% More of Your Hidden Potential
I uncovered this gem by accident
Photo by Debby Hudson on Unsplash
I’m a content junkie. I read 100 books a year. I watch hundreds of hours of YouTube videos and thousands of hours of audio. Most of what goes in doesn’t stick. I do other things while I consume much of this content.
…but sometimes you get a lightning bolt.
This story is one of those. Now I share it with you. This is the story of one silly notebook.
As a fairly far-introvert (no idea what to call it… severe, left of center… who knows), I live in my head a lot. I juggle ideas constantly. I’ve got 50 balls in the air. I drop them a lot. Thoughts come and go. Sometimes I capture the best ones.
But the endless thinking is distracting from life.
It’s hard to be fully-present when you’re always thinking. Hell, as I write this, I’ve got Henry Miller’s Tropic of Cancer in my ears (on double-speed). I know I have a content problem, but the more I stuff-in the more fantastic ideas that come out. Even if I only absorb 10% of the stuff I consume.
I don’t recommend what I do. I do it so you don’t have to. I consume an insane amount of stuff, so I can stay fresh and innovative.
…but I didn’t know about the notebook.
I love paper notebooks. While I use my phone a lot, if I need to work through an idea, the first place I turn, is paper. I’ve got notebooks everywhere. Every time I go to a store, the first place I visit is the office supply section.
This notebook isn’t any notebook.
Some call it a distraction journal. I found it watching a YouTube video on productivity… or something. I don’t remember. I got distracted.
I named my notebook the ‘Squirrel Notebook’ (for obvious reasons).
I’ve got a squirrel’s attention span. It doesn’t take much to grab my attention and yank me from my working mind.
The idea is that you keep the Squirrel Notebook on your lap as you consume content. There are no rules for the notebook. No format. This isn’t some bullet journal with all the bells and a whistle. This is a date and whatever comes to mind.
The conscious mind — the present, listening one, is the weak part of our brain.
The subconscious — that secret, bigger part, is the workhorse of our brain. The Squirrel Notebook helps us access this idea-generating part of the brain.
As you consume content (read, watch, listen), your mind will occasionally wander. If you’ve got my mind there’s more wander than attention-payment. Every time you get a little wander, tune-in instead of tune-out. If you get an idea that might be worth something, write it down. If you forgot something on the grocery list, write it. If you have a new story idea, write it.
Draw little pictures
Use arrows and codes if you want
Scribble the idea as fast as you can and return to your content
I’ve found by using my Squirrel Notebook as an idea dustpan, it allows me to get all those distracted thoughts from my melon, so I can return-focus to the content at hand.
By allowing myself the moment of distraction I’m more-focused.
AND I get to keep all those ideas for later, instead of trying to juggle them in my head.
This week alone, my Squirrel Notebook helped me uncover a few game-changing ideas for my publishing business.
I’m willing to bet the same will happen for you.
If you’re into notebooks like me, you probably dictate certain purposes for each. You can’t take a certain note in a book designed for a different purpose. Not so with the Squirrel Notebook. It’s a catch-all.
I date the spine so I have some idea of the idea-span, should I need it later, but beyond that, the Squirrel Notebook is a free-for-all.
What happens to the good ideas?
You curate later.
If you want to develop an idea further, you can move it to the proper location. Or, you can allow the idea to marinate a few months. The best ideas return.
Try the Squirrel Notebook.
You’ve got my permission to write anything you want. While I can’t guarantee you’ll get exactly 50% more hidden potential, you might get 200% more.
I’ve got something. Just for you… I want to invite you inside the fence.
When you build a tribe around your best work, even if you’re starting-out, you’ve got an instant audience when you’re ready to fly. No matter what kind of work you create. I want you inside the fence, but you’ve got to move fast, so I can shut the gate behind you.
Therefor, I built a free email masterclass for you. I hand-crafted the whole thing. It took me a couple months. I call the masterclass the Tribe 1K.
I’ll show you how to get your first 1,000 (or your next 1,000) readers without spending a hot nickel on ads. Past students include New York Times bestselling authors. Yep, the ones you see in the bookstore.
Your email list will help you build a legacy creative business.
If you want to grow your creative business you need email before you lose that valuable reader’s attention. Start your list before you need one. Once you need a list it’s almost too late.
Tap the link.
Guarantee your seat before I start to charge an enrollment fee.
We’re waiting for you. | https://medium.com/the-book-mechanic/this-one-silly-notebook-will-unlock-50-more-of-your-hidden-potential-fbe4c3839f30 | ['August Birch'] | 2020-12-16 15:59:04.994000+00:00 | ['Self Improvement', 'Productivity', 'Life Lessons', 'Writing', 'Life'] | Title One Silly Notebook Unlock 50 Hidden PotentialContent One Silly Notebook Unlock 50 Hidden Potential uncovered gem accident Photo Debby Hudson Unsplash I’m content junkie read 100 book year watch hundred hour YouTube video thousand hour audio go doesn’t stick thing consume much content …but sometimes get lightning bolt story one share story one silly notebook fairly farintrovert idea call it… severe left center… know live head lot juggle idea constantly I’ve got 50 ball air drop lot Thoughts come go Sometimes capture best one endless thinking distracting life It’s hard fullypresent you’re always thinking Hell write I’ve got Henry Miller’s Tropic Cancer ear doublespeed know content problem stuffin fantastic idea come Even absorb 10 stuff consume don’t recommend don’t consume insane amount stuff stay fresh innovative …but didn’t know notebook love paper notebook use phone lot need work idea first place turn paper I’ve got notebook everywhere Every time go store first place visit office supply section notebook isn’t notebook call distraction journal found watching YouTube video productivity… something don’t remember got distracted named notebook ‘Squirrel Notebook’ obvious reason I’ve got squirrel’s attention span doesn’t take much grab attention yank working mind idea keep Squirrel Notebook lap consume content rule notebook format isn’t bullet journal bell whistle date whatever come mind conscious mind — present listening one weak part brain subconscious — secret bigger part workhorse brain Squirrel Notebook help u access ideagenerating part brain consume content read watch listen mind occasionally wander you’ve got mind there’s wander attentionpayment Every time get little wander tunein instead tuneout get idea might worth something write forgot something grocery list write new story idea write Draw little picture Use arrow code want Scribble idea fast return content I’ve found using Squirrel Notebook idea dustpan allows get distracted thought melon returnfocus content hand allowing moment distraction I’m morefocused get keep idea later instead trying juggle head week alone Squirrel Notebook helped uncover gamechanging idea publishing business I’m willing bet happen you’re notebook like probably dictate certain purpose can’t take certain note book designed different purpose Squirrel Notebook It’s catchall date spine idea ideaspan need later beyond Squirrel Notebook freeforall happens good idea curate later want develop idea move proper location allow idea marinate month best idea return Try Squirrel Notebook You’ve got permission write anything want can’t guarantee you’ll get exactly 50 hidden potential might get 200 I’ve got something you… want invite inside fence build tribe around best work even you’re startingout you’ve got instant audience you’re ready fly matter kind work create want inside fence you’ve got move fast shut gate behind Therefor built free email masterclass handcrafted whole thing took couple month call masterclass Tribe 1K I’ll show get first 1000 next 1000 reader without spending hot nickel ad Past student include New York Times bestselling author Yep one see bookstore email list help build legacy creative business want grow creative business need email lose valuable reader’s attention Start list need one need list it’s almost late Tap link Guarantee seat start charge enrollment fee We’re waiting youTags Self Improvement Productivity Life Lessons Writing Life |
1,979 | Use Google Fonts for Machine Learning (Part 1: Annotation) | The first time I tried to learn machine learning a few years ago, I felt miserable. I had a hard time installing dependencies, let alone understanding any basic machine learning algorithms. Fast forward to 2020, with more time at home, I decided to give ML another try. This time, it was much easier to find friendly learning resources and tools. Thanks to Tensorflow/Keras, Kaggle, Youtube, and the likes, I was finally able to understand the basics enough to do some experiments of my own.
A quick experiment with GAN trained on Google Fonts. Image by Author.
One thing I really wanted to try and learn was to train Generative Adversarial Network models with fonts. Working with the simple MNIST hand-written digits is fun at the beginning, but I wanted to create or curate my own dataset to continue with the experiments. What better place to find lots of free fonts than Google Fonts? This will give me more control over the dataset and the ability to create high-resolution images (MNIST is only 28x28 pixels). It also comes with helpful annotations for each font family. Here, I would like to share my experience so far starting with downloading and managing thousands of Google Fonts and generating PNG images of each glyph. If you are experienced, this may seem too easy, but for someone like me who is just starting a journey in ML, I hope my post will be a little bit useful. This post is a documentation of my learning process.
Download Google Fonts and JSON Annotations
If you go to Google Fonts Github repository, they conveniently provide a zip archive (click to download) that includes all the font files (TTF), but I noticed that this zip archive is not always up to date. Instead, we can simply clone the entire Github repo from your terminal. This should give you the most up-to-date list of fonts. If you don’t want to go the Terminal route, find the green Code button to download the repo as a zip file.
If you simply want to use the whole archive to do experiments, this will be enough, but I will use Google Fonts API to get a bit more information about each font in the list. Follow this link to the Google Fonts Developer API. You will need to get a free API KEY to download the JSON file, which we will use for the rest of this post.
https://www.googleapis.com/webfonts/v1/webfonts?key=YOUR-API-KEY
Although we may not use the JSON directly in the model training (say, GANs), we can easily and quickly extract useful information about thousands of fonts such as what weights, styles, subsets are supported in each font family.
Setup Jupyter Notebook
I will treat this post as a Jupyter notebook, so if you want to follow along, you can open up a new notebook in your own environment, and run each code cell one by one. By the way, I am running Jupyter Lab on a Conda environment on MacbookPro.
Let’s first import the main modules we will be using:
Load JSON Annotations
Let’s first take a look at the JSON data by loading it as pandas.DataFrame. The JSON file has only 2 columns, kind, and items. The kind column doesn’t seem so useful, but the items column has a lot more information. A problem is that it is nested and it is in dict format. We can simply use pd.json_normalize() to flatten the items column.
We can display one of the font families to see it up close.
data.loc[data.family == 'Encode Sans']
Clean Up and Encode Data
I decided that I will not need many of the columns for my machine learning training. The columns that I find particularly interesting are family , variants , subsets and category as these will directly affect the letterforms. Let’s just select these columns.
I am also removing any space from family string because that is how the font files are named. It will make things a bit easier when we later load the file paths.
You may have already noticed that variants and subsets column values are enclosed with square brackets as Python lists. (ex. [regular, 500, 600, 700, 800] ) We will create new columns for each value and assign either 0 or 1 for each font family. This one-hot encoding will make it easy to filter fonts with different conditions. (ie. filter fonts that have regular weights that support Thai character set.) I have tried a few different methods and the Scikit-Learn module gave me the result I needed.
Now, we have separate columns for each variable, and the font families have a value of 0 or 1 for each column depending on whether they support each variable. The variants columns are named 100, 100italic, 200, 200italic, 300, 300italic, etc. which can work just fine, but I wanted to go one step further by renaming them so that it will match the way the font files are named. (ex. Barlow-BlackItalic.ttf instead of Barlow-900italic.ttf) This hand labeling could definitely be improved, but this worked for me anyway.
Export as CSV File
I think our DataFrame is looking pretty good at this point. Let’s export as a CSV file. The numerical index values do not seem to have any significant meaning for our purpose so I decided not to include in the file.
df.to_csv('google-fonts-annotaion.csv', index=False)
What‘s Next
In the next part, we will load this CSV file into another Notebook, and filter the fonts and then generate a bunch of PNG images.
Please let me know if you have any comments or suggestions, and I will see you in the next post. | https://medium.com/the-innovation/use-google-fonts-in-machine-learning-projects-part-1-annotation-7cb6533d4790 | ['Erratic Generator'] | 2020-11-03 19:47:13.600000+00:00 | ['Machine Learning', 'Python', 'Artificial Intelligence', 'Typography', 'Fonts'] | Title Use Google Fonts Machine Learning Part 1 AnnotationContent first time tried learn machine learning year ago felt miserable hard time installing dependency let alone understanding basic machine learning algorithm Fast forward 2020 time home decided give ML another try time much easier find friendly learning resource tool Thanks TensorflowKeras Kaggle Youtube like finally able understand basic enough experiment quick experiment GAN trained Google Fonts Image Author One thing really wanted try learn train Generative Adversarial Network model font Working simple MNIST handwritten digit fun beginning wanted create curate dataset continue experiment better place find lot free font Google Fonts give control dataset ability create highresolution image MNIST 28x28 pixel also come helpful annotation font family would like share experience far starting downloading managing thousand Google Fonts generating PNG image glyph experienced may seem easy someone like starting journey ML hope post little bit useful post documentation learning process Download Google Fonts JSON Annotations go Google Fonts Github repository conveniently provide zip archive click download includes font file TTF noticed zip archive always date Instead simply clone entire Github repo terminal give uptodate list font don’t want go Terminal route find green Code button download repo zip file simply want use whole archive experiment enough use Google Fonts API get bit information font list Follow link Google Fonts Developer API need get free API KEY download JSON file use rest post httpswwwgoogleapiscomwebfontsv1webfontskeyYOURAPIKEY Although may use JSON directly model training say GANs easily quickly extract useful information thousand font weight style subset supported font family Setup Jupyter Notebook treat post Jupyter notebook want follow along open new notebook environment run code cell one one way running Jupyter Lab Conda environment MacbookPro Let’s first import main module using Load JSON Annotations Let’s first take look JSON data loading pandasDataFrame JSON file 2 column kind item kind column doesn’t seem useful item column lot information problem nested dict format simply use pdjsonnormalize flatten item column display one font family see close datalocdatafamily Encode Sans Clean Encode Data decided need many column machine learning training column find particularly interesting family variant subset category directly affect letterforms Let’s select column also removing space family string font file named make thing bit easier later load file path may already noticed variant subset column value enclosed square bracket Python list ex regular 500 600 700 800 create new column value assign either 0 1 font family onehot encoding make easy filter font different condition ie filter font regular weight support Thai character set tried different method ScikitLearn module gave result needed separate column variable font family value 0 1 column depending whether support variable variant column named 100 100italic 200 200italic 300 300italic etc work fine wanted go one step renaming match way font file named ex BarlowBlackItalicttf instead Barlow900italicttf hand labeling could definitely improved worked anyway Export CSV File think DataFrame looking pretty good point Let’s export CSV file numerical index value seem significant meaning purpose decided include file dftocsvgooglefontsannotaioncsv indexFalse What‘s Next next part load CSV file another Notebook filter font generate bunch PNG image Please let know comment suggestion see next postTags Machine Learning Python Artificial Intelligence Typography Fonts |
1,980 | Debugging Rust code on WSL2 | Install Debug Tools
We’ll write a new application to go through the setup steps. You can also clone the application from Github if you don’t want to set it up locally.
cargo init rustapp
cd rustapp
code .
For a linux backend(WSL2 in this case), install the CodeLLDB extension on Visual Studio Code. | https://harsimranmaan.medium.com/debugging-rust-code-on-wsl2-37bdc1aed5cb | ['Harsimran Singh Maan'] | 2020-08-14 01:20:34+00:00 | ['Debugging', 'Vscode', 'Development', 'Productivity', 'Rustlang'] | Title Debugging Rust code WSL2Content Install Debug Tools We’ll write new application go setup step also clone application Github don’t want set locally cargo init rustapp cd rustapp code linux backendWSL2 case install CodeLLDB extension Visual Studio CodeTags Debugging Vscode Development Productivity Rustlang |
1,981 | What I’ve learnt building a Machine Learning project for a medium-sized enterprise | 5 Lessons I’ve Learnt building ML models for enterprise
Photo by Siora Photography on Unsplash
1. Understand your ultimate goal and intermediate milestones
Mistake #1: I was obsessed with the conventional CRISP-DM process and focused too much on the general data mining tasks and deviated from the actual business goal — which was to identify the potential customers.
Self-illustrated by the author.
It is important to have a clear definition of what you are trying to achieve from the get-go and have this goal in context when laying out specified tasks following the CRISP-DM process. For instance, the research question for my topic is to find out how many additional customers are there in the observed period who might still have at least 80% chance to convert. After knowing this ultimate goal, I can brainstorm backwards to derive intermediate milestones to help me march towards this goal. In this case, I first have to find out the probability estimation based on the models with good prediction results, and for that, I have to feed relevant features and good quality data into the models for optimised performance. By mapping out all these milestones while adhering to the CRISP-DM blueprint, you make sure that you are following the right approaches in a data mining process, but at the same time not losing sight of your ultimate goal.
2. Walk a mile in their shoes
Mistake #2: I have always presented the results in a way how I interpreted them, slides that were filled with confusion matrices, classification report, and cool buzz words. The truth is nobody really cares how good your data are or how accurate your model predicts, what matters to them are what did your work achieve and how will your work affect other people’s work?
Photo by Jaclyn Moy on Unsplash
When working for a Machine Learning (ML) project, chances are you are not working alone. Whether you are working with other data engineers, research analysts, marketers, salespeople, or executives, put yourself in their shoes and try to see the big picture from their perspectives. Storytelling rather than fact-telling. For example, your marketing colleagues might be frustrated by failed marketing campaigns for not being able to convert the targeted audience. You can offer them a solution to identify potential customers, by helping them to increase the chances of a successful campaign. But if you presented your results by highlighting the accuracy of your models, they might not be able to immediately relate them. Thus, don’t just speak your language but also theirs.
3. You don’t have to build everything from scratch
Mistake #3: There were times when I attempted to build an ML algorithm from scratch and only halfway thru it did I realize that there was already a Python library for it.
Photo by Max Duzij on Unsplash
Whenever you have an idea to implement an ML model, don’t rush to build it from ground zero. No matter what programming languages you are working on, it is highly unlikely that you are the first one to implement it. Github is always a good starting point to explore existing projects similar to yours and Stack Exchange would probably be able to answer most of your questions. As building an ML model is not just about doing the prediction, your codes would also include snippets for data pre-processing and post-prediction performance evaluation. Building the entire codebase from scratch would consume a lot of your time and resources which would otherwise be better-spent for other workflows. Take Python, for example, there are many established ML libraries like Scikit-learn, TensorFlow, and PyTorch.
4. The 80/20 rule
Mistake #4: At first I thought my model was really bad and kept on finetuning the algorithm, little did I know that the culprit was actually the data I fed into the model. I ended up spending 80% of the time cleaning and preparing the data.
Photo by Austin Distel on Unsplash
Every data analytics rookie will learn this the hard way and I wish I knew this earlier. Just as the conundrum “garbage in, garbage out”, sometimes the most obvious thing is also the most unnoticed. When you are trying to ETL the data from its unadulterated source, make sure the integrity and the data quality are preserved in the process. Besides, the features you select to train an ML model should also fulfil the common convention of feature selection for not being redundant and non-informative. In the end, you should not be surprised at how little time you spent on the actual task of “building an ML model” but how much time you would one step prior — i.e. on the data preparation and cleaning. 80:20 ratio is a good rule of thumb to gauge this highly disproportionate distribution.
5. Learn how to learn
Mistake #5: I was initially complacent with some of the habitual practice I have been comfortably doing for a long time and refused to step out of my comfort zone. For example, I used a chain of and and or operators to conditionally check a string(s). My colleague suggested me to use Regex but I thought the learning curve was too steep. However, after I finally ported over to Regex, I realized how much leaner my codes have become and it definitely improved the versatility of string search.
Photo by Ben White on Unsplash
Attitude, attitude, attitude!
And not just any attitude, but the attitude to learn with an open heart. We live in an era where technology evolves so rapidly that a programming language you’ve mastered during your college times can quickly become obsolete the moment you land your dream job. Therefore, my advice in data analytics is to constantly explore and read about new developments in the topics you are familiar with. And whenever you are confronted with an entirely new concept, try to understand and embrace it instead of riding against the wave. Data analytics is, after all, a novel industry with every aspect of it regularly being flooded with new innovations and methodologies, be it evolutionary or revolutionary. In a long run, learning how to learn is what that really differentiates you from your peers. Of course, the importance of learning extends well beyond building an ML model and can also be applied in improving your general well-being too. | https://towardsdatascience.com/what-ive-learnt-building-a-machine-learning-project-for-a-medium-sized-enterprise-ef6960f99bee | ['Jack Tan'] | 2020-12-11 19:31:35.651000+00:00 | ['Machine Learning', 'Data Science', 'Lessons Learned', 'Python', 'Motivation'] | Title I’ve learnt building Machine Learning project mediumsized enterpriseContent 5 Lessons I’ve Learnt building ML model enterprise Photo Siora Photography Unsplash 1 Understand ultimate goal intermediate milestone Mistake 1 obsessed conventional CRISPDM process focused much general data mining task deviated actual business goal — identify potential customer Selfillustrated author important clear definition trying achieve getgo goal context laying specified task following CRISPDM process instance research question topic find many additional customer observed period might still least 80 chance convert knowing ultimate goal brainstorm backwards derive intermediate milestone help march towards goal case first find probability estimation based model good prediction result feed relevant feature good quality data model optimised performance mapping milestone adhering CRISPDM blueprint make sure following right approach data mining process time losing sight ultimate goal 2 Walk mile shoe Mistake 2 always presented result way interpreted slide filled confusion matrix classification report cool buzz word truth nobody really care good data accurate model predicts matter work achieve work affect people’s work Photo Jaclyn Moy Unsplash working Machine Learning ML project chance working alone Whether working data engineer research analyst marketer salesperson executive put shoe try see big picture perspective Storytelling rather facttelling example marketing colleague might frustrated failed marketing campaign able convert targeted audience offer solution identify potential customer helping increase chance successful campaign presented result highlighting accuracy model might able immediately relate Thus don’t speak language also 3 don’t build everything scratch Mistake 3 time attempted build ML algorithm scratch halfway thru realize already Python library Photo Max Duzij Unsplash Whenever idea implement ML model don’t rush build ground zero matter programming language working highly unlikely first one implement Github always good starting point explore existing project similar Stack Exchange would probably able answer question building ML model prediction code would also include snippet data preprocessing postprediction performance evaluation Building entire codebase scratch would consume lot time resource would otherwise betterspent workflow Take Python example many established ML library like Scikitlearn TensorFlow PyTorch 4 8020 rule Mistake 4 first thought model really bad kept finetuning algorithm little know culprit actually data fed model ended spending 80 time cleaning preparing data Photo Austin Distel Unsplash Every data analytics rookie learn hard way wish knew earlier conundrum “garbage garbage out” sometimes obvious thing also unnoticed trying ETL data unadulterated source make sure integrity data quality preserved process Besides feature select train ML model also fulfil common convention feature selection redundant noninformative end surprised little time spent actual task “building ML model” much time would one step prior — ie data preparation cleaning 8020 ratio good rule thumb gauge highly disproportionate distribution 5 Learn learn Mistake 5 initially complacent habitual practice comfortably long time refused step comfort zone example used chain operator conditionally check string colleague suggested use Regex thought learning curve steep However finally ported Regex realized much leaner code become definitely improved versatility string search Photo Ben White Unsplash Attitude attitude attitude attitude attitude learn open heart live era technology evolves rapidly programming language you’ve mastered college time quickly become obsolete moment land dream job Therefore advice data analytics constantly explore read new development topic familiar whenever confronted entirely new concept try understand embrace instead riding wave Data analytics novel industry every aspect regularly flooded new innovation methodology evolutionary revolutionary long run learning learn really differentiates peer course importance learning extends well beyond building ML model also applied improving general wellbeing tooTags Machine Learning Data Science Lessons Learned Python Motivation |
1,982 | 5 Life Lessons Told Over 5 Glasses of Wine from a 99-Year Old Filled With Regret | 2. I Wish I Was More Willing to Forgive
“Lara, I can tell you countless examples of when this applied to my life. Professional, personal, you name it, I was known for holding an intense grudge. But nothing hurts me more than two scenarios in particular. One in which I was unable to forgive my mother. And one in which I was unable to forgive my closest friend.
My mom and I never had a great relationship. She had a very difficult life. My father left before I was even born, so I’m sure that was devastating. Then she’d go from man to man to man searching for love, support, care. But it seemed she always found the wrong one. She always found the abusive types, the drinkers, the yellers, the criminals, the deadbeats. When I was old enough to understand her pattern, I attempted to put an end to it.
When I was 19, I was already off at college, and I came back to my mother overjoyed about having finally found ‘the one.’ A good egg she told me. And he did seem fine, he really did. Until I saw him one night at a local bar with his hands all over a woman who was certainly not my mother.
I told my mom. I had to, I was honest, direct, no matter the consequence. And she berated me. She called me names I had never been called before. She accused me of ruining her happiness. Ruining her life. She told me she never wanted to see me again. So that’s what happened. I never saw her again. I never forgave her for how she reacted to me that day. I learned she died years later. We hadn’t spoken since that day.
The other person I never forgave was my closest friend. I met him at work. He was strikingly handsome, charming, all that good stuff, you know what I mean Lara. But he was not available. He was married to some trust fund baby, and as flirtatious as he always was, I would not stoop so low as to sleep with a married man. After working together for fifteen years, the day finally came where he told me he and his wife were splitting up. This was my chance. I waited a few months before I finally made my move.
We were walking home after a few work drinks as we often did, and I just threw myself at him. I didn’t have a plan because I just expected everything to fall into place. But he rejected my advance. He told me we were better off as friends, and he didn’t see me that way. I flipped.
I brought up every single moment in which I believed I was the one for him, and he apologized for giving off the wrong signs. He asked if we could remain friends still, but I refused. He moved to a different team within the same firm, but we never spoke.
I never forgave him for not feeling about me the way I felt about him. I lost my best friend.
When it comes to my mom Lara, I want to tell you this. Words are more reflective of the person saying them than they are of the person they are directed toward. My mom said nasty nasty things to me, which she probably would have said she didn’t mean had I given her the chance to apologize. But what I realized was that her words were more reflective of how she felt about herself. They revealed her insecurities, her flaws, her hidden beliefs about the life she was living. When you feel like you cannot forgive somebody because of the words they said, please remember this.
The situation with my best friend is complex. But my main message is this. You want to be surrounded by people who make you a better person. Don’t push people away who make you better. Situations change, feelings change, we must adapt and accept change. I was resistant to change because I was so certain about the future. My interpretation of the future. I wish I could have put my ego, my pride, my feelings aside and just be friends with him, because my life was honestly worse off without him.
Forgive for you, Lara, not for others. Living with the pain of losing somebody because of a grudge or vendetta, or a feeling that I could not control, well it almost killed me on several occasions.”
Lara simply smiled and filled their third glass with a Riesling, a smooth white wine. | https://medium.com/mind-cafe/5-life-lessons-told-over-5-glasses-of-wine-from-a-99-year-old-filled-with-regret-e05c9fb48a66 | ['Jordan Gross'] | 2020-06-22 17:13:19.444000+00:00 | ['Inspiration', 'Life Lessons', 'Psychology', 'Life', 'Mental Health'] | Title 5 Life Lessons Told 5 Glasses Wine 99Year Old Filled RegretContent 2 Wish Willing Forgive “Lara tell countless example applied life Professional personal name known holding intense grudge nothing hurt two scenario particular One unable forgive mother one unable forgive closest friend mom never great relationship difficult life father left even born I’m sure devastating she’d go man man man searching love support care seemed always found wrong one always found abusive type drinker yeller criminal deadbeat old enough understand pattern attempted put end 19 already college came back mother overjoyed finally found ‘the one’ good egg told seem fine really saw one night local bar hand woman certainly mother told mom honest direct matter consequence berated called name never called accused ruining happiness Ruining life told never wanted see that’s happened never saw never forgave reacted day learned died year later hadn’t spoken since day person never forgave closest friend met work strikingly handsome charming good stuff know mean Lara available married trust fund baby flirtatious always would stoop low sleep married man working together fifteen year day finally came told wife splitting chance waited month finally made move walking home work drink often threw didn’t plan expected everything fall place rejected advance told better friend didn’t see way flipped brought every single moment believed one apologized giving wrong sign asked could remain friend still refused moved different team within firm never spoke never forgave feeling way felt lost best friend come mom Lara want tell Words reflective person saying person directed toward mom said nasty nasty thing probably would said didn’t mean given chance apologize realized word reflective felt revealed insecurity flaw hidden belief life living feel like cannot forgive somebody word said please remember situation best friend complex main message want surrounded people make better person Don’t push people away make better Situations change feeling change must adapt accept change resistant change certain future interpretation future wish could put ego pride feeling aside friend life honestly worse without Forgive Lara others Living pain losing somebody grudge vendetta feeling could control well almost killed several occasions” Lara simply smiled filled third glass Riesling smooth white wineTags Inspiration Life Lessons Psychology Life Mental Health |
1,983 | Getting Started with Applied ML Research | So you are interested in applied machine learning (ML) research? Oftentimes, a lot of young aspiring machine learning researchers jump straight into reading papers and either get discouraged with the amount of work published on a particular topic or get too caught up reading a lot of papers with very little progress on generating new and exciting research ideas. To avoid these situations and ensuring a healthy start on your research journey, here are some of my tips on how to get started with applied ML research. These tips do not guarantee success but they give you a useful framework for enabling creativity and avoiding common pitfalls in research.
Identify a problem that matches your background and skills
For instance, if you have studied biology maybe it makes more sense to conduct health-related research. If you have a physics background, there is plenty of interesting work contributing to space exploration/discovery.
It also matters that you work on a topic you are passionate about. If you are passionate about law, there is plenty of opportunities to propose new legislation to improve artificial intelligence accountability. This is the great thing about machine learning, it’s everywhere!
Once you have an idea on the topic you are interested to investigate, follow the next few steps.
Conduct a bit of research
Don’t read papers yet, just do a small search on articles or summaries of machine learning related techniques that have been applied in the domain of interest. Every day there are plenty of news outlets and newsletters that publish quick summaries of how companies and research labs are applying machine learning to all sorts of problems, these can help you find what you are looking for.
One great way to get informed about the topic of interest is to read survey papers or books on the subject matter. These are okay to read at this point. Remember, you are just looking on the surface.
I am of the belief that if it hasn’t been done before, then you need to think carefully about whether you will have the time to conduct the research you are interested in. This is the reason why there are Ph.D. programs to host students that want to work on entirely new research ideas and want to spend a good amount of years doing the research. If you are not interested in a Ph.D., that’s fine. Just make sure you have a good idea of how much time you are willing to invest in the research. Your idea doesn’t have to be completely new but it should tackle a fundamental problem you have identified.
This is important as it is here that you start to understand and begin to think about the motivation and importance of the research. Read with a critical mind. Think about what could be done better. What hasn’t been done? Take notes. Begin to formulate a rough draft of your research questions.
Look for implementations and datasets
No paper reading, yet. Paper reading can derail your progress at this point. Instead, begin to look for implementations of projects that tackle very similar problems as yours. If you can’t find code for similar ideas you want to tackle here is where you make an assessment of how much time you may need to commit. In the extreme case, you have access to tools and starter code to get you going. In the worst case, you have nowhere to start. The point is not that you are looking to copy code. Here you are mostly looking for work that has been done already so that you don’t have to start from scratch. This is the reason why open source exists.
For instance, if you will be working on cell segmentation, there are plenty of implementation for either cell segmentation or related tasks involving segmentation tasks. This could be your starter code. You will need to modify it, but a lot of that initial work has been done and you will be working on top of it. There is no shame in that. In fact, most scientists, even the greatest minds of our generation, rely on the ideas of others.
If you do find code, make sure to test it and see if it’s still running. It may be filled with bugs which means there is a bit more time you need to commit here. But try to get it to work.
If you don’t find code, then at least have a plan of what kind of implementations you will be coding. I am sure there is plenty of basic examples out there that can also be reused. Make sure to always provide the proper credit.
Remember, a lot of the research will be about implementation and experimentation and so you will need to get your hands dirty with code unless you are working on a big team.
To find relevant code, search in places like GitHub, Papers with Code, or Made with ML. If you can’t find anything there, you can always ask on Reddit or Twitter. There is a very helpful community out there.
In this step, it is also important to identify datasets you will be working with initially. The great thing about looking for implementations is that they already provide you a hint on the type of dataset you will be working with. You can perform dataset searches on websites like Google Dataset Search or Kaggle. In the best case, you find something that you think will help. In the worst case, you don’t find anything relevant in which case you may need to manually collect your datasets which is a tedious and time-consuming task on its own. Here is where you think carefully about whether you have the necessary time to collect and manually label a new dataset. Consult with your research advisor on this topic. I will write about this topic later on in this blog.
Write a draft of your proposal
After having an idea of the topic you want to focus on and the time you may need to commit to this project, write a short 2-pages draft of your proposal.
Your proposal should have at least an introduction, motivation for the research, proposed methodology and experiments (it doesn’t have to be all fleshed out yet), the timeline of the research, and the expected output.
After finishing that draft, don’t let it just sit there. Pass it by a colleague first, then refine it. Try to reach out to friends and let them review it as well. Refine it a bit more.
Talk to your research advisor and other researchers
Even though it is highly likely that you are working on this research on your own, you have a plethora of people and experts that can provide you guidance. Discuss your proposal with your research advisor or other experts in the field. There is this misconception that research is a lonely process, it doesn’t have to be that way.
Expect a lot of feedback mostly about what the proposal is lacking and what potential new ideas you can try or things you overlooked. Take this feedback with an open mind. Your ideas may be great but they could also be very marginal or not worth pursuing. However, there is always something good that comes out of this process. You know a lot more about what you are interested in and what you want to work on. If you need to go back to the drawing board do so. This is rarely the case but just be prepared and keep an open mind. If all goes well, use the feedback to keep improving your proposal and refine those research questions. Once you have finalized the research questions, move on to the actual research.
The real research begins
Once you have some starter code and datasets that you think will help you in your research, it’s now time to begin addressing those research questions. By this time, you have an idea more or less what are the problems worth addressing and are possible given the time constraints and data available.
Adopt code and begin to conduct preliminary experiments. Very basic experiments could include simple baselines using basic ML algorithms designed to address the type of problem you are working on. For instance, if you are working on text classification, maybe an implementation of a Naive Bayes classifier could be a good model to start with. You don’t have to jump straight into a state of the art deep learning model like RNN or Transformer, although those usually perform better on these tasks considering you have enough data. But just keep it simple at the beginning. Later on, you will have enough time to experiment with those fancy models. All you are interested in here is to have a proper framework for experimenting.
This is where things get really interesting and challenging. While you are working on code and experiments, at this point in time it wouldn’t hurt to look for relevant papers to see if others have conducted similar experiments. Use that knowledge to keep improving your experiments. For instance, maybe there is a feature engineering trick you would like to try or a new technique to preprocess data. In the process, make sure to save those references. When you are stuck with code, read a few more papers, and continue where you left off. Mix it a bit. Too much coding or too much paper reading is not a good recipe for success as a researcher. It’s just simply not sustainable.
Keep building on top of that knowledge and revise your research questions if needed. You avoided paper reading initially mostly to avoid being discouraged about others scooping your work and ideas. This tends to happen a lot but because you didn’t read papers in the beginning it could well be that your ideas offer a new take on the problem. In fact, if you chose this route I proposed here, there is a high chance that there is a bit of overlap and there is also a high chance there is something new and creative you are bringing to the table. I think it’s very important to avoid reading papers at the beginning as there is a high chance that you are influenced to work on similar things to what other researchers have done. That’s not interesting and it’s actually not a good practice. You want to work on a problem that’s important to you, not a problem that is popular in the community.
Get it out there
Once you have some results, get your work out there. Blog about it even if no one reads it. Tweet about it. There is a whole ML community out there waiting to hear about exciting new ideas. In fact, I also built a community (dair.ai) to help surface the work of people that don’t have a platform.
Part of being a researcher is also being able to communicate your work properly. There is no running away from it. By getting it out you are practicing for the final step in the research journey: either a publication, thesis defense, or pitching it to your manager for consideration as a product.
Excellent. Keep working on those ideas. If new ideas come along consider tackling them. These days a lot of students are quick to publish. Don’t be one of those. Take your time. Enjoy your research. Dig deep. Commit to a long relationship with your research. It pays off tremendously in the long run. Learn more interesting things about the topic. Challenge yourself to go further. Don’t be too stressed about publishing. That time will come.
The point is that you should spend some time refining your work before you consider publishing it. Getting it out there helps with feedback and other considerations.
Publish it!
After many iterations and feeling a bit more comfortable with the progress of your research, it is now time to consider submitting it to workshops or conferences. Although some universities or companies don’t force you to publish, I truly believe as a researcher you need to have a taste of the peer-review process. A rejection doesn’t say anything about you as a researcher. This is an opportunity to get others excited about reading and assessing your work. If you get a publication, great for you! This is the kind of progress you want to show as a researcher. You are headed in the right direction. The next step is to keep building on top of this research. Get others involved. Collaborate. You have a bit of experience now and that will take you a long way as a researcher. Be patient. Accept rejections. Keep learning and keep a healthy mind and body. But more importantly, keep an open mind.
Happy researching! | https://medium.com/dair-ai/getting-started-with-applied-ml-research-3abab1ac33b6 | [] | 2020-10-08 13:57:58.013000+00:00 | ['Machine Learning', 'Science', 'Data Science', 'Technology', 'Artificial Intelligence'] | Title Getting Started Applied ML ResearchContent interested applied machine learning ML research Oftentimes lot young aspiring machine learning researcher jump straight reading paper either get discouraged amount work published particular topic get caught reading lot paper little progress generating new exciting research idea avoid situation ensuring healthy start research journey tip get started applied ML research tip guarantee success give useful framework enabling creativity avoiding common pitfall research Identify problem match background skill instance studied biology maybe make sense conduct healthrelated research physic background plenty interesting work contributing space explorationdiscovery also matter work topic passionate passionate law plenty opportunity propose new legislation improve artificial intelligence accountability great thing machine learning it’s everywhere idea topic interested investigate follow next step Conduct bit research Don’t read paper yet small search article summary machine learning related technique applied domain interest Every day plenty news outlet newsletter publish quick summary company research lab applying machine learning sort problem help find looking One great way get informed topic interest read survey paper book subject matter okay read point Remember looking surface belief hasn’t done need think carefully whether time conduct research interested reason PhD program host student want work entirely new research idea want spend good amount year research interested PhD that’s fine make sure good idea much time willing invest research idea doesn’t completely new tackle fundamental problem identified important start understand begin think motivation importance research Read critical mind Think could done better hasn’t done Take note Begin formulate rough draft research question Look implementation datasets paper reading yet Paper reading derail progress point Instead begin look implementation project tackle similar problem can’t find code similar idea want tackle make assessment much time may need commit extreme case access tool starter code get going worst case nowhere start point looking copy code mostly looking work done already don’t start scratch reason open source exists instance working cell segmentation plenty implementation either cell segmentation related task involving segmentation task could starter code need modify lot initial work done working top shame fact scientist even greatest mind generation rely idea others find code make sure test see it’s still running may filled bug mean bit time need commit try get work don’t find code least plan kind implementation coding sure plenty basic example also reused Make sure always provide proper credit Remember lot research implementation experimentation need get hand dirty code unless working big team find relevant code search place like GitHub Papers Code Made ML can’t find anything always ask Reddit Twitter helpful community step also important identify datasets working initially great thing looking implementation already provide hint type dataset working perform dataset search website like Google Dataset Search Kaggle best case find something think help worst case don’t find anything relevant case may need manually collect datasets tedious timeconsuming task think carefully whether necessary time collect manually label new dataset Consult research advisor topic write topic later blog Write draft proposal idea topic want focus time may need commit project write short 2pages draft proposal proposal least introduction motivation research proposed methodology experiment doesn’t fleshed yet timeline research expected output finishing draft don’t let sit Pass colleague first refine Try reach friend let review well Refine bit Talk research advisor researcher Even though highly likely working research plethora people expert provide guidance Discuss proposal research advisor expert field misconception research lonely process doesn’t way Expect lot feedback mostly proposal lacking potential new idea try thing overlooked Take feedback open mind idea may great could also marginal worth pursuing However always something good come process know lot interested want work need go back drawing board rarely case prepared keep open mind go well use feedback keep improving proposal refine research question finalized research question move actual research real research begin starter code datasets think help research it’s time begin addressing research question time idea le problem worth addressing possible given time constraint data available Adopt code begin conduct preliminary experiment basic experiment could include simple baseline using basic ML algorithm designed address type problem working instance working text classification maybe implementation Naive Bayes classifier could good model start don’t jump straight state art deep learning model like RNN Transformer although usually perform better task considering enough data keep simple beginning Later enough time experiment fancy model interested proper framework experimenting thing get really interesting challenging working code experiment point time wouldn’t hurt look relevant paper see others conducted similar experiment Use knowledge keep improving experiment instance maybe feature engineering trick would like try new technique preprocess data process make sure save reference stuck code read paper continue left Mix bit much coding much paper reading good recipe success researcher It’s simply sustainable Keep building top knowledge revise research question needed avoided paper reading initially mostly avoid discouraged others scooping work idea tends happen lot didn’t read paper beginning could well idea offer new take problem fact chose route proposed high chance bit overlap also high chance something new creative bringing table think it’s important avoid reading paper beginning high chance influenced work similar thing researcher done That’s interesting it’s actually good practice want work problem that’s important problem popular community Get result get work Blog even one read Tweet whole ML community waiting hear exciting new idea fact also built community dairai help surface work people don’t platform Part researcher also able communicate work properly running away getting practicing final step research journey either publication thesis defense pitching manager consideration product Excellent Keep working idea new idea come along consider tackling day lot student quick publish Don’t one Take time Enjoy research Dig deep Commit long relationship research pay tremendously long run Learn interesting thing topic Challenge go Don’t stressed publishing time come point spend time refining work consider publishing Getting help feedback consideration Publish many iteration feeling bit comfortable progress research time consider submitting workshop conference Although university company don’t force publish truly believe researcher need taste peerreview process rejection doesn’t say anything researcher opportunity get others excited reading assessing work get publication great kind progress want show researcher headed right direction next step keep building top research Get others involved Collaborate bit experience take long way researcher patient Accept rejection Keep learning keep healthy mind body importantly keep open mind Happy researchingTags Machine Learning Science Data Science Technology Artificial Intelligence |
1,984 | Master any skill by sucking at this one | We all learn at a very young age it’s easy to justify almost any action with a well-crafted explanation. We’re punished more severely without one, and so it becomes natural as we grow up to develop this on a subconscious level.
Renowned social psychologist Bernard Weiner published a study in 1987 detailing the investigation to his three defined factors of a ‘good excuse’:
External; when it comes from outside the offender. (“My car broke down”)
Uncontrollable; when the offender lacks control (“I was unwell”)
Unintentional; highlighting the perpetrator was not malicious (“I slipped”)
“Communicated reasons tended to be external to the person, uncontrollable, and unintentional, whereas withheld reasons tended to be internal, controllable, and either intentional or unintentional.”
The external, uncontrollable excuses were anticipated by the study participants to lessen the anger of the wronged party.
Here’s where you come in:
Identify when the wronged party is in fact, also the offending party.
We’re only human, so for many of us, it’s a knee-jerk reaction to excuse our shortcomings, because moving quickly on from an unfavourable situation detaches us from the pain. The problem is, we are wired biologically to avoid slowing down to consider who we’re trying to fool. If you want to make a real dent in that thing you’ve been putting off for so long, don’t take the path of least resistance because it often leads back round to square one, using a route that you yourself have created using shiny golden signs made of excuses.
Don’t be a professional rationalist.
We have the unfortunate ability to take our ambitions and possibilities, then over-think and over-process, which leads to talking ourselves out of them. There is a fragile part of the typical ego that clambers to excuse one’s self from anything difficult, complicated, or potentially embarrassing even if the embarrassment is internal. Because of our ridiculous, innate ability we have to unlearn or escape the habit with practice. Take your most recent failed endeavour and fill in the blank: “I probably can’t ______ because a, b, and c.”
If you are unable to come up with a, b, and c you are much more likely to succeed in blank, this is the key.
Justification vs Excuses
Distinguishing between these two terms may help. A justification (or a reason) becomes an excuse when it’s used to avoid responsibility. This is true in law and it is necessary to hold the actor accountable for an act. Dave Anderson tells us there should be no difference when applied to your internal conflict.
“An excuse defense concentrates on the actor rather than the act. It accepts the act may have harmed society in some way, but seeks to show that the person is not really to blame.”
It’s important to ask yourself ‘This happened, what am I going to do about it?’
Instead of exiting responsibility, we must push past what our lazy human brains want us to do. Don’t settle for an equilibrium, but find a way to work around problems rather than deflecting them because ultimately, they swing back around and hit you in the face.
Keeping our goals strict and weekly, rather than monthly or yearly encourages relentless progress.
What frequently happens if a schedule is ignored, whether group or self-appointed, is that misused time passes at an exponential rate. It’s unfortunately all too easy to try rationalising our failures, and missing the first deadline will usually make us miss further deadlines.
Sure you missed your self-appointed goal, so what? life goes on! Is not something you should be saying in regards to anything important or anything you are passionate about. If you’ve followed so far, it should be easy to recognise that while there are no immediate repercussions to failure, you’ll never taste the progress you crave.
It’s important to set goals you can measure, because you are more able to see just how far off the mark you are. Noticing you’re sliding down a slippery slope is not always easy. The difference between “I’ll finish writing my book this year” and “I’m going to write two chapters over the next six weeks” is huge and it’s easy to see only after you fall into the right mindset. | https://dmassi.medium.com/master-any-skill-by-sucking-at-this-one-72b858d3465e | ['Davon Massi'] | 2018-10-21 23:15:22.805000+00:00 | ['Self Improvement', 'Productivity', 'Self', 'Education', 'Psychology'] | Title Master skill sucking oneContent learn young age it’s easy justify almost action wellcrafted explanation We’re punished severely without one becomes natural grow develop subconscious level Renowned social psychologist Bernard Weiner published study 1987 detailing investigation three defined factor ‘good excuse’ External come outside offender “My car broke down” Uncontrollable offender lack control “I unwell” Unintentional highlighting perpetrator malicious “I slipped” “Communicated reason tended external person uncontrollable unintentional whereas withheld reason tended internal controllable either intentional unintentional” external uncontrollable excuse anticipated study participant lessen anger wronged party Here’s come Identify wronged party fact also offending party We’re human many u it’s kneejerk reaction excuse shortcoming moving quickly unfavourable situation detaches u pain problem wired biologically avoid slowing consider we’re trying fool want make real dent thing you’ve putting long don’t take path least resistance often lead back round square one using route created using shiny golden sign made excuse Don’t professional rationalist unfortunate ability take ambition possibility overthink overprocess lead talking fragile part typical ego clamber excuse one’s self anything difficult complicated potentially embarrassing even embarrassment internal ridiculous innate ability unlearn escape habit practice Take recent failed endeavour fill blank “I probably can’t b c” unable come b c much likely succeed blank key Justification v Excuses Distinguishing two term may help justification reason becomes excuse it’s used avoid responsibility true law necessary hold actor accountable act Dave Anderson tell u difference applied internal conflict “An excuse defense concentrate actor rather act accepts act may harmed society way seek show person really blame” It’s important ask ‘This happened going it’ Instead exiting responsibility must push past lazy human brain want u Don’t settle equilibrium find way work around problem rather deflecting ultimately swing back around hit face Keeping goal strict weekly rather monthly yearly encourages relentless progress frequently happens schedule ignored whether group selfappointed misused time pass exponential rate It’s unfortunately easy try rationalising failure missing first deadline usually make u miss deadline Sure missed selfappointed goal life go something saying regard anything important anything passionate you’ve followed far easy recognise immediate repercussion failure you’ll never taste progress crave It’s important set goal measure able see far mark Noticing you’re sliding slippery slope always easy difference “I’ll finish writing book year” “I’m going write two chapter next six weeks” huge it’s easy see fall right mindsetTags Self Improvement Productivity Self Education Psychology |
1,985 | The Reason Behind if __name__ == ‘__main__’ in Python | Let’s Get Right Into It!
Let’s start out by deconstructing the statement from left to right. We already know what an if statement is; however, the most important part of the statement are the two things being compared.
Let’s start with __name__ .This is used to denote the name of the file that is currently being run, but there is a trick to this. The file currently being run will always have the value __main__ .
This sounds confusing at first but let’s clarify.
Let’s create two Python files:
current_script.py
other_script.py
Please ensure these files are in the same directory/folder.
Inside the other_script.py file, we’ll add a two-print statement, just as shown below.
print("****inside other script.py*****") print("__name__ is ",__name__)
Run this other_script.py file.
Note: I will be running this file while using Python within the terminal, just as illustrated below. Also note that I am working from a Windows operating system.
python other_script.py
Output:
****inside other script.py*****
__name__ is __main__
Now you realize that it’s just as I stated before. The file being executed will always have the value __main__ . This represents the point of entry into our application.
In Python and pretty much every programming language, we can import other files into our application. We’ll now go into our current_script.py and input the following code:
import other_script print("") print("****inside current script.py*****") print("__name__ is ",__name__)
The code above imports the other_script.py with the import statement at the top, which is followed by print(“****inside current script.py*****”) to verify that we are in the current_script.py file.
Be aware that because we imported other_script at the top of the file, this therefore means that the entire contents of other_script.py will now be injected into where import other_script is.
Before we continue, take keen note of the input of when we ran other_script.py . Now observe what happens when we execute current_script.py .
python current_script.py
Output:
****inside other script.py*****
__name__ is other_script ****inside current script.py*****
__name__ is __main__
You will now realize that previously when we ran other_script.py , it gave us the value for __name__ as __main__ . But now since we ran it as an import in current_script.py , the value of __name__ suddenly changed to the name of the imported script which is other_script .
Furthermore, the value of __name__ for current_script.py is __main__ . This goes back to what I had highlighted previously: The file currently being run will always have the value __main__ .
Let’s put this all together now. | https://medium.com/better-programming/the-reason-behind-if-name-main-in-python-e633634f0dd0 | ['Jordan Williams'] | 2020-11-02 15:14:08.189000+00:00 | ['Python', 'Data Science', 'Learning To Code', 'Java', 'Programming'] | Title Reason Behind name ‘main’ PythonContent Let’s Get Right Let’s start deconstructing statement left right already know statement however important part statement two thing compared Let’s start name used denote name file currently run trick file currently run always value main sound confusing first let’s clarify Let’s create two Python file currentscriptpy otherscriptpy Please ensure file directoryfolder Inside otherscriptpy file we’ll add twoprint statement shown printinside scriptpy printname name Run otherscriptpy file Note running file using Python within terminal illustrated Also note working Windows operating system python otherscriptpy Output inside scriptpy name main realize it’s stated file executed always value main represents point entry application Python pretty much every programming language import file application We’ll go currentscriptpy input following code import otherscript print printinside current scriptpy printname name code import otherscriptpy import statement top followed print“inside current scriptpy” verify currentscriptpy file aware imported otherscript top file therefore mean entire content otherscriptpy injected import otherscript continue take keen note input ran otherscriptpy observe happens execute currentscriptpy python currentscriptpy Output inside scriptpy name otherscript inside current scriptpy name main realize previously ran otherscriptpy gave u value name main since ran import currentscriptpy value name suddenly changed name imported script otherscript Furthermore value name currentscriptpy main go back highlighted previously file currently run always value main Let’s put together nowTags Python Data Science Learning Code Java Programming |
1,986 | Learning at the Edge | Overview
This article looks at the unique challenges introduced by Edge computing for AI/ML workloads, which can have a negative impact on results. It applies available machine learning models to real-world Edge datasets, to show how these challenges can be overcome, while preserving accuracy in the dynamic nature of Edge environments.
Context
The field of machine learning has experienced an explosion of innovation over the past 10 years. Although its roots date back more than 70 years when Alan Turing devised the Turing Test, it has not matured significantly until recently. Two primary contributing factors are the exponential growth in both compute power and data that can be used for training. There is now enough data and compute power (some in specialized hardware like GPUs/FPGAs) that new, real-world problems are being solved every day with machine learning. Examples range from facial recognition and disease identification, to drug discovery and assembly line quality assurance.
Today’s most successful machine learning applications follow a fairly straightforward process.
1. Curate a large set of training examples containing a signal that we would like to predict.
2. Feed the large set of training data into a machine learning model to train at a centralized hyperscale data center with an almost limitless capacity of compute resources.
3. Iterate over feature engineering and model hyperparameters retraining the model until a desired performance metric is achieved.
4. Deploy the training model into its product environment and let it predict.
This process works well when we have enough training examples required to find the appropriate predictive function; there is enough compute power to train over large datasets in a realistic timeframe; and the environments in which the model is deployed are consistent and stable.
Edge computing changes all of this. It’s the next frontier for cloud computing, machine learning and artificial intelligence. Edge computing brings the compute closer to both the data and the end-user/device that is generating that data. This presents a number of advantages over a more traditional, centralized computing paradigm.
· Improved Latency: Between 1 and 20ms latency enables an entirely new class of use-cases including connected vehicles, remote AR/surgery, intelligent video, etc.
· Reduced Data Transference: Data does not need to be transferred to a centralized processing center anymore. This saves significant backhaul and improves security and compliance of workloads deployed to the Edge.
· Localization: Workloads can be customized more easily for the specific locale in which they are being deployed by sensing the environment and the specific data being generated in those locales.
Communication Service Providers (CSPs) are busy rolling out their 5G plans, in part to enable and capture this emerging Edge market. In order to address a variety of use-cases with different latency and security requirements, MEC (Multi-Access Edge Computing) architectures are being deploying that will provide the communications foundation to enable Edge workloads on a spectrum of locations from Edge Device, to Radio Access Networks (RANs) and Central Offices (COs). However, CSPs will need to think differently if they want to again avoid being disintermediated by the next generation of OTT providers. Emerging players are looking at new spectrum to provide the last mile into the enterprise where Edge computing will initially experience its largest growth. In some cases, the mega cloud providers are building partnerships with incumbent Telecommunications companies. In other cases, they are looking at acquiring or developing the needed capabilities themselves.
Challenges
The potential use cases are diverse across markets including industrial, healthcare, automotive, retail, etc. However, it is anticipated that 80–90% of those use-cases will require AI/ML. Edge computing introduces the following new challenges for AI/ML workloads:
· Portability: Workloads will need to be able to run on a wide variety of devices
· Tethering: Workloads can’t rely on always being connected. In fact, some use-cases are specifically oriented towards being disconnected or having a very long latency to connect to the ‘mother ship’ (i.e. oil rigs or Mars)
· Reduced capacity: Environments at or near the edge will have reduced compute, storage and network capacity compared to centralized data centers.
· Differing locales: Each locale in which a workload is deployed can differ slightly. A model trained for one locale may perform poorly in another. Think of an autonomous vehicle model trained in Boulder, CO. Drop that in Florence, Italy and you will likely have some accidents.
· Dynamic environments: Edge environments change over time due to a variety of characteristics like weather, financial markets, etc.
Portability and tethering are being addressed by standardized open-source operating models like KubeEdge, Linux Foundation Edge, etc. However, as we look at the nature of AI/ML workloads at the Edge, the remaining challenges can be interpreted in the following areas.
The first is a concept known as drift that can be introduced as a result of differing locals and/or the dynamic nature of the Edge environment, which will result in degradation of a previously trained AI/ML model. When a model is trained, it defines a function that maps the independent variables to the targets. In a static and uniform environment where none of these predictors nor the target evolve, the model should perform as it did initially because there is no change. Drift occurs when either there is a change in the definition of the target class (i.e. Concept Drift) or there is a change in the features (i.e. Data Drift) that define the target class. Drift is much more common in Edge environments because each locale can be slightly different such that the original training set does not accurately represent the environment in which the AI/ML model is being deployed (i.e. Boulder vs Florence). In addition, the dynamic nature of Edge environments is much more likely to introduce drift over time in both the features and targets used for prediction. Most of these environments are in “the wild” and have much less control over the specific characteristics under which these AI/ML models operate. Changes in temperature, wind, pollen levels can all drastically affect a predictor’s accuracy at the Edge.
The second challenge that must be addressed for AI/ML at the Edge is the ability to adapt with minimal resources and/or data. These models must be capable of adapting quickly to a changing environment without overfitting to noise, but at the same time be able to incrementally learn with minimal compute and or new training examples. Reduced compute is well-documented for Edge environments, but the operating environment for most Edge locations also result in less supervision of the model performance and/or exemplars being generated. In other words, we cannot rely on an army of machine learning supervisors available to label candidates in many Edge locations. More importantly, the models must adapt to changes quickly. In fact, a model’s ability to adapt is more important than its initial predictive accuracy. In most cases, the process of re-curating the needed data from the Edge, retraining the model at a centralized datacenter, and then redeploying the updated model back to the Edge will take too long. By then the Edge environment will already have changed again. Adaptation must be done at the Edge locale in near real-time.
Experiments
The scikit-learn Python package has a number of machine learning models that lend themselves to addressing these Edge challenges. This article documents the use of one of those models: Stochastic Gradient Decent Classifier (SGDClassifier). The experiments were conducted on a real-world streaming data set with incremental drift that includes six different species of mosquitos. The ‘INSECTS-Incremental (balanced)’ dataset is made available at the USP Dataset Repository hosted on Google (https://sites.google.com/view/uspdsrepository). The SGDClassifier has a number of benefits that makes it well suited for Edge workloads. First, it is fairly simple and lightweight and can be run on devices with minimal compute or other resources. Second, it can incrementally learn so that after a model has been deployed to the Edge it can be updated with new exemplars using the partial_fit() function. Lastly, due to the stochastic nature of this algorithm, it allows training over a randomly selected singleton, or subset instead of needing to train over each candidate in the set. This allows the algorithm to be extremely adaptable with very little training data needed.
Below is a conceptual architecture that was implemented for experiments where Proteus is a wrapper Python class that services up the SGDClassifier functions via JSON APIs using Flask.
Conceptual Architecture — Edge Learning
The following experiments began by training the SGDClassifier model with 80% of the first 5,000 training examples from the ‘INSECTS-Incremental (balanced)’ file, deploying the initially trained model to the Edge (in this case a Raspberry Pi 3 B+), and then iterating through the rest of the file one at a time in chunks of 5,000 measuring the accuracy.
1. Feed 80% of the first 5,000 examples (4,000) from the original training file into the SGDTrainer to train the model.
2. Write the model to a file using the Pickle Python library.
3. Read the SGD Model into the testing program
4. Measure the accuracy with the 20% holdout from the first 5,000 examples; and repeat the process above by tweaking hyper parameters to get the desired accuracy.
5. Once accuracy is at an acceptable level, deploy Proteus to the Edge location (in this case a Raspberry Pi 3 B+) and read the trained model in via the Pickle Python library.
6. From the Edge applications, send data to Proteus for inference.
7. Provide inferences back to the Edge applications. Repeat as long as performance is acceptable. Once a drift has been detected, raise an alert to the operators/supervisors. Drift can be detected by change in the feature data being sent from the Edge applications without monitoring changes in the model’s accuracy. Leveraging a drift detection algorithm like scikit-learn multiflow will provide the early warning alerting needed.
8. Unlabeled data is sent to queue to be labeled by a supervisor
9. The label data is sent back for incremental learning of the SGDClassifier model. The model adjusts to the drift and resumes the inferencing cycle at the desired accuracy.
Simulations of this lifecycle were run over the first 55,000 elements of the timeseries in the ‘INSECTS-Incremental (balanced)’ file in chunks of 5,000. The model was originally trained on 80% of the first 5,000 elements. Then the model was tested on the remainder 20% holdout to get the original baseline. This initial training was conducted on a centralized server in a larger datacenter. Finally, the model was saved and deployed to a Raspberry Pi 3 B+ for inferencing and accretion. The model was tested on each chunk of 5,000 from the original timeseries file, again holding out 20% for testing from each chunk. Three experiments were run after an initial baseline was captured:
1. Baseline with no updating
2. Full update: 100% of the training subset from each chunk is fed back into the model for updating.
3. 10% update: 10% of the training subset from each chunk is fed back into the model for updating.
4. 1% update: Only 1% of the training subset from each chunk is fed back into the model for updating.
Results
Classification accuracy was measured on the hold-out subset from each chunk. The results are as follow:
Edge Learning Results
In the baseline with no updating, the accuracy falls incrementally as each chunk is fed into the model for inference. This reflects a classic example of drift that you might see in the real world. The accuracy fell to such a level that for the last few chunks of data, accuracy was no better than a random guess. Now as we feed portions of each chunk back into the model for updating, you can see the performance is restored to its pre-deployment accuracy. In fact, accuracy improves as the experiment progresses through the entire series. The improvement is most likely due to the nature of the data in the later chunks rather than anything related to the model and/or update approach. However, it is clear that the model has been able to adapt to the changes in the data and that its accuracy has been maintained. In addition, the following observations were made that are relevant to operationalization.
· Only a fraction of data must be labeled and fed back to the model for additional training to adapt to the changes without losing accuracy. In fact, as little as 1% of the data appears to hold accuracy at pre-deployment levels for this data set.
· One additional experiment was run that fed back only those exemplars that were classified incorrectly. This approach did not improve or maintain performance as desired. The implication is exemplars can be randomly selected for updates to preserve accuracy, and it does not matter which ones are chosen.
The second requirement is that learning at the Edge must be done with minimal compute resources. Each edge location must be analyzed to determine capacity and fit for the workloads you want to deploy. However, a very crude measurement for this workload was conducted as part of these experiments running on a single Raspberry Pi 3 B+ with just a simple desktop GUI running. They showed relatively low requirements for compute.
1. Full update: 2.25 seconds on average (4,000 examples)
2. 10% update: .3 seconds on average (400 examples)
3. 1% update: .14 seconds on average (40 examples)
Because of the nature of Stochastic models this makes sense. These models randomly select a small subset from the dataset for re-training the model. It does not require training over each element in the entire set. Finally, memory did not significantly change or peak during the accretion function of these experiments.
Summary
These experiments show that with fairly mature and already available machine learning models from scikit-learn, we can adapt to drift in our data sets due to differences in locale or changing environments. The models can adapt with very little training data and few compute resources while preserving model accuracy at the Edge. In addition, these experiments indicate that we don’t need to wait until a full training data set is available in order to begin our Edge machine learning deployments. We can begin training with a fairly small subset, achieve an acceptable accuracy and then deploy the models to the Edge for refinement. | https://brentcty.medium.com/learning-at-the-edge-d2f85d614051 | ['Brent Taylor'] | 2020-12-01 17:40:22.200000+00:00 | ['Machine Learning', 'Python', 'Edge Computing', 'Artificial Intelligence'] | Title Learning EdgeContent Overview article look unique challenge introduced Edge computing AIML workload negative impact result applies available machine learning model realworld Edge datasets show challenge overcome preserving accuracy dynamic nature Edge environment Context field machine learning experienced explosion innovation past 10 year Although root date back 70 year Alan Turing devised Turing Test matured significantly recently Two primary contributing factor exponential growth compute power data used training enough data compute power specialized hardware like GPUsFPGAs new realworld problem solved every day machine learning Examples range facial recognition disease identification drug discovery assembly line quality assurance Today’s successful machine learning application follow fairly straightforward process 1 Curate large set training example containing signal would like predict 2 Feed large set training data machine learning model train centralized hyperscale data center almost limitless capacity compute resource 3 Iterate feature engineering model hyperparameters retraining model desired performance metric achieved 4 Deploy training model product environment let predict process work well enough training example required find appropriate predictive function enough compute power train large datasets realistic timeframe environment model deployed consistent stable Edge computing change It’s next frontier cloud computing machine learning artificial intelligence Edge computing brings compute closer data enduserdevice generating data present number advantage traditional centralized computing paradigm · Improved Latency 1 20ms latency enables entirely new class usecases including connected vehicle remote ARsurgery intelligent video etc · Reduced Data Transference Data need transferred centralized processing center anymore save significant backhaul improves security compliance workload deployed Edge · Localization Workloads customized easily specific locale deployed sensing environment specific data generated locale Communication Service Providers CSPs busy rolling 5G plan part enable capture emerging Edge market order address variety usecases different latency security requirement MEC MultiAccess Edge Computing architecture deploying provide communication foundation enable Edge workload spectrum location Edge Device Radio Access Networks RANs Central Offices COs However CSPs need think differently want avoid disintermediated next generation OTT provider Emerging player looking new spectrum provide last mile enterprise Edge computing initially experience largest growth case mega cloud provider building partnership incumbent Telecommunications company case looking acquiring developing needed capability Challenges potential use case diverse across market including industrial healthcare automotive retail etc However anticipated 80–90 usecases require AIML Edge computing introduces following new challenge AIML workload · Portability Workloads need able run wide variety device · Tethering Workloads can’t rely always connected fact usecases specifically oriented towards disconnected long latency connect ‘mother ship’ ie oil rig Mars · Reduced capacity Environments near edge reduced compute storage network capacity compared centralized data center · Differing locale locale workload deployed differ slightly model trained one locale may perform poorly another Think autonomous vehicle model trained Boulder CO Drop Florence Italy likely accident · Dynamic environment Edge environment change time due variety characteristic like weather financial market etc Portability tethering addressed standardized opensource operating model like KubeEdge Linux Foundation Edge etc However look nature AIML workload Edge remaining challenge interpreted following area first concept known drift introduced result differing local andor dynamic nature Edge environment result degradation previously trained AIML model model trained defines function map independent variable target static uniform environment none predictor target evolve model perform initially change Drift occurs either change definition target class ie Concept Drift change feature ie Data Drift define target class Drift much common Edge environment locale slightly different original training set accurately represent environment AIML model deployed ie Boulder v Florence addition dynamic nature Edge environment much likely introduce drift time feature target used prediction environment “the wild” much le control specific characteristic AIML model operate Changes temperature wind pollen level drastically affect predictor’s accuracy Edge second challenge must addressed AIML Edge ability adapt minimal resource andor data model must capable adapting quickly changing environment without overfitting noise time able incrementally learn minimal compute new training example Reduced compute welldocumented Edge environment operating environment Edge location also result le supervision model performance andor exemplar generated word cannot rely army machine learning supervisor available label candidate many Edge location importantly model must adapt change quickly fact model’s ability adapt important initial predictive accuracy case process recurating needed data Edge retraining model centralized datacenter redeploying updated model back Edge take long Edge environment already changed Adaptation must done Edge locale near realtime Experiments scikitlearn Python package number machine learning model lend addressing Edge challenge article document use one model Stochastic Gradient Decent Classifier SGDClassifier experiment conducted realworld streaming data set incremental drift includes six different specie mosquito ‘INSECTSIncremental balanced’ dataset made available USP Dataset Repository hosted Google httpssitesgooglecomviewuspdsrepository SGDClassifier number benefit make well suited Edge workload First fairly simple lightweight run device minimal compute resource Second incrementally learn model deployed Edge updated new exemplar using partialfit function Lastly due stochastic nature algorithm allows training randomly selected singleton subset instead needing train candidate set allows algorithm extremely adaptable little training data needed conceptual architecture implemented experiment Proteus wrapper Python class service SGDClassifier function via JSON APIs using Flask Conceptual Architecture — Edge Learning following experiment began training SGDClassifier model 80 first 5000 training example ‘INSECTSIncremental balanced’ file deploying initially trained model Edge case Raspberry Pi 3 B iterating rest file one time chunk 5000 measuring accuracy 1 Feed 80 first 5000 example 4000 original training file SGDTrainer train model 2 Write model file using Pickle Python library 3 Read SGD Model testing program 4 Measure accuracy 20 holdout first 5000 example repeat process tweaking hyper parameter get desired accuracy 5 accuracy acceptable level deploy Proteus Edge location case Raspberry Pi 3 B read trained model via Pickle Python library 6 Edge application send data Proteus inference 7 Provide inference back Edge application Repeat long performance acceptable drift detected raise alert operatorssupervisors Drift detected change feature data sent Edge application without monitoring change model’s accuracy Leveraging drift detection algorithm like scikitlearn multiflow provide early warning alerting needed 8 Unlabeled data sent queue labeled supervisor 9 label data sent back incremental learning SGDClassifier model model adjusts drift resume inferencing cycle desired accuracy Simulations lifecycle run first 55000 element timeseries ‘INSECTSIncremental balanced’ file chunk 5000 model originally trained 80 first 5000 element model tested remainder 20 holdout get original baseline initial training conducted centralized server larger datacenter Finally model saved deployed Raspberry Pi 3 B inferencing accretion model tested chunk 5000 original timeseries file holding 20 testing chunk Three experiment run initial baseline captured 1 Baseline updating 2 Full update 100 training subset chunk fed back model updating 3 10 update 10 training subset chunk fed back model updating 4 1 update 1 training subset chunk fed back model updating Results Classification accuracy measured holdout subset chunk result follow Edge Learning Results baseline updating accuracy fall incrementally chunk fed model inference reflects classic example drift might see real world accuracy fell level last chunk data accuracy better random guess feed portion chunk back model updating see performance restored predeployment accuracy fact accuracy improves experiment progress entire series improvement likely due nature data later chunk rather anything related model andor update approach However clear model able adapt change data accuracy maintained addition following observation made relevant operationalization · fraction data must labeled fed back model additional training adapt change without losing accuracy fact little 1 data appears hold accuracy predeployment level data set · One additional experiment run fed back exemplar classified incorrectly approach improve maintain performance desired implication exemplar randomly selected update preserve accuracy matter one chosen second requirement learning Edge must done minimal compute resource edge location must analyzed determine capacity fit workload want deploy However crude measurement workload conducted part experiment running single Raspberry Pi 3 B simple desktop GUI running showed relatively low requirement compute 1 Full update 225 second average 4000 example 2 10 update 3 second average 400 example 3 1 update 14 second average 40 example nature Stochastic model make sense model randomly select small subset dataset retraining model require training element entire set Finally memory significantly change peak accretion function experiment Summary experiment show fairly mature already available machine learning model scikitlearn adapt drift data set due difference locale changing environment model adapt little training data compute resource preserving model accuracy Edge addition experiment indicate don’t need wait full training data set available order begin Edge machine learning deployment begin training fairly small subset achieve acceptable accuracy deploy model Edge refinementTags Machine Learning Python Edge Computing Artificial Intelligence |
1,987 | Lets build a Command line app in Swift | With Swift being open source and server side swift gaining more and more traction, command line apps built with swift can be extemely powerful for server side applications. There have been some libraries which helps to build useful command line apps and today we’ll explore few libraries and build a simple command line app.
We’ll build a command line tool to group files of a particular type and move them into a sub directory. For example, taking all png files in a folder and moving them to a sub directory within that folder. We’ll explore three packages from awesomeiOS list on GitHub.
Setting things up…
Make sure you have the latest version of Swift(4) installed and you can check it using the command swift --version as shown below.
mac:~ username$ swift --version Apple Swift version 4.0.3 (swiftlang-900.0.74.1 clang-900.0.39.2) Target: x86_64-apple-macosx10.9
2. Now we need to setup a basic Package structure using the command swift package init --type executable . Note that the command will create a package with the same name as the present working directory. As you can see in Fig 1, the command creates a directory structure.
Fig 1. Creating a new Package
One of the file created is Package.swift which contains 3 important aspects of the package
Products : The executables and libraries which are the end products of the package
: The executables and libraries which are the end products of the package Dependencies: All the other libraries which we’ll use in this package
All the other libraries which we’ll use in this package Targets: These are basic blocks of the package like test suite or the main module, and can be interdependent. Like the test suite refers to the main source module.
Moving on to the source file, Swift has a simple hello world boilerplate code in the source file. A look at the main.swift is as below
print("Hello, world!")
We can now build the package and make sure there are no issues. swift build command will compile all the modules and handle the dependencies in the Package.swift file.
mac:FileOrganizer sandeepjoshi$ swift build
Compile Swift Module 'FileOrganizer' (1 sources)
Linking ./.build/x86_64-apple-macosx10.10/debug/FileOrganizer
Now running the executable FileOrganizer in the debug directory should print Hello World
mac:FileOrganizer sandeepjoshi$ .build/debug/FileOrganizer
Hello, world!
Now that we have basic package setup, lets use some libraries and build the tool.
Adding dependencies
For this project we’ll use three command line libraries/packages from awesomeiOS list on GitHub. To add a package, we need to edit the manifest file Package.swift as in Fig 2 and then swift build command will fetch, clone and resolve the added packages as shown in Fig 3.
Edit the Package.swift file like the one below
Package.swift file
Fig 2. Adding packages to manifest file
Fig 3. Downloading all the packages
Note: Adding a package in Package.swift for older swift versions has a slightly different syntax and this will not work.
Building the tool
The package CommandLineKit is used as a base package to create the command with an option to get input as a string. The following code takes a directory path as an input for the specified option
import Foundation
import Swiftline
import ColorizeSwift
import CommandLineKit let cli = CommandLineKit.CommandLine()
let dirPath = StringOption(shortFlag: “t”, longFlag: “filetypes”, helpMessage: “List all the types of files in current directory”) cli.addOptions(dirPath) do {
try cli.parse()
} catch {
cli.printUsage(error)
} print(dirPath.value!)
Lets build and run this code and you should get an output similar to the one below.
So the CommandLineKit package gives a class Commandline which is analogous to any bash command and an instance of StringOption is analogous to an option for a typical command. So we instantiate string option(s) and add it to the option list of the commandline instance.
Now lets find all the available file types in that directory. We’ll use FileManager to get fileUrls of all the files in the directory and get the extensions of the files. Finally an array is created to store the unique file types/extensions. The following code does just that. Remove the print statement from the code above and paste the following code.
var extensions = [String]() // Array to hold types of files present in the given directory
let fileManager = FileManager.default
let dirURL = URL(fileURLWithPath: dirPath.value!)
do {
// fileURLs contains urls of all the files in the given directory
let fileURLs = try fileManager.contentsOfDirectory(at: dirURL, includingPropertiesForKeys: nil) // Getting the unique file types
for file in fileURLs {
if !extensions.contains(file.pathExtension) {
extensions.append(file.pathExtension)
}
}
// To remove a empty string at the begining
extensions.remove(at: 0)
print(“
”)
print(“Found \(extensions.count) types of files:”.bold().blue())
print(“
”)
print(extensions.joined(separator: “ “).bold())
} catch {
print("Error while enumerating files \(error.localizedDescription)")
}
Upon building and running the code now should produce an output similar to the one below —
Now using the SwiftLine package, we can ask the user which type of files should be grouped and moved into a subfolder. ask is a method provided by SwiftLine which presents a prompt and accepts the entered string.
let fileType = ask(“Choose the file type to be grouped into a folder…”.bold().green())
Again using another method agree of SwiftLine, we can confirm if the user really wants to group files of the entered type.
let choice = agree(“Are you sure you want to group files of type: \(fileType)?”.bold().white().onRed())
Now we just check the user’s choice and ask user for the name of the subdirectory and move the files of that type to the newly created subdirectory. Consolidating the above two code snippets, below is the code which needs to be added after printing the file types/extensions.
.
.
print(extensions.joined(separator: “ “).bold()) let fileType = ask("Choose the file type to be grouped into a folder...".bold().green())
print("
")
let choice = agree("Are you sure you want to group files of type: \(fileType)?".bold().white().onRed())
if(choice == true) {
print("
")
let dirName = ask("Choose the folder name to store files of type: \(fileType)".bold().blue())
print("
")
print("Grouping files by chosen filetype".bold().green())
let baseDirPath = dirPath.value!
let newDirPath = baseDirPath + dirName + "/"
let _ = run("mkdir" ,args: newDirPath) var noOfFilesMoved = 0
for file in fileURLs {
if (file.pathExtension == fileType) {
do {
try fileManager.moveItem(atPath:file.path, toPath: newDirPath+file.lastPathComponent)
noOfFilesMoved = noOfFilesMoved + 1
}
catch let error as NSError {
print("Ooops! Couldn't move the file: \(file.lastPathComponent) because of error: \(error)")
}
}
}
print("
")
print("Successfully moved \(noOfFilesMoved) no of files!".underline().bold().green()) }
The complete main.swift looks like this —
Upon building and running this, the output should look something like this..
mac:FileOrganizer sandeepjoshi$ swift build
Compile Swift Module ‘FileOrganizer’ (1 sources)
Linking ./.build/x86_64-apple-macosx10.10/debug/FileOrganizer
Note: As you can see, the prompts and output is styled. I have used the ColorizeSwift package to style the strings which are pretty straightforward and as simple as calling a method on a string. Check out the resources below for more information on this.
Obviously there can be a ton of improvements in this tool. This should serve as a good starting point to build command line apps in Swift.
Resources: | https://medium.com/quick-code/lets-build-a-command-line-app-in-swift-328ce274f1cc | ['Sandeep Joshi'] | 2018-02-02 16:20:16.109000+00:00 | ['Swift', 'Mobile App Development', 'Swift Programming', 'Command Line', 'Apple'] | Title Lets build Command line app SwiftContent Swift open source server side swift gaining traction command line apps built swift extemely powerful server side application library help build useful command line apps today we’ll explore library build simple command line app We’ll build command line tool group file particular type move sub directory example taking png file folder moving sub directory within folder We’ll explore three package awesomeiOS list GitHub Setting thing up… Make sure latest version Swift4 installed check using command swift version shown mac username swift version Apple Swift version 403 swiftlang9000741 clang9000392 Target x8664applemacosx109 2 need setup basic Package structure using command swift package init type executable Note command create package name present working directory see Fig 1 command creates directory structure Fig 1 Creating new Package One file created Packageswift contains 3 important aspect package Products executables library end product package executables library end product package Dependencies library we’ll use package library we’ll use package Targets basic block package like test suite main module interdependent Like test suite refers main source module Moving source file Swift simple hello world boilerplate code source file look mainswift printHello world build package make sure issue swift build command compile module handle dependency Packageswift file macFileOrganizer sandeepjoshi swift build Compile Swift Module FileOrganizer 1 source Linking buildx8664applemacosx1010debugFileOrganizer running executable FileOrganizer debug directory print Hello World macFileOrganizer sandeepjoshi builddebugFileOrganizer Hello world basic package setup let use library build tool Adding dependency project we’ll use three command line librariespackages awesomeiOS list GitHub add package need edit manifest file Packageswift Fig 2 swift build command fetch clone resolve added package shown Fig 3 Edit Packageswift file like one Packageswift file Fig 2 Adding package manifest file Fig 3 Downloading package Note Adding package Packageswift older swift version slightly different syntax work Building tool package CommandLineKit used base package create command option get input string following code take directory path input specified option import Foundation import Swiftline import ColorizeSwift import CommandLineKit let cli CommandLineKitCommandLine let dirPath StringOptionshortFlag “t” longFlag “filetypes” helpMessage “List type file current directory” cliaddOptionsdirPath try cliparse catch cliprintUsageerror printdirPathvalue Lets build run code get output similar one CommandLineKit package give class Commandline analogous bash command instance StringOption analogous option typical command instantiate string option add option list commandline instance let find available file type directory We’ll use FileManager get fileUrls file directory get extension file Finally array created store unique file typesextensions following code Remove print statement code paste following code var extension String Array hold type file present given directory let fileManager FileManagerdefault let dirURL URLfileURLWithPath dirPathvalue fileURLs contains url file given directory let fileURLs try fileManagercontentsOfDirectoryat dirURL includingPropertiesForKeys nil Getting unique file type file fileURLs extensionscontainsfilepathExtension extensionsappendfilepathExtension remove empty string begining extensionsremoveat 0 print“ ” print“Found extensionscount type files”boldblue print“ ” printextensionsjoinedseparator “ “bold catch printError enumerating file errorlocalizedDescription Upon building running code produce output similar one — using SwiftLine package ask user type file grouped moved subfolder ask method provided SwiftLine present prompt accepts entered string let fileType ask“Choose file type grouped folder…”boldgreen using another method agree SwiftLine confirm user really want group file entered type let choice agree“Are sure want group file type fileType”boldwhiteonRed check user’s choice ask user name subdirectory move file type newly created subdirectory Consolidating two code snippet code need added printing file typesextensions printextensionsjoinedseparator “ “bold let fileType askChoose file type grouped folderboldgreen print let choice agreeAre sure want group file type fileTypeboldwhiteonRed ifchoice true print let dirName askChoose folder name store file type fileTypeboldblue print printGrouping file chosen filetypeboldgreen let baseDirPath dirPathvalue let newDirPath baseDirPath dirName let runmkdir args newDirPath var noOfFilesMoved 0 file fileURLs filepathExtension fileType try fileManagermoveItematPathfilepath toPath newDirPathfilelastPathComponent noOfFilesMoved noOfFilesMoved 1 catch let error NSError printOoops Couldnt move file filelastPathComponent error error print printSuccessfully moved noOfFilesMoved filesunderlineboldgreen complete mainswift look like — Upon building running output look something like macFileOrganizer sandeepjoshi swift build Compile Swift Module ‘FileOrganizer’ 1 source Linking buildx8664applemacosx1010debugFileOrganizer Note see prompt output styled used ColorizeSwift package style string pretty straightforward simple calling method string Check resource information Obviously ton improvement tool serve good starting point build command line apps Swift ResourcesTags Swift Mobile App Development Swift Programming Command Line Apple |
1,988 | Pivoting Your Startup? 4 Ways To Do It Right | Cash In Reserve — At the early stage, especially seed, chances are you will keep pivoting till finding product-market fit. At Tau Ventures we advise entrepreneurs with four main principles:
i) to start fundraising at least 6 months before running out of cash
ii) to raise 10% more than what their plan calls for
iii) to keep that 10% for emergency
iv) to have a strong syndicate that will be active (usually in the form of a lead) rather than a party round of many investors that will be passive.
That said we have seen almost every conceivable situation, from startups raising small rounds that can barely increase their dwindling reserves to startups raising huge rounds while having overflowing bank accounts. Whatever specific financial strategy an entrepreneur chooses though will most certainly affect the success of their pivot. If you like to fly the plane close to the ground that won’t leave a lot of room for experimentation or error. VCs that do their diligence and invest in companies with that profile are going to be averse to pivots, as should be the entrepreneurs.
2) Timing — Entrepreneurs naturally gravitate towards pressing needs. But there is a fine line between opportunity and fad and nothing illustrates that better in 2020 than covid. At Tau Ventures we have been pitched numerous companies this year addressing the pandemic, from drug development and diagnostics, to food delivery and social interactions. If a company was built solely around covid we passed on that investment opportunity because we didn’t see a long-term need. We did have companies in our portfolio that did significant pivots with covid, in some cases completely revamping their business model. We were supportive if those decisions were existential (without the pivot they would have failed) or well-thought (with the pivot they could get some gains without jeopardizing the core focus). But we actively discouraged our entrepreneurs from chasing two birds if they already had one in hand, and it continues being our counsel for a well-executed pivot.
3) Refactoring — Refactoring is one of the scariest words in tech, it means restructuring your code without changing its external behavior. It is usually a few months of work and means you probably built your architecture in a less scalable way to start with. There is indeed a fine balance between planning for the long-term and hacking for the short-term when you have limited resources, time and people included. At Tau Ventures, given we are seed investors in applied AI, we look more for entrepreneurs that are invariably thinking ten steps ahead. Refactoring, in fact pivoting overall, is fine as long as it is intentional rather than forced upon the company. There are certainly investors at different parts of the spectrum, for instance if you are investing or building a company on fast-changing consumer tastes.
4) Reincorporate — Should you dissolve the current company, returning as much of the funds to existing investors as possible, and then restart fresh? If there is a board you will need their approval — you may actually control the vote — and should be prepared for some reputational impact at least in short-term. There are also pending contracts, partnerships and IP that would need to be transferred which would escalate legal costs. Finally there is an impact on morale and you could lose employees. That said, if you can work through these three main challenges there are certainly three worthwhile benefits. A company having started 2 years ago will definitionally have stronger momentum than the same entity being 5 years old. You could argue it is a matter of perception but it does matter, especially to future investors and hires. So does a clean cap table. Doing a reincorporation removes the spectre of a recap i.e., a new investor requiring the current cap table to be wiped away for them to invest. Lastly, if you position it correctly the reset button can actually reenergize your workforce.
Originally published on “Data Driven Investor,” am happy to syndicate on other platforms. I am the Managing Partner and Cofounder of Tau Ventures with 20 years in Silicon Valley across corporates, own startup, and VC funds. These are purposely short articles focused on practical insights (I call it gl;dr — good length; did read). Many of my writings are at https://www.linkedin.com/in/amgarg/detail/recent-activity/posts and I would be stoked if they get people interested enough in a topic to explore in further depth. If this article had useful insights for you comment away and/or give a like on the article and on the Tau Ventures’ LinkedIn page, with due thanks for supporting our work. All opinions expressed here are my own.
Gain Access to Expert View — Subscribe to DDI Intel | https://medium.com/datadriveninvestor/pivoting-your-startup-4-ways-to-do-it-right-c7b51da29ae | ['Amit Garg'] | 2020-12-26 08:47:15.016000+00:00 | ['Startup', 'Venture Capital', 'Pivot', 'Entrepreneur', 'Entrepreneurship'] | Title Pivoting Startup 4 Ways RightContent Cash Reserve — early stage especially seed chance keep pivoting till finding productmarket fit Tau Ventures advise entrepreneur four main principle start fundraising least 6 month running cash ii raise 10 plan call iii keep 10 emergency iv strong syndicate active usually form lead rather party round many investor passive said seen almost every conceivable situation startup raising small round barely increase dwindling reserve startup raising huge round overflowing bank account Whatever specific financial strategy entrepreneur chooses though certainly affect success pivot like fly plane close ground won’t leave lot room experimentation error VCs diligence invest company profile going averse pivot entrepreneur 2 Timing — Entrepreneurs naturally gravitate towards pressing need fine line opportunity fad nothing illustrates better 2020 covid Tau Ventures pitched numerous company year addressing pandemic drug development diagnostics food delivery social interaction company built solely around covid passed investment opportunity didn’t see longterm need company portfolio significant pivot covid case completely revamping business model supportive decision existential without pivot would failed wellthought pivot could get gain without jeopardizing core focus actively discouraged entrepreneur chasing two bird already one hand continues counsel wellexecuted pivot 3 Refactoring — Refactoring one scariest word tech mean restructuring code without changing external behavior usually month work mean probably built architecture le scalable way start indeed fine balance planning longterm hacking shortterm limited resource time people included Tau Ventures given seed investor applied AI look entrepreneur invariably thinking ten step ahead Refactoring fact pivoting overall fine long intentional rather forced upon company certainly investor different part spectrum instance investing building company fastchanging consumer taste 4 Reincorporate — dissolve current company returning much fund existing investor possible restart fresh board need approval — may actually control vote — prepared reputational impact least shortterm also pending contract partnership IP would need transferred would escalate legal cost Finally impact morale could lose employee said work three main challenge certainly three worthwhile benefit company started 2 year ago definitionally stronger momentum entity 5 year old could argue matter perception matter especially future investor hire clean cap table reincorporation remove spectre recap ie new investor requiring current cap table wiped away invest Lastly position correctly reset button actually reenergize workforce Originally published “Data Driven Investor” happy syndicate platform Managing Partner Cofounder Tau Ventures 20 year Silicon Valley across corporates startup VC fund purposely short article focused practical insight call gldr — good length read Many writing httpswwwlinkedincominamgargdetailrecentactivityposts would stoked get people interested enough topic explore depth article useful insight comment away andor give like article Tau Ventures’ LinkedIn page due thanks supporting work opinion expressed Gain Access Expert View — Subscribe DDI IntelTags Startup Venture Capital Pivot Entrepreneur Entrepreneurship |
1,989 | Bounce! A Therapist’s New Year Resolution for Tough Times | Let’s face it. We are in a collective and personal crisis. It’s been going on for almost a year, and though there are reasons for optimism, their impact won’t be felt for quite a while. The Covid pandemic has conspired with the ugliest and sometimes frightening political and cultural issues of our history.
It’s like the band-aid that has covered several wounds, has been ripped off, and we are left with all our hurts exposed and not yet healed. A vulnerable wound is at risk for more pain, as well as the potential for new complications like spreading or infection.
As a therapist and a person who already suffers from mental illness, I can testify about this vulnerability, combined with uncertainty about how to keep my equilibrium. I am not alone.
Mental health problems are real and common
In the past several months, the toll of the pandemic on mental health has received more attention and is alarming in its sweeping and growing impact on people who already suffer from mental illness, as well as those who never have.
A study by the CDC in late June showed that 40.9% of people reported at least one mental health complaint, and there were significant increases in anxiety, depression, a worsening of previous trauma, and an increase in substance abuse. They judged their symptoms to be 3–4 times what they’d been the year before. One of the most disturbing findings was that almost 11% reported seriously thinking about suicide. Across a number of studies, 18–30 year-olds report high levels of significant distress in a number of areas, reporting dramatic increases in depression, anxiety and loneliness. These numbers are likely to rise for several reasons:
Symptoms of distress don’t stay static over time. Untreated, they often worsen with time. It is not a good thing to expect to acclimate to them.
The impact of stress on mental health doesn’t just magically disappear once difficult circumstances abate. In fact, often, when things calm down, symptoms can worsen, as in the occurrence of post-traumatic stress disorders
Effective, affordable mental health services are unavailable to most people in the best of times.
We are stressed in an incomprehensible range of ways:
the illness itself, with psychiatric and neurological syndromes that will likely be more apparent over time, with more research.
protracted recovery and uncertainty after illness
constricting rules involving separation and isolation which influence covid patient and loved ones
financial reversals that are far-reaching and sometimes permanent
need to work at low pay, low benefit jobs classified as necessary
overworked healers who battle the illness and the inundation of limited resources, leading to exhaustion and powerlessness.
disruption of the rituals that make life expectable and controllable, such as going to school every day.
To make it worse
As individuals and as a culture, we have always had ways of dealing with the experience of stress and loss. They don’t take away the pain. But they help us get through it.
The cruelest blow in our current situation is that the things that usually help us through hard times aren’t available
For example
Religions, cultures and families observe traditions of bereavement that are remarkably similar. They include a recognition of the death, a memorialization in the form of rituals in which friends and family walk through the initial stages of grief together through a variety of practices. The shared grief and social support are integral to the healing process. One after the other, the announcement of people’s deaths includes statements about how these events will be deferred until after the pandemic subsides. This leaves us in suspended animation grief, which is very unsettling.
On an individual level, many people have found that exercise is helpful in managing stress. Closing gyms, swimming pools, exercise rooms in apartments reduce access to good habits. To make things more difficult, the cold weather is now making outdoor exercise more challenging. Even physical therapy and massage therapy may be curtailed. We may also let our decent nutrition behavior go. In a domino effect, sleep may also suffer. Disruptions in our basic rhythms is both a cause and an effect of the stress we experience and wears us down over time.
Photo by Michael Walter on Unsplash
Think of yourself as a rubber band
Imagine a new rubber band around your wrist. Pull it just a bit and it will give your skin a pop. Now imagine it as time goes by. It loses its elasticity or resilience. You will need to pull on it harder, until no matter how much effort you make, it sags on your wrist, or breaks entirely.
This is what stress does to our mental health. Sometimes without knowing how or when, we find ourselves working harder to make less progress. We become less able to bend, stretch, go with the flow. Whatever things we expect of ourselves become harder, or impossible to do. We are frayed and weak.
It’s hard to recover our elasticity once it’s gone.
And the thing is, we often don’t recognize the harm until it happens. Yes, there are lightning strikes that hit us (like an anxiety attack or an outburst of anger or tears). Wow! “Where did that come from?” we ask ourselves. It gets our attention as a signal of stress.
But stress doesn’t always present with drama. Thunder, lightning, and pounding rain are recognizable signs that a storm is happening. But sometimes a “storm” that is even stronger is going on without our notice. Think of a steady, light rain landing on the soil for a long time. Its impact doesn’t register until the soil can’t take anymore and the water floods and destroys.
Bounce
Photo by Samuel-Elias Nadler on Unsplash
Resilience is the way we come back from the small and huge insults to our equilibrium
1. Cut yourself some slack
Lower your expectations of yourself. This isn’t the year for a lot of ambitious resolutions for change. Sometimes you have to just “coast.” We are all in situations in which we must deal with illness, death, separation, loss, constriction of normal life, uncertainty, hostility, political confusion and dramatic divisions, and no clear sense of an ending. How could we not be thrown off? Something has squashed the ball and there isn’t enough air for a good strong bounce, so we adjust. Maybe we can toss it up in the air, rather than throw it down on the floor.
2. “Dare to be Average”
Psychiatrist David Burns, in his book Feeling Good coined that wonderful phrase. We need to change our expectations of ourselves when they are unrealistically high, or the situation is too demanding so we don’t feel constantly angry at ourselves. In the words of composer Stephan Sondheim in his musical “Bounce,” — “You needn’t have brilliance, just resilience.”
3. Maximize your sense of control in an out- of- control situation.
Get real. This is a bad time. You have to be Superman not to be negatively affected. Do things that make you feel competent. Do what the experts tell you to do. This will end. But it isn’t a sprint. It’s a marathon, requiring new skills, endurance, flexibility and patience.
Be informed, but not overwhelmed . Exposure to too much media has been identified as a common stressor. It’s just too much.
. Exposure to too much media has been identified as a common stressor. It’s just too much. Identify areas in which you feel most vulnerable , for example, isolation increased anxiety, loss of “anchors” during the day with a lack of structure.
, for example, isolation increased anxiety, loss of “anchors” during the day with a lack of structure. For each vulnerability, set goals to deal with the stress that collapses your coping, and deflates you. Set a limit on the amount of time you spend with media coverage of the pandemic and/or the current political chaos. Social media may be appealing, but it, too, can lead to overload, especially when the content is aggressive or conflicting.
Take charge
Redesign your life to fit your current situations. Flexibility is imperative in maintaining resilience.
Set a schedule — keep sleep and eating in regular rhythms.
keep sleep and eating in regular rhythms. Distraction — there’s nothing wrong with “escape” (watching a movie, reading, trying your hand at creative activities (even if you suck, painting or constructing, even “coloring books, allow you important “shifts) to interrupt stressful states.
— there’s nothing wrong with “escape” (watching a movie, reading, trying your hand at creative activities (even if you suck, painting or constructing, even “coloring books, allow you important “shifts) to interrupt stressful states. Substitution — learn something new, try different things. Pick up a new language, discover music that’s different from your usual. Cook. Keep a large puzzle “in process” on the table. Pets, from dogs to goldfish ease isolation, introduce an original element into your constrained existence, and provide their own “social support.”
— learn something new, try different things. Pick up a new language, discover music that’s different from your usual. Cook. Keep a large puzzle “in process” on the table. Pets, from dogs to goldfish ease isolation, introduce an original element into your constrained existence, and provide their own “social support.” Move — even though exercise is more challenging, there are exercise programs online, on television. Be creative, walk the halls of your apartment building. Dress warmly and walk. The upside of this is that it can combine with social interaction by including a “walking buddy.”
— even though exercise is more challenging, there are exercise programs online, on television. Be creative, walk the halls of your apartment building. Dress warmly and walk. The upside of this is that it can combine with social interaction by including a “walking buddy.” Connect — even with social distancing, it is imperative to maintain human contact with family, friends and work associates. Contact online with social support groups can be helpful. You may have to experiment to find one you like.
— even with social distancing, it is imperative to maintain human contact with family, friends and work associates. Contact online with social support groups can be helpful. You may have to experiment to find one you like. Be vigilant — Even if you have no history of mental health issues, you are still vulnerable. Pay attention to problems with your sleep, anxiety, depression, obsessive thinking. If you see these things worsen, remember that your reactions make sense. They arise from a perfect storm of influences that make most people distressed. They are uncomfortable, but they are likely to resolve. Self-help approaches like meditation, breathing techniques, prayer, and contact with others can be helpful.
— Even if you have no history of mental health issues, you are still vulnerable. Pay attention to problems with your sleep, anxiety, depression, obsessive thinking. If you see these things worsen, remember that your reactions make sense. They arise from a perfect storm of influences that make most people distressed. They are uncomfortable, but they are likely to resolve. Self-help approaches like meditation, breathing techniques, prayer, and contact with others can be helpful. But — if these feelings interfere with your general sense of well-being, you might want to seek mental health intervention. If you have a history of mental illness, you are at increased risk of exacerbation of your symptoms. Stay on top of your current treatment.
if these feelings interfere with your general sense of well-being, you might want to seek mental health intervention. If you have a history of mental illness, you are at increased risk of exacerbation of your symptoms. Stay on top of your current treatment. Consult — the wide variety of mental health resources online to give information about the virus, coping with the stressors of the pandemic, and locating national and local organizations that can be helpful in educating, and also connecting you to care when you find you need more structured mental health treatment.
Compassion
One of the major components of resilience is compassion. We need to exercise empathy for people who are stressed similarly or worse than we are. To mangle Shakespeare, I would add the adage, “To thine own self be kind.” We will emerge from this long nightmare. But it’s not going to be quick or easy. So we have to “chill.” We have no choice.
With this new year, it’s time to learn to bounce. In the lyrics of the play, “Bounce” by Stephen Sondheim, he gives some hints.
“Don’t dwell on the times
that you fail
Remember the times
When you said
Find a new road —
Forge a new trail — Bounce.”
Happier New Year! | https://medium.com/invisible-illness/bounce-a-therapists-new-year-resolution-for-tough-times-f010092fb9c | ['Martha Manning'] | 2020-12-28 20:09:39.768000+00:00 | ['Resilience', 'Mental Health', 'Stress', 'Coronavirus', 'New Year'] | Title Bounce Therapist’s New Year Resolution Tough TimesContent Let’s face collective personal crisis It’s going almost year though reason optimism impact won’t felt quite Covid pandemic conspired ugliest sometimes frightening political cultural issue history It’s like bandaid covered several wound ripped left hurt exposed yet healed vulnerable wound risk pain well potential new complication like spreading infection therapist person already suffers mental illness testify vulnerability combined uncertainty keep equilibrium alone Mental health problem real common past several month toll pandemic mental health received attention alarming sweeping growing impact people already suffer mental illness well never study CDC late June showed 409 people reported least one mental health complaint significant increase anxiety depression worsening previous trauma increase substance abuse judged symptom 3–4 time they’d year One disturbing finding almost 11 reported seriously thinking suicide Across number study 18–30 yearolds report high level significant distress number area reporting dramatic increase depression anxiety loneliness number likely rise several reason Symptoms distress don’t stay static time Untreated often worsen time good thing expect acclimate impact stress mental health doesn’t magically disappear difficult circumstance abate fact often thing calm symptom worsen occurrence posttraumatic stress disorder Effective affordable mental health service unavailable people best time stressed incomprehensible range way illness psychiatric neurological syndrome likely apparent time research protracted recovery uncertainty illness constricting rule involving separation isolation influence covid patient loved one financial reversal farreaching sometimes permanent need work low pay low benefit job classified necessary overworked healer battle illness inundation limited resource leading exhaustion powerlessness disruption ritual make life expectable controllable going school every day make worse individual culture always way dealing experience stress loss don’t take away pain help u get cruelest blow current situation thing usually help u hard time aren’t available example Religions culture family observe tradition bereavement remarkably similar include recognition death memorialization form ritual friend family walk initial stage grief together variety practice shared grief social support integral healing process One announcement people’s death includes statement event deferred pandemic subsides leaf u suspended animation grief unsettling individual level many people found exercise helpful managing stress Closing gym swimming pool exercise room apartment reduce access good habit make thing difficult cold weather making outdoor exercise challenging Even physical therapy massage therapy may curtailed may also let decent nutrition behavior go domino effect sleep may also suffer Disruptions basic rhythm cause effect stress experience wear u time Photo Michael Walter Unsplash Think rubber band Imagine new rubber band around wrist Pull bit give skin pop imagine time go loses elasticity resilience need pull harder matter much effort make sag wrist break entirely stress mental health Sometimes without knowing find working harder make le progress become le able bend stretch go flow Whatever thing expect become harder impossible frayed weak It’s hard recover elasticity it’s gone thing often don’t recognize harm happens Yes lightning strike hit u like anxiety attack outburst anger tear Wow “Where come from” ask get attention signal stress stress doesn’t always present drama Thunder lightning pounding rain recognizable sign storm happening sometimes “storm” even stronger going without notice Think steady light rain landing soil long time impact doesn’t register soil can’t take anymore water flood destroys Bounce Photo SamuelElias Nadler Unsplash Resilience way come back small huge insult equilibrium 1 Cut slack Lower expectation isn’t year lot ambitious resolution change Sometimes “coast” situation must deal illness death separation loss constriction normal life uncertainty hostility political confusion dramatic division clear sense ending could thrown Something squashed ball isn’t enough air good strong bounce adjust Maybe toss air rather throw floor 2 “Dare Average” Psychiatrist David Burns book Feeling Good coined wonderful phrase need change expectation unrealistically high situation demanding don’t feel constantly angry word composer Stephan Sondheim musical “Bounce” — “You needn’t brilliance resilience” 3 Maximize sense control control situation Get real bad time Superman negatively affected thing make feel competent expert tell end isn’t sprint It’s marathon requiring new skill endurance flexibility patience informed overwhelmed Exposure much medium identified common stressor It’s much Exposure much medium identified common stressor It’s much Identify area feel vulnerable example isolation increased anxiety loss “anchors” day lack structure example isolation increased anxiety loss “anchors” day lack structure vulnerability set goal deal stress collapse coping deflates Set limit amount time spend medium coverage pandemic andor current political chaos Social medium may appealing lead overload especially content aggressive conflicting Take charge Redesign life fit current situation Flexibility imperative maintaining resilience Set schedule — keep sleep eating regular rhythm keep sleep eating regular rhythm Distraction — there’s nothing wrong “escape” watching movie reading trying hand creative activity even suck painting constructing even “coloring book allow important “shifts interrupt stressful state — there’s nothing wrong “escape” watching movie reading trying hand creative activity even suck painting constructing even “coloring book allow important “shifts interrupt stressful state Substitution — learn something new try different thing Pick new language discover music that’s different usual Cook Keep large puzzle “in process” table Pets dog goldfish ease isolation introduce original element constrained existence provide “social support” — learn something new try different thing Pick new language discover music that’s different usual Cook Keep large puzzle “in process” table Pets dog goldfish ease isolation introduce original element constrained existence provide “social support” Move — even though exercise challenging exercise program online television creative walk hall apartment building Dress warmly walk upside combine social interaction including “walking buddy” — even though exercise challenging exercise program online television creative walk hall apartment building Dress warmly walk upside combine social interaction including “walking buddy” Connect — even social distancing imperative maintain human contact family friend work associate Contact online social support group helpful may experiment find one like — even social distancing imperative maintain human contact family friend work associate Contact online social support group helpful may experiment find one like vigilant — Even history mental health issue still vulnerable Pay attention problem sleep anxiety depression obsessive thinking see thing worsen remember reaction make sense arise perfect storm influence make people distressed uncomfortable likely resolve Selfhelp approach like meditation breathing technique prayer contact others helpful — Even history mental health issue still vulnerable Pay attention problem sleep anxiety depression obsessive thinking see thing worsen remember reaction make sense arise perfect storm influence make people distressed uncomfortable likely resolve Selfhelp approach like meditation breathing technique prayer contact others helpful — feeling interfere general sense wellbeing might want seek mental health intervention history mental illness increased risk exacerbation symptom Stay top current treatment feeling interfere general sense wellbeing might want seek mental health intervention history mental illness increased risk exacerbation symptom Stay top current treatment Consult — wide variety mental health resource online give information virus coping stressor pandemic locating national local organization helpful educating also connecting care find need structured mental health treatment Compassion One major component resilience compassion need exercise empathy people stressed similarly worse mangle Shakespeare would add adage “To thine self kind” emerge long nightmare it’s going quick easy “chill” choice new year it’s time learn bounce lyric play “Bounce” Stephen Sondheim give hint “Don’t dwell time fail Remember time said Find new road — Forge new trail — Bounce” Happier New YearTags Resilience Mental Health Stress Coronavirus New Year |
1,990 | Get any UX job with a stellar portfolio presentation by reading this | Get any UX job with a stellar portfolio presentation by reading this
Advice I received from people at Amazon, Microsoft, Google and more
This article was co-written with Angela Nguyen ❤
Link to talk (Youtube)
Link to follow up article with additional tips
Featured on Marvel, Fall 2018
You passed the initial phone interview and now comes the final test to show potential employers what you are capable of: the portfolio presentation.
Portfolio presentations are the norm for any design position. It shows employers your thought process through design problems and how well you communicate to others. It’s the perfect opportunity to prove that you are the most qualified designer for the job.
If you never gave a portfolio presentation before, it might feel pretty intimidating (I know because I have been in that position) but don’t worry! I have given a fair amount of portfolio presentations and I still get nervous before each one. You can’t avoid portfolio presentations, or any presentation for that matter (especially working in the design industry), but you can definitely get better and conquer your fear of presenting.
Here are steps and tips which have come from my experience of interviewing at different tech companies as well as my friends/mentors who work at some of the biggest companies in tech. As a student, I have interviewed with Microsoft, Amazon, Intuit, Google and more, enhancing my understanding of the interview process as well as my presentation skills. I have one more year of school left with an internship lined up for the summer. I am writing this article with the help of my good friend and co-author, Angela. Angela currently works at Amazon and has had the opportunity to interview with tech giants, receiving multiple offers after graduating. For the integrity of the companies and the people working there, we will not be specifying what each of these companies are looking for, but will provide tips on how you can execute a kick-ass presentation of your work.
1. Before the portfolio presentation:
Prepare the slide deck
When I am given the task to prepare a portfolio review, I ask if there are any requirements in regards to the structure of how my presentation should look or what information my potential audience would want to know most about. Some companies want you to emphasize your design process while other companies will provide resources to help you prepare your presentation based on specific guidelines. Regardless of what is expected, I first create a basic framework for my presentation. Based on which company I’m presenting to, I’d later make changes accordingly.
Here is the basic frame work we typically start with when designing for any portfolio presentation:
Title Slide
Introduction
Overview of projects
Outcome (the what and why of your project aka elevator pitch)
Brief (problem)
Outline (approach)
Process (struggles and success)
Outcome
Next steps (what would you do differently if given the chance? Remember, a project never ends after the due date)
Learnings
Appendix
The Title Slide
Here’s a slide before beginning your presentation. It helps when people are settling down or still coming into the room. You can use it as a breather too! Introduction
Never jump into your presentation without introducing yourself. Interviewers want to know who you are! Typically, your interviewers are meeting you for the first time so this is an opportunity to make a good impression, just as though you were meeting a new friend. I like to give my design statement in my introduction. I also bring up past places I’ve worked, to give a context of the types of projects or environments I’ve experienced. Overview of Presentation
Your design work should cover a wide range of problems and approaches, as well as describing the what, why and how of each project and your contributions. Every company puts emphasis on different things, whether it’s on teamwork or a more user-centric process, so the kinds of projects you show should change depending on who you are presenting to. Before diving deep into a particular project, I give an overview of my presentation to give the audience a heads up on what I will be showing. The overview assures employers that you’re going to cover a range of things, as to not keep them in suspense on whether or not you’re going to talk about something they had in mind. It is okay to be picky about the projects you present. Portfolio presentations are a great opportunity to tell your audience about a project you really enjoyed vs not so much. Sometimes we learn more from the project that wasn’t so great and employers want to know how you handled that situation. Projects (Address the Big Picture)
Start by showing the final outcome while giving the elevator pitch; not going into details but showing a surface level of what the project is and why. Emphasize your design statement or high level takeaway on your projects. This way the audience can keep in the back of their mind what you’re talking about, just not to leave them hanging when you’re going through the millions of hours and efforts in the process portion. Interviewers know how designers invest their time into every project. It’s about sharing how the idea evolved over time.
But overall…
Here is helpful resource that has 10 rules to instantly improve your presentation.
Things to think about when curating your presentation
Questions to keep in mind
Your presentation has a purpose. Every slide and every word that comes out of mouth should provide insight and meaning to how you think. Here are questions I use when I create a framework for my presentations in order to have a better sense of what I will be presenting to the audience.
What is your project about?
In team projects, how did you contribute?
Who are you designing for?
What is the main problem you were trying to solve?
How did you execute your project?
Why is this part of the process important and how does it help you in understanding the problem?
How does your solution connect to the problem?
What are the key things you want your audience to learn?
Presentation Design
Regarding the design of your presentation, you do not want to incorporate too much text into it. You probably have heard the saying in that if you add a huge amount of text into a presentation, people will divert their attention from you to reading the slide itself. You do not want to take people’s attention away from you because the point of a presentation is to have people listen to you. If you have less text and more pictures, it allows people to wonder and focus. pictures are the teaser while you are the one giving meaning to those pictures. Now that is what people came for.
More show in slides, Tell in person
Don’t show all of your process if it doesn’t add to your story. You only want to highlight the aspects that were especially fundamental to understanding the problem and creating the solution.
Be Concise
You only have a limited amount of time to present so you need to get to the point. You want to intentionally explain how each part of your process helped you in getting to your solution, solving the problem, and understanding your user.
Don’t stumble and get to the point .
What is the point of showing a picture of a system flow or insights from your research? You want to intentionally explain how each part of your process helped you.
Stories are powerful
Tell a story about your design process, explaining the WHY instead of WHAT behind your decisions. We have a tendency to state what we did, but we do not always connect it to our users who should be our main focus surrounding the design. You also want to frame your story as though you overcame great obstacles because people love hearing stories with high stakes and fulfilling, meaningful endings.
At the end of every project (especially towards the end of the presentation), have a strong ending, present the solution, summarize findings, and have a message whether it is emphasizing your design ethos and/or how your skills can help the company. This is your chance to not leave people confused or hanging. You want to be able to address any lingering questions during the presentation so after the presentation can be more emphasized on the interviewers getting to know you.
Be honest and upfront. Not every project went smoothly and it’s okay to call that out in your process. Employers wants to know how you handle problems and how you would fit in their design team. They care more about how you execute the content versus what the content is.
Remember the most important thing is that you are presenting the work YOU did. If you cannot explain YOUR work, then how can other people understand it? This is a guarantee to leave a bad impression and not job.
The speaking part of the presentation
Practice
Practice, and if you aren’t great at public speaking, practice A LOT. Practice presenting your portfolio to other people in order to build confidence and develop a flow on how you will be storytelling. In the context of presenting anything important, repetition is key. Always go through your presentation with someone to pin point where you lack to emphasize key points; the person you practice with might even have helpful tips for you!
Time
Be VERY flexible. A senior designer from Microsoft taught me the importance of being very intentional about what you say under constraints. This will allow you to present your ideas and process more efficiently and effectively. If you had 5 minutes or even 1 minute to pitch your design to someone, say a product designer or even the CEO of said company, how would you explain your work to them? Tailor the presentation based on the time you have, such as creating a hierarchy and outline. What are the three most important things about a project? Are they the pros of a project, next steps, learnings, etc. By time boxing your presentation as well as framing the way you present your information based on importance (what is lvl 1 stuff to talk about, lvl 2, lvl 3), it allows you to find the core of your project and the key points that will most likely draw attention.
2. During the portfolio presentation:
Be thoughtful
Always enter and leave with a good impression. Show your appreciation and enthusiasm for being invited to present. Provide your audience with your resume or an outline of your agenda so your interviewers can easily follow along your presentation.
Relax
Breathe and show good body posture. When nervous, we tend to do worse on performance because we can’t focus. My teacher wrote an article that talks about the importance of moving while speaking and how that can contribute to a great presentation. It helps you ease your nervousness while engaging to the audience.
Break your information down
Prime your interviewers to make sure they know what to expect before diving head on into your projects. Your interviewers are probably looking at your work for the first time or if they have looked at your work, they most likely have not looked at it in depth. Don’t expect them to remember every project without telling them directly.
Before you go into presenting your projects, it’s okay to state the obvious such as “Hey this my work and I want to walk you through it.” It’s also beneficial to give an overview of what you are going to talk about to and give a scope of how long and what will be in your presentation. An example of this is breaking down your projects to show diversity or your skill set (Project 1: UI, Project 2: UX Project 3: UX Research, etc.) It is better to tell them what they will be seeing BEFORE so they have an easier time to process everything, especially during a short time period. The interviewers have to understand everything about you in less than one hour.
Talk slowly
When speaking in general between slides or ideas, leave breathing time for not only yourself but for the audience to ask questions. A presentation is best when it becomes a discussion. And you don’t want to rush through talking anyway because it doesn’t allow the audience to digest what you are saying, causing them to zone out and not follow you. The purpose of a portfolio presentation is to have people follow YOU.
Show excitement
“Don’t give a speech, put on a show”
By showing excitement, you give an impression that shows how much you want the job. Even beyond that, showing excitement is what makes other people excited. It can also influence your performance in a positive way. People want to work with someone who is passionate and isn’t afraid of tackling challenges, such as presentations!
Open the floor for questions
It is important to present under the time given so you can have more time for Q and A. Be careful when asking questions in between projects; it can risk your presentation from shifting completely into a Q and A session.
Be prepared to answer questions and always have questions for the interviewers. They want to know what you are curious about and if you have any questions that spark interesting discussions about the company or what they do.
3. After the portfolio presentation:
Ask for feedback
Most big companies will not provide feedback when they share your results, but during the interview, it is perfectly reasonable to ask for feedback on a project if the opportunity presents itself. Sometimes after describing a project, the interviewer will provide their feedback because it’s almost instinct for designers to help other designers. If the company doesn’t explain their policy about feedback after the interview, it never hurts to ask.
Keep in touch
Always follow up with an email to everyone in the room, within a week, to say thank you. It also helps remind them to follow through on your interview process. You can even hand out business cards at the end of your presentation. It is like a nudge that indicates “Hey, let’s keep in touch.”
Conclusion
In the portfolio presentation, you get assessed based on your skills (background in design, experience, design thinking), personality (is this person someone who can take feedback, work with the team) and your ability to present (can this person explain things clearly, tell compelling story about their work, communicate).
These days, skills alone aren’t enough to get the job.
Just like choosing the best candidate, a portfolio presentation is a multi faceted experience to show employers the whole package of who you are and the potential of what you can bring to the table. Designers who can make great work AND communicate are better than those who do one or the other.
We hope this little guide to creating an amazing portfolio presentation and what to do before, during, and after will help you in your design interviews. Good luck!
For a detailed view on interviewing for design jobs, read Andrew’s article:
If you want to master the top interview questions in every design interview, read my article:
If you want to improve your portfolio, read my article as well as Christina’s
If you have any questions about design, message me on LinkedIn and I’ll write about it!
To help you get started on owning your design career, here are some amazing tools from Rookieup, a site I used to get mentorship from senior designers:
Links to some other cool reads: | https://uxplanet.org/get-any-design-job-with-a-stellar-portfolio-presentation-by-reading-this-1b9ede9a479a | ['Tiffany Eaton'] | 2019-11-26 17:52:53.784000+00:00 | ['Self Improvement', 'Design', 'Life Lessons', 'UX', 'Startup'] | Title Get UX job stellar portfolio presentation reading thisContent Get UX job stellar portfolio presentation reading Advice received people Amazon Microsoft Google article cowritten Angela Nguyen ❤ Link talk Youtube Link follow article additional tip Featured Marvel Fall 2018 passed initial phone interview come final test show potential employer capable portfolio presentation Portfolio presentation norm design position show employer thought process design problem well communicate others It’s perfect opportunity prove qualified designer job never gave portfolio presentation might feel pretty intimidating know position don’t worry given fair amount portfolio presentation still get nervous one can’t avoid portfolio presentation presentation matter especially working design industry definitely get better conquer fear presenting step tip come experience interviewing different tech company well friendsmentors work biggest company tech student interviewed Microsoft Amazon Intuit Google enhancing understanding interview process well presentation skill one year school left internship lined summer writing article help good friend coauthor Angela Angela currently work Amazon opportunity interview tech giant receiving multiple offer graduating integrity company people working specifying company looking provide tip execute kickass presentation work 1 portfolio presentation Prepare slide deck given task prepare portfolio review ask requirement regard structure presentation look information potential audience would want know company want emphasize design process company provide resource help prepare presentation based specific guideline Regardless expected first create basic framework presentation Based company I’m presenting I’d later make change accordingly basic frame work typically start designing portfolio presentation Title Slide Introduction Overview project Outcome project aka elevator pitch Brief problem Outline approach Process struggle success Outcome Next step would differently given chance Remember project never end due date Learnings Appendix Title Slide Here’s slide beginning presentation help people settling still coming room use breather Introduction Never jump presentation without introducing Interviewers want know Typically interviewer meeting first time opportunity make good impression though meeting new friend like give design statement introduction also bring past place I’ve worked give context type project environment I’ve experienced Overview Presentation design work cover wide range problem approach well describing project contribution Every company put emphasis different thing whether it’s teamwork usercentric process kind project show change depending presenting diving deep particular project give overview presentation give audience head showing overview assures employer you’re going cover range thing keep suspense whether you’re going talk something mind okay picky project present Portfolio presentation great opportunity tell audience project really enjoyed v much Sometimes learn project wasn’t great employer want know handled situation Projects Address Big Picture Start showing final outcome giving elevator pitch going detail showing surface level project Emphasize design statement high level takeaway project way audience keep back mind you’re talking leave hanging you’re going million hour effort process portion Interviewers know designer invest time every project It’s sharing idea evolved time overall… helpful resource 10 rule instantly improve presentation Things think curating presentation Questions keep mind presentation purpose Every slide every word come mouth provide insight meaning think question use create framework presentation order better sense presenting audience project team project contribute designing main problem trying solve execute project part process important help understanding problem solution connect problem key thing want audience learn Presentation Design Regarding design presentation want incorporate much text probably heard saying add huge amount text presentation people divert attention reading slide want take people’s attention away point presentation people listen le text picture allows people wonder focus picture teaser one giving meaning picture people came show slide Tell person Don’t show process doesn’t add story want highlight aspect especially fundamental understanding problem creating solution Concise limited amount time present need get point want intentionally explain part process helped getting solution solving problem understanding user Don’t stumble get point point showing picture system flow insight research want intentionally explain part process helped Stories powerful Tell story design process explaining instead behind decision tendency state always connect user main focus surrounding design also want frame story though overcame great obstacle people love hearing story high stake fulfilling meaningful ending end every project especially towards end presentation strong ending present solution summarize finding message whether emphasizing design ethos andor skill help company chance leave people confused hanging want able address lingering question presentation presentation emphasized interviewer getting know honest upfront every project went smoothly it’s okay call process Employers want know handle problem would fit design team care execute content versus content Remember important thing presenting work cannot explain work people understand guarantee leave bad impression job speaking part presentation Practice Practice aren’t great public speaking practice LOT Practice presenting portfolio people order build confidence develop flow storytelling context presenting anything important repetition key Always go presentation someone pin point lack emphasize key point person practice might even helpful tip Time flexible senior designer Microsoft taught importance intentional say constraint allow present idea process efficiently effectively 5 minute even 1 minute pitch design someone say product designer even CEO said company would explain work Tailor presentation based time creating hierarchy outline three important thing project pro project next step learning etc time boxing presentation well framing way present information based importance lvl 1 stuff talk lvl 2 lvl 3 allows find core project key point likely draw attention 2 portfolio presentation thoughtful Always enter leave good impression Show appreciation enthusiasm invited present Provide audience resume outline agenda interviewer easily follow along presentation Relax Breathe show good body posture nervous tend worse performance can’t focus teacher wrote article talk importance moving speaking contribute great presentation help ease nervousness engaging audience Break information Prime interviewer make sure know expect diving head project interviewer probably looking work first time looked work likely looked depth Don’t expect remember every project without telling directly go presenting project it’s okay state obvious “Hey work want walk it” It’s also beneficial give overview going talk give scope long presentation example breaking project show diversity skill set Project 1 UI Project 2 UX Project 3 UX Research etc better tell seeing easier time process everything especially short time period interviewer understand everything le one hour Talk slowly speaking general slide idea leave breathing time audience ask question presentation best becomes discussion don’t want rush talking anyway doesn’t allow audience digest saying causing zone follow purpose portfolio presentation people follow Show excitement “Don’t give speech put show” showing excitement give impression show much want job Even beyond showing excitement make people excited also influence performance positive way People want work someone passionate isn’t afraid tackling challenge presentation Open floor question important present time given time Q careful asking question project risk presentation shifting completely Q session prepared answer question always question interviewer want know curious question spark interesting discussion company 3 portfolio presentation Ask feedback big company provide feedback share result interview perfectly reasonable ask feedback project opportunity present Sometimes describing project interviewer provide feedback it’s almost instinct designer help designer company doesn’t explain policy feedback interview never hurt ask Keep touch Always follow email everyone room within week say thank also help remind follow interview process even hand business card end presentation like nudge indicates “Hey let’s keep touch” Conclusion portfolio presentation get assessed based skill background design experience design thinking personality person someone take feedback work team ability present person explain thing clearly tell compelling story work communicate day skill alone aren’t enough get job like choosing best candidate portfolio presentation multi faceted experience show employer whole package potential bring table Designers make great work communicate better one hope little guide creating amazing portfolio presentation help design interview Good luck detailed view interviewing design job read Andrew’s article want master top interview question every design interview read article want improve portfolio read article well Christina’s question design message LinkedIn I’ll write help get started owning design career amazing tool Rookieup site used get mentorship senior designer Links cool readsTags Self Improvement Design Life Lessons UX Startup |
1,991 | Reverse Image Search — Find Similar images | Photo by Format from Pexels
Have you ever wondered how google image search works or How amazon can retrieve products similar to the image that we upload in the app/site?
To achieve this task we will be using one simple method.
We are going to pick a pre-trained deep learning model, remove the top layers, and extract the convolutional features for the images in our dataset. Then we will use these feature vectors to find similar images by using sklearn’s nearest neighbor algorithm.
Let’s get started.
Import libraries
import requests
import os
import numpy as np
from numpy.linalg import norm
import joblib as pickle
from tqdm import tqdm
import os
import PIL
import time
import tensorflow as tf
from tensorflow.keras.preprocessing import image
from tensorflow.keras.preprocessing.image import ImageDataGenerator
import gc
from tensorflow.keras.applications.resnet50 import ResNet50, preprocess_input
#from tensorflow.keras.applications.MobileNet import MobileNetV2,preprocess_input
#from tensorflow.keras.applications.mobilenet import MobileNet,preprocess_input
import math
from sklearn.neighbors import NearestNeighbors
import matplotlib.pyplot as plt
import matplotlib.image as mpimg
from sklearn.decomposition import PCA
We will be using Caltech101 object dataset. A small description of the dataset — Pictures of objects belonging to 101 categories. About 40 to 800 images per category. Most categories have about 50 images. Collected in September 2003 by Fei-Fei Li, Marco Andreetto, and Marc ‘Aurelio Ranzato. The size of each image is roughly 300 x 200 pixels.
To know more about the dataset checkout http://www.vision.caltech.edu/Image_Datasets/Caltech101/
url = 'http://www.vision.caltech.edu/Image_Datasets/Caltech101/101_ObjectCategories.tar.gz'
r = requests.get(url)
filename = '101_ObjectCategories.tar.gz'
folderdername = filename.split('.')[0]
open(filename , 'wb').write(r.content) # reference https://stackoverflow.com/questions/30887979/i-want-to-create-a-script-for-unzip-tar-gz-file-via-python
import tarfile
if filename.endswith("tar.gz"):
tar = tarfile.open(filename, "r:gz")
tar.extractall()
tar.close()
elif filename.endswith("tar"):
tar = tarfile.open(filename, "r:")
tar.extractall()
tar.close()
In the dataset we have ‘Background google’ folder which contains random google images. So let’s remove it.
#!rm -rf '101_ObjectCategories/BACKGROUND_Google' #Linux
#os.removedirs('101_ObjectCategories/BACKGROUND_Google') #windows
Now we will use Resnet50 model which is pre-trained on the imagenet dataset (http://www.image-net.org/) to extract the features from the Caltech101 images dataset. In other words we will convert the images in the dataset to feature vectors using Resnet50.
Why resnet ?
We chose resnet because of the relatively small feature size. It converts images into 2048 convolutional features compared to 25088 features in vgg 19 or 51200 features in inception architectures. It will be easy for the nearest neighbor algorithm to find neighbors and also it will minimize the effects of Curse_of_dimensionality. https://en.wikipedia.org/wiki/Curse_of_dimensionality
Create Resnet50 model without top layers so we get convolutional features as output instead of the image class probability.
img_size =224
model = ResNet50(weights='imagenet', include_top=False,input_shape=(img_size, img_size, 3),pooling='max')
Here are creating a Keras image data generator object and preprocessing the images. After that we are passing the data generator object to the ResNet-50 model to extract the features.
batch_size = 64
root_dir = '101_ObjectCategories'
img_gen = ImageDataGenerator(preprocessing_function=preprocess_input)
datagen = img_gen.flow_from_directory(root_dir,
target_size=(img_size, img_size),
batch_size=batch_size,
class_mode=None,
shuffle=False)
num_images = len(datagen.filenames)
num_epochs = int(math.ceil(num_images / batch_size))
feature_list = model.predict_generator(datagen, num_epochs) print("Num images = ", len(datagen.classes))
print("Shape of feature_list = ", feature_list.shape) Num images = 8677
Shape of feature_list = (8677, 2048)
We have 8677 images in our dataset after removing the google background images. Each image is converted into a 2048 feature vector.
# Get full path for all the images in our dataset
filenames = [root_dir + '/' + s for s in datagen.filenames]
We will fit the nearest neighbor algorithm to the extracted features. We have picked ball_tree algorithm as it works well with sparse data.
neighbors = NearestNeighbors(n_neighbors=5,
algorithm='ball_tree',
metric='euclidean')
neighbors.fit(feature_list)
Let’s pick a new image that is not present in our dataset and try to find similar images for it.
from google.colab import files
uploaded = files.upload()
Once the image is uploaded extract the features for the image using the ResNet-50 and find the nearest neighbors for it.
# ref # ref https://datascience.stackexchange.com/questions/31167/how-to-predict-an-image-using-saved-model img_path = 'ant.jpg'
input_shape = (img_size, img_size, 3)
img = image.load_img(img_path, target_size=(input_shape[0], input_shape[1]))
img_array = image.img_to_array(img)
expanded_img_array = np.expand_dims(img_array, axis=0)
preprocessed_img = preprocess_input(expanded_img_array) test_img_features = model.predict(preprocessed_img, batch_size=1)
_, indices = neighbors.kneighbors(test_img_features)
Helper function to plot the images
def similar_images(indices):
plt.figure(figsize=(15,10), facecolor='white')
plotnumber = 1
for index in indices:
if plotnumber<=len(indices) :
ax = plt.subplot(2,4,plotnumber)
plt.imshow(mpimg.imread(filenames[index]), interpolation='lanczos')
plotnumber+=1
plt.tight_layout()
With the nearest neighbors indices provided by the model let’s find out the images similar to the one we uploaded.
print(indices.shape)
plt.imshow(mpimg.imread(img_path), interpolation='lanczos')
plt.xlabel(img_path.split('.')[0] + '_Original Image',fontsize=20)
plt.show()
print('********* Predictions ***********')
similar_images(indices[0])
Here we observe the image of a scorpion in the similarity images which is incorrect. Due to the large dimensionality of the features, the NearestNeighbors algorithm is not able to cluster similar features accurately.
To overcome this we will apply PCA to our features and reduce the dimensions and try to find similar features again.
pca = PCA(n_components=100)
pca.fit(feature_list)
compressed_features = pca.transform(feature_list)
Fit the nearest neighbors algorithm to the new features.
neighbors_pca_features = NearestNeighbors(n_neighbors=5,
algorithm='ball_tree', metric='euclidean') neighbors_pca_features.fit(compressed_features)
Transform the test image features as well and try to find similar images.
test_img_compressed = pca.transform(test_img_features)
distances, indices = neighbors_pca_features.kneighbors(test_img_compressed)
print(indices.shape)
plt.imshow(mpimg.imread(img_path), interpolation='lanczos')
plt.xlabel(img_path.split('.')[0] + '_Original Image',fontsize=20)
plt.show()
print('********* Predictions ***********')
similar_images(indices[0])
Great! Decreasing the dimensions of the feature helped us in getting better results.
What next ?
Try different pre-trained models like mobilenet,vgg16 etc. and check the accuracy.
Try data augmentation on the dataset.
We have used n_componets in PCA is 100. We can try changing these numbers and see how it affects our predictions.
Try cosine distance metrics for the nearest neighbor algorithm.
Note : As each class have only 8–20 images, accuracy may not be uniform accross all classes. Please try the model on a large dataset to get optimal accuracy.
Please let me know if you encounter any issue or unable to follow the blog.I am always open to feedback. Cheers ..!
Code is available here
Connect with me on Linkedin
Based on my learning from the book | https://medium.com/swlh/reverse-image-search-using-resnet-50-f305d735385a | ['Mani Kanta'] | 2020-05-26 07:50:04.797000+00:00 | ['Machine Learning', 'Python', 'Deep Learning', 'Resnet50', 'Image Processing'] | Title Reverse Image Search — Find Similar imagesContent Photo Format Pexels ever wondered google image search work amazon retrieve product similar image upload appsite achieve task using one simple method going pick pretrained deep learning model remove top layer extract convolutional feature image dataset use feature vector find similar image using sklearn’s nearest neighbor algorithm Let’s get started Import library import request import o import numpy np numpylinalg import norm import joblib pickle tqdm import tqdm import o import PIL import time import tensorflow tf tensorflowkeraspreprocessing import image tensorflowkeraspreprocessingimage import ImageDataGenerator import gc tensorflowkerasapplicationsresnet50 import ResNet50 preprocessinput tensorflowkerasapplicationsMobileNet import MobileNetV2preprocessinput tensorflowkerasapplicationsmobilenet import MobileNetpreprocessinput import math sklearnneighbors import NearestNeighbors import matplotlibpyplot plt import matplotlibimage mpimg sklearndecomposition import PCA using Caltech101 object dataset small description dataset — Pictures object belonging 101 category 40 800 image per category category 50 image Collected September 2003 FeiFei Li Marco Andreetto Marc ‘Aurelio Ranzato size image roughly 300 x 200 pixel know dataset checkout httpwwwvisioncaltecheduImageDatasetsCaltech101 url httpwwwvisioncaltecheduImageDatasetsCaltech101101ObjectCategoriestargz r requestsgeturl filename 101ObjectCategoriestargz folderdername filenamesplit0 openfilename wbwritercontent reference httpsstackoverflowcomquestions30887979iwanttocreateascriptforunziptargzfileviapython import tarfile filenameendswithtargz tar tarfileopenfilename rgz tarextractall tarclose elif filenameendswithtar tar tarfileopenfilename r tarextractall tarclose dataset ‘Background google’ folder contains random google image let’s remove rm rf 101ObjectCategoriesBACKGROUNDGoogle Linux osremovedirs101ObjectCategoriesBACKGROUNDGoogle window use Resnet50 model pretrained imagenet dataset httpwwwimagenetorg extract feature Caltech101 image dataset word convert image dataset feature vector using Resnet50 resnet chose resnet relatively small feature size convert image 2048 convolutional feature compared 25088 feature vgg 19 51200 feature inception architecture easy nearest neighbor algorithm find neighbor also minimize effect Curseofdimensionality httpsenwikipediaorgwikiCurseofdimensionality Create Resnet50 model without top layer get convolutional feature output instead image class probability imgsize 224 model ResNet50weightsimagenet includetopFalseinputshapeimgsize imgsize 3poolingmax creating Keras image data generator object preprocessing image passing data generator object ResNet50 model extract feature batchsize 64 rootdir 101ObjectCategories imggen ImageDataGeneratorpreprocessingfunctionpreprocessinput datagen imggenflowfromdirectoryrootdir targetsizeimgsize imgsize batchsizebatchsize classmodeNone shuffleFalse numimages lendatagenfilenames numepochs intmathceilnumimages batchsize featurelist modelpredictgeneratordatagen numepochs printNum image lendatagenclasses printShape featurelist featurelistshape Num image 8677 Shape featurelist 8677 2048 8677 image dataset removing google background image image converted 2048 feature vector Get full path image dataset filename rootdir datagenfilenames fit nearest neighbor algorithm extracted feature picked balltree algorithm work well sparse data neighbor NearestNeighborsnneighbors5 algorithmballtree metriceuclidean neighborsfitfeaturelist Let’s pick new image present dataset try find similar image googlecolab import file uploaded filesupload image uploaded extract feature image using ResNet50 find nearest neighbor ref ref httpsdatasciencestackexchangecomquestions31167howtopredictanimageusingsavedmodel imgpath antjpg inputshape imgsize imgsize 3 img imageloadimgimgpath targetsizeinputshape0 inputshape1 imgarray imageimgtoarrayimg expandedimgarray npexpanddimsimgarray axis0 preprocessedimg preprocessinputexpandedimgarray testimgfeatures modelpredictpreprocessedimg batchsize1 index neighborskneighborstestimgfeatures Helper function plot image def similarimagesindices pltfigurefigsize1510 facecolorwhite plotnumber 1 index index plotnumberlenindices ax pltsubplot24plotnumber pltimshowmpimgimreadfilenamesindex interpolationlanczos plotnumber1 plttightlayout nearest neighbor index provided model let’s find image similar one uploaded printindicesshape pltimshowmpimgimreadimgpath interpolationlanczos pltxlabelimgpathsplit0 Original Imagefontsize20 pltshow print Predictions similarimagesindices0 observe image scorpion similarity image incorrect Due large dimensionality feature NearestNeighbors algorithm able cluster similar feature accurately overcome apply PCA feature reduce dimension try find similar feature pca PCAncomponents100 pcafitfeaturelist compressedfeatures pcatransformfeaturelist Fit nearest neighbor algorithm new feature neighborspcafeatures NearestNeighborsnneighbors5 algorithmballtree metriceuclidean neighborspcafeaturesfitcompressedfeatures Transform test image feature well try find similar image testimgcompressed pcatransformtestimgfeatures distance index neighborspcafeatureskneighborstestimgcompressed printindicesshape pltimshowmpimgimreadimgpath interpolationlanczos pltxlabelimgpathsplit0 Original Imagefontsize20 pltshow print Predictions similarimagesindices0 Great Decreasing dimension feature helped u getting better result next Try different pretrained model like mobilenetvgg16 etc check accuracy Try data augmentation dataset used ncomponets PCA 100 try changing number see affect prediction Try cosine distance metric nearest neighbor algorithm Note class 8–20 image accuracy may uniform accross class Please try model large dataset get optimal accuracy Please let know encounter issue unable follow blogI always open feedback Cheers Code available Connect Linkedin Based learning bookTags Machine Learning Python Deep Learning Resnet50 Image Processing |
1,992 | k0s: Kubernetes in a Single Binary | Adding a User
Version 0.8.0 of k0s brings the user subcommand. It allows us to create a kubeconfig for an additional user/group. For instance, the following command creates the kubeconfig file of a new user named demo , which is inside an imaginary group named development .
Note: In Kubernetes, users and groups are managed by an administrator outside the cluster, meaning there’s no user-not-group resource in K8s.
$ sudo k0s user create demo --groups development > demo.kubeconfig
To get a better understanding, we’ll extract the client’s certificate from this kubeconfig file and decode it from its base64 representation:
$ cat demo.kubeconfig | grep client-certificate-data | awk '{print $2}' | base64 --decode > demo.crt
Then, we use an openssl command to get the content of that certificate:
ubuntu@node1:~$ openssl x509 -in demo.crt -noout -text
Certificate:
Data:
Version: 3 (0x2)
Serial Number:
71:8b:a4:4d:be:76:70:8a:...:07:60:67:c1:2d:51:94
Signature Algorithm: sha256WithRSAEncryption
Issuer: CN = kubernetes-ca
Validity
Not Before: Dec 2 13:50:00 2020 GMT
Not After : Dec 2 13:50:00 2021 GMT
Subject: O = development, CN = demo
Subject Public Key Info:
Public Key Algorithm: rsaEncryption
RSA Public-Key: (2048 bit)
Modulus:
00:be:87:dd:15:46:91:98:eb:b8:38:34:77:a4:99:
da:4b:d6:ca:09:92:f3:29:28:2d:db:7a:0b:9f:91:
65:f3:11:bb:6c:88:b1:8f:46:6e:38:71:97:b7:b5:
9b:8d:32:86:1f:0b:f8:4e:57:4f:1c:5f:9f:c5:ee:
40:23:80:99:a1:77:30:a3:46:c1:5b:3e:1c:fa:5c:
The issuer property is kubernetes-ca , which is the certification authority of our k0s cluster
property is , which is the certification authority of our k0s cluster The Subject is O = development, CN = demo ; that part’s important as this is the place where the name and the group of the user appears. Because the certificate is signed by the cluster’s CA, a plugin in the api-server is able to authenticate the user/group from the common name (CN) and organisation (O) in this certificate’s subject.
First we tell kubectl to use the context defined in this new kubeconfig file:
$ export KUBECONFIG=$PWD/demo.kubeconfig
Then we list the cluster’s nodes once more:
$ kubectl get no
Error from server (Forbidden): nodes is forbidden: User “demo” cannot list resource “nodes” in API group “” at the cluster scope
This error message was expected. Even if the user has been authenticated by the api-server (the certificate sent alongside the user’s request has been signed by the cluster certificate authority), they don’t have the right to perform any actions in the cluster. | https://medium.com/better-programming/k0s-kubernetes-in-a-single-binary-224bb43f4520 | ['Luc Juggery'] | 2020-12-07 21:51:32.939000+00:00 | ['Kubernetes', 'DevOps', 'Containers', 'Programming', 'Startup'] | Title k0s Kubernetes Single BinaryContent Adding User Version 080 k0s brings user subcommand allows u create kubeconfig additional usergroup instance following command creates kubeconfig file new user named demo inside imaginary group named development Note Kubernetes user group managed administrator outside cluster meaning there’s usernotgroup resource K8s sudo k0s user create demo group development demokubeconfig get better understanding we’ll extract client’s certificate kubeconfig file decode base64 representation cat demokubeconfig grep clientcertificatedata awk print 2 base64 decode democrt use openssl command get content certificate ubuntunode1 openssl x509 democrt noout text Certificate Data Version 3 0x2 Serial Number 718ba44dbe76708a076067c12d5194 Signature Algorithm sha256WithRSAEncryption Issuer CN kubernetesca Validity Dec 2 135000 2020 GMT Dec 2 135000 2021 GMT Subject development CN demo Subject Public Key Info Public Key Algorithm rsaEncryption RSA PublicKey 2048 bit Modulus 00be87dd15469198ebb8383477a499 da4bd6ca0992f329282ddb7a0b9f91 65f311bb6c88b18f466e387197b7b5 9b8d32861f0bf84e574f1c5f9fc5ee 40238099a17730a346c15b3e1cfa5c issuer property kubernetesca certification authority k0s cluster property certification authority k0s cluster Subject development CN demo part’s important place name group user appears certificate signed cluster’s CA plugin apiserver able authenticate usergroup common name CN organisation certificate’s subject First tell kubectl use context defined new kubeconfig file export KUBECONFIGPWDdemokubeconfig list cluster’s node kubectl get Error server Forbidden node forbidden User “demo” cannot list resource “nodes” API group “” cluster scope error message expected Even user authenticated apiserver certificate sent alongside user’s request signed cluster certificate authority don’t right perform action clusterTags Kubernetes DevOps Containers Programming Startup |
1,993 | The Speaker, Silent | after Laurie Halse Anderson
Her silence is a virtue, so they say
with hands that cover mouth and words and breath
awake and sleeping. Should she bite today
or is she best left bleeding? Little deaths
now crawl within and take over her skin
an hour or a month. She blinks her eyes,
pretends that there’s a person past the sin,
regret becomes her middle name, the lies
become a sterling shield until they fold
like tissue paper in a child’s hand —
when every pretense fails she must be bold
or else she shatters, statue made of sand
and trauma. Silence ever breaks her bones
and steals away the moments that she owns. | https://medium.com/sonnetry/the-speaker-silent-f1525c86d8e7 | ['Zach J. Payne'] | 2020-08-01 19:38:10.326000+00:00 | ['Ninjabyob', 'Storytelling', 'Poetry', 'Life', 'Mental Health'] | Title Speaker SilentContent Laurie Halse Anderson silence virtue say hand cover mouth word breath awake sleeping bite today best left bleeding Little death crawl within take skin hour month blink eye pretend there’s person past sin regret becomes middle name lie become sterling shield fold like tissue paper child’s hand — every pretense fails must bold else shatters statue made sand trauma Silence ever break bone steal away moment ownsTags Ninjabyob Storytelling Poetry Life Mental Health |
1,994 | How You Can Be A More Successful Writer Than I Am | How You Can Be A More Successful Writer Than I Am
A few tips on how you can make more money than I do — and why I’m not raking in the bucks, like you can.
Photo: Steve Halama / Medium / Irrevocable, nonexclusive copyright to use and distribute for free.
I’ve been writing on Medium long enough to get a sense of what draws clicks — and it’s not me or my writing.
To be sure, not all of my articles have been duds. My most-read pieces were two articles I wrote on race: one on what you should never do to a Black person (P.S., I’m white), and another on what I learned about race from dating a Black woman.
Despite these small wins I haven’t made the grand slams that would garner me 130K followers and millions of views. If you aspire to be a Medium influencer, don’t do what I do. This is what I do (and don’t do).
Writing about sex
Jed Diamond wrote a lovely article about the one thing that men want more than sex. The article got 91K claps. I don’t write about sex, especially if it has to do with me, because I find that way too personal. So I’m missing out on the views, claps and followers that go along with writing about your sex life, a topic that Medium writer Catherine Cohen delights in.
Writing political articles
Umair Haque wrote a piece on how Donald Trump could steal the next election that got 10.2K claps. But I don’t write political articles, for a variety of reasons, not the least of which is that doing so could get me fired.
Writing deeply personal essays
Sarah McBride wrote a deeply personal essay about losing her husband at 24, and earned 12.3K claps for it. I, on the other hand, am reticent to share such personal moments in my life with the world. It runs in the family. When my mom died of cancer, most of her friends didn’t even know she was sick. She had been undergoing treatment, and was responding — but her body gave out unexpectedly. I applaud Sarah for sharing her personal experiences of loss. Put in the same position as her, I couldn’t write about it, the same as she has.
Writing poetry
I do like to write poetry. For example, I wrote a poem about my car getting COVID-19. It got a respectable 14 reads. While I appreciate the 135 claps I got for my poem, I recognize writing poetry for Medium is always a losing strategy for anyone who wants to become a Medium influencer.
Writing about the future
Frank Lukacovic posted an article on October 17 predicting a Biden landslide. He was wrong, in his prediction — which is why I steadfastly avoid predicting the future. When you’re wrong it cuts into your credibility. Nevertheless, Lukacovic was rewarded for his article with 6.4K claps and 186 responses. I congratulate Lukacovic for his winning Medium strategy.
I’ve also seen a lot of people write articles about surefire ways to make money on Medium. But frankly, that’s so 2019. I really try to avoid advising people on how to get rich quickly, because the only way to get rich quickly, is to do a lot of hard work — and there’s nothing quick about working hard.
So what I’m really saying, is if you want to be successful on Medium, you should write deeply personal articles about the political sex you predict in not just your future, but in each and every American’s future — but don’t be poetic about it. | https://medium.com/bulletproof-writers/why-im-a-failure-as-a-writer-375b3e3fedb | ['Jay Krasnow'] | 2020-11-29 02:17:51.759000+00:00 | ['Money', 'Success', 'Influencers', 'Writing', 'Marketing'] | Title Successful Writer AmContent Successful Writer tip make money — I’m raking buck like Photo Steve Halama Medium Irrevocable nonexclusive copyright use distribute free I’ve writing Medium long enough get sense draw click — it’s writing sure article dud mostread piece two article wrote race one never Black person PS I’m white another learned race dating Black woman Despite small win haven’t made grand slam would garner 130K follower million view aspire Medium influencer don’t don’t Writing sex Jed Diamond wrote lovely article one thing men want sex article got 91K clap don’t write sex especially find way personal I’m missing view clap follower go along writing sex life topic Medium writer Catherine Cohen delight Writing political article Umair Haque wrote piece Donald Trump could steal next election got 102K clap don’t write political article variety reason least could get fired Writing deeply personal essay Sarah McBride wrote deeply personal essay losing husband 24 earned 123K clap hand reticent share personal moment life world run family mom died cancer friend didn’t even know sick undergoing treatment responding — body gave unexpectedly applaud Sarah sharing personal experience loss Put position couldn’t write Writing poetry like write poetry example wrote poem car getting COVID19 got respectable 14 read appreciate 135 clap got poem recognize writing poetry Medium always losing strategy anyone want become Medium influencer Writing future Frank Lukacovic posted article October 17 predicting Biden landslide wrong prediction — steadfastly avoid predicting future you’re wrong cut credibility Nevertheless Lukacovic rewarded article 64K clap 186 response congratulate Lukacovic winning Medium strategy I’ve also seen lot people write article surefire way make money Medium frankly that’s 2019 really try avoid advising people get rich quickly way get rich quickly lot hard work — there’s nothing quick working hard I’m really saying want successful Medium write deeply personal article political sex predict future every American’s future — don’t poetic itTags Money Success Influencers Writing Marketing |
1,995 | Some People Just Suck — and It’s Not Your Fault | Some People Just Suck — and It’s Not Your Fault
Someone else’s baggage is not your baggage.
Photo by Velvet Morris on Unsplash
I like to agonize over things that I can’t change.
Okay, I wouldn’t say that I like it necessarily — but that doesn’t stop me from obsessing over things that are out of my control anyway.
I also “like” to mull over my past actions and mistakes, retracing my errors and missteps with laser precision, thinking about all the things I could have done differently, or where I went wrong.
It’s this kind of mind-trench that eventually drove me to starting therapy — and it really helped dig me out of my self-inflicted woes.
Not everything is your fault
“Not everything is your fault,” my therapist said to me, after listening to another one of my tearful monologues peppered with self-loathing. Her words surprised me, like a blow to the head. I stopped in my tracks.
What an interesting concept.
I had been telling her about a breakup that broke me in two. I agonized over every detail, over every word that was said between me and my ex. I punished myself endlessly for “screwing up” and being too open about my feelings to my ex, ultimately driving them away and ruining the relationship. Or that’s how my twisted, emotionally clouded mind saw it.
My therapist opened my eyes to the fact that while I may have erred in certain things, the whole entire breakup did not rest on my shoulders. I was not entirely to blame. It takes two people to break up.
It was this particular breakup that taught me that some people just suck, and it’s not my fault that they suck.
Some people just suck
Another more recent breakup reminded me of this — that some people just suck.
I dated someone who was thoughtless and self-centered, but in such a nuanced way that it took me a while to notice. His ego manifested itself in the way where he’d withhold affection or divvy it out carefully just to keep me interested, communicate infrequently, and just generally ignore my feelings.
Several of my close friends were not fans of the way he treated me, and they made their objections known, but I chose to ignore their warnings. The final straw was when I went out of my way to visit him for a weekend — a journey of several hours — and it seemed like the whole time, he didn’t even want me there.
That was finally enough for me to wipe the grime off of my rose colored lenses and see the truth of who he really was. | https://medium.com/moments-matter/some-people-just-suck-and-its-not-your-fault-1a62d5a8a9b8 | ['Megan Boley'] | 2020-07-27 12:01:01.123000+00:00 | ['Relationships', 'Life', 'Mental Health', 'Self', 'Psychology'] | Title People Suck — It’s FaultContent People Suck — It’s Fault Someone else’s baggage baggage Photo Velvet Morris Unsplash like agonize thing can’t change Okay wouldn’t say like necessarily — doesn’t stop obsessing thing control anyway also “like” mull past action mistake retracing error misstep laser precision thinking thing could done differently went wrong It’s kind mindtrench eventually drove starting therapy — really helped dig selfinflicted woe everything fault “Not everything fault” therapist said listening another one tearful monologue peppered selfloathing word surprised like blow head stopped track interesting concept telling breakup broke two agonized every detail every word said ex punished endlessly “screwing up” open feeling ex ultimately driving away ruining relationship that’s twisted emotionally clouded mind saw therapist opened eye fact may erred certain thing whole entire breakup rest shoulder entirely blame take two people break particular breakup taught people suck it’s fault suck people suck Another recent breakup reminded — people suck dated someone thoughtless selfcentered nuanced way took notice ego manifested way he’d withhold affection divvy carefully keep interested communicate infrequently generally ignore feeling Several close friend fan way treated made objection known chose ignore warning final straw went way visit weekend — journey several hour — seemed like whole time didn’t even want finally enough wipe grime rose colored lens see truth really wasTags Relationships Life Mental Health Self Psychology |
1,996 | The ABCs of Design Systems | A is for Adoption
Measure how people are using (or not using) your design system
There are two groups who need to adopt your design system: designers who use UI kits and engineers who use a code library such as React. Design adoption is easy — just swap out the UI kit and voila. However, code that is even one day old comes with technical constraints that make it hard to just flip a switch and expect all engineers to use it overnight.
To measure adoption at SurveyMonkey, we plot every product team on a five-point color scale:
Red: Team does not know we have a system.
Orange: Team has not adopted any part of the system.
Yellow: Team has prioritized adopting the system to their roadmap.
Green: Team is using the design language but not the code.
Blue: Team is using both the design language and the code.
Get your engineers involved up front to foster healthy adoption. Design systems solve a design problem, but with an engineering solution.
B is for Beta
Pilot new releases to a small group of beta testers
A small change to any component could break the kits that your adopters are using and require them to make a change on their end to support it. This can get really taxing over time and can get expensive as things scale. To avoid this, we always ship big releases to a small group of early adopters first. Then we learn from them before releasing to everyone.
Some things we’ve learned early on was that our naming conventions were not clear and that some components needed more robust variants. If we had not caught those kinds of small but crucial things up front we would have run the risk of creating more work for our adopting teams when we asked them to upgrade to a new version.
C is for Canon
Your official criteria for adding new things to the system
We organize by design tokens and UI components, and we carefully curate what gets added so that the wrong parts do not get inducted without meeting every check mark in our induction criteria. Our canon is the truth, and it’s how we distinguish between a sanctioned decision versus a pattern that is being circulated unofficially. Tokens and components must both be available in Sketch and code before they are inducted so that designers and engineers are always working from the same set of tools. We also look at things like if it’s an industry best practice, is it context agnostic, has it been proven in production, etc.
Be strict curators of your canon and communicate how your team decides when and why tokens or components are or are not ready to be inducted.
Design systems solve a design problem, but with an engineering solution.
D is for Distribution
How you communicate and deliver changes to your teams
You can spend months crafting brilliant symbols in Sketch, writing guidelines, and partnering with engineers to build everything in code. But have you stopped to think about what the experience is like for people using the system? How easy is for them to receive updates? Is it a manual process or do changes get synced automatically?
Good distribution starts with great encapsulation.
Most modern design tools have disruption tools built right into them. But how might a Sketch plugin replace your need to use a Sketch library that has to manually download each update? For engineers, how might you improve their need to copy and paste raw values and/or HTML? Instead of 50 lines of HTML, how might you encapsulate it down to one line of code? Most modern tech libraries are built with this philosophy of encapsulation (React and web components, for example).
E is for Ecosystem
The delicate balance of everything that makes up your design system
Just like a rainforest ecosystem, every part of a design system plays an important role, and it all needs to work effectively together to keep everything running smoothly. And the design system ecosystem reaches far beyond UI components. We like to think that our design system ecosystem contains these four systems inside it — all of which need to work together to keep the system healthy:
Distribution: Automating release and communication of updates (Deploying, npm, change logs, Slack).
Tooling: Streamline how people use the system (Sketch plugins, VScode plugins, prototyping tools, etc.).
Education: Helping people use the system better (docs, guidelines, onboard training).
System: The design language and UI components. (The fun stuff!)
Imagine dropping a polar bear into the middle of a rainforest. It’ll wreak havoc on the wildlife around it, and the polar bear will suffer too. We think of our system just like that. If you introduce things into your design system that don’t make sense in the larger context, the system will slowly deteriorate.
F is for Forever
Each addition to the system is a vow to maintain it
Who doesn’t celebrate when they ship a new component and move onto something else? It’s tempting to never look back, but it’s important to remember that every time you add more features to your design system, your commitments and responsibilities increase. If you’re not careful, you might bite off more than you can chew, and all of a sudden you only have time to maintain the core system — and no time to grow the system further.
Before you add anything new, think about the long-term cost of support. As your system takes on more responsibility, grow your team at a relative speed.
G is for Glue
Be the reason that other teams break out of their silos and work together
Your design system sits central to everyone and gives you a holistic view of the entire product experience. You have the powerful advantage to spot when people are working on similar problems and bring them together to solve them when otherwise they might not have looked up to notice the opportunity. I call these missed opportunities “the seams” and your design system is the glue that holds the seams together.
Your design system is the glue that holds the seams together.
H is for Help
Be clear and specific about how others can contribute
A design system shouldn’t exist in a vacuum, so it’s important to set up a process for accepting help and contributions from the people using it — similar to an open-source model. But not just any help. Be crystal clear about what your team does and doesn’t need help with, and establish guidelines for contributing. Our design systems team wasn’t ready to accept outside contributions until we did a ton of work up front to set a good foundation. Once we were ready, we created a roadmap and a process that made it clear how to be an effective contributor.
I is for Invisible
Disrupt your adopters’ process as little as possible
One of our design system’s guiding principles is to disrupt the workflow of our teams as little as possible. Aim to fit into their workflow instead of asking them to fit into yours. Everyone works differently and every team operates differently. It’s not your role to determine their destiny for them. Instead, it’s your role to listen to how they work and design your system to accommodate so it can be invisible during their process.
J is for Job
All the small tasks you do today can become a full-time job later
It’s no exaggeration to say that there’s a lot of work to do on design systems. Every small responsibility you’re taking on today has the potential to be a full-time job later on. Small tasks today are easy to juggle until they balloon in scope as your system scales. Being blindsided by increasing scope is a shock to the operation of your system. Prioritization becomes your key ally in recovering your operations — decide which tasks you can drop until you have more people on your team.
K is for Knowledge
Document and share the knowledge you gain from being centralized
Being central to the process of so many designers and engineers means you have a wealth of undocumented knowledge brewing in your head. That sounds great if you’re okay being the gatekeeper, but documenting the knowledge in your head is very powerful and can empower your entire organization to do better work.
Find a process to document your knowledge in an informal way and see what your team finds valuable. Share it with your team until your system is ready to formalize it in your documentation and guidelines.
L is for Live
Design files are just a static representation of your design system — they’re not the actual design system
As we’re moving toward modern technology stacks like React, changes can automatically sync across your entire ecosystem (docs, Sketch, and code). Philosophically, that means every UI component in your system exists everywhere, together.
First, make sure your system’s source of truth is the code. Build a doc site that renders that living code right inside its examples. Build tooling, like a Sketch plugin, that automates converting your coded components to Sketch symbols so that your team doesn’t have to manually draw your UI kits by hand. This helps avoid bugs downstream due to human error.
M is for Measure
Prove the value of your design system by measuring its impact
Early-stage design systems teams measure different things than mature ones. Early on, you focus on delivering what you promised: UI components. At this stage, you’re measuring how many tangible things your team is able to produce and deliver — like your UI kit or new components. But once you’ve done that, you need to start measuring the impact and value your design system brings to your organization.
The metrics at this stage should align with the metrics your company already cares about. For example, our engineering teams already measure “time to close a pull request.” Separately, we keep track of which teams use our design system, and which teams don’t. When we map that data together, we can show that engineering teams that use our design system take less time to close a pull request. This is a win-win — it helps us prove the value of our design system, and it gives an incentive to engineering teams to adopt our design system to increase their efficiency.
Find out what your design and engineering departments are measuring and segment the data.
N is for Need
Your system doesn’t get dedicated resourcing because it hasn’t solved a business need
No one is listening if you pitch your system as solving design problems (for example, improving color and typography). Even if you pitch that it will improve the customer experience, leading to more money downstream. While that may be true, it’s usually not how the business thinks about priorities.
Instead, start by identifying a need that the business has and propose that you can solve that need with a design system. What they care about is that you’re going to solve that need, not necessarily that you are going to do it by spinning up a design system.
At SurveyMonkey, our business need was to apply our new brand throughout the entire product as quickly as possible. At another company, the legal team had the business need of ensuring that we were meeting accessibility guidelines across the site — and we promised to solve that need with a design system.
Identify a need that the business has and propose that you can solve that need with a design system
O is for Onboarding
Educate and train teams on how to adopt your design system
One day you’ll get to a point when the foundation is stable and the number of new components being added has slowed down drastically. Add an uptick in adoption to that mix and your design system’s bottleneck will no longer be that a pattern doesn’t exist yet. The new bottlenecks will be the unknowns of how to get started and how to use the system correctly.
To solve that, you need to invest in training at the right time — not too early when shipping new components is more important, but not so late that you’re creating huge barriers for getting more teams to start adopting your design system.
P is for People
Your customers are your co-workers
Early design systems are usually developed as a grassroots effort by product designers, who naturally bring their customer-centric design process with them. As a result, I see design systems teams fall into the trap of building their design system for customers, instead of building it for the designers, engineers, and PMs who are actually using it to craft products for customers downstream.
What ultimately gets shipped to production is not your responsibility. Your responsibility is to build a design system that improves the productivity and relationships of the people using the system — your co-workers — and to help them make great decisions as quickly as possible.
Q is for Quit Policing
Your company’s live app or product is not your priority
The design systems team shouldn’t be the gatekeeper of what ships to production. What ships to customers is your product design team’s responsibility. If you’re straddling the line and policing designs right before they ship, you’re already too late. You’re focused on the wrong part of the process. As more teams use your design system, it becomes too time-intensive to watch every release to make sure everything that gets shipped is using your system correctly and is consistent with how others are using it.
Instead, focus your energy on proactive education and training. Make sure people know their resources before they start designing or building anything. If you educate people on how to effectively use the design system, they’re more likely to make better decisions when they work on future projects.
R is for Relationships
Your design system bridges the gap between disciplines
Your design system’s ability to bridge gaps between disciplines is your greatest superpower. Your design system reaches far beyond one-on-one collaboration between a designer and an engineer. It has the potential to nurture the relationships between every designer and engineer at your company by empowering everyone to speak a shared language.
S is for Scale
Set up repeatable processes and guidelines that scale your team’s capabilities
Relative to the rest of the company, design systems teams are small — yet they’re tasked with supporting an entire company. The math doesn’t add up, and we often see one-person design systems teams supporting 100 people using the system. If even a couple of those people ask you to pair code or design, that could take up an entire week of your team’s time.
To combat this, you have to scale your team’s capabilities so that your team doesn’t have to be in the room for people to make a decision. If done correctly, you can scale a single skillset (such as visual design) from one person to unlimited.
T is for Thinking Systematically
Systems thinking is your team’s superpower
Traditionally, product organizations are made up of three roles: product, engineering, and design. As a result, you often see design systems teams made up of these same roles. But not just any engineer or designer will succeed on a design systems team — your greatest assets are engineers and designers with a knack for improving the productivity of others around them by solving problems systematically, on a holistic level.
U is for Unifying Disciplines
Engineering by design, design by engineering
There’s an interesting opportunity when your design system sits central to everything: Unify everything! Design, code, process — you name it and we’ll unify it.
How might we, as a design systems community, unify disciplines and empower them to work better, together? We have the opportunity to blend the way code and design work together by building tools that unify those processes. We can get designers working more like engineers by introducing version control. Or build a prototyping sandbox that allows designers to prototype in code — without writing code.
Your design system’s ability to bridge gaps between disciplines is a superpower
V is for Vision
Have a clear vision of what you want your design system to be
Since your system builds bridges between disciplines (design, engineering, and product) everyone will have different expectations of the system. That means that right out of the gate, people might assume that your system is everything, for everyone. Lofty expectations like this are dangerous because they’re unrealistic.
Establish a strong vision and evangelize that to the entire product organization. Explain what your system is, and more importantly what it is not.
W is for Wrangler
That moment of realization: “Have I become a PM?”
As the creator of a design system, you end up doing whatever it takes to keep the system alive. As your system scales, you may notice you’re acting more like a program manager than before. Your day-to-day shifts from hands-on work to managing operations and coordinating. Project plans, roadmaps, timelines, synthesizing feedback — oh my, did I just become a PM?
X is for “X”
Get really good at x’ing things out and saying no.
Everyone will come to you with the next big idea for your system. They’ll ask you to take on a collection of new components by a certain date to help them meet their own deadlines. It’s easy to say yes because it’s a quick way to prove your system’s value early on, but it’s important to set boundaries. Be careful not to commit too much time solving the needs of a single team. Focus on the holistic view and prioritize work that benefits everyone — not just a single team or a single project.
Y is for You
You happen to your design system
Your design system starts with you showing up and being proactive about grassrootsing it. Even if you can’t do it alone, it still takes you to inspire and lead others to believe that it’s a cause worth supporting. Don’t wait for someone to hand you the keys to the design system. Your passion and hard work could be what it takes to grow your system into a dedicated design systems team that wins!
Z is for Zoo
It will feel like a zoo because it is a zoo
Grassrootsing a system and watching it grow from a tiny seed into its own dedicated team is quite the journey. It will feel like order and calm is just around the corner, but around each corner lies new challenges. That’s okay! Embrace the chaos and see where it takes you. The best innovations often come from chaos. Trust your vision, take it one step at a time, and rally your team around creating order from the chaos as you go. | https://medium.com/curiosity-by-design/the-abcs-of-design-systems-b1dc6198bb7c | ['Mike Dick'] | 2019-10-02 23:56:23.078000+00:00 | ['Craft', 'React', 'Design Systems', 'Design', 'Design Operations'] | Title ABCs Design SystemsContent Adoption Measure people using using design system two group need adopt design system designer use UI kit engineer use code library React Design adoption easy — swap UI kit voila However code even one day old come technical constraint make hard flip switch expect engineer use overnight measure adoption SurveyMonkey plot every product team fivepoint color scale Red Team know system Orange Team adopted part system Yellow Team prioritized adopting system roadmap Green Team using design language code Blue Team using design language code Get engineer involved front foster healthy adoption Design system solve design problem engineering solution B Beta Pilot new release small group beta tester small change component could break kit adopter using require make change end support get really taxing time get expensive thing scale avoid always ship big release small group early adopter first learn releasing everyone thing we’ve learned early naming convention clear component needed robust variant caught kind small crucial thing front would run risk creating work adopting team asked upgrade new version C Canon official criterion adding new thing system organize design token UI component carefully curate get added wrong part get inducted without meeting every check mark induction criterion canon truth it’s distinguish sanctioned decision versus pattern circulated unofficially Tokens component must available Sketch code inducted designer engineer always working set tool also look thing like it’s industry best practice context agnostic proven production etc strict curator canon communicate team decides token component ready inducted Design system solve design problem engineering solution Distribution communicate deliver change team spend month crafting brilliant symbol Sketch writing guideline partnering engineer build everything code stopped think experience like people using system easy receive update manual process change get synced automatically Good distribution start great encapsulation modern design tool disruption tool built right might Sketch plugin replace need use Sketch library manually download update engineer might improve need copy paste raw value andor HTML Instead 50 line HTML might encapsulate one line code modern tech library built philosophy encapsulation React web component example E Ecosystem delicate balance everything make design system like rainforest ecosystem every part design system play important role need work effectively together keep everything running smoothly design system ecosystem reach far beyond UI component like think design system ecosystem contains four system inside — need work together keep system healthy Distribution Automating release communication update Deploying npm change log Slack Tooling Streamline people use system Sketch plugins VScode plugins prototyping tool etc Education Helping people use system better doc guideline onboard training System design language UI component fun stuff Imagine dropping polar bear middle rainforest It’ll wreak havoc wildlife around polar bear suffer think system like introduce thing design system don’t make sense larger context system slowly deteriorate F Forever addition system vow maintain doesn’t celebrate ship new component move onto something else It’s tempting never look back it’s important remember every time add feature design system commitment responsibility increase you’re careful might bite chew sudden time maintain core system — time grow system add anything new think longterm cost support system take responsibility grow team relative speed G Glue reason team break silo work together design system sits central everyone give holistic view entire product experience powerful advantage spot people working similar problem bring together solve otherwise might looked notice opportunity call missed opportunity “the seams” design system glue hold seam together design system glue hold seam together H Help clear specific others contribute design system shouldn’t exist vacuum it’s important set process accepting help contribution people using — similar opensource model help crystal clear team doesn’t need help establish guideline contributing design system team wasn’t ready accept outside contribution ton work front set good foundation ready created roadmap process made clear effective contributor Invisible Disrupt adopters’ process little possible One design system’s guiding principle disrupt workflow team little possible Aim fit workflow instead asking fit Everyone work differently every team operates differently It’s role determine destiny Instead it’s role listen work design system accommodate invisible process J Job small task today become fulltime job later It’s exaggeration say there’s lot work design system Every small responsibility you’re taking today potential fulltime job later Small task today easy juggle balloon scope system scale blindsided increasing scope shock operation system Prioritization becomes key ally recovering operation — decide task drop people team K Knowledge Document share knowledge gain centralized central process many designer engineer mean wealth undocumented knowledge brewing head sound great you’re okay gatekeeper documenting knowledge head powerful empower entire organization better work Find process document knowledge informal way see team find valuable Share team system ready formalize documentation guideline L Live Design file static representation design system — they’re actual design system we’re moving toward modern technology stack like React change automatically sync across entire ecosystem doc Sketch code Philosophically mean every UI component system exists everywhere together First make sure system’s source truth code Build doc site render living code right inside example Build tooling like Sketch plugin automates converting coded component Sketch symbol team doesn’t manually draw UI kit hand help avoid bug downstream due human error Measure Prove value design system measuring impact Earlystage design system team measure different thing mature one Early focus delivering promised UI component stage you’re measuring many tangible thing team able produce deliver — like UI kit new component you’ve done need start measuring impact value design system brings organization metric stage align metric company already care example engineering team already measure “time close pull request” Separately keep track team use design system team don’t map data together show engineering team use design system take le time close pull request winwin — help u prove value design system give incentive engineering team adopt design system increase efficiency Find design engineering department measuring segment data N Need system doesn’t get dedicated resourcing hasn’t solved business need one listening pitch system solving design problem example improving color typography Even pitch improve customer experience leading money downstream may true it’s usually business think priority Instead start identifying need business propose solve need design system care you’re going solve need necessarily going spinning design system SurveyMonkey business need apply new brand throughout entire product quickly possible another company legal team business need ensuring meeting accessibility guideline across site — promised solve need design system Identify need business propose solve need design system Onboarding Educate train team adopt design system One day you’ll get point foundation stable number new component added slowed drastically Add uptick adoption mix design system’s bottleneck longer pattern doesn’t exist yet new bottleneck unknown get started use system correctly solve need invest training right time — early shipping new component important late you’re creating huge barrier getting team start adopting design system P People customer coworkers Early design system usually developed grassroots effort product designer naturally bring customercentric design process result see design system team fall trap building design system customer instead building designer engineer PMs actually using craft product customer downstream ultimately get shipped production responsibility responsibility build design system improves productivity relationship people using system — coworkers — help make great decision quickly possible Q Quit Policing company’s live app product priority design system team shouldn’t gatekeeper ship production ship customer product design team’s responsibility you’re straddling line policing design right ship you’re already late You’re focused wrong part process team use design system becomes timeintensive watch every release make sure everything get shipped using system correctly consistent others using Instead focus energy proactive education training Make sure people know resource start designing building anything educate people effectively use design system they’re likely make better decision work future project R Relationships design system bridge gap discipline design system’s ability bridge gap discipline greatest superpower design system reach far beyond oneonone collaboration designer engineer potential nurture relationship every designer engineer company empowering everyone speak shared language Scale Set repeatable process guideline scale team’s capability Relative rest company design system team small — yet they’re tasked supporting entire company math doesn’t add often see oneperson design system team supporting 100 people using system even couple people ask pair code design could take entire week team’s time combat scale team’s capability team doesn’t room people make decision done correctly scale single skillset visual design one person unlimited Thinking Systematically Systems thinking team’s superpower Traditionally product organization made three role product engineering design result often see design system team made role engineer designer succeed design system team — greatest asset engineer designer knack improving productivity others around solving problem systematically holistic level U Unifying Disciplines Engineering design design engineering There’s interesting opportunity design system sits central everything Unify everything Design code process — name we’ll unify might design system community unify discipline empower work better together opportunity blend way code design work together building tool unify process get designer working like engineer introducing version control build prototyping sandbox allows designer prototype code — without writing code design system’s ability bridge gap discipline superpower V Vision clear vision want design system Since system build bridge discipline design engineering product everyone different expectation system mean right gate people might assume system everything everyone Lofty expectation like dangerous they’re unrealistic Establish strong vision evangelize entire product organization Explain system importantly W Wrangler moment realization “Have become PM” creator design system end whatever take keep system alive system scale may notice you’re acting like program manager daytoday shift handson work managing operation coordinating Project plan roadmaps timeline synthesizing feedback — oh become PM X “X” Get really good x’ing thing saying Everyone come next big idea system They’ll ask take collection new component certain date help meet deadline It’s easy say yes it’s quick way prove system’s value early it’s important set boundary careful commit much time solving need single team Focus holistic view prioritize work benefit everyone — single team single project happen design system design system start showing proactive grassrootsing Even can’t alone still take inspire lead others believe it’s cause worth supporting Don’t wait someone hand key design system passion hard work could take grow system dedicated design system team win Z Zoo feel like zoo zoo Grassrootsing system watching grow tiny seed dedicated team quite journey feel like order calm around corner around corner lie new challenge That’s okay Embrace chaos see take best innovation often come chaos Trust vision take one step time rally team around creating order chaos goTags Craft React Design Systems Design Design Operations |
1,997 | Most of Our Oxygen Doesn’t Come From Where You Think | As a child, when I learned about how plants produce the oxygen that we breathe, I imagined that I could see that oxygen in the air. In my mind’s eye, I saw vast waves of oxygen rising from a lush tropical rainforest.
The image makes sense — if plants produce oxygen, it stands to reason that bigger plants produce more, and areas of dense vegetation produce more oxygen than areas with only sparse plants. A rainforest, with its multiple levels of vegetation, surely produces the majority of our oxygen, right?
Not quite.
Consider the Amazon, the world’s largest rainforest. By one estimate, this entire area is only responsible for a piddling 6 percent of the world’s oxygen production.
So if lush rainforests, filled with many different plant species all living in somewhat tenuous and competitive harmony, aren’t responsible for the creation of most of the air we need to breathe… where’s it coming from?
And are we in danger of accidentally destroying our own air supply in a climate catastrophe?
The Earth is a Blue Marble
It’s important to remember that sunlight shines on all areas on the surface of the planet, including both land and water. In fact, since about 71 percent of the Earth is covered by water, it’s reasonable to say that the Sun is shining more on the water than on the land.
And even though the surface of the ocean looks dull, lifeless, and uninteresting compared to the business of a lush tropical forest, there’s a lot going on beneath the surface.
The top 200 meters (or approximately 650 feet) of the ocean is known as the epipelagic zone, from epi-, meaning “above”, and pelagic, meaning “surface of the sea”. This top zone of the ocean absorbs most of the sunlight that hits it — and is filled with algae, single-celled plants that flourish from that light.
Algae, clinging to rocks. Looks like green scum, but we’d all gasp if it vanished (and would keep gasping, haha, air jokes). Photo by chuttersnap.
This algae produces a huge amount of oxygen, simply because there’s so much of it growing throughout much of the ocean. It also provides the primary food source to a large percentage of the life in the ocean — and has been serving in this role for hundreds of millions of years.
By various estimates, the total percentage of oxygen that’s produced from these tiny, modest single-celled critters ranges from 50 to 85 percent! And there’s one breakout star, a single-celled algal organism called Prochlorococcus, which produces roughly 20% of the world’s oxygen just on its own.
Why is this estimate of the percentage of oxygen from the ocean vary so widely? Part of this is due to the changing nature of the ocean — the amount of sun, the seasons, and the tides will all shift the level of oxygen that any one region of open ocean produces.
Another challenge is that a significant amount of this oxygen that’s produced doesn’t go directly into our atmosphere, but stays absorbed in the oceans. This is how fish are able to breathe down there, without needing very long snorkels.
But finally, that oxygen can sometimes get used up in a dramatic reversal of its production, when something called a harmful algal bloom, or HAB, occurs.
The Paradox — Too Much Algae, No Oxygen
It sounds crazy. Too much algae grows — and this somehow depletes the oxygen, instead of creating more? Shouldn’t more algae equal more oxygen being made?
The problem isn’t the living algae, but what happens when they die.
Water clouded with algae, likely in a bloom. This is often caused by human intervention (such as fertilizer runoff) or as an effect of climate change. Photo by Ivan Bandura.
There are a few stages to an algal bloom:
The bloom is triggered by a change in conditions. This is sometimes natural, but often is caused by human-associated effects such as unseasonal warmth from climate change, or fertilizer runoff from farms. Huge numbers of algae grow, clogging the water, in a “bloom.” The algae may produce toxins that can kill sea life, and can also kill fish and wildlife by covering them and suffocating them. As the fuel for the bloom runs out, the algae die in huge quantities. The dead algae lead to huge growths of bacteria, which consume oxygen from the water as they feed on the rotting algae.
If an algal bloom is large enough, it leaves behind an area of the ocean, sometimes many square kilometers, that no longer contains enough oxygen in the water to support life. These regions are known as “dead zones.”
Dead zones have a whole host of problems — they can’t support fish, they may spread if there’s still more fertilizer, sewage, or other pollutant runoff contributing to them, and they can wipe out important species that we need to maintain the ocean food chains.
But in the case of this article, dead zones also reduce the amount of oxygen produced. And while it hasn’t had an impact on our atmosphere yet, scientists are warning that, unless we reduce pollution flowing into the ocean and contributing to algal blooms, we may render much of our oceans uninhabitable for fish. | https://medium.com/a-microbiome-scientist-at-large/most-of-our-oxygen-doesnt-come-from-where-you-think-a464b278ef76 | ['Sam Westreich'] | 2020-07-29 12:01:01.745000+00:00 | ['Environment', 'Science', 'Nature', 'Oceans', 'Plants'] | Title Oxygen Doesn’t Come ThinkContent child learned plant produce oxygen breathe imagined could see oxygen air mind’s eye saw vast wave oxygen rising lush tropical rainforest image make sense — plant produce oxygen stand reason bigger plant produce area dense vegetation produce oxygen area sparse plant rainforest multiple level vegetation surely produce majority oxygen right quite Consider Amazon world’s largest rainforest one estimate entire area responsible piddling 6 percent world’s oxygen production lush rainforest filled many different plant specie living somewhat tenuous competitive harmony aren’t responsible creation air need breathe… where’s coming danger accidentally destroying air supply climate catastrophe Earth Blue Marble It’s important remember sunlight shine area surface planet including land water fact since 71 percent Earth covered water it’s reasonable say Sun shining water land even though surface ocean look dull lifeless uninteresting compared business lush tropical forest there’s lot going beneath surface top 200 meter approximately 650 foot ocean known epipelagic zone epi meaning “above” pelagic meaning “surface sea” top zone ocean absorbs sunlight hit — filled algae singlecelled plant flourish light Algae clinging rock Looks like green scum we’d gasp vanished would keep gasping haha air joke Photo chuttersnap algae produce huge amount oxygen simply there’s much growing throughout much ocean also provides primary food source large percentage life ocean — serving role hundred million year various estimate total percentage oxygen that’s produced tiny modest singlecelled critter range 50 85 percent there’s one breakout star singlecelled algal organism called Prochlorococcus produce roughly 20 world’s oxygen estimate percentage oxygen ocean vary widely Part due changing nature ocean — amount sun season tide shift level oxygen one region open ocean produce Another challenge significant amount oxygen that’s produced doesn’t go directly atmosphere stay absorbed ocean fish able breathe without needing long snorkel finally oxygen sometimes get used dramatic reversal production something called harmful algal bloom HAB occurs Paradox — Much Algae Oxygen sound crazy much algae grows — somehow depletes oxygen instead creating Shouldn’t algae equal oxygen made problem isn’t living algae happens die Water clouded algae likely bloom often caused human intervention fertilizer runoff effect climate change Photo Ivan Bandura stage algal bloom bloom triggered change condition sometimes natural often caused humanassociated effect unseasonal warmth climate change fertilizer runoff farm Huge number algae grow clogging water “bloom” algae may produce toxin kill sea life also kill fish wildlife covering suffocating fuel bloom run algae die huge quantity dead algae lead huge growth bacteria consume oxygen water feed rotting algae algal bloom large enough leaf behind area ocean sometimes many square kilometer longer contains enough oxygen water support life region known “dead zones” Dead zone whole host problem — can’t support fish may spread there’s still fertilizer sewage pollutant runoff contributing wipe important specie need maintain ocean food chain case article dead zone also reduce amount oxygen produced hasn’t impact atmosphere yet scientist warning unless reduce pollution flowing ocean contributing algal bloom may render much ocean uninhabitable fishTags Environment Science Nature Oceans Plants |
1,998 | Saving the Workplace by Design | Workplace design and building professionals have responded admirably to the Covid-19 pandemic, advancing a multitude of practical and science-backed ideas for safely re-opening offices where and when government officials allow. Unfortunately, by themselves these prescriptions could fall short in convincing large swaths of the workforce to feel comfortable with returning. The reason? The recommendations under discussion appeal almost entirely to our rational, conscious selves, and overlook the enormous influence that non-conscious human psychology plays in assessing how secure we feel in our environment.
The good news is that we can do something about it. Researchers have been plumbing the human mind for decades to understand why we react to our physical surroundings as we do. Their findings reveal that certain aspects of built space that appear to have no logical connection to material safety nonetheless can profoundly affect how dangerous we perceive an environment to be. We are generally unaware of the effect these elements have on our mental state because they exert their influence from deep within the human psyche, where they endure as a legacy of our evolutionary past. Rather than dismiss these unseen agents as irrational or irrelevant to modern life, however, we should capitalize on our newfound insights to develop techniques for shaping space that people will intuit as well as know to be safe.
And here’s more good news: according to the data, incorporating these techniques into the workplace can boost creative task performance among occupants as well. In fact, it was in researching my book on creative space in residential settings that I stumbled on the link between idea flow and our drive to feel protected in our environment. On reflection, the notion that creativity and safety are mutually reinforcing from a design psychology standpoint makes sense; after all, a person must feel secure in their surroundings to risk promoting ideas that might upend conventional wisdom.
The strategies for achieving safe space through design cover the gamut from furnishings to finishes, lighting to layout. Here’s a sampling of the techniques that should be part of every workplace designer’s toolkit in the post-Covid era.
Benchwall seating and partitioning system. Product designed by Stephanie Forsythe + Todd MacAllen for molo. Vancouver, Canada. 2003. Photography by molo.
Favor Curved Over Straight
In 2007 researchers at the Harvard Medical School ran brain scans on subjects while they looked at a series of images of everyday products and abstract shapes. Half of the items pictured were marked by straight edges and pointed corners, the rest by curvilinear contours and rounded edges. None of the recognizable products were intrinsically dangerous (i.e., no guns or knives), and yet the researchers found that the part of our brain that manages fear was consistently activated when images in the rectilinear group flashed onscreen.
Why would the sight of nominally harmless things nonetheless instill fear in people? The answer would seem to lie in Nature. Relatively few elements in the natural world are dominated by sharp edges and pointed ends, but those that do exist have a tendency to inflict pain. Early humans, the thinking goes, discovered this uncomfortable truth through repeated negative experience, until the link between straightness and the ensuing self-harm became etched into their DNA — or at least, the DNA of those who survived long enough to reproduce, thanks to their having grasped this insight before it was too late.
With evolution moving at a glacial pace, however, not enough time has passed for the human brain to catch up to the fact that these days a Knoll-style sofa is unlikely to do us physical harm merely by virtue of its orthogonal composition, crisp corners, and straight legs. That became clear in a 2011 study where subjects were shown pictures of two furniture groupings. Both arrangements contained a sofa, easy chairs, a floor covering, coffee table and lamp, yet one ensemble was dominated by pieces with curved profiles and details, the other by straight. Researchers found that subjects who viewed the first group registered positive feelings at the prospect of inhabiting the pictured setting, whereas those who viewed the second were inclined to avoid it, just as we would any environment that perceived as threatening, however subliminally.
Let Them Lie
Once upon a time, to be accused of lying down on the job was to be charged with slacking. Nowadays, one of the best ways to make people feel safe at work is to do exactly that.
The change in attitude has to do with a little piece of our neuroanatomy called the locus coeruleus (Latin for “blue place”). Among its functions is to emit a chemical called norepinephrine, or noradrenaline as it’s also known, when we’re faced with a stressful situation that requires an immediate response — like jumping out of the way of a car hurtling toward us, or evading a hungry predator back in the days we lived in trees. It also boosts alertness and focus, two other cognitive tools that come in handy when we hope to escape a dire predicament.
Reclining, on the other hand, has the opposite effect on the locus coeruleus, lowering the flow of norepinephrine and other neural stimulants emitted along with it. That is a natural reaction to our body signaling to our brain that we don’t foresee the need to spring into defensive action any time soon. Exploit this connection between mental and physiological states by furnishing the workplace with freestanding and built-in pieces that accommodate a laid-back pose. Or consider some of the many products engineered for horizontal work currently or planned to be on the market.
Photography by Olena Sergienko
Bring Nature In
In 1991, a team of environmental psychologists led by the noted medical biologist Roger S. Ulrich set out to compare the impact of natural versus urban environment on emotional state. The first thing the researchers did was to ratchet up their subjects’ stress levels, a mission they accomplished by having them watch a brutally graphic documentary about — of all things — work accidents suffered by employees operating in an unsafe woodshop (!). Subjects were then randomly assigned to watch a second video set in either natural or urban environments, none of which contained anything as horrifying as the first.
After the viewing, researchers measured each participant’s heart period, muscle tension, skin conductance, pulse, and blood pressure. They also had subjects self-report their emotional state both before and after the experience. The results were conclusive. Exposure to natural scenery reduced stress and negative emotions such as fear more quickly and substantially than viewing urban settings.
The 1991 study is just one of many findings affirming the power of Nature-based elements to reduce anxiety. And the benefits don’t stop there. Incorporating biophilic elements into work environments can also boost staff productivity, creativity, job satisfaction, and overall wellbeing.
Make the Workplace More Like Home
Home has long symbolized the promise of safe harbor, a place of refuge into which one could withdraw from the world in order to find safety. Today, symbol has become fact as millions of people around the globe spend long hours cocooned inside their homes to evade contagion.
Yet, noticeably absent from the proposals being floated for reviving the workplace in the post-Covid era is to continue a trend that was already underway prior to the crisis: resimercial design. A mashup of residential and commercial elements and characteristics, this awkwardly named design approach enjoyed considerable favor among tenants (especially millennials and GenZers) and landlords alike before everything changed. To cast it off as no longer relevant to current circumstances, however, would be a mistake. Home is a powerful agent of psychological safety; the closer we can link the workplace experience to the domestic sphere, the greater our chance of overcoming the reluctance of users to see it once again as a place of community and collaboration.
Conclusion
In 1979, Israeli researchers Amos Tversky and Daniel Kahneman published a paper that would change our notion of what it means to be human. Among its startling insights was that people are often bafflingly irrational when it comes to processing economic risk. For example, we are so much more afraid of suffering a loss than we are motivated by potential gain that we will forfeit statistically more likely rewards just to avoid a negative outcome. Some scientists trace our propensity for risk aversion to our days as hunter-gatherers on the African savanna. Life in a state of nature was lived so close to the edge, these researchers theorize, that the slightest material loss could spell one’s demise, and therefore was to be avoided at all costs.
The implication of findings like this is that we humans are hardly the rational, logic-driven creatures we sometimes imagine ourselves to be. Instead, we are fueled as much by feeling as by fact, intuition as by information. That is a truth workplace designers cannot afford to disregard in the Covid era. To be sure, we must continue to draw on science to devise ways to protect the health and safety of all who occupy the settings we create. But let’s also apply what we know about the psychology of safe space to remove the invisible hurdles that could be keeping people from wanting to be there as well. | https://medium.com/swlh/saving-the-workplace-by-design-7097f77ca7f8 | ['Donald M. Rattner'] | 2020-12-02 20:50:42.308000+00:00 | ['Wellness', 'Architecture', 'Work', 'Psychology', 'Interior Design'] | Title Saving Workplace DesignContent Workplace design building professional responded admirably Covid19 pandemic advancing multitude practical sciencebacked idea safely reopening office government official allow Unfortunately prescription could fall short convincing large swath workforce feel comfortable returning reason recommendation discussion appeal almost entirely rational conscious self overlook enormous influence nonconscious human psychology play assessing secure feel environment good news something Researchers plumbing human mind decade understand react physical surroundings finding reveal certain aspect built space appear logical connection material safety nonetheless profoundly affect dangerous perceive environment generally unaware effect element mental state exert influence deep within human psyche endure legacy evolutionary past Rather dismiss unseen agent irrational irrelevant modern life however capitalize newfound insight develop technique shaping space people intuit well know safe here’s good news according data incorporating technique workplace boost creative task performance among occupant well fact researching book creative space residential setting stumbled link idea flow drive feel protected environment reflection notion creativity safety mutually reinforcing design psychology standpoint make sense person must feel secure surroundings risk promoting idea might upend conventional wisdom strategy achieving safe space design cover gamut furnishing finish lighting layout Here’s sampling technique part every workplace designer’s toolkit postCovid era Benchwall seating partitioning system Product designed Stephanie Forsythe Todd MacAllen molo Vancouver Canada 2003 Photography molo Favor Curved Straight 2007 researcher Harvard Medical School ran brain scan subject looked series image everyday product abstract shape Half item pictured marked straight edge pointed corner rest curvilinear contour rounded edge None recognizable product intrinsically dangerous ie gun knife yet researcher found part brain manages fear consistently activated image rectilinear group flashed onscreen would sight nominally harmless thing nonetheless instill fear people answer would seem lie Nature Relatively element natural world dominated sharp edge pointed end exist tendency inflict pain Early human thinking go discovered uncomfortable truth repeated negative experience link straightness ensuing selfharm became etched DNA — least DNA survived long enough reproduce thanks grasped insight late evolution moving glacial pace however enough time passed human brain catch fact day Knollstyle sofa unlikely u physical harm merely virtue orthogonal composition crisp corner straight leg became clear 2011 study subject shown picture two furniture grouping arrangement contained sofa easy chair floor covering coffee table lamp yet one ensemble dominated piece curved profile detail straight Researchers found subject viewed first group registered positive feeling prospect inhabiting pictured setting whereas viewed second inclined avoid would environment perceived threatening however subliminally Let Lie upon time accused lying job charged slacking Nowadays one best way make people feel safe work exactly change attitude little piece neuroanatomy called locus coeruleus Latin “blue place” Among function emit chemical called norepinephrine noradrenaline it’s also known we’re faced stressful situation requires immediate response — like jumping way car hurtling toward u evading hungry predator back day lived tree also boost alertness focus two cognitive tool come handy hope escape dire predicament Reclining hand opposite effect locus coeruleus lowering flow norepinephrine neural stimulant emitted along natural reaction body signaling brain don’t foresee need spring defensive action time soon Exploit connection mental physiological state furnishing workplace freestanding builtin piece accommodate laidback pose consider many product engineered horizontal work currently planned market Photography Olena Sergienko Bring Nature 1991 team environmental psychologist led noted medical biologist Roger Ulrich set compare impact natural versus urban environment emotional state first thing researcher ratchet subjects’ stress level mission accomplished watch brutally graphic documentary — thing — work accident suffered employee operating unsafe woodshop Subjects randomly assigned watch second video set either natural urban environment none contained anything horrifying first viewing researcher measured participant’s heart period muscle tension skin conductance pulse blood pressure also subject selfreport emotional state experience result conclusive Exposure natural scenery reduced stress negative emotion fear quickly substantially viewing urban setting 1991 study one many finding affirming power Naturebased element reduce anxiety benefit don’t stop Incorporating biophilic element work environment also boost staff productivity creativity job satisfaction overall wellbeing Make Workplace Like Home Home long symbolized promise safe harbor place refuge one could withdraw world order find safety Today symbol become fact million people around globe spend long hour cocooned inside home evade contagion Yet noticeably absent proposal floated reviving workplace postCovid era continue trend already underway prior crisis resimercial design mashup residential commercial element characteristic awkwardly named design approach enjoyed considerable favor among tenant especially millennials GenZers landlord alike everything changed cast longer relevant current circumstance however would mistake Home powerful agent psychological safety closer link workplace experience domestic sphere greater chance overcoming reluctance user see place community collaboration Conclusion 1979 Israeli researcher Amos Tversky Daniel Kahneman published paper would change notion mean human Among startling insight people often bafflingly irrational come processing economic risk example much afraid suffering loss motivated potential gain forfeit statistically likely reward avoid negative outcome scientist trace propensity risk aversion day huntergatherers African savanna Life state nature lived close edge researcher theorize slightest material loss could spell one’s demise therefore avoided cost implication finding like human hardly rational logicdriven creature sometimes imagine Instead fueled much feeling fact intuition information truth workplace designer cannot afford disregard Covid era sure must continue draw science devise way protect health safety occupy setting create let’s also apply know psychology safe space remove invisible hurdle could keeping people wanting wellTags Wellness Architecture Work Psychology Interior Design |
1,999 | The shift of humanity is happening in our courtrooms. | The shift of humanity is happening in our courtrooms. The Norwegian philosopher Arne Naess would have been so happy. His Deep Ecology vision is really changing the world now.
We are not only realizing that people are part of nature. We are one. But our law systems are now also acting upon the fact that nature has an intrinsic value. Not to be measured in money. Rivers are the veins of our planet. Undeniably valuable for spirituality and clean drinking water for all species.
Water has many values. Picture: Jeevan Singla via Pixabay
In India, the Ganges has received the same right of law as humans in 2017. Now we are finding ways how to uphold those rights.
© Désirée Driesenaar | https://medium.com/illumination-curated/the-shift-of-humanity-is-happening-in-our-courtrooms-39e7b1efa644 | ['Desiree Driesenaar'] | 2020-12-10 07:46:28.064000+00:00 | ['Rivers', 'Environment', 'Nature', 'Sustainability', 'Law'] | Title shift humanity happening courtroomsContent shift humanity happening courtroom Norwegian philosopher Arne Naess would happy Deep Ecology vision really changing world realizing people part nature one law system also acting upon fact nature intrinsic value measured money Rivers vein planet Undeniably valuable spirituality clean drinking water specie Water many value Picture Jeevan Singla via Pixabay India Ganges received right law human 2017 finding way uphold right © Désirée DriesenaarTags Rivers Environment Nature Sustainability Law |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.