fabiochiu/medium-articles huggingface dataset:
Common Mistake Developers Make When Building RecyclerViews and How to Fix It Using “ViewRepresentation” Class
By: Jermaine Dilao
Tags: Android, Android App Development, Common Mistakes, Recyclerview, Mobile Development

Updated onBindViewHolder() method

Now that we already have our ViewRepresentation class for our Invoice list. Our onBindViewHolder() method should now look like this.

override fun onBindViewHolder(holder: ViewHolder, position: Int) {

val item: InvoiceViewRepresentation = getItem(position) holder.status.text = item.statusText

holder.button.text = item.buttonText

holder.dueDate.text = item.dueDateText

}

We have met our goal to make onBindViewHolder()’s only job is to bind the values to the view. That’s how it should be!

We have successfully eliminated repetitively doing the following while scrolling through the list:

Running the if (status == PAID) condition Calling dateFormatter.format()

And, this should result in a better performant RecyclerView!

And that’s basically it!

I have been using this approach for quite a while now and have no problems with it so far.

Also, it is very convenient especially when the “Invoice” is bound into different screens in your app. You can just reuse the same InvoiceViewRepresentation class and ensure its values are calculated consistently throughout different screens.

I hope this can help someone build better performant lists.

Thank you for reading!
He Left Me Hanging When I Needed Someone the Most
By: Ask Olive
Tags: Death, Advice, Ask Olive, Relationships, Comics

Hi Olive,

I have this best friend, and we’ve been together through everything. Failed relationships, family problems, financial problems — you name it, we were each other’s shoulders to lean on. Earlier this year, he met a girl who broke his heart, his mother got into an accident for which she needed to undergo total hip replacement, and he also got into a vehicular accident (but was fine — physically, I mean). I was always the person he would call in the middle of the night when his thoughts consumed him. I think I am the only person who has seen him cry. I treated him as my best friend, and I can’t imagine life without my best friend.

Last June, my mother died of lung cancer. I was overwhelmed with emotions I didn’t know existed. I didn’t know that losing a parent gives a daughter a pain she can’t even put into words. I’ve always handled all of my worries alone (well, not every time, as I sometimes confided in him about my worries, especially about boys), but this time I really needed someone to truly know what I felt. I confided everything to my best friend. I didn’t leave a single bit of detail inside of me. I told him everything.

And then he started slipping away. From my messages being ‘seen’ to totally ghosting on me. I don’t understand why. I asked him about this, of course, and he said that he was just busy. But that’s a really lame excuse, especially because I know he still talks with his friends. So, why is he not talking to me? I felt that he left me hanging when I needed someone the most. He doesn’t reply to my messages even when I see him active on social media. Maybe I just don’t matter to him as much as he matters to me, but I could be wrong, or — I don’t know, I honestly don’t know what to think anymore.

I deactivated all of my social networking sites, because I don’t want to see him. I don’t even want to see his name. I stopped reaching out, too. But I also feel guilty for doing this. Do you think I’m doing the right thing? Or is there anything else that I should do? Why do you think he ghosted on me? Please help.

Still mourning and in danger of losing a best friend,

Should I Save the Friendship or Should I Move On With My Life
4 Steps to Great Cover Letter Writing
By: Nick Kolakowski
Tags: Resume Writing, Cover Letter, Technology, Job Hunting, Job Interview

There’s no complicated secret to writing a great cover letter: you need to make it as direct as possible. That doesn’t mean keeping your language simple (although that’s always a help); the best cover letters skip lengthy regurgitations of the candidate’s job history and preferences in favor of a straightforward message tailored to a specific employer.

Here’s what to keep in mind:

Strong First Sentence

When they sit down to write their cover letter, many candidates forget that hiring managers and recruiters will only spend a few seconds scanning their materials before moving on. That means the cover letter’s first sentence must sell your abilities in the context of the company’s mission; there’s no time for a lengthy wind-up.

Here’s an example of a solid first sentence: “I’m interested in the position of senior iOS developer because I want to use my skills in developing apps to help [company] create the next generation of [company’s bestselling iOS app or game].” Quick and effective.

No Templates

Hiring managers and recruiters will also trash any cover letter that comes off as too generic; they want signs that you’re interested in a specific company and team. A cover letter jammed with “boilerplate” material suggests (however rightly or wrongly) that the candidate is sending applications to every tech company that even vaguely matches their skillset.

If you must use a template (and we’ve all been in that position; there are only so many hours in a day), make sure you re-write it extensively in your voice; the person reading your application is well-versed in all the popular templates currently on the market. Keep everything to a page. Have a proofreader (or three) who can scan your writing for any typos or errors, including any factual discrepancies between your cover letter and your résumé (for example, make sure all your dates and job titles match up).

What Can You Do for Me?

The second and third paragraphs of your cover letter should continue the theme of your first sentence, highlighting how your mix of skills can benefit the company. Whenever you mention an achievement or goal from your previous jobs, explain how the experience makes you a great fit for the position on offer. While your personal development over the years is surely something to be proud of, prospective employers are most interested in what you can do for them.

