Open-source News

XP-PEN Deco 01 V2 Drawing Tablet Support Added To Linux 6.2

Phoronix - Thu, 01/19/2023 - 18:48
Squeezing into the current Linux 6.2 kernel cycle is support for the XP-PEN Deco 01 V2 drawing tablet...

Community thinking patterns and the role of the introducer-in-chief

opensource.com - Thu, 01/19/2023 - 16:00
Community thinking patterns and the role of the introducer-in-chief Ron McFarland Thu, 01/19/2023 - 03:00

I recently studied some research by Dave Logan, Bob King, and Halee Fischer-Wright, who looked at what I call productive and counterproductive communities. Community is an important open organization principle. These researchers define it as a group of 20 to 150 people who know each other enough to say hello on the street and influence or impact each other. They give suggestions on guiding people out of counterproductive communities and relationships and into productive ones through introductions to people who have gone through that process.

Their study suggests many of the same collaboration concepts I talked about in my article on the book Team of Teams: New Rules of Engagement for a Complex World. The context between the two studies is very different, but they both come to similar conclusions about the flow of communication (here again, the open organization principle is widely applied).

The researchers believe that cultures determine a common dominant language, topics of conversation, feelings, and behavior. It's what determines the environment you live and work in. You are either energizing or draining people of their energy (consuming their energy and motivation). A group eventually expels those that speak a different language or behave unacceptably.

According to the researchers, the effectiveness of a community is based on five stages of culture:

  1. Counterproductive to the members themselves and their surrounding society.
  2. Barely productive.
  3. Generally productive.
  4. Very productive.
  5. Extremely productive.

Each stage represents a specific way that a community thinks, behaves, and speaks.

#1 is the most pessimistic environment, and #5 is the most optimistic. As a leader, your job is to encourage members to leave #1 and join #5. I discuss community cultural thinking patterns #1-3 in part one of this article and thinking patterns #4-5 in part two. I also include a fictional account of a person moving through all five patterns.

What community members talk about and how they speak to each other determines which of the five community thinking patterns they are in. Larger communities could have several sub-community thinking patterns in play at the same time.

What is community leadership?

When you're a community leader, you have the respect and trust of the community. You are guiding the community, and you must consider two main aspects of it.

The first aspect is the ever-changing forward and backward behavior of each member. What are you doing to move the purpose of the community forward (not backward)? Your full attention is on measurable performance, not simple beliefs or attitudes. Leaving the community might be a good option if you cannot improve the community's greater good purpose.

The second aspect is how you communicate and speak within the culture or community. The researchers believe each of the five cultural thinking patterns has its own language and way of speaking and behaving. That culture must pass through each of the five thinking patterns toward more productivity. The language and behavior you encourage determine advancement. Your goal is to improve the language and move the behavior in a more productive direction.

As you guide the community, the community also guides you. It can be either supportive or resistant. This interaction determines the pace of community advancement and forces you to adapt where appropriate or simply to leave the community altogether.

With that understanding, you can introduce members to others that want to be more productive and those that have gone through similar development issues. You redirect questions to continue discussions and turn praise toward the community members themselves.

Behavior and outwardly or quietly spoken attitudes

With those thoughts, according to the researchers, a community leader listens to the language within the culture and attempts to move the community to the next higher cultural thinking pattern.

As a leader, you must discourage one type of behavior and language, replacing it with another. If a member is unwilling to change either language or conduct, that community member might have to be removed from the community.

These community thinking patterns can be seen through current behaviors and what people say. They are not fixed situations but evolve over time. The researchers have learned that behaviors can go up and down and continually move in strength and intensity when closely observed (never, rarely, occasionally, often, always).

Community thinking pattern #1 environment

According to the researchers, the people in this thinking pattern are alienated from others but believe that "misery loves company," and this is their family. "Life is miserable," but everyone is in it together. The community's feeling and behavior expresses despair and hostility. Members are abusive and could be violent to others and even self-destructive.

In a business setting, these people could steal quietly from their company and feel no shame when caught.

In terms of collaboration, they feel so alienated from everyone that they don't interact with people at all.

Feelings within early community thinking pattern #1 Image by:

