text:
The Hawaii Independent
Rep. Ward's new urine bill is crap
When will our lawmakers realize that bills criminalizing the houseless won't fix the problem?
Will Caron in Houselessness February 03, 2017 02:32 PM
Rep. Gene Ward (District 17, Hawaiʻi Kai, Kalama Valley) joins the list of lawmakers who are completely clueless when it comes to addressing our state's tragically high rate of houselessness. Co-introducer Tom Brower (District 22, Waikiki, Ala Moana)—who, unbelievably, was made chair of the Housing committee this session—has long been on that list (sledgehammer vigilantism anyone?). Along with Reps. Lynn DeCoite (District 13, Haʻikū, Hāna, Kaupō, Kīpahulu, Nāhiku, Pāʻia, Kahoʻolawe, Lānaʻi, Molokaʻi, Molokini), Joy San Buenaventura (District 4, Puna), Calvin Say (District 20, St. Louis Heights, Pālolo, Maunalani Heights, Wilhelmina Rise, Kaimukī) and Sharon Har (District 42, Kapolei, Makakilo), Ward and Brower introduced a bill (HB 1595) last week that would "create urine-free zones as a means of protecting the public's health."
While public health concerns should certainly be taken seriously, this is another in a long line of bad policies that do more harm than good for our houseless population and the community at large.
Oʻahu politicians including Brower, Honolulu Mayor Kirk Caldwell, former Honolulu Mayor Mufi Hannemann and former Honolulu City Councilwoman (and current Congresswoman) Tulsi Gabbard have long supported measures aimed at targeting the houseless and, effectively, punishing them for being houseless. Just like the Honolulu sit-lie bans and encampment raids, this bill does nothing to address the causes of houselessness and, instead, seeks to criminalize behavior that, while unfortunate, is not usually the fault of the person engaging in it. No one—with perhaps a few exceptions—wants to urinate or defecate in either public spaces or on private property, just as no one actually wants to sleep on the doorstep of the Kūhiō Avenue McDonalds in Waikīkī. The houseless members of our society who engage in this behavior do it because they have no choice.
This inhumane and, very likely, unconstitutional (see Article 1, Section 9, Clause 3 of the U.S. Constitution), steaming piece of legislation, just like the laws and ordinances enacted before it, ignores the socio-economic realities that lead to houselessness in the first place. Our socio-economic system has made thousands of our brothers and sisters—families, keiki and kūpuna—houseless, and now we're going to penalize them for it?
All you have to do is read the insulting and condescending statement Ward put out on the bill today to see how backwards he is in his strategy for addressing the public health concern that comes with public urination and defecation:
A person can be lying in their feces in a public stairwell and have an absolute constitutional right to do so, but the citizens walking over or through this public health hazard have no rights.
Really? It's the rest of us who have no rights in the context of poverty and houselessness?
On top of this, the bill won't be effective at bringing down the number of houseless, or addressing the mental health or drug abuse problems that might lead to a person becoming houseless, despite attempting to establish mandatory treatment as one possible consequence of violating the proposed law. Studies and first-hand accounts have shown that people do not respond well to forced treatment, just as they don't respond well to forced sheltering.
In Seattle, police have found that, when given the option to visit an assessment center (as opposed to being forced into one or jailed), houseless people are much more likely to respond positively. When given the choice, most people will seek help.
"Beat cops know the people that get into trouble. In Seattle, they were getting frustrated because they'd have to arrest someone, and do a bunch of paperwork, and then those people would be back the next day," said Kat Brady, Executive Director of the Community Alliance on Prisons. "Criminalizing them doesn't work. So the cops met with service providers to identify the mental health, substance abuse, houselessness and family abuse issues that people had and they got together to try and fill the needs in the community."
The Seattle Law Enforcement Assisted Diversion program has seen great success in breaking the cycle of incarceration for nonviolent drug offenders, reducing overall drug crimes and reducing recidivism.
The other possible consequence of Ward's proposed new law is a fine—one that houseless people will certainly not be able to pay, and which will result in even more inmates in an already bursting-at-the-seems state prison system. Instead of criminalizing the houseless and making their already difficult lives even more challenging, we should be assessing the different needs the houseless population has and establishing a comprehensive suite of community programs designed to address those needs. Some programs already exist, and they should be bolstered, and additional programs that intersect and reinforce one another should be developed and funded.
"Rep. Ward should focus on increasing funding for Housing First, the nationally recognized best program for meeting the needs of our state's houseless population," said long time houseless advocate and Executive Director of IMUAlliance, Kris Coffield. "Criminalizing people for being poor is cruel and inhumane. We need a longterm strategy to make Hawaiʻi more affordable, one that targets the foreign and mainland real estate speculators driving up our state's cost of housing and, in turn, cost of rent. We have condominium complexes where the units are almost entirely owned by nonresidents paying average prices in the millions. We need to spend less time catering to people using Hawaiʻi as their personal Monopoly board and more time meeting the needs of our state's most economically vulnerable population."
Our elected officials must educate themselves about the causes of houselessness and make a genuine commitment to advancing socio-economic equity, instead of foolishly throwing short-sighted, ineffective and injurious legislation at the problem that targets and penalizes poor, sick and at-risk members of our community.
Kathy Xian, another long time houseless advocate and Executive Director of the Pacific Alliance to Stop Slavery sums it up succinctly: "Urine free zones won't address anything effectively. Creating more funding for mental health services and public bathrooms will."
She added, "I'd rather he address the feces dumped overboard from the 700 fishermen trafficked to work on the longline fishing industry at our harbor first."
Houselessness
State should support, not persecute, Waianae puuhonua
Rep. Quixote and the vanishing turd
Neighbor island data confirms houselessness on the rise
Study shows sit-lie laws have worsened Honolulu's houseless problem
Mayor Caldwell announces temporary housing plan for houseless
Caldwell vetoes Bill 6: sit-lie expansion
State bills would help rectify injustices caused by Honolulu's "nuisance" laws
Honolulu government clueless on houselessness
ACLU declares First Amendment victory
Education, international law and self-determination
Progressive island perspectives
Copyright 2009-2021 The Hawaii Independent Corporation
thehawaiiindependent.com
Beat blogs, multimedia, and web features
Posts, background information, and associated media for a topic. Add a collection
Live-tweeting, links, and crowd-sourced journalism
Links and discussion