The last paragraph of your cover letter should end strongly, with a call to action that invites communication. “I’m available for an interview,” is a good example, “I will follow up on [date]. I look forward to hearing from you!”

Proofread, Proofread, Proofread

It bears mentioning again: proofread like your (future) job depends on it — because it will. And while you’re at it, don’t forget to revamp your résumé.
Elements, Keys and Flutter’s performance
By: Tomek Polański
Tags: Performance, Flutter

An Element is created internally by a Widget . Its main purpose is to know where in the widget tree is the widget that created it.

Elements are expensive to create and if it’s possible, they should be reused. That can be achieved with Keys ( ValueKeys and GlobalKeys ).

Element’s life cycle

Mount — it’s called when the element is added to the tree for the first time

Activate — it’s called when activating previously deactivated element

Update — updates the RenderObject with new data

with new data Deactivate — it’s called when the Element is removed/moved from the Widget tree. An Element can be still reactivated if it was moved during the same Frame and it has a GlobalKey

is removed/moved from the tree. An can be still reactivated if it was moved during the same Frame and it has a Unmount — if the Element was not reactivated during a Frame, it will be unmounted and cannot be reused anymore

To improve performance we need to use activate and update as often a possible and try to avoid triggering unmount and mount.

IMPORTANT: Most of the time you do not need special optimization as Flutter is fast, the following I would recommend using when you want to fix a visible performance problem.

Changing position in a Column/Row
We Can All Use a Little More Happiness Right Now
By: Dr. Christine Bradstreet
Tags: Happiness, Mindset, Self Improvement, Personal Growth, Spirituality

Hey there, It’s Christine Bradstreet, the founder and editor of Change Your Mind Change Your Life.

Since you get value from the pieces here at the publication, I think you’ll also enjoy a new book.

Launching a new book during a pandemic? Is that a good thing? Who knows, but we don’t believe in limitations here, right?

I’ve published Happy Ever After: The Guide for Lifelong Happiness. It’s a book on growing genuine and lifelong happiness, the type of happiness that can’t be taken away from you no matter what sort of craziness is happening in the world. We can all use more of that right now.

(There’s also an optional companion journal to work through as you read the book.)

You can use the links within the letter above, or use this link to take you to happyeverafter.info.

Thank you for being part of this family. Stay well,

Christine
The Importance of Feedback
By: Street Consulting
Tags: Organizational Culture, Teaching And Learning, Feedback, Improvement

It is incredibly easy to agree with the statement that feedback is important to improvement. However, it never ceases to amaze us how little attention is paid to this critical element. The reality is that feedback is a difficult thing for both the provider and receiver of that feedback, whether we are talking about feedback to an individual or feedback to a system. In either case, it is critical to understand why feedback is uncomfortable so that steps can be taken to overcome the discomfort and make feedback a routine part of the organizational culture. At its heart, feedback creates discomfort because of the fear of upsetting someone, or of becoming upset. These feelings can trigger any number of defense mechanisms to avoid giving or receiving real feedback. Acknowledging this and embracing the stoic mindset that the feedback is not what is upsetting, it is the internal reaction to it, will help. Second, it is helpful to think about constructive feedback as a secret to improvement. In that way, you can ask yourself “Why would I keep this secret from them?” Last, make feedback a regular and routinized part of the organizational culture. If only some people get feedback, or if feedback only happens when something does not go well, or if feedback happens in haphazard ways, it will continue to be feared. Make feedback a regular occurrence and routinize the protocols for it. Soon, people will be looking forward to it.

Feedback is a gift. Ideas are the currency of our next success. Let people see you value both feedback and ideas.

– Jim Trinka and Les Wallace
How To Combat Anxiety Every Day
By: The Growth Mindset Gal
Tags: Lifestyle, Self-awareness, Anxiety, Self Improvement, Self Love

I realized back in high school I may have some anxiety. I would hate asking to go to the bathroom because I would get up and everyone would look at me. I would feel nauseous in class because I couldn’t get up when I wanted to. I would just sit there drink water and chew gum to ease my feelings. Watching movies, or going to the movie theatre would also make me extremely anxious and nauseous. In the movie theatre, you’re in a big room with strangers and if you need to get up, you cause a whole commotion. Then in college, my anxiety was less visible to me. I think it was because in college I was so busy. I played volleyball and had to keep up with classes. Then, once I graduated college and was a real-life adult the anxiety made herself known again.

My anxiety can be debilitating. I refuse to go to certain events because I know she will be triggered. Or, if I am already at the event I leave early. I have been able to manage my anxiety but, the year 2019–2020 pushed me over the edge. I could not contain her anymore. In 2019 I had a stressful year at work and I would feel drained constantly. I started my first real committed relationship and those are not for the faint-hearted. My grandma passed away suddenly and that was my first experience with the death of a loved one. Then in 2020, my grandpa passed away and we have this massive pandemic.

