text:
From Day One: An Agenda for Advancing Women Leaders in Africa
By Joyce Banda
Taking Action to Advance Women Leaders in Africa
The Wilson Center's Women in Public Service Project hosted a conversation with Her Excellency Dr. Joyce Banda, former President of Malawi and Distinguished Fellow at the Wilson Center, and civil society leaders on how to advance women's leadership in Africa.
11:00am – 12:30pm ET
6th Floor, Woodrow Wilson Center
This event will be webcast
Stream will begin in approximately —:—:—
Refresh your browser window if stream does not start automatically.
Global Women's Leadership Initiative
While Africa's history celebrates many women political leaders, former President of Malawi Dr. Joyce Banda argues that this rich tradition will only continue if policymakers, community leaders, and civil society take steps to advance those born to lead.
Building on her March 2017 publication "From Day One: An Agenda for Advancing Women Leaders in Africa," Dr. Banda released a toolkit that details how policymakers, civil society organizations, community leaders, and the international community can advance women's leadership in policy and political positions in Africa.
On July 17, the Women in Public Service Project and Africa Program at the Wilson Center hosted a conversation with Her Excellency Dr. Joyce Banda, former President of Malawi and Wilson Center Distinguished Fellow, and civil society leaders on how to advance women's leadership in Africa. The conversation was moderated by Gwen K. Young, director of the Global Women's Leadership Initiative and the Women in Public Service Project.
Dr. Joyce Banda
"Income is key, business is key. When you bring income to the household, the women begin to make decisions and give the opportunity to the girl child to go to school."
"When women become leaders, they focus on issues of women and children."
"We need a toolkit to continue to fight for women's participation in leadership because the continent of Africa has made good progress."
"Now we know that it can be done. Therefore, we must run. We must be talking to our friends and partners [who] can help us accelerate that speed, making sure that we get as many women as possible into leadership."
"I'm calling upon my fellow women to rise, to understand, to be counted, to fight, to change mindsets at [the] grassroots."
"A change of mindset will be key for us to achieve the participation of women in leadership."
"Women are risk-takers… They put their people first. It's not about the votes, it's about the people who gave them the mandate to lead in the first place."
"Women believe in peace and in dialogue."
Dr. Joannie Marlene Bewa
"Women's leadership is not only about having great dreams, but also being able to have a strong ecosystem of alliances that can support [women] in implementing and guide women in decision-making."
"As part of the African continent, we have values specific to ourselves that we don't defend and we still believe in… This is a great opportunity for us to leverage [the] skills within this community of traditional religious leaders."
Karen Sherman
"Education is key to workforce outcome."
"The woman earning an income is really a game-changer in the family and in the community. It changes how she's treated, elevates her status. It gives her voice and agency within that family and within that community."
Pape Samb
"We need to educate men to be a partner in empowering women… We need to educate men and young boys to understand how we define work in the household, how we define work in the economic market and in the social market."
"Within our government, we should start having a network of men advocating for women."
Distinguished Fellow;
Former President of Malawi
Gwen K. Young
Distinguished Fellow
Dr. Marlene Joannie Bewa
Executive Director, Young Beninese Leaders Association
Executive Director, Ashoka Africa
President, Akilah Institute
The Global Women's Leadership Initiative has hosted the Women in Public Service Project at the Wilson Center since June, 2012. The Women in Public Service Project will accelerate global progress towards women's equal participation in policy and political leadership to create more dynamic and inclusive institutions that leverage the full potential of the world's population to change the way global solutions are forged. Read more
The Africa Program works to address the most critical issues facing Africa and U.S.-Africa relations, build mutually beneficial U.S.-Africa relations, and enhance knowledge and understanding about Africa in the United States. The Program achieves its mission through in-depth research and analyses, including our Africa Up Close blog, public discussion, working groups, and briefings that bring together policymakers, practitioners, and subject matter experts to analyze and offer practical options for tackling key challenges in Africa and in U.S.-Africa relations. Read more
Thank you for your interest in this event. Please send any feedback or questions to our Events staff.
Advancing Women Leaders in Africa: A Discussion with Her Excellency Dr. Joyce Banda, Former President of Malawi
On Friday, January 27, 2017 at 11:00 – 12:00 ET
Toolkit: Advancing Women Leaders in Africa
Women Led Protests in Iran Evolve: Regime Controlled Industries are the Next Targets
By Elham Gheytanchi on November 14, 2022
A Woman Artist is the Real Revolution
By Souad Douibi on September 16, 2022
Africa Up Close
Women Smallholder Farmers: What is the Missing Link for the Food System in Africa?
Global Health & Gender Policy Brief: Global Fertility Rates and the Role of Infertility
By Deekshita Ramanarayanan
New Security Beat
How Gender Inequality Drives the Global Crisis of Unintended Pregnancy
The Wilson Center Stands on the Side of Afghan Women and Girls
Global Health & Gender Policy Brief: The Global Care Economy
By Sarah B. Barnes
Gender Inequality in Mexico's Fractured Public Health System
DOT-MOM // FROM THE WILSON CENTER Ukrainian, Belarusian, and Russian Women and the Anti-War Movement


