fabiochiu/medium-articles huggingface dataset:
Why we have decided to kick ticket-tiers
By: Quincey Stumptner
Tags: Berlin, Startup, Blockchain, Technology, Events

Why we have decided to kick ticket-tiers

…and introduced a unified ticket price.

The last two co-creator dinners were full of content in every aspect. Establishing new collaborations for Revision, discussing content for the Revision Summit (18–20 November) and going through multiple feedback rounds on organization and outlook of the Network.

In the light of this vibrant spirit we sat down after the two dinners and tried to incorporate the feedback we received.

One important feedback was that the many different ticket tiers were too confusing and most importantly not necessarily inclusive enough.

Therefore we would like to announce the Revision Summit Unified Ticket price: All tickets to the Summit will be sold at €250 to avoid confusion over different categories. Participants eligible for reduction (students, NGO’s, refugees, unemployed or elderly people), please fill out the form on our website and we will find a solution to enable your participation.

We thank the co-creators for their valuable feedback and would like to encourage all of you to continue letting us know where we can improve. We want to live the ideals we put forth, being inclusive and transparent.

The Revision Summit is supposed to be a different type of conference, a place created for the community and by the community.

Let us take the discussion about a more open, human-centric and technology-driven society past the realms of the summit and meetups into the open, lets challenge ourselves, our own work and others.

In this spirit — we are looking forward to more of your feedback!

You can get your tickets to the Revision Summit here.
What “Beta” Means for Material Design Guidance
By: Adrian Secord
Tags: UI, Material Design, UX, Design

Material is now marking some design guidance as beta — learn why and what it means for the design system

Image by the amazing Michelle Alvarez, Google Senior Visual Designer

We recently began labeling aspects of our design guidance as “beta” on material.io. What does that mean? We’re being more transparent about which components, patterns, and elements are likely to evolve in the near term.

The background on Material beta

As an organization, Material Design strives to produce the highest quality design and engineering for you to use in your products. Everything we do goes through multiple rounds of review, testing, and validation before it makes it out into the world. But the world keeps changing — as do the technologies, contexts, and constraints shaping our design system. We want to get new components into your hands faster and learn from how you use them.

What beta means on material.io

When you see content in our spec marked as beta, know that it’s still backed by research and careful consideration by our team, but it’s also subject to change. There are typically two reasons why something is marked beta:

It hasn’t been fully engineered on enough of our platforms. Implementing new guidance on different platforms is an important part of finalizing the design. Material supports four platforms: Android, Flutter, iOS, and the web. Implementing a new component on one platform is a first step, but we want to address any concerns that come up as we implement across our other platforms. For example, does this pattern work well using iOS’ particular navigation gestures? How about on the web when the user scales up the text size on the page? Although our designers consider multiple platforms, until we’ve implemented a new UI pattern widely, it’s difficult to anticipate what issues might come up. The underlying concept is still emerging. For example, machine learning is clearly changing the world but design best practices are still taking shape. Our patterns for machine learning-powered features are a first attempt at helping designers grapple with certain use cases and situations. However, given the newness of machine learning in user interfaces, it’s crucial to acknowledge that the landscape is changing rapidly and our guidance might need significant updates to continue to work well.

How Material guidance graduates from beta

Of course, we don’t want guidance to be marked beta forever! We’ll move guidance out of beta when it’s been implemented in code for multiple platforms or becomes a well-established pattern across several Google products.

As of November 2019, here are the components, design elements, and UI patterns in beta:

What do you think?

Our approach to using beta for design guidance is still taking shape, and we’d love to get your feedback. Think it’s helpful? Unnecessary? Let us know in the comments below 👇
Introducing Bitfolio 3
By: Francesco Pretelli
Tags: Bitcoin, iOS, Cryptocurrency, Binance, Apple

It’s been a while since our last development update, but we are back with a bang, Bitfolio 3 for iOS is now available! 🎉

And there is more, this is just the beginning.

The big challenge in developing Bitfolio 3 was having to rewrite part of our infrastructure to accomodate our vision.

Good news, the hard part is mostly done and Bitfolio 3.0.0 is the just the first of many updates.

So let’s see what’s new and what’s coming!

What’s new

Everybody was asking for it and we finally have it: exchage sync support! 🙌

We’ve also revamped our UI, the main Portfolio screen will now accomodate all your exchanges and portfolios, giving you an overview of all your crypto valuables.

Bitfolio version 3.0.0 supports Binance, CoinEx and Cex.io, we are planning to support many more in the future, if you want us to speed up the adoption of a specific exchange please let us know via this form.

So to recap all what’s new in version 3.0.0:

Support for exchange sync

Revamped Portfolio UI

Support for iOS 13

Automatic dark mode switch

What’s coming

More exchanges, we want to support as many exchanges as possible.

Ability to view current and past orders on exchanges.

Widget for tickers.

Ability to choose between multiple news sources and add new sources.

Exchange trading.

And much more, check out the Bitfolio roadmap on trello, you can vote on your favorite feature and keep an eye on the development. 👍

Useful Links

Thank you ❤️

