Almost 20 years ago, writer Mark Hertsgaard suggested a bold idea to upend the climate debate. Arguing that ambitious climate action was politically impossible without simultaneously meeting people's economic needs, he proposed a massive public works program to "retrofit everything from our farms to our factories" that would be "a huge source of jobs, profits, and general economic well-being." He called it the Global Green Deal.
Now, as climate scientists warn ever more urgently that humanity must immediately transform and decarbonize our economies to avoid an unlivable future, this idea's political moment has finally arrived. A new generation of progressive activists and lawmakers has forced debate over a Green New Deal into the national conversation. Likely 2020 Democratic presidential candidates Bernie Sanders and Cory Booker are just two of the scores of elected officials who have endorsed a Green New Deal. Rep.-elect Alexandria Ocasio-Cortez (D-N.Y.) is organizing House Democrats to draft and pass corresponding legislation.
The Republican-controlled Senate may well reject such legislation, but that would only put the GOP further on the wrong side of history and clarify voters' choices for 2020. A Green New Deal is both smart politics and smart policy, not to mention the only practical way at this late date to preserve a livable planet for our children. One of its core elements is a federal job guarantee, with a livable wage and health insurance, for all who want to work. This provision promises to attract vast numbers of economically struggling voters, making it politically risky for Republicans to oppose it.
A Green New Deal might even make a climate ally out of Joe Manchin III, the West Virginia Democrat slated to become the ranking member of the Senate Energy and Natural Resources Committee. It would enable Democrats to help the coal miners whom candidate Donald Trump promised to protect but betrayed as president. Like oil and gas workers and others whose jobs make climate change worse, coal miners under a Green New Deal would receive paid retraining and placement in climate-friendly, well-paying alternative jobs, such as constructing zero-energy buildings or retrofitting water systems for climate resiliency. All members of Congress should take note: Retrofitting our buildings to make them super energy efficient is a labor-intensive task that needs doing in every district in the United States, and it cannot be outsourced. These jobs will stimulate additional local economic activity by keeping workers employed and spending paychecks.
How refreshing it is to hear environmental champions saying "yes!" to ideas. Too often, the green message has been negative — don't build that pipeline, don't hurt that critter — without offering a corresponding positive vision, thus feeding the perception that environmentalism is for elites who can afford to sacrifice. By contrast, a Green New Deal is shrewdly packaged, leaves little doubt about its purpose and, polls show, is popular with the public. A new Yale survey found that a Green New Deal is supported by a staggering 81 percent of registered voters.
Much of the credit here goes to Ocasio-Cortez, who has melded inspiring eloquence with hard-nosed political organizing. "This is going to be the New Deal, the Great Society, the moon shot, the civil rights movement of our generation," she recently said. By championing environmental justice as a foundational principle of a Green New Deal — prioritizing employment for the communities that historically have borne the brunt of pollution — Ocasio-Cortez is counting on building the popular pressure needed to overcome Big Oil's long-standing stranglehold over federal policy.
Predictably, Republicans are squawking about who would pay for a Green New Deal. They should learn some history: The original New Deal's deficit spending is what pulled the U.S. economy out of the Great Depression in the 1930s. They should also check their hypocrisy: Republicans just passed President Trump's $1.7 trillion tax cut, which grew nothing except the federal deficit and their rich donors' investment portfolios.
Failing to agree on climate action would "not only be immoral" but "suicidal," U.N. Secretary General António Guterres said at the U.N. climate conference that concluded Saturday in Poland. In other words, the most vulnerable people are already suffering, but eventually, all humanity could perish if countries do not act. The Poland conference agreed on rules to implement the Paris Agreement but failed to make "clear that global emissions from fossil fuels must be cut by half by 2030" to do so, said Johan Rockstrom, of the Potsdam Institute for Climate Impact Research.
Which is why Hertsgaard's original vision remains correct: To spur the necessary action globally, a Green New Deal in the United States must be mirrored, soon, by a Global Green Deal. The scientific fact is that humanity is facing a roaring climate emergency, one that grows more imposing with each day of denial and delay. A Green New Deal offers our best chance to choose a different future, while we still have a chance.
Katrina vanden HeuvelKatrina vanden Heuvel, editor and publisher of the Nation magazine, writes a weekly column for The Post. She has also edited or co-edited several books, including "The Change I Believe In: Fighting for Progress in the Age of Obama" (2011) and "Meltdown: How Greed and Corruption Shattered Our Financial System and How We Can Recover" (2009).
Our award-winning journalists are there when the news breaks.
OpinionWhy would William Barr take this job? The answer should alarm Trump.
OpinionBritain is left without a Brexit plan. It's headed toward disaster.
OpinionWhat did they do with Lindsey Graham?
OpinionTrump is surrounded by leakers. Why would he trust them with his Putin notes?
Unparalleled reporting. Expert insight. Clear analysis. Everything you've come to expect from the newsroom of The Post -- for your ears.
The Lily, a publication of The Washington Post, elevates stories about women.
Their outrage helped spark a movement against R. Kelly. What comes next?
Mark Hertsgaard suggested a bold idea to upend the climate debate. Arguing that ambitious climate action was politically impossible without simultaneously meeting people's economic needs, he proposed a massive public works program to "retrofit everything from our farms to our factories" that would be "a huge source of jobs, profits, and general economic well-being." He called it the Global Green Deal.
After more than a decade of unsuccessful efforts to eradicate the genetically modified grass it created and allowed to escape, lawn and garden giant Scotts Miracle-Gro now wants to step back and shift the burden to Oregonians.
The federal government is poised to allow that to happen by relinquishing its oversight, even as an unlikely coalition of farmers, seed dealers, environmentalists, scientists and regulators cry foul.
Climate change is no longer a distant threat, but a clear and present danger. That's the main takeaway from the third installment of the National Climate Assessment (NCA), released this week by the White House.
The report itself is a feat of both exhaustive climate science and creative science communications. The 840-page document is packed with illustrative graphics, and the web-based version features interactivity and video. Beyond painting the national picture, the NCA presents, in the words of White House science advisor John Holdren, "unprecedented detail about regional impacts" of climate change.
This image shows 1-day old Pacific oyster larvae from the same parents, raised by the Taylors Shellfish Hatchery in natural waters of Dabob Bay, Wash. The larvae on the left were reared in favorable carbonate chemistry; on the right in unfavorable chemistry.
Researchers at Oregon State University have been studying why more acidic ocean water is wiping out oyster larvae at hatcheries in the Northwest.
by Chase Madar at 8:23am, February 26, 2013.
Outrage over the Sandy Hook Elementary School massacre may or may not spur any meaningful gun control laws, but you can bet your Crayolas that it will lead to more seven-year-olds getting handcuffed and hauled away to local police precincts.
You read that right. Americans may disagree deeply about how easy it should be for a mentally ill convicted felon to purchase an AR-15, but when it comes to putting more law enforcement officers inside our schools, the National Rifle Association (NRA) and liberal Democrats like Senator Barbara Boxer are as one. And when police (or "school resource officers" as these sheriff's deputies are often known) spend time in a school, they often deal with disorder like proper cops -- by slapping cuffs on the little perps and dragging them to the precinct.
Rejecting the Corporate Empire: Unilateral US Power, Endless Wars and and the Neoliberal Agenda - Two evenings of speakers and panels on the new international order - organized for the benefit of multinational corporations, protected and enforced by US military power.
Randy Rhodes a progressive well know radio talk show host on Airamericaradio.com will be a guest on Larry King Live. Randy has an exceptional research crew. Phone in and ask her what evidence there is that could impeach Bush.
Randi will be part of a talkradio panel discussing Alito, Bush, etc.
And yes, they will be taking your calls.


In addition to many years of design and marketing experience in many venues, we have spent the last eight years acting as a liaison between health-conscious consumers and the industry who serves them. That experience has allowed us to have our fingers on the pulse of what today's buyer is looking for.
The principals at LNS Design and Marketing are Lora Ruffner and Neil Beaty, who have a long and rich history in the specialty foods industry and were the founders of the Low Carb Luxury website and magazine.
We've watched the debut of countless products and ventures in the health food industry, as well as in organics, cosmetics, and other industries. We've seen born-winners, and we've seen fatal mistakes. LNS is here with one purpose: To to guide you to success.
So now, Accent Design Studios, which Lora started, and Neil Beaty Photography, that (of course) Neil started, were made sister companies with LNS. Both of us had a rich history of design and creative pursuits. Both had owned our own companies over the years. And both of us had marketing and promotion experience. We come to you as a strong team with hand-picked talent at our disposal to help you become what your mission guides you to. Thank you for visiting LNS, and we look forward to working with you!


How has the past week been for you? It seems that quite a few people around me have been getting the flu bug. Bun has been down with a nagging cough that acts up at night, keeping us both awake.
It is during weeks like these that we are thankful for quick-to-make meals that require few ingredients. Jasmine, creative crafter and editor of the award-winning Scissors Paper Stone blog, shares with us a simple pasta dish that can be whipped up in a matter of minutes. Frozen prawns to the rescue!
:: Life in a city can get very busy. So during these busy periods, I find that pasta tends to be my fall back.
Simple enough to whip up on a work night or a hectic weekend. The warmth and comfort of a home-cooked meal definitely helps us get through another day.
I find that this recipe is perfect when I just haven't had time to head to the supermarket. I tend to keep a bag of frozen prawns in my freezer just in case and I always have some pasta in the cupboard.
Most of the time, I tend to serve up this simple dish with piping hot edamame or steamed broccoli although I think it would be equally delicious with a fresh green salad.
On this particular night, we also happened to have a little sakura in the fridge so we added it as garnishing. The recipe is perfectly fine without the sakura and I hope that you will try it.
In a frying pan, saute the garlic in the oil until it browns.
Wash the prawns under running water and then add them to the pan. Season with a dash of salt and pepper and sprinkle the dried basil and thyme over the prawns.
Stir-fry the prawns until they turn pink. Then add the cooking cream to the pan. Stir well and turn off the heat. Season with a little salt and peper to taste.
Put a pot of water on the boil. Once the water boils, add salt and then slip the angel hair pasta into the pot. Remove once it is cooked and drain the water away.
Then add the angel hair to the pan and mix it together.
Pastas are my quick fix in he kitchen when I'm short on time and this recipe sounds like it will go well with the family. Thanks for sharing Jasmine.
Yes, and these days we can find a variety of pastas too! We use gluten free ones these days - not as tasty as regular pasta though, unfortunately!
This looks doable, and yet so yummy! Thanks for sharing Jasmine! :) We love prawns so will try this out soon!
I love the convenience of frozen prawns too! Quick recipes are my favourite. Thanks for sharing Jas!
Thanks for all the lovely comments! Angel hair is quick to cook with and has a nice bite. Hope you get to try it and enjoy it.
I tried it tonight but with different ingredients since I can't consume seafood at the moment and it worked perfectly fine! :) Tasted real good too!
Thanks for this easy fix recipe! I'm sure my family will love it.