text:
Q: How I can count the objects from a key of dictionary? I have this dictionary (ignore the "Rank" key):
dict={
    "asset": [("S3","A1"),"S2",("E4","E5"),("E1","S1"),"A6","A8"],
    "Rank": lirank,
    "number_of_attributes":
}

Ι want to count the objects of the "asset" key and add it to "number_of_attributes" as a list.
Τhe output that I want is :
"number_of_attributes":[2,1,2,2,1,1]

the values come from the first object of asset ("S3","A1") having 2 items, the second ("S2") having 1 item, etc.
I would ideally like to write it with a for loop but I am open to other ideas.

A: you can use a list comprehension:
my_dict["number_of_attributes"] = [1 if isinstance(x, str) else len(x) for x in my_dict["asset"]]
print(my_dict["number_of_attributes"])

output:
[2, 1, 2, 2, 1, 1]

A: First, consider naming your variables different than dict, list or tuple.
Second, a solution to this issue is already provided here:
https://codereview.stackexchange.com/questions/97217/deep-length-of-a-list
For your specific case:
myDict={"asset":[("S3","A1"),"S2",("E4","E5"),("E1","S1"),"A6","A8"], "Rank": lirank }

myDict["number_of_attributes"] = [len(itm) if isinstance(itm, tuple) else 1 for itm in myDict["asset"]]

print(myDict["number_of_attributes"])

Here is a link to an online python repl for your problem: https://repl.it/repls/SuperiorDisastrousMuse

A: There are answers above that provides you with a fix for your problem. However, the reason that you are in trouble with this is that you are mixing datatypes in the asset list. This is not typically a good idea, and your problem here is a good example of why.
Normally, if you had a list of items and you wanted the "length" or "number_of_attributes", as you need in this case, you would just want to be able to do something like:
number_of_attribues = [len(x) for x in dict['asset']]

But len(..) behaves differently for tuple and string, and for string it doesn't give you the value you want (1) but the count of letters in the string (2).
This happens because the asset list you have has items of different data types. This list:
asset = [("S3","A1"),"S2",("E4","E5"),("E1","S1"),"A6","A8"]

is a list of tuples and strings mixed. You can see this by looping through the list and printing the data type:
>>> for a in asset:
...     print(type(a))
...
<class 'tuple'>
<class 'str'>
<class 'tuple'>
<class 'tuple'>
<class 'str'>
<class 'str'>

If you can change your asset list to use lists instead of tuples, then you'd have a much simpler solution. Like so:
If you can change your input list to contain items of the same type:
asset_as_list = [["S3","A1"],["S2"],["E4","E5"],["E1","S1"],["A6"],["A8"]]

You now have a list of lists. The tuples are now a list of two items (you call them attributes here) and the strings are now a list of one item.
This will give you two good things:
1) It will allow you to get your number_of_attributes in a much simpler way:
>>> number_of_attribues = [len(x) for x in asset_as_list]
>>> number_of_attribues
[2, 1, 2, 2, 1, 1]

2) You don't mix datatypes in your list, and it will be much easier to work with in other situations as well as making your code easier to understand and debug. Which will become more important as your codebase grows larger and larger.

redpajama_set_name: RedPajamaStackExchange


Plastering contractors San Jose is expected to have information about a number of types of plastering like internal plastering, external plastering, plaster slabbing, metal studding, spray plastering, skimming, and floating, screening , dry lining,Venetian Plaster Contractor, Stucco Repair service, Lath and Plaster repair and Santa Barbra Smooth Coat Contractor in San Jose CA.
Some particular services offered are - pebble dashing, Venetian Plaster Contractor rendering, coving, damp course installation or Tyrolean. This is a particular type of mix called the Tyrolean mix and is a white or colored cement based mix. It offers an attractive and defensive rendering. It is frequently applied by power operated machines and sometimes by hand. The result that it provides is of an open honeycombed textured finish.
Find a good Plastering contractors San Jose to do the repair and renewal in your home. Find one of the local builders with a good status and you may talk to a few of them. After narrowing down your search check out their completed jobs and take the view of the clientele. Since he works for the local builder, it will be simple to check out the job in the neighborhood.
First and foremost, make certain that the professionals you employ is a skilled and experienced Interior Plastering contractor San Jose California. You require someone who has experience and is good at his work, if you desire to acquire a reasonable amount of plastering work in your house.
The correct Plastering Contractor will make all the difference to the renovation in your house. A good one will offer it a great finish and once the walls are painted, it will all look like new. So, it's a way better idea to hire plastering or stucco contractors San Jose, instead of doing it on your own and messing it thereafter, right?


text:
Q: ChartJS 'Hello World' not animating I've been trying to get the ChartJS example from http://www.chartjs.org/docs/latest/ working, but I'm running into two unexpected issues:

*

*The graph is not animating

*The graph is huge (it seems to be ignoring the height/width properties on the canvas element).