I needed to flush out this feeling of dread. So, I sawt out help. Here are things I do to help me combat anxiety every day. These were some ideas my therapist and I created.
I Am The Monster Under Your Bed
By: Evelyn Martinez
Tags: Humor, Short Fiction, Short Story, Horror, Fiction

Hi, it’s good to see you.

I’m sorry I made you scream, but frankly, you know what I look like and that I’m self-conscious about my eyeless sockets, so get your shit together and stop the tears, it’s insulting.

We need to have a discussion.

Can I sit on your bed? I’m gonna sit on the bed.

Look, I’ve been your monster for how long? You moved to this house when you were five, right? And you’re what age now? I’m sure I heard Violet — how is your mom by the way? — scream at you earlier that you just turned twenty-seven and need to get a job.

Congratulations! Where has the time gone, huh?

Okay, I missed all your birthdays, but I don’t have a calendar under there, just some crusty jizz socks and curdling milk in a cereal bowl.

I know, I know. You couldn’t invite me to the parties. Violet would’ve hit me with the broom again, but you could’ve at least brought me a goody bag or a slice of cake.

Wait, you didn’t have goody bags? What kind of D-lister doesn’t have goody bags at their party?

No, it’s fine. Your birthday isn’t why I’ve come to see you. I’ve been having some issues with our roommate situation lately.

I can handle the late-night Hulu sessions, the crying, even the rare date.

(I didn’t even have to crawl from under the bed and check out the girl from last week’s face to know how disappointed she was after she left. Good times.)

I can stomach it all, really, I like to think it’s one of the reasons I have five. But monsters need happy living spaces, too, and we have to have a discussion. Yes, that’s right, about your music career.

It’s not that you’re bad, it’s just the blood coming from my ears isn’t oozing on purpose like the other holes in my face or even my gums.

Don’t cry. I know I said I don’t mind the crying but in truth, I lied so dear Lucifer stop crying, dammit.

Thank you.

Look, I’ll put it as plainly as I can. You’re not getting on The Voice anytime soon.

Yes, I know the judges look for original spins on songs like the one you prepared, don’t try to explain The Voice to me, I introduced you to the show. You know I follow everything Christina Aguilera does in her career, don’t pretend.

No, no, your rapping isn’t much better. Yes, I understand how many Soundcloud followers you have.

Anyway. I’m not the kind of friend to hold you back from your dreams, even if I did piss all over them just now. And if they’re not going to stop anytime soon, I have to think about me.

So, I’ve decided to move out.
Oakland: My Neighborhood 50 Years On
By: Robert Carlson
Tags: Transit, Streetcar, Oakland, Trolleys, Pittsburgh

Oakland: My Neighborhood 50 Years On

Vignettes of Growing up in Oakland

It has been 50 years since I moved out of Oakland with my parents and sisters. Needless to say, a lot has changed in this 5 decades. I am pleased to see a lot also has not. The streets are essentially still the same although the restaurants, stores, bars, offices and pharmacies along them have been relegated to the B&W photographs which populate archives and surface in social groups on the Internet. It is there these scenes will live forever even though they have long passed out of this physical reality.

The Schenley Supply on Centre Avenue I used to frequent for hobby parts is now an Asian food store. The old storefront colors are now hidden beneath the hues and patterns of its current incarnation. Rusty black iron catenary poles absent their wires still give testimony to the former presence tracks for the PCC cars and their wooden predecessors. Buried beneath a blanket of asphalt remains the vestiges of the street railways, Hidden behind facades are the buildings I once knew.

The steady march of progress has also obliterated much of what were once the comforts of neighborhood. In other parts of Oakland and the surrounding area, entire neighborhoods have succumbed to the wrecking ball to make way for University of Pittsburgh purposes. The Syria Mosque, the Pittsburgh Playhouse, Forbes Field, Pitt Stadium, Terrace Village, and an additional half of the Hill District were razed for various replacements. The individually constructed unique store fronts with apartments and offices above have given way to development projects which impress upon the street its homogeneous architecture.

Some of the development that was completed during my one decade in Oakland have already been replaced once again. The Civic Arena — built and gone in that 60 year period. Three Rivers Stadium fared even worse with its short life as the replacement for Forbes Field. The cycles of build and replace have grown shorter.

It is unfortunate that there is only a fixed amount of land in a city on which to build. Some of the best and loved buildings and art are lost in the renewals. Then it is only we, who outlive the neighborhood or dare to return, who even notice.
Week 2ish
By: Krystopher, Dash
Tags: Entrepreneurship, Columbus Ohio, Black Entrepreneur, Beaminaudio, Black Excellence

Creative Director of Beamin Audio. That is the new title I get to add under my belt. On top of that, I am going to start immediately on R&D to help grow the brand. Check out the Vlog for an inside conversation (this will be the first and last one).
Era Baru Milik TikTok
By: Inhands Agency
Tags: Inhandsarticle, Articles, Marketing Strategies, Tiktok App, Advertising

The Rapid Rise of TikTok

Social media is an entity that never fails to surprise. Just when you think one platform has managed to monopolize the…
Deep Learning Made Simple: Neural Networks
By: David Yastremsky
Tags: Deep Learning, Artificial Intelligence, Data Science, Neural Networks, Software Development