text:
Derek Flack
Condo of the week: 385 Brunswick Avenue
The Loretto is an luxury condo in the Annex that's home to some very nice loft spaces. Formerly Loretto Abbey Day School, the adaptive re-use project, which was completed in 2007, boasts 46 units, of which this penthouse is one of the finest.
You don't get an industrial hard loft feel here. On the contrary, the finishes are noticeably polished, from maple flooring to floor-to-ceiling windows to hyper-contemporary kitchens. You might even say that the building has a mature vibe.
That makes sense, of course. It was downsizing Annex homeowners who quickly bought up these units 10 years ago. This suite, for instance, exudes sophisticated taste in the form of an ample art and book collection that give the interior plenty of character.
I'll confess that I love the soaring bookshelves in the library, but the rooftop deck and garden is also beautiful, as is the sun-filled sitting/TV area on the upper level. Basically it's all peaks and no valleys — which you should expect for $5.5 million.
Address: #501 - 385 Brunswick Ave.
Walk Score: 87
Transit Score: 100
Maintenance Fees: $4,796.79
Listing agent: Alex Brott
Someone who wants to flip a stately Annex home into a stunning Annex condo. This one doesn't come cheap, but it possesses a ton of character and space.
Move On If
You don't need a five bedroom condo. While some of these spaces can be used for other purposes, this unit is bigger than most people's houses.
Thanks to Bosley Real Estate Ltd., Brokerage for sponsoring our condo of the week. All editorial written and selected by blogTO.
Birdhouse Media

redpajama_set_name: RedPajamaCommonCrawl


text:
The Long Road with Cierra Johnson
News Cierra Johnson, crossover exposure, Shelton State, University of Alabama
Mobile, AL 2017
One thing is for certain, Cierra Johnson has persevered and overcome many obstacles in her winding road of a basketball career thus far. One of the most highly recruited guards out of high school in the class of 2016, Cierra was forced to take an unconventional route and attend JUCO at Shelton State after not qualifying for the NCAA and a scholarship offer to the University of Alabama. Johnson's list of pre-collegiate accolades includes McDonald's All-American, USA Today All-Alabama first team, Naismith High School All-America Watch List and Jordan Brand Classic All-American. She has now added NJCAA All-American (1st team), NJCAA All-Star Weekend MVP, ACCC Player of the Year & First Team honors to this list, while leading her team to an ACCC Championship last season.
We had a chance to catch up with Cierra for an interview about her past, present and future to better understand her story and what drives her to be great.
CRX: Growing up in Mobile, AL, how did you get started playing basketball and how old were you?
CJ: Growing up in Mobile, Al I developed the love for basketball at a very young age. My dad first put a basketball in my hand when I was 4 years old, when I first bounced a ball I was 5 and when I played my first real game, I played on an all boys basketball team.
CRX: Tell us about some of the challenges you had growing up. What was life like for you as a kid and in/through high school?
CJ: Growing up I had very dependable parents. We didn't have much, we had a lot of struggles but my parents made sure I had everything I needed, not what I wanted. My parents invested a lot into my basketball career growing up. They may not had it all the time but they made a way to pay my fees for trips or fees for the team I was on, or sometimes people would pay for me out of the kindness of their heart because we just didn't have it. I struggled a lot in high school, mostly with focusing on what was really important. Other than that, high school was good to me basketball was great and the people were amazing.
CRX: Take us back and walk us through your mental state when you found out you had to attend JUCO last year due to not qualifying for NCAA.
CJ: I remember sitting in my mentor's classroom, Ms. Buchanan, when we were going over my grades discussing how I wasn't going to qualify. I was hurt but I was more so focusing on what others were going to say. During that time I thought JUCO was going to be bad for me. I was thinking about who was going to pick me up. I didn't have a school to attend because not qualifying was so sudden. My mental and confidence were so gone I wanted to give up because people had such high hopes for me and I felt like I let them down. But now I look at it as everything happens for a reason. God always has a plan that we all need to follow. JUCO has been the best thing that happened to me academically, mentally,socially, and has made me a better person and player.
CRX: You were selected in the JUCO All- Star Weekend and named MVP of the weekend. How was that experience and what did that mean to you?
CJ: The All- Star weekend was a great experience. I have a hard time being social but that weekend I was introduced to a lot of new people whom I still communicate with now. I am so glad I was invited to that event. When I was named MVP it meant a lot to me because even though I didn't score a lot my intentions were to make the people around me better and I was glad my hard work didn't go unnoticed.
CRX: What is your outlook for Shelton State this year and what are your goals as a team and individually?
CJ: Even though we lost a lot of people that were a good aspect to the team we have some key returners and some very talented freshman that can and will help us win it all. I think we all have the same team goal to WIN, to win the conference championship and the National championship. My individual goal is to be JUCO POY and to better myself as the year goes on as a person and a player.
CRX: You have achieved a lot and gained recognition as one of the best in the country. What is your ultimate goal in basketball and life?
CJ: Since I was younger I have always wanted to play Professional basketball and impact lives. My ultimate life goal would be to better my relationship with God and to help everybody know his name.
CRX: If you could speak to High School students in a similar position as you what would you tell them?
CJ: SCHOOL IS IMPORTANT!!!!!! You can not go anywhere without grades because its another athlete with better grades and the same talent as you and coaches will overlook you for them. I would also tell them you have to always work everyday to better yourself, everybody in JUCO have the same goal, to play D1 ball so you have to work and better your craft everyday. Also keep God 1st
CRX: Outside of basketball, what do you enjoy to do?
CJ: SLEEP!!!!!!!!!! Draw or hang with friends.
CRX: Who are some influential people that have helped you along the way?
CJ: I have a few people that have helped me along the way. 1. My mom and dad for believing in my dreams and investing their time in me. 2. Barbarrah Hatcher and Tamika Hardin and Toya Steile my first coaches when I was little without them I don't think I would be the player I am today. 3. Tiffany Buchanan for helping me with my school-work, mentoring me, and being a mother figure while in school. 4. My sisters for their undying support. They support me in every decision I make. 5. Jordan LeNoir for being in my corner and helping me make decisions, supporting me, and being their for me while I'm away from home. All of these people have made a major impact in my life.
CRX: Who is Cierra Johnson?
CJ: Cierra Johnson is a girl who grew up in Happy Hill projects in Mobile, Al. She didn't have much but she used basketball as her ticket to get her and her family out of the situation they are in now and she puts all of her trust in the lord and would do anything to give her family the world.
CRX: Who is your favorite NBA and WNBA player and why?
CJ: My favorite NBA player would be Russell Westbrook because of his drive; he plays every game like it is his last. He is loyal to his team he would give any and everything to his team, he leaves it all on the court. My favorite WNBA player would be Maya Moore, the way she plays is so smooth she is humble, and loves the game. Maya Moore is a leader, her and Russell both gives all the glory to God.
CRX: Alabama won 22 games last year, the most since 1997. How do you see yourself fitting in with Coach Curry's system and also with the emergence of PG Jordan Lewis?
CJ: I see myself fitting into Coach Curry's system very well, she has a will to win so do I. I feel I bring a lot of drive and I would be a great fit for the team. Jordan Lewis is a great point guard I feel we will be a good combo in the back court.
Shelton State's first game of the season is on November 3rd at Walters State Community College for the Senators Tip Off Classic @ 5:00pm . Cierra's long road of faith continues to transform into a testimony and body of work that will soon make her a household name in the upper echelons of Women's collegiate and professional basketball for years to come.
SGTC Flattens Georgia Highlands 65-63 in GCAA Championship Thriller
For the second year in a row, the Georgia Collegiate Athletic Association Division 1 Women's Championship was a show-off... read more
Kanna Suzuki chosen to play in NJCAA Women's All Star Weekend
Atlanta/Niceville, FL 2017 Kanna Suzuki, along with teammates, Houlfat Mahouchiza and Ester Adinike have been chosen to participate in the 9th... read more
Harrell Sisters Bring Success to their New Teams
Jada and Sade Harrell grew up in Toledo, Ohio where they got their early start in basketball. After relocating... read more
Crossover Prep Opens its Doors
Atlanta, GA Crossover Prep, also known as Crossover ASA Prep has opened its doors with its first Postgraduate Program in... read more
Suzuki holds form as SGTC Continues to Dominate GCAA
Atlanta/Americus South Georgia Tech continues to impress with its clear hold as the number one team in the Georgia Collegiate... read more