text:
namespace tracy
{

class SysTime
{
public:
    SysTime();
    float Get();

    void ReadTimes();

private:
    uint64_t idle, used;
};

}
#endif

#endif

redpajama_set_name: RedPajamaGithub


Wednesday 31st, October 2018 15:31:48: PM. Collection. by Lissa Meylisa.
Wednesday 31st, October 2018 13:34:12: PM. Collection. by Lissa Meylisa.
Wednesday 31st, October 2018 12:21:05: PM. Collection. by Lissa Meylisa.
Wednesday 31st, October 2018 12:07:43: PM. Collection. by Lissa Meylisa.
Wednesday 31st, October 2018 03:36:27: AM. Collection. by Lissa Meylisa.
Tuesday 30th, October 2018 23:33:37: PM. Collection. by Bryan Smith.
Tuesday 30th, October 2018 23:28:28: PM. Collection. by Bryan Smith.
Tuesday 30th, October 2018 20:17:10: PM. Collection. by Giorgino Amstrad.
Tuesday 30th, October 2018 18:26:43: PM. Collection. by Giorgino Amstrad.
Tuesday 30th, October 2018 17:39:42: PM. Collection. by Lissa Meylisa.


text:
2 wanted in 14-year-old's human trafficking death arrested in Georgia
| Orlando Sentinel |
Oct 17, 2016 | 7:38 PM
Karla Michelle Quiros Alsina, 20, and Arthur Lee Coleman III, 26, will face charges of first-degree murder, human trafficking of a child, procuring a minor for prostitution, racketeering, and possession and transmission of child pornography. (Orlando Police Department / Courtesy photo)
Two people wanted on murder and human-trafficking charges in the death of a 14-year-old girl in Orlando were arrested in Atlanta over the weekend, police said.
Arthur Lee Coleman III, 26, and Karla Michelle Quiros Alsina, 20, will face charges of first-degree murder, human trafficking of a child, procuring a minor for prostitution, racketeering, and possession and transmission of child pornography.
They were arrested on Saturday about 7:15 p.m., Atlanta police Sgt. Warren Pickard said.
Orlando police already had arrested Avorice Jeno Holman, 19, and Jose Ignacia Santiago-Sotomayor, 22, who were being held Monday in the Orange County Jail.
Orlando police looking for suspects in carjacking at Camping World Stadium parking lot
Crosby Island Marsh in southeast Orange offers new spot to take in nature
The four are accused of luring two girls, 14 and 15 years old, into prostitution in August. They gave the girls drugs "for them to forget about having sex with men," Orlando police Detective Michael Fields said last week.
The younger girl overdosed on a combination of Xanax and the cold medicine dextromethorphan on Aug. 14, police said. Alsina brought her to Orlando Regional Medical Center, where she died, they said.
"Everyone involved in the conspiracy to commit these crimes, regardless of their level of participation in the organization, will be charged with first-degree murder and is responsible for her death," Orlando police Chief John Mina said in a news conference last week, announcing the arrests of Holman and Santiago-Sotomayor.
glotan@orlandosentinel.com or 407-420-5774
Most Read • Breaking News

redpajama_set_name: RedPajamaCommonCrawl


You actually have something to bring to the table. You're a custom-made, handcrafted gift to this world. Everyone — absolutely everyone — is unique and has something special about them. Don't dim your light. Let it shine brightly and powerfully. You're distinctive and remarkable and dope, and if you didn't know that before, I certainly hope you do now.


DER Corporate Solutions brings the service portfolios of the Corporate Hotels, Congress and MICE Divisions together under a single roof. This means that, in its capacity as a hotel and MICE specialist, DER Corporate Solutions is able to offer the most extensive range of corporate services within the branch.
Our customers are able to access this comprehensive provision and receive the very best level of consultancy services in all matters relating to hotels and MICE. They benefit from perfectly interlocked services and are able to increase productivity and generate more added value.
DER Corporate Solutions offers a broad spectrum of products and services in the field of Hotel Solutions via ratefinding.com, RFP Consulting Services, DERhotel.com and TRADEFAIRS, all of which support companies in the realisation of efficient procurement processes. Its MICE Solutions and events, meetings and online services assist corporate clients all over the world with the planning of events of every size. Customers may opt to delegate the whole of the organisational process to DER Consulting Services or else seek support in individual specialist areas. DER Consulting Services also deploys innovative solutions for web-based allocation and participant management and online registration processes which are individually adapted to the requirements of any given event.


text:
Sunil Gavaskar furious over Bumrah's decision to give rest, raised questions over Captain Kohli
In the 4 Test series between India and England, the Indian team had to face defeat in the first match. After which Virat Kohli said in clear words that some changes can be seen in the next match.
Although at that time no one thought that captaincy Kohli will give rest to Jasprit Bumrah in the second Test.
Captain Virat Kohli replaced Mohammed Siraj in place of Jasprit Bumrah in the second Test match. The stalwarts were also surprised by their decision.
The same former Indian cricketer Sunil Gavaskar did not like this decision of captain Virat Kohli.
RELATED IND vs AUD: On tour to Australia Indian team vice-captain Rohit Sharma lacking for 3 big reasons
Let us tell you that the first Test match between India and England was played on 5 February. In which Jaspreet Bumrah took 3 wickets in the first innings and 1 wicket in the second innings.
After the toss, captain Kohli said that he has been rested from the second Test match, given the workload of Bumrah.
In the second Test match, the Indian team has seen three changes. Akshar Patel, Kuldeep Yadav, and Mohammed Siraj have been included in the squad in place of Shadab Nadeem, Jasprit Bumrah, and Washington Sundar.
RELATED Virender Sehwag has given the names of 5 players who flopped in the IPL 2020 Super: see who are the players in this list
The same great former India player Gavaskar said that he does not think that Virat Kohli's decision is right.
Moeen Ali created history: became the first spinner to dismiss Kohli at zero in Test cricket
He further said you cannot rest your number-one bowler in the name of workload. Jasprit Bumrah is the number-one fast bowler of the Indian cricket team with New Ball while Ashwin is India's number one spinner.
You cannot rest your number-one bowler when you have lost the opening match of a big series. I am a little surprised by Jasprit Bumrah's decision to be out.
RELATED Former India cricketer VVS Laxman made a big statement about Virat's captaincy: said - he needs to improve his captaincy
Because there are 7 days to recover after the second test match. In contrast to Sunil Gavaskar, former opener batsman Gautam Gambhir feels that Virat's decision is absolutely correct.
Gautam said I think it is a very right decision to give rest to Bumrah. Now he will be fully ready to play the pink ball test.
There is nothing for the fast bowlers here and they have thrown many overs in the first Test match against Australia. That is why I feel that this decision of captain Virat Kohli is absolutely correct.
IND v SA: Ravi Shastri said on Team India's Chance of winning Test Series in South Africa
IPL 2022: 2 legends included in SRH support staff
KL Rahul, Mayank Agarwal weigh in on coach Rahul Dravid's influence
Saba Karim reacts to R Ashwin's statement about Ravi Shastri