Artificial Neural Networks

These are the base premise for most neural networks. Once we understand these, the others are simple extensions.

Modeled after the brain, these networks have an input layer, hidden layers, and an output layer.

The input layer is where you put in your data. Say you are trying to predict the price of a home. This is where you would have multiple neurons, each representing a single data field: zip code, crime rate, and similar. Each of these neurons would have a weight associated. For example, say the average home value in the neighborhood is a very important predictor. Then, it would have a high weight. That way, when you feed this input to the next layer, you would multiply its value by a high amount to make it a more important input.

After the input layer, you have hidden layers. And that’s what we’re trying to do: we are creating a big math equation. Then, we can take our input data for one data point, plug it into the equation, and get an output.

For example, if home prices rely on the average home price and previous selling price, your equation might be .9 * average home price + .2 * previous selling price. The .9 and .2 are the weights.

However, many equations are more complex than this, which is what the hidden layers approximate. Say that the equation is actually (.45 * average home price + .1 * previous selling price)². You feed the part in the parentheses to the hidden layer, which could have a squaring function in its neuron. And on and on, with however many hidden layers and neurons make sense until you get to the output layer.

According to the Universal Approximation Theorem, as few as one hidden layer can approximate any function.

The output layer is where you get your most likely output. For home value, this could be one estimate. For something like predicting the likelihood of different events, you may have multiple outputs. You may also perform a mathematical function on this output, such as a softmax function, which is often used for probabilities. This takes the output for multiple events and squeezes them into a set that sums to 1. This is meant to approximate the probability of each one happening out of 1, which represents a 100% likelihood.

That’s all a neural network is. You feed data points into it, and they propagate forward to the output. The network estimates how far away the predicted output is from the actual output.

The network propagates that loss backward to the input, estimating how much of the difference is due to that specific input and weight. Eventually, the loss stabilizes, and that’s the point at which your neural network will not get any better at predicting data.

As you can imagine, this process takes a LOT of data, especially for networks with more neurons and layers. But that’s the gist — you go from data inputs (e.g. average home selling price) to a mathematical equation that estimates what you’re predicting (e.g. estimated home value).
ORM Services: Setting New Benchmark for Effective Business Commencement
By: Sajiv Kumar
Tags: Online Reputation, SEO, Review, Seo Services, Online

If we talk about the best asset of a business, then there is no doubt it is the reputation of the company. Apart from building trust with words of mouth, now the online reputation is the foremost essence of doing the business. As we all are aware of the transformation of the customers’ interest in online resources, products, and services, the online reputation management has become the need of the time. Here in this blog, we are going to discuss some tips that will let you learn to improve the online reputation of your company.

Upgrade Your Site with Your Company Name: When you have at least one pages appropriately enhanced with the organization’s name, it helps in getting the best or the close position in search results. No question, the reputation and in addition the popularity gets a more noteworthy height of success. To maintain the reputation, you must utilize your organization’s name in all the vital places, for example, HTML title tags and URL, About Us or Contact Us pages.

Broaden Your Web Presence: If your website has a top presence in the search results then it creates a trust factor among the audiences. An online reputation management company helps the businesses in gaining the top positions among major search engines through targeting the relevant keywords and promoting them. Your business should have a heroic social presence through the means of various leading social networking sites such as Facebook, Twitter, LinkedIn, YouTube etc. A robust social media presence help the business in getting the reliable web presence and in establishing a prominent presence in the specific business.

Counteract the negative content: The online world has a plethora of unpleasant things to say about your business. With the help of bloggers, reviewers and content creators, the negative words could be transformed with a positive tuning. The expert professionals dealing in ORM services help a company in gaining positive popularity by strategic keyword analysis, content marketing and well analyzed SMO strategy.

Parting Thoughts: ORM services in India is getting immense popularity and businesses are adopting this service to boost up their online presence by taking the help of professionals. If a company has a good online reputation, good reviews, effective social media presence and top ranking among targeted search results, then it results into brand credibility that leads to more revenue generation. So, a little investment towards ORM services can build up a robust brand image of your business and you will be able to market your products or services to the global audiences without being worried about your online reputation.
12-Bar Blues Block
By: Marianne Farley
Tags: Life Lessons, Poetry, Travel, Blues

It was the 70’s and all that that entails. I had taken a leap and landed in a place far from home. Shy, practically petrified and somehow, for the first time, I was hanging out with all of the cool kids.

One night, we sat in a circle, passing wine, passing pot. What I remember is overwhelming youth, optimism, beauty and brains— scruffy guys with guitars and sly grins, pretty girls with silver rings and easy laughter.

The music slid from an acoustic version of “Whippin’ Post” to a 12-bar blues riff. Someone suggested that we take turns contributing a verse to the riff, round-robin style. One by one, personal laments came effortlessly. Then it was my turn — blank, nada. Eventually — could it have been an hour? — Janet came to my rescue and took up the baton.

