text:
package cluster

import (
	"errors"
	"fmt"
	"net"
	"net/url"
	"strings"

	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
	kapi "k8s.io/kubernetes/pkg/api"
	"k8s.io/kubernetes/pkg/apis/authorization"
	kclientset "k8s.io/kubernetes/pkg/client/clientset_generated/internalclientset"

	configapilatest "github.com/openshift/origin/pkg/cmd/server/api/latest"
	"github.com/openshift/origin/pkg/diagnostics/types"
	"github.com/openshift/origin/pkg/network"
)

const masterNotRunningAsANode = `Unable to find a node matching the cluster server IP.
This may indicate the master is not also running a node, and is unable
to proxy to pods over the Open vSwitch SDN.
`

// MasterNode is a Diagnostic for checking that the OpenShift master is also running as node.
// This is currently required to have the master on the Open vSwitch SDN and able to communicate
// with other nodes.
type MasterNode struct {
	KubeClient       kclientset.Interface
	ServerUrl        string
	MasterConfigFile string // may often be empty if not being run on the host
}

const MasterNodeName = "MasterNode"

func (d *MasterNode) Name() string {
	return MasterNodeName
}

func (d *MasterNode) Description() string {
	return "Check if master is also running node (for Open vSwitch)"
}

func (d *MasterNode) CanRun() (bool, error) {
	if d.KubeClient == nil {
		return false, errors.New("must have kube client")
	}
	if d.ServerUrl == "" {
		return false, errors.New("must have a server URL")
	}

	// If there is a master config file available, we'll perform an additional
	// check to see if an OVS network plugin is in use. If no master config,
	// we assume this is the case for now and let the check run anyhow.
	if len(d.MasterConfigFile) > 0 {
		// Parse the master config and check the network plugin name:
		masterCfg, masterErr := configapilatest.ReadAndResolveMasterConfig(d.MasterConfigFile)
		if masterErr != nil {
			return false, types.DiagnosticError{ID: "DClu3008",
				LogMessage: fmt.Sprintf("Master config provided but unable to parse: %s", masterErr), Cause: masterErr}
		}
		if !network.IsOpenShiftNetworkPlugin(masterCfg.NetworkConfig.NetworkPluginName) {
			return false, errors.New(fmt.Sprintf("Network plugin does not require master to also run node: %s", masterCfg.NetworkConfig.NetworkPluginName))
		}
	}

	can, err := userCan(d.KubeClient.Authorization(), &authorization.ResourceAttributes{
		Verb:     "list",
		Group:    kapi.GroupName,
		Resource: "nodes",
	})
	if err != nil {
		return false, types.DiagnosticError{ID: "DClu3000", LogMessage: fmt.Sprintf(clientErrorGettingNodes, err), Cause: err}
	} else if !can {
		return false, types.DiagnosticError{ID: "DClu3001", LogMessage: "Client does not have access to see node status", Cause: err}
	}
	return true, nil
}

func (d *MasterNode) Check() types.DiagnosticResult {
	r := types.NewDiagnosticResult(MasterNodeName)

	nodes, err := d.KubeClient.Core().Nodes().List(metav1.ListOptions{})
	if err != nil {
		r.Error("DClu3002", err, fmt.Sprintf(clientErrorGettingNodes, err))
		return r
	}

	// Provide the actual net.LookupHost as the DNS resolver:
	serverIps, err := resolveServerIP(d.ServerUrl, net.LookupHost)
	if err != nil {
		r.Error("DClu3007", err, "Error resolving servers IP")
		return r
	}

	return searchNodesForIP(nodes.Items, serverIps)
}

// Define a resolve callback function type, use to swap in a dummy implementation
// in tests and avoid actual DNS calls.
type dnsResolver func(string) ([]string, error)

// resolveServerIP extracts the hostname portion of the API server URL passed in,
// and attempts dns resolution. It also attempts to catch server URL's that already
// contain both IPv4 and IPv6 addresses.
func resolveServerIP(serverUrl string, fn dnsResolver) ([]string, error) {
	// Extract the hostname from the API server URL:
	u, err := url.Parse(serverUrl)
	if err != nil || u.Host == "" {
		return nil, errors.New(fmt.Sprintf("Unable to parse hostname from URL: %s", serverUrl))
	}

	// Trim the port, if one exists, and watchout for IPv6 URLs.
	if strings.Count(u.Host, ":") > 1 {
		// Check if this is an IPv6 address as is to avoid problems with splitting
		// off the port:
		ipv6 := net.ParseIP(u.Host)
		if ipv6 != nil {
			return []string{ipv6.String()}, nil
		}
	}
	hostname, _, err := net.SplitHostPort(u.Host)
	if err != nil && hostname == "" {
		// Likely didn't have a port, carry on:
		hostname = u.Host
	}

	// Check if the hostname already looks like an IPv4 or IPv6 address:
	goIp := net.ParseIP(hostname)
	if goIp != nil {
		return []string{goIp.String()}, nil
	}

	// If not, attempt a DNS lookup. We may get multiple addresses for the hostname,
	// we'll return them all and search for any match in Kube nodes:
	ips, err := fn(hostname)
	if err != nil {
		return nil, errors.New(fmt.Sprintf("Unable to perform DNS lookup for: %s", hostname))
	}
	return ips, nil
}

func searchNodesForIP(nodes []kapi.Node, ips []string) types.DiagnosticResult {
	r := types.NewDiagnosticResult(MasterNodeName)
	r.Debug("DClu3005", fmt.Sprintf("Seaching for a node with master IP: %s", ips))

	// Loops = # of nodes * number of IPs per node (2 commonly) * # of IPs the
	// server hostname resolves to. (should usually be 1)
	for _, node := range nodes {
		for _, address := range node.Status.Addresses {
			for _, ipAddress := range ips {
				r.Debug("DClu3006", fmt.Sprintf("Checking node %s address %s",
					node.ObjectMeta.Name, address.Address))
				if address.Address == ipAddress {
					r.Info("DClu3003", fmt.Sprintf("Found a node with same IP as master: %s",
						node.ObjectMeta.Name))
					return r
				}
			}
		}
	}
	r.Warn("DClu3004", nil, masterNotRunningAsANode)
	return r
}