text:
New FlexBooks available this fall
July 28, 2010 | admin
The following FlexBooks are available for use this coming school year. They are available as PDF downloads, though some are already fully loaded on CK-12's official FlexBook System. We are making these books available NOW, even though they are works in progress, so teachers can preview them for early adoption. If you have any questions, please send them to info@ck12.org.
Middle School Math and Science
CK-12 Middle School Math – Grade 6
This FlexBook covers the fundamentals of fractions, decimals, and geometry. Also explored are units of measurement, graphing concepts, and strategies for utilizing the book's content in practical situations.
This FlexBook provides lessons that solidify students' basic understanding of number, space and chance. It will continue to highlight patterns within arithmetic to prepare students for Algebra I.
CK-12 Earth Science – Middle School
A work in progress, CK-12 Earth Science for the middle school student covers the study of Earth – its minerals and energy resources, processes inside and on its surface, its past, water, weather and climate, the environment and human actions, and astronomy.
CK-12 Life Science – Middle School
An introduction to Life Science, this FlexBook for the middle school student is a work in progress covering seven units: Understanding Living Things; Cells: The Building Blocks of Life; Genetics and Evolution; Prokaryotes, Protists, Fungi, and Plants; The Animal Kingdom; The Human Body; and Ecology.
High School Math and Science
CK-12 Basic Algebra
This FlexBook is an introduction to the algebraic concepts of functions, equations, and graphs for middle-school and high-school students.
CK-12 Basic Geometry
Written for the beginner student, this FlexBook provides a clear presentation of the essentials of geometry for the high school student. Topics include Proof, Congruent Triangles, Quadrilaterals, Similarity, Perimeter & Area, Volume, and Transformations.
CK-12 Basic Probability and Statistics
– A Full Course
This FlexBook is an introduction to theoretical probability and data organization. Students learn about events, conditions, random variables, and graphs and tables that allow them to manage data.
CK-12 Algebra I – Second Edition
This FlexBook is a very much improved second edition and provides an introduction to algebraic concepts for the high school student. Topics include: Equations and Functions, Real Numbers, Equations of Lines, Solving Systems of Equations and Quadratic Equations.
CK-12 Geometry – Second Edition
A new second edition, this FlexBook is a clear presentation of the essentials of geometry for the high school student. Topics include: Proofs, Congruent Triangles, Quadrilaterals, Similarity, Perimeter and Area, Volume, and Transformations.
CK-12 Advanced Probability and Statistics – Second Edition
A new and improved second edition FlexBook, Probability and Statistics (Advanced Placement) introduces students to topics in statistics and probability, but finishes with the rigorous topics an advanced placement course requires.
CK-12 Earth Science – High School
A work in progress, CK-12 Earth Science for the high school student covers the study of Earth – its minerals and energy resources, processes inside and on its surface, its past, water, weather and climate, the environment and human actions, and astronomy.
CK-12 Biology
CK-12 Biology is a high school FlexBook covering cell biology, genetics, evolution, ecology, microorganisms, eukaryotes, plants, animals, and physiology – it is a work in progress.
CK-12 Chemistry – Second Edition
A new and improved second edition, this FlexBook covers: Scientific Method; Matter; Atomic Structure; Elements & Their Properties; Chemical Reactions; Stoichiometry; Chemical Kinetics; Physical States of Matter; Thermodynamics; Nuclear Chemistry; and Organic Chemistry.
College Access Readers
CK-12 Foundation and Leadership Public Schools (LPS) have partnered to introduce College Access Readers. CK-12 provides the content and platform for low-cost, mass-customization in textbooks. LPS brings to the table instructional expertise and a real-world incubator for urban education. Together CK-12 and LPS are creating a line of curriculum resources tailored to the most challenging demographic in California and the nation. We call these resources "College Access Readers." Available as a PDF here.