He loves helping others, expecially expatriates who are guests in the Kingdom.
You can join Saudi Expert in his work if you are interested.
There has been lots of news and fake news regarding visit visa fees. Saudi gazette removed the article in which said visa fees decrease news is fake. http://saudigazette.com.sa/…/SA…/No-change-in-visit-visa-fee Update visit visa fees for India is SAR 305 while for Pakistan its still SAR 2000 See the documents below.
Daily Trains to Qassim, Hail in 5 days !! Saudi Railways is ready, are you ?
New Camera on Gulf (Khaleej) bridge – Is it for Speed or Seat belt & Mobile ?


text:
Q: how to set max min on highcharts dynamically I'm trying to set the xAxis in highcharts to have the max equal today's date and the min equal to 7 days prior. So it will always show 7 dates even if there isn't a data point for a given date.
The data is displaying correctly, just the min and max break it.
here's the script - http://jsfiddle.net/Jv82q/1/ - notice line 3 is commented out, when uncommented it breaks the chart. Not sure why.
 var max = new Date().getTime();
var min = new Date().getTime();
// min.setDate(min.getDate()-7);
$(function () {
$('#container').highcharts({
    chart: {
        type: 'areaspline'
    },
    title: {
        text: 'Weight History'
    },
    credits: {
        enabled: false
    },
    xAxis: {
        type: 'datetime',
        dateTimeLabelFormats: {
            day: '%e %b'
        },
        min: min,
        max: max
    },
    yAxis: {
        title: {
            text: 'Weight'
        },
        min: 20,
        max: 400
    },
    series: [{
        name: 'Daily Weigh In',
        color: '#7ec152',
        data: [[Date.UTC(2014,  3, 13), 400],[Date.UTC(2014,  3, 14), 300],[Date.UTC(2014,  3, 15), 300],[Date.UTC(2014,  3, 16), 300],[Date.UTC(2014,  3, 18), 300],[Date.UTC(2014,  3, 19), 300],[Date.UTC(2014,  3, 20), 300]        ]
    }]
});
});

A: Date.getTime() returns timestamp, not Date object. Then you are truing to setDate for min, but it return error in your JS console:
Uncaught TypeError: undefined is not a function

Here is example how to achieve that: http://jsfiddle.net/Jv82q/4/
var today = new Date().getTime();

...

// axis options:
min: today - 7 * 24 * 3600 * 1000,
max: today

redpajama_set_name: RedPajamaStackExchange


Two hundred years ago, Iowa was completely covered by prairies, forests, and a variety of wetlands. Now, prairie, forest, and wetlands cover less than 8 percent of the state. The remainder of the state is covered by farms, roads, towns, and cities. How did that happen? Who influenced the patterns that we see today? From 1832 to 1859, surveyors from the US General Land Office (GLO) surveyed Iowa to prepare for settlers moving from eastern states. They used surveying technology and methods used by George Washington, Thomas Jefferson, and others. They encountered a variety of obstacles, both natural and cultural, making their survey work quite challenging. You'll learn how GLO surveyors met these challenges and prepared the way for Euro-American settlers. You'll learn what the surveyors wrote about their work and the landscape of Iowa. You'll learn how ecologists today use GLO maps and notes to help manage Iowa natural areas.


Teddington is one of the Post Office entities situated at 89 High Street, Middlesex, Teddington, post code TW11 8HG. Its working hours are from Monday to Friday: Monday 09:00-17:30, Tuesday 09:00-17:30, Wednesday 09:00-17:30, Thursday 09:00-17:30 and Friday 09:00-17:30. On Saturday: 09:00-15:00 and on Sunday closed. This entity can also support the dwellers of the neighbouring towns: Richmond.


text:
Q: Cannot create XML Schema collection for xml version 1.1 in SQL Server 2008 R2 I can create the schema with xml version 1.0 but need to use xml version 1.1 for this project because some of the 1.1 features are needed (Extensibility, Keyrefs, Assertions). Anybody know if xml version 1.1 is compatible with SQL Server 2008 R2? I cannot find any specific answer to this question when searching online.

A: The only XML Schema 1.1 processors available, I believe, are Saxon, Xerces, and Altova.
It would be a little surprising if SQL Server 2008 supported XSD 1.1 since XSD 1.1 only came out in 2013.
But Microsoft gave up implementing new W3C XML specifications years ago: you have to go to third parties. Which isn't easy if you're locked into SQL Server.


text:
'use strict';

/**
 * Module dependencies.
 */

var Response = require('../../lib/response');

/**
 * Test `Response` integration.
 */

describe('Response integration', function() {
  describe('constructor()', function() {
    it('should set the `body`', function() {
      var response = new Response({ body: 'foo', headers: {} });

      response.body.should.equal('foo');
    });

    it('should set the `headers`', function() {
      var response = new Response({ body: {}, headers: { foo: 'bar', QuX: 'biz' } });

      response.headers.should.eql({ foo: 'bar', qux: 'biz' });
    });

    it('should set the `status` to 200', function() {
      var response = new Response({ body: {}, headers: {} });

      response.status.should.equal(200);
    });
  });

  describe('get()', function() {
    it('should return `undefined` if the field does not exist', function() {
      var response = new Response({ body: {}, headers: {} });

      (undefined === response.get('content-type')).should.be.true;
    });

    it('should return the value if the field exists', function() {
      var response = new Response({ body: {}, headers: { 'content-type': 'text/html; charset=utf-8' } });

      response.get('Content-Type').should.equal('text/html; charset=utf-8');
    });
  });

  describe('redirect()', function() {
    it('should set the location header to `url`', function() {
      var response = new Response({ body: {}, headers: {} });

      response.redirect('http://example.com');

      response.get('Location').should.equal('http://example.com');
    });

    it('should set the `status` to 302', function() {
      var response = new Response({ body: {}, headers: {} });

      response.redirect('http://example.com');

      response.status.should.equal(302);
    });
  });

  describe('set()', function() {
    it('should set the `field`', function() {
      var response = new Response({ body: {}, headers: {} });

      response.set('foo', 'bar');

      response.headers.should.eql({ foo: 'bar' });
    });
  });
});


text:
Q: Trying to deserialize json array into java String using Jackson in Spring-boot I'm new to Spring-boot and am trying to deserialize json array into java String using Jackson in a Spring-boot Application. Something like
{"history": ["historyA", "historyB"]} (JSON Request Body) -> String history;

However, the following error message got logged.
Cannot deserialize instance of `java.lang.String` out of START_ARRAY token

My Controller is similar to
@RestController
public class PatientController {
    @PostMapping
    public void create(@RequestBody @Valid Patient patient) {
        mapper.create(patient);
    }
}