text:
Posts Tagged 'Death Cab for Cutie'
A List For The Ages
Rolling stone gathers no moss, but leaves a trail of busted stuff.
Busted Stuff
There has been a little game floating around Facebook for awhile. It is in the same style as those many email forwards that once clogged up inboxes. Essentially, you are supposed to create a list of 15 albums that had a profound effect on your life. Rather than join in the perpetuation of tagging on the social networking site, I decided to fulfill the challenge here on my blog. The original post gives some metaphysical mumbo-jumbo explanation for how an album can deeply affect a person, but I've decided to base my decision on three criteria:
1) I must have listened to the album more than 20 times.
2) I must enjoy virtually every track on the album.
3) The album must have some kind of story attached to it.
I actually found these criteria very restrictive, which is good, considering I own over 300 albums. Now to the list:
1. Simon & Garfunkel – Sounds of Silence – This album followed me abroad on a wild 12 day adventure from Paris to Rome. Whenever I listen to it now I flashback to the many plane and bus rides, the horrible pink eye, and a quiet sunset in Sorrento. I suppose I should also mention the many hours I spent wearing a hamburger box on my head. Sounds of Silencecaptures a band on the rise, just about to explode into the consciousness of an era. It is a musical masterpiece.
2. Coldplay – Parachutes – I came to be a Coldplay fan just a little bit later than most of my friends. I really got into them about a year after Yellow flew up the charts. I think i was too distracted by Radiohead to really appreciate this emerging group. It makes the list because of the many cover versions of Don't Panic that Dave and I shared while at St. Jerome's.
3. Genesis – We Can't Dance – For me, this is the quintessential nostalgia piece. Growing up my family would spend many of our weekends driving around the countryside, enjoying the scenery and ultimately grabbing a hot dog at some out of the way stand. The tape deck would usually feature this album or one from of my mom's Rod Stewart collection. This is the one I still listen to.
4. Radiohead – Ok Computer – I have to admit I first got hold of this album through less than legal means. My friend Darryl copied it on to tape for me when it first came out (I think I owned 1 CD at the time). I instantly fell in love with the group and spent the next 5 years buying every piece of recorded Radiohead material that I could. I still have some ridiculous singles that feature bizarre remixes from this era. While I haven't been as crazy about collecting their music since about 2002, I still love Radiohead.
5. Peter Gabriel – Passion – This is a bit of a surprise entry. I have always enjoyed a number of Peter Gabriel songs, but it is this soundtrack album that moves me the most. It was recorded for a movie, The Last Temptation of Christ, which I have never seen. I used to listen to it while playing Age of Empires II and also while studying. It was the soundtrack to significant parts of my first two years of university. The middle eastern flair, and desert feel make it a nice change from what usually fills the air around me.
6. Death Cab For Cutie – Plans – This album was given to me as a gift, in the hopes that I would embrace more indie music. It succeeded as I am now a full on convert. I have a strong emotional connection to several of the songs, for reasons I'd rather not get into. But I will say this, Plans is the only record that has ever made me cry.
7. The Who – Who's Next – Another bit of nostalgia for me. Like many people I know I had a huge classic rock phase in high school. No band epitomized that period more than The Who. Thanks to my mom's already robust collection I was able to dive right into their music. Who's Next contains most of my favourite Who songs, and doesn't love the lovely cover art.
8. Lisa Loeb & Nine Stories – Tails – I truly fell in love with Lisa Loeb upon hearing her beautiful voice. Fortunately, I'm a little beyond teenage crushes now. The music, however, stands the test of time. I will admit to being disappointed when I read that, although she was starring in a show dedicated to finding a boyfriend, she only dated guys over the age of 30. My personal favourite on this album is Snow Day, not only because my name is in it, but because of the line it's a bad day, but you're my medicine.
9. Counting Crows – Live Across a Wire – I had to think long and hard about which Counting Crows album to include. They are all amazing and meet the first two criteria. So the tie had to be broken by the story associated with them. Live Across a Wire makes it for a couple of reasons. The first is a girl named Shanna, who I absolutely adored during my first year of university. Although I was far too awkward to do anything about my feelings, we did share a passion for music. She adored the version of Angel of the Silences found on the MTV Storytellers portion of this disc, and for some reason, I still remember that. I suppose the second reason I chose this album is that I have been to three Counting Crows concerts and I count each among the most memorable nights of my life, for various reasons. From a magical night under the stars with friends, to being stuck in downtown Kitchener at 2am, to flying down the QEW ready to burst in anguish, it's been a wild ride.
10. Dave Matthews Band – Busted Stuff – Busted Stuff hit me at just the perfect time. The summer it came out I was working at a Seniors home doing a lot of outdoor maintenance. My coworker and I alternated music choices from day to day. On her days we listened to Eminem and Our Lady Peace. On my days it was Counting Crows and Dave Matthews. This album became the soundtrack to that entire crazy summer. We worked for two men, Atilla from Hungary, and Tony from El Salvador. Their seemingly endless feud and crazy stories made the absolutely dreadful work seem tolerable.
11. Wide Mouth Mason – Wide Mouth Mason – I have already written an entire entry on this album. I'll direct you there for more information about it's inclusion here.
12. Sufjan Stevens – Illinois – Sufjan Stevens epic attempt to record albums about each state is impressive. This particular effort blew me away the first time I heard it. He has a way of creating a surreal landscape in his songs that feels very comfortable to be in. I particularly love the remix of Chicago on the version I bought, but for maximum creepiness check out John Wayne Gacy, Jr.
13. u2 – War – Much like Dave, I would be remiss to leave U2 off of this list. Although I was hard on their new album I still love the old stuff. I find that War among all the others represents the pure unbridled passion of the band, and catches them right before they became the world's biggest band with The Joshua Tree. War particularly brings me back to my university days. During Winter exams (April) the weather starts to turn. The snow melts and the sun warms people and places alike. There is a special feeling in the air when that happens. There is also the anticipation of the summertime and freedom from school work. I will always associate this album with those feelings.
14. David Gray – White Ladder – David Gray essentially changed my life at the beginning of second year. Or perhaps I should say that my life changed and his music was there. I embarked on a bizarre and often painful 3 year journey at that point. It dominated the rest of my undergraduate career and helped make me the person I was, and some of what I am today. In the space of two months I purchased all of his albums and essentially memorized every song in his catalogue. Now that is devotion.
15. The Verve – Urban Hymns – Originally, I wasn't going to include this album. I had some other ideas of ones that fit better or had more ideal stories. But I was drawn back by the story of a band who was robbed of royalties by an unscrupulous man, and the life of Richard Ashcroft who went from the highest of highs, to the humbling experience of being almost forgotten. This album is itself a modern wonder. I don't think you'll find another recording like it anywhere. Although they are considered one hit wonders in North America, The Verve will always be stars in my heart.
This has been a lot of fun. I'd love to hear your thoughts on the albums above, or any that have really moved you.
Tags:Albums, Coldplay, Counting Crows, Dave Matthews Band, David Gray, Death Cab for Cutie, Genesis, Lisa Loeb, Music, Peter Gabriel, Radiohead, Simon Garfunkel, Sufjan Stevens, The Verve, The Who, U2, Wide Mouth Mason
Posted in Music | Leave a Comment »
Tom Get Your Plane Ride On Time
You came to take us
all things go, all things go
to recreate us
all things grow, all things grow
we had our mindset
all things know, all things know
you had to find it
Sometimes I find the most intriguing things when I'm out and about in this city. For example, today I picked up U2's The Joshua Tree and Peter Gabriel's Us on tape for $1 at a thrift store. It was such an unusual find, but since my 1995 Camaro only has a tape deck I'm pretty excited. In some ways I feel sorry for the poor cassette tape. It has been surpassed in quality and utility by the CD, and doesn't have the vintage cache of vinyl. No one is clamouring to bring back the tape. Who wants to struggle with rewinding and fast forwarding for mediocre sound quality, even if you do get the fun of having "A" and "B" sides? Apparently, tapes have been around since the 1960's (something I just discovered today). Too bad they are almost obsolete.
I was in my mid-late teens when the ability to burn CDs became available to the average person. So I can remember when making mix tapes was a regular activity among my friends. Once I was in university we were passing around homemade CDs. On the surface the two concepts are identical, it's really just putting random songs on a recording medium so they can be shared. The tape, however, presents one problem that you don't have with CDs, the aforementioned two side phenomenon. A tape requires that you pick two songs to run into the end of the tape, which may or may not be finished when the recording stops. The standard length of mixtapes created by me was 90 minutes, or 45 per side. You can fit roughly 8-10 songs on each side, depending on the length of song.
Some people are keeping the mixtape alive. For example, the S.C.E.N.E. music festival in St. Catherines, Ontario has a mixtape/CD exchange as one of their events. I think it's a very neat idea, and one that could find its way into The Mid-Summer Festival of Peace and Tranquility.
The point of all this is to create an Alder Fork Mixtape for your listening pleasure. I can't physically give all my readers a tape, but I can make a list here and encourage you to make one yourself. You can get cassettes for $1 or less at a lot of stores. I am limiting myself to 8 songs per side for a grand total of 16. I think it should have a theme, so I can leave the door open to make more in the future on other themes. I am going to call the first one The Where in the World is…Mix. All of the songs will involve geography in the title or in the theme of the song.
El Salvador – Athlete -great song about material success and Latin American adventures
Stand – REM – I dare you not to dance around for this one
Pacific Theme – Broken Social Scene – just like being in Polynesia, but with more guitar
Washington Square (live iTunes exclusive) – Counting Crows – picking one CC song with geography in it is almost impossible but I did it
Ohio – Crosby, Stills, Nash, and Young – obvious choice but I couldn't say no
Grey Street – Dave Matthews Band – few songs speak to me like this one, almost like Grey Street is Bixby Cres.
405 – Death Cab for Cutie – North Americans spend a lot of time on the highway
Geographic Centre of Canada – The Wheat Pool – not only is it Canadian, it's kind of about geography, perfect!
At the Hundredth Meridian – The Tragically Hip – arguably one of the best Canadian rock songs of all time
Africa – Toto – I'm allowed one wild, out-of-left-field pick
Chicago (To String Remix By Jongalloway) – Sufjan Stevens – a man who is trying to write albums about as many U.S. states as possible
Amsterdam – Coldplay – it's not even about the things most people want from that city
The Only Living Boy in New York – Simon and Garfunkel – lovely song from a group that wrote a few about traveling around
Buffalo – Kathleen Edwards – no mixtape is complete without a newer song that I listen to 5 times a day
Mercy Street – Peter Gabriel – he uses a boat when he plays this live, that seems appropriate
Babylon II – David Gray – I wouldn't know about him without this song, so I've included the reprise version from the album, the ideal song to wrap things up
Tags:Athlete, Broken Social Scene, Canadian Music, Counting Crows, CSNY, Dave Matthews Band, David Gray, Death Cab for Cutie, Indie Music, Kathleen Edwards, Mixtape, Music, Peter Gabriel, REM, Simon and Garfunkel, Sufjan Stevens, The Tragically Hip, The Wheat Pool, Toto
Posted in Canadian Music, Indie Music, Pop Music, The Alder Fork Mixtapes | 3 Comments »
I Know That You'll Find
You gotta spend some time love, you gotta spend some time with me.
I Will Possess Your Art
My good friend Dave suggested this post to me, so it's really his idea in motion. I recently introduced him to my favourite song of 2008, I Will Possess Your Heart by Death Cab For Cutie. Now you may be familiar with the single version that has been on the radio. It is about 4 or so minutes long and lacks the very thing that makes the album version so noteworthy. Clocking in at 8:26 this long song uses the often unappreciated concept of dynamics to make it's point. My high school band, Urban Moon, was often obsessed with the idea of dynamics in music, so I feel moderately qualified to talk about this.
This particular song begins simply enough with bass, and builds through drums, guitar, piano, and finally vocals. For the first half of the song (the bit you won't hear on the radio) the song slowly climbs the mountain of volume. It tempts the listener to expect the song to "really" start many many times, but keeps him/her in suspense for minutes. When we reach the top of the mountain (the point where the vocals begin) the music inexplicably shuts down leaving just a single voice to explain what's going through his mind. The rest of the song follows the more pop conventions you hear on the radio, though bits and pieces constantly fade in and out of the mix. All of this creates a sense of moving atmosphere, suspense, and urgency that propels this song. It's a shame an 8 minute song rarely makes it on the radio, because the entirety of I Will Possess Your Heart is a strong lesson in the use of dynamics to enhance a song.
Tags:Death Cab for Cutie, Dynamics, I Will Possess Your Heart, Song of the Year
Posted in Indie Music | Leave a Comment »

redpajama_set_name: RedPajamaCommonCrawl


Cars, Trucks, Boats and RVs!
To get started: Call Us Today!
It is safe & easy. We do all of the work for you! We will research todays market prices and get you the most money available.
Price is the cost of the detail & 10% (negotiable) of final selling price.
We detail your item from top to bottom (giving you ability to get top $), Advertise your vehicle in The Northeast Georgia Shopper and Craigslist including pictures and descriptions, Display your vehicle on busy Cleveland Hwy. in Gainesville (over 30,000 cars drive by each day).
We handle all negotiations and hassles!


DeVos didn't detail how the rules will change. Instead, she said she would seek feedback from the public and universities, and develop new rules.
Debate has flared in recent years over the Obama-era rules, which reshaped how colleges enforce Title IX in cases of sexual assault.
The rules — set forth in a memo now known as the "Dear Colleague Letter" — told schools they must investigate and resolve all complaints of sexual assault, even if there is a separate criminal case. They also established what has become a polarizing standard of evidence used to judge cases.
Unlike in criminal courts, where guilt must be proved beyond a reasonable doubt, colleges were told to judge students based on whether it's "more likely than not" they committed the offense.
Some advocacy groups said the rules have protected victims and forced schools to confront problems long kept quiet. Opponents said the rules lean against students accused of sexual assault, and pressure colleges to take strong action against the accused. Dozens of students have sued schools alleging their due-process rights were violated.
In her speech, DeVos described "increasingly elaborate and confusing guidelines" that have harmed students on both sides of the debate. She criticized the standard of evidence and said the system has led schools to create "kangaroo courts" overseen by campus officials who don't always have legal training.
At the same time, she made clear that "acts of sexual misconduct are reprehensible, disgusting, and unacceptable" and must be addressed head-on.
"Never again will these acts only be whispered about in closed-off counseling rooms or swept under the rug," she pledged.
But she said the Obama guidelines for addressing complaints were burdensome and confusing.
Opponents of the Obama rules applauded the announcement and said it's a good sign that change is coming. Supporters said they fear it could set back years of improvement.
"It will discourage schools from taking steps to comply with the law — just at the moment when they are finally working to get it right," she said in a statement.


text:
VENEZUELA GROUPS
TREN DE ARAGUA
CIACS
MEXICO GROUPS
Home ᐳ News ᐳ Analysis ᐳ Brazil's Scramble To Fight Prison Gang Reveals Strategy's Limitations
Brazil's Scramble To Fight Prison Gang Reveals Strategy's Limitations
BRAZIL / 27 MAR 2014 BY GEOFFREY RAMSEY EN
In recent months, the São Paulo state government has been attempting an almost Herculean task: limiting the power of Brazil's largest prison gang, the First Capital Command (PCC). But success in the long run will require deep structural reforms in the judicial and penal systems.
In October 2013, São Paulo Governor Geraldo Alckmin unveiled a new task force charged with breaking the PCC's leadership structure. Its main task was isolating imprisoned PCC leaders from their operations base. The government would also investigate the gang's ties to corrupt police, Alckmin said, and install new cell phone-blocking technology in high-security prisons across the state.
Based in São Paulo but with operations in Paraguay and Bolivia and in 22 states across the country, the PCC has an estimated 11,000 members and controls a vast multi-million dollar criminal network that includes local and international drug trafficking, prostitution, kidnapping and extortion.
The gang's top leader, Marcos Willians Herbas Camacho, alias "Marcola," was captured in 1999. In the years since, Marcola and other influential PCC leaders have successfully coordinated illicit activities behind bars, using contraband cell phones and third parties to communicate.
SEE ALSO: First Capital Command Profile
In May 2006, the PCC orchestrated coordinated attacks on security forces and public transportation services in the streets of São Paulo -- a city of 20 million people -- and in 73 prisons across the state, paralyzing commercial activity for days.
More recently, the group has carried on a prolonged battle with the police. The PCC is also reportedly ratcheting up its activities as the World Cup approaches.
While prison administrators in Brazil have long sought to limit gang members' contact with the outside, progress is slow. Authorities claim to have seized almost 35,000 cell phones from inmates in 2012 alone. When compared to the national prison population, this figure represents one phone for every 15 prisoners, yet the seizures have had no apparent impact.
Cutting Contact with the Outside?
In January, the governor's office inaugurated the new cell phone jamming system. Its first target was the Mauricio Henrique Guimaraes Pereira Penitentiary, a maximum security facility in the west of the state that houses the PCC's top leaders, including Marcola, Claudio Barbara da Silva, alias "Barbara," and Celio Marcelo da Silva, otherwise known as "Bin Laden."
A month after this announcement, local press reported that the PCC was developing a plan to free Marcola and three other gang leaders -- including Bin Laden -- from their cells. The plan was complex, and was equal parts action film and reality show. It allegedly involved the purchase of two helicopters, one of which would provide machine gun cover for the other, which would pick up the inmates from a small patio.
The police said they had broken up the plot by intercepting phone conversations, and prison administrators placed the would-be escapees in solitary confinement. But the plot seemed at least exaggerated, if not wholly fiction, and Brazilian media largely ignored it.
SEE ALSO: Coverage of Prisons
What's more, it revealed flaws in the government security plan to isolate the prisoners' communications. According to newspaper O Estado de São Paulo, which first ran the story, one of the last calls related to the escape plot came from inside the penitentiary, in which alias "Bin Laden" phoned an accomplice on February 2, two days after the phone-jamming system was supposedly put in place by the state.
Camila Dias, a University of São Paulo sociologist and member of the Brazilian Forum on Public Safety (FBSP), said the story is more about politics than prisons. Gubernatorial elections are in October, and breaking up a dramatic escape plot might score points with the electorate.
"There is a contradiction here: either the blockers did not work, the interceptions were not recent, or other forms of interception were used," Dias said. "For me, that supposed plot was not well-explained, and has more to do with recent political disputes between various government and opposition groups, with regard to the next elections."
Even without cell phones, powerful prison inmates have other means of communication: sneaking messages to the outside via visitors; bribing or threatening the guards to pass these messages to couriers.
To be sure, the PCC already has a proven track record of ordering hits without relying on cell phone communication. In January 2007, a PCC member known as "Carrefour" relayed a message via a lawyer to a comrade imprisoned across the state, in the municipality of Maua, who organized the assassination of a prison administrator.
Reform: the Rough Path Forward
Reclaiming state control within prisons has no proven formula. The most common strategies include those that authorities have been attempting for years to little or no effect: segregating leaders from the general prison population, cracking down on contraband and restricting privileges.
However, the prisoners retain the advantage on the several fronts. Their complete control allows them to recruit both the prisoners and their families into the fold. This is made easier by the fact that conditions in jail are so precarious.
Cramped facilities, unsanitary food and a lack of medical care are common throughout the Brazilian prison system. In penitentiaries across the country, inmates are routinely denied dependable access to basic living items like soap, toilet paper and toothpaste. This trend only deepens the gangs' power.
"As these conditions are not met, a way to survive is to depend on the PCC to provide them…as well as the provision of other substances such as tobacco and illicit drugs. Because nothing is free, the price paid is loyalty. And that, of course, further strengthens the PCC's power," said the FBSP's Dias. "The recurrent violations and repression by state institutions reinforce the power of the PCC, legitimize its discourse and strengthen loyalty among its members -- loyalty that unites them against the state."
Guards, prison administrators and their families are also vulnerable, and their poor pay gives them little incentive to challenge the notoriously dangerous and sophisticated gangs whose own contacts reach into the highest levels of law enforcement.
Even in the US, officials have no standard tried and true method of breaking gang control in penitentiaries, which often translates into significant power outside of jails as well. A 2010 survey of gang management strategies conducted by criminal justice specialists John Winterdyk and Rick Ruddell saw little consensus on the best practices among prison administrators. The two found no clear pattern regarding the most successful approaches, with some 75 percent of respondents reporting an increase in prison gang membership in the past five years.
So with Brazilian prison administrators' standard tools seemingly useless against the PCC's wide influence and ability to connect imprisoned leaders with the business end of operations, is there any hope of São Paulo reining in the gang's influence in the prison system? Experts think so, but it won't be easy.
According to Melina Risso of the Sou da Paz Institute, a crime and violence research organization in São Paulo, the solution lies in a systematic approach that emphasizes reducing the country's prison population. The logic is straightforward: so long as the gangs control prisons, flooding them with new recruits is counterproductive.
There are an estimated 500,000 inmates in the country, the third largest number of prisoners in the world behind the United States and China. Part of this is due to a judicial system that relies on pre-trial detention with 40 percent of those behind bars in preventative detention.
In 2012, courts began adopting a law passed the previous year which allowed judges to issue more alternative sentences, allowing certain offenders to serve their time under house arrest with the aid of electronic tracking bracelets.
The law is a step forward, but Risso claims progress is still limited.
"Although we have a legal framework, we have a really conservative judiciary. Some judges are not using these [alternative sentences] enough," Risso said. "They do not implement them because they do not trust the structure. We need to invest in these, to show that they are working much more effectively than constructing new prison units."
But while tackling overcrowding is an area that continues to have some energy behind it, prison conditions in São Paulo and the country at large remain in dire straits. According to Dias of the FBSP, really breaking prison gangs requires improving the basic management of penitentiaries.
And while the recent headline-grabbing prison violence in northeastern Maranhão state briefly focused attention on poor conditions, this conversation has slipped out of the national consciousness in the weeks since.
Ultimately, taking back prisons in São Paulo from the PCC will require more than increased surveillance, these analysts emphasize. Until authorities assume greater responsibility for prisoners' basic needs and well-being, the PCC and other powerful rivals will remain the only viable authorities in the eyes of those behind bars.
BRAZIL PCC PRISONS WHAT WORKS
The Inescapable Prison of Barrio 18 in Honduras
BARRIO 18 / 17 JAN 2023
To Desafio, the Barrio 18 gang in Honduras was everything. It provided a family, a sense of belonging. Until his…
What Lies Behind Bolivia's Expanding Cocaine Trade?
ARGENTINA / 25 OCT 2022
Bolivia's cocaine trade is on the up. Originally a coca leaf cultivator, Bolivia has moved to cocaine production.
Lagartos
ECUADOR / 1 JUN 2021
Integrated by multiple gangs with shared allies and enemies, Los Lagartos is one of Ecuador's prolific prison gangs, whose rivalry…


A truly spectacular McLaren P1 was recently spotted in the heart of Geneva during the ongoing auto show there. Finished in a shade of bright blue we haven't seen before and complete with massive silver wheels, this P1 is definitely the most eye-catching to roll off the production line thus far.
When combined with the city lights of Geneva, the blue really pops thus making the first image you see a no-brainer when it comes to being our latest Photo Of The Day addition!
As if you need reminding, the McLaren P1 is one of three new hybrid hypercars on the market, the others being the Porsche 918 Spyder and LaFerrari. The P1 utilises an upgraded variant of the 3.8-liter twin-turbocharged V8 engine from the 12C designed to now deliver 727 hp at 7,300 rpm and 531 lb-ft of torque at 4,000 rpm.


text:
Q: UnsatisfiableError: conflict - keras-gpu - tensorflow-base Need help friends/ experts:I'm facing this issue below:
UnsatisfiableError: The following specifications were found to be in conflict:
  - keras-gpu
  - tensorflow-base
Use "conda info <package>" to see the dependencies for each package.

A: You should have installed the Keras GPU version and the TensorFlow CPU version caused the conflict. method 1: Re-create a TensorFlow-GPU environment under Anaconda Prompt using Pip to install TensorFlow-gpu and Keras, respectively. method 2: Under the Anaconda Navigator direct install Keras-gpu, this self dependent tensorFlow-gpu.

redpajama_set_name: RedPajamaStackExchange


text:
Approved until 31 May 2020
Confectionery/Snacks
Established in 1932, Butlers Chocolates is Ireland's premier family-owned chocolatier. Butlers Chocolates are available in 30 countries and 60 airports around the globe, with a world-class reputation that continues to grow.
The company supplies a wide range of sustainably sourced chocolate products including; award-winning premium chocolate assortments, gourmet solid and filled chocolate bars in various sizes, chocolate collections with alcohol, souvenir gifts and travel retail exclusives.
Butlers is known and loved throughout Ireland and beyond for their eponymous retail concept - Butlers Chocolate Café, an innovative experience personifying the Butlers brand, now open in over 30 locations worldwide including South Asia and Dubai. Butlers Chocolates have won over 30 Great Taste Awards as well as numerous Irish Food Awards and Quality Irish Food Awards.
Committed to Responsible Sourcing
Butlers Chocolates is committed to the ethical sourcing of ingredients. Butlers Chocolates is a member of Cocoa Horizons, a programme which seeks to improve the livelihoods of cocoa farmers and their communities. The coffee used in Butlers Chocolate Cafés is Fairtrade certified and ethically sourced.
Focused on Renewable Energy
The company installed a 420,000kWh solar rooftop unit atop its Dublin factory; the biggest installation of its kind on an industrial premises in the Republic of Ireland. The installation of the unit meets approximately 14% of the company's annual energy demand with over 350,000kWh of electricity generated each year.
Support Communities at Home and Abroad
Butlers pride themselves on being a socially responsible company and frequently support local, national and international charity and social projects that are of benefit to the wider community. They support the Hope Foundation – a Cork-based charity that works to feed and educate street children in Calcutta and produces bespoke chocolate bars for the Hope Foundation, which they sell on to raise funds.
Clonshaugh Business Park
Web: www.butlerschocolates.com


ProTeus is an advanced Facilities Maintence Management Software that assists educational facilities in managing their maintenance resources and physical assets effectively and efficiently throughout their entire life cycle. Preventative Maintenance Master Scheduling allows for the creation of a single master plan for each individual asset. Innovative, flexible, user friendly, maintenance scheduling, work order reporting and BAS Interface are a few of the many benefits ProTeus offers to educational facilities.


text:
Why Do We Take The Census?
By Heather Brown May 9, 2019 at 10:00 pm
Filed Under:Good Question, Heather Brown, U.S. Census Bureau
MINNEAPOLIS (WCCO) – The Supreme Court will decide if a controversial question about citizenship is added to next year's census. The Justice Department says it needs an accurate count to enforce the Voting Rights Act, but critics say it could cause large groups of people to skip the census.
So, that had us wondering: Why do we take the census? Good Question.
Article 1, Section 2 of the U.S. Constitution says "actual enumeration" will be taken every "ten years, in such manner as they shall by law direct."
"We have a lot at stake," says Andrew Virden, director of census operations and engagement at the Minnesota State Demographer's Office. "There's a lot of different reasons why you might care about the census even if you don't know it."
The official data is used for a number of different purposes by the government, academics, nonprofits and businesses.
First, it determines the numbers of Congressional seats each state has in the U.S. House of Representatives. For the past three censuses, Minnesota has been on the verge of losing one of its Congressional seats.
RELATED: Minnesota Among States Suing Government Over Census Question
"There are 435 seats in Congress and Minnesota got the 435th of those seats," says Virden. "It was that close."
Census data is a big factor in determining the level of federal funding given to each state. Each year, Minnesota receives $15.5 billion in federal funding, which translates to $28,000/person over the decade.
Businesses and local governments also use the data to plan where roads, schools, hospitals or new stores should be placed.
"Voting is the rockstar of civic engagements," says XP Lee, community liaison for the City of Brooklyn Park. "But the Census is the nerdy tech guy that works in the background."
Lee, who's also organizing census efforts with the Hmong American Census Network, says rockstars are just as important as nerdy guys. He started census organizing with traditionally undercounted groups in February 2018. Since then, he's been part of city/county partnership meetings and listening groups as well as creating public service announcements in the Hmong language.
"The message is important, but the messenger is also important," Lee says. "It takes time to get into the communities and build the relations, so they can trust you and feel more confident in filling out the census."
This will be the first time people will have the option of filling out the census forms online. In mid-March of 2020, the first mailings will be sent informing people how to complete the census questions online. A smaller group of people who live in areas with limited internet access will receive paper forms.
Virden says he expects the Census Bureau to open three offices in Minnesota – Minneapolis, Rochester and Duluth – in mid-summer of 2019.
Heather Brown loves to put her curiosity to work to answer your Good Questions on WCCO 4 News at 10, and helps you kick your weekdays off on WCCO...More from Heather Brown


"The horses" (the working and interaction environment for students and teachers, more infos on teachingweb.org) are not on the new web server but all previous "horses" ("The horse 17, 18 and 19") and future "horses" are hosted by an Azure App Service Plan. The benefit of this approach is the easy handling, data safety, an infinite scalability, very low costs and the possibility of automating the process of creating new "horses" in the future.
All our web applications obtained its own SSL certificate for an encrypted communication between your browser and the website. Due to the certificate authority Let's Encrypt it's now possible to get certificates for no money!
Running WordPress (save-energy.tips) on a Window Server is still deemed to be a little like a "special case" but there is no reason not to do so. Admittedly there are some "helpers" for "easy installing" of everything that's needed to run a WordPress website on a Windows Server (p.ex. the cool Web Platform Installer) but in this case you will not get the latest PHP version, the most up to date MySQL Database Server, PHPMyAdmin & so on. So we decided to do it ourselves and I think it was worth the work as we are happy with the performance. There are some helpful hints to set up an environment to run a WordPress website on a Windows Server and IIS. When I find time I will share my experience and write a short post about it.
We're operating and managing our e-mail server (hMailserver) now/new on a separate server (some work is still to be done).
We have more than 10 years work experience in managing Windows Server with IIS (Windows Server 2003, 2008/R2, 2012 and today 2016) and minor experience with Apache. We did hosting services for "customers with a project" and even operated & managed server and web applications for third parties. Today we are focused on our own projects but open-minded for interesting & useful experiments with others.


This gorgeous tri colour weave blanket is a generous size for a throw and is ideal for cots or for snuggling up on a cold wintry night! The London Guard pattern is a whimsical take on classic images from childhood and is bound to be treasured and to make you and your little one smile.
Soft, yet durable enough for everyday use, you can even use it as a tummy time mat or in a pram.


text:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>ResetSuperstepMetricsObserver (Apache Giraph Core 1.0.0 API)</title>
<meta name="date" content="2013-11-04">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">

您的浏览器已禁用 JavaScript。

概览

程序包

类

使用

树

已过时

索引

帮助

上一个类

下一个类

框架

无框架

所有类

概要:

嵌套 |

字段 |

构造器 |

方法

详细资料:

字段 |

构造器 |

方法

org.apache.giraph.metrics

接口 ResetSuperstepMetricsObserver

所有已知实现类:

BspServiceMaster, BspServiceWorker, ByteCounter, GraphTaskManager, NettyWorkerClient

public interface ResetSuperstepMetricsObserver

Observer for users of per-superstep counters. Triggered with calls whenever
 we are starting a new superstep so that user can re-initialize their metrics.

方法概要

方法

限定符和类型
方法和说明

void
newSuperstep(SuperstepMetricsRegistry superstepMetrics)

Starting a new superstep.

方法详细资料

newSuperstep

void newSuperstep(SuperstepMetricsRegistry superstepMetrics)

Starting a new superstep. Re-initialize your metrics.

参数:

superstepMetrics - SuperstepMetricsRegistry being used.

概览

程序包

类

使用

树

已过时

索引

帮助

上一个类

下一个类

框架

无框架

所有类

概要:

嵌套 |

字段 |

构造器 |

方法

详细资料:

字段 |

构造器 |

方法

Copyright © 2011-2013 The Apache Software Foundation. All Rights Reserved.

redpajama_set_name: RedPajamaGithub


ACTI's team has local knowledge of and networks in China and Australia, who have come together to facilitate China market entry development success.
Rob has 20 years of experience advising and mentoring life science start-ups with EY and 9 years in China through his own China-based advisory firm. He is Representative, China for AusBiotech and has worked to help more than 200 health and tech start-ups find success in China.
Glenn has accumulated over 40 years of experience in commercialising Australian science from R&D through to capital markets and investments. Glenn was formerly on the advisory committee for multiple programs such as the MTPConnect Bridgetech program, the BioMedTech Horizons Fund (BMTH) etc.
Cyndi is Founder and General Manager of a leading Chinese healthcare accelerator and incubator. Cyndi operates a 20,000 square metre life science incubator space in China and has incubated over 300 local and international health and tech companies in China.


A local policing unit was somewhat taken aback when it received an telephone apology from a motorist who had been caught breaking the speed limit.
The Stockland Green area of Erdington in Birmingham was operating a community speedwatch operation and the driver had received a warning letter after being caught exceeding a 30mph speed limit.
Upon receiving the letter the driver telephoned the police to apologise personally and claimed he had been unaware of the 30mph speed limit.
PCSO Duncan Long, from the Birmingham North local policing unit estimated the unit had sent out up to 600 similar letters - but this was the first time they had ever been contacted with an apology.
No prosecutions are instigated by a community speedwatch scheme, which is simply an initiative aimed at raising awareness of speeding in residential areas.
However, details of the offending vehicles are retained and a warning letter is issued advising on the impacts of speeding, such as injuries, potential prosecutions and more expensivecar insurance .
PCSO Long said: "Exceeding speed limits can put other road users, pedestrians, and people living on these roads at risk. When motorists see us carrying out these speed checks, or receive a letter, they are reminded of this and will consider the safety of themselves and others in the future."
PCSO Long did, however, add that he didn't expect to receive an apology from every motorist.


text:
Q: Discrete Distribution Help If p(n) = c(5/8)^n, 3 <= n <= infinity is a p.m.f. for a discrete random variable X, find (a) c, (b) the probability P(6 <= X <= 16), (c) the mean and (d) the variance
Here's my work. I think got c wrong and haven't gone past it.
(a) Since the sum of p(n) = 1, I got c(5/8)^1 + c(5/8)^2 + the sum from 3 to infinity of c(5/8)^n = 1. (I figured that because p(n) started at 3 I need to add the first 2 terms). I got (5/8)c + (25/64)c + (1000/1536)c = 1. Which reduces to 1560/2560 = 39/64 = c.
(b) Would I just added up c(5/8)^6 + c(5/8)^7 + ... c(5/8)^16?
(c) Would I just find the expected value E(X) = (x)p(n) from 3 to infinity (using the geometric series?)
(d) Would I just find E(x^2) + ((E(X))^2)?
Sorry for the formatting, I haven't learned LaTeX

A: a. $$\underset{n=3}{\overset{\infty }{\mathop \sum }}\,c{{\left( \frac{5}{8} \right)}^{n}}=1\Rightarrow c\cdot {{\left( \frac{5}{8} \right)}^{3}}\left( 1+\frac{5}{8}+\ldots  \right)=1\Rightarrow c\cdot {{\left( \frac{5}{8} \right)}^{3}}\frac{1}{1-\frac{5}{8}}=1\Rightarrow c=\frac{192}{125}$$
b. $$\underset{n=6}{\overset{16}{\mathop \sum }}\,\frac{192}{125}{{\left( \frac{5}{8} \right)}^{n}}$$
c. $$E\left( N \right)=\underset{n=3}{\overset{\infty }{\mathop \sum }}\,\frac{192}{125}\cdot n\cdot {{\left( \frac{5}{8} \right)}^{n}}$$
d. $$E\left( {{N}^{2}} \right)=\underset{n=3}{\overset{\infty }{\mathop \sum }}\,\frac{192}{125}\cdot {{n}^{2}}\cdot {{\left( \frac{5}{8} \right)}^{n}}$$ and $$Var\left( N \right)=E\left( {{N}^{2}} \right)-{{\mu }^{2}}$$
for sums you can use
$$1+x+{{x}^{2}}+\ldots =\frac{1}{1-x}$$
$$1+2x+3{{x}^{2}}+\ldots =\frac{1}{{{\left( 1-x \right)}^{2}}}$$
 (derivatives).


text:
Гладиус () е къс римски меч, заимстван от испанския gladius hispaniensis след края на Втората Пуническа война. Оръжието е изработено от желязо или стомана и разполага със стесняващо се към върха половин-метрово острие, а дръжката на ефесът се изработва от бронз или слонова кост. Носи се от римските легионери в ножница на ремък (balteus), преметнат през лявото рамо. Така мечът стои на десния хълбок и войникът може да го извади, без да променя положението на щита scutum. Така бойната ръкопашна техника на римляните след реформите на Гай Марий се изразява в това да мушка врага иззад прикритието на големите си щитове.

През I век гладиусът претърпява някои технически изменения – дължината му намалява от 55 до 45 см, а острието му се видоизменя в такова с паралелни краища, а заострената част става по-къса. Познати са няколко разновидности на гладиуса, различавали се по дължината си и дължината на върха, а също така и по произхода си. Най-дълъг е тип "Майнц" /55 см./, с връх от 6,25 до 7,5 см. Тип "Фулъм" бил с по-тънко острие, а скъсяващата се част била по-дълга. Тип "Помпей" е най-разпространен – дължина на острието 45 см, а върхът – най-къс – 5 см. Както подсказва названието му, мечът гладиус е използван от гладиаторите в гладиаторски битки. . След II век гладиусът постепенно е заменен във въоръжението на легионерите от спатата. Дръжката от слонова кост е била предназначена за войниците с по висок ранг, командващи взводове и отделения. Ножницата / канията също е била по богато украсена от тази на редовите войници.

Източници

Външни препратки

 Roman Military Equipment at the Roman Numismatic Gallery (romancoins.info)

 Iron of the Empire: The History and Development of the Roman Gladius (myArmoury.com article)
 Janet Lang, Study of the Metallography of Some Roman Swords
 Niko Silvester, FROM RAPIER TO LANGSAX: Sword Structure in the British Isles in the Bronze and Iron Ages
 Richard F. Burton, THE SWORD AMONGST THE BARBARIANS (EARLY ROMAN EMPIRE).
 Taylor, Michael J. "Sword of the Republic: The Gladius Hispaniensis." Classic Arms and Militaria Magazine. October 2011.

Древни оръжия
Мечове
Римски лични оръжия
Военна история на Древен Египет

redpajama_set_name: RedPajamaWikipedia


There is a perfect Hervey Bay accommodation for you. If you are looking forward to spend a holiday vacation with yourself, your partner or your family, Hervey Bay surely is a great option. Vacationers usually get annoyed by lack of decent and comfortable places to stay in when they go somewhere in vacations. That can never be the case if you decide to spend your holiday getaway in the city.
Hervey Bay is a popular tourist-flocked city located in the southeastern portion of Queensland state in Australia. Geographically, Hervey Bay touches the ocean. It is located on the South Pacific Ocean shores. The city is just a few meters away from the tourist popular Fraser Island, which is the biggest sand island in the globe. From Hervey Bay, vacationers can also easily get to the Lady Elliot Island, Great Barrier Reef's pristine resort island.
The strategic geographical feature plus the whale watching attraction makes the city reliant on heavy tourism. Statistics has it that Hervey Bay regularly attracts up to 600,000 vacationers annually. Thus, it is just logical that there is enough Hervey Bay accommodation options available to vacationers. You will never have a hard time finding and looking for a great Herver Bay accommodation of your preference and choice.
To begin with, there are many flats, caravan parks, apartments, bed and breakfast sites, resorts, backpacker hostels and motels available for every type and group size of vacationers. You can take your pick of any Hervey Bay accommodation from those choices. Whether your getaway is a romantic vacation for you or your partner or a family quality bonding time or a fun, adventure-clad outing for your friends and relatives, there surely is an appropriate Hervey Bay accommodation site to suit your requirements.
Self-contained units are overlooking the prestige waters and the sight of the equally popular Fraser Island. Such Hervey Bay accommodations are popular among vacationers coming from other countries. For tourists aiming greater access to nature sights and wonders, there are caravan parks. Holiday homes are Hervey Bay accommodations for families, while backpacker hostels are for those who just dropped by and do not intend to stay longer than a few days. There are also resorts to provide guests better view and access to the finest beaches in the area.
Climate is a major attraction of Hervey Bay as well. Hervey Bay is loved for its sub-tropical climate usually margining warm temperatures. During summer months of December to February, temperatures can go as high as 30 degrees Celsius. Rain is also more frequent in summer. The winter season is more ideal, as temperatures reach 21 degrees Celsius with a low of just about 10 degrees Celsius, still ideal for outdoor recreational activities.
Hervey Bay accommodations are more in demand during winter, from June to September, because the temperature is not that high but is still ideal for recreational and outdoor tasks. Winter months are also dry. If you plan to book a reservation in a Hervey Bay accommodation, coordinate with your travel agent now and book a winter vacation in the city.