By: Ricky Hazel, Associate AD

Pitching Goes From Strength to Question

Replacing Hale Behind the Plate Also Key

No Strangers in the 2019 Lineup

DH Role Open For Competition

Schedule Choked Full of Challenges

The 2018 Stetson baseball season went down in Hatters history for many reasons and will be remembered fondly for years to come.Despite all of the great things that team accomplished, and there were many, those accomplishments will have exactly zero impact on what the 2019 Stetson baseball team accomplishes.The only thing that carries over from last year to this spring are the expectations. Those have only grown in the shadow of a 48-13 season, ASUN regular season and tournament titles, an NCAA Regional title and all of the individual honors that came as a result."We are not going to sneak up on anyone this year," Hatters coach, who enters his third season at Stetson in 2019, said. "We have addressed that with the team. We have lot of guys back from that team, and we believe we have more depth and some very good arms on the mound, but this is a new day and a new season. You have to try to one-up what you did and prove it again."The fact that Stetson lost six players to the MLB draft, plus another that signed to play professionally, obviously carries more weight to folks voting on preseason polls than the large number of starters the Hatters return from 2018. Of the everyday lineup from 2018, the only positions that will have new starters this year are catcher and designated hitter. The other seven spots will be manned by returning players who were key parts of the 18-game win streak that was a highlight from 2018.After finishing among the top 10 to 15 in every major poll to end 2018, the Hatters have barely been a blip on the preseason radar."That is OK because the preseason polls don't mean much," Trimper said. "Maybe that gives us a little chip on our shoulders again. It's all about 'what have you done lately.'"The 2019 Hatters will have plenty of chances to earn their stripes on the field, just as the 2018 team did. The schedule is more difficult with national power Texas Tech on the road, a neutral site game against Michigan as well as home games against perennial NCAA tournament teams like Sam Houston State, Saint Louis and Yale joining with the regular cast of non-conference foes such as South Florida, Florida State, FIU, Bethune-Cookman and UCF.The ASUN race will also be tougher with a veteran Jacksonville club back from an at-large NCAA selection, a FGCU team looking to bounce back from a bad finish and with new ASUN members Liberty and North Alabama adding to the league's depth."Last year our league was ranked as high as sixth in the country, and that is big," Trimper said. "When you look at the leagues in front of us, it was all Power Five conferences. Adding Liberty, which may be fighting for the league title in year one, and a North Alabama program that was very successful in Division II, only helps our league."But the thing the 2019 team has to remember, and it was something the 2018 squad did very well, is to play the game the right way every day."We try to play the game as hard as we can every day," Trimper said. "You have to have that mind-set, no matter who the opponent is. If you go in with a different attitude when it is Florida State versus when it is Manhattan, you run into trouble quick. You just execute the baseball plays that you practice and you practice them well. When you put them into the games, good things will happen if you limit the mistakes."First in the nation in earned run average. First in the nation in strikeouts. Two-time ASUN Pitcher of the Year. NCAA leader in both strikeouts and saves. Five pitchers selected in the MLB Draft.There is no question that, for Stetson, 2018 was the year of the pitcher, and the players weren't the only ones who collected hardware. Pitching coachwas also a unanimous selection as the Division I Pitching Coach of the Year.The question for 2019 is what can the Hatters do for an encore? Gone are three of the four primary starters, the best closer in the country and the primary setup man. That group accounted for 71 percent of the innings pitched and more than 73 percent of the strikeouts accumulated in 2018.But that doesn't mean the cupboard is bare. Far from it.The focus for the Hatters during the preseason has been on junior left-hander, who was second on the club with 114 strikeouts while posting a 9-2 record and a 2.51 ERA. His sophomore season included a no-hitter, a complete game shutout in the ASUN Tournament championship game and three ASUN Pitcher of the Week awards.His post-season included a term with the USA Baseball Collegiate National team and eight innings in a combined no-hitter as a member of the Orleans Firebirds in the Cape Cod League. His preseason has included numerous preseason All-America honors and selection to the preseason Golden Spikes Award watch list.While he was a big part of the 2018 staff, Senger is the man in 2019. He is the ace, a team captain and a guy the rest of the pitching staff will look to. There is only one other pitcher on the staff with as many as 20 innings of work in Division I, junior right-hander, who had a total of 5.1 innings of game action last year."Coach Therneau does such a great job of developing these guys on the mound, but a big part of what he does is mental, being able to handle tough situations," Trimper said. "We try to prepare these guys for what is to come. There is failure coming. There will be bad starts and strikeouts. There will be lost games and errors coming, so we try to prepare for when those failures happen to not let them snowball into something bigger."For Senger, performance on the mound in his start each Friday is just part of his job."Mitch has been a pretty vocal leader with the pitching staff, but that is a challenge for him," Trimper said. "He has to look out for his own career and his own season while looking ahead to becoming a professional with scouts looking at everything he does. He also has to manage having a bigger role as a team leader. There are challenges he will have to tackle to deal with the organized chaos because he is going to have so many balls in the air."Beyond Senger, the pitching staff will have a lot more moving pieces this year. There are a total of 17 pitchers on the roster for 2019, including junior, who will also start in left field and hit in the middle of the batting order. All 17 guys will have opportunities to contribute this spring, meaning Therneau will have a bigger challenge every day."Last year there was a set rotation, a closer and some bullpen guys," Trimper said. "There were not a lot of moves to make. It was pretty easy to coach. There will be a lot more pieces to the puzzle and a lot more moves to make this year. We are going to have to figure things out quickly, but I don't want to rush into it and just throw guys out there to see if they can make it in these roles."The first piece of the puzzle is the starting rotation. Behind Senger the Hatters have sophomore, a former North Carolina signee who played the 2018 season at the State College of Florida in Manatee. A hard-throwing right-hander from New Jersey, Peto was brought in specifically to replaceas a power right-hander at the front of the rotation.The third weekend spot, as well as the all-important job of mid-week starter that launched the star ofand was a key to the Hatters rising to as high as No. 4 in the RPI last year, are up for grabs. Returnees like seniorand sophomorewill compete with freshmenandwithand sophomoresandwaiting in the wings."You hope those guys can make the same kind of progression this year thatandboth made in their second season and Mitchell made last year," Trimper said. "They are all a year older and a year better. You hope that you get the same kinds of stories from those guys this year that you got from Logan and Jack."Once the rotation is settled, then the rest of the roles on the pitching staff can fall into place. Replacingat the back end of games is obviously a priority, but the Hatters will likely have a closer by committee, at least early in the year.Wood, Nunez and Garcia are all candidates to pitch at the end of games, as is freshmanand sophomore left-hander, a transfer from Miami-Dade College."I want to get through the first week of the season, the first four games, then pump the brakes a little to evaluate before we start the next series," Trimper said. "For a freshman, closing games takes such a toll on the body. We like Neilan in that role, but we will have to see if he can handle the kind of work load that Brooks did last year."Other hurlers on the 2019 staff looking to solidify roles include junior, and freshmenandWith the sheer number of pitchers at his disposal, Therneau will likely be able to play matchups more often during the 2019 season. For certain, fans will need a scorecard to know who the Hatters have on the mound almost every day.While the cast of characters on the mound for Stetson in 2019 will be vastly different, the player who will call the pitches will also be new.was a three-year starter for the Hatters, but his collegiate career is over. In his place, sophomorewill likely get most of the work with junior, who returned to the Stetson program after two years away, along with sophomoreserving in a backup role."Yes, we lost, butmay be just as good defensively," Trimper said. "Cardi got some good innings last year, and he got to learn behind Austin. That is going to be big for our program and those guys are going to have to improve as they go along."To me, the catching position is the most important on the field. I don't care if the catcher hits .100, he has to be a defensive mainstay, and we feel good about the guys we have."Therneau believes in allowing the catchers to call pitches in order to control the tempo of the game. Trimper said all of the work Cardieri and Martin got last year catching in the bullpen helped the returning hurlers develop confidence in their abilities."Cardi got some playing time last year, but he was also the guy down in the pen catching those guys every day," Trimper said. "He is a very smart player, very intelligent, and he knows how to work a guy. He does an extremely good job with the scouting reports, and Dave does a great job with those guys on the mental side of things."Fans who saw the Hatters play more than a handful of games in 2018 will know all of the names in the 2019 lineup. The outfield trio of seniorand juniorsandreturns as does the quartet of infielders, led by seniorat third base, junior captainat short and sophomoresat second andat first.Add in senior, who can play second base or shortstop, and the Hatters have a solid core group of returners."I think that is our strength," Trimper said of the returning lineup. "Last year, we were hoping to hit .260 and score four runs a game, but this is a more veteran team. Guys came back a year older and a year better. Physically, they are a lot bigger and have better legs. I am not talking about stealing bases, I am talking about going from first to third, advancing on a ball in the dirt, the little things."They are also very good defensively. They get to ground balls better and get into better position to throw. There are a lot of things with the physicality of the game, and that also comes with experience."To aid a pitching staff that led the nation in strikeouts and ERA, the Hatters also broke the modern program record with a .975 fielding percentage last year. Both Koos and Meola made appearances on ESPN's SportsCenter Top 10 for defensive plays, Arenas is sure handed at short and the corner outfielders – Bogart and MacNeil – cover ground like center fielders, and have very strong arms."They are all great defenders who throw well," Trimper said of his outfield trio. "Koos will be at the top of the lineup, even though he showed he is able to slide to the three hole, as he did last year when we needed more offense. MacNeil is healthy and has a chance to be one of our best hitters and Bogey will hit in the three hole."Following the three outfielders at the top of the order, Foggo will slide into the cleanup sport after a freshman season that saw him go from little playing time early, to ASUN Tournament MVP."He is a good example of how difficult it is to be a high-impact player right away as a freshman," Trimper said. "He is going to have to be able to outwit his opponents because they are going to know how to pitch him better this year. He has to work on staying focused because he puts a lot of pressure on himself. We are working on getting him to relax, go pitch-to-pitch, and deal with his failures and successes in a good way."The second base position was a revolving door in 2018 with Ball, Martin andall taking turns at the position. By the end of the year, Ball had taken control of the job, and will enter 2019 as the starter."Obviously defense is always going to be a big part of our team, but we want some production from that spot," Trimper said. "Kyle was a little lost early, but grew into a starter on a regional champion. Right now, he has been one of our better hitters in the fall and has really stepped up his defense. I'd probably give the nod to him, but those guys are going to have to hit to stay in the lineup."For Meola and Arenas on the left side, defense is not in doubt. Both will be looked to for more offensive production this year and work they put in during the off season should lead to that result."They are both very good defensive guys, just stellar," Trimper said. "John revamped his swing and is more upright so that he can make better contact and not hit as many pop ups. We have seen some good improvements there."With Jorge, we recognized that he likes the high pitch, but he has to learn how to lay off that pitch. His swing, if you look at the videos, is built more for the low part of the zone. We need him to attack that lowest part of the zone and stay off those pitches that are high. He is a very good low ball hitter."Replacing the John Olerud Award winner in the designated hitter role for Stetson is going to be a challenge in the best of circumstances.became the anchor in the middle of the Hatters' batting order last year, earning ASUN Player of the Year honors in addition to being named Most Outstanding Player of the NCAA Regional at Melching Field.The expectation was that freshman, a big (6-foot-7) left-handed power-hitting freshman from New Jersey, would get a lot of the at bats that Wilson took last year. That changed the first week of February when Hylton went down with a season-ending knee injury.While it is impossible to know what impact Hylton's loss will have on the Hatters, it opens the door for competition for those at bats. Senior, who opened the 2018 season as the starter at first base, will be in the mix along with a group of freshmen that will start withandand may also include outfieldersandalong with catcher. Varela could also be in the mix.Doskow will likely get the first chance at the job, and he will also get some time at first base, giving Foggo some turns at DH. Townsend is a switch-hitter who can play second, third and in the outfield. Dilbert, a speedster, and Dickerson, a highly touted prospect that turned down significant money from the Cincinnati Reds, who were likely to find at bats in the outfield hard to find, could get some turns as well.The other options, catchers Varela and, are both more offensive minded players. Steinhart was not likely to see playing time behind the plate this year while continuing to recover from an arm injury, but showed in the fall he has the ability to swing the bat.From the very start, the 2019 Hatters will be challenged. The opening weekend includes a team from the ACC, Virginia Tech, and two perennial conference title contenders in Sam Houston State and Manhattan in the RyCass Classic.The first weekend of March brings the Westin Lake Mary Stetson Invitational with three more foes – Georgetown from the Big East, Saint Louis from the Atlantic 10 and Sacred Heart from the Northeast Conference – that are regular challengers for conference titles and NCAA bids.Stetson will host a Maryland team from the Big Ten that was one of just three teams to beat the Hatters twice last year the next weekend before Ivy League power Yale visits for a three-game series.Then comes the trip to Texas Tech that will include two games against the Red Raiders and one against another Big Ten team, Michigan.The Hatters will open ASUN play the weekend of March 29-31 at North Alabama. Stetson also travel for series at Liberty, Lipscomb and Jacksonville while hosting series against NJIT, Kennesaw State, FGCU and North Florida.The midweek schedule includes home-and-home series against UCF, USF, Bethune-Cookman, FIU and Florida State."At the end of the day, we are excited about our club and the conference we are in," Trimper said. "We hope we can live up to the potential we see, but we also want Jacksonville to win a lot of games, and we want FGCU to win. I would love to see four teams from our league in the NCAA Tournament, and I think that is possible."If the Hatters, who were picked to win the 2019 ASUN title by the league's coaches, have the kind of success they expect, then they will get to host at least one extra weekend of play when the ASUN Tournament returns to Melching Field for the 12time."We have to play well enough to make the tournament because you never know how seasons are going to go," Trimper said. "Having the home field advantage and knowing how to play well here and win here, if we do what we are supposed to do, is great."We have goals of winning the conference championship, and we are not going to sit here and hide from that. If we do the things we are supposed to, then we are going to be excited to play in front of our home crowd for another weekend."Stetson University's Athletics Program has a vision of developing a culture of champions athletically, academically and within the community. This vision is accomplished through a mission of recruiting and developing student-athletes, coaches and staff, creating a culture of champions, within and outside of competition. The department operates with five core values: Championship Culture, Integrity, Excellence, Pride/Tradition and Leadership. To learn more about the Vision, Mission and Core Values for Stetson Athletics, visit GoHatters.com and click on Mission Statement under the Inside Athletics tab.