My POJO is similar to:
@Data
@NoArgsConstructor
public class Patient {
    @JsonDeserialize(contentUsing = PatientHistoryDeserializer.class, contentAs = List.class)
    private String history;

My Json Deserializer is similar to:
public class PatientHistoryDeserializer extends JsonDeserializer<String> {
    @Override
    public String deserialize(JsonParser p, DeserializationContext ctxt) throws IOException {
        List<String> histories = new LinkedList<>();
        if (p.getCurrentToken() == JsonToken.START_ARRAY) {
            while (p.getCurrentToken() != JsonToken.END_ARRAY) {
                String history = p.getValueAsString();
                if(history.contains("#"))
                    throw new ClientError(HttpServletResponse.SC_BAD_REQUEST, "invalid...");
                histories.add(history);
            }
        }
        return String.join("#", histories);
    }
}

Is my goal achievable ? Or any suggestions on how to convert as I wanted ?

A: This can be done like this
public class PatientHistoryDeserializer extends JsonDeserializer<String> {
    @Override
    public String deserialize(JsonParser jsonParser, DeserializationContext deserializationContext) throws IOException {
       if (jsonParser.currentToken() == JsonToken.START_ARRAY) {
           List<String> histories = new ArrayList<>();
           jsonParser.nextToken();

           while (jsonParser.hasCurrentToken() && jsonParser.currentToken() != JsonToken.END_ARRAY) {
              histories.add(jsonParser.getValueAsString());
              jsonParser.nextToken();
           }
          return String.join("#", histories);
       }
       return null;
    }
}

And usage would like
@JsonDeserialize(using = PatientHistoryDeserializer.class)
String histories;

The purpose of contentUsing and contentAs are a bit different than the use case here. let's take the following example.
class Histories {
    Map<String, String> content;
}

and JSON is something like this
{"content": { "key" : ["A","B"]}}

and you want to deserialize this into a map having (key = "A#B")
there are two ways to do it, write custom deserializer or use contentUsing attribute to specify how your values should be deserialized
@JsonDeserialize(contentUsing = PatientHistoryDeserializer.class)
Map<String, String> content;

Similarly, you can use other annotation attributes like keyUsing for keys for maps.


Frankl's timeless memoir and meditation on finding meaning in the midst of suffering With a new Foreword by Harold S. Kushner and a new Biographical Afterword by William J. WinsladePsychiatrist Viktor Frankl's memoir has riveted generations of readers with its descriptions of life in Nazi death camps and its lessons for spiritual survival. Between 1942 and 1945 Frankl labored in four different camps, including Auschwitz, while his parents, brother, and pregnant wife perished. Based on his own experience and the experiences of others he treated later in his practice, Frankl argues that we cannot avoid suffering but we can choose how to cope with it, find meaning in it, and move forward with renewed purpose. Frankl's theory-known as logotherapy, from the Greek word logos ("meaning")-holds that our primary drive in life is not pleasure, as Freud maintained, but the discovery and pursuit of what we personally find meaningful.At the time of Frankl's death in 1997, Man's Search for Meaning had sold more than 10 million copies in twenty-four languages. A 1991 reader survey for the Library of Congress that asked readers to name a "book that made a difference in your life" found Man's Search for Meaning among the ten most influential books in America. Beacon Press, the original English-language publisher of Man's Search for Meaning, is issuing this new paperback edition with a new Foreword, biographical Afterword, jacket, price, and classroom materials to reach new generations of readers. Born in Vienna in 1905 Viktor E. Frankl earned an M.D. and a Ph.D. from the University of Vienna. He published more than thirty books on theoretical and clinical psychology and served as a visiting professor and lecturer at Harvard, Stanford, and elsewhere. In 1977 a fellow survivor, Joseph Fabry, founded the Viktor Frankl Institute of Logotherapy. Frankl died in 1997.
A new gift edition of a modern classic, with supplemental photographs, speeches, letters, and essays Psychiatrist Viktor Frankl's memoir of life in Nazi death camps has riveted generations of readers. Based on Frankl's own experience and the stories of his patients, the book argues that we cannot avoid suffering but we can choose how to cope with it, find meaning in it, and move forward. Man's Search for Meaning has become one of the most influential books of our times, selling over twelve million copies worldwide. With a foreword by Harold S. Kushner, Frankl's classic is presented here in an elegant new edition with endpapers, supplementary photographs, and several of Frankl's previously unpublished letters, speeches, and essays.
Motivation durch Sinn Jeder dritte Arbeitnehmer hat innerlich bereits gekündigt: Konflikte, Frust und mangelnde Motivation sind die Folge. Die Ursachen sind nicht nur im falschen Führungsverhalten des Top-Managements zu suchen, sondern auch bei jedem Einzelnen: Das Fehlen von Sinn führt zu Leistungseinbußen, psychosomatischen Beschwerden und allgemeiner Unzufriedenheit. Viktor Frankl, der Begründer der Dritten Wiener Richtung der Psychotherapie bzw. Logotherapie stellte die Suche nach dem Sinn in den Mittelpunkt seines Lebenswerkes. Alex Pattakos überträgt Frankls Gedankengut auf die Arbeitswelt und lädt den Leser ein, ihm auf der Suche nach dem Sinn zu folgen. Er zeigt, wie es gelingt, nicht mehr Gefangener negativer Gedanken zu sein, sondern eingefahrene Muster zu überdenken, eigene Widerstände gegen Veränderungen zu überwinden und damit die Tür zu einem tieferen Sinn aufzustoßen. Die zweite überarbeitet Auflage enthält einige neue Fallbeispiele. Außerdem wurde ein weiteres Kapitel hinzugefügt: "The Meaning Difference", das Forschungsergebnisse darüber beinhaltet, wie sehr das Vorhandensein von Sinn das Leben von Menschen verbessern kann.
A timeless examination of life in the Nazi death camps, adapted for young adult readers. Frankl's Holocaust memoir provides universal lessons for coping with suffering and finding one's purpose in life offer an unforgettable message for readers seeking solace and guidance.
Les manipulateurs sont parmi nous: Qui sont-ils ? Comment s'en protéger?
Le football: Une histoire extraite de "Les récrés du Petit Nicolas"
Die MARKAN Saga - komplett: Alle 4 Romane in einem Band!


text:
Our Ethos & Mission
Pre Start Business
Existing Business
Develop and Grow Your Social Business
London Community Covid-19 Response Fund
Rocket Launch Your Business Project – Round 2
MyLifeMix
RBKC News
Hospitality business helpline. We're here to help.
Our new Covid-19 hospitality business helpline is open Monday to Friday 9am – 5pm on 020 7361 2161 The line is only for queries directly related to Covid-19 but for other info and guidance you can visit www.rbkc.gov.uk/reopening-business.
Human Resources Advice for SMEs in the Covid-19 era
A RBKC Supply Chain Workshop in association with CrosseHR. Online on 17th September at 9.30am -11.30am. RBKC Supply Chain is offering a FREE workshop on Human Resource issues for small and medium size companies in construction or related sectors. To find out more and to reserve your place please click here.
Online Creative Conversation 23 September 10am to 2pm
Join in to share views about what Culture in the borough means to you and how, working together, we can achieve cultural recovery from the pandemic. This is an event run by Exhibition Road Cultural Group, Kensington + Chelsea Art Week and RBKC's Culture Team. Click here for your ticket.
Join the Arts Grants Panel
We are recruiting new members to our Arts Grants Panel. Could that be you? We are looking for residents in Kensington and Chelsea aged 18+ who feel passionately about the importance of creativity within their community, and who would like to get involved in the assessment and decision making process of our Arts Grants Scheme. The closing date for applications is 4pm Friday 18 September 2020. Apply here
The Arts Grants Scheme
This scheme welcomes applications from individuals and organisations looking to produce innovative and engaging art projects across the borough, and offers grants of up to £3,000. Both in person, and digital projects to be run online, are welcome. All applicants to read carefully the Guidance Document here before making an application. Submit completed applications by 10am Friday 16 October. The Application Form is undergoing maintenance and will be available here shortly – bookmark this page!
Are you in the business of film making?
Bringing short film onto the big screen in in Earls Court 18 – 30 October. Now in its sixth year, the Earl's Court Film Festival as gone from strength to strength. For entrepreneurs and small enterprises in film making, see what has been submitted here. See also the government's £500m Film and TV Production Restart Scheme. Go to details on scheme and bookmark. Poster to print out is attached.
Government and Partner News
UK Theatre Association
Maximum value: £ 1,000. Application deadline: 10 Sept 2020. The Theatre Artists Fund has been set up to provide emergency support for theatre workers and freelancers across the UK. It is for theatre professionals who are in need of urgent and critical financial support due to the devastating impact of Covid-19 on the theatre sector. More details.
The London Resilience Fund working with the London Economic Action Partnership (LEAP), innovation grants of up to £50k
Grants of up to £50,000 will be available to support designing and testing innovations. The Fund is open to: town teams and business improvement districts, workspace providers, community groups, social enterprises, small and medium-sized enterprises, charities, boroughs and sub-regional partnerships. More details here.
Kickstart Scheme
The government has introduced a new Kickstart Scheme a £2 billion fund to create hundreds of thousands of high quality 6-month work placements aimed at those aged 16 to 24 who are on Universal Credit. Funding available for each job will cover 100% of the relevant National Minimum Wage for 25 hours a week, plus the associated employer National Insurance contributions and employer minimum automatic enrolment contributions. Employers check if you can apply for funding. If you are considering becoming a representative for a group of employers (e.g. you are a Chamber or a business forum), check what information you need to provide to apply for a grant through the Kickstart Scheme. Find more guidance and promotional materials here.
Coronavirus Job Retention Scheme: Guidance has been updated to reflect changes to the scheme:
From 1 September the government will pay 70% and employers will pay 10% of employees' wages for the time they are being furloughed. Employers will also continue to pay their National Insurance and pension contributions.
From 1 October the government will pay 60% and employers will pay 20% of employees' wages for the time they are being furloughed. Employers will also continue to pay their National Insurance and pension contributions.
You will continue to pay employees wages at the contracted rate for the hours they work for you.
The scheme ends on 31 October 2020. Find out more here.
London Growth Hub: Public Relations for Small Businesses
Thursday 10 September 2020, 10.00am – 1.30pm. Discover how proactive PR as part of your content marketing strategy can be transformative for your business. Hear expert advice to help strengthen your company's reputation with customers, employees and investors through effective PR. Click here.
London Growth Hub: Harness the Power of Social Media to Grow Your Business
Day 1: Tuesday 15 September 2020, 09.30am – 4:30pm. Day 2: Tuesday 22 September 2020, 09.30am – 4:30pm. Join this two-part virtual event to learn how to leverage the power of social media during COVID-19. Uncover how to align your marketing strategy, build online visibility and attract, engage and convert leads. Click here.
London Growth Hub: Innovating Your Business Strategy: Reset and Recover
Thursday 17 September 2020, 10.00am – 1.30pm. Your business model and strategy play a critical part in overall business success. On this intensive webinar, hear expert guidance to assess, adjust and improve your existing strategy to help fast-track growth rates. Click here.
Please book an appointment if you are looking for business advice, funding or face-to-face business support and mentoring!
info@pbc.co.uk
Rocket Launch Your Business Project (2) – January
Zoom Webinars/Meetings
Setting-up Your Social Business
Rocket Launch Your Business Project (2) – Existing Businesses
Social Media Course for SMEs
Zoom Platform - Webinar
Updates from DWP January 15, 2021
Be a part of Census 2021 January 13, 2021
IMPORTANT HMG ANNOUNCEMENT FOR BUSINESSES January 5, 2021
Tweets by PortobelloBC
Portobello Business Centre
Canalside House,
383 Ladbroke Grove,
London W10 5AA
Our Privacy and Cookies Policy
Website by mihaicode
All Rights Reserved @2021 pbc.co.uk
If you continue to use this site we will assume that you are happy with it.


Researchers report two new approaches to producing three-dimensional (3-D) images using X-rays that could improve disease-screening, study of very fast processes and enable analysis of the properties of materials and structural information of opaque objects with unprecedented detail.
The researchers describe their approaches to 3-D imaging with X-rays in two papers in Optica, The Optical Society's journal for high-impact research. One method might reduce X-ray doses needed in some types of preventative medical imaging, such as breast-cancer screening. The other method might allow 3-D imaging of delicate biological samples or the study of very fast processes, such as the types of interactions that occur during space-debris impacts, to speed development of more durable materials.
Because of their high energy and short wavelength, X-rays can pass through materials that visible light cannot. Although it is possible to obtain 3-D X-ray images, current approaches are limited in application because they require prolonged exposures to damaging X-rays.
In humans, too much radiation from medical X-ray imaging can increase cancer risk, which limits how often they can be screened with 3-D mammography and other 3-D X-ray technologies. Very high-energy X-rays used to study the detailed make-up of materials and biological samples often cannot be used because the samples would be destroyed after one exposure.
Researchers led by Andrew Kingston of the Australian National University together with a team at the European Synchrotron Radiation Facility (ESRF) in France have demonstrated for the first time that the unconventional imaging approach known as ghost imaging can be used to obtain 3-D X-ray images of the interior of objects opaque to visible light.
"Because of the potential for significantly lower doses of X-rays with 3-D ghost imaging, this approach could revolutionize medical imaging by making X-ray screening for early signs of disease much cheaper, more readily available and able to be undertaken much more often," said the paper's senior author, David Paganin, from Monash University, Australia. "This would greatly improve early detection of diseases including cancers."
Ghost imaging works by correlating two beams—in this case, X-ray beams—that do not individually carry any meaningful information about the object. One beam encodes a random pattern that acts as a reference and never directly probes the sample. The other beam passes through the sample.
The researchers created random X-ray patterns by shining a bright beam of X-ray light through a metal foam, which is like a sponge made of metal. They took a 2-D image of this random beam, and then passed a very weak copy of it through the sample. A large-area single-pixel detector captured X-rays that passed through the sample. The process was repeated for multiple illuminating patterns and sample-object orientations to construct a 3-D tomographic image of the object's internal structure.
As a proof-of-concept experiment, the researchers carried out ghost X-ray tomography on an aluminum cylinder with a diameter of 5.6 millimeters and containing two holes of less than 2.0 millimeters diameter. They were able to produce 3-D images with 1.4 million "voxels"—a term for 3-D pixels—with a resolution, or voxel side-length, of 48 millionths of a meter.
"X-ray ghost imaging, especially ghost tomography, is a completely new field that needs to be explored and developed much further," said Kingston. "With more development, we envision ghost X-ray tomography as a route to cheaper and, therefore, much more readily available 3-D X-ray imaging machines for medical imaging, industrial imaging, security screening and surveillance."
A research team from the Paul Scherrer Institute in Switzerland, led by Marco Stampanoni, together with a team from the Deutsches Elektronen-Synchrotron (DESY) in Germany and the ESRF, acquired 3-D images using high-brilliance X-ray sources. Their new approach uses a single exposure, or shot, to obtain 3-D information from X-rays one hundred billion times brighter than a hospital X-ray source. The rays can only be produced at specialized synchrotron facilities.
"High-brilliance X-ray sources are quite useful for biology and materials science because they can probe faster processes and higher resolutions than other X-ray sources," said the paper's first author Pablo Villanueva-Perez from DESY. "Because the power of these sources can destroy the sample after a single pulse, current 3-D imaging using the full power of these sources requires multiple identical copies of a sample."
The new single-shot approach uses a crystal to split one incoming X-ray beam into nine beams that simultaneously illuminate the sample. Using detectors oriented to record information from each beam allows researchers to acquire at once nine different 2-D projections of a sample object before it is destroyed by the intense X-ray probe beams.
The researchers used the approach to image a moth, which demonstrated the potential for studying insect mechanics with 3-D microscale resolution at speeds ranging from microseconds to femtoseconds. They also showed that they could achieve nanoscale resolution by imaging a gold nanostructure.
"We would like to combine our technique with the unique capabilities of the European X-Ray Free-Electron Laser Facility, the first facility to deliver X-ray pulses at a rate of one million pulses per second," said Villanueva-Perez. "This could allow 3-D exploration of fast processes at speeds of millions of frames per second."


If you've contracted a dangerous bacterial infection after heart valve replacements or coronary artery bypass graft surgery – and possibly received a warning letter from a hospital regarding a defective machine used during your operation – you need to contact Carr & Carr immediately.
Carr & Carr is currently investigating cases for patients who have developed severe bacterial infections associated with the use of a heater-cooler device used during heart surgeries.
Heater-cooler devices used in heart surgeries have been linked to serious bacterial infections, which may be fatal in some patients.
According to the FDA, there is potential for nontuberculous mycobacteria (NTM) contaminated water contained in the heater-cooler tanks to transfer from the device into the operating room, where it can travel into the patient's open chest.
Obviously, bacteria-contaminated water particles in an open chest are a health concern.
Read the FDA Executive Summary.
Carr & Carr's personal injury attorneys have experience helping patients with defective medical products including Bair-Hugger Warming Blankets, IFC (Inferior Vena Cava) filters, and heater-cooler devices used in surgery. We have offices in the Tulsa and Oklahoma City, Oklahoma, areas as well as in northwest Arkansas. To arrange your free consultation, please call us at 888-241-3130.


Fantastic San Clemente location for retail, office, medical, or dental. High visibility with lots of pedestrian foot traffic. Large open space in front with a backroom storage and work space. Includes dedicated parking spaces and two private bathrooms. Close proximity to the beach with good freeway access. Lessee responsible for flooring and improvements specific to your business. Available February 1, 2016. Lessee to provide general liability insurance and city business license. Lessor prefers minimum 36 month lease term. Terms may be negotiable for right tenant.


text:
Nahum N. Glatzer , "The Essential Philo" [Book Review]
E. Lipman
The Thomist 35 (3):544 (1971)
Philo in Ancient Greek and Roman Philosophy
This entry has no external links. Add one.
Biblical Humanism Eighteen Studies by Martin Buber. Edited by Nahum N. Glatzer.Martin Buber & Nahum Norbert Glatzer - 1968 - Macdonald.
Nahum N. Glatzer., Essays in Jewish Thought. [REVIEW]David Biale - 1982 - International Studies in Philosophy 14 (1):81-83.
Rabbi Mosche Ben Maimon Ein Systematischer Querschnitt Durch Sein Werk.Moses Maimonides & Nahum Norbert Glatzer - 1935 - Schocken Verlag.
Sendung Und Schicksal des Judentums. Aus Nachbiblischen Quellen.Nahum Norbert Glatzer - 1969 - J. Hegner.
The Judaic Tradition Jewish Writings From Antiquity to the Modern Age.Nahum Norbert Glatzer - 1987
The Judaic Tradition: Texts.Nahum Norbert Glatzer (ed.) - 1969 - Behrman House.
The Way of Response: Martin Buber Selections From His Writings.Martin Buber & Nahum Norbert Glatzer - 1966 - Schocken Books.
The Letters of Martin Buber a Life of Dialogue.Martin Buber & Richard Winston - 1991 - Schocken.
Menahem Nahum of Chernobyl : Upright Practices, the Light of the Eyes.Arthur Nahum & Green - 1982
The Sentiments of Philo Judeus Concerning the Logos, or Word of God: Together with Large Extracts From His Writings Compared with the Scriptures on Many Other Particular and Essential Doctrines of the Christian Religion.Jacob Bryant - 1797 - Printed by John Burges ... And Sold by J. Deighton, Cambridge; Messrs. Cadell & Davies, P. Elmsley and T. Payne, London.
The Essential Philo. Philo - 1971 - New York: Schocken Books.
Philo of Alexandria's Views of the Physical World.Charles A. Anderson - 2011 - Mohr Siebeck.
The Works of Philo Complete and Unabridged [in One Volume].Charles Duke Philo & Yonge - 1993
Philo of Larissa: The Last of the Academic Sceptics.Charles Brittain - 2001 - Oxford University Press.
The Politics of Philo - E. R. Goodenough : The Politics of Philo Judaeus: Practice and Theory. Together with a General Bibliography of Philo by H. L.Goodhart and E. R. Goodenough. Pp. Xii+348; 6 Plates. New Haven: Yale University Press , 1938. Cloth, $3.75 or 17s. [REVIEW]Arthur Darby Nock - 1940 - The Classical Review 54 (03):147-148.
Sorry, there are not enough data points to plot this chart.


text:
« BREAKING NEWS: Political prisoner Antúnez is released | Main | Antúnez "will fight" »
Jailed lawyer gets 12-year sentence
Rolando Jimenez Pozada
Rolando Jimenez Pozada, 37, a dissident lawyer in jail since April 2003, has been sentenced to 12 years in prison, according to reports, both in English and in Spanish.
His crime?
In part, exhibiting disrespect for Fidel Castro, as if that hijo de puta deserves anything resembling it.
Reuters reports:
HAVANA (Reuters) - A Cuban dissident who wrote "Down with Fidel Castro" and other opposition slogans on walls of public buildings was sentenced to 12 years in jail, a human rights group said on Monday.
Rolando Jimenez had been held without charges in a jail on the Island of Youth off Cuba's southern coast since his arrest in March 2003, the Cuban Commission for Human Rights said.
Amnesty International declared Jimenez a prisoner of conscience in 2004.
Jimenez, a 36-year-old lawyer, was not allowed to defend himself in court and was sentenced in a secret trial to 12 years for disrespecting the Cuban leader and divulging secrets of the state security police, the rights group said.
Veteran rights activist Elizardo Sanchez, who heads the illegal but tolerated commission, said Jimenez was the second dissident to be tried secretly this month by Cuba's communist authorities.
"This is a clear sign than they are getting tough on dissident activity again," Sanchez said.
Dissident journalist Oscar Sanchez, who reported for a Miami-based Web site called CubaNet, was arrested at his home April 13 and sentenced to four years in jail on a charge of "social dangerousness," he said.
He was not allowed a lawyer and his family was barred from attending the brief trial in the town of Matanzas, unlike previous cases of dissident trials, Sanchez said.
Jimenez is a former Uncommon Sense Political Prisoner of the Week.
No word whether The Police have gotten word about Jimenez, via a message in a bottle or any other form of communication.
(H/T to Babalú.)
Posted by Marc R. Masferrer on April 23, 2007 at 11:34 PM in Cuba, Cuba - Political Prisoner of the Week | Permalink


Disney on Ice is finally coming to Canberra, and we know families around Canberra will be going nuts for these tickets so we got our hands on 5 quad passes to giveaway!
From Monday 18th to Friday 22nd March, Kristen & Nige will let you know what sound you should be listening for, for that morning.
When you hear your cue to call, be the first caller through on 6242 1063 and correctly identify which Disney movie the cue to call is from, and you'll win a quad pass to Disney on Ice. One lucky winner will receive an upgrade which will include a money can't buy experience for your little one, including a sea-shell ride on the ice, and be involved in the show.


text:
<?
# parser.inc
// Siple Template Parser is free software; you can redistribute it and/or modify it
// under the terms of the GNU General Public License as published
// by the Free Software Foundation; either version 2 of the License,
// or (at your option) any later version.
// PixHound is distributed in the hope that it will be useful, but
// WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston,
// MA  02111-1307  USA
//
// © 2005 Stefan Reich / Tobi Schulz
// http://www.script.gr/scripts/STP/

class Parser2 {
  # Do NOT call variables from the outside ! (Use the public methods instead.)
  var $params = array();
  var $paramObject;
  var $template;
  var $output; // NULL with parseAndEcho, Array otherwise
  var $includePath;