(Ronald McFarland, CC BY-SA 4.0)

This person believes all bad behavior is justified, and everyone acts this way.

What is the job of the community introducer-in-chief? According to the researchers, you have to identify people who want to improve their situation and are willing to work on it. Then, you convince these people that they have the choice to improve themselves and their situation. You might introduce them to a community member who used to be in similar circumstances.

Community thinking pattern #2 environment Image by:

(Ronald McFarland, CC BY-SA 4.0)

These community members (and collective culture) think that others have power they lack. They feel trapped and that their life is terrible. In the researcher's words, "my life is miserable" expresses the feelings of these members.

These people form groups that complain about their environment and community. They feel like victims and therefore do the minimum to get by. In a business setting, these people do what the job requires and no more. They are good at pretending to be busy. They believe they can't be creative in their work, so they're disengaged. In terms of collaboration, they feel separated from anyone in authority.

First, identify this behavior and language (usually, some variation on "my life is miserable"). As the introducer-in-chief, you can direct the person to individuals who may be helpful, particularly others who have recently struggled with their own life challenges but have been successful and want to continue progressing.

Encourage one-on-one interactions between those two people, so the two can find a way forward. The leader should encourage the person to do this repeatedly with many people, as there is never one path, and everyone is different. If people have gone through similar problems, they are often very happy to mentor others.

Through these one-on-one discussions, a vision forward can surface. People can find their strengths through these discussions. Also, other support resources might come to mind. Even skill development activities that address weaknesses can be explored. Together they can consider easy, quick-reward projects that achieve something and build skills and confidence along the way. These projects should be self-paced to ensure they are energizing and not exhausting.

If you're successful, the person starts to use positive language and exhibits skills others don't have. A small sense of superiority may even develop in specific areas when compared with other people.

Feelings within early community thinking pattern #2

In the new environment, this person sees potential, not yet fully realized but getting nearer. A person fears going backward in early community thinking pattern #2. They do one of these things:

  • Find a thinking pattern #2 community and stay there.
  • Adjust their attitude.
  • Revert to their previous bitter lifestyle and environment.

The job of the community introducer-in-chief is to identify people who are willing to work to improve their situation. Next, introduce those people to individuals who have struggled with the same feelings and environment but have learned ways to be personally successful.

Feelings within middle community thinking pattern #2

These people tend to attract other thinking pattern #2 people, share a similar attitude of being outside the main decision-making action, and jointly complain about something keeping them from advancing. They accept that as unavoidable and like to mock their bad bosses.

Feelings within late community thinking pattern #2

These people feel life is miserable but badly want to move to a better life. They think having an unsatisfying life is temporary and believe it can improve. From this point, it's possible to move to the next thinking pattern.

Community thinking pattern #3 environment

These people (and their collective culture) are individually high performers and are extremely skilled in their area of specialty. They work in one-to-one relationships to get others to help them personally advance.

Their attention is not particularly concerned with others or the community overall. In the researcher's words, "I'm great" (and indirectly, "you're not") is the predominant feeling. You often hear "I," "me," and "my" from these people, according to the researchers.

In relationships with other people, these community members consider others as competitors. Sometimes, they hide attacks on others through humor. In any situation, their goal is to control and dominate others. They attract community thinking pattern #2 people that are just willing to take orders and do no more.

Regarding collaboration, they only discuss issues individually with their personal goals in mind. Furthermore, they tend to hoard information and are not inclusive or transparent.

According to the researchers, a common complaint heard from these people is that they never have enough time to get things done, and they want to achieve far more than they currently do. Also, they consider many around them uncooperative, poorly skilled, or unmotivated. After identifying this behavior and how the person speaks, the introducer-in-chief's action plan should encourage the person to work in larger groups (three-person groupings on a given project) and not one-on-one only. Introduce like-minded people to each other, and enable them to help one another.

Encourage the person to work on projects they cannot achieve alone but could with the right community. They should work on projects that require partnerships.

The researchers believe these community members must be convinced that their talent can only get them so far. Through working with others, far more can be achieved. The increased power comes not from added ability but from wide-ranging networks that have both knowledge and usable skills.

This network development can be achieved by being more transparent with what is known. This approach stimulates others to be transparent and to reach for greater achievements.