Q:

Node exports MySQL Pool Cluster

I'm new to node and I'm trying to use a MySQL pool cluster in but I'm not exactly sure how to export it.
At the moment I have the following in /libs/mysql.js:
poolCluster.add('db1', {
    host: config.databases.hostname,
    user: config.databases.db1.username,
    password: config.databases.db1.password,
    database: config.databases.db1.database,
    connectionLimit: config.databases.connectionLimit
});

poolCluster.add('db2', {
    host: config.databases.hostname,
    user: config.databases.db2.username,
    password: config.databases.db2.password,
    database: config.databases.db2.database,
    connectionLimit: config.databases.connectionLimit
});

module.exports = {
    getConnection: (callback) => {
        return poolCluster.getConnection(callback);
    }
};

I'm trying to use it in models/monitor.js as below:
let poolCluster = require('../libs/mysql');
let moment = require('moment');

exports.select = function (sql, values, callback) {
    poolCluster.getConnection('db1', (err, connection) => {
        if (err) {
            callback(err);
        } else {
            connection.query(sql, values, (err, result) => {
                connection.release();
                if (err) {
                    console.log(err);
                    callback(err);
                } else {
                    callback(null, result)
                }
            })
        }
    })
};

The issue now is I'm getting an error stating cb is not a function.
Is this the correct way to export a mysql pool cluster in node?

A:

You are exporting as getConnection: (callback) => {} but you are calling the same function with getConnection(string, callback).
According to the doc:
You can call getConnection like:
// Target Group : ALL(anonymous, MASTER, SLAVE1-2), Selector : round-robin(default)
poolCluster.getConnection(function (err, connection) {});

// Target Group : MASTER, Selector : round-robin
poolCluster.getConnection('MASTER', function (err, connection) {});

So, basically you need to pass the arguments you are getting from YOUR getConnection function to mysql's getConnection function. So this should do the trick:
module.exports = {
    getConnection: (...args) => {
        return poolCluster.getConnection(...args);
    }
};


Heads of state, Nobel laureates, titans of business. Sure, lots of famous and interesting people visit Harvard’s campus all the time. But none of them generate quite the sensation — or the declarations of love — that superstar Rihanna set off on Tuesday afternoon.

The pop singer received the Harvard Foundation’s Peter J. Gomes Humanitarian Award during an hourlong ceremony before a raucous crowd that had waited hours to get a coveted seat inside jam-packed Sanders Theatre.

“I’m incredibly humbled to be acknowledged at this magnitude for something that, in truth, I never wanted thanking for,” said Rihanna during brief remarks that were frequently interrupted by squeals and cheers.

A native of Barbados, Rihanna has leveraged her global celebrity and used her impressive social media following to shine a bright light on the challenges many in the Caribbean still face gaining access to education and health care. She has raised millions for a number of causes.

In Barbados, she supported the modernization of the Queen Elizabeth Hospital’s new cutting-edge facility for treating breast cancer, a disease that took her grandmother, and launched a scholarship program in 2012 to help college students from the Caribbean further their studies in the United States.

The eight-time Grammy winner also serves as a worldwide ambassador for the Global Partnership for Education and the Global Citizen Project, which help provide learning opportunities for girls in developing nations, and have teamed up with other charitable group, including UNICEF, H&M, and Mac Cosmetics, to raise money for women and children affected by AIDS.

“We are all human and we all just want a chance: a chance at life, a chance at an education, a chance at a future,” Rihanna said. Noting that fame and fortune are not necessary to change a life, she challenged College students to use their education, their skills, and their good fortune to lift up someone else or contribute to an organization that helps others.

“As I stare into this beautiful room, I see optimism, I see hope, I see the future,” she said. “I know that each and every one of you can help someone else. All you need to do is help one person, expecting nothing in return. To me, that is a humanitarian.”

Dean Rakesh Khurana noted that Rihanna’s widespread popularity attracts the kind of diversity the College strives to achieve. “As you can see from our students, that by drawing on our mission — our commitment to freedom, to pluralism — that we can create … a model of respectful, mutual relationships that bring together our diverse community, where our diversity comes to be seen as a source of infinite possibility,” he said.

Through her “unapologetic” music and fashion, Rihanna “symbolizes an alternative, liberated social system in which women can own their own desires and feel no responsibility to anyone’s expectations other than their own,” said Doni Lehman ’17, a Harvard Foundation intern and one of three College students who paid tribute to the singer. As a trailblazer, she “provides a much-needed supplement to traditional white feminism” and through her own power helps “other women realize their own.”

After a couple of hit singles, Rihanna (born Robyn Rihanna Fenty) exploded onto the music scene in 2007 as a young protégée of rap mogul Jay-Z on their can’t-get-it-out-of-your-head collaboration, “Umbrella.” Since then, the 29-year-old has racked up 13 more No. 1 hits that move easily between reggae, R&B, rap, and electronic dance music.

The beloved Rev. Professor Peter J. Gomes died in 2011. The award named in his honor recognizes distinguished leaders who have made important public service contributions globally, who exemplify “compassionate humanitarianism,” and who embody the Harvard Foundation’s ethos of improving and promoting racial, ethnic and cultural awareness and understanding. Past honorees include 2014 Nobel Peace Prize winner Malala Yousafzai, actor James Earl Jones, and Arthur Ashe, the late tennis star and AIDS activist.


Posts Tagged ‘chic’

Experienced Travellers watch the whirl of life around them. Though I’m not a fashionista, here are a few observations about what people are wearing – and buying in Paris.

Everyone carefully orchestrates their clothing, shoes and makeup, even to run the shortest errand. It is a matter of national pride that the ensemble is right – whether it’s understated elegance or chic grunge.

Count the coats in this picture. It was in the high 60s and yet the coat is paramount.

Jackets and coats – preferably leather – come out immediately following the rentree in September. And wool scarves by early October. No matter that the sun is blazing and it’s 75 degrees, the coat and scarf make a statement to the world, and they are mandatory attire.

The legs matter!

Stockings and tights were a prominent accoutrement. Ladies of every age and build made the most of them. They were often the only splash of color or design. And I saw lots of black tights under knee-length jersey tops finished off with a sporting pair of boots. Lots and lots of boots on the streets…

They are all made for walkin' - and showing off those hose

What amazes me is the number of small, independent clothing shops featuring one or two designers, particularly in the Marais and around the Place St. Germain. Each shop has a unique style and the clothing is paired with jewelry, handbags and accessories. It’s a “one stop outfit” in an artisinal style. ETs like this strategy because it gets you to the cafe faster.

That certain "je ne sais quois"

I loved this twirling shoe diplay in the Marais. Gentlemen if you’re in the market for a red shoe with a chunky heel, there are plenty in stock.

Red shoes at morning / sailors take warning

Any style works, as long as it’s well-executed. In this case, if you’re got it; flaunt it. Jacket. Boots. Handbag. It’s all there.

Retro works!

So how do ETs decide what to pack for Paris? They are resigned to the truth. They’ll never look like French ladies, so comfort is paramount, and black is best. But that doesn’t mean a girl can’t shop for a dishy new jacket and top while she’s in Paris. Besides, it’s research for the blog.

If Foucault were alive today, he would be studying the physics of platform stillettos on cobbled streets. And he’d be a happier man for it!

No matter what they wear, or what they're doing, Parisienne women are chic


Let's bring back the freshness of your Curtains and Drapes with Lotus Cleaning

We are the best and the most reliable dry cleaning company offering all types of domestic and commercial curtain dry cleaning services. At Lotus Cleaning AreaName, we understand that your curtains matters a lot to your house or office and we are committed to ensure that your curtains remain looking new and in their original form.

We understand that the beauty of your windows depend on the cleanliness of your curtains. Unlike other dry cleaning companies in Australia, we are committed to 100% customer satisfaction and money comes last. We treat our customers like family and we expect them to pay when they are completely satisfied. You can request for a refund anytime you are unsatisfied with our services.

Curtain Dry Cleaning Nudgee Beach

Curtain Dry cleaning is the most effective way to rid your curtains of accumulated dust, dirt and allergens. Whether it's a single pair of curtains or elaborate swags and tails, we have the expertise to restore them to their former glory.