  ########################################################
  ################## Internal Functions ##################
  ########################################################

  ## checkCondition()
  ## Function to check for conditions in IF Tags
  ## Possible conditions:
  #
  #  gt = greater (Numbers only)
  #  ge = greater or equal (Numbers only)
  #  lt = lower (Numbers only)
  #  le = lower or equal (Numbers only)
  #  eq = equal (Number or string)
  #  ne = not equal (Number or string)
  #  lk = existis in string (String only, functions like the
  #       SQL LIKE '%string%'
  #
  # $value = value to check condition against
  #
  #

  function checkCondition($value, $condition) {
    ereg("([^ ]+) (.+)",$condition,$cond);
    $chh = $cond[1];
    $wert = $cond[2];
    $wert = ereg_replace("['|\"]","",$wert);
    if($chh == "gt") return ($value >  $wert);
    if($chh == "ge") return ($value >= $wert);
    if($chh == "lt") return ($value <  $wert);
    if($chh == "le") return ($value <= $wert);
    if($chh == "eq") return ($value == $wert);
    if($chh == "ne") return ($value != $wert);
    if($chh == "lk") return eregi($wert,$value);
    return $wert;
  }

  ## colorSet(string $colorstring)
  ## Enables changing Colors f.e. in table rows
  ## initiating an array with the color values
  ## as given by the template in form
  ## <#ATTR COLOR1,COLOR2,COLOR3...#>
  ##
  #
  function colorSet($colorstring)  {
    $colorstring = ereg_replace(" +","",$colorstring);
    $this->colors = split(",", $colorstring);
    $this->colorindex = 0;
    }