Feelings within early community thinking pattern #3

According to the researchers, these people found abilities they could develop. Working on those skills alone, they get praise for their progress. They feel there is more to be done and that only they can do it successfully.

Secretly, they're still uncertain about how well they perform, feeling they have to prove themselves to others (and themselves). Furthermore, they feel they are only worth as much as their performance. On good days, they feel confident. On bad days, they feel stuck, powerless, and out of control (which leads back to feelings of community thinking pattern #2).

They are the most comfortable working with people with the same talent, skills, and drive as they have.

A key difference between community thinking patterns #2 and #3 is a passion for personal success and self-reliance, as opposed to a feeling of powerlessness.

Learn about open organizations Download resources Join the community What is an open organization? How open is your organization? Feelings within middle community thinking pattern #3

There's a transition to the middle of community thinking pattern #3 that happens when people find a group that accepts them for their gifts and skills. Sometimes, it is a mentor who offers this respect that is needed. Over time, a more solid community support system stabilizes with others with similar skills, performance, and professional drive.

These people find others with similar skills in the same specialty or equivalent skills in other specialties. Generally, the group has a similar level of professional confidence. This leads to a mild level of competition or one-upmanship among them. They respect each other within a competitive atmosphere.

They expect others to have the same drive as they have and are disappointed when others don't put in the same effort. They will likely transition into management at this point, warranting their own staff.

Feelings within late community thinking pattern #3

The late stage of community thinking pattern #3 level is when a person maintains a one-on-one relationship with other workers (often their staff) and has a strong management style. They give orders and confirm that tasks have been completed. They discourage staff from discussing things with each other without a leader in attendance.

Image by:

(Ronald McFarland, CC BY-SA 4.0)

These managers always complain that there is not enough time to do what needs to be done. They are either doing things directly or running around supervising countless staff activities.

The community introducer-in-chief's job is to identify people who want to improve performance and work with other people. As the introducer-in-chief, ask managers to let go of control. Introduce managers to individuals with skills they can partner with. Start by introducing two people to each other, and then step aside and let those two work together.

It's at this point that the principles of the Open Organization come into play.

Patterns #4 and #5

Part 2 of this article discusses cultural thinking patterns #4 and #5. It also provides an example of how introducers can influence an individual and lead them toward the next more positive community.

The introducer-in-chief introduces two people to each other, and then steps aside and lets those two work together. That's when the principles of the Open Organization come into play.

The Open Organization What to read next This work is licensed under a Creative Commons Attribution-Share Alike 4.0 International License. Register or Login to post a comment.

How to fix an IndexError in Python

opensource.com - Thu, 01/19/2023 - 16:00
How to fix an IndexError in Python vijaytechnicalauthor Thu, 01/19/2023 - 03:00

If you use Python, you may have encountered the IndexError error in response to some code you've written. The IndexError message in Python is a runtime error. To understand what it is and how to fix it, you must first understand what an index is. A Python list (or array or dictionary) has an index. The index of an item is its position within a list. To access an item in a list, you use its index. For instance, consider this Python list of fruits:

fruits = ["apple", "banana", "orange", "pear", "grapes", "watermelon"]

This list's range is 5, because an index in Python starts at 0.

  • apple: 0
  • banana: 1
  • orange: 2
  • pear: 3
  • grapes: 4
  • watermelon: 5

Suppose you need to print the fruit name pear from this list. You can use a simple print statement, along with the list name and the index of the item you want to print:

>>> fruits = ["apple", "banana", "orange", "pear", "grapes", "watermelon"] >>> print(fruits[3]) pear What causes an IndexError in Python?