Our Professional Curtain Cleaners offers the best curtain cleaning service that removes the microscopic particles to create a healthier and cleaner environment. We dry clean your curtains according to their specific care label instructions and hand finish them, giving you the best results possible.

Dry powder or a professional solved is applied to the item and carefully rubbed in with rotating brushes. It effectively loosens the accumulated dust and deodorise the piece. At the end of curtain cleaning, it is thoroughly vacuum cleaned to removes all substances and dirt.

Benefits of Curtain Dry Cleaning Nudgee Beach

There are many benefits to sending your curtains for dry cleaning services. Firstly, as previously mentioned, dry cleaning your curtains help to preserve the quality of the curtain, and to allow it to have a longer lifespan. It also prevents shrinkage and the formations of wrinkles on the curtains compared to the outcome when using the washing machines and dryers. Other than that, the solvent used in dry cleaning acts as a powerful reagent which is able to remove any stubborn or tough stains which might have stained the curtains and it is also able to remove moulds or fungus growth and bad odour as well. All these will ensure that your curtains are sparkling clean. Also, this will prolong the lifespan of your curtains and you will be able to use them for a longer period of time.

Despite the apparent benefits of pursuing the curtain dry cleaning services available throughout Nudgee Beach, most households do not really send their curtains for dry cleaning and instead option to clean them mainly through the washing machines. The main reason is the cost is simply not worth it. Some people do not think it is worth it to dry clean due to its high cost. Ultimately, it is up to you to weigh and compare the advantages and disadvantages of it.

Curtain Laundry Nudgee Beach

We offer the quality Curtain laundry cleaning service to both commercial and domestic customers. Why not try our Professional Curtain Cleaners laundry service, for a perfectly clean and crease free finish without the hassle


Solar Systems: Clean Energy for the Tansa Valley

Commitment by

The PRASAD Project

In 2013, The PRASAD Project committed to providing clean, sustainable, and reliable energy to PRASAD Chikitsa's medical facilities in the Tansa Valley, India. Working in partnership with SELCO Solar, PRASAD will install solar systems on health care centers that provide more than 20,000 patient visits a year. In support of this project, PRASAD Chikitsa will engage in training local women to maintain the systems and educate the community on the benefits of clean energy.

Share

Tabs

Commitment

Launched

2013

Est. Duration

4 years

Estimated Total Value

$30,000

Region

Asia

Countries

INDIA

Commitment by

The PRASAD Project

Partner(s) of the Commitment Maker(s)

Selco Solar Light Pvt. Ltd.

Details

APPROACH
The goal of this project is to provide clean, reliable, and affordable energy to PRASAD Chikitsa's office and medical facilities in the Tansa Valley in India. Through this commitment, The PRASAD Project will sponsor:
- Installation of solar energy systems dedicated to the PRASAD Chikitsa's health care buildings and main office.
- Training of the local women, currently organized in PRASAD Chikitsa's Self Help Groups (SHGs), to maintain the solar panels and promote solar systems.
- Education of the community on the importance of using clean energy.
To achieve this goal, The PRASAD Project will support PRASAD Chikitsa in taking the following actions:
- Conducting an analysis of the needs of PRASAD Chikitsa's health care buildings with regard to their energy requirements.
- Conducting research to find the solar system model that best fits the needs of the buildings.
- Developing and conducting a training program with local women who will maintain the solar panels and promote solar product.
- Developing and introducing an Environmental Education Program to share with the community that will teach the value of solar energy.
- Documenting best-practice examples of the use of solar energy and the role of women in the maintenance of solar systems in order to potentially replicate this project in another community.
Engagement with local women through SHGs will ensure critical buy-in at the community level and could open the door to bringing solar energy more broadly in to the local community. These small SHGs, with 10 to 20 members each, will serve as micro-banks and provide members with an organized forum to improve the quality of their own lives and the lives of those around them. The training of the women will be conducted by SELCO Solar and overseen by PRASAD Chikitsa.
ACTION PLAN
Currently ongoing: Research and planning
March 2013: Final agreements with contractors
April/May 2013: Solar system installation
July 2013: Identification and training of women
2013/2014 academic year: Launch of Environmental Education Program

Background

In 2012, the New York Times reported that 400 million Indians lacked access to basic lighting, while 200 million more lacked access to reliable energy supply and regularly suffered from brownouts that last up to 19 hours. Power shortages in India affect more people than the population of all of North America.
PRASAD Chikitsa, a licensee of The PRASAD Project, runs medical facilities in the Tansa Valley in India. These facilities are affected by this lack of reliable, clean, and affordable energy on a day to day basis. Consequently, the medical facilities are forced to depend on diesel generators that create pollution in the community and are costly to maintain.

Partnership Opportunities

PRASAD is seeking new partners to provide solar products at a price that will meet the needs of the people in the Tansa Valley in India; partners with expertise and experience in solar systems capable to support high voltage medical equipment; and funding to sponsor the installation of solar energy systems and to promote it in the community.

Progress Reports

March 2016

In 2013, the solar systems were installed according to the timeframe. During a visit to India in March 2014, it was seen in the administrative office that the solar panels had been installed, but in each room there were just tiny solar lamps, having no impact. In September 2014, SELCO reinstalled the solar system at the administrative offices. It now functions quite well, providing sufficient light and strong fan power. The system is reliable and has not experienced any malfunctions since the reinstallation.

The needs of the medical facilities will need to be reassessed with another solar vendor that could provide a system capable of supporting high voltage medical equipment.

An important part of the commitment is to bring solar energy more broadly into the local community. Bringing in solar energy is challenging, because illegal usage of electricity is seen as an acceptable alternative for the communities with no access to basic infrastructure. This goal is not yet accomplished but PRASAD is committed to working on it.

In 2014 PRASAD and SELCO Solar conducted a survey in the villages in the Tansa Valley. The results of the survey were reported to SELCO, but the company was unwilling to provide a competitive price and attractive package for the villages. SELCO's inability to continue working with this commitment has led the two organizations to part ways. Currently PRASAD Chikitsa is exploring working with other solar vendors that might be able to offer a better package to the people in the area.

Engaging women in the maintenance of the panels and the promotion of solar products can certainly be done, once specific steps regarding working with these villages are discussed with a vendor. PRASAD Chikitsa would be willing to promote solar products to be sold and maintained by the women, but the solar vendor will need to play a larger role in training the women and providing samples.


Esther 9

Esther 9New King James Version (NKJV)

The Jews Destroy Their Tormentors

9 Now in the twelfth month, that is, the month of Adar, on the thirteenth day, the time came for the king’s command and his decree to be executed. On the day that the enemies of the Jews had hoped to overpower them, the opposite occurred, in that the Jews themselves overpowered those who hated them. 2 The Jews gathered together in their cities throughout all the provinces of King Ahasuerus to lay hands on those who sought their harm. And no one could withstand them, because fear of them fell upon all people. 3 And all the officials of the provinces, the satraps, the governors, and all those doing the king’s work, helped the Jews, because the fear of Mordecai fell upon them. 4 For Mordecai was great in the king’s palace, and his fame spread throughout all the provinces; for this man Mordecai became increasingly prominent. 5 Thus the Jews defeated all their enemies with the stroke of the sword, with slaughter and destruction, and did what they pleased with those who hated them.

6 And in Shushan the citadel the Jews killed and destroyed five hundred men. 7 Also Parshandatha, Dalphon, Aspatha, 8 Poratha, Adalia, Aridatha, 9 Parmashta, Arisai, Aridai, and Vajezatha— 10 the ten sons of Haman the son of Hammedatha, the enemy of the Jews—they killed; but they did not lay a hand on the plunder.

11 On that day the number of those who were killed in Shushan the citadel was brought to the king. 12 And the king said to Queen Esther, “The Jews have killed and destroyed five hundred men in Shushan the citadel, and the ten sons of Haman. What have they done in the rest of the king’s provinces? Now what is your petition? It shall be granted to you. Or what is your further request? It shall be done.”

13 Then Esther said, “If it pleases the king, let it be granted to the Jews who are in Shushan to do again tomorrow according to today’s decree, and let Haman’s ten sons be hanged on the gallows.”

14 So the king commanded this to be done; the decree was issued in Shushan, and they hanged Haman’s ten sons.

15 And the Jews who were in Shushan gathered together again on the fourteenth day of the month of Adar and killed three hundred men at Shushan; but they did not lay a hand on the plunder.

16 The remainder of the Jews in the king’s provinces gathered together and protected their lives, had rest from their enemies, and killed seventy-five thousand of their enemies; but they did not lay a hand on the plunder. 17 This was on the thirteenth day of the month of Adar. And on the fourteenth of the month[a] they rested and made it a day of feasting and gladness.

The Feast of Purim

18 But the Jews who were at Shushan assembled together on the thirteenth day, as well as on the fourteenth; and on the fifteenth of the month[b] they rested, and made it a day of feasting and gladness. 19 Therefore the Jews of the villages who dwelt in the unwalled towns celebrated the fourteenth day of the month of Adar with gladness and feasting, as a holiday, and for sending presents to one another.

20 And Mordecai wrote these things and sent letters to all the Jews, near and far, who were in all the provinces of King Ahasuerus, 21 to establish among them that they should celebrate yearly the fourteenth and fifteenth days of the month of Adar, 22 as the days on which the Jews had rest from their enemies, as the month which was turned from sorrow to joy for them, and from mourning to a holiday; that they should make them days of feasting and joy, of sending presents to one another and gifts to the poor. 23 So the Jews accepted the custom which they had begun, as Mordecai had written to them, 24 because Haman, the son of Hammedatha the Agagite, the enemy of all the Jews, had plotted against the Jews to annihilate them, and had cast Pur (that is, the lot), to consume them and destroy them; 25 but when Esther[c] came before the king, he commanded by letter that this[d] wicked plot which Haman had devised against the Jews should return on his own head, and that he and his sons should be hanged on the gallows.

26 So they called these days Purim, after the name Pur. Therefore, because of all the words of this letter, what they had seen concerning this matter, and what had happened to them, 27 the Jews established and imposed it upon themselves and their descendants and all who would join them, that without fail they should celebrate these two days every year, according to the written instructions and according to the prescribed time, 28 that these days should be remembered and kept throughout every generation, every family, every province, and every city, that these days of Purim should not fail to be observed among the Jews, and that the memory of them should not perish among their descendants.

29 Then Queen Esther, the daughter of Abihail, with Mordecai the Jew, wrote with full authority to confirm this second letter about Purim. 30 And Mordecai sent letters to all the Jews, to the one hundred and twenty-seven provinces of the kingdom of Ahasuerus, with words of peace and truth, 31 to confirm these days of Purim at their appointed time, as Mordecai the Jew and Queen Esther had prescribed for them, and as they had decreed for themselves and their descendants concerning matters of their fasting and lamenting. 32 So the decree of Esther confirmed these matters of Purim, and it was written in the book.

You'll get this book and many others when you join Bible Gateway Plus. Learn more

You must be logged in to view your newly purchased content. Please log in below or if you don't have an account, creating one is easy and only takes a few moments. After you log in your content will be available in your library.

Share

Step 1 - Create an account or log in to start your free trial.

Starting your free trial of Bible Gateway Plus is easy. You’re already logged in with your Bible Gateway account. The next step is to enter your payment information. Your credit card won’t be charged until the trial period is over. You can cancel anytime during the trial period.