True angels and I cannot recommend them enough.
I never thought it was possible!
I never thought it would have been possible to settle my boy to bed at 7pm and not hear a peep from him until the next morning! We have had a tough time of it since he was born.
I got in touch for the 4 week plan after a friend recommended Gem and Tanya.


Separation of Liability Relief provides for the allocation of additional tax owed between you and your former spouse or your current spouse from whom you are separated when an item was not reported properly on a joint return. The tax allocated to you is the amount for which you are responsible.
Equitable Relief may apply when you do not qualify for innocent spouse relief or separation of liability relief for something not reported properly on a joint return and generally attributable to your spouse. You may also qualify for equitable relief if the amount of tax reported is correct on your joint return but the tax was not paid with the return.
Call Core Tax Solutions at 1-800-959-2671 to see if this is a good option for you.


Sciatic nerve pain can lead to extreme, debilitating discomfort. It affects the nerve that covers the lower back to the back of each leg. Sciatica is not a disorder, per se, rather a symptom of an underlying health issue. Typical lower back problems and leg pain that can trigger sciatica symptoms consist of a lumbar slipped disc, disc degeneration, or spinal stenosis.
Sciatic nerve pain varies from sporadic and bothersome to constant and debilitating. The symptoms are often in line with the area of the pinched nerve. These symptoms may exacerbate during unexpected or sudden movements like sneezing or coughing. While these warning signs can be uncomfortable and possibly weakening, it's uncommon that long-lasting sciatic nerve damage will come about.
Some symptoms are distinctive depending on the root cause of the sciatica pain. For instance, bending the body backward typically causes symptoms when you have spinal stenosis while bending the body forward triggers symptoms if you have a lumbar herniated disc.
· Symptoms that are getting worse fast instead of improving. These signs may point out possible nerve damage, particularly if the intensifying symptoms are neurological.
· Symptoms that stem from both legs or that induce bladder or bowel/urinary incontinence or a changed sensation in the genital area may indicate cauda equina syndrome.
Sciatica pain that is caused by an injury or trauma, or if it evolves together with other unpleasant symptoms like fever or appetite loss, may likewise need an immediate medical care. If you feel that there's a cause for concern, you should get help at once.
Chiropractors treat sciatic nerve pain on a regular basis. In fact, chiropractic manipulation is one of the most common methods of relieving sciatica symptoms. Both spinal adjustments and manual manipulation done by trained health practitioners like a chiropractor are centered on issuing better spine positioning, which is designed to assist in addressing numerous underlying health problems that cause sciatic nerve pain. Chiropractic adjustments can also create improved healing atmosphere. Between the two procedures, it's also less painful.
Chiropractors treat sciatic nerve pain on a regular basis. In fact, the chiropractic adjustment is one of the most common methods for relieving sciatica symptoms. The adjustment is designed to restore proper positioning of the vertebra (bones that compose the spine) in order to remove irritation or pinching of the nerve root where they exit the spine. Chiropractic adjustments can also create improved healing atmosphere by restoring proper function to organs that are controlled by those nerves.


Alternet Systems Inc. (OTCBB:ASYI) announces that it has received an order for fourteen systems as the initial stage of the first phase of the Company's broadband wireless network build-out in Eastern Europe. The fourteen systems include CommunityWeb™, SchoolWeb™ and HealthWeb™ systems, in addition to a dedicated e/pop web conferencing server.
The first phase of the broadband wireless network build-out is for 400 communities in two countries. Each community requires one CommunityWeb and multiple SchoolWeb and HealthWeb systems. The network consists of a combination of fixed wireless towers in conjunction with existing fiber optics and Alternet Systems' network software / server systems.
CommunityWeb is a turnkey ISP system that provides rural and remote communities the ability to run their own high-speed ISP service for residents, schools and businesses.
SchoolWeb is an innovative technology solution that dramatically improves Internet performance at school - even for rural schools with limited bandwidth. SchoolWeb's bandwidth optimization software provides a distinct technological advantage and cost savings for schools.
SchoolWeb Librarian is a virtual internet library that lets a teacher, librarian or school administrator build a library of educational websites and store the library on the local SchoolWeb server, for use by teachers and students.
Not only does SchoolWeb deliver fast Internet access - it comes with a suite of network services specially designed to benefit K-12 schools.
HealthWeb is a high-speed internet solution for the health care industry, designed to improve the speed and quality of health information for the doctor and patient. It also includes HealthWeb Librarian, a virtual internet library for doctors and nurses.
Alternet is also providing the government with e/pop web conferencing, recognized as the most cost-effective, best quality product currently available on the market.
Alternet Systems Inc. provides network and application software systems for broadband wireless networks. The rapid expansion of broadband wireless networks around the world is expected to provide the next billion internet users with broadband access.


text:
Q: How to get 100% CPU usage from a C program This is quite an interesting question so let me set the scene. I work at The National Museum of Computing, and we have just managed to get a Cray Y-MP EL super computer from 1992 running, and we really want to see how fast it can go!
We decided the best way to do this was to write a simple C program that would calculate prime numbers and show how long it took to do so, then run the program on a fast modern desktop PC and compare the results.
We quickly came up with this code to count prime numbers:
#include <stdio.h>
#include <time.h>