  ## colorChange()
  ## prints out the current value of array  $this->colors
  ## Steps to next index or 0 if end is reached
  function colorChange()  {
    $currentColor = $this->colors[$this->colorindex];
    $this->colorindex = ($this->colorindex == (count($this->colors) - 1)) ? 0 : $this->colorindex + 1;
    return $currentColor;
    }

  # Splits the template $str into parts saves it to $this->template.
  # Afterwards each element contains either
  # - Only text
  # - an HTML comment
  # - exactly one parser tag
  function splitTemplate($str) {
    $sicherheitscounter = 0;
    $this->template = array();
    while ($str != '') {
      $result = preg_match('/^(.*?)(<#.*?#>||\n?$)/s', $str, $matches);
      $str = substr($str, strlen($matches[0]));
      if (strlen($matches[1])) $this->template[] = $matches[1];
      if (preg_match('/<#INCLUDE (.*)#>/', $matches[2], $matches2)) {
        $str = $this->loadInclude($matches2[1]).$str;
      }
      elseif (preg_match('/<#ATTR (.*)#>/', $matches[2], $matches2))  {
        $this->colorSet($matches2[1]);
      }
      else {
        if (strlen($matches[2])) $this->template[] = $matches[2];
      }
      if (++$sicherheitscounter >= 2000) {
        print_r($matches);
        die("Parser stuck: '".$str."' $result ".strlen($str));
      }
    }
  }

  # loads an Include file and returns its contents
  function loadInclude($name) {
    $path = $this->includePath.$name;
    return file_get_contents($path);
  }

  # calls a variable or constant
  function getvar(&$vars, $var) {
    if ($var == "ATTR")
      return $this->colorChange();
    elseif (array_key_exists($var, $vars))
      return $vars[$var];
    elseif ($this->paramObject)
      return $this->paramObject->getVar($var);
    elseif (preg_match('/^G_/', $var) && defined($var))
      return constant($var);
    else
      return '';
  }

  function findEndOfIF($j, $to, $var, $tag) {
    $nest = 1;
    while ($j < $to) {
      if (preg_match("|^<#IF |", $this->template[$j])) {
        ++$nest;
        #echo "nest+ $nest: ".$this->template[$j]."
";
      } elseif (preg_match("|^<#/IF |", $this->template[$j])) {
        --$nest;
        #echo "nest- $nest: ".$this->template[$j]."
";
      }
      if ($nest <= 0) break;
      ++$j;
    }
    #while ($j < $to && !preg_match("|<#/IF !?$var#>|", $this->template[$j])) ++$j;

    if ($j >= $to) {
      echo "
WARNING: $tag not closed
";
    }

    return $j;
  }