We’ve received a lot of feedback and we love it, please keep it going, keep sending feature requests and if you see a bug or an issue, send a complaint! (but please don’t be rude 😉).

Please consider sharing Bitfolio with your friends and coworkers, it would help us tremendously.

Again, thank you ✌️

The Bitfolio Team
Understanding “Off The Record”: An Intro For Angry Bloggers
By: Choire Sicha
Tags: Brian Stelter, Journalism, Blogs

Lord knows, The NYTPicker, a blog devoted to lightly annoying the New York Times, is probably penned by some disgruntled, drug-addled acquaintance(s) of mine. But that does not mean that they/he/she are not wronger than wrong today.

Today they claim that New York Times TV reporter boy Brian Stelter, who is one of the world’s most prolific/annoying users of Twitter in the world (your mileage may vary!), screwed over a source in a story (former CNN honcho Jon Klein) by revealing his name on Twitter.

Then, they backpedal a little to this:

Your tweet clearly identified Klein as someone you interviewed “off the record.” Whether the quote in your story came from Klein isn’t the point. Your disclosure on Twitter violated the off-the-record terms of the interview, and disclosed the identity of a news source who demanded anonymity.

Yeah, not at all! People don’t get to set the terms of communication preemptively in this world.

If you email me, requesting such terms, I can agree to them or not. Here’s how that works:

Them: I will talk to you, but not for quotation in any way, and I do not want to be identified, because I will get fired/get divorced/other troublesome thing.

And then you may respond.

You: Okay, I agree that I won’t quote you or name you.

Them: *Spills beans*

Or:

You: No! I do not agree with your suggestion! Here is my alternative suggestion, what you think of that?

Or:

You: No thanks! Go fuck yourself!

The End.
Battling the “Fuck It” mindset
By: Christopher Pierznik
Tags: Happiness, Maturity, Life, Psychology, Success

“Instant gratification takes too long”

— Carrie Fisher, Postcards from the Edge

At the start of every new year, everyone is makes resolutions and plans and promises.

Most of us know at least one person that spent the holidays eating too much, drinking too much, and washing it all down with leftover Halloween candy but, once the ball drops, vows to live on a diet of lettuce and lemon water while also running fifteen miles per day and saving ninety percent of their income.

It’s natural to want to mock this person, but I’d bet that we’ve all been there at least in some capacity. While we know what the smart choices are we’ve purposefully made the bad ones. We ordered the burger instead of the salad at lunch. We hit the ATM and kept the night alive instead of going home. We ate out for dinner instead of cooking at home. We spent our money or put it towards a vacation instead of retirement.

The worst part? We know better.

We know that these decisions are detrimental to our long-term health and happiness, but we do them because they make us feel better right now. Yes, sacrifices today will often lead to a better, healthier tomorrow. But today is now, so why wait? The problem, of course, is that you’re eventually left with no more tomorrows and a pile of misused yesterdays.

There has been a ton of data, research, and writing on this subject, most notably the “Marshmallow Test,” and there are entire industries like personal finance advice and diet programs that pull in billions of dollars annually because we can’t seem to stop ourselves from ourselves.

I call it “fuck it” effect.

And I am not too proud to admit that it has had me in its clutches countless times.

My favorite restaurateur just opened a new spot that is outside of my price range? Fuck it, let’s put it on the credit card.

We just left the bar and are hungry? Fuck it, let’s hit the diner and have some greasy food.

I need to buy a new book to read on a trip? Fuck it, let’s buy ten.

Problem? Fuck it, we’ll figure it out tomorrow.

Some of this is poor planning and some of it is the result of capricious youth, but there’s also some of it that can be a result of our emotional state.

If you’re still in the office at midnight or studying at 2 a.m. or have been up with the baby since four o’clock in the morning, you may need something to get you through, regardless of the downsides. You know it’s not the best decision, but it may be difficult not to treat yourself, particularly since you’ve already been sacrificing for so long.

And in a world full of stress, fear, and uncertainty, sometimes wings and fries just make us happier than apples and strawberries.

For now. Tomorrow, we will probably feel differently.

And that’s when the cycle begins again.
Visualizing the Chaos of Cancer, One Tool at a Time
By: Liz T
Tags: Biotechnology, Women In Tech, Cancer, Genetics, Bioinformatics

From BWA-MEM & Lumpy to Sniffles & NGMLR

Initially, the team had started out using BWA-MEM to map the PacBio reads with Lumpy for variant-calling, worked with those variant calls for a long time, then realized they were missing real structural variants. The problem was Lumpy would not split a read more than once, but PacBio reads often split multiple times! As Maria showed using her Ribbon tool, there can be 2-hop or even 3-hop fusions, so a single long read can be split multiple times.

Figure 4B from Nattestad et al. showing a single 15kb read (black, bottom) that hops from KLHDC2 through CEP112 to ZHX2 then SNTB1, making this a “3-hop” fusion gene. Iso-Seq data confirms this 3-hop fusion gene is transcribed into RNA.

Fritz Sedlazeck then joined the Schatz lab. I remember seeing him at ASHG 2015 and hear him talk about problems with trying to map PacBio reads that split multiple times. Shortly after, he developed Sniffles.