I can feel the flop sweat to this day.
Five Atrocities My Cat Committed In The Night
By: Patricia Chavez
Tags: Humor, Cats, Demons, Pets, Animals

Photo by Inge Wallumrød

1. He knocked over the garbage can.

Around 12:03 am, I was awakened by the sound of a metallic clang coming from the kitchen. Sighing, I rose and went to check out what I knew was going to be a crime scene. And so it was. Mr. Peanuts had knocked over my nearly full garbage can, spilling out banana peels, coffee grinds, and other detritus. It took me nearly half an hour to clean it all up and then wipe down the floor, by which point Mr. Peanuts had committed his second atrocity of the night.

2. He opened the secret trapdoor to the basement.

Oh, Mr. Peanuts. I really thought we had outgrown this stage, but apparently not. Mr. Peanuts knows that he’s not supposed to go into the basement, and he certainly knows that if he must go into the basement, he needs to use the main entrance in the front hall, not the secret trapdoor behind the buffet in the dining room. But, you know how cats are.

3. He awoke the demon living in the basement.

It took me three years to successfully summon Abezethibou, and another three days to agree on the rent he would pay to live in my basement. He is always angry if someone wakes him up, as it takes him hours to get back to sleep. Mr. Peanuts, however, felt that Abezethibou’s lap was the prime place to make biscuits. Abezethibou awoke immediately and opened his mouth, emitting a stream of ear-piercing distorted static. It was up to me to comfort him back to sleep. Abezethibou finally fell into a fitful rest at 3:30, but I only got to experience the quiet for mere moments before I heard a noise that told me Mr. Peanuts was hard at work upstairs.

4. He summoned another demon in the guest bathroom.

I guess I shouldn’t have been surprised to find the demon Phenex standing in my guest bathroom — it was certainly proving to be that kind of a night — but I must admit that I was slightly startled. Though Phenex was far from the first demon that Mr. Peanuts had summoned in the middle of the night in an attempt to receive an early breakfast, I did not think that Phenex would be up Mr. Peanuts’ alley. He is, after all, a renowned poet, and Mr. Peanuts does not like poetry. In the end, it was so late that I had no choice but to give up my bed to the freshly arrived demon with promises of returning him to Satan’s kingdom first thing in the morning.

5. He threw up in my shoes.

After getting Phenex settled in my room, I was surprised to find Mr. Peanuts curled up on the couch, waiting for me. After I laid down, he snuggled up on my chest and began purring. I found myself thinking that, despite all of the atrocities that Mr. Peanuts commits on a nightly basis, having him around is worth it for the companionship and the unconditional love.

The following morning, I returned Phenex to where he belonged and prepared to leave for work. When I went to put on my shoes, I discovered that Mr. Peanuts had committed a heretofore undiscovered atrocity: he had thrown up directly into both of my shoes. C’mon, Mr. Peanuts! These shoes are brand new!
Enterprise flight series: How will you [pattern]-fly?
By: Joe Caiani
Tags: Flyer Stories, Patternfly, UX Design, Front End Development, Open Source

Business.

Visiting family.

Vacation.

I’m goin’ to Disneyland!

All are valid reasons to fly, but each may suggest different flight routes and patterns depending on the purpose. For example, when flying for business, you usually want a direct flight with the shortest flight path from point A to point B. When flying for leisure, on the other hand, more lax flight routes are completely acceptable.

The same goes with using a pattern library to solve UX problems in an enterprise application. As is the case with flying, the way you would use the library depends on the type of design problem you are trying to solve. Just like you wouldn’t book a meandering flight when you need to be at an important meeting tomorrow in NYC, you also wouldn’t use a complex series of patterns to solve a straightforward use case.

How will you fly?

PatternFly has some great components in its library and provides a large set of tools to help developers and designers solve UX problems. But these design issues are many and varied. Sometimes one component fixes a problem, and sometimes there isn’t a single component to fix the issue of the day — that’s when things get interesting.

Whether you’re a designer or a developer, you come across design and implementation challenges every day, and a pattern library like PatternFly can help to solve those issues. Your route to success depends on the challenges you face. Given this, when you face your next challenge, how will you fly?

Enterprise flight series

In this 3-part “Enterprise flight series,” we share our experiences using PatternFly in an enterprise open source product (in our case, it’s Red Hat OpenShift—a platform that helps administrators and developers easily manage and deploy container applications).

In the articles below, we cover three different cases of building features for the OpenShift console user interface (UI) using PatternFly:

Flight #1: Charter flight—Now boarding!—Search page redesign

Sometimes, design and development is like a charter flight. Unplanned complications can occur when using PatternFly components out of the box. But at the end of the day, the resulting teamwork and creative solutions make the final product that much better.

Flight #2: Non-stop, one-way flight—Now boarding!— Updating catalog components

Layovers aren’t for everyone. Similar to a non-stop flight, a one-way catalog tile conversion can help you create an amazing product experience with PatternFly.

Flight #3: Multi-city flight — Now boarding!—Building a notification center