void main() {
    clock_t start, end;
    double runTime;
    start = clock();
    int i, num = 1, primes = 0;

    while (num <= 1000) {
        i = 2;
        while (i <= num) {
            if(num % i == 0)
                break;
            i++;
        }
        if (i == num)
            primes++;

        system("clear");
        printf("%d prime numbers calculated\n",primes);
        num++;
    }

    end = clock();
    runTime = (end - start) / (double) CLOCKS_PER_SEC;
    printf("This machine calculated all %d prime numbers under 1000 in %g seconds\n", primes, runTime);
}

Which on our dual core laptop running Ubuntu (The Cray runs UNICOS), worked perfectly, getting 100% CPU usage and taking about 10 minutes or so. When I got home I decided to try it on my hex-core modern gaming PC, and this is where we get our first issues.
I first adapted the code to run on Windows since that is what the gaming PC was using, but was saddened to find that the process was only getting about 15% of the CPU's power. I figured that must be Windows being Windows, so I booted into a Live CD of Ubuntu thinking that Ubuntu would allow the process to run with its full potential as it had done earlier on my laptop.
However I only got 5% usage! So my question is, how can I adapt the program to run on my gaming machine in either Windows 7 or live Linux at 100% CPU utilisation? Another thing that would be great but not necessary is if the end product can be one .exe that could be easily distributed and ran on Windows machines.
Thanks a lot!
P.S. Of course this program didn't really work with the Crays 8 specialist processors, and that is a whole other issue... If you know anything about optimising code to work on 90's Cray super computers give us a shout too!

A: If you want 100% CPU, you need to use more than 1 core. To do that, you need multiple threads.
Here's a parallel version using OpenMP:
I had to increase the limit to 1000000 to make it take more than 1 second on my machine.
#include <stdio.h>
#include <time.h>
#include <omp.h>

int main() {
    double start, end;
    double runTime;
    start = omp_get_wtime();
    int num = 1,primes = 0;

    int limit = 1000000;

#pragma omp parallel for schedule(dynamic) reduction(+ : primes)
    for (num = 1; num <= limit; num++) {
        int i = 2;
        while(i <= num) {
            if(num % i == 0)
                break;
            i++;
        }
        if(i == num)
            primes++;
//      printf("%d prime numbers calculated\n",primes);
    }

    end = omp_get_wtime();
    runTime = end - start;
    printf("This machine calculated all %d prime numbers under %d in %g seconds\n",primes,limit,runTime);

    return 0;
}

Output:

This machine calculated all 78498 prime numbers under 1000000 in 29.753 seconds

Here's your 100% CPU:

A:
we really want to see how fast it can go!

Your algorithm to generate prime numbers is very inefficient. Compare it to primegen that generates the 50847534 primes up to 1000000000 in just 8 seconds on a Pentium II-350.
To consume all CPUs easily you could solve an embarrassingly parallel problem e.g., compute Mandelbrot set or use genetic programming to paint Mona Lisa in multiple threads (processes).
Another approach is to take an existing benchmark program for the Cray supercomputer and port it to a modern PC.

A: The reason you're getting 15% on a hex core processor is because your code uses 1 core at 100%. 100/6 = 16.67%, which using a moving average with process scheduling (your process would be running under normal priority) could easily be reported as 15%.
Therefore, in order to use 100% cpu, you would need to use all the cores of your CPU - launch 6 parallel execution code paths for a hex core CPU and have this scale right up to however many processors your Cray machine has :)

A: Also be very aware how you're loading the CPU. A CPU can do a lot of different tasks, and while many of them will be reported as "loading the CPU 100%" they may each use 100% of different parts of the CPU. In other words, it's very hard to compare two different CPUs for performance, and especially two different CPU architectures. Executing task A may favor one CPU over another, while executing task B it can easily be the other way around (since the two CPUs may have different resources internally and may execute code very differently).
This is the reason software is just as important for making computers perform optimal as hardware is. This is indeed very true for "supercomputers" as well.
One measure for CPU performance could be instructions per second, but then again instructions aren't created equal on different CPU architectures. Another measure could be cache IO performance, but cache infrastructure is not equal either. Then a measure could be number of instructions per watt used, as power delivery and dissipation is often a limiting factor when designing a cluster computer.
So your first question should be: Which performance parameter is important to you? What do you want to measure? If you want to see which machine gets the most FPS out of Quake 4, the answer is easy; your gaming rig will, as the Cray can't run that program at all ;-)
Cheers,
Steen

A: You're running one process on a multi-core machine - so it only runs on one core.
The solution is easy enough, since you're just trying to peg the processor - if you have N cores, run your program N times (in parallel, of course).
Example
Here is some code that runs your program NUM_OF_CORES times in parallel. It's POSIXy code - it uses fork - so you should run that under Linux. If what I'm reading about the Cray is correct, it might be easier to port this code than the OpenMP code in the other answer.
#include <stdio.h>
#include <time.h>
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>

#define NUM_OF_CORES 8
#define MAX_PRIME 100000

void do_primes()
{
    unsigned long i, num, primes = 0;
    for (num = 1; num <= MAX_PRIME; ++num) {
        for (i = 2; (i <= num) && (num % i != 0); ++i);
        if (i == num)
            ++primes;
    }
    printf("Calculated %d primes.\n", primes);
}

int main(int argc, char ** argv)
{
    time_t start, end;
    time_t run_time;
    unsigned long i;
    pid_t pids[NUM_OF_CORES];

    /* start of test */
    start = time(NULL);
    for (i = 0; i < NUM_OF_CORES; ++i) {
        if (!(pids[i] = fork())) {
            do_primes();
            exit(0);
        }
        if (pids[i] < 0) {
            perror("Fork");
            exit(1);
        }
    }
    for (i = 0; i < NUM_OF_CORES; ++i) {
        waitpid(pids[i], NULL, 0);
    }
    end = time(NULL);
    run_time = (end - start);
    printf("This machine calculated all prime numbers under %d %d times "
           "in %d seconds\n", MAX_PRIME, NUM_OF_CORES, run_time);
    return 0;
}