It was also at this time when Maria discovered the “HER2 story”. She still remembers manually tracking down the from-s and to-s of each long read for each HER2 copy and jotting them down on a piece of paper, before finally writing SplitThreader to automate the process.

When Fritz’s lab mate Philipp Rescheneder joined the lab for the summer, Maria & Fritz were toiling over BWA-MEM aligning straight through large structural variants despite the sudden onset of super-high error rates. No amount of tweaking the BWA-MEM gap penalty settings would make the aligner recognize large variants in a sea of small sequence errors. Traditionally, alignments have used either linear or affine gaps. Affine gaps use a gap open and gap extend penalty, which is problematic when trying to differentiate real SVs (long continuous gap) from small, 2–5 bp indel sequencing errors. During one coffee break, Maria recalled seeing a convex gap penalty in a particular implementation of Smith-Waterman and brought it up. Philipp implemented a more efficient heuristic version of that convex gap, which became the foundation for the NGMLR aligner.

Supplementary Figure 1.2 from the NGMLR paper, showing the difference between affine gaps and convex gaps. Using affine gaps, alignment1 and alignment2 have the same score. Using convex gaps, alignment 1, which shows a cleaner structural variation signal (deletion of TAAGCAAACA) while allowing small deletion (sequencing) errors.

With all the new tools in place, they finally settled on a long-read SV calling strategy: align using NGMLR, call variants with Sniffles, and visualize the results using Ribbon and SplitThreader.

So what did they find?
The Art of Re-Balancing Life and Priorities
By: Emily Rudow
Tags: Life Lessons, Self Development, Mental Health, Self Improvement, Self Love

Photo by Nathan Dumlao on Unsplash

After my last relationship, I suddenly realized how much time I had in my day. To minimize some of those feelings of loneliness that inevitably pop up after a relationship ends, I re-focused my energy on activities that would elevate me as a person.

I came up with a strict publishing schedule, took on more freelance clients, started a new digital product for my business, worked out for approximately 2 hours per day, committed myself to read 1 book per week, and took on a writing practice every day.

My schedule was flooded from morning to evening with self-development activities, which were in addition to my pre-existing routine (ie. meditation, reading articles from various blogs, journaling, etc.). In retrospect, I can admit that it was a lot, but I was filling an empty void in my life.

This was also in the midst of COVID19 when I wasn’t able to see many friends or engage in social activities I normally would, which left me with an abundance of “me” time. I was out for an evening walk with my sister one night, and she said, “Em, you don’t have to spend all of your time on activities that are self-development focused; you can permit yourself to unwind. It’s okay to just watch a few episodes with RuPaul without updating your tax spreadsheet on the second screen simultaneously.”

Although I did agree with her sentiment, I also enjoyed pouring myself into activities where I was actively learning. I got a high off it and I really started to see the needle move in my work, finances, and physique. I started to see some success with my writing on Medium and even got a bit of publicity from one of my articles, which lead to a write-up by NBC.
https://medium.com/the-ascent/quiet-people-in-meetings-are-incredible-7bb05ef9acd1 Tim Denning: As a typically quiet person in meetings, I wholeheartedly agree.
By: M.G. Siegler
Tags: Life, Meetings, Work, Productivity

Knowing when not to talk is an art.

Tim Denning:

It’s all bullshit. The meeting is a waste of time. No resolution is reached.

But it’s not all bad. Meetings have taught me one valuable lesson: watch the quiet people.
A Caffeine Withdrawal Timeline
By: Benya Clark
Tags: Addiction, Mental Health, Diet, Lifestyle, Anxiety

My Timeline

Two weeks before quitting:

I started tapering down my caffeine use two weeks before quitting entirely. My first step was to eliminate all the soda from my diet, leaving just coffee. This step went remarkably smoothly.

Even though I had been drinking four or more sodas most days, I didn’t miss them anywhere near as much as I expected to. There were a few times that I went to the fridge, forgetting that there were no sodas there. But, I didn’t have intense cravings.

Over the following week I still drank between 3 and 4 cups of coffee a day, and my sleep already started getting much better.

Four days before quitting:

With four days to go before quitting, I reduced my coffee to two cups a day, followed by one cup a day for the final two days.

It was during this period that I started to experience the first symptoms of withdrawal. I got mild headaches, and felt a tiny bit of confusion. Neither were serious enough to interfere with my daily life.

I did start getting much more intense cravings during the last two days. Each of those days I had my one cup of coffee as soon as I woke up, and I spent much of the rest of the day thinking about another. On the very last day, it took a lot of effort to talk myself out of having a second cup.

My first day caffeine free:

My first day caffeine free went easier than expected. I had a headache for much of the day, but taking ibuprofen was enough to make it manageable.

I also felt dehydrated for much of the day, and made sure to drink tons of water.

I actually craved coffee less on this day than on the previous days. I think it can be easier to cut something out completely than to limit myself to just a little.

Days 2 and 3

The following two days were really just more of the same. A bad headache, some confusion, and feeling dehydrated despite drinking a lot of water.

Day 4