Snippet (copied from the documentation) is here: https://codepen.io/anon/pen/KmOQoj
<html>
<head>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.6.0/Chart.js">
</script>
<script>
function load() {
var ctx = document.getElementById("myChart").getContext('2d');
var myChart = new Chart(ctx, {
    type: 'bar',
    data: {
        labels: ["Red", "Blue", "Yellow", "Green", "Purple", "Orange"],
        datasets: [{
            label: '# of Votes',
            data: [12, 19, 3, 5, 2, 3],
            backgroundColor: [
                'rgba(255, 99, 132, 0.2)',
                'rgba(54, 162, 235, 0.2)',
                'rgba(255, 206, 86, 0.2)',
                'rgba(75, 192, 192, 0.2)',
                'rgba(153, 102, 255, 0.2)',
                'rgba(255, 159, 64, 0.2)'
            ],
            borderColor: [
                'rgba(255,99,132,1)',
                'rgba(54, 162, 235, 1)',
                'rgba(255, 206, 86, 1)',
                'rgba(75, 192, 192, 1)',
                'rgba(153, 102, 255, 1)',
                'rgba(255, 159, 64, 1)'
            ],
            borderWidth: 1
        }]
    },
    options: {
        scales: {
            yAxes: [{
                ticks: {
                    beginAtZero:true
                }
            }]
        }
    }
});
}
</script>
</head>
<body onload="load()">
    <canvas id="myChart" width="400" height="400"></canvas>
</body>
</html>

A: here is working code
keep canvas inside div and set height and width for div and make chart as responsive

function load() {
    var ctx = document.getElementById("myChart").getContext('2d');
    var myChart = new Chart(ctx, {
        type: 'bar',
      responsive:true,
    maintainAspectRatio: false,
        data: {
            labels: ["Red", "Blue", "Yellow", "Green", "Purple", "Orange"],
            datasets: [{
                label: '# of Votes',
                data: [12, 19, 3, 5, 2, 3],
                backgroundColor: [
                    'rgba(255, 99, 132, 0.2)',
                    'rgba(54, 162, 235, 0.2)',
                    'rgba(255, 206, 86, 0.2)',
                    'rgba(75, 192, 192, 0.2)',
                    'rgba(153, 102, 255, 0.2)',
                    'rgba(255, 159, 64, 0.2)'
                ],
                borderColor: [
                    'rgba(255,99,132,1)',
                    'rgba(54, 162, 235, 1)',
                    'rgba(255, 206, 86, 1)',
                    'rgba(75, 192, 192, 1)',
                    'rgba(153, 102, 255, 1)',
                    'rgba(255, 159, 64, 1)'
                ],
                borderWidth: 1
            }]
        },
        options: {
            scales: {
                yAxes: [{
                    ticks: {
                        beginAtZero:false
                    }
                }]
            }
        }
    });
}
<html>
<head>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.6.0/Chart.js"></script>
</head>
<body onload="load()">
  <div style="width:400px;height:400px">
<canvas id="myChart" width="400" height="400"></canvas>
  </div>
</body>
</html>


Silverscape luxury residence provide breath-taking views of the Straits of (URL HIDDEN) sits directly above the Element Mall so that shopping,dinning and recreation is literally just a few steps away.
Our homestay is dual key unit.This is studio type.
Direct link to mall and cinema.


You don't need to be a master sommelier to understand wine varieties. Red wines include Merlot, Cabernet Sauvignon, Malbec, Zinfandel, and the newly popular Pinot noir. On the White side, the most popular are Sauvignon blanc, Chardonnay, Pinot blanc, Pinot gris, and Rieslings.
The differences can be subtle, obvious and sometimes varying. You can instantly fall in love with some wines. Others you may learn to enjoy over time. It's subjective and depends on your sense of adventure.
Cabernet Sauvignon is a red high in tannin, resulting in a more heavy, fragrant drinking experience. Not a light wine, usually containing a smoky, peppery flavor. Savor it over a long meal. As this wine does get better with age, select a bottle that is at least 10 years old. Merlot is not as strong compared to Cab. It's a mellow and fruity variety. Take a sniff to discover touches of plums, raspberries and currants.
Lately, I've been enjoying wonderful Malbec's from Argentina. Affordable and delicious. Dark and mellow, easy to drink. A full-body red wine with touches of blackberries and plums.
The popularity of Pinot noir went through the roof after Sideways, taking the wine industry by surprise. Powerful and aromatic, Pinot noir can be deliciously overwhelming to the senses. Think woody and cherry. As it is a difficult grape to grow, Pinot noir tends to be a bit more expensive.
Zinfandel is the Rodney Dangerfield of wines. Strong in alcohol and spicy, these qualities can be disruptive to a great meal. That being said, wine producers are mellowing those attributes — finally earning Zin some respect.
Chardonnay is an accessible white wine for beginners. A gentle wine, fruity, with smoky touches. You'll look impressive selecting a random Chardonnay from the menu to compliment your seafood, you can't go wrong. Pinot blanc is a bit similar to Chard, with a sharper, crisper tone. A bit dry, with hints of spice and apple. Next is Pinot Gris, a subtle, lighter wine with touch of honey and citrus.
Wonderful German Rieslings are strong and sweet. Perhaps too acidic and dry for some. Perfect companion with pork. Sauvignon blanc is also a dry, crisp and refreshing white wine.