Upgrade to the best value in online Bible study

Bible Gateway Plus equips you to answer the toughest questions about faith, God, and the Bible. There's no software to install; it's all integrated seamlessly into your Bible Gateway experience. Try it free for 30 days!


Pages

Friday, October 9, 2009

Tollhouse Cafe Visit is Yummy

In my state capital, where I do not live so I don't visit that all, Sisters and Brothers, there is the Circle Centre Mall, which I was less impressed with than I was hoping. Four small stories isn't so impressive after all. But I did find a new place I've never seen before: A Nestle Tollhouse Cafe. It is right next to a Häagen-Dazs cafe run by the same manager who along with his assistant were very helpful to me if a bit perplexed that the Chocolate Priestess wanted to know what their most chocolaty treat was.

They suggested this, the Brownie Button, so the person I as in the mall with, the White Chocolate Acolyte, bought me one. It is a large brownie with frosting and a small Tollhouse cookie. If you are familar with the baking chips, you know that Tollhouse has a recipe for their cookies and this gives it a distinctive taste.

The brownie is chewy with the right level of moisture and firmness. The frosting melted on my fingers and in my mouth. Along with the added light crunch of the cookie and it's own flavors, this was a very enjoyable treat that was warm as though it has recently come out of the oven. Overall after three bites I was building up a dual cocoa and sugar rush that gave me a kick of energy to go walking around the mall for the next 90 minutes looking for anything interesting.

I'll talk next week about what else I found in the Circle Centre Mall in Indianapolis in terms of chocolate. For now, Sisters and Brothers, may you too take the time to slowly appreciate what the Divine and human ingenuity have offered you in chocolate.

1 comment:

Next time you're here in the capital city, you should visit the Chocolate Cafe. It's just a block away from the mall and a very nice place to visit. A few weeks before C'mas, Mate and I go downtown to see all the holiday displays and then end the evening at the Cafe with a cup of cocoa. Yum!

Top 50 Chocolate Blogs

Copyright Notice

All the works, written and photographic on this blog, The Chocolate Cult, emails or posting relating to it, and letters concerning it, are the intellectual property of TammyJo Eckhart, PhD, with or without the "PhD" on her name, unless otherwise stated in the post itself. Do not use any words or photos without written permission.


/******************************************************************************
 *
 * This file is provided under a dual BSD/GPLv2 license.  When using or
 * redistributing this file, you may do so under either license.
 *
 * GPL LICENSE SUMMARY
 *
 * Copyright(c) 2012 - 2013 Intel Corporation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of version 2 of the GNU General Public License as
 * published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110,
 * USA
 *
 * The full GNU General Public License is included in this distribution
 * in the file called COPYING.
 *
 * Contact Information:
 *  Intel Linux Wireless <ilw@linux.intel.com>
 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
 *
 * BSD LICENSE
 *
 * Copyright(c) 2012 - 2013 Intel Corporation. All rights reserved.
 * All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 *
 *  * Redistributions of source code must retain the above copyright
 *    notice, this list of conditions and the following disclaimer.
 *  * Redistributions in binary form must reproduce the above copyright
 *    notice, this list of conditions and the following disclaimer in
 *    the documentation and/or other materials provided with the
 *    distribution.
 *  * Neither the name Intel Corporation nor the names of its
 *    contributors may be used to endorse or promote products derived
 *    from this software without specific prior written permission.
 *
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 *
 *****************************************************************************/

#ifndef __fw_api_scan_h__
#define __fw_api_scan_h__

#include "fw-api.h"

/* Scan Commands, Responses, Notifications */

/* Masks for iwl_scan_channel.type flags */
#define SCAN_CHANNEL_TYPE_ACTIVE	BIT(0)
#define SCAN_CHANNEL_NARROW_BAND	BIT(22)

/* Max number of IEs for direct SSID scans in a command */
#define PROBE_OPTION_MAX		20

/**
 * struct iwl_scan_channel - entry in REPLY_SCAN_CMD channel table
 * @channel: band is selected by iwl_scan_cmd "flags" field
 * @tx_gain: gain for analog radio
 * @dsp_atten: gain for DSP
 * @active_dwell: dwell time for active scan in TU, typically 5-50
 * @passive_dwell: dwell time for passive scan in TU, typically 20-500
 * @type: type is broken down to these bits:
 *	bit 0: 0 = passive, 1 = active
 *	bits 1-20: SSID direct bit map. If any of these bits is set then
 *		the corresponding SSID IE is transmitted in probe request
 *		(bit i adds IE in position i to the probe request)
 *	bit 22: channel width, 0 = regular, 1 = TGj narrow channel
 *
 * @iteration_count:
 * @iteration_interval:
 * This struct is used once for each channel in the scan list.
 * Each channel can independently select:
 * 1)  SSID for directed active scans
 * 2)  Txpower setting (for rate specified within Tx command)
 * 3)  How long to stay on-channel (behavior may be modified by quiet_time,
 *     quiet_plcp_th, good_CRC_th)
 *
 * To avoid uCode errors, make sure the following are true (see comments
 * under struct iwl_scan_cmd about max_out_time and quiet_time):
 * 1)  If using passive_dwell (i.e. passive_dwell != 0):
 *     active_dwell <= passive_dwell (< max_out_time if max_out_time != 0)
 * 2)  quiet_time <= active_dwell
 * 3)  If restricting off-channel time (i.e. max_out_time !=0):
 *     passive_dwell < max_out_time
 *     active_dwell < max_out_time
 */
struct iwl_scan_channel {
	__le32 type;
	__le16 channel;
	__le16 iteration_count;
	__le32 iteration_interval;
	__le16 active_dwell;
	__le16 passive_dwell;
} __packed; /* SCAN_CHANNEL_CONTROL_API_S_VER_1 */

/**
 * struct iwl_ssid_ie - directed scan network information element
 *
 * Up to 20 of these may appear in REPLY_SCAN_CMD,
 * selected by "type" bit field in struct iwl_scan_channel;
 * each channel may select different ssids from among the 20 entries.
 * SSID IEs get transmitted in reverse order of entry.
 */
struct iwl_ssid_ie {
	u8 id;
	u8 len;
	u8 ssid[IEEE80211_MAX_SSID_LEN];
} __packed; /* SCAN_DIRECT_SSID_IE_API_S_VER_1 */

/**
 * iwl_scan_flags - masks for scan command flags
 *@SCAN_FLAGS_PERIODIC_SCAN:
 *@SCAN_FLAGS_P2P_PUBLIC_ACTION_FRAME_TX:
 *@SCAN_FLAGS_DELAYED_SCAN_LOWBAND:
 *@SCAN_FLAGS_DELAYED_SCAN_HIGHBAND:
 *@SCAN_FLAGS_FRAGMENTED_SCAN:
 */
enum iwl_scan_flags {
	SCAN_FLAGS_PERIODIC_SCAN		= BIT(0),
	SCAN_FLAGS_P2P_PUBLIC_ACTION_FRAME_TX	= BIT(1),
	SCAN_FLAGS_DELAYED_SCAN_LOWBAND		= BIT(2),
	SCAN_FLAGS_DELAYED_SCAN_HIGHBAND	= BIT(3),
	SCAN_FLAGS_FRAGMENTED_SCAN		= BIT(4),
};

/**
 * enum iwl_scan_type - Scan types for scan command
 * @SCAN_TYPE_FORCED:
 * @SCAN_TYPE_BACKGROUND:
 * @SCAN_TYPE_OS:
 * @SCAN_TYPE_ROAMING:
 * @SCAN_TYPE_ACTION:
 * @SCAN_TYPE_DISCOVERY:
 * @SCAN_TYPE_DISCOVERY_FORCED:
 */
enum iwl_scan_type {
	SCAN_TYPE_FORCED		= 0,
	SCAN_TYPE_BACKGROUND		= 1,
	SCAN_TYPE_OS			= 2,
	SCAN_TYPE_ROAMING		= 3,
	SCAN_TYPE_ACTION		= 4,
	SCAN_TYPE_DISCOVERY		= 5,
	SCAN_TYPE_DISCOVERY_FORCED	= 6,
}; /* SCAN_ACTIVITY_TYPE_E_VER_1 */

/* Maximal number of channels to scan */
#define MAX_NUM_SCAN_CHANNELS 0x24

/**
 * struct iwl_scan_cmd - scan request command
 * ( SCAN_REQUEST_CMD = 0x80 )
 * @len: command length in bytes
 * @scan_flags: scan flags from SCAN_FLAGS_*
 * @channel_count: num of channels in channel list (1 - MAX_NUM_SCAN_CHANNELS)
 * @quiet_time: in msecs, dwell this time for active scan on quiet channels
 * @quiet_plcp_th: quiet PLCP threshold (channel is quiet if less than
 *	this number of packets were received (typically 1)
 * @passive2active: is auto switching from passive to active allowed (0 or 1)
 * @rxchain_sel_flags: RXON_RX_CHAIN_*
 * @max_out_time: in usecs, max out of serving channel time
 * @suspend_time: how long to pause scan when returning to service channel:
 *	bits 0-19: beacon interal in usecs (suspend before executing)
 *	bits 20-23: reserved
 *	bits 24-31: number of beacons (suspend between channels)
 * @rxon_flags: RXON_FLG_*
 * @filter_flags: RXON_FILTER_*
 * @tx_cmd: for active scans (zero for passive), w/o payload,
 *	no RS so specify TX rate
 * @direct_scan: direct scan SSIDs
 * @type: one of SCAN_TYPE_*
 * @repeats: how many time to repeat the scan
 */
struct iwl_scan_cmd {
	__le16 len;
	u8 scan_flags;
	u8 channel_count;
	__le16 quiet_time;
	__le16 quiet_plcp_th;
	__le16 passive2active;
	__le16 rxchain_sel_flags;
	__le32 max_out_time;
	__le32 suspend_time;
	/* RX_ON_FLAGS_API_S_VER_1 */
	__le32 rxon_flags;
	__le32 filter_flags;
	struct iwl_tx_cmd tx_cmd;
	struct iwl_ssid_ie direct_scan[PROBE_OPTION_MAX];
	__le32 type;
	__le32 repeats;

	/*
	 * Probe request frame, followed by channel list.
	 *
	 * Size of probe request frame is specified by byte count in tx_cmd.
	 * Channel list follows immediately after probe request frame.
	 * Number of channels in list is specified by channel_count.
	 * Each channel in list is of type:
	 *
	 * struct iwl_scan_channel channels[0];
	 *
	 * NOTE:  Only one band of channels can be scanned per pass.  You
	 * must not mix 2.4GHz channels and 5.2GHz channels, and you must wait
	 * for one scan to complete (i.e. receive SCAN_COMPLETE_NOTIFICATION)
	 * before requesting another scan.
	 */
	u8 data[0];
} __packed; /* SCAN_REQUEST_FIXED_PART_API_S_VER_5 */

/* Response to scan request contains only status with one of these values */
#define SCAN_RESPONSE_OK	0x1
#define SCAN_RESPONSE_ERROR	0x2

/*
 * SCAN_ABORT_CMD = 0x81
 * When scan abort is requested, the command has no fields except the common
 * header. The response contains only a status with one of these values.
 */
#define SCAN_ABORT_POSSIBLE	0x1
#define SCAN_ABORT_IGNORED	0x2 /* no pending scans */