On my fourth day caffeine free, my headache and confusion had disappeared.

This was also the first day where I started to really notice my anxiety improving. This day was definitely my turning point where I started to feel really great about having quit caffeine.

Days 5 through 13

Although my sleep had initially gotten better while tapering, it suddenly got much worse again around day five. Fortunately, it’s slowly gotten better ever since. The trouble sleeping is the only remaining withdrawal symptom that I experienced past day four.

Despite my trouble sleeping, my energy levels during the day feel pretty normal. I worried that I’d constantly feel groggy without caffeine, but I haven’t experienced that at all.

Meanwhile, my anxiety levels have still remained incredibly low. I’ve struggled with anxiety for much of my life, and I really don’t remember the last time that I had a stretch with so little worrying.

Overall, the withdrawal process wasn’t bad at all. Two weeks out, I’m feeling great and I’m extremely glad I made the decision to quit caffeine.
Idea Blood
By: J.D. Harms
Tags: Image, Writing, Editing, Poetry, Violence

Photo by Chaozzy Lin on Unsplash

A spatter a flowering

but not on cement

Just on breaking something with

gray matter

Grab the tweezers & rush up

to the bathroom

afterwards to lay the

sheet down on the floor

in case the idea blood goes too far

On the whimsy of the second

instance in which you called

me something I cannot repeat

I begin to forget

though I’m twisted & hating this

While I’m sure

there is a picture of me that

I will like

somewhere but you’re still not

the one finding it

or the one taking your clothes off

in my room

Finding the sacrifice all over

again

we concern ourselves with finding

the one who stabbed

this idea

You can say it never happened

but you can try something

sometime & sometimes

there is an utter failure to find

the thing that I like here
Magical Waters
By: Lee Labier
Tags: Life Lessons, Meditation, Nonfiction, Self, Family

Magical Waters

An Unexpected Love Journey of the Mind

Photo by Jordan Heath on Unsplash

Submerged, my body warm and gently swaying with the rise and fall of the water, a cleansing ritual have left my mind, emotions and heart open. I am raw. A January illness and depression have diminished my frame and my bones strain against the porcelain. Folding washcloths, I pad my derriere in fear my hard-fired clay bones will crack under the pressure. Floating, I drift in and out of my emotions and murky thoughts. I flick the tub stopper with my toe. Like a switch, memories of my nephew Eddie burst through me and he is four again.

Stationed off the coast of Dubai, my sister Liz was serving on a medical ship during the Gulf War. Three years older than me, our lives were similar and yet very different. We grew up in a small upstate New York country town and spent our time strategizing how to not get stuck there. A military career provided this and the opportunities for training, travel, and financial stability, making it a top option. Prior, the persuasion of traditional marriage and family led to my sister’s pregnancy, divorce, and single motherhood soon after.

I guided her throughout her pregnancy and delivery of a lanky, black-haired, and walnut-skinned boy. When the war began Eddie became mine and I, his sub-mother, a single mother as she had been. Born deaf, Eddie and I learned sign language together and composed our own private communication. Physically unbalanced from his hearing disability, gravity battled him to walk and when achieved, it was affectionately labeled the “duck walk.” Feet pointing outward in a v-shape, he clomped heel to toe to propel himself forward. On sunny days we walked to strengthen his legs and collected objects from the ground, mostly garbage and cigarette butts filled his pockets.

Our days concluded with his long bath that would last close to an hour. The ritual was to let the water drain until every drop had found its way to the duct from beneath his slight form. I watched him, eyes closed, plumed black eyelashes glistening, the water lowering and his body softly descending until it laid flat upon the tub floor. Smiling, he opened his eyes, and emitting from his face was pure rapture as I wrapped him in a towel. Floating liberating him from the unseen force.

Gurgling, I rouse to the decreasing water exposing my skin and the sensation of the cool air pricking its surface, carving out the space around and within me. Sinking, my protruding bones — shoulder blades, backbone, and tailbone — press hard against the bottom. Lower and lower, releasing my head and the sound in my ears. Like a finger, the water traces the edges of my skin, a sensation of being cross-sectioned, sliced, filleted. My weightlessness dissolved, Eddie’s smile and the memory of his rite fill me. Opening my eyes, my body fully exposed, the last of the water pooling in the deep channels of my groin. I stand, wrap myself in a towel, tears marking my cheeks, now understanding the floating, the need to be released.
e-Suites. Una idea innovadora para viajar mientras trabajas.
By: Silvia Rodriguez Iza
Tags: UI, UX, Lean UX, Startup, Español

Sign up for Design news

By UX Planet

Get the latest news from the world of UX design Take a look
Falling Into Place
By: Karin Nordkvist
Tags: React, Redux Thunk, API, CSS, Redux

“How do I style :hover when using Styled Components?” and bonus: “How do I style a different object/multiple objects on hover?” 💅

So this was a question I wanted an answer to literally 2 minutes before it was our time to demo last week. Lucky me it was so easy to apply! 😅 You basically add it to your existing component styling by writing &:hover + {}, which means apply this styling to current component, but only when its :hovered. And the bonus function? How to style multiple div-buttons. (If you hover the button-wrapper, target all objects within that, and modify them too!)