Every year, over two million Muslims visit the country of Saudi Arabia to perform something called Hajj (say "HA-dge"). And Muslims have been doing this for hundreds of years! Keep reading to find out more about this special tradition.
Hajj is a pilgrimage, or journey, that Muslims must make once in their lifetime, as long as they can afford it and are healthy enough.
It is one of the five pillars of Islam (the religion Muslims follow). These five pillars are important ways Muslims practise their religion, and they include faith, prayer, charity, fasting and Hajj.
Hajj takes place in the last month of the Islamic calendar, which is a lunar calendar. This means days in a month are based on the phases of the moon, which makes the Islamic year around 11 days shorter than the Gregorian calendar, which is from January to December. So Hajj doesn't happen at the same time each year; it moves back around 10 days every year on the Gregorian calendar.
This year Hajj is taking place from August 19th to August 24th.
What do you do during Hajj?
The Kaaba is a large square building in the middle of the Great Mosque of Mecca. During Hajj, pilgrims must walk around it seven times counterclockwise to ensure that the Kaaba remains on their left side. When Muslims pray five times in a day, wherever they are in the world, they face the direction of the Kaaba in Mecca. It is the most important building in the Islamic religion.
Pilgrims must walk between the hills of Safa and Marwa seven times; one site indicates that one should run, the other indicates one should walk. People who are older or have mobility issues may find it difficult, so wheelchairs and motorized carts are now on-hand.
Pilgrims travel to Mount Arafat, a hill just outside of Mecca, and perform something called wuquf. This is where pilgrims ask Allah (God) for forgiveness for any past sins. They usually stay at the mount from noon until sunset praying. The wuquf is the most important part of Hajj. If a pilgrim doesn't perform the wuquf, their Hajj isn't valid.
In the city of Mina, pilgrims throw pebbles at three pillars called Jamarat. They do this to honour the story of the Prophet Ibrahim (Abraham), who Muslims believe drove away the devil at the same spot by throwing pebbles at him.
What else should I know about Hajj?
Pilgrims must dress very simply. Men wear two seamless pieces of white cloth, while women wear plain clothing of any colour. Dressing this way is meant to show that everyone is equal before Allah.
If a Muslim can't physically perform Hajj, they can ask someone to do it on their behalf as long as that person has done their own Hajj already.
Though it's not an official part of Hajj, many pilgrims also go to Medina, another holy city in Saudi Arabia. This is where the Prophet Muhammad is buried, in a big beautiful mosque.
Hajj is a tough, but very important and rewarding journey for Muslim pilgrims. Pilgrims who have completed Hajj can be called Hajji.
How much do you know about Halloween's bird, the crow?


text:
Q: Connect interface with Google Cloud Shell I have the next situation, I hope you can help me to solve this problem.
I need to create an interface that need to connected with Google Cloud Shell.
I need to write a command in the app and this need to be send to the Google Shell, but I don't know how to connect this and I don't find information about it.
An example can be
I write the next command to obtain information about gcloud topic:
gcloud help topic
And show the result in my web, without use or write the command directly on the Google Cloud Shell.
My web app is created with react and I want to send the command and show the results in the app, but I don't know how to connect with the Google Cloud Shell.
I hope you can help me, I'm so lost with this task, if I can give you more information, tell me.
Have a great day!


text:
Jurgen Klopp hails "very special" Mo Salah after "exceptional" opening day hat-trick
Mohamed Salah's Premier League numbers are up there among the best of the era but Liverpool manager Jurgen Klopp insists he offers his side much more than the bare statistics.
The Egypt international's hat-trick in the 4-3 win over Leeds took his tally to 76 in 109 matches since moving to Anfield.
He has scored 50 goals in 63 home games, second only to Alan Shearer (47 appearances) and Liverpool have now won each of the last 35 league fixtures in which he has found the net – overtaking Wayne Rooney's competition record set between September 2008 and February 2011.
Since his blistering maiden campaign, when he scored 32 times in 36 appearances, the 28-year-old's yearly total has been falling but what makes him so important to Klopp's side is his all-round game.
"First and foremost, congratulations to him. He is a very special player," said the Liverpool manager of Salah.
"The numbers tell the story a little bit. All the rest around you probably don't know about.
"But this is a very good example of it. He put three more goals on his scoring list, but the performance all-round was absolutely exceptional in a game like this.
"He deserved the goals 100 per cent. Two were penalties, one was a sensational finish, but he deserved them as he was constantly pressing, pressing, constantly causing the opponent massive problems, one-v-one situations, played his football.
"There have been a lot of good performances for us from Mo for sure, but this was one of the better ones.
"He should be proud of it because it's very special to get these kind of numbers. Long may it continue."
Salah was one of the few players even close to the top of their game as the Premier League champions began their defence with an entertaining, if error-strewn, victory to end Leeds' hopes of a dream start on their return to the top flight after 16 years.
Marcelo Bielsa's side did what few visitors have done to Liverpool during their run of 60 unbeaten home league matches, stretching back to March 2017, and dominated possession.
They enjoyed 52 per cent of the ball but their manager was unhappy they did not make the most of that, although their 100 per cent success rate from their three shots on target suggested they fully capitalised.
It offers them plenty of encouragement for the remainder of the season.
"We played according to our style," said Bielsa, who was rewarded for sticking to his principles.
"There were periods when Liverpool dominated and there were lots of periods where the game was even, in some moments we were able to be superior.
"The players were calm, they played a serene game and went into it confident.
"Confidence means that you shouldn't be afraid and also the team-mates help each other not to be nervous, gives you extra confidence and motivates you."
Salah scored two penalties in his hat-trick to bookend the scoring, the first in the fifth minute and the last in the 87th, as Virgil Van Dijk and Salah, who also scored with a rasping half-volley, saw goals cancelled out by Jack Harrison, Patrick Bamford and Mateusz Klich.
Tags Jurgen Klopp, Liverpool vs Leeds, Mohamed Salah
Jarrod Bowen to Liverpool: Everything we know on links with West Ham winger
Mo Salah misses out on top award – and isn't even named in FIFA Team of Year!
Barcelona CB linked & how goals have renewed Reds' hopes – Liverpool FC Roundup
Andy Robertson calls for Liverpool focus rather than hoping Man City "slip up"
Jordon Ibe leaves England for new club after tough 6 years since Liverpool exit
Trent Alexander-Arnold makes history as Jurgen Klopp hits 30 for 30