/* TODO: complete documentation */
#define  SCAN_OWNER_STATUS 0x1
#define  MEASURE_OWNER_STATUS 0x2

/**
 * struct iwl_scan_start_notif - notifies start of scan in the device
 * ( SCAN_START_NOTIFICATION = 0x82 )
 * @tsf_low: TSF timer (lower half) in usecs
 * @tsf_high: TSF timer (higher half) in usecs
 * @beacon_timer: structured as follows:
 *	bits 0:19 - beacon interval in usecs
 *	bits 20:23 - reserved (0)
 *	bits 24:31 - number of beacons
 * @channel: which channel is scanned
 * @band: 0 for 5.2 GHz, 1 for 2.4 GHz
 * @status: one of *_OWNER_STATUS
 */
struct iwl_scan_start_notif {
	__le32 tsf_low;
	__le32 tsf_high;
	__le32 beacon_timer;
	u8 channel;
	u8 band;
	u8 reserved[2];
	__le32 status;
} __packed; /* SCAN_START_NTF_API_S_VER_1 */

/* scan results probe_status first bit indicates success */
#define SCAN_PROBE_STATUS_OK		0
#define SCAN_PROBE_STATUS_TX_FAILED	BIT(0)
/* error statuses combined with TX_FAILED */
#define SCAN_PROBE_STATUS_FAIL_TTL	BIT(1)
#define SCAN_PROBE_STATUS_FAIL_BT	BIT(2)

/* How many statistics are gathered for each channel */
#define SCAN_RESULTS_STATISTICS 1

/**
 * enum iwl_scan_complete_status - status codes for scan complete notifications
 * @SCAN_COMP_STATUS_OK:  scan completed successfully
 * @SCAN_COMP_STATUS_ABORT: scan was aborted by user
 * @SCAN_COMP_STATUS_ERR_SLEEP: sending null sleep packet failed
 * @SCAN_COMP_STATUS_ERR_CHAN_TIMEOUT: timeout before channel is ready
 * @SCAN_COMP_STATUS_ERR_PROBE: sending probe request failed
 * @SCAN_COMP_STATUS_ERR_WAKEUP: sending null wakeup packet failed
 * @SCAN_COMP_STATUS_ERR_ANTENNAS: invalid antennas chosen at scan command
 * @SCAN_COMP_STATUS_ERR_INTERNAL: internal error caused scan abort
 * @SCAN_COMP_STATUS_ERR_COEX: medium was lost ot WiMax
 * @SCAN_COMP_STATUS_P2P_ACTION_OK: P2P public action frame TX was successful
 *	(not an error!)
 * @SCAN_COMP_STATUS_ITERATION_END: indicates end of one repeatition the driver
 *	asked for
 * @SCAN_COMP_STATUS_ERR_ALLOC_TE: scan could not allocate time events
*/
enum iwl_scan_complete_status {
	SCAN_COMP_STATUS_OK = 0x1,
	SCAN_COMP_STATUS_ABORT = 0x2,
	SCAN_COMP_STATUS_ERR_SLEEP = 0x3,
	SCAN_COMP_STATUS_ERR_CHAN_TIMEOUT = 0x4,
	SCAN_COMP_STATUS_ERR_PROBE = 0x5,
	SCAN_COMP_STATUS_ERR_WAKEUP = 0x6,
	SCAN_COMP_STATUS_ERR_ANTENNAS = 0x7,
	SCAN_COMP_STATUS_ERR_INTERNAL = 0x8,
	SCAN_COMP_STATUS_ERR_COEX = 0x9,
	SCAN_COMP_STATUS_P2P_ACTION_OK = 0xA,
	SCAN_COMP_STATUS_ITERATION_END = 0x0B,
	SCAN_COMP_STATUS_ERR_ALLOC_TE = 0x0C,
};

/**
 * struct iwl_scan_results_notif - scan results for one channel
 * ( SCAN_RESULTS_NOTIFICATION = 0x83 )
 * @channel: which channel the results are from
 * @band: 0 for 5.2 GHz, 1 for 2.4 GHz
 * @probe_status: SCAN_PROBE_STATUS_*, indicates success of probe request
 * @num_probe_not_sent: # of request that weren't sent due to not enough time
 * @duration: duration spent in channel, in usecs
 * @statistics: statistics gathered for this channel
 */
struct iwl_scan_results_notif {
	u8 channel;
	u8 band;
	u8 probe_status;
	u8 num_probe_not_sent;
	__le32 duration;
	__le32 statistics[SCAN_RESULTS_STATISTICS];
} __packed; /* SCAN_RESULT_NTF_API_S_VER_2 */

/**
 * struct iwl_scan_complete_notif - notifies end of scanning (all channels)
 * ( SCAN_COMPLETE_NOTIFICATION = 0x84 )
 * @scanned_channels: number of channels scanned (and number of valid results)
 * @status: one of SCAN_COMP_STATUS_*
 * @bt_status: BT on/off status
 * @last_channel: last channel that was scanned
 * @tsf_low: TSF timer (lower half) in usecs
 * @tsf_high: TSF timer (higher half) in usecs
 * @results: all scan results, only "scanned_channels" of them are valid
 */
struct iwl_scan_complete_notif {
	u8 scanned_channels;
	u8 status;
	u8 bt_status;
	u8 last_channel;
	__le32 tsf_low;
	__le32 tsf_high;
	struct iwl_scan_results_notif results[MAX_NUM_SCAN_CHANNELS];
} __packed; /* SCAN_COMPLETE_NTF_API_S_VER_2 */

/* scan offload */
#define IWL_MAX_SCAN_CHANNELS		40
#define IWL_SCAN_MAX_BLACKLIST_LEN	64
#define IWL_SCAN_MAX_PROFILES		11
#define SCAN_OFFLOAD_PROBE_REQ_SIZE	512

/* Default watchdog (in MS) for scheduled scan iteration */
#define IWL_SCHED_SCAN_WATCHDOG cpu_to_le16(15000)

#define IWL_GOOD_CRC_TH_DEFAULT cpu_to_le16(1)
#define CAN_ABORT_STATUS 1

#define IWL_FULL_SCAN_MULTIPLIER 5
#define IWL_FAST_SCHED_SCAN_ITERATIONS 3

/**
 * struct iwl_scan_offload_cmd - SCAN_REQUEST_FIXED_PART_API_S_VER_6
 * @scan_flags:		see enum iwl_scan_flags
 * @channel_count:	channels in channel list
 * @quiet_time:		dwell time, in milisiconds, on quiet channel
 * @quiet_plcp_th:	quiet channel num of packets threshold
 * @good_CRC_th:	passive to active promotion threshold
 * @rx_chain:		RXON rx chain.
 * @max_out_time:	max uSec to be out of assoceated channel
 * @suspend_time:	pause scan this long when returning to service channel
 * @flags:		RXON flags
 * @filter_flags:	RXONfilter
 * @tx_cmd:		tx command for active scan; for 2GHz and for 5GHz.
 * @direct_scan:	list of SSIDs for directed active scan
 * @scan_type:		see enum iwl_scan_type.
 * @rep_count:		repetition count for each scheduled scan iteration.
 */
struct iwl_scan_offload_cmd {
	__le16 len;
	u8 scan_flags;
	u8 channel_count;
	__le16 quiet_time;
	__le16 quiet_plcp_th;
	__le16 good_CRC_th;
	__le16 rx_chain;
	__le32 max_out_time;
	__le32 suspend_time;
	/* RX_ON_FLAGS_API_S_VER_1 */
	__le32 flags;
	__le32 filter_flags;
	struct iwl_tx_cmd tx_cmd[2];
	/* SCAN_DIRECT_SSID_IE_API_S_VER_1 */
	struct iwl_ssid_ie direct_scan[PROBE_OPTION_MAX];
	__le32 scan_type;
	__le32 rep_count;
} __packed;

enum iwl_scan_offload_channel_flags {
	IWL_SCAN_OFFLOAD_CHANNEL_ACTIVE		= BIT(0),
	IWL_SCAN_OFFLOAD_CHANNEL_NARROW		= BIT(22),
	IWL_SCAN_OFFLOAD_CHANNEL_FULL		= BIT(24),
	IWL_SCAN_OFFLOAD_CHANNEL_PARTIAL	= BIT(25),
};

/**
 * iwl_scan_channel_cfg - SCAN_CHANNEL_CFG_S
 * @type:		bitmap - see enum iwl_scan_offload_channel_flags.
 *			0:	passive (0) or active (1) scan.
 *			1-20:	directed scan to i'th ssid.
 *			22:	channel width configuation - 1 for narrow.
 *			24:	full scan.
 *			25:	partial scan.
 * @channel_number:	channel number 1-13 etc.
 * @iter_count:		repetition count for the channel.
 * @iter_interval:	interval between two innteration on one channel.
 * @dwell_time:	entry 0 - active scan, entry 1 - passive scan.
 */
struct iwl_scan_channel_cfg {
	__le32 type[IWL_MAX_SCAN_CHANNELS];
	__le16 channel_number[IWL_MAX_SCAN_CHANNELS];
	__le16 iter_count[IWL_MAX_SCAN_CHANNELS];
	__le32 iter_interval[IWL_MAX_SCAN_CHANNELS];
	u8 dwell_time[IWL_MAX_SCAN_CHANNELS][2];
} __packed;

/**
 * iwl_scan_offload_cfg - SCAN_OFFLOAD_CONFIG_API_S
 * @scan_cmd:		scan command fixed part
 * @channel_cfg:	scan channel configuration
 * @data:		probe request frames (one per band)
 */
struct iwl_scan_offload_cfg {
	struct iwl_scan_offload_cmd scan_cmd;
	struct iwl_scan_channel_cfg channel_cfg;
	u8 data[0];
} __packed;

/**
 * iwl_scan_offload_blacklist - SCAN_OFFLOAD_BLACKLIST_S
 * @ssid:		MAC address to filter out
 * @reported_rssi:	AP rssi reported to the host
 */
struct iwl_scan_offload_blacklist {
	u8 ssid[ETH_ALEN];
	u8 reported_rssi;
	u8 reserved;
} __packed;

enum iwl_scan_offload_network_type {
	IWL_NETWORK_TYPE_BSS	= 1,
	IWL_NETWORK_TYPE_IBSS	= 2,
	IWL_NETWORK_TYPE_ANY	= 3,
};

enum iwl_scan_offload_band_selection {
	IWL_SCAN_OFFLOAD_SELECT_2_4	= 0x4,
	IWL_SCAN_OFFLOAD_SELECT_5_2	= 0x8,
	IWL_SCAN_OFFLOAD_SELECT_ANY	= 0xc,
};

/**
 * iwl_scan_offload_profile - SCAN_OFFLOAD_PROFILE_S
 * @ssid_index:		index to ssid list in fixed part
 * @unicast_cipher:	encryption olgorithm to match - bitmap
 * @aut_alg:		authentication olgorithm to match - bitmap
 * @network_type:	enum iwl_scan_offload_network_type
 * @band_selection:	enum iwl_scan_offload_band_selection
 */
struct iwl_scan_offload_profile {
	u8 ssid_index;
	u8 unicast_cipher;
	u8 auth_alg;
	u8 network_type;
	u8 band_selection;
	u8 reserved[3];
} __packed;