Output
$ ./primes
Calculated 9592 primes.
Calculated 9592 primes.
Calculated 9592 primes.
Calculated 9592 primes.
Calculated 9592 primes.
Calculated 9592 primes.
Calculated 9592 primes.
Calculated 9592 primes.
This machine calculated all prime numbers under 100000 8 times in 8 seconds

A: TLDR;
The accepted answer is both inefficient and incompatible. Following algo works 100x faster.
The gcc compiler available on MAC can't run omp. I had to install llvm (brew install llvm ). But I didn't see CPU idle was going down while running OMP version.
Here is a screenshot while OMP version was running.

Alternatively, I used the basic POSIX thread, that can be run using any c compiler and saw almost entire CPU used up when nos of thread = no of cores = 4 (MacBook Pro, 2.3 GHz Intel Core i5). Here is the programme -
#include <pthread.h>
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#define NUM_THREADS     10
#define THREAD_LOAD 100000
using namespace std;

struct prime_range {
    int min;
    int max;
    int total;
};

void* findPrime(void *threadarg)
{
    int i, primes = 0;
    struct prime_range *this_range;
    this_range = (struct prime_range *) threadarg;

    int minLimit =  this_range -> min ;
    int maxLimit =  this_range -> max ;
    int flag = false;
    while (minLimit <= maxLimit) {
        i = 2;
        int lim = ceil(sqrt(minLimit));
        while (i <= lim) {
            if (minLimit % i == 0){
                flag = true;
                break;
            }
            i++;
        }
        if (!flag){
            primes++;
        }
        flag = false;
        minLimit++;
    }
    this_range ->total = primes;
    pthread_exit(NULL);
}

int main (int argc, char *argv[])
{
    struct timespec start, finish;
    double elapsed;

    clock_gettime(CLOCK_MONOTONIC, &start);

    pthread_t threads[NUM_THREADS];
    struct prime_range pr[NUM_THREADS];
    int rc;
    pthread_attr_t attr;
    void *status;
    pthread_attr_init(&attr);
    pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_JOINABLE);
    for(int t=1; t<= NUM_THREADS; t++){
        pr[t].min = (t-1) * THREAD_LOAD + 1;
        pr[t].max = t*THREAD_LOAD;
        rc = pthread_create(&threads[t], NULL, findPrime,(void *)&pr[t]);
        if (rc){
            printf("ERROR; return code from pthread_create() is %d\n", rc);
            exit(-1);
        }
    }
    int totalPrimesFound = 0;
    // free attribute and wait for the other threads
    pthread_attr_destroy(&attr);
    for(int t=1; t<= NUM_THREADS; t++){
        rc = pthread_join(threads[t], &status);
        if (rc) {
            printf("Error:unable to join, %d" ,rc);
            exit(-1);
        }
        totalPrimesFound += pr[t].total;
    }
    clock_gettime(CLOCK_MONOTONIC, &finish);
    elapsed = (finish.tv_sec - start.tv_sec);
    elapsed += (finish.tv_nsec - start.tv_nsec) / 1000000000.0;
    printf("This machine calculated all %d prime numbers under %d in %lf seconds\n",totalPrimesFound, NUM_THREADS*THREAD_LOAD, elapsed);
    pthread_exit(NULL);
}

Notice how the entire CPU is used up -

P.S. - If you increase no of threads then actual CPU usage go down (Try making no of threads = 20 .) as the system uses more time in context switching than actual computing.
By the way, my machine is not as beefy as @mystical (Accepted answer). But my version with basic POSIX threading works way faster than OMP one. Here is the result -

P.S. Increase threadload to 2.5 million to see CPU usage , as it completes in less than a second.

A: Linux (and other Unix systems) report CPU usage such that a single-threaded process keeping a single CPU core busy is reported as 100%.  This is what you see on your Ubuntu system: the program is always ready to run, and actually running on one core or the other.
On a machine with N cores, with all cores busy Linux/Unix show that as N * 100%, or a load average of N.  (Load average also includes tasks waiting for I/O, or for a CPU to run on, so it can be higher than the number of CPU cores).
e.g. 800% load on a machine with 8 logical cores, whether that's across 4 physical cores with hyperthreading or 8 separate physical cores.

On a Windows machine, all-cores-busy is reported as 100% load.  And the utilization of a single-threaded program maxing out one core is 100% / N, highly inconvenient on a many core machine for seeing if a single-threaded program spends any of its time sleeping or waiting for I/O.

However your OS reports it, to max out all the cores at once, you need to either run N processes, or have a process that starts N threads, or some combination of those.

A: Try to parallelize your program using, e.g., OpenMP. It is a very simple and effective framework for making up parallel programs.

A: For a quick improvement on one core, remove system calls to reduce context-switching. Remove these lines:
system("clear");
printf("%d prime numbers calculated\n",primes);

The first is particularly bad, as it will spawn a new process every iteration.

A: Simply try to Zip and Unzip a big file , nothing as a heavy I/o operations can use cpu.

redpajama_set_name: RedPajamaStackExchange