redpajama_set_name: RedPajamaCommonCrawl


A family is thrown into turmoil when a positive pregnancy test is found in the bathroom drawer.
Mother and daughter Julia and Ruth get their pregnancy tests mixed up when they both hide them in the bathroom. They set out to discreetly buy pregnancy tests in their small Irish suburban town, but are thwarted at every turn, bumping into people they know. Word spreads and friends and neighbors turn up at their home to find out the 'news' from distressed dad Robert.


text:
News PlayStation Portable PSP News
SCEE Working On Pursuit Force
January 11, 2005 Frank-Provo — No Comments
At the recent 2005 Consumer Electronics Show, a small group of media were shown a brief presentation on a "top secret" new franchise being developed by Big Big Studios for Sony Computer Entertainment Europe for play on the PSP.
We've poked and prodded a few PR people for details… and here is what we've learned–
The tentative title of the new game is Pursuit Force. The general concept behind the game is that it's "the law enforcement side of Grand Theft Auto." Players will assume the role of a law enforcement officer with his own squad car and motobike, but will also be able to commandeer civilian vehicles in order to chase after suspects. Like GTA, the game will be set in a large city environment. Much of the game will involve "borrowing" civilian cars and chasing after criminals, but players will be able to get out of the car and initiate gun battles as well. Unlike GTA, penalties will be given for injuring civilians and destroying property.
That's what we know for now.
Sounds like a modern re-invention of Chase HQ, doesn't it?
We'll have more information and screenshots in the coming weeks, once Sony officially announces the game.


text:
President Obama has a healthcare bracket for you, young invincible!
U.S. President Barack Obama delivers remarks about the launch of the Affordable Care Act's health insurance marketplaces and the first federal government shutdown in 17 years as he's joined by U.S. Health and Human Services Secretary Kathleen Sebelius (R) and Americans who will benefit from the Affordable Care Act in the Rose Garden of the White House October 1, 2013 in Washington, DC. House Republicans and Senate Democrats continue to volley legislation back and forth as they battle over a budget to keep the government running and delaying or defunding "Obamacare."
Win McNamee/Getty Images
Take Two | March 19, 2014
The Obama administration is pulling out all the stops to appeal to young invincibles as its key March 31st Affordable Care Act deadline approaches.
Apparently, that means cat GIFs ... lots and lots of cat GIFs. In its latest attempt to entice millennials to sign up at healthcare.gov, the Obama administration is even trying to capitalize on March Madness by announcing the costs of common sports injuries along with President Obama's bracket.
Buzzfeed's Evan McMorris-Santoro joins Take Two to talk about how effective this messaging is.
Tips for getting insurance on your 'health care birthday'
Affordable Care Act: Deadline looms amidst call center delays
White House Tries GIFs to Draw Young Adults to Obamacare
16 healthcare GIFs
White House: Sports injuries can be costly Read more here: http://www.mcclatchydc.com/2014/03/18/221519/white-house-turns-to-march-madness.html#emlnl=Morning_Newsletter#storylink=cpy
More from this episode: Take Two FOR March 19, 2014
Venezuela protest, translating 'Breaking Bad, narwhal science and more
UC Berkeley hires its first Wikipedian in residence
Sports Roundup: Dodgers, Phil Jackson and the New York Knicks and more
Report: Poor communication was a big issue in LAX shooting
'This Is What I Do': Boy George releases first album in 18 years
In Venezuela, protests continue after government takes over city plaza
Translating 'Breaking Bad' for a Spanish-language audience
Does a narwhal's tusk act as a sensory organ?
KPCC's coverage is a Southern California resource provided by member-supported public radio. We can't do it without you.