Every now and again, getting to your final destination means multiple layovers — just like getting to your final product involves multiple PatternFly components.

Have a UX story of your own? Send your ideas our way. More writers and fresh perspectives can only make PatternFly’s Medium publication stronger.
How Salesforce Accelerates Design Productivity and Collaboration
By: Kyle Haskins
Tags: Salesforce, Product Design, Sketch, Design Systems, Design Process

The Lightning Design System plugin for Sketch is packed with features to help anyone prototype in a fraction of the time. Download the Lightning Design System plugin for Sketch now to bring your Salesforce ideas to life!

Below, we’ll explore the evolution of the Lightning Design System, and how the plugin extends its reach. We’ll also examine how the plugin contributes to the next phase of design: Relationship Design.

The Lightning Design System’s Evolution

The Lightning Design System arrived in 2015 as one of the first design systems to market. It was also the world’s first living open-source enterprise design system. It created a common language and tools to accommodate unprecedented growth and align thousands of designers and engineers creating the Salesforce Lightning Experience.

The scalable Lightning Design System serves the entire Salesforce ecosystem of employees, partners, customers, and their customers. The efficient, accessible, and platform-agnostic system supports a variety of technology stacks. It provides design best practices, resources, and tools to increase productivity. These assets enable the creation of beautiful, cohesive product experiences.

Continuous innovation is a hallmark of the Lightning Design System. It has evolved in response to changes in technology and partner and customer needs. New tools have been released over the years that bring the design system directly into daily workflows. This allows for even greater efficiency and collaboration capabilities. In January 2020, the SLDS Validator Extension for Visual Studio Code was released to optimize the developer workflow using the Lightning Design System.

And today, the Lightning Design System plugin for Sketch brings the Lightning Design System directly into the concepting workflow. It saves a significant amount of time by allowing you to use the Lightning Design System from within Sketch.
Trendsday: 3/8/17
By: Jason Brillon
Tags: Trendsday, Yoste, Music, Featured Artist, Indie

Yoste (pronounced like Lost)

This week’s Trendsday is technically coming to you on Thursday (3/9). I was so deeply enamored by these amazing females and others on International Women’s Day that I ran a bit late, but here is this week’s trending artist!

YOSTE

If you know me (or if you’ve seen any of the art that I own), you know that I am deeply in love with all things Hayao Miyazaki. Yoste (aka Kurt Sines) and I seem to have that in common. Yoste’s songs are named after Miyazaki characters; from Spirited Away’s “Chihiro” to Howl’s Moving Castle’s “Calcifer”, a Yoste single is an homage to an imaginative and fantastical journey. But a song by Yoste is so much more than that. It’s a journey all its own, an ambient adventure that’s equally as imaginative and fantastical.

Take Yoste’s newest single: Umi (aka the protagonist in From Up On Poppy Hill). Sure, there are lyrics. The lyrics read beautifully and Sines sings them beautifully. But when I listen to Umi, I’m not focusing on the lyrics. The song is so immersive that I find myself traveling beyond the words. I’m levels deeper, wandering a gorgeous soundscape, creating my own adventure and finding my own meaning for the song. It’s a kind of listening experience that I haven’t had with any other artist. Kurt Sines is achieving something truly, truly unique.

Get lost in Yoste.
Bootstrap Sampling using Python’s Numpy
By: Vishal Sharma
Tags: Machine Learning, Mathematics, Python, Data Science, Statistics

MATHS FOR DATA SCIENCE

Bootstrap Sampling using Python’s Numpy

Sampling with replacement in Python!

Photo by Ian Gonzalez on Unsplash

Using theorems like CLT aka Central Limit Theorem can lead to some questions. Whether we have achieved a large enough sample size or which statistic the theorem applies to — these are some common gaps left by CLT.

So, instead of relying on theorems, we can simulate the simple distribution.

Introduction to Bootstrapping

Sampling with replacements!

The idea of bootstrapping might sound complicated. Let’s take an example of it. You roll a dice and get 6 in one scenario. But, does it mean the likelihood of getting 6 again changes? No, right! Flipping a coin and rolling dice is kind of an example of bootstrap sampling.

As per Statisticshowto, Bootstrapping is a type of resampling where large numbers of smaller samples of the same size are repeatedly drawn, with replacement, from a single original sample.

Imagine we consider the sample as our entire population. We can bootstrap the sample to understand the proportion of changes from one sample to another.

Bootstrapping with Numpy

The NumPy’s “random.choice” method outputs a random number from the range parameter. You can also give a size parameter to get a sample out of the total population.

If you look at the following example, you will see that values are chosen more than once. So, it makes this bootstrap sampling or “bootstrapping”.

Look at the following scenario now. The code broke because 20 values can’t be generated by the function. As “replace=False” is initiated, it means the output values can’t repeat aka only six values can be outputted.

Take a look at the following code. When the size was 6, the code ran and gave unique outputs.

Application of Bootstrap Sampling

Bootstrapping is pretty amazing. And, its applications make it even more useful in the statistics world. Used in leading machine learning algorithms like decision trees and Stochastic Gradient Boosting.