Unless the aggregation you're applying for is huge, area you are abiding that alone keyword ogous systems can get your resume from the mail box to the HR official's table amuse abstain advertit every distinct programming accent that you've formed with on your resume.
Here's a acceptable archetype of a architecture which provides the key words that Applicant Tracking Systems chase for, at the aforementioned time giving any recruiter a bigger abstraction of how you acclimated anniversary technology at anniversary of your jobs.
A dozen languages listed calm don't accomplish abundant sense.
How can you accomplish it worse? By advertit all the versions of a accent you've used.


What is the benefit of IP-based bird box camera?
The IP-based bird box cameras output pure digital video. You can direct access the bird box camera directly thru mobile phone, laptop, PC without involving any USB video capturing device. After the bird box camera is connected to your home network, you will be able to watch it outside of your home over internet.
How do I setup my bird box camera for mobile phone?
You simply just need to install our free app, scan the QR code on the box. Your bird box camera is ready to go. The app has eliminated the network setting on your router. It can locate your bird box camera with the cloud ID in the internet.
Except for mobile phone watching, what else your bird box camera can deliver?
Our bird box camera delivers 1.3 megapixel HD image. It is around 3-time better image than 700TVL ultra high resolution bird box camera. The WIFI digital signal is not easily get interfere as 2.4Ghz wireless. You can directly record the high-def image to the devices such as smart phone, PC, laptop without involving extra devices.
How can I record the video from bird box camera?
You can simple press the record button on the app, the live stream from bird box camera will be saved to your mobile phone. If you want long term recording the bird box camera, you need to install our free PC software, and record to any of your PC computer or laptop. The wifi bird box camera supports 128G TF memory card, you can simple insert TF memory card which is the same one you use on your mobile phone, the video will be saved to the TF memory card.
Do I need to remove the TF memory card from my bird box camera to view the video?
No, you never need to remove the TF memory card from your bird box camera for viewing the video. The free app or our PC software allows you directly view and download the recording video on the TF memory card.
How can I upload the video from my bird box camera to Youtube?
After you save the live to app of your mobile phone, you still need one step to copy the video files from our App to your mobile phone's memory space. Then you can upload to the Youtube or post to instagram directly. The recording files is .mp4 format which is ready for social media sharing.
Can my friends watch my bird box camera using their mobile phone?
Your friends just need to install same free app. You will have to send them the QR code with the password of your bird box camera. Then your friends can watch the bird box camera on their mobile phone. The bird box camera supports max. 5 users online connecting at the same time.
Do I need power for the wifi bird box camera?
Yes, you always need the power for any bird box camera, no matter wifi or wireless bird box camera. We don't recommend you use the battery solution, change the battery could force the bird leave the bird box. It is illegal to tap the bird box if there's bird inside in UK. The WIFI bird box camera eliminates wiring the cable back to your home network. You can get DC12V power outside such as the backyard.
How do I know the wifi coverage is good enough for your wifi bird box camera?
Bring your mobile phone to the wifi bird box camera installation position, check the signal strength, if the wifi signal always stay good rather than poor, it is ready for wifi bird box camera, otherwise, you may need to relocate your wifi router or add an wifi extender to boost up the signal around the bird box camera.
How to maintain the bird box camera?
We advised you remove and store your bird box camera while it is not in use. If you want to clean the lens, use 75% alcohol and follow this instruction to clean the lens of bird box camera.


text:
The Perils of Workers' Comp for Injured Cirque du Soleil Performers
Natasha Hallett was a longtime performer at Cirque du Soleil, playing a key role in the circus giant's La Nouba show in Orlando, Fla. Then she made a mistake.
Ms. Hallett says she forgot to put a double loop through her harness for a flying trick, and a colleague didn't notice the oversight during a safety check. She tumbled about 40 feet to the stage during a Cirque performance, shattering 19 bones from the waist down. "Like a horse that broke its leg, once you are injured you are pretty much no good for them anymore," Ms. Hallett said.


text:
Q: React Rails components won't work Rails 5.2.4 I installed react-rails since I want to use rails on my Rails 5.2.4 application.
When I installed it, I basically got the following order on my app/javascripts/ directory:
components [directory]
---.keep file
packs [directory]
---applicationCache.js
---hello_react.jsx
---server_rendering.jsx

Inside my components directory I've added a file called appointments.jsx inside app\javascripts\components\' which I link to my Appointments controller and views via<%= react_component 'Appointments' %>here is the content of theappointments.jsx` file:
const Appointments = () => {
    return (

Hello Appointments

    );
};

Since I already link this to my index view via <%= react_component 'Appointments' %>  I expected this to display an h1 tag with the text Hello Appointments on it on my root (i already set this up on my routes.rb file) instead I got the ff errors on my console:
Hello World from Webpacker
fromRequireContextWithGlobalFallback.js:21 Error: Cannot find module './Appointments'
    at webpackContextResolve (.*$:13)
    at webpackContext (.*$:8)
    at fromRequireContext.js:13
    at Object.getConstructor (fromRequireContextWithGlobalFallback.js:15)
    at Object.mountComponents (index.js:89)
    at HTMLDocument../node_modules/react_ujs/react_ujs/index.js.ReactRailsUJS.handleMount (index.js:149)
    at Object.e.dispatch (turbolinks.self-569ee74eaa15c1e2019317ff770b8769b1ec033a0f572a485f64c82ddc8f989e.js?body=1:6)
    at r.notifyApplicationAfterPageLoad (turbolinks.self-569ee74eaa15c1e2019317ff770b8769b1ec033a0f572a485f64c82ddc8f989e.js?body=1:7)
    at r.pageLoaded (turbolinks.self-569ee74eaa15c1e2019317ff770b8769b1ec033a0f572a485f64c82ddc8f989e.js?body=1:7)
    at turbolinks.self-569ee74eaa15c1e2019317ff770b8769b1ec033a0f572a485f64c82ddc8f989e.js?body=1:6