/**
 * iwl_scan_offload_profile_cfg - SCAN_OFFLOAD_PROFILES_CFG_API_S_VER_1
 * @blaclist:		AP list to filter off from scan results
 * @profiles:		profiles to search for match
 * @blacklist_len:	length of blacklist
 * @num_profiles:	num of profiles in the list
 */
struct iwl_scan_offload_profile_cfg {
	struct iwl_scan_offload_blacklist blacklist[IWL_SCAN_MAX_BLACKLIST_LEN];
	struct iwl_scan_offload_profile profiles[IWL_SCAN_MAX_PROFILES];
	u8 blacklist_len;
	u8 num_profiles;
	u8 reserved[2];
} __packed;

/**
 * iwl_scan_offload_schedule - schedule of scan offload
 * @delay:		delay between iterations, in seconds.
 * @iterations:		num of scan iterations
 * @full_scan_mul:	number of partial scans before each full scan
 */
struct iwl_scan_offload_schedule {
	u16 delay;
	u8 iterations;
	u8 full_scan_mul;
} __packed;

/*
 * iwl_scan_offload_flags
 *
 * IWL_SCAN_OFFLOAD_FLAG_FILTER_SSID: filter mode - upload every beacon or match
 *	ssid list.
 * IWL_SCAN_OFFLOAD_FLAG_CACHED_CHANNEL: add cached channels to partial scan.
 * IWL_SCAN_OFFLOAD_FLAG_ENERGY_SCAN: use energy based scan before partial scan
 *	on A band.
 */
enum iwl_scan_offload_flags {
	IWL_SCAN_OFFLOAD_FLAG_FILTER_SSID	= BIT(0),
	IWL_SCAN_OFFLOAD_FLAG_CACHED_CHANNEL	= BIT(2),
	IWL_SCAN_OFFLOAD_FLAG_ENERGY_SCAN	= BIT(3),
};

/**
 * iwl_scan_offload_req - scan offload request command
 * @flags:		bitmap - enum iwl_scan_offload_flags.
 * @watchdog:		maximum scan duration in TU.
 * @delay:		delay in seconds before first iteration.
 * @schedule_line:	scan offload schedule, for fast and regular scan.
 */
struct iwl_scan_offload_req {
	__le16 flags;
	__le16 watchdog;
	__le16 delay;
	__le16 reserved;
	struct iwl_scan_offload_schedule schedule_line[2];
} __packed;

enum iwl_scan_offload_compleate_status {
	IWL_SCAN_OFFLOAD_COMPLETED	= 1,
	IWL_SCAN_OFFLOAD_ABORTED	= 2,
};

/**
 * iwl_scan_offload_complete - SCAN_OFFLOAD_COMPLETE_NTF_API_S_VER_1
 * @last_schedule_line:		last schedule line executed (fast or regular)
 * @last_schedule_iteration:	last scan iteration executed before scan abort
 * @status:			enum iwl_scan_offload_compleate_status
 */
struct iwl_scan_offload_complete {
	u8 last_schedule_line;
	u8 last_schedule_iteration;
	u8 status;
	u8 reserved;
} __packed;

#endif


Shop Favors By:

Personalized Candy & Mint Tin Party Favor Gifts

One of our most popular personalized wedding favors, these mint tins are available in hundreds of design and color options. You can choose either unfilled mint or candy tins in things like damask or cherry blossom patterns or filled mint tins that come in just about every color and theme you can imagine. The filled tins are available in 6 tin colors, 2 sizes, and have 4 filling choices - candy mints, breath mints, candy tarts, or gum. With so many great options, the hardest part will be choosing how to customize your personalized mint tin favors!


Q:

Override border CSS into individual borders under Custom CSS in WordPress?

As far as I know, I can only disable a CSS property by overriding them under Custom CSS. The current CSS border is,
.pewc-column-wrapper .pewc-checkbox-image-wrapper {
    border: 4px solid transparent;
}

I want to remove the border property and replace it with individual top, right, bottom ones. The below doesn't work. Any other ideas?
.pewc-column-wrapper .pewc-checkbox-image-wrapper {
    border-top: 4px solid transparent !important;
    border-right: 4px solid transparent !important;
    border-bottom: 4px solid transparent !important;
}

A:

Try below.
.pewc-column-wrapper .pewc-checkbox-image-wrapper {
    border-top: 4px solid transparent !important;
    border-right: 4px solid transparent !important;
    border-bottom: 4px solid transparent !important;
    border-left: 0px solid transparent !important;
}

Or try replacing border with padding. Like below.
.pewc-column-wrapper .pewc-checkbox-image-wrapper {
    border: 0px solid transparent;
    padding: 1px 1px 1px 0px;
}


        SUPREME COURT OF THE STATE OF NEW YORK
           Appellate Division, Fourth Judicial Department

384
KA 13-01138
PRESENT: CENTRA, J.P., PERADOTTO, CARNI, CURRAN, AND TROUTMAN, JJ.

THE PEOPLE OF THE STATE OF NEW YORK, RESPONDENT,

                    V                              MEMORANDUM AND ORDER

BERNARD J. BUTLER, ALSO KNOWN AS BERNARD FAULKS,
DEFENDANT-APPELLANT.

BRIDGET L. FIELD, ROCHESTER, FOR DEFENDANT-APPELLANT.

SANDRA DOORLEY, DISTRICT ATTORNEY, ROCHESTER (LEAH R. MERVINE OF
COUNSEL), FOR RESPONDENT.

     Appeal from a judgment of the Supreme Court, Monroe County (Alex
R. Renzi, J.), rendered May 22, 2013. The judgment convicted
defendant, upon a jury verdict, of criminal possession of a weapon in
the second degree (two counts) and assault in the second degree.

     It is hereby ORDERED that the judgment so appealed from is
affirmed.

     Memorandum: Defendant appeals from a judgment convicting him
upon a jury verdict of two counts of criminal possession of a weapon
in the second degree (Penal Law § 265.03 [1] [b]; [3]) and one count
of assault in the second degree (§ 120.05 [2]). Defendant’s
conviction stems from his conduct in shooting the victim, striking him
in the buttocks. Defendant contends that the evidence is legally
insufficient to establish that he was the shooter, that the weapon was
operable, and that the victim sustained a physical injury. We reject
those contentions. Two eyewitnesses identified defendant as the
shooter and described the gun. Two cartridge cases were found at the
scene, and the People’s expert testified that they came from one
firearm. That evidence is sufficient to establish defendant’s
identity and the operability of the firearm (see People v Ciola, 136
AD2d 557, 557, lv denied 71 NY2d 893). Although there were minor
inconsistencies in the testimony of the eyewitnesses, those
inconsistencies do not render their testimony incredible as a matter
of law (see People v Harris, 56 AD3d 1267, 1268, lv denied 11 NY3d
925). The People further established, through the testimony of the
People’s witnesses and the victim’s medical records, that the victim
sustained a physical injury inasmuch as he experienced “substantial
pain” from the gunshot (People v West, 129 AD3d 1629, 1631, lv
denied 26 NY3d 972; see People v Chiddick, 8 NY3d 445, 447). Viewing
the evidence in light of the elements of the crimes as charged to the
jury (see People v Danielson, 9 NY3d 342, 349), we reject defendant’s
                                 -2-                           384
                                                         KA 13-01138

further contention that the verdict is against the weight of the
evidence (see generally People v Bleakley, 69 NY2d 490, 495).

     We reject defendant’s contention that the photo arrays were
unduly suggestive and thus that Supreme Court erred in refusing to
suppress the identification testimony (see generally People v Chipp,
75 NY2d 327, 335, cert denied 498 US 833). All of the men in the
photo arrays were of similar complexion, had similar haircuts and
facial hair, and had a teardrop tattoo underneath the left eye, which
was either computer-generated or drawn in ink. The fact that
defendant was the only one wearing a hooded sweatshirt is of no moment
considering that each man was wearing unique clothing. While the
background of defendant’s photograph was darker than that of the other
photographs, we conclude that “[t]he composition and presentation of
the photo array[s] were such that there was no reasonable possibility
that the attention of the witness[es] would be drawn to defendant as
the suspect chosen by the police” (People v Sylvester, 32 AD3d 1226,
1227, lv denied 7 NY3d 929; see People v Boria, 279 AD2d 585, 586, lv
denied 96 NY2d 781; People v Floyd, 173 AD2d 211, 212, lv denied 78
NY2d 966).

     Contrary to defendant’s contention, the court did not err in
denying his request for a missing witness charge with respect to two
witnesses. Defendant failed to meet his initial burden of
establishing that one witness would provide testimony favorable to the
prosecution (see People v Simon, 71 AD3d 1574, 1575, lv denied 15 NY3d
757, reconsideration denied 15 NY3d 856; People v Karas, 21 AD3d 1360,
1361, lv denied 5 NY3d 883, reconsideration denied 6 NY3d 814; see
generally People v Gonzalez, 68 NY2d 424, 427), and the People
established with respect to the other witness that his testimony would
be cumulative to the testimony of the other witnesses (see People v
Carr, 59 AD3d 945, 946, affd 14 NY3d 808; People v Hawkins, 84 AD3d
1736, 1737, lv denied 17 NY3d 806).

     We agree with defendant that the court erred in refusing to give
an adverse inference charge based on the People’s failure to preserve
surveillance tapes (see People v Handy, 20 NY3d 663, 669). Defendant
used reasonable diligence in requesting those tapes, which captured
“evidence that [was] reasonably likely to be of material importance”
(id. at 665), i.e., a video in the area where the crime occurred, from
cameras operated by the City of Rochester Police Department.

     We respectfully disagree with our concurring colleague that the
State’s duty to preserve surveillance videos is not triggered until a
request has been made by the defendant. The Court of Appeals in Handy
did not make any such pronouncement, but rather held that “when a
defendant in a criminal case, acting with due diligence, demands
evidence that is reasonably likely to be of material importance, and
that evidence has been destroyed by the State, the defendant is
entitled to an adverse inference charge” (id.). By way of further
guidance, and of particular relevance to this case, the Court stated
that “the authorities in charge should, when something that will
foreseeably lead to criminal prosecution occurs, take whatever steps
are necessary to insure that the video will not be erased—whether by
                                 -3-                           384
                                                         KA 13-01138

simply taking a tape or disc out of a machine, or by instructing a
computer not to delete the material” (id. at 669). To conclude that
the duty to preserve is not triggered until a request is made by the
defendant would only give an incentive to State agents to destroy the
evidence before the defendant has a chance to request the tapes. Such
a rule would also directly contravene the explicit policy underlying
the Court’s rationale in Handy, namely, to “give[] the State an
incentive to avoid the destruction of evidence” and to “raise the
consciousness of State employees on this subject” (id.).

     Although we conclude that the court erred in failing to give the
requested adverse inference charge, we further conclude that the error
is harmless (see People v Bradley, 108 AD3d 1101, 1102, lv denied 22
NY3d 1039). The evidence of guilt is overwhelming, and there is no
reasonable possibility that the absence of an adverse inference charge
contributed to the conviction (see People v Blake, 105 AD3d 431, 431,
affd 24 NY3d 78; see generally People v Crimmins, 36 NY2d 230, 237).

     Defendant failed to preserve for our review his contention that