The credit of this amazing sampling technique goes to Bradley Efron. You don’t need to perform operations on whole population. instead, we can perform repeated sampling over our current sample. The confidence in the likelihood of getting our parameter makes the process easy for the data scientists. They don’t have to get any additional data!

Reference

Peace!
On-demand software teams startup Distributed raises a further £2.5m in funding
By: Jack Booth
Tags: Startup, Future Of Work, Venture Capital, UK, Software Development

Enabling enterprises to work with fully managed, globally remote software development teams, Distributed is in a unique position to help businesses continue crucial software development projects even during global lockdowns

In the midst of the largest ever distribution of global workforces from in-office to remote, combined with the largest ever shutdown of offshore development teams, businesses are struggling to maintain the speed and quality of their software development projects…

Read the full release @ Distributed.co
Bitnovo joins the Business Alliance for the Child Vaccine
By: Roberta Quintiliano
Tags: Health, Business Partnerships, International Development, Partners In Health, Blockchain Technology

Business Alliance for Child Vaccine, promoted by ‘la Caixa’ Banking Foundation

Today we want to share a message of solidarity and cooperation, announcing that Bitnovo is already part of the Business Alliance for Child Vaccine, promoted by 'la Caixa' Banking Foundation.

According to an ActionAid report, 8,000 children die every day in the world, due to predictable and easily treatable diseases. In Africa, infant mortality is 14 times higher than in developed countries.

Thanks to the collaboration between the Obra Social "la Caixa" and Gavi, the international organization created to improve access to vaccines for children living in the poorest countries of the world, it has been possible to vaccinate millions of children over the past decade. children, reducing the number of premature deaths.

La Caixa and its Obra Social promote the Business Alliance for Child Vaccine, offering Spanish companies to be part of this solidarity initiative, guaranteeing that their contributions will be used entirely for the vaccine of children, according to its promoters.

Although, compared to the past, we have achieved surprising results that have increased the quality and life expectancy of millions of children, we will continue to make every effort in the development of the Alliance project, in the hope of achieving the goal that Gavi has set: reaching 300 million children between 2016 and 2010 to prevent 5 to 6 million long-term deaths.

Any company can save the lives of more children.

Our wish is that many more will join this important initiative.
The inside story of why Google is becoming Alphabet now
By: Clap Creative
Tags: SEO, Google, Marketing

Clap Creative is a Los Angeles based agency offering quality web design and online marketing services. Contact us info@clapcreative.com or +13238632896

Follow
Preventing Duplicates in Databases while using Rails
By: Gracie Mcguire
Tags: Rails, Sql, Programming, Web Development, Database

Image created in Figma

While the model validations work most of the time, they unfortunately do not work all of the time, and sometimes some validations will slip through the cracks. Say, for example, you create a new application and have a ton of users all sign up at the same time. If two users attempt to use the same username and make the request at the same time, the uniqueness queries could potentially run at the same time and insert both of the users. To prevent this from happening we need to use a unique index in our database. Unique Indexes help us make sure that no two rows of data inside of a table have identical key values.

If you are ahead of the game and have not already created your database, we can stay ahead by adding this validation when we run our initial migration:

rails generate migration CreateUsers username:string:uniq

This will create the following migration:

However, if you’re like me and have already created your DB, we will need to remove any duplicates already existing before adding unique indexes, because otherwise these duplicates will throw an error and make our migrations fail. I found this awesome walkthrough that uses some nifty SQL commands to drop those duplicates, here.

After your duplicates are dropped, we can run a migration that drops the original indexes and adds the new unique ones.

While running into duplicates in a database isn’t common for smaller projects, it is a real issue, and taking these steps as a precaution to prevent this from happening at the get go is your safest bet!
How To Be A Writer: A 90-Day Blueprint
By: Shaunta Grimes
Tags: Writing, Fiction, Reading, Creativity, Books

I know how you feel. You have stories inside you and you want to be able to tell them. You want to inspire people. You want readers to fall in love with your words.

It’s okay to admit it. You want to be a bestseller. You want to go viral. You want recognition and accolades and love.

I know how you feel, because I feel it, too. All of it.

I have some good news for you. Something that I know, absolutely.

Here it is: You are already a storyteller.

You were born for it.

You inherited it from the first caveman in your ancestry who grunted his way through his first big buffalo story. You came by it naturally. It’s part of the human condition.

You’ve been practicing the art since before your birth, when you heard your mother’s voice, muffled and soft. You might not have understood the words, but the cadence became part of you.

Since infancy, when someone who loved you held you close to sing songs to you and eased you into sleep at night with the same stories they loved.

Since childhood, when you learned to read for yourself.

You’ve been practicing this since you watched your first movie. Since you fell in love with your first book. Since the first time you made your friends laugh. The first time you lied. The first time you talked someone into giving you what you wanted. The first time a song made you cry.

You’re already a storyteller. There is no question about that.

Now you just have to decide what you’re going to do with that.