What if you use an index number outside the range of the list? For example, try to print the index number 6 (which doesn't exist):

>>> fruits = ["apple", "banana", "orange", "pear", "grapes", "watermelon"] >>> print(fruits[6]) Traceback (most recent call last): File "", line 2, in IndexError: list index out of range

As expected, you get IndexError: list index out of range in response.

How to fix IndexError in Python

The only solution to fix the IndexError: list index out of range error is to ensure that the item you access from a list is within the range of the list. You can accomplish this by using the range() an len() functions.

The range() function outputs sequential numbers, starting with 0 by default, and stopping at the number before the specified value:

>>> n = range(6) >>> for i in n: print(i) 0 1 2 3 4 5 5

The len() function, in the context of a list, returns the number of items in the list:

>>> fruits = ["apple", "banana", "orange", "pear", "grapes", "watermelon"] >>> print(len(fruits)) 6List index out of range

By using range() and len() together, you can prevent index errors. The len() function returns the length of the list (6, in this example.) Using that length with range() becomes range(6), which returns items at index 0, 1, 2, 3, 4, and 5.

fruits = ["apple", "banana", "orange", "pear", "grapes", "watermelon"] for i in range(len(fruits)): print(fruits[i]) apple banana orange pear grapes watermelonFix IndexError in Python loops

If you're not careful, index errors can happen in Python loops. Consider this loop:

 

>>> fruits = ["apple", "banana", "orange", "pear", "grapes", "watermelon"] >>> n = 0 >>> while n <= len(fruits) print(fruits[n]) n+=1 apple banana orange pear grapes watermelon Traceback (most recent call last): File "", line 4, in IndexError: list index out of range

The logic seems reasonable. You've defined n as a counter variable, and you've set the loop to occur until it equals the length of the list. The length of the list is 6, but its range is 5 (because Python starts its index at 0). The condition of the loop is n <= 6, and so thewhile loop stops when the value of n is equal to 6:

  • When n is 0 => apple
  • When n is 1 => banana
  • When n is 2 => orange
  • When n is 3 => pear
  • When n is 4 => grapes
  • When n is 5 => watermelon
  • When n is 6 => IndexError: list index out of range

When n is equal to 6, Python produces an IndexError: list index out of range error.

More Python resources What is an IDE? Cheat sheet: Python 3.7 for beginners Top Python GUI frameworks Download: 7 essential PyPI libraries Red Hat Developers Latest Python articles Solution

To avoid this error within Python loops, use only the < ("less than") operator, stopping the while loop at the last index of the list. This is one number short of the list's length:

>>> fruits = ["apple", "banana", "orange", "pear", "grapes", "watermelon"] >>> n = 0 >>> while n < len(fruits) print(fruits[n]) n+=1 apple banana orange pear grapes watermelon

There's another way to fix, this too, but I leave that to you to discover.

No more Python index errors

The ultimate cause of IndexError is an attempt to access an item that doesn't exist within a data structure. Using the range() and len() functions is one solution, and of course keep in mind that Python starts counting at 0, not 1.

Follow this Python tutorial to learn how to solve an IndexError.

Image by:

Yuko Honda on Flickr. CC BY-SA 2.0

Python What to read next This work is licensed under a Creative Commons Attribution-Share Alike 4.0 International License. Register or Login to post a comment.

How to Install Sublime Text 4 in Linux

Tecmint - Thu, 01/19/2023 - 13:23
The post How to Install Sublime Text 4 in Linux first appeared on Tecmint: Linux Howtos, Tutorials & Guides .

If you’re not a terminal lover, you might not like using the popular command-line text editors Vi or Vim. Speaking of graphical-based, Sublime Text is one of the most preferred cross-platform proprietary-based text and

The post How to Install Sublime Text 4 in Linux first appeared on Tecmint: Linux Howtos, Tutorials & Guides.

AVX-512 Performance Comparison: AMD Genoa vs. Intel Sapphire Rapids & Ice Lake

Phoronix - Thu, 01/19/2023 - 02:16
With last week's launch of Intel's 4th Gen Xeon Scalable Sapphire Rapids server processors, Intel heavily talked up the shiny new accelerators and the big performance potential of AMX, but not really showcased and only heard through the grapevine was the improved AVX-512 implementation found with these new processors. With Sapphire Rapids there is reduced penalties from engaging AVX-512 -- and for some AVX-512 instructions, no longer any measurable impact -- compared to prior generation Xeon processors. In this article is a look at the performance for a wide variety of workloads with AVX-512 on/off not just for Sapphire Rapids but also for prior generation Ice Lake as well as AMD's new EPYC 4th Gen "Genoa" processors where they have introduced AVX-512 for the first time.

Pages