▸ Read more on it 👉 here.

“… and media queries?”

Media queries are as easy as above mentioned technique. It’s basically the same.

▸ Read more 👉 here.

“How do I take an objects own height/width into consideration when positioning it?”

I wanted to put a fixed button at top: 50%, minus half of its own height to center it completely. Turns out you can’t get the objects own height measurement in css, but what you can do is work around it with transform: translate X or Y, depending on direction. [TranslateY(-50%)] moves your item up 50% of its height, in other words, centering it vertically. Meaning you don’t need to mess around with [top: calc(50% - xxx px)].

▸ Read full discussion on StackOverflow 👉 here.

“How do I animate/fade in/out conditionally rendered components?”

This seems to be among the harder things to style when working with React. A library called React Spring has a lot of options on how to work with animations in general, and useTransition is one of them. Working with it seems a little messy, but these links below have I found helpful. 😊

▸ Read React Spring’s documentation on useTransition 👉 here.

▸ Read css-tricks guide on it 👉 here.

▸ Play around in Css-tricks’s sandbox 👉 here.

“How do I delay content so that my loading animation will be seen for a bit longer?”

Just came across this nifty hook called useTimeout, which lets you set a delay of your choice to any function simply by writing a snippet pretty much identical to useEffect, and add a variable value at the end to setup the delay.

▸ Read more 👉 here. (Bonus: In the same post you can read about useInterval — how to execute a function on set interval 🤩)
How to Set the Default Configuration Properties for a Micronaut Library
By: Vladimír Oraný
Tags: Micronaut, Tech, Groovy, Java

How to Set the Default Configuration Properties for a Micronaut Library Vladimír Oraný Follow Feb 10 · 4 min read

Micronaut is a very extensible framework which allows you to easily create new libraries. Generally speaking, you can create a set of beans which will be injected into your application and ship them as a separate JAR. The problem may arise when you are also using configurations and you want to preset some default values. There is one recommended way — use default values in the configuration class. If you for any reason can't use this approach I will show you two other approaches — each of them must be used with caution.

Setting Default Values in Configuration Object

Setting default values in the configuration class or interface is the recommended way. If you use plain classes then you can simply set the default value as a default value of the fields.

@ConfigurationProperties("simple.two")

public class SimpleConfigurationTwo {



public String getFoo() {

return foo;

}



public void setFoo(String foo) {

this.foo = foo;

}



public String getBar() {

return bar;

}



public void setBar(String bar) {

this.bar = bar;

}



@NotBlank

private String foo = "FOO2";

private String bar;



}

There is a new option in Micronaut 1.3.x to create immutable configurations using interfaces. In that case, you need to use @Bindable annotation to set the default values.

@ConfigurationProperties("simple.one")

public interface SimpleConfigurationOne {



@NotBlank

@Bindable(defaultValue = "FOO1")

String getFoo();



String getBar();



}

You can override the defaults in your application.yml file:
The Heart Breaker
Tags: Romance, Love, Self-awareness, Humor, Relationships

I would have never said this, not even to my mom.

Love is something unique, secretive, heartbreaking; yet, so moving. I had never fallen in love before. Deep in my mind, I thought I was destined to be that rich uncle that drinks martinis at family gatherings.

Well, I might as well argue for a missing olive. However, one day everything changed.

It was the summer of 2019. The day was hot, humid, sunny, and toasty. I entered the subway station in a rush, the train was 5 minutes away.

That day, I was planning on going to the Tribeca Greenmarket in Manhattan.

I swiped my Metro card, $15 left, and I ran to the train; the door barely missed the back of my shoe. I immediately looked for a seat like a barn owl looking for a meal. I ended up sitting at the end of the compartment in a lonely orange seat.

Once I sat, I looked up and saw the most beautiful man.

It was like seeing the model from the Giorgio Armani ads in all it’s glory; I just hope that he didn’t see me drool.

Right now, I could care less about him; let’s call him Scott instead.

Photo by Tyler Nix on Unsplash

Scott was around 6 feet tall, with a lean muscle build. He had dark blue eyes that resembled the night sky, with black hair that reminded me of the ocean.

His shirt was slightly raised, just enough to see the abs.

I tried not to look at him, acting as if I was reading the ads on the wall behind him. Honestly, I just couldn’t keep my eyes off him.

Soon, we were looking at each other.

I would not want to say love at first sight. However, that’s what I felt.
Advice (From Someone Who Hires) on Getting Your First Software Engineering Job
By: Chris I.
Tags: Software Engineering, Programming, Software Development, Interview, Coding

Advice (From Someone Who Hires) on Getting Your First Software Engineering Job

Dos and don’ts from my experience interviewing 100+ developers and hiring a few

Photo by ThisIsEngineering from Pexels

Getting your first development job is hard. But you can do it, regardless of your background.

I’ve personally hired former bartenders, personal trainers, and non-STEM grads. I’ve also hired mechanical engineers. Your education doesn’t matter.