Do you want to be a writer? And if you do, you have to practice. Read a lot. Write a lot. Read some more. Write some more.

It’ll come, if you do the work.

Doing the work doesn’t mean writing one story. It means writing a hundred and one. Or a thousand and one.

Doing the work means accepting that you might not be good enough today, and showing up, day after day, to learn how to write better.

It means being resilient enough to withstand the rejection that is inherent in this business. More than that — to crave it. Because rejection means you’re in the game. And so much of this game is just about staying in it long enough to win.

So. Are you up for it?

Here’s a plan for the next 90 days. Repeat it as many times as necessary. It will be a lot of times. I’m still repeating it, after twenty years. I’ve finished a master’s degree in creative writing. I’ve been published by major publishers. I’ve earned a good living as writer.

And this is still the bones of the work I do. This won’t be easy — but the good stuff rarely is.
Flexbox ile gerçek dünya uygulamaları
By: Emre Yasin Çolakoğlu
Tags: Flexbox, CSS, Frontend, Front End Development

in Both Sides of the Table
Balance Between by Connie Livingston-Dunn
By: Connie Livingston-Dunn Artist Catalyst Greatgranny
Tags: Time, Poetry, Aware, Chaos, Folly

Do dreams live Inside of reality?

Or does reality live Inside of dreams?

Are we aware In reality?

Are we aware In dreams?

Are we aware?

We live between two worlds

Of physical and spiritual

Being love and fear

Being order and chaos

Walking a precise meandering

Balance

On the precipice

Of the sword of truth and beauty

Lies and ugly

Between

One side and the other

Being awake and asleep

Being open and closed.

We are sliced in two

And when we realize

That it is and/both

Of either/or

Seeing the folly

Of not seeing the folly

Knowing and not knowing

The circle completes itself

And bursts forth anew

In creative chaos

Breaking the old

Forming the new.

The first picture is a combination of the other pictures that were run through a fractal program. The second photo was taken by putting rainbow glasses over the lens of my camera and the third one is clocks of ‘time’. The last two pictures are a combination of the rainbow glasses and the time picture. Sometimes the pictures are a necessary part of both sides of the story.

Originally published at cowbird.com.
Between Two Worlds
By: Melissa Coffey
Tags: Poetry, Desire, Identity, Self, Growth

POETRY

Between Two Worlds

On personal growth and the “double life”

Photo: Girl on Bridge — courtesy of Darbi Dunbar

Naked, I find myself, poised

at both pinnacle

and this most precarious of places,

neither here nor there

a world of possibilities

unfolding giddily beneath; curiosity

embodied in bare-legged refusal

to run for safety, or choose

one side in haste, foregoing

sweet knowledge of the other

I stand strong in the liminal heights,

a wide-eyed heart

invoking divine transition, like

a goddess in mortal guise, possessing

power to inhabit

two worlds at once

© Melissa Coffey 2013 (Revised 2020) — All rights reserved
The Window’s Retort
By: Matthew Leo
Tags: Surrealism, Writing, Poetry, Poetry On Medium, Poem

The Window’s Retort

A Short, 2-line Poem

Photo by Alessio Cesario from Pexels

They say “Eyes are the windows to the soul.”

But, lest we forget, windows can be broken.

© 2020 Matthew Leo

Thank you so much for giving me some of your time. It means the world to me. If you enjoyed this poem, please click on the clappy hands at the bottom as many times as you feel it deserves. Please feel free to tweet, share on Facebook, Pinterest, Instagram, or to whoever you think might enjoy it as well. Take care and Be well.

Your wordsmith — Matt

Care to follow me further down the rabbit hole, Alice? Here are a few more poems I believe you will enjoy:
Mission LiveHumanVR : La présence réinventée
By: Patrice Bonfy
Tags: Réalité Virtuelle, VR, Startup Ideas, Live Streaming, Idées

We explore promising technologies and exciting business opportunities to uncover new ideas and give them attention, work, and ressources

Follow
All My 2019 NFL Season Predictions in One Place
By: Brandon Anderson
Tags: NFL, Sports, Future, Football, Sports Betting

WE ARE OFF AND RUNNING FOR THE NEW NFL SEASON, and already things are off to a wild start. Drew Brees and Ben Roethlisberger are out injured, Lamar Jackson and Dak Prescott are the MVP front runners, and the Miami Dolphins have been relegated.

In the weeks leading up to the NFL season, I wrote something like 300,000 words previewing every NFL thing under the sun. Some of my work was here at Medium, but quite a bit of it was over at SportsBook Review. I previewed every NFL team in-depth, looked at almost every individual NFL award, studied team over/unders, and more.

This article is about two weeks late because of some personal family stuff that took most of my attention lately, but better late than never. You’ll have to take my word on all these predictions below or, ya know, just check the links and you’ll see it’s all there. I have not changed anything. This is just meant to be a resource with everything I thought about the 2019 NFL season in one place.

Most of the award headings below are links to a much longer, in-depth preview of that award if you’d like an explanation or why I didn’t pick someone else. Let me know of any questions in the comments below!