(anonymous) @ fromRequireContextWithGlobalFallback.js:21
mountComponents @ index.js:89
./node_modules/react_ujs/react_ujs/index.js.ReactRailsUJS.handleMount @ index.js:149
e.dispatch @ turbolinks.self-569ee74eaa15c1e2019317ff770b8769b1ec033a0f572a485f64c82ddc8f989e.js?body=1:6
r.notifyApplicationAfterPageLoad @ turbolinks.self-569ee74eaa15c1e2019317ff770b8769b1ec033a0f572a485f64c82ddc8f989e.js?body=1:7
r.pageLoaded @ turbolinks.self-569ee74eaa15c1e2019317ff770b8769b1ec033a0f572a485f64c82ddc8f989e.js?body=1:7
(anonymous) @ turbolinks.self-569ee74eaa15c1e2019317ff770b8769b1ec033a0f572a485f64c82ddc8f989e.js?body=1:6
fromRequireContextWithGlobalFallback.js:22 ReferenceError: Appointments is not defined
    at eval (eval at ./node_modules/react_ujs/react_ujs/src/getConstructor/fromGlobal.js.module.exports (fromGlobal.js:12), <anonymous>:1:1)
    at ./node_modules/react_ujs/react_ujs/src/getConstructor/fromGlobal.js.module.exports (fromGlobal.js:12)
    at Object.getConstructor (fromRequireContextWithGlobalFallback.js:19)
    at Object.mountComponents (index.js:89)
    at HTMLDocument../node_modules/react_ujs/react_ujs/index.js.ReactRailsUJS.handleMount (index.js:149)
    at Object.e.dispatch (turbolinks.self-569ee74eaa15c1e2019317ff770b8769b1ec033a0f572a485f64c82ddc8f989e.js?body=1:6)
    at r.notifyApplicationAfterPageLoad (turbolinks.self-569ee74eaa15c1e2019317ff770b8769b1ec033a0f572a485f64c82ddc8f989e.js?body=1:7)
    at r.pageLoaded (turbolinks.self-569ee74eaa15c1e2019317ff770b8769b1ec033a0f572a485f64c82ddc8f989e.js?body=1:7)
    at turbolinks.self-569ee74eaa15c1e2019317ff770b8769b1ec033a0f572a485f64c82ddc8f989e.js?body=1:6
(anonymous) @ fromRequireContextWithGlobalFallback.js:22
mountComponents @ index.js:89
./node_modules/react_ujs/react_ujs/index.js.ReactRailsUJS.handleMount @ index.js:149
e.dispatch @ turbolinks.self-569ee74eaa15c1e2019317ff770b8769b1ec033a0f572a485f64c82ddc8f989e.js?body=1:6
r.notifyApplicationAfterPageLoad @ turbolinks.self-569ee74eaa15c1e2019317ff770b8769b1ec033a0f572a485f64c82ddc8f989e.js?body=1:7
r.pageLoaded @ turbolinks.self-569ee74eaa15c1e2019317ff770b8769b1ec033a0f572a485f64c82ddc8f989e.js?body=1:7
(anonymous) @ turbolinks.self-569ee74eaa15c1e2019317ff770b8769b1ec033a0f572a485f64c82ddc8f989e.js?body=1:6
index.js:100 [react-rails] Cannot find component: 'Appointments' for element

index.js:103 Uncaught Error: Cannot find component: 'Appointments'. Make sure your component is available to render.
    at Object.mountComponents (index.js:103)
    at HTMLDocument../node_modules/react_ujs/react_ujs/index.js.ReactRailsUJS.handleMount (index.js:149)
    at Object.e.dispatch (turbolinks.self-569ee74eaa15c1e2019317ff770b8769b1ec033a0f572a485f64c82ddc8f989e.js?body=1:6)
    at r.notifyApplicationAfterPageLoad (turbolinks.self-569ee74eaa15c1e2019317ff770b8769b1ec033a0f572a485f64c82ddc8f989e.js?body=1:7)
    at r.pageLoaded (turbolinks.self-569ee74eaa15c1e2019317ff770b8769b1ec033a0f572a485f64c82ddc8f989e.js?body=1:7)
    at turbolinks.self-569ee74eaa15c1e2019317ff770b8769b1ec033a0f572a485f64c82ddc8f989e.js?body=1:6
mountComponents @ index.js:103
./node_modules/react_ujs/react_ujs/index.js.ReactRailsUJS.handleMount @ index.js:149
e.dispatch @ turbolinks.self-569ee74eaa15c1e2019317ff770b8769b1ec033a0f572a485f64c82ddc8f989e.js?body=1:6
r.notifyApplicationAfterPageLoad @ turbolinks.self-569ee74eaa15c1e2019317ff770b8769b1ec033a0f572a485f64c82ddc8f989e.js?body=1:7
r.pageLoaded @ turbolinks.self-569ee74eaa15c1e2019317ff770b8769b1ec033a0f572a485f64c82ddc8f989e.js?body=1:7
(anonymous) @ turbolinks.self-569ee74eaa15c1e2019317ff770b8769b1ec033a0f572a485f64c82ddc8f989e.js?body=1:6

For the record here's the content of my application.js file under app/packs/ directory:
console.log('Hello World from Webpacker')
// Support component names relative to this directory:
var componentRequireContext = require.context("components", true);
var ReactRailsUJS = require("react_ujs");
ReactRailsUJS.useContext(componentRequireContext);

Any idea what am I doing wrong here? Why does the text not showing up on view?

A: Did you export your component? I.e. export default Appointments;.
Also it could be a case sensitivity issue, i.e. you are calling it with upper case react_component 'Appointments' and have appointments.jsx.