the court’s Sandoval ruling constitutes an abuse of discretion (see
People v Tolliver, 93 AD3d 1150, 1151, lv denied 19 NY3d 968; People v
Jackson, 46 AD3d 1408, 1409, lv denied 10 NY3d 841). In any event, we
reject that contention. “[T]he court’s Sandoval compromise, in which
it limited questioning on defendant’s prior convictions for [ ]related
offenses to whether defendant had been convicted of a felony or
misdemeanor on the appropriate date, ‘reflects a proper exercise of
the court’s discretion’ ” (People v Stevens, 109 AD3d 1204, 1205, lv
denied 23 NY3d 1043). Defendant also failed to preserve for our
review his contention that the indictment was multiplicitous because
it charged criminal possession of a weapon in the second degree in
more than one count (see People v Jefferson, 125 AD3d 1463, 1464, lv
denied 25 NY3d 990). In any event, that contention is without merit
(see People v Simmons, 133 AD3d 1275, 1277). We reject defendant’s
further contention that we should reverse one of the two convictions
of criminal possession of a weapon in the second degree in the
interest of justice because the two counts were based upon his
possession of the same weapon. We see no reason to do so inasmuch as
the “two counts are separate crimes” (People v Rice, 5 AD3d 1074,
1074, lv denied 2 NY3d 805). Finally, the sentence is not unduly
harsh or severe.

     All concur except CURRAN, J., who concurs in the result in the
following memorandum: I concur in the result reached by the majority,
but I write separately because, in my view, an adverse inference
charge based on the People’s failure to preserve surveillance video(s)
is not required by People v Handy (20 NY3d 663), as explained in
People v Durant (26 NY3d 341). I agree with the majority that People
v Handy (20 NY3d 663) stands for the very broad proposition that the
People must preserve evidence as of the time “when something that will
foreseeably lead to criminal prosecution occurs” (20 NY3d at 669).
Moreover, inasmuch as the record before our Court in Handy showed that
the subject video evidence pertaining to the first jailhouse arrest
was recorded over before a criminal proceeding was commenced, it is
                                 -4-                           384
                                                         KA 13-01138

clear that the duty to preserve evidence established in Handy arose
before the defendant was even charged with a crime for the subject
incident. While I fear that such a broad duty to preserve evidence
places a huge burden on the People, especially in light of the
enormous amount of electronic and digital information that is
collected these days, I concur with the majority that Handy has such a
wide scope.

     This case provides a glimpse of the burden created by Handy.