People occasionally ask me for advice on getting their first gig. This is what I tell them.
React DOM | React Elements JSX
By: Nimur Hasan
Tags: Jsx, React, React Dom, Developernaim20

React is defined as a Javascript library for building user interfaces.React work with DOM. DOM is “Document Object Model”The DOM API can be used to change a document structure, style, and content.

If someone asked you to give one reason why React is worth learning, this outcomes-based UI language is it. I call this language “the React language”.

JSX In Depth

JSX stands for JavaScript XML

React.createElement(component, props, ...children)

we write code in JSX :

<MyButton color="blue" shadowSize={2}>

Click Me

</MyButton>

and it works on compile like:

React.createElement(

MyButton,

{color: 'blue', shadowSize: 2},

'Click Me'

)

Component in JSX

User-Defined Components Must Be Capitalized

When an element type starts with a lowercase letter, it refers to a built-in component like <div> or <span> and results in a string 'div' or 'span' passed to React.createElement . Types that start with a capital letter like <Foo /> compile to React.createElement(Foo) and correspond to a component defined or imported in your JavaScript file.

Props in JSX

You can pass any JavaScript expression as a prop, by surrounding it with {} .

If we already have props as an object, and you want to pass it in JSX, you can use ... as a “spread” operator to pass the whole props object. These two components are equivalent:

Children in JSX

The middle of the opening and the closing tag has children props. <MyComponent>foo</MyComponent>

JavaScript Expressions as Children

You can pass any JavaScript expression as children, by enclosing it within {} . For example, these expressions are equivalent:

<MyComponent>{'foo'}</MyComponent>

Ignore in children

Booleans, Null, and Undefined Are Ignored

false , null , undefined , and true are valid children. They simply don’t render. These JSX expressions will all render to the same thing:

<div />



<div></div>



<div>{false}</div>



<div>{null}</div>



<div>{undefined}</div>



<div>{true}</div>

React and others
New Nordic Sustainability
By: Domi Perek
Tags: Sustainability, Fashion, Blogger, Growth, Success

By Dorothee Sarah Spehar

Scandinavian fashion and design have been going strong in fame and sales for several years now. Copenhagen based brands as Ganni, who recently opened a shop in SoHo Manhattan, are the fashion dream of every woman who wants to indulge in the carefree and romantic style of Danish girls on a bike. Acne on the other hand is a fashion staple, with it’s sleek and timeless forms the manifestation of Swedish coolness and practicality.

Now, both brands embraced a shift from a conventional fashion brand to emphasizing the relevance of sustainability in their brand DNA. Ganni designated a whole team in their Copenhagen headquarters to material innovation and curates an Instagram account to their constant strive for improvement, while Acne became a member of the Fair Wear Foundation. So, what is it that makes Scandinavian brands so strong in combining visuals with values without any compromise on the sexiness of the brand?

Impressions from MAHLA Copenhagen and Pssbl

A deep connection between those countries and the nature around them and the awareness for collective responsibility, is surely what drives creative minds to an uncompromising vision of responsible fashion. In a society of equality, the idea of creating items that are based on exploitative accounts just seems wrong. The privilege of being located in a wealthy country and seeing the positive impact your business decisions can have on communities and the environment surely motivates a lot of younger labels to already implement a certain level of ethics and consciousness to their designs.

In a society of equality, the idea of creating items that are based on exploitative accounts just seems wrong.

Earlier this year, Copenhagen Fashion Week introduced a sustainability requirement for brands attending the show schedule and aims to reduce its own greenhouse gas emissions by 50% over the next years. Considering that about 241,000 tons or enough to power Times Square for 58 years have usually been emitted per year by fashion people and clothing collections moving around the planet for fashion weeks, that is a big deal!

With a whole new reality of hybrid shows and digital formats, the event has the best chances to become a blueprint for other fashion destinations who will follow the conscious change post-COVID. With DS AGENCY and our newly launched sales format onlyafew, I will be attending the Copenhagen Fashion Week next week. In a year when I am still surprised to travel to a fashion destination at all, I sure wonder how the future of the business will look like and if we shouldn’t just cancel the idea of fashion weeks altogether. However, large platforms like Fashion Weeks can also educate the public about sustainable fashion and as that is what I am all about, I can’t wait to host the first ecological and social conscious multi-brand exhibition at REVOLVER this season.
Intro to Scraping Basketball Reference data
By: Michael Odonnell
Tags: Web Scraping, Sports Statistics, Python, NBA, Data Science

A short tutorial on how to scrape data from https://www.basketball-reference.com/ (or any other sports-reference.com site) with python

Photo by Edgar Chaparro on Unsplash

Sports-Reference.com is precisely where sports fandom and data science converge. It’s a massive, structured warehouse of clean sports data. Thus, it’s often the starting blocks for academic data science projects.

From a sports-reference site, like basketball-reference.com, it’s easy to grab one table. You don’t need to do it programmatically, you can copy and paste or even “export to CSV”. For example, you can get last season’s NBA standings from this page: https://www.basketball-reference.com/leagues/NBA_2020_standings.html

