People judge a book by its cover! Look at most Twitter accounts that you follow and they probably have a professional (looking) image.

Here's how to create a professional profile image! #twitter4devs
Take a photo (phone is fine) against a white background, using your camera. If you have a lighting source, slightly in front and above you. (Folks like it if you smile at least a little bit.. 😉)
Load it into Gimp (free) or Photoshop and convert it to grayscale. (Or leave it if you like it).
Open up the curves and give it a stretched out s shape to make the whites whiter and darks darker.
Save it and that's it, you are done! You now have a professional looking profile image.

If you enjoyed this thread:

1. Follow me @__mharrison__ for more of these
2. RT the tweet below to share this thread with your audience

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with matt harrison

matt harrison Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @__mharrison__

Jun 1
The .pipe method in Pandas is powerful (yet potentially confusing if you aren't comfortable with passing functions around).
The .pipe method takes a dataframe (or series when called on a series) and can return whatever it wants. Generally, I'll return a dataframe so I can continue to chain operations.
🐼 .pipe is useful for operations that don't have methods (such as flatten_cols).

There is no method that will flatten hierarchical columns in Pandas. You need to mutate the .column attribute. But we can use .pipe to do this and still allow us to chain.
Read 5 tweets
May 31
Evaluating whether to replace my PDF viewer/inking tool of choice on Windows with @foxitsoftware or Okular (@kdecommunity). Seem more stable and quicker than @drawboard but also have other quirks. 🤔
Drawboard:
+: Intuitive, relatively cheap
-: Slow rendering, visual noise in fullscreen, stops working,
Foxit:
+: Speedy, quick rendering
-: Need quick access to pen color (preferably in presentation mode). Erase doesn't erase whole line. Pricey.
Read 6 tweets
Apr 15
Here's a quick overview of what I use in 2022.

I spend most of my time instructing, creating content, and consulting. So I'm at my desk a lot. Image
I have a pretty simple standing desk. Legs from Monoprice. Top from Ikea.

It is normally messier than this.

Yes, I have a lot of wires.

And even more underneath. 🤷 Image
I won't show my chair because ergonomic folks will freak out. (It is a old wooden office chair.)

I spend most of the day sitting though stood a lot before COVID. Pay attention and do what feels good for your body.
Read 31 tweets
Feb 8
Last week I taught a course that covered Decorators in Python.

Many know how to use them, but few can write them.

These are tricky because nested functions make our brains hurt.

Here are some hints for grokking them.

1/
In short, decorators allow you to inject orthogonal behavior before or after a function is executed.

But my favorite decorator definition is related to the construction and will help you easily create them: A callable that takes a callable and returns a callable.

2/
What do I mean by "orthogonal"?

A function should do one thing. If you want to add caching or logging, it really isn't related to the function (and could be applied to multiple functions). It is "orthogonal" behavior.

3/
Read 12 tweets
Oct 28, 2021
Let's explore the "any" and "all" built-in functions in Python.

A 🧵
First of all, I'll teach you how to fish in Python before giving you the fish. 🐟🎣

The built-in "help" function will give you documentation in Python. Make liberal use of it and reach out to it before ceding control to a search engine.
These are "aggregation" or "reducing" functions. They take a sequence and collapse it to a single value.

"any" returns if any value was truthy.
"all" returns if all values were truthy.

Most examples look like this:
Read 8 tweets
Oct 27, 2021
Here's a crazy piece of Python code (from @driscollis) illustrating how to calculate prime numbers below 1000 in a "functional" style.

How would I write this?

🧵

Functional programming like this can be great for minimizing lines of code. But it is also great for making your brain spin. Here is how I would initially write this (if I were fancy, I would use the Sieve of Eratosthenes):
Can we collapse this into fewer lines of code? Certainly, (the functional style already showed that) we can. One thing to realize is that lines 3-6 can be replaced with an any call:
Read 8 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us on Twitter!

:(