  # works its way through the entries  $this->template[$from] until $this->template[$to-1]
  # using the parameters $vars and appends the result to $this->output
  # $enable: Output mode: 0=disabled; 1=active; -1=disabled, to be enabled with ELSE
  function process($from, $to, $vars, $enable = 1) {
    for ($i = $from; $i < $to; $i++) {
      $p = $this->template[$i];
      if ($enable != 1) {
        # nur nach ELSE und geschachtelten IFs suchen
        if ($p == "<#ELSE#>") {
          $enable = -$enable;
        } elseif (preg_match('/^<#IF (!?)(.*)?#>/', $p, $matches)) {
          $var = $matches[2];
          if (preg_match('/(\S*)\s+\(?(.*?)\)?$/', $var, $matches))
            $var = $matches[1];

          ++$i;
          $j = $this->findEndOfIF($i, $to, $var, $p);

          # call process() recursively but don't output anything
          $this->process($i, $j, $vars, 0);

          # Proceed after closing tag
          $i = $j;
        }
      } elseif (preg_match("/^<#FOR (.*)#>/", $p, $matches)) {
        # find ends of FOR tags
        $var = $matches[1];
        $value = $this->getvar($vars, $var);
        $j = ++$i;
        while ($j < $to && $this->template[$j] != "<#/FOR $var#>") ++$j;
        if ($j >= $to) die("Schließendes Tag für $p fehlt");

        # call process() recursively for each line
        if (is_array($value)) foreach ($value as $row) {
          if (!is_array($row)) $row = array('ROW' => $row);
          $this->process($i, $j, $row + $vars, 1);
        }

        # Proceed after closing tag
        $i = $j;
      } elseif (preg_match('/^<#IF (!?)(.*)?#>/', $p, $matches)) {
        # Split tag
        $neg = $matches[1];
        $var = $matches[2];
        $cond = '';
        if (preg_match('/(\S*)\s+\(?(.*?)\)?$/', $var, $matches)) {
          $var = $matches[1];
          $cond = $matches[2];
        }
        $value = $this->getvar($vars, $var);
        if ($neg) $value = !$value;
        if ($cond) $value = $this->checkCondition($value, $cond);

        ++$i;
        $j = $this->findEndOfIF($i, $to, $var, $p);

        # call process() recursively if variable is set
        $this->process($i, $j, $vars, $value ? 1 : -1);

        # Proceed after closing tag
        $i = $j;
      } elseif ($p == "<#ELSE#>") {
        $enable = -$enable;
      } elseif (preg_match("/^<#(.*)#>/", $p, $matches)) {
        # Variablen-Wert ausgeben
        $this->append($this->getvar($vars, $matches[1]));
      } else { # Normaler Text
        $this->append($p);
      }
    }
  }

  ## Prints PHP code to the output page
  function CheckPHP($text) {
  eval('?>'.$text.'<?');
  }

  function append($text) {
    if (is_array($this->output))
      $this->output[] = $text;
    else
      echo $text;
  }

  ########################################################
  ################ PUBLIC FUNCTIONS ################
  ########################################################

  # constructor
  function Parser2() {
    global $ADM_SESS;
    if(isset($ADM_SESS['PERM_USERNAME'])) $this->params['ADMIN_USERNAME'] = $ADM_SESS['PERM_USERNAME'];
  }

  # Returns all set parameters
  function getParams() {
    return $this->params;
  }

  # Returns ONE set parameter
  function getParam($name) {
    return $this->params[$name];
  }

  # Sets one parameter
  function setParam($name, $value) {
    $this->params[$name] = $value;
  }

  # sets several parameters at once
  # accepts an array or an object that supports the method getVar($name)
  function setParams(&$params) {
    if (is_array($params))
      $this->params = $params + $this->params;
    elseif (is_object($params))
      $this->paramObject = $params;
  }

  # Deletes all parameters (no argument)
  # or a list of parameters from an array
  # (the parameters can be keys or values)
  function clearParams($array = 'all') {
    if ($array == 'all') {
      $this->params = array();
      $this->paramObject = null;
    } else {
      foreach ($array as $k => $v) {
        unset($this->params[$k]);
        unset($this->params[$v]);
      }
    }
  }

  # Deletes one parameter
  function clearParam($name) {
    unset($this->params[$name]);
  }

  # Assembles a template from a frame document and fragments
  function assemble($frame, $frags) {
    $tmpl = file_get_contents($frame);

    foreach ($frags AS $fragname => $fragpath) {
      $cmd = "||";
      if (preg_match($cmd, $tmpl)) {
  	    $tmpl = preg_replace($cmd, file_get_contents($fragpath), $tmpl);
      }
    }

    $this->splitTemplate($tmpl);
  }

  # Load a monolithic template
  function setTemplate($tmpl) {
    if (!is_file($tmpl))
      die("Template not found: $tmpl");
    $idx = strrpos($tmpl, '/');
    if (!isset($this->includePath))
      $this->includePath = substr($tmpl, 0, $idx === false ? 0 : $idx+1);
    $this->splitTemplate(file_get_contents($tmpl));
  }

  # Sets the template content directly (not through a file)
  function setTemplateText($text) {
    $this->splitTemplate($text);
  }

  # Parse template and return the contents
  function parseAndReturn() {
    $this->output = array();
    $this->process(0, count($this->template), $this->params);
    return join('', $this->output);
  }

  # Parse template and ECHO the result
  function parseAndEcho() {
    $this->output = null;
    $this->process(0, count($this->template), $this->params);
  }

  # Parse template and ECHO the result;
  # Eval One-line PHP code
  function parseAndEchoPHP() {
    $this->CheckPHP($this->parseAndReturn());
  }

  # Parse template and save the result to the file $file
  function parseAndSave($file) {
    $outf = fopen($file, "w");
    fputs($outf, $this->parseAndReturn());
    fclose($outf);
  }

  # Set include path (only 1 directory possible)
  # Cal this before setTemplate!
  function setIncludePath($path) {
    $this->includePath = $path;
    if (substr($path, -1, 1) != '/') $this->includePath .= '/';
  }

  ########################################################
  ################# STATIC FUNCTIONS #################
  ########################################################

  # Does everything at once: assemble, setParams and parseAndEcho
  function assembleAndEcho($frame, $frags, $params) {
    $parser = new Parser2;
    $parser->assemble($frame, $frags);
    $parser->setParams($params);
    $parser->parseAndEcho();
  }