text:
Legalized Marijuana Might Go Up in Smoke From Pesticides and Politics
Before the ink on new marijuana laws has even dried, there are looming signs of trouble. To coin a phrase, where there's smoke, there might be a federal raid underway.
In 2016, California, Nevada, Maine and Massachusetts joined a handful of other states by legalizing the use, cultivation and sale of not just medicinal marijuana, but recreational as well. It's expected to be a cash crop, in terms of added jobs, retail sales and tax-income states will require from the highly regulated industry.
This is especially true in California, the most populous state in the country, where recreational pot is to go into effect in January 2018.
States face new challenges with pot sales, like tracking the flow of product, what market analysts refer to as the "seed-to-sale" supply chain. Regulation and compliance are such big issues some legislators in California don't believe everything will be in place for the start of next year.
The issue, however, has grown even more complex in two different ways.
Marijuana and Pesticides
First, a recent investigation by the NBC4 News Team found several instances of potentially harmful pesticides used in the cultivation of marijuana. While some states have strict regulations regarding pesticide use in grow operations, California is lacking.
Out of 44 samples, purchased from various southland dispensaries, the NBC4 investigative team found 93 percent tested positive for pesticides banned in other states.
"It's really like injecting pesticides right into your bloodstream," said Dr. Jeff Raber, a former University of Southern California chemistry professor who coauthored a study in the Journal of Toxicology about pesticides and pot. Dr. Raber told NBC4 that smoking pesticide-laced marijuana could damage a person's kidneys, liver and other organs.
White House Political Opposition to Marijuana
Yet another issue is the new, much more conservative administration in the White House. "Trump was never all that reassuring on the issue of marijuana legalization," Ethan Nadelmann, executive director of the Drug Policy Alliance, told The Los Angeles Times.
The marijuana lobby is also paying close attention to the appointment of Attorney General Jeff Sessions, a longtime supporter of the war on drugs.
Sessions has publicly signaled displeasure with state recreational marijuana laws despite the Department of Justice's stance under the Obama Administration.
White House Press Secretary Sean Spicer confirmed this in a recent briefing. Asked whether the Attorney General would break with the previous administration's position on recreational pot, Spicer said, "I do believe you'll see greater enforcement of it."
Spicer did make the point that Congress has previously passed a measure preventing the DOJ from prohibiting state medicinal pot laws.
As far as the country at large is concerned, a Quinnipiac University poll conducted earlier this month reports support for recreational marijuana crosses party lines. Of the voters polled, 59 percent support broad legalization while 36 percent of voters oppose it.
As supporters and critics try to interpret the federal smoke-signals, an all too important concern appears overlooked. The White House has made no statements with regard to funding public awareness campaigns about marijuana addiction or federal support for those in need of treatment and rehabilitation.
Marijuana Induced Sickness is Called Cannabinoid Hyperemesis Syndrome
Shatter: A Little Dab of Marijuana Might Do You In
Marijuana Dependence Treatment
Marijuana Legalization in Canada: Oh Cannabis, Glorious and Free
Marijuana Remains Schedule I, For Now Anyway
What Happens if Marijuana is Removed From Schedule I Classification?
The Problem of Mislabeled Edible Marijuana Products
Marijuana Breathalyzer – When You're Too High to Drive
Recreational marijuana is now legal in many states but pesticides and political pressure from the White House could cause many problems down the road.
← What's the Difference Between CBT and DBT? 'Unhooked' is a Mother's Story About Facing Her Son's Addiction →


Some of our Mac users are reporting wi-fi difficulties after updating to macOS Sierra 10.12. The most common wireless networking problems seem to be either randomly dropping wi-fi connections or an unusually slow or delayed wi-fi experience after updating. Sometimes they can't connect at all.


Welcome to the official website for the Leverhulme-funded 'Re-imagining Italianità' international research network based at UCL. This is a three-year project spanning three continents and four major Universities (UCL, University of Cambridge, Brown University, and Campinas).
Further details of the project can be found below, including details of our goals, research outcomes, conferences, and more.


text:
Q: Rendering Firebase Data in Table Editable (React JS) I found a tutorial on the Internet.
A simple CRUD Application written in JavaScript and React JS using Googles Realtimedatabase.
This is the Tutorial, I am talking about: https://sebhastian.com/react-firebase-real-time-database-guide
It works fine; however, it uses
 elements to display the data.
My dataset is quite bigger so I would like to display the data in a table.
It works and the Table displays everything like I want to, but the edit function is broken.
In the console is logged:

name: undefined

Here is the corresponding code. I've tried almost everything, googled, and changed the code a million times:

          Name
          PLZ
          Addresse
          Stadt
          lat
          lng
          Kategorie

          Ändern

        {developers.map(developer => (

                 {developer.name}
            {developer.postal}
           {developer.address}
           {developer.city}
           {developer.lat}
           {developer.lng}
           {developer.category}

                    <button
                      onClick={() => this.removeData(developer)}
                      className="btn btn-link"
                    >
                      Delete
                    </button>
                    <button
                      onClick={() => this.updateData(developer)}
                      className="btn btn-link"
                    >
                      Edit
                    </button>

              ))}

EDIT:
Here is the full code.
import React from "react";

import Firebase from "firebase";
import config from "./config";

class App extends React.Component {
  constructor(props) {
    super(props);
    Firebase.initializeApp(config);

    this.state = {
      developers: []
    };
  }

  componentDidMount() {
    this.getUserData();
  }

  componentDidUpdate(prevProps, prevState) {
    if (prevState !== this.state) {
      this.writeUserData();
    }
  }

  writeUserData = () => {
    Firebase.database()
      .ref("/")
      .set(this.state);
    console.log("DATA SAVED");
  };

  getUserData = () => {
    let ref = Firebase.database().ref("/");
    ref.on("value", snapshot => {
      const state = snapshot.val();
      this.setState(state);
    });
  };

  handleSubmit = event => {
    event.preventDefault();
    let name = this.refs.name.value;
    let postal = this.refs.postal.value;
    let uid = this.refs.uid.value;
    let address = this.refs.address.value;
    let city = this.refs.city.value;
    let lat = this.refs.lat.value;
    let lng = this.refs.lng.value;

    if (uid && name && postal && address && city && lat && lng) {
      const { developers } = this.state;
      const devIndex = developers.findIndex(data => {
        return data.uid === uid;
      });
      developers[devIndex].name = name;
      developers[devIndex].address = address;
      developers[devIndex].postal = postal;
      developers[devIndex].city = city;
      developers[devIndex].lat = lat;
      developers[devIndex].lng = lng;

      this.setState({ developers });
    } else if (name && postal && address && city && lat && lng) {
      const uid = new Date().getTime().toString();
      const { developers } = this.state;
      developers.push({ uid, name, postal, address, city, lat, lng });
      this.setState({ developers });
    }

    this.refs.name.value = "";
    this.refs.postal.value = "";
    this.refs.uid.value = "";
    this.refs.address.value = "";
    this.refs.city.value = "";
    this.refs.lat.value = "";
    this.refs.lng.value = "";

  };