But, that’s not much data. What if you want to aggregate data from multiple pages to draw meaningful conclusions about teams’ standings over 5, 10, or 50 years? (Or in my case, does tanking help a team reach the finals?) Well, you can do that with python and three libraries.

To show this, I will outline two examples:
NASA’s top 5 greatest missions
By: Ziva Fajfar
Tags: Space, Astronomy, Science, NASA, Solar System

Apollo

Born as a political tactic during the Cold War to show the nation’s technological superiority, the Apollo program would become NASA’s greatest and most famous mission, achieving the impossible by putting a man on the Moon.

Named after the most loved of all the Greek gods, the Apollo program consisted of 17 missions which ran from 1961 to 1972.

Apollo 1 ended in a major tragedy when a fire broke out during a simulation phase and three astronauts lost their lives. Apollo missions 2–6 were unmanned test flights, while Apollo 7 became the first crewed mission of the program designed to test command and lunar modules.

Apollo 8 was the first manned spacecraft to leave low Earth orbit and to orbit the Moon. Landing on it became just a matter of time.

Apollo 9 and 10 were again crewed test flights, but Apollo 11 became the most famous of all space missions — the first to land a human on an extraterrestrial body.

Apollo 11 was launched from Cape Canaveral on July 16, 1969 and touched down on our only satellite 4 days later. Neil Armstrong and Edwin Aldrin walked on the Moon, while Michael Collins stayed in the command module.

The astronauts took photographs, collected samples and returned safely back home on July 24. They left behind a plaque that reads:

“Here men from the planet Earth first set foot on the Moon July 1969, A.D. We came in peace for all mankind.”

Five of the subsequent six Apollo missions were successful in landing a crew on the Moon, except for Apollo 13 which failed the landing but still managed to return home safely after an explosion on the ship.

Apollo 15 and Apollo 16 crew were the first to drive a car on the Moon, while the last mission — Apollo 17 — was the longest one. The astronauts stayed on our satellite for more than three days and performed three extensive moonwalks.

In three short years, the Apollo program landed 12 men on the Moon and remains the only mission to have achieved this. Humanity has never returned to the Moon afterward, nor has it managed to land on any other object beyond our beloved planet.
I Started Buying Books Instead Of Video Games — It Changed Everything
By: Tom Kuegler
Tags: Finance, Money, Self, Productivity, Education

Why You Should Buy Books Instead Of Video Games

The theory is simple.

Buy books instead of video games — especially if you’re young! Take all the money you would’ve spent on video games and, in the words of Patrick Star, PUSH IT SOMEWHERE ELSE.

That somewhere else being your local book store, hopefully.

Really quick before I keep going here..

Buying books is never a waste of money. I don’t care if you buy a book and it’s a massive disappointment. If you bought a few other ones, chances are one of them is going to explode with awesomeness.

Take my latest purchase, for instance. I bought a book called Quit Like A Millionaire recently by Bryce Leung and Kristy Shen.

The information in this book will probably help me make tens of thousands of dollars. Actually, to be honest, hundreds of thousands. I don’t know why I lied to you just then.

It’s a book about investing, that’s why. It’s not because I’m some genius. It’s because I’m young and I have the next 30 years to buy stuff and sit on it — which I’ll gladly do.

This one book that cost me $20 to buy will help make me tens of thousands of dollars after decades of investing.

I bought it on Sunday. Finished it yesterday. I bought two other books with it — one of which was a complete waste of money. In total I spent about $50, but it doesn’t matter. Why? Because one of those books was already a smash hit and will help me make that $50 back multiple times over.

Buy books, everyone.
The Seen and The Unseen Part 4 Trigonometric Series
By: Shweta Barge
Tags: Software Development, Programming Tips, Python, Towards Data Science, Data Visualization

Naïve Implementation

Cosine Function

Before writing a naïve implementation I want to see how the series progresses as the no.of terms increase.

The value of the series is oscillating between positive and negative that’s because of (-1) that’s being multiplied at every iteration. The values in red are the 5ᵗʰ term rounded off till the third decimal, they are not necessarily zero.

I’ll be using the same terminating condition I was using for the exponential function. I will stop the loop once the value of the series stops changing.

Instead of finding -1^n, I could just do i = i + 2 and alternate the sign to find the cos value.

2. Sine Function

Similarly, sine can be implemented as:

The sine and cosine functions are basically the same, the sine function consists of all the odd powered terms and cosine consists of all the even powered terms. Sine and Cosine can be calculated using one function alone.

Here is a function that calculates both sine and cosine

Using the indicator i = 0 for cosine and i = 1 for sine

Now I’ll test this function for correctness.

The average runtime for this function is:
Docker en desarrollo : Episodio 3
Tags: App Development, Español, Development, Backend Development, Docker

in In Fitness And In Health
The Power Of Feedback — How Visual Comments Can Improve User Experience
By: Aleksandar Pleško
Tags: Feedback, Design, UX Design, User Experience, UX