  # Does everything at once: setTemplate, setParams and parseAndEcho
  function setTemplateAndEcho($tmpl, $params) {
    $parser = new Parser2;
    $parser->setTemplate($tmpl);
    $parser->setParams($params);
    $parser->parseAndEcho();
  }

} # End class Parser2

# a parser that uses [ ] instead of <# #>
class AlternativeParser extends Parser2 {
  function splitTemplate($str) {
    $str = preg_replace('/\[(.*?)\]/e', "'<#'.strtolower('\\1').'#>'", $str);
    parent::splitTemplate($str);
  }
}

?>


Join this FABULOUS PR Agency and work on some of the world's most well-known Consumer, Travel, FMCG and lifestyle brands! This is a simply amazing newly created opportunity and one NOT to be missed! If you are an experienced Account Manager looking for an exciting new role, get in touch with me today!
You will be a driven AM, with good consumer, travel, tourism and lifestyle experience, or a passion for this area. You'll have the ability to run accounts yourself and also work with the support of your Account Director.
This is YOUR opportunity to work for one of the most exciting agencies' in Sydney across some of the world's biggest brands! B2C EXPERIENCE IS A MUST. EXCELLENT COMMUNICATION & WRITING SKILLS are a must. GREAT ATTITUDE & PERSONALITY is a MUST!
A competitive salary, a supportive team, a fun environment, GREAT benefits and a BRILLIANT work culture is on offer along with an employer of choice on your CV.....don't miss out, apply today!


text:
Q: Verify signing certificate fingerprint on custom API Call I do have a question which buggs me. Whenever you use a Google API like Firebase Database you tell the Endpoint upon creation the package name of your app that is allowed to use it and also the Fingerprint of the certificate that you use to sign the app.
Now when you try to use the API from another App (different package name) or changed the signing certificate (e.g. switched from debug to release) Google will reject the call.
This made me think. How does Google know the signing certificates fingerprint at runtime?
Can we use the same mechanism to secure a custom API Endpoint by checking the fingerprint?
Getting the package name is easy and nothing to rely on, but I'm interested in the certificate fingerprint.
My goal is to authenticate requests on the server by something other than a hash of the parameters + salt and potentially a timestamp.

A: I did some more research on that topic. Turns out that you can access the signing certificate at runtime like so:
Signature[] sigs = context.getPackageManager().getPackageInfo(context.getPackageName(),PackageManager.GET_SIGNATURES).signatures;
for (Signature sig : sigs) {
    Log.i("App", "Signature : " + sig.hashCode());
}

found here


Cumbernauld and Kilsyth parliamentarians Jamie Hepburn MSP and Stuart McDonald MP have welcomed the announcement that free bus passes will continue to be made available to all over-60s.
Michael Matheson, Cabinet Secretary for Transport, Infrastructure and Connectivity, also revealed the scheme will be extended to the companions of disabled children aged under five.
A consultation on the scheme garnered 3000 responses, two thirds of which believed the pass should continue to be available to all over 60s.
Jamie Hepburn MSP said: "This is great news for everyone who regularly uses the scheme, is looking forward to getting their pass and those with young disabled children.
Stuart McDonald MP added: "This a massive ongoing investment in making Scotland a fairer society and reducing social isolation.
"The Scottish Government are to be commended not only for protecting this scheme, but for extending it to support families with disabled children.


Kasol has emerged out to be as the crowd's favorite escape into the Himalayas. Nestled in the lap of the brilliant and quaint Parvati Valley of the favorite vacationing state of Himachal Pradesh, Kasol is famous for the unmatched green beauty of the region. This tour takes you on a trekking and camping expedition in the very best of Kasol.
On reaching Kasol, take a breath of fresh air amidst views of picturesque hills and head to the campsite. Relax in the green space by the Parvati River and enjoy a filling breakfast before you start your Chalal Trek from Kasol. En route to Chalal, explore the "Little Amsterdam", the lanes of Kasol lined with vibrant souvenir shops and Israeli cafes. A two-hour walk will take you to the small, enticing village of Chalal which is a popular hub for Trance and crazy parties held deep in the forest. Cradled in the conifer dense forest, the village gives you much scenic beauty to admire, right beside the wildly flowing Parvati River. After spending a wonderful day in Chalal, get back to your campsite in the evening. Enjoy dancing around the bonfire, as you have a scrumptious dinner by the riverside.
Transfer from Bhuntar to Kasol and Kasol to Bhuntar. Shared taxis and local buses are available at the regular intervals.


Welcome to our community. Please browse our pages and enjoy your stay!
Lake in the Woods Condominium is a one hundred forty (140) home Condominium Association arranged in thirty-nine (39) buildings governed by a Board of Administration who meet as needed to administer the community.


text:
Q: How to Enable Sticky Sessions in tomcat loadbalancer? My task is to loadbalance web traffic among Apache Tomcat server instances via mod_jk.
I already have configured the load-balancing, but It does not keep the same session for same request, it redirects to another Tomcat server instance.

A: In your workers.properties set the sticky_session option to 1:
worker.list=balancer,lbstats

#node1
worker.node1.type=ajp13
worker.node1.host=127.0.0.1
worker.node1.port=8009
worker.node1.lbfactor=10

#node2
...

#lb config
worker.balancer.type=lb
worker.balancer.sticky_session=1

worker.balancer.balance_workers=node1,node2

#lb status information (optional)
worker.lbstats.type=status

Update
One reason could be that the session gets lost during requests. Make sure you did set the jvmRoute attribute in the engine element in server.xml:
<Engine jvmRoute="node1" defaultHost="localhost" name="Catalina">

The name must match the nodes name from workers.properites (see above). This name will be appended to your session ids. Make sure it does not change during requests.
Furthermore define a status worker as shown above, and map it to a url in your httpd.conf file:
JkMount /modjkstatus    lbstats

After that access http://yourdomain.xyz/modjkstatus to see further cluster and lb information.


Abaco can arrange fleet insurance for all types of commercial fleets, ranging from a few vehicles up to hundreds, including cars, vans, trucks and plant, both in the UK and across Europe.
Abaco is experienced in providing motor fleet insurance for fleets of varying sizes, ranging from a couple of cars up to 500 + vehicles.
Whatever type of fleet you operate, whether own goods, business use, haulage, self drive or private hire, we can provide a tailored solution from a specialist fleet insurer, offering the highest levels of cover at the most competitive price.
We can arrange cover for any age of driver, anywhere across the UK and Europe, with full windscreen cover and a network of approved repairers, providing optimum protection. Also in the event of an accident, we will ensure your claim is handled and resolved as speedily as possible.


3D printers have, for the past couple years, become more and more popular. In fact, you can see some sort of offering in just about every major hardware and electronics store. In addition to increasing popularity, this technology is becoming more affordable and easier to use as well. Like with any new technology, lower price points and increasing user friendliness will create that tipping point that will really help a product break out to the public and become the new household item that everyone wants.
Now that 3D printing is so accessible, it is only fitting that their manufacturers start to broaden the applications to which these marvels of modern science can be applied. Inevitably, the 3D food printer was developed, which provides us with the ability to create the same intricate designs we see made by other 3D printers, but this time in an edible form, such as a cake, a bowl of pasta, a pizza, or anything else your heart desires. While our heart's desires may be a little more advanced than the technology itself, we are sure that it won't be long before that technology catches up and we will be able to print anything we want to eat right in the comfort of our own kitchens.
We are living in an exciting time, a time in which exciting things are happening, and we are most excited about the prospect of the 3D food printer. Whether you are a home enthusiast or a professional food artisan, these offerings, while currently scarce, will be sure to amaze and inspire. Whether you want to perfectly reproduce an edible time and time again or create some custom creation for a special occasion, these selections will fit the bill and iReviews is happy to present to you our list of 2015 best 3D food printers.


text:
Кліматиза́ція, клі́мат-контро́ль або кондиціюва́ння пові́тря (скорочується як AC від  та ) — створення і підтримка параметрів повітряного середовища (температури, відносної вологості, складу, швидкості руху і тиску повітря), найсприятливіших для роботи персоналу, обладнання і приладів.
У більш вузькому значенні під кондиціюванням повітря розуміють відведення зайвого тепла (теплонадлишків) з приміщень, з метою забезпечення теплового комфорту.

Застосування кліматизації
Загалом системи кліматизації умовно діляться на дві групи: системи житлового та громадського кондиціонування, та системи промислового кондиціювання.
Системи житлового та громадського кондиціювання мають на меті створити умови для теплового комфорту та високої працездатності для людей. Споруди, у яких застосовується ці системи, можна поділити на:
 Індивідуальні житлові будинки
 Багатоповерхові житлові будинки
 Комерційна нерухомість
 Громадські будинки
 Робочі місця на промислових підприємствах
 Спортивні споруди

Промислова кліматизація підтримує задані параметри повітряного середовища необхідні для протікання технологічних процесів, роботи обладнання та приладів. Промислове кондиціювання повітря, зазвичай необхідне для наступних випадків:
 Приміщення в медичних установах - операційні, відділення реанімації, тощо
 Чисті кімнати - фармацевтичне виробництво, виробництво точної електроніки
 Розведення деяких видів тварин та рослин
 Дата-центри, серверні кімнати
 Текстильне виробництво
 Дослідницькі центри, лабораторії
 Атомні електростанції
 Гірництво
 Виробництво та приготування продуктів харчування
 Інші наукові та промислові приміщення, що потребують контролю параметрів повітряного середовища

Кліматизація на гірничих підприємствах

Кліматизація застосовується на шахтах, кар'єрах, в надшахтних будівлях, приміщеннях збагач. ф-к та ін. На сучасних шахтах кондиціювання повітря виконується, якщо температура повітря в очисних вибоях перевищує 26°С, у вибоях підготовчих виробок — 24-26°С. Існують загальношахтні і місцеві системи кліматизації повітря, на робочих місцях використовують також засоби індивідуального теплового захисту у вигляді переносних повітроохолоджувачів. Загальношахтні системи призначені для охолодження повітря у виробках, що провітрюються за допомогою вентиляторів гол. провітрювання протягом усього періоду експлуатації шахти (стаціонарні системи). Такі системи включають холодильні апарати (установки), повітроохолоджувачі, пристрої для відводу тепла за межі шахти, циркуляційні трубопроводи, насосне обладнання, засоби автоматики тощо.

Основні характеристики стаціонарної системи кондиціювання повітря — номінальна холодопродуктивність і ефективність. Підвищення останнього параметра досягається теплоізоляцією трубопроводів, їх ущільненням, зниженням гідравлічного опору та ін.

За кордоном найбільші стаціонарні системи діють у шахтах Німеччини, Чехії, ПАР, Індії та ін. країн. Найбільша номінальна холодопродуктивність вітчизняних установок кліматизації — 150 МВт. Місцева кліматизація в шахтах виконується в тупикових підготовчих розробках, прохідницьких вибоях, камерах і т.д. Здійснюється за допомогою автономних повітроохолоджуючих агрегатів на основі парокомпресійних холодильних установок або повітряних турбодетандерів. Охолоджене в таких агрегатах повітря подається у вибої по трубах за допомогою вентиляторів місцевого провітрювання. Утворене при конденсації тепло при використанні автономних кондиціонерів відводиться за межі виробки за допомогою шахтної або технічної води. Засоби індивідуального теплового захисту включають костюми і жилети з водяним охолоджуванням, ранцеві вихрові труби, що охолоджують головні убори.

У кар'єрах кондиціювання повітря зводиться до підтримки відповідних параметрів повітря в кабінах гірничих машин. Здійснюється системами, що включають технічні засоби для очищення повітря від пилу і шкідливих газів, охолодження його при високих зовнішніх температурах і підігрівання при низьких; зволоження і осушення, переміщення, змішування і розподілу повітря, а також для регулювання його параметрів та їх контролю.

Див. також
 Енергоефективність
 Пасивний будинок
 Будівельна ізоляція
 Енергоаудит
 Теплова ізоляція
 Система кондиціювання повітря (авіація)

Примітки

Література
Англійська стаття ;

Кондиціювання
Винаходи Нідерландів

redpajama_set_name: RedPajamaWikipedia


1974-1976 Jody Scheckter race helmet.
This vintage Bell helmet is a multiple race winner as well as Jody's first win helmet. It was used at his maiden victory at the 1974 Swedish GP while driving the Tyrrell-Ford 007, as well as at that year's British GP which he also won. There are two Goodyear 'flying feet' at the side commemorating each victory, one in gold and one in silver, and these are evident in many reference photos. The helmet also matches photos from both 1975 (Tyrrell 007) and 1976 (Tyrrell P34 Six Wheeler) as well.
SOLD – enquire to have us find you a similar one.