  removeData = developer => {
    const { developers } = this.state;
    const newState = developers.filter(data => {
      return data.uid !== developer.uid;
    });
    this.setState({ developers: newState });
  };

  updateData = developer => {
    this.refs.uid.value = developer.uid;
    this.refs.name.value = developer.name;
    this.refs.postal.value = developer.postal;
    this.refs.address.value = developer.address;
    this.refs.city.value = developer.city;
    this.refs.lat.value = developer.lat;
    this.refs.lng.value = developer.lng;

  };

  render() {
    const { developers } = this.state;
    return (
      <React.Fragment>

  <meta charset="utf-8" />
  <link rel="apple-touch-icon" sizes="76x76" href="../assets/img/apple-icon.png"/>
  <link rel="icon" type="image/png" href="../assets/img/favicon.png"/>
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
  <title>
    Händlersuche
  </title>
  <meta content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0, shrink-to-fit=no' name='viewport' />

  <link href="https://fonts.googleapis.com/css?family=Montserrat:400,700,200" rel="stylesheet" />
  <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.1/css/all.css" integrity="sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr" crossorigin="anonymous"/>
  <link href="../assets/css/bootstrap.min.css" rel="stylesheet" />
  <link href="../assets/css/now-ui-dashboard.css?v=1.3.0" rel="stylesheet"/>
  <link href="https://unpkg.com/tabulator-tables@4.2.5/dist/css/tabulator.min.css" rel="stylesheet"/>

Dashboard

Icons

Maps

Notifications

User Profile

Table List

Typography

              <button type="button" class="navbar-toggler">

              </button>

            Table List

          <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navigation" aria-controls="navigation-index" aria-expanded="false" aria-label="Toggle navigation">

          </button>

            <form>

                <input type="text" value="" class="form-control" placeholder="Search..."/>

            </form>

                    Stats

                    Some Actions

                  Action
                  Another action
                  Something else here

                    Account

Neuen Daten Satz hinzufügen

              <form onSubmit={this.handleSubmit}>

                  <input type="hidden" ref="uid" />

                    Name
                    <input
                      type="text"
                      ref="name"
                      className="form-control"
                      placeholder="Name"
                    />

                    PLZ
                    <input
                      type="text"
                      ref="postal"
                      className="form-control"
                      placeholder="PLZ"
                    />

                    Address
                    <input
                      type="text"
                      ref="address"
                      className="form-control"
                      placeholder="Address"
                    />

                    Stadt
                    <input
                      type="text"
                      ref="city"
                      className="form-control"
                      placeholder="Stadt"
                    />

                    Laengengrad
                    <input
                      type="text"
                      ref="lat"
                      className="form-control"
                      placeholder="Laengengrad"
                    />

                    Breitengrad
                    <input
                      type="text"
                      ref="lng"
                      className="form-control"
                      placeholder="Breitengrad"
                    />

                <button type="submit" className="btn btn-primary">
                  Speichern
                </button>
              </form>

          Name
          PLZ
          Addresse
          Stadt
          lat
          lng
          Kategorie

          Ändern

        {developers.map(developer => (

                 {developer.name}
            {developer.postal}
           {developer.address}
           {developer.city}
           {developer.lat}
           {developer.lng}
           {developer.category}

                    <button
                      onClick={() => this.removeData(developer)}
                      className="btn btn-link"
                    >
                      Delete
                    </button>
                    <button
                      onClick={() => this.updateData(developer)}
                      className="btn btn-link"
                    >
                      Edit
                    </button>

              ))}

      </React.Fragment>
    );
  }
}

export default App;