You are in the market cashing out on the register. You are handling the stuff you bought but the cashier is not looking at you, smiling or saying anything. The feeling is quite unpleasant. How would you feel if you did not receive even a single feedback after the shopping? Would you ever go to the same register again? Would you go to the same market if all the cashiers were the same? Let’s switch up the scenario. You are in the market cashing out on the register. You are handling the stuff you bought and the cashier suddenly smiles and asks how you are. The cashier is so pleasant and kind that you wish to stay in the market. Would you go to the same register again? Would you go to the same market if all the cashiers were the same?

In a previous example the market is used as a metaphor for a product, while the cashier presents the experience you get while using the service it offers.

One of the most important factors that determines market’s attendance is the feedback it provides. The difference between good and a bad experience leis in small details that are usually skipped when designing a market itself. If skipped the market may be avoided.

The usage of visual comments may be trivial, but it is usually excused. Not long time ago I was trying to Register my new device on Samsung’s website. After the registration nothing happened. I got no feedback and was quite confused. Just to be sure that everything is all right, I registered the device one more time.

Lack of information can confuse and make users avoid the website on unconscious level.

Feedback is used to present if completed action is positive or not. Feedback is fulfilling the experience by providing users with a feeling of control.

www.dribbble.com

Conclusion

Feedback makes communication easier and helps with understanding the process. Never let users guess. Visually display the state of the elements and provide both sided interaction.

Always be a good cashier.
Historical Viz Digest: Issue 4
By: Jason Forrest
Tags: Dvhistory, Design, Data Science, Data, Data Visualization

Chart illustrating the 4 basic types of intelligence, from the article “Graphicacy” by W.G.V. Balchin in 1972 (link)

One evening on our #-topics-in-data-viz slack channel, we began discussing the term graphicacy in relation to data visualization literacy. I decided to roll up my sleeves to learn what it was all about.

In 1972, a professor by the name of W.G.V. Balchin wrote an article for Geography magazine about “Graphicacy” — described as “the educated counterpart of the visual-spatial aspect of human intelligence and communication. Graphicacy is seen as fundamental in education along with literacy, articulacy, and numeracy. Since maps, diagrams, photographs, and other spatial documents are the tools of graphicacy as well as the basis of geography it is argued that geography should rank with English and mathematics as a foundation school subject.”

Professor W.G.V. Balchin

Balchin’s graphicacy idea was aimed at getting cartographers to shift towards data and away from photography. As you likely noticed, he mixes his term “graphicacy” with other comparable skills such as literacy and numeracy.

I found a charming obituary for Balchin, who in his earnest pursuits of expanding the ideas, methods, and tools of geography, “used his great intellectual stature to advance it in many ways”. The obituary paints a very human portrait of an enthusiast who spent his life generally researching, writing, and speaking about his domain without much personal recognition. It also provides some extra perspective on graphicacy:
Learn How To Compile a C++ Program
By: Drew Campbell
Tags: Software Engineering, Game Development, Programming, Software Development, Coding

Learn How To Compile a C++ Program

A series of articles exploring issues I’ve encountered using C++

Photo by Markus Spiske on Unsplash

One of the hardest things I found when first learning C++, outside of learning about pointers and memory management, was how to successfully compile code using third-party libraries.

As a game developer, you rely a lot on libraries for aspects of your game, such as rendering and physics, and it can be surprisingly tricky to successfully compile an empty project with these libraries included.

I struggled because I simply didn’t understand how C++ programs were built and distributed over the internet. I didn’t understand how my source code was turned into an executable or library, nor did I understand how to compile platform-independent code.

This meant that I simply did not know how to incorporate a library into my code, or I’d be banging my head against a wall trying to resolve errors that occurred when trying to compile. In reality, this shouldn’t be the difficult part of building your game.

This knowledge isn’t something that I have found to be taught. The focus is mostly on problem-solving and C++ syntax and yet, if you want to do any serious game programming in C++ without writing everything from scratch, this knowledge is required.

Therefore, I want to write a series of articles exploring many of the issues I have discussed. This first article will look at learning how to compile a C++ program.
How Not To Apply To An Accelerator (part 8)
By: Andrew Ackerman
Tags: Startup, Accelerator

This is part 8 of my “self-defense essay”. If you missed the prior installments, start here with The #EpicNovelFail

Accelerator Application Best Practices:

Read the entire application before starting to answer the questions

Copy the questions to Word and compose your answers offline.

Don’t make us look outside the application.

Review your answers to make sure that you are actually answering the question…

… with actual data and metrics …

… citing sources where needed …

… but without wasting time on the obvious (to us) …

… nor repeating yourself.

Then edit down your answers to make them as concise as possible.

Sleep on it and then review your entire application with all attached material from start to finish to make sure it flows and that you haven’t missed anything big.

Good luck!
Feedback
By: Arihant Verma
Tags: Lol, Stories, Storytelling, Feedback

I spend a considerable amount of time to curate good lit-y/arty links in a week, and I love doing it. But I want to do it right, which means I want to constantly keep improving the quality and variety of the links that I curate. For that I need your help. You could start helping me by two ways:

Fill up this 6 questions feedback survey:

2. Help me curate good links, by sending the good ones that you read in a week, here so:

And don’t ever forget, you are awesome!

If you want to get weekly list of links in your email inboxes please don’t forget to follow this publication :)