There are approximately 50 so-called “blue light” cameras
strategically placed throughout the City of Rochester
(http://www.cityofrochester.gov/article.aspx?id=8589936528). The
surveillance video here is from one such camera and involved one brief
incident that may or may not have been captured by the camera. In
this case, the police thought to look at the video and determined that
the assault was not captured on it and therefore did not suspend the
video’s automatic destruction. The majority and I agree that, based
on Handy, an adverse inference charge is required here. Thus, the
jury would be instructed that it is permitted to “infer that the
destroyed evidence would have been favorable to the defense”
(CJI2d[NY] Adverse Inference - Destroyed Evidence). Contrary to the
pattern jury instructions in civil cases (1A NY PJI3d 1:77, 1:77.1
[2016]), this instruction would be without consideration of whether
the jury concluded that the missing evidence was relevant (i.e.,
significant to its deliberations) and without consideration of whether
the jury accepted the People’s explanation for the destruction of the
evidence, assuming the trial court allowed testimony on that subject
(see People v Cyrus, 48 AD3d 150, 159, lv denied 10 NY3d 763 [police
officer’s testimony regarding content of videotape “likely
inadmissible” under best evidence rule]). I submit that this is a
harsh and unwarranted remedy for what occurred here, but the majority
and I agree that this is the remedy required by Handy.

     Nevertheless, perhaps realizing the extraordinary burden on the
People created by the breadth of the Handy rule, the Court of Appeals
in People v Durant (26 NY3d 341) explained that, in Handy, the
defendant had been charged with a crime in a felony complaint, the
defendant had filed an omnibus motion demanding the evidence generated
by electronic surveillance of the incident, and, “[d]espite the
defendant’s demand for such evidence, the police destroyed the
surveillance images sometime between the defendant’s arraignment on
the complaint and the filing of the indictment” (26 NY3d at 349
[emphasis added]). That explication of the facts is consistent with
the interpretation given to Handy by the Committee on Criminal Jury
Instructions in the adverse inference charge concerning destroyed
evidence (see CJI2d[NY] Adverse Inference - Destroyed Evidence [“On or
about (date), the defense requested that evidence. Thereafter, the
agents of the government destroyed it” (emphasis added)]).

     Here, the record shows that the first demand by the defense for
the surveillance video(s) was after the video(s) had been destroyed
pursuant to the normal business practices of the City of Rochester
Police Department. Thus, as compelled by Durant’s explanation of
Handy, the duty to preserve the surveillance video(s) was not timely
                                 -5-                           384
                                                         KA 13-01138

triggered here and an adverse inference charge is not required.

Entered:   June 10, 2016                        Frances E. Cafarell
                                                Clerk of the Court


'use strict';

var Parser = require('./parser'),
    Serializer = require('./serializer');

// Shorthands
exports.parse = function parse(html, options) {
    var parser = new Parser(options);

    return parser.parse(html);
};

exports.parseFragment = function parseFragment(fragmentContext, html, options) {
    if (typeof fragmentContext === 'string') {
        options = html;
        html = fragmentContext;
        fragmentContext = null;
    }

    var parser = new Parser(options);

    return parser.parseFragment(html, fragmentContext);
};

exports.serialize = function (node, options) {
    var serializer = new Serializer(node, options);

    return serializer.serialize();
};

// Tree adapters
exports.treeAdapters = {
    default: require('./tree_adapters/default'),
    htmlparser2: require('./tree_adapters/htmlparser2')
};

// Streaming
// NOTE: streaming API is lazy loadable to enable bundling for platforms
// that are different from Node.js.
// See https://github.com/inikulin/parse5/issues/235.
var streamingAPI = {
    ParserStream: './parser/parser_stream',
    PlainTextConversionStream: './parser/plain_text_conversion_stream',
    SerializerStream: './serializer/serializer_stream',
    SAXParser: './sax'
};

Object.keys(streamingAPI).forEach(function (cls) {
    Object.defineProperty(exports, cls, {
        get: function () {
            try {
                return require(streamingAPI[cls]);
            }

            catch (e) {
                throw new Error(
                    cls + ' is supported only for Node.js.' +
                    'See https://github.com/inikulin/parse5/issues/235 for the details.'
                );
            }
        }
    });
});


Michael Meehan, Berkeley Chief of Police, is in hot water for using as many as 10 officers to track down his son's stolen phone, reports SFGate.

The phone was equipped with tracking software, so Meehan and several other officers spent time trying to find the phone.

Four detectives involved were paid two hours of overtime each.

A police report wasn't filed for the incident.

Meehan is being investigated by a San Francisco law firm, which could cost Berkeley up to $25,000. The city has also hired a public relations firm at a cost of up to $24,000.

Meehan has nothing to say on the matter and his son's phone is still missing.


The Indiana Election Division sends its notices out with a small styrofoam cube in the envelope; the cube increases the envelope's thickness to 3/4", so it qualifies for discounted parcel-rate shipping.

The Styrofoam cube enclosed in this envelope is being included by the sender to meet a United States Postal Service regulation. This regulation requires a first class letter or flat using the Delivery or Signature Confirmation service to become a parcel and that it "is in a box or, if not in a box, is more than 3/4 of an inch thick at its thickest point." The cube has no other purpose and may be disposed of upon opening this correspondence.


MISSIONS

To understand the mechanisms of chemical-induced injury through basic, clinical, translational and community research and to develop diagnostic and therapeutic tools to chemical threat agents incliding toxic industrial and agricultural chemicals,toxins and other chemicals.


Q:

PHP calculations with time() and DST issue

I'm using a script that insert a date (yyyy-mm-dd) which is X days later than the current date. I add X seconds on the first timestamp to get the second one, at 12:00AM.
Server timezone is UTC -5 and I also set it in my scripts with
date_default_timezone_set('America/Montreal');

We'll set clocks one hour back on NOVEMBER 6 and any mathematical calculations with time() seem affected.
(When Daylight Saving Time ends in the fall, clocks are set back an hour and Standard Time resumes.)
At 2:00AM, it'll be 1:00AM on Nov. 6

For exemple, the timestamp of date 1: 1320379200 (Friday 4th November 2011 12:00:00 AM, BEFORE time change)
I want to add 7 days to this date... 1320379200 + (7 * 24 * 60 * 60)
Timestamp of the new date is now 1320984000 (Thursday 10th November 2011 11:00:00 PM, AFTER time change)
but it should be 1320987600 (Friday 11th November 2011 12:00:00 AM)
I miss 3600 seconds, so one hour.

So just to make it clear (pseudo-code):
$timestampOfStartingDate = 1320379200
echo timestampToDate($timestampOfStartingDate) // show 2011-11-04 (Friday 4th November 2011 12:00:00 AM)

$newTimestampAfter7days = $timestampOfStartingDate + (7 * 24 * 60 * 60)
echo timestampToDate($newTimestampAfter7days)  // show 2011-11-10 instead of 2011-11-11 (Thursday 10th November 2011 11:00:00 PM instead of Friday 11th November 2011 12:00:00 AM)

So I'm missing one hour, which is really probably related to the daylight saving time.

The thing is I don't know how to fix that. I don't want to re-do it when we'll re-enter in daylight saving time.
I hope you guys understand what I'm saying, as I'm a little confused.
Also please excuse my english, I'm doing my best!

A:

You should be adding 7 days, not x number of seconds.
strtotime("+7 days", $timestampOfStartinDate);

Alternatively, use PHP's DateTime class.


Circle City Greens

The Circle City Greens is the local group for Indianapolis and surrounding areas. Monthly meetings take place on the 1st Wednesday of every month near downtown Indianapolis. The Circle City Greens are in the process of nominating officers for the following positions: Chair, Assistant Chair, Treasurer, Documentarian, and two Media Czars. The deadline to submit nominations is December 1st.

Upcoming Events:

November 16th from 6:00-8:00 pm - Sign Making for the Rally to End Gerrymandering

November 20th from 7:00-8:30 pm - Green Support for Indy’s Visible Trans Day of Remembrance

November 21st from 1:00-2:00 pm - Green Coalition at the End Gerrymandering Rally

December 2nd from 9:00-4:00 pm - Greens at HEC’s Greening the Statehouse

The Circle City Greens recently created a Facebook page that’s open to the public. This is in addition to their private Facebook group.

Delaware County Greens

The Delaware County Greens meet the 1st and 3rd Sunday of every month from 6:00-8:00 pm at Kennedy Library in Muncie.

Next meeting: November 19th at 6:00 pm at Kennedy Library in Muncie.

The Delaware County Greens can be found on Facebook.

Green Party of Northeast Indiana

The Green Party of Northeast Indiana was inadvertently left off of the list of local groups in the previous newsletter. This group covers the Northeast Indiana area and is primarily located in Fort Wayne. They have had an informational table 2 years running at the Labor Union Labor Day Picnic which attracts about 10,000 people each year. They participate in many local rallies and gatherings; the latest being the Food Not Lawns Seed Exchange which took place on October 29th where they had an informational table set up.

Upcoming Events:

November 11th at 11:11 am at the Allen County Courthouse in Fort Wayne. - Reclaim Armistice Day for Peace with United Activists of Fort Wayne Indiana, Veterans for Peace and Fort Wayne for Peace, Food Not Bombs Fort Wayne, Fort Wayne Supporting Refugees From Aleppo & the World, Friends of the Third World, People for the Common Good, and Middle East Peace Center.

The Green Party of Northeast Indiana can be found on Facebook.

Green Party of East Central Indiana

The Green Party of East Central Indiana’s function is to coordinate and facilitate the resistance to the hegemony of the two-party system, both corrupted by corporate influence. They are firmly committed to the Ten Key Values and are advocates of Peace, Planet & People over Profit.

Members participate locally with the Delaware County Greens and can be found on Facebook.

Green Party of Hobart, Indiana

The Green Party of Hobart, Indiana is building a precinct organization to elect local officials who’ll promote environmentally responsible government at the local, state & federal levels.

They are an affiliate of the Northwest Indiana Green Party and can be found on Facebook.

Jefferson County Greens

The Jefferson County Greens desire to give the citizens of Jefferson County a just, ethical and viable alternative to the antiquated, stagnating, unresponsive, and corrupt two-party system.

They can be found on Facebook.

Johnson County

Interest to form a local chapter in Johnson County has been expressed. In accordance with the INGP bylaws, forming an official group requires a minimum of three individuals. If you are interesting in being a leader of the Johnson County Greens, contact us.

Monroe County Greens / Bloomington Green Party

The Monroe Couny Greens, or the Bloomington Green Party is active in local events like the Jail Recovery & Standing Rock benefits. Though this group is active locally, it is not officially formed. Interest to form as a local chapter has been relayed to the INGP. The group is currently in need of a couple of leaders. The INGP bylaws require a minimum of three individuals to form chapters & caucuses.

If you are interesting in being a leader of this group, contact us. The Monroe County Greens / Bloomington Green Party can be found on Facebook.

Northwest Indiana Green Party

The Northwest Indiana Green Party (NWIGP) auxiliary party organization affiliated with the Indiana Green Party, serving the three Lake Michigan shoreline counties, Lake, Porter and LaPorte. This November will be the first time the group will host a meeting in LaPorte County.

Next meeting: November 12th from 1:00-3:00 pm - NWI Green Party November Meeting at Lakeshore Coffee & Specialities in Michigan City.

About 40 current and potential political activists, including 20 or so who raised their hands when asked if they were running for office in 2018, attended a half-day candidates’ training program hosted by the not-for-profit RISE NWI.

“First find your why,” instructed keynote speaker and former Democratic Lt. Governor candidate Christina Hale in challenging would-be candidates to look to their hearts for the reason they’re running, and then perfect ways to express that reason sincerely and succinctly.

The NWIGP is working with RISE NWI on sharing training materials and was represented at the Nov. 4 session by NWIGP Treasurer Joseph Conn.

“We want to be the political arm of what you’re doing here,” Conn also told about 50 attendees of a meeting Nov. 8 in Michigan City of what was billed as panel discussion and listening session, “How Pollution Impacts Our Health: A Community Conversation.”

The event was organized by Moms Clean Air Force and the Sierra Club and hosted by P.A.R.C, an organization and venue for community action in Michigan City.

“There are brownfield sites all over the country in neighborhoods of people of color,” said panelist Dominique Edwards of the Michigan City Social Justice Group. Edwards said she grew up in the industrialized Eastport neighborhood of Michigan City. She described how the arc of her environmental awareness began to rise when she tried to help address food shortage and nutritional issues in her community by promoting local gardening. It was then she learned the soil in her neighborhood was contaminated. “We can no longer grow our own food in Eastport,” Edwards said.

Rob Johnson, also a Michigan City activist and MCSJG member, said one in five children on the city’s west side tested positive for lead poisoning. But Johnson said he first learned about the lead contamination in his community from a national Reuters investigative report that included a segment focused on lead contamination in East Chicago, also an industrial city 40 miles west along the Lake Michigan shoreline in Lake County.

There, the EPA and IDEM support an ambitious, multi-million dollar program to dig up and replace the water service lines to 400 homes in a Super Fund site where soil was contaminated with lead, most likely from a long-since shuttered lead smelting plant.

It’s shocking just how little information people have” about lead poisoning, Johnson said. Soil contamination can occur from microscopic particles blown in the air and landing in the soil, but also from remnants from long-banned lead-based paint and from aging lead and galvanized water pipes, Johnson said.

With lead abatement costs running upwards of $10,000 per house, “cities that are already cash strapped shouldn’t be responsible for decades-old problems,” he said.

The NWI Greens can be found on Facebook.

Vigo County Greens

The Vigo County Greens meet on a regular basis and are very active in the community. At the current moment they are helping to create a Young Greens chapter at ISU.

Next meeting: November 11th - November 2017 VCGP Meeting at 2:30 pm at the Grand Traverse Pie Company in Terre Haute.

The Vigo County Greens can be found on Facebook.

If you are interested in forming as a recognized group, or have any questions please don’t hesitate to contact us.

Getting Greens on the Ballot & Into Office

We have some really exciting news to share with you in the very near future. It involves running an Indiana Green for office in 2018! To be included on the ballot, we are going to need tens of thousands of signatures. So, we will need everyone’s help. In the coming weeks we will be sharing an instructional video on how to petition for signatures to achieve ballot access. If we do this right, Greens in Indiana won’t have to petition for signatures again.

If you are interested in volunteering for a position on the campaign, please contact us.

Each chapter & caucus shall designate a member to serve on the Ballot Access Committee. INGP’s Ballot Access Committee Chair is Philip Sanders. Once your group has identified its Ballot Access Committee member, contact Philip by email or by phone at 317-737-6634.

Interested in running for office as a Green? If so, fill out the INGP’s Candidate Questionnaire and forward the completed form to us via email or mail to INGP Documentarian, Michael Richardson, 1240 N. Oxford Street, Indianapolis, IN 46201.

Indiana Chapters & Caucuses

Currently formed groups: Action is required!

Since the INGP has recently formed, all currently formed groups shall apply for recognition as a chapter or a caucus.

Local chapters and cacucses that meet the requirements listed in the INGP’s bylaws shall apply in writing to the INGP’s Coordinating Committee for affiliation and shall elect a delegate to the Coordinating Committee and Congress. Written requests are accepted in electonic or paper form. Email your request or mail it to:

Michael Richardson

INGP Documentarian & Custodian of Records

1240 N. Oxford Street

Indianapolis, IN 46201i

INGP Vacant Positions

There are a number of vacant positions that need to be filled immediately. If you are interested in any of them, contact us.

INGP Platform Working Group - per the INGP bylaws, a group of INGP members shall come together to revise the platform for next year's Congress. Some interest has been expressed in forming this group. As we are all aware, groups consist of more than one person. So, if you are interested in being part of this Working Group, contact us.

- per the INGP bylaws, a group of INGP members shall come together to revise the platform for next year's Congress. Some interest has been expressed in forming this group. As we are all aware, groups consist of more than one person. So, if you are interested in being part of this Working Group, contact us. Member to the Green Party's National Media Committee . If you enjoy working in media and want to be involved with the Green Party on a national level, volunteer for this position. Duties would include: preparing press releases, social media, livestream broadcasts, and other daily matters. If you are interested in this position, please contact us.

. If you enjoy working in media and want to be involved with the Green Party on a national level, volunteer for this position. Duties would include: preparing press releases, social media, livestream broadcasts, and other daily matters. If you are interested in this position, please contact us. Pro Bono Attorney - The INGP is looking for an attorney who would be willing to provide guidance to ensure the party practices are in accordiance with the law. If you are interested or know someone who maybe, please contact us.

Membership

To apply for membership to the INGP, fill out this form. Mail the completed form along with your membership dues to the Treasurer of the INGP, Gregory Ellcessor at 13936 W. Main Street, Daleville, Indiana 47334.

The ability to apply and pay for membership electronically will be available in the near future via the INGP’s website.

Online

All local chapters and caucuses will each have their own webpage on the INGP’s website. Leaders of these groups shall submit the content to be published on the website.

In addition to having a designated webpage, each chapter & caucus is encouraged to have a Facebook group, Facebook page, and a Twitter account.

Newsletter Submissions

To submit a piece for publication in this newsletter, forward said piece to the INGP’s Communications Director.


Q:

Using bitwise or instead of std::max for buffer sizing

I was looking at some C++ networking code. When I went to find out how large the buffer was, I found something like this:
static const uint32_t MAX_COMMAND_BUFFER =
        sizeof(struct S1) | sizeof(struct S2) | sizeof(struct S3) |
        sizeof(struct S4) | sizeof(struct S5) | sizeof(struct S6);

I believe the basic idea here is that the buffer can contain any one of these 6 structs. This is declared at an outer scope, so its available for things like a later outer-scope uint8_t array size.
Now normally here I'd expect to see something using either the std::max() function, or the tertinary operator to calculate the exact size of the largest of those 6 structs. I've never seen the above idiom before, and had to stop to even convince myself it would work.
So since I'm new at this, I'd like in general to know how valid this is, and what are the benefits and drawbacks of doing it.
What I can see is -
pro:

It should always give you a size at least as large as your largest struct size. Which is all you really need if space isn't at a premium.
It appears to be calculable at compile time.
It should work even with very old C++ (or even C) compilers.

con:

It may make the size nearly twice as large as necessary.
It makes it much more difficult for a human to figure out offline exactly how large the buffer is.
Its weird / unexpected.

A:

It's valid in the sense that MAX_COMMAND_BUFFER will always be at least as large as the maximum of all the sizes of those structs. It's easy to verify this - bitwise |-ing all the sizes together will give you a value that has all the same bits on as the largest size, plus possibly some others.
However, it's super confusing and you have to stop and think about it. Plus, if you have two sizes that are 8 and 7 you'll end up with 15, which is probably not what you want to happen. Thankfully, std::max has a constexpr overload that takes an initializer_list<T>, so just use that:
static constexpr size_t MAX_COMMAND_BUFFER =
//               ^^^^^^
        std::max({sizeof(struct S1), sizeof(struct S2), ..., sizeof(struct S6)});

If your compiler doesn't support that overload, it's pretty straightforward to write a variadic function template to accomplish the same thing.


Telephone numbers in Myanmar

Telephone numbers in Myanmar are 8 to 11 digits long including the trunk prefix.

List of area codes in 5621/Myanmar

Format
 In Yangon, the format is 01 MMM MMMM e.g. 01 243 5774
 In Mandalay, the format is 02 MMM MMMM e.g. 02 403 3655
 In Nay Pyi Taw, the format is 067 MMM MMMM e.g. 067 435 3241
 In Maubin, the format is 045 MMM MMMM e.g. 045307--
 There are four mobile operators in Myanmar.
 All mobile operators numbers are with 09.
 All of them have the same format except MPT.
 For Telenor, Ooredoo, and Mytel, they have 11 digits with the prefix.
 Telenor start with 097 e.g. 09790000979
 Ooredoo start with 099 e.g. 09970000234
 Mytel start with 096 e.g. 09690000966

See also
 Telecommunications in Burma

References

Burma
Category:Myanmar-related lists


System.register([], function (exports) {
  'use strict';
  return {
    execute: function () {

      exports('fn', fn);

      function fn () {
        console.log('dep fn');
      }

    }
  };
});