text:
Contributed Content Member Voices
Difference in Conversation
From the Series: Bateson Book Forum: Behold the Black Caiman
Photo by Lucas Bessire.
By Ned Dostaler
Cite As: Dostaler, Ned. 2016. "Difference in Conversation." Member Voices, Fieldsights, June 9. https://culanth.org/fieldsights/difference-in-conversation
Lucas Bessire's rich and challenging monograph, Behold the Black Caiman, which chronicles the postcontact life of a previously forest-dwelling community in the Gran Chaco, took me many places. It drew me into what Bessire calls the "the delirium of ethnographic experience" and left me—and, I suspect, all who have read it—with far more questions than answers. I mean this in the best way possible. Many of the book's chapters end with something akin to a mic drop, where Bessire leads the reader in one direction and then offers something slightly different, thus opening up space in which the reader can draw their own (however tenuous, likely half-formed) conclusions. In so doing, the book lends itself to a reading, an existence, that "generates new fields of understanding and possibility" through its opening up toward "an indefinite, neither text/performer nor reader/spectator" (Biehl and Locke 2010, 347). Behold the Black Caiman is a book about life becoming, and the text itself exemplifies that state.
In Bessire's words, the book is meant to offer "a critical analysis of the preemptive foreclosure of human becoming" and, in successfully doing so, it demands respect for its own self-determination. Charged with the task of writing a response to this book leaves me both speechless and with so much to say; perhaps I am still caught in the delirium that guides the text. In this brief essay, I seek to gesture toward what some of these engagements or resonances might be. In doing this, I will raise a few questions about the potentials and limits of dialogical, conceptual, and/or comparative work in anthropology, particularly when—and it never does—"life [does] not fit within . . . analytic categories."
Behold the Black Caiman is, in part, about dispelling myths, so let me start by dispelling a myth that I have heard about the book, clearly by those who have yet to read it: that it is only a reaction to the so-called ontological turn (as if it would be, somehow, not a worthy book if it were only such). This myth, I suspect, is the result of the 2014 article that Bessire coauthored with David Bond (Bessire and Bond 2014), which, according to Alex Golub at Savage Minds, "will probably go down in history as the most forceful statement of why the ontological turn rubs people the wrong way." I agree with Golub, but think it is important to note that, while Behold the Black Caiman substantiates the arguments made in that article with ethnographic detail, it also opens up space for engagements far beyond the book's obvious geographical or theoretical scope(s).
Behold the Black Caiman beautifully engages and sharply critiques many anthropologists who treaded the Gran Chaco before him. I'd be eager to see Bessire put his ethnography in conversation with other contemporary work on the themes of indigeneity, becoming, and the politics of life. That's to say, I'd love to be a fly on a wall for a conversation between Bessire and other scholars who offer new and challenging directions for anthropology and/of life. Let me mention, however briefly, three here: Eduardo Kohn's (2013) How Forests Think, Lisa Stevenson's (2014) Life Beside Itself, and Bhrigupati Singh's (2015) Poverty and the Quest for Life. All of these books, like Behold the Black Caiman, think about the category of life, albeit with different starting and ending points. For this reason, I would like to suggest, they might be very productively read alongside each other.
Kohn (2013, 1) opens How Forests Think, drawing upon a story about jaguars and sleeping and forests, with a bold statement: "Encounters with other kinds of beings force us to recognize the fact that seeing, representing, and perhaps knowing, even thinking, are not exclusively human affairs." This leads him to a provocative question: "How would coming to terms with this realization change our understandings of society, culture, and indeed the sort of world that we inhabit?" I wonder how Bessire might draw upon his ethnography of Ayoreo to respond to this question. Furthermore, I wonder what a dialogue with the recent work on becoming in multispecies ethnography (e.g., Haraway 2008; Tsing 2015) might do for Bessire's take on becoming.
In Life Beside Itself, Stevenson (2014, 3–4) writes about the Foucauldian concept of biopolitics as "a logic of care" that "informs not only the way policies concerning the population are enacted, but also how individuals engage with other individuals while adhering to the logic of biopolitics." Bessire instead turns to biolegitimacy, a particular formation of biopolitics that refers to "the specific kinds of late liberal governance instantiated through policing the constricting limits of who should live and in the name of what." In line with Bessire's interest in the politics of knowledge production, I'd be curious to hear more about how and why he was attracted to the concept of biolegitimacy, initially developed by Didier Fassin, and wonder if we might learn more if he was to put it into conversation with other forms of biopower, with Stevenson's work being just one of the possible occasions for dialogue.
Both Singh and Bessire enter a space, ethnographically, that many others have entered before— for Singh, a rural space of poverty in central India inhabited by low-caste and tribal identities and, for Bessire, an impoverished indigenous community on the boundary of contact. Yet both distinctly reject and write against the representations of life that have previously emerged from these spaces. However, there are some significant differences in their conceptual approaches, or in their relationships to concepts as such. Singh builds up a repertoire of conceptual terms—thresholds of life, intensities, potencies/potentia, waxing and waning, agonistic intimacy—while Bessire seems hesitant to engage in this form of ethnographic knowledge production (see da Col and Graeber 2011; Stoler, forthcoming; Das, Jackson, Kleinman, and Singh 2014). I sense something underlying that hesitancy, and I would be eager to hear Bessire reflect upon on the recent (re)turn to ethnographic theory in anthropology.
Presumptions are made by putting texts and the worlds they write about into conversation, and Bessire seems acutely aware of this. Indeed, in my reading, it is one of the main tensions that he faced in his writing: "Where the ethnographer collects and orders, the Ayoreo healer unravels and ruptures. The tension between them is not merely one of disagreement. This friction also creates new figures and forces and sets them loose on the world where they demand responses from us all." How, then, does the ethnographer deal with this tension? How do we put difference into conversation? How do we compare difference? How can we put different spaces into productive conversation? Behold the Black Caiman begins to offer us answers, and I hope my comments here might provoke Bessire to guide us further.
Biehl, João, and Peter Locke. 2010. "Deleuze and the Anthropology of Becoming." Current Anthropology 51, no. 3: 317–51.
Bessire, Lucas. 2014. Behold the Black Caiman: A Chronicle of Ayoreo Life. Chicago: University of Chicago Press.
Bessire, Lucas, and David Bond. 2014. "Ontological Anthropology and the Deferral of Critique." American Ethnologist 41, no. 3: 440–56.
da Col, Giovanni, and David Graeber. 2011. "Foreword: The Return of Ethnographic Theory." HAU: Journal of Ethnographic Theory 1, no. 1: vi–xxxv.
Das, Veena, Michael D. Jackson, Arthur Kleinman, and Bhrigupati Singh, eds. 2014. The Ground Between: Anthropologists Engage Philosophy. Durham, N.C.: Duke University Press.
Golub, Alex. 2016. "Teh New Ethnographeez." Savage Minds, February 15.
Haraway, Donna. 2008. When Species Meet. Minneapolis: University of Minnesota Press.
Kohn, Eduardo. 2013. How Forests Think: An Anthropology Beyond the Human. Berkeley: University of California Press.
Singh, Bhrigupati. 2015. Poverty and the Quest for Life: Spiritual and Material Striving in Rural India. Chicago: University of Chicago Press.
Stevenson, Lisa. 2014. Life Beside Itself: Imagining Care in the Canadian Arctic. Berkeley: University of California Press.
Stoler, Ann Laura. Forthcoming. Duress: Imperial Durabilities in Our Times. Durham, N.C.: Duke University Press.
Tsing, Anna Lowenhaupt. 2015. The Mushroom at the End of the World: On the Possibility of Life in Capitalist Ruins. Princeton, N.J.: Princeton University Press.