text:
// -*- Mode: C++; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: nil; -*-
#ifndef YB__UTIL__VALUE_TYPE__INCLUDED
#define YB__UTIL__VALUE_TYPE__INCLUDED

#include <string.h>
#include <string>
#include <vector>
#include <stdexcept>
#include <utility>
#include "util_config.h"
#include "data_types.h"
#include "nlogger.h"
#if defined(YB_USE_TUPLE)
#include <boost/tuple/tuple.hpp>
#endif
#if defined(YB_USE_STDTUPLE)
#include <tuple>
#endif

namespace Yb {

class YBUTIL_DECL ValueIsNull: public ValueError
{
public:
    ValueIsNull();
};

template <class T__> struct ValueTraits {};

#define YB_MAX(x, y) ((x) > (y)? (x): (y))
#define YB_NULL ::Yb::Value()

//! Variant data type for communication to the database layer
/** Value class objects can hold NULL values.  Copying such objects
 * is cheap because of shared pointer.
 * Value class also supports casting to several strict types.
 *
 * @remark Value class should not be implemented upon boost::any because of massive
 * copying of Value objects here and there.
 */
class YBUTIL_DECL Value
{
    void init();
    void destroy();
    void assign(const Value &other);

public:
    enum Type {
        INVALID = 0, INTEGER, LONGINT, STRING, DECIMAL, DATETIME, FLOAT
    };
    Value();
    Value(const int &x);
    Value(const LongInt &x);
    Value(const double &x);
    Value(const Decimal &x);
    Value(const DateTime &x);
    Value(const String &x);
    Value(const Char *x);
    Value(const Value &other);
    Value &operator=(const Value &other);
    ~Value();
    void swap(Value &other);
    void fix_type(int type);

    int as_integer() const;
    LongInt as_longint() const;
    const String as_string() const;
    const Decimal as_decimal() const;
    const DateTime as_date_time() const;
    double as_float() const;
    const String sql_str() const;
    const Value nvl(const Value &def_value) const;
    int cmp(const Value &x) const;
    bool is_null() const { return type_ == INVALID; }
    int get_type() const { return type_; }
    static const String get_type_name(int type);

    // raw read with no checks and no conversions
    const int &read_as_integer() const;
    const LongInt &read_as_longint() const;
    const double &read_as_float() const;
    const Decimal &read_as_decimal() const;
    const DateTime &read_as_datetime() const;
    const String &read_as_string() const;

    template <class T__>
    const T__ &read_as() const {
        YB_ASSERT((int)type_ == (int)ValueTraits<T__>::TYPE_CODE);
        return ValueTraits<T__>::read(*this);
    }

private:
    int type_;
    char bytes_[YB_MAX(sizeof(int), YB_MAX(sizeof(LongInt),
                YB_MAX(sizeof(String), YB_MAX(sizeof(Decimal),
                YB_MAX(sizeof(DateTime), sizeof(double))))))];
};

template <> struct ValueTraits<int> {
    enum { TYPE_CODE = (int)Value::INTEGER };
    static const int &read(const Value &x)
        { return x.read_as_integer(); }
    static int &from_variant(const Value &x, int &t) {
        t = x.as_integer();
        return t;
    }
};
template <> struct ValueTraits<LongInt> {
    enum { TYPE_CODE = (int)Value::LONGINT };
    static const LongInt &read(const Value &x)
        { return x.read_as_longint(); }
    static LongInt &from_variant(const Value &x, LongInt &t) {
        t = x.as_longint();
        return t;
    }
};
template <> struct ValueTraits<String> {
    enum { TYPE_CODE = (int)Value::STRING };
    static const String &read(const Value &x)
        { return x.read_as_string(); }
    static String &from_variant(const Value &x, String &t) {
        t = x.as_string();
        return t;
    }
};
template <> struct ValueTraits<Decimal> {
    enum { TYPE_CODE = (int)Value::DECIMAL };
    static const Decimal &read(const Value &x)
        { return x.read_as_decimal(); }
    static Decimal &from_variant(const Value &x, Decimal &t) {
        t = x.as_decimal();
        return t;
    }
};
template <> struct ValueTraits<DateTime> {
    enum { TYPE_CODE = (int)Value::DATETIME };
    static const DateTime &read(const Value &x)
        { return x.read_as_datetime(); }
    static DateTime &from_variant(const Value &x, DateTime &t) {
        t = x.as_date_time();
        return t;
    }
};
template <> struct ValueTraits<double> {
    enum { TYPE_CODE = (int)Value::FLOAT };
    static const double &read(const Value &x)
        { return x.read_as_float(); }
    static double &from_variant(const Value &x, double &t) {
        t = x.as_float();
        return t;
    }
};

//! @name Overloaded operations for Value class
//! @{
inline bool operator==(const Value &x, const Value &y) { return !x.cmp(y); }
inline bool operator!=(const Value &x, const Value &y) { return x.cmp(y) != 0; }
inline bool operator<(const Value &x, const Value &y) { return x.cmp(y) < 0; }
inline bool operator>=(const Value &x, const Value &y) { return x.cmp(y) >= 0; }
inline bool operator>(const Value &x, const Value &y) { return x.cmp(y) > 0; }
inline bool operator<=(const Value &x, const Value &y) { return x.cmp(y) <= 0; }
//! @}

typedef std::vector<Value> Values;
typedef const Values *RowDataPtr;
typedef std::vector<RowDataPtr> RowsData;
typedef std::vector<std::pair<String, Value> > ValueMap;
typedef std::pair<String, ValueMap> Key;
typedef std::vector<Key> Keys;

YBUTIL_DECL bool empty_key(const Key &key);

//! @name Casting from variant typed to certain type
//! @{
template <class T__>
inline T__ &from_variant(const Value &x, T__ &t) {
    return ValueTraits<T__>::from_variant(x, t);
}
//! @}

#if defined(YB_USE_TUPLE)
inline void tuple_values(const boost::tuples::null_type &, Values &values)
{}

template <class H, class T>
inline void tuple_values(const boost::tuples::cons<H, T> &item, Values &values)
{
    values.push_back(Value(item.get_head()));
    tuple_values(item.get_tail(), values);
}
#endif // defined(YB_USE_TUPLE)

#if defined(YB_USE_STDTUPLE)
template <int I, class T>
inline typename std::enable_if<I == std::tuple_size<T>::value, void>::type
stdtuple_values(const T &t, Values &values)
{}

template <int I, class T>
inline typename std::enable_if<I != std::tuple_size<T>::value, void>::type
stdtuple_values(const T &t, Values &values)
{
    values.push_back(Value(std::get<I>(t)));
    stdtuple_values<I + 1, T>(t, values);
}
#endif // defined(YB_USE_STDTUPLE)

} // namespace Yb

namespace std {

template<>
inline void swap(::Yb::Value &x, ::Yb::Value &y) { x.swap(y); }

} // namespace std

// vim:ts=4:sts=4:sw=4:et:
#endif // YB__UTIL__VALUE_TYPE__INCLUDED


text:
Mark Hamill Talks 'Star Wars,' Prepares For 'Secret Service' Role
Josh Wigler roundhoward 11/01/2012
Mark Hamill is a popular man right now with all this "Star Wars: Episode 7" news going around, but before any Luke Skywalker reprisals, he'll be busy getting into the comic book game.
Comic book writer Mark Millar has announced that Hamill has agreed to appear in the film adaptation of "Secret Service," reportedly being directed by outgoing "X-Men" filmmaker Matthew Vaughn. Hamill himself appears in the "Secret Service" comics, and it now appears he'll pop up in the film as well.
I am so glad we got @hamillhimself to agree to be in Secret Service before he's whisked away for 6 years to wield a light-sabre again!!
— Mark Millar (@mrmarkmillar) October 31, 2012
In "Star Wars" news, Hamill recently spoke with EW and revealed that he's known about plans for a new trilogy since this past summer, when he had lunch with George Lucas and Carrie Fisher.
"Last August, he asked Carrie and I to have lunch with him and we did," revealed the actor. "I thought he was going to talk about either his retirement or the Star Wars TV series that I've heard about—which I don't think we were going to be involved in anyway, because that takes place between the prequels and the ones we were in and, if Luke were in them, he'd be anywhere from a toddler to a teenager so they'd get an age-appropriate actor—or the 3-D releases. So when he said, 'We decided we're going to do Episodes VII, VIII, and IX,' I was just gobsmacked. 'What? Are you nuts?!'"
Let us know what you think of all the news in the comments section or hit us up on Twitter!

redpajama_set_name: RedPajamaCommonCrawl


What makes a good booth at a high school career fair?
I'm representing my college department at a large high school's career day, and I need some ideas!
This is the computer science department at the local junior college. We offer the usual range of beginning programming, web design and desktop publishing classes, plus game design, administrative assistant and medical coding programs.
What can I do to make our plain boring table a little bit more enticing to the average high schooler? We'll have a regular banquet-size table and we have a three-sided table-top display. We generally have stacks of handouts explaining the various programs and classes. We'd like to play up the game design program a little, but the other programs need to be represented too.
This is the first time I'm doing one of these solo, so any advice is welcome!
Can you let them try out one of the games a student has designed?
Show pictures of the process of developing a game (sketches of characters, etc).
High schoolers will probably be shy about asking questions, so prepare a summary of what it is you do to give to students who look interested but stare at you blankly when you offer to answer any questions.
I sometimes work at boat shows and a jar of candy usually gets lots of poeple into the booth.
Do you have anything to give away or raffle off? People love free stuff. Anything you can raffle off is a huge bonus for you because you can collect their contact info (email addresses at least) and then send them more info later to remind them how awesome you are.
candy. definitely candy. It helps.
Doing it solo might be a challenge if there are a lot of people milling around. If no one is talking TO you, make sure to go up and contact them yourself, ask them if they have questions, the usual. If there are lots of people milling around, however, be polite about asking people to be fairly brief when asking questions and stuff. Talking to one person about for an hour is probably not the best way to get people interested in the school, but neither is restricting everyone to one question each.
Otherwise, just candy, candy, candy. And free stuff if you can get your hands on it, stuff like pens, pins, stickers, fridge magnets, etc.
Any possible way to take a couple of your current students with you? Preferably freshmen. The high school kids might better relate (and be able to talk with) someone that's closer to them in age and temperament.
Something interactive would be great. See if you could bring a laptop with demos of some of the different projects that your students have worked on. Letting people see what they could do is a lot better than just explaining what kinds of things are available.
I did a career day at a high school and I brought a demo of my surgical simulation program on a laptop and it was a big hit. The only problem I had was moving people off of it so everyone could try it out.
I've represented my department before, when I was a graduate student. At the very least a PowerPoint slideshow running on a loop with pictures and examples from the college are always helpful. The movement brings attention to your area. LCD projector if you have space, laptop if you don't. If a wireless link is possible, have another laptop open to the department website. I've found it really helpful when people ask questions to be able to quickly show them where to find more information on their own later on.
'Course at the time I had built the site in question for my department, so I knew where everything was, which made it pretty easy... if you aren't familiar with the site layout make sure you learn more about it before using it, as you don't want to look clueless about your own CS department's website.
I saw this at the CS Games competition: Cookie Tetris. You code up a simple, playable game of tetris, and every time they score a multiple of 1000 points, the player gets a cookie. Once they die, you give that player the number of cookies they've earned.Needless to say, you need to bake up a tray of cookies. The game we played gave you more points for speed than anything else, so you had to play FAST tetris.


To get some black appliances, vintage accessories may look so amazing and event furniture wholesale complete black home equipment seem. If you have black Furniture island, then you can unite it with together with event furniture wholesale vintage accessories to ensure it is even more beautiful. Choose white cabinet, but event furniture wholesale includes countertop. It helps you to beautify your black home equipment. Dark counter-top that is combined with black home equipment will make you have beautiful Furniture.
Second, you can build black Furniture with one wholesale event furniture for sale particular comparison coloring. Black is wholesale event furniture for sale actually very flexible and neutral coloration. Still with gray or broken white colour aas the home wall coloring wholesale event furniture for sale for your own Furniture, you may pick black or black light gray color for the Furniture island and the cook top. Then, you may select 85 best event furnture mages on pnterest hgh tables with certain light neon tone. As an example, you may pick teal color the cushion. Afterward, pain the backsplash with still another color that has very similar tone into the blue shade you choose for your home furniture.
One of the major event furniture wholesale uk portion and item in Furniture is Furniture cabinet that's character as display and organize the Furniture. Ordinarily Furniture cupboard can be used for storage space of the Furniture. Though that it's useful for storage, also additionally, it has the ability to make the Furniture greater look. As the result you will find so many layout of Furniture cabinet nowadays which can be paired to the whole Furniture theme and layout. There's a Furniture cupboard that's available room , also 85 best event furnture mages on pnterest hgh tables can ensure it is complete the use of display and storage also.
You will find so special event furniture wholesale many furnitures to get Furniture outthere that you simply can choose for the own needs on your Furniture. The colors of these furnitures may also be several. From neutral and safe colors to crying and vivid colours. Some folks choose white color particularly for Furniture cupboards to have yourself a tidy look. Also, advantages of 85 best event furnture mages on pnterest hgh tables.
In 85 best event furnture mages on pnterest wholesale event furniture australia hgh tables you will find other appliances and tools and parts of furniture to finish. Those things often have different materials. Which exactly are substances that are perfect to combine with white Furniture cupboards? Cases of excellent companies for white Furniture closets: Woods. It can be wood flooring, a wood island, wood countertops. Stainless steel. A stainless stove hood and a stainless stand suit white Furniture cabinets.
When you purchase a offer, the home equipment possess similar coloring and type therefore many ideas wholesale event furniture canada will easily combine along with the general decoration. You are able to match with the tone and kind of the home equipment with all the cabinets so you will complement the following. The most crucial thing about all is that the purchase price. Whenever you get a package, you are certainly going to get much better deals in comparison to acquiring the home equipment one by one. Hence, acquiring 85 best event furnture mages on pnterest hgh tables helps you to save you so much prized cash.
This image gallery named as 85 Best Event Furnture Mages On Pnterest Hgh Tables might be ideal solution for your decoration. As the author has insert this image into Event Furniture Wholesale post section, would ease you to find the perfect match of you decor desire.


text:
Mental health in Covid times
How has the Covid-19 pandemic affected our mental health? Moreover, are we able to bounce back from this?
© Zimmytws / Adobe Stock
A new study commissioned by the European Parliament's Panel for the Future of Science and Technology (STOA) – to be presented during the corresponding STOA event on 25 January – shows that Europeans are actually pretty resilient in general. On top of that, a European research project, DynaMORE, has been working on mathematical modelling of mental health and an app that helps the user to prevent stress. They generated and validated the first computer (also called 'in silico') model of stress resilience. "This will transform the way we are doing prevention", says project coordinator Prof Kalisch.
As the Covid crisis drags on, including the measures that come with it, our mental wellbeing is under pressure. According to a Belgian survey, the number of Belgians who indicated suffering from anxiety and depressive feelings was never this high and is comparable with the beginning of the pandemic: 21% of the adult respondents say they suffer from depression and 24% deal with anxiety. "Especially this last Omicron wave has taken a heavy toll on those who thought the worst was behind us", says Belgian researcher Stefaan Demarest of Sciensano.
Another study published last November stated that 36% of French students surveyed said they had depressive symptoms during the first lockdown, and 50% reported the same symptoms during the second one. The same trend was found regarding anxiety symptoms, with 27.5% of the students surveyed reporting them, while the figure stood at 16.9% for non-students. On top of that, 12.7% of students reported suicidal thoughts, compared to 7.9% among non-students.
Daily infection rates
Before the pandemic, mental disorders were the leading cause of health-related burdens on society, with depressive and anxiety disorders being its leading contributors. The pandemic seems to have made matters much worse. A recent worldwide study in the Lancet found that the daily Covid-19 infection rates in the news and the reductions in mobility could be associated with increased prevalence of major depressive and anxiety disorder. According to this study, women were affected more by the pandemic than men, while younger age groups were more affected than older age groups.
At the Leibniz Institute for stress resilience in Mainz, Germany, they witness similar trends in the EU.
Professor Klaus Lieb, Scientific Director of the Leibniz Institute for Resilience Research (LIR),Professor and Chair of the Department of Psychiatry and Psychotherapy at the University Medical centre in Mainz: "The Covid-19 pandemic has been having an enormous impact on us and our mental wellbeing. Not only have the immediate disease-related threats had an effect, so have the policy measures that aimed to fight the pandemic. Travel-related restrictions and school closures have imposed tremendous challenges on the public at large, as well as specific population groups like children and adolescents or employees." – Read Klaus Lieb's full interview
Together with his colleague Dr Angela Kunzler, he undertook a substantial literature study for the European Parliament's Panel for the Future on Science and Technology (STOA). Its title: 'How are we coping with the pandemic? Mental health and resilience amid the Covid-19 pandemic in the EU'.
Luckily, according to the study experts, there is light at the end of the tunnel. Psychologist and researcher Dr Kunzler says that even though they indeed found "a consistent increase of stress-related mental symptoms (anxiety, depression, general psychological distress) in the general population during the pandemic compared to before". Surprisingly, but also understandably, in the aftermath of the initial shock of the disease outbreak, people developed various strategies to cope with the pandemic.
Dr Kunzler explains: "For example, a positive reappraisal of the pandemic and the related containment measures might have contributed to rather resilient responses over the further course of the pandemic." A positive reappraisal can be understood as a positive reframing of your thoughts, finding something to be grateful about even in a challenging situation like the current pandemic. This is part of resilience, the process of adapting well in the face of adversity, trauma, or other significant sources of stress.
Dr Angela Kunzler, Leibniz Institute for Resilience Research: "We do know from resilience research and previous studies on other macro-stressors (for example, the terrorist attacks on 11th September 2001) that resilience is not a rarely observed phenomenon. Instead, after potentially traumatic events, most people either show stable trajectories of mental health or a temporarily increased mental burden which is followed by a recovery of mental health." – Read Angela Kunzler's full interview
Mathematical modelling and positive reappraisal
In the meantime, the EU-funded project DynaMORE pursues the goal of alleviating the stress-related burden on society by advancing the mathematical modelling of mental health and, on the basis of this, by developing an app for positive reappraisal.
"Mathematical modelling helps us to deepen our scientific understanding of mental health", says project coordinator Prof Raffael Kalisch: "We are generating and validating the first in-silico model of stress resilience and using it as a basis for developing an entirely new mobile health (mHealth) app for the primary prevention of stress disorders."
According to the experts, the app (still in an experimental phase) has great potential for commercial exploitation: "We anticipate that our solutions will be pandemic-proof and facilitate coping with future pandemics for individuals and for societies at large."
Raffael Kalisch, professor for Human Neuroimaging and head of the Neuroimaging Center (NIC) at the Johannes Gutenberg University Medical Center, Mainz: "I think we are learning a lot about resilience mechanisms, but simultaneously we are heading for very efficient ways of promoting mental health that make use of the latest digital technologies, are scalable, cost-effective, and easily accessible, including in times of pandemics and in low-income populations. They also have the advantage that they do not stop at national borders and can be applied anywhere. I am hoping that this will transform the way we are doing prevention and that our solutions will be adopted on a large scale by our health care systems." – Read Raffael Kalisch's full interview
• More info about reappraisal and ReApp, the app for boosting positive appraisal
• You can already get an experimental version by sending an email to reappstudy@gmail.com
• STOA online event: 'Coping with the pandemic: Psychosocial consequences of the corona crisis', Tuesday 25 January 2022 at 15:00h CET
• Covid-19 and how to protect our mental health: 'Social support, financial stability, activities and psychological resilience'
• Using technology to cope with stress-related mental health problems
Category: Articles, Health
Tags: covid-19, mental health, pandemic
Contributor: Carolien Nijenhuis
Scientists: Angela Kunzler, Klaus Lieb, Raffael Kalisch


text:
package io.moquette.parser.netty;

import io.moquette.parser.proto.messages.ConnectMessage;
import io.netty.buffer.ByteBuf;
import io.netty.channel.ChannelHandlerContext;
import io.moquette.parser.proto.messages.AbstractMessage;

/**
 *
 * @author andrea
 */
public class ConnectEncoder extends DemuxEncoder<ConnectMessage> {

    @Override
    protected void encode(ChannelHandlerContext chc, ConnectMessage message, ByteBuf out) {
        ByteBuf staticHeaderBuff = chc.alloc().buffer(12);
        ByteBuf buff = chc.alloc().buffer();
        ByteBuf variableHeaderBuff = chc.alloc().buffer(12);
        try {
            staticHeaderBuff.writeBytes(Utils.encodeString("MQIsdp"));

            //version
            staticHeaderBuff.writeByte(0x03);

            //connection flags and Strings
            byte connectionFlags = 0;
            if (message.isCleanSession()) {
                connectionFlags |= 0x02;
            }
            if (message.isWillFlag()) {
                connectionFlags |= 0x04;
            }
            connectionFlags |= ((message.getWillQos() & 0x03) << 3);
            if (message.isWillRetain()) {
                connectionFlags |= 0x020;
            }
            if (message.isPasswordFlag()) {
                connectionFlags |= 0x040;
            }
            if (message.isUserFlag()) {
                connectionFlags |= 0x080;
            }
            staticHeaderBuff.writeByte(connectionFlags);

            //Keep alive timer
            staticHeaderBuff.writeShort(message.getKeepAlive());

            //Variable part
            if (message.getClientID() != null) {
                variableHeaderBuff.writeBytes(Utils.encodeString(message.getClientID()));
                if (message.isWillFlag()) {
                    variableHeaderBuff.writeBytes(Utils.encodeString(message.getWillTopic()));
                    variableHeaderBuff.writeBytes(Utils.encodeFixedLengthContent(message.getWillMessage()));
                }
                if (message.isUserFlag() && message.getUsername() != null) {
                    variableHeaderBuff.writeBytes(Utils.encodeString(message.getUsername()));
                    if (message.isPasswordFlag() && message.getPassword() != null) {
                        variableHeaderBuff.writeBytes(Utils.encodeFixedLengthContent(message.getPassword()));
                    }
                }
            }

            int variableHeaderSize = variableHeaderBuff.readableBytes();
            buff.writeByte(AbstractMessage.CONNECT << 4);
            buff.writeBytes(Utils.encodeRemainingLength(12 + variableHeaderSize));
            buff.writeBytes(staticHeaderBuff).writeBytes(variableHeaderBuff);

            out.writeBytes(buff);
        } finally {
            staticHeaderBuff.release();
            buff.release();
            variableHeaderBuff.release();
        }
    }

}

redpajama_set_name: RedPajamaGithub


Harmon Face Values « Dollar Dig: Shop Online. Get Paid.
HARMON STORES, INC., a wholly owned subsidiary of Bed Bath & Beyond, is one of the tri-state area's leading health and beauty retailers with 45 free standing stores in NJ, NY & CT plus Harmon "store within a store" in many Bed Bath & Beyond locations. At Harmon Stores we promise to always look out for our customers Health & Beauty Care needs by providing the best prices and broadest selection of merchandise with an unconditional satisfaction guarantee. According to a top consumer reporting organization, HarmonDiscount.com has "the best prices on most Beauty products", beating out big box retailers! Check out Harmon® Face® Values® or HarmonDiscount.com and see what they're talking about!
$3 off Neutrogena Rainbath Bath & Body Products 32 oz.


Live on the Avenue! Fantastic location for this 3rd floor condo in Casa Grande at the corner of Upperline. With wood floors, large closets and lots of natural light this is not to be missed. Very walk-able neighborhood with restaurants, bars, shops, etc just around the corner. Also only several blocks to the St. Charles Ave. parade route. Gated off-street parking.


Musician and Music technologist, responsible for several Duran Duran albums, The Dandy Warhols, The Devils, TV-Mania and others. SonicState panelist and all round innovative thinker.
Want to record music or sound in any arena and not sure where to go next. Give me your brief and I'll tell you what to do next.


text:
Federal court denies summary judgment and allows plaintiff's federal, state, and city age discrimination claims to continue
Scott v. WPIX, Inc., 10 Civ. 4622 (SDNY Dec. 21, 2011) (WHP): The Southern District denied defendant's motions for summary judgment seeking dismissal of plaintiff Karen Scott's age discrimination claim under the federal Age Discrimination in Employment Act (ADEA), the New York State Human Rights Law (NYSHRL), and the New York City Human Rights Law…
Read More Federal court denies summary judgment and allows plaintiff's federal, state, and city age discrimination claims to continue
Federal Court rules that New York City statutes and regulations governing construction cranes are not preempted by OSHA regulations
In a 42-page opinion issued last week (copy below), Southern District Judge Colleen McMahon held that the federal Occupational Safety and Health Act's ("OSHA") crane regulations did not preempt the New York City Building Code's crane regulations (codified at Title 28 of the New York City Administrative Code). According to the Court, OSHA "is a…
Read More Federal Court rules that New York City statutes and regulations governing construction cranes are not preempted by OSHA regulations
Court Clarifies Summary Judgment Analysis For Discrimination Claims Under the New York City Human Rights Law
In Bennett v. Health Mgt. Sys., Inc., 2011 NY Slip Op. 09206 (N.Y. App. Div. 1st Dept. Dec. 20, 2011), the Appellate Division, First Department for the first time provided "an examination of whether, and to what extent, the three-step burden-shifting approach set forth in McDonnell Douglas v Green (411 US 792 [1973]), must be…
Read More Court Clarifies Summary Judgment Analysis For Discrimination Claims Under the New York City Human Rights Law
Severance Clause Nullifies Mitigation Duty
In Malinowski v. Wall Street Source, Inc., 09 Civ. 9592 (PAE) (SDNY Dec. 2, 2011), NYLJ 1202534751470, the Southern District of New York held that evidence of plaintiff's post-termination wages was inadmissible in light of the severance clause in plaintiff's contract (which provided that plaintiff could only be fired for cause). Plaintiff sought unpaid wages,…
Read More Severance Clause Nullifies Mitigation Duty
NY Court of Appeals Holds No Labor Law 240(1) or 241(6) Liability Where Protective Measure Would Have Been Inconsistent With Work
Salazar v. Novalex Contracting Corp., et al., 2011 NY Slip Op 08446 (Nov. 21, 2011) illustrates the "common sense approach" that must be employed when analyzing Labor Law 240(1) and 241(6) claims. P and his fellow workmen were directed to pour and spread concrete over the floor of a basement which contained trenches into which…
Read More NY Court of Appeals Holds No Labor Law 240(1) or 241(6) Liability Where Protective Measure Would Have Been Inconsistent With Work
November 22, 2011 by mjpospis
Court Rejects "Quid Pro Quo" Sexual Harassment Claim Where Plaintiff was Fired After Rebuffing Ex-Lover's Attempt to Rekindle Relationship
In Zutrau v. Ice Systems, Inc., the Supreme Court, Suffolk County dismissed plaintiff's "quid pro quo" sexual harassment claim. Plaintiff – the entity defendant's executive vice president – asserted numerous claims, both individually and derivatively, against the entity defendant and Jansing, its president and majority shareholder. The court explained the law as follows: To make out…
Read More Court Rejects "Quid Pro Quo" Sexual Harassment Claim Where Plaintiff was Fired After Rebuffing Ex-Lover's Attempt to Rekindle Relationship
Court of Appeals Repudiates Labor Law § 240(1) "Same Level" Precedent and Construes a Labor Law § 241(6)-Triggering Regulation
In Wilinski v. 334 East 92nd Housing Development Fund Corp., 2011 NY Slip Op 07477 (Oct. 25, 2011), the New York Court of Appeals vitiated the so-called "same level" rule that had embedded itself in New York Labor Law § 240(1) jurisprudence, and construed a Labor Law § 241(6)-triggering regulation. P, who was engaged in the demolition of…
Read More Court of Appeals Repudiates Labor Law § 240(1) "Same Level" Precedent and Construes a Labor Law § 241(6)-Triggering Regulation
Subway photographers file federal suit following summonses for taking subway pictures and failing to produce identification
On November 14, 2011, two railroad enthusiasts/photographers – Ernest Steve Barry and Michael Burkhart – filed a lawsuit (Barry v. City of New York, 11-cv-5533 (EDNY filed 11/14/11)) in Brooklyn federal court alleging that in August 2010 they were detained and issued summonses for violating MTA Rules regarding the production of identification upon demand (21 NYCRR 1050.6(d)(3))…
Read More Subway photographers file federal suit following summonses for taking subway pictures and failing to produce identification
Judge denies Occupy Wall Street application for TRO to prevent NYC from evicting protesters from Zuccotti Park
NY Supreme Court Judge Michael Stallman today issued an order denying a petition for a temporary restraining order prohibiting the city from, inter alia, evicting the OWS protesters from Zuccotti Park and enforcing the park's owners' rules. The court found that the rules – which prohibited, inter alia, "camping and/or the erection of tents or other structures" and…
Read More Judge denies Occupy Wall Street application for TRO to prevent NYC from evicting protesters from Zuccotti Park
U.S. sues law firm for prohibiting disabled client from entering premises with service dog
On November 8, 2011, the United States sued law firm Larkin, Axelrod, Ingrassia & Tetenbaum LLP and partner John Ingrassia under Title III of the Americans with Disabilities Act. Plaintiff alleged that on at least three occasions, the law firm prevented its ADA-disabled client, Lauren Klejmont, from entering the law firm's premises with her service animal,…
Read More U.S. sues law firm for prohibiting disabled client from entering premises with service dog


text:
AIR MARSHAL WRITES TO PM TO DECLARE KODAGU ECO SENSITIVE ZONE
A CRY FROM THE HEART
From: Air Marshal K.C. Cariappa (Retd), Madikeri, Kodagu
To: The Honorable Prime Minister of India, New Delhi
I write this plea on behalf of my fellow citizens of Kodagu (Coorg), a small district that at one time had been referred to the 'Scotland of India'.
Today we find our homeland in peril because of the rapacity, and lure of filthy lucre by self-serving politicians of all hues, and greedy Mafiosi who control nefarious activities pertaining to our forests, sand-mining, land and water resources.
Kodagu is the proverbial goose that over the years has laid the 'golden egg' for Bangalore. This tiny district of 4100 sq kms is the source, and principal catchment area of the river Cauvery that sustains eight crore population in South Karnataka and Tamil Nadu, and provides for requirement of over 600 major industries in the region.
The river is drying, and slowly dying not only because of failed monsoons but more for the unbridled rape of the land. Forests are dwindling because of timber-felling. The water-table is getting lower each year because what were underground reservoirs are depleting as more and more paddy fields are being converted into housing colonies and residential sites.
High value luxury resorts are being developed on what were once thriving coffee estates which further consume diminishing water resources. Illegal sand-mining from river beds is being done with impunity as a 'water mafia' thrives on the misery and hardship of those who are dependent on them for the supply of water.
All this is happening in the land of the Cauvery that once received an average of 100" of rainfall annually. Utter disregard for the environment has eaten into wildlife habitat as a result that not a day passes when there has not been a tragedy involving elephants and a hapless population. The land was given to my generation by our forefathers for safe-keeping in the interest of the future.
They designated small 'sacred groves' of woodland that were inviolate with a shrine dedicated to a woodland deity. These today are being encroached upon to construct the 'five-star' resorts referred to earlier. As it is, despite protests over 50,000 trees were felled to erect a high-tension power line to traverse the district!
A further threat to the environment is the determination with which our politicians wish to drive two railway lines through forest, coffee estates and paddy fields to connect Mysore to Kodagu and Kerala. There is also similar sinister purpose in the widening of north-south and east–west highways into four-lanes with the same devastating environment/ecology disaster that is inevitable. All these will result in the 'desertification' of a one-time lush and pristine landscape. Strangely, none of our politicians irrespective of party affiliation have made any comment on the impact of the various projects on the environment!
Mr. Prime Minister, you are the last bastion of hope for the people of Karnataka and Tamil Nadu to ensure that the specter of desertification does not become a reality. Please intervene and put an end to the proposal to construct a railway line, and to the unnecessary widening of our arterial highways. All these will have a devastating effect on the food, water and economic security of this region in South India. These ills can be thwarted by declaring the entire district as an 'eco-sensitive zone as defined by the Environment Protection Act.
While appreciating this move by Air Marshal K C Cariappa, fondly addressed as Nanda, I observed that he has erred at two places and both happen to be right at the top.
First of all, he ought to have suffixed the PVSM and VSM citations against his name.
Secondly, it is not The Honourable Narendra Modi as a person but Hon'ble Prime Minister of India.
Yes, I mean it since the commendations earned by the personnel of our defence services are more pious and valid than addressing a politician with such prefixes like 'Hon'ble'.
Air Marshal 'Nanda' Cariappa is more honourable than this NaMo, particularly in the context of having donned the uniform and attaining 3-Star and Flag Status while in the IAF.
As for referring the politicians and ministers as 'Hon'ble', I recall an incident of 1982 at Bombay. A R Antulay was invited to be the chief guest at a seminar hosted by a forum of corporates. The host kept on praising the CM Antulay to the skies that could be a lesson in sycophancy.
All said and done, after a hearty lunch in the conference hall of Oberoi's, the news came like a greased lightening. That Justice Lentin of Bombay High Court had found Antulay guilty on several charges of nepotism and corruption.
At this, with my plate of dessert, I approached the host who two hours earlier was praising this Antulay as to what are his views. And believe me, he had no answer.
That conference happened to be one involving the builders and developers!!!
Subbaiah K P says:
While refering to the prime minister of the country, we respect the chair, not the politician behind or sitting on the chair! As an Air Marshal, he has respected the chair that he would have reported to.
Let's please not draw flak on that!
A word of caution from a person with such decree would only add value to all our sentiments to the land that we so profoundly talk about.
Thanks Mr. Air Marshal, we are with you on this!
Subbaiah K P
Sundar Muthanna says:
His father Field Marshall K.M. Cariappa is considered the father of the Indian Army. Air Marshal is a worthy son who is doing his duty as a true soldier. I hope this awakens the other men from the forces to step up and take responsibility.
LINGAYATS SAY THEY ARE NOT HINDUS. THEN HOW CAN KODAVAS BE HINDUS?
By P.T. Bopanna The dominant Lingayat community is up in arms demanding 'religious minority' status as they claim they are...


text:
Q: 3D truncated cone in python I want to plot a truncated cone by using exactly the same method used in
Plotting a solid cylinder centered on a plane in Matplotlib; which plots a cylinder when two points on the center of each base and the radius are known. On the other hand, I want to plot a truncated cone when the coordinates of the two points on the center of its bases and the radius of each base are known.
It seems that I just should change the second last line of the function in the following program which plots a cylinder, but I could not do this in all of my efforts.
import numpy as np
from mpl_toolkits.mplot3d import Axes3D
from scipy.linalg import norm
import pylab as pllt

fig = pllt.figure()
ax = fig.add_subplot(1,1,1, projection='3d')
#ax = pllt.subplot2grid((2,2), (0,0), rowspan=2, projection='3d')
#axis and radius

def cylinder(p0,p1,R,ccc):
 #vector in direction of axis
 v = p1 - p0
 #find magnitude of vector
 mag = norm(v)
 #unit vector in direction of axis
 v = v / mag
 #make some vector not in the same direction as v
 not_v = np.array([1, 1, 0])
 if (v == not_v).all():
    not_v = np.array([0, 1, 0])
 #make vector perpendicular to v
 n1 = np.cross(v, not_v)
 #print n1,'\t',norm(n1)
 #normalize n1
 n1 /= norm(n1)
 #make unit vector perpendicular to v and n1
 n2 = np.cross(v, n1)
 #surface ranges over t from 0 to length of axis and 0 to 2*pi
 t = np.linspace(0, mag, 80)
 theta = np.linspace(0, 2 * np.pi, 80)
 #use meshgrid to make 2d arrays
 t, theta = np.meshgrid(t, theta)
 #generate coordinates for surface
 X, Y, Z = [p0[i] + v[i] * t + R * np.sin(theta) * n1[i] + R * np.cos(theta) * n2[i] for i in [0, 1, 2]]
 ax.plot_surface(X, Y, Z,color=ccc,linewidth=0, antialiased=False)

A0 = np.array([1, 3, 2])
A1 = np.array([8, 5, 9])
ax.set_xlim(0,10)
ax.set_ylim(0,10)
ax.set_zlim(0,10)
cylinder(A0,A1,1,'blue')
pllt.show()

I think I should change the radius as a function of v=p1-p0 as mentioned in:
http://mathworld.wolfram.com/ConicalFrustum.html to be able to do this.
Please let me know if there is any way to do this.

A: Instead of a constant radius, R, make it change from R0 to R1:
R = np.linspace(R0, R1, n)

import numpy as np
from mpl_toolkits.mplot3d import Axes3D
from scipy.linalg import norm
import pylab as plt

fig = plt.figure()
ax = fig.add_subplot(1, 1, 1, projection='3d')

def truncated_cone(p0, p1, R0, R1, color):
    """
    Based on https://stackoverflow.com/a/39823124/190597 (astrokeat)
    """
    # vector in direction of axis
    v = p1 - p0
    # find magnitude of vector
    mag = norm(v)
    # unit vector in direction of axis
    v = v / mag
    # make some vector not in the same direction as v
    not_v = np.array([1, 1, 0])
    if (v == not_v).all():
        not_v = np.array([0, 1, 0])
    # make vector perpendicular to v
    n1 = np.cross(v, not_v)
    # print n1,'\t',norm(n1)
    # normalize n1
    n1 /= norm(n1)
    # make unit vector perpendicular to v and n1
    n2 = np.cross(v, n1)
    # surface ranges over t from 0 to length of axis and 0 to 2*pi
    n = 80
    t = np.linspace(0, mag, n)
    theta = np.linspace(0, 2 * np.pi, n)
    # use meshgrid to make 2d arrays
    t, theta = np.meshgrid(t, theta)
    R = np.linspace(R0, R1, n)
    # generate coordinates for surface
    X, Y, Z = [p0[i] + v[i] * t + R *
               np.sin(theta) * n1[i] + R * np.cos(theta) * n2[i] for i in [0, 1, 2]]
    ax.plot_surface(X, Y, Z, color=color, linewidth=0, antialiased=False)

A0 = np.array([1, 3, 2])
A1 = np.array([8, 5, 9])
ax.set_xlim(0, 10)
ax.set_ylim(0, 10)
ax.set_zlim(0, 10)
truncated_cone(A0, A1, 1, 5, 'blue')
plt.show()

redpajama_set_name: RedPajamaStackExchange


text:
Public weighs in on school boundary changes
Erin Fawcett
Mar. 7, 2012 3:55 p.m.
About 50 people attended a meeting Monday night to discuss attendance boundary changes in the Red Deer Public School division.
The meeting, held at Mountview Elementary School, saw discussion on not only the boundary changes, which will be implemented in 2014 when the division's new elementary school in Timberlands opens, but the discussion also focused on elementary French immersion programming.
This was the second meeting of three. The first, held last month, saw 15 parents provide input to the process.
"We are very interested in hearing what people have to say about what we should consider as we look at changing the school boundaries come 2014. There are a number of parameters that I need to consider – finances, bussing, and the capacity of schools. But I am very interested in what I have to hear the parents of the community say," said Piet Langstraat, superintendent of schools. "We also want to make sure that we just aren't setting new attendance boundaries for 2014, but for five, 10 and 15 years into the future."
What is driving the change is the new elementary school approved for the Timberlands area. Construction on that school is expected to begin this spring and open in 2014. With an initial capacity of 500 students, and designed for expansion to 600 students, the elementary school will be located at the east end of Timothy Dr., northeast of Timberstone Way.
Cathy Peacocke, vice chair of the Red Deer Public board said she is hearing that parents want the boundary changes to be convenient but what is most important is that the quality of education is there.
"If re-drawing the boundaries meant moving kids within their family, they were all for it if it meant it was the right fit for their children."
Moving forward, Peacocke said the school board will have a difficult decision.
"Once it gets to the board and I think as we get closer and closer to making the decision we are going to start hearing from people that 'Hey, this is really going to affect me'."
She added the boundary change committee has not started considering any reconfigurations and won't do so until the public meetings are complete.
"This is a big issue because it may impact the majority of our schools."
A third and final public meeting will be held March 20 at G.H. Dawe School. The meeting begins at 6:30 p.m.
"After that we will take all of the input that was provided at the meetings, come up with a number of scenarios and we'll hold open houses in the spring to share those with people and to get their thoughts on them. In the fall our committee will be bringing forward a recommendation to the board of trustees for implementation in the 2014 school year," said Langstraat.
To learn more about the public school boundary changes visit www.rdpsd.ab.ca.
efawcett@redddeerexpress.com
Strong showing of residents at francophone school hearing
Cochrane man charged in highway crash


text:
New Solicitor-General appointed
Peter Quinlan SC is WA's new Solicitor-General
Five-year appointment starts on July 1, 2016
One of the State's leading barristers has been appointed as the new Solicitor-General of Western Australia.
Attorney General Michael Mischin today announced Peter Quinlan SC as the new Solicitor-General to provide the State with legal and constitutional advice, and appear in the High Court and other courts in litigation to which this State was a party, or in which this State intervened.
Mr Mischin said Mr Quinlan's varied breadth and quality of legal and courtroom experience made him an ideal appointment to the position.
"Mr Quinlan has an extensive and varied legal practice in a wide range of matters, as well as broad knowledge of public and constitutional law and has authored several articles and papers on legal and ethical issues," he said.
Mr Quinlan has a Bachelor of Commerce and a Bachelor of Laws (Hons 1st Class) from The University of Western Australia, where he won the HCF Keall Prize in Law for best final year student.
He joined the then Crown Solicitor's Office in 1993 as professional assistant to the then Solicitor-General, before working as associate to the Hon Justice Parker AO at the Supreme Court of Western Australia in 1995.
He returned to the then Crown Solicitor's Office in 1996, working in the areas of constitutional and administrative law, and was later appointed as Assistant Crown Counsel.
Since 2001, Mr Quinlan has practised as a barrister from Francis Burt Chambers, maintaining a wide and substantial practice in commercial and civil litigation, professional negligence insurance, professional discipline, planning and heritage, coronial inquiries and commissions of inquiry, administrative and constitutional law. He was made Senior Counsel in 2010.
He has also served as president of the WA Bar Association, director for the Law Council of Australia and on the Board of Governors for the University of Notre Dame. He has recently given advice on legal issues to the State Parliament's Joint Select Committee on Aboriginal Constitutional Recognition, which reported recommending amendment to the Constitution Act 1889 (WA) and in relation to the reform of the Environmental Protection Authority's policies and guidelines.
Mr Quinlan replaces Grant Donaldson SC, who decided to step down from the role at the end of his contract and return to private practice


text:
Q: erro 405 Method Not Allowed Estou tentando fazer login e retornar na tela o painel de um site pore me e retornado um erro 405 Method Not Allowed como posso resolver isso ?
<?php

$email = '   ';

$senha = '  ';

$ch = curl_init();

curl_setopt($ch, CURLOPT_URL, 'https://host.com/login');

curl_setopt ($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6");

curl_setopt ($ch, CURLOPT_POST, 1);

curl_setopt ($ch, CURLOPT_POSTFIELDS, '_username=$email&_password=$senha');

curl_setopt($ch, CURLOPT_COOKIESESSION, true);

$store = curl_exec ($ch);

curl_setopt($ch, CURLOPT_URL, 'https://host.com/dashboard/');

curl_setopt ($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6");

$prok =curl_exec($ch);

curl_close ($ch);

echo $prok;

?>

A: Não tem como deduzir o problema, isto é o servidor que você esta tentando acessar que esta emitindo um bloqueio, por exemplo quando um servidor responde com:

405 Method Not Allowed

Ele esta querendo dizer que não permite o método que você tentou usar, se tentou POST talvez ele não permita POST, ou talvez o curl esteja tentando enviar POST mas o "verbo" vai marcado como GET (se for um bug na tua versão do PHP, o que acho improvável), então tente forçar definir isto:
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'POST');

De resto é só possivel determinar o problema sabendo qual a página que esta tentando acessar.

[Edição]
Troque a URL do primeiro CURL por (note que o correto é /login_check e não /login):
curl_setopt($ch, CURLOPT_URL, 'http://minhaconta.payleven.com.br/login_check');

E corrija o CURLOPT_POSTFIELDS, precisa concatenar e codificar os valores (aspas simples não permitem receber os valores das variaveis):
curl_setopt ($ch, CURLOPT_POSTFIELDS, '_username=' . urlencode($email) . '&_password=' . urlencode($senha));

E devido a redirecionamento dos servidor recomendo que adicione isto:
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);

Adicione em ambos curls.


Open-source toolchains give companies ultimate control over their development environments, but how many can really afford the resources to debug and develop their own tools? Would they be better off with a commercially supported open-source approach?
Glenn Perry, general manager of Mentor Graphics Embedded Software Division, discusses embedded development trends.
The article compares Google's Android platforms to existing Linux builds, licensing regimes and the Windows CE operating system, and also describes how potential users can start to leverage existing hardware and software development kits and tools.


Choose from a wide variety of proteins to build your Poke Bowl here at Poke Moke including Spicy Tuna, Salmon, and Scallops. We also serve Miso Soup. Find us west of Colorado Blvd at the corner of 3rd Avenue and Milwaukee Street. We're near Cherry Creek Shopping Center. Order online for carryout or delivery!


text:
Кейт Аткинсон (; ) — британская писательница, драматург и автор новелл и романов. За достижения в литературе в 2011 году была награждена Орденом Британской империи.

Биография
Кейт Аткинсон родилась в семье аптекаря в 1951 году. Семья жила в квартире над магазином отца Кейт. Начальное образование получила в частной школе, затем училась в школе-гимназии Королевы Анны в Йорке. Далее изучала английскую литературу в Университете Данди (Шотландия), где в 1974 году получила степень магистра и осталась при вузе чтобы изучать американскую литературу для докторантуры по теме диссертации «Постмодернистский американский рассказ в историческом контексте».

Потерпела неудачу на устном экзамене перед диссертационным комитетом. Хотя Аткинсон и было отказано в степени, изучение постмодернистских стилистических элементов американских писателей, таких как Курт Воннегут и Доналд Бартелм, повлияло на ее дальнейшее творчество. В течение периода с конца 1970-х годов и на протяжении большей части 80-х годов, после окончания университета, Кейт Аткинсон работала в различных сферах — от помощницы по хозяйству и секретаря юриста до воспитательницы и преподавателя, некоторые из ее профессий позволяли ей использовать и развивать свои литературные навыки.

Аткинсон была замужем дважды. Две дочери Ева и Хелен.

Творческая деятельность
В 1981-82 годах Кейт Аткинсон начала писать короткие рассказы. Вскоре ее краткая история «В Китае» выиграла конкурс в женском журнале Woman's Own. Награда вдохновила ее писать фантастические произведения для других изданий, включая Good Housekeeping и Daily Mail.

Первый написанный Аткинсон роман был трагикомедией «Музей моих тайн» (), роман состоял из небольших связанных единой сюжетной линией рассказов от лица главной героини Руби Леннокс рассуждающей о жизни. Работа стала бестселлером и получил много литературных наград и премий.

В течение следующих лет писательница написала еще несколько романов, которые обретали популярность среди читателей и получили хорошие отзывы критиков.

Начиная с 2004 Аткинсон начала писать серию детективных романов, главным героем которых является частный детектив Джексон Броуди. Первая книга в серии, вошла в короткий список для премии Whitbread Book Award, а позже была экранизирована, где роль Броуди сыграл британский актер Джейсон Айзекс. Эта серия сделала писательницу всемирно известной.

Страстным поклонником и пропагандистом первых детективных романов Аткинсон является Стивен Кинг.

Произведения

Романы
 1995 Музей моих тайн / Behind the Scenes at the Museum
 1997 Человеческий крокет / Human Croquet
 2000 Витающие в облаках / Emotionally Weird
 2004 Преступления прошлого / Case Histories
 2006 Поворот к лучшему / One Good Turn
 2008 Ждать ли добрых вестей? / When Will There Be Good News?
 2010 Чуть свет, с собакою вдвоём / Started Early, Took My Dog
 2013 Жизнь после жизни / Life After Life
 2015 Боги среди людей / A God in Ruins
 2018 Хозяйка лабиринта / Transcription
 2019 Большое небо / Big Sky

Награды
 1995 Whitbread Awards (Book of the Year), Behind the Scenes at the Museum
 2009 Crime Thriller Award for The CWA Gold Dagger: When Will There Be Good News? (nominated)
 2009 British Book Awards , Richard and Judy Bookclub Winner, When Will There Be Good News?
 2013 Costa Book Awards (Novel category), Life After Life
 2014 Walter Scott Prize shortlist for Life After Life
 2014 South Bank Sky Arts Award for Life after Life
 2015 Costa Book Awards (Novel category), A God In Ruins

Примечания

Ссылки

Родившиеся в 1951 году
Родившиеся 20 декабря
Родившиеся в Йорке
Английские писательницы XX века
Английские писательницы XXI века
Лауреаты премии Коста

redpajama_set_name: RedPajamaWikipedia


I am happy to announce the availability of my new book.
There will be an App-V Book!!!!!
We finally made the decision and work is well under way. We will publish a book on App-V!
Author Tim ManganPosted on March 4, 2010 April 6, 2013 Categories All, AppV4*Tags App-V, Book, Training4 Comments on There will be an App-V Book!!!!!


The Swansboro Area Chamber of Commerce is a not-for-profit organization owned and operated by business leaders who care about our community. The Chamber's mission is to promote business growth, to serve members with professional development opportunities, and to affect public policy decisions to the benefit of the Swansboro area business community.
The Chamber encourages the growth of existing companies and works to attract new business to the Swansboro Area.
The Chamber connects Swansboro and surrounding area business communities. We sponsor networking events year round, including our Business After Hours and General Membership Meetings held monthly, and our Annual Business Showcase.
Chamber members have the opportunity to promote their businesses and expose their message to both the general membership and the community with different levels of membership. New members receive exposure in our newsletter, Chamber Tidings. All members receive a free listing on the chamber website.
The Chamber also fields calls for referrals and we promote only Chamber members. The Chamber has several membership levels designed to provide greater value for our members. This helps us better serve members at various levels from those who want basic access to networking and information, to those who want to support not only the Chamber, but economic development and quality of life issues in our area.


text:
Svetovno prvenstvo v alpskem smučanju 1941 je nepriznano svetovno prvenstvo v alpskem smučanju, ki je potekalo med 1. in 9. februarjem 1941 v Cortini d'Ampezzo, Italija, v treh disciplinah za moške in ženske. Mednarodna smučarska zveza leta 1946 na zasedanju tega prvenstva ni priznala, ker niso mogle nastopati vse države, posamične medalje so dovolili, toda uradno niso prištete med medalje svetovnih prvenstev v alpskem smučanju.

Dobitniki medalj

Moški

Ženske

Medalje po državah

1941
1941 v športu
Športne prireditve v Italiji
Šport v Cortini d'Ampezzo


This giveaway is for 10 FREE Product Coupons at McDonald's, good for 1 new quarter pounder burger. Good at any participating McDonald's in the USA. Expiration date: 12/31/13. 2 Winners will receive 5 coupons each.
RULES: You must be 18 or older to enter and live in the US. Giveaway ends 7/31/13 at 11:59 pm eastern time. Winners will be emailed and have 48 hours to respond before another winner(s) is chosen. Use the Giveaway Tools form to enter. There will be 2 winners, 5 coupons each.


At least 25 trains were cancelled and seven others diverted on Tuesday as protesting farmers blocked railway tracks in Punjab's Amritsar, a Northern Railways statement said.
The agitation has left scores of passengers moving to and from Amritsar stranded.
Two trains the New Delhi-Amritsar Shatabdi Express and the New Delhi-Amritsar Shan-E-Punjab Express were short-terminated in Jalandhar City and Beas town respectively.
The trains which were cancelled include the New Delhi-Jalandhar Intercity Express, Amritsar-Haridwar Jan Shatabdi Express, Haridwar-Amritsar Jan Shatabdi Express, Chandigarh-Amritsar Superfast Express and the Nangaldam-Amritsar Express.
Amritsar-New Delhi Shatabdi Express and the Amritsar-Sealdha Akal Takht Express.
The farmers are staging a protest to press for various demands, including the implementation of the recommendations of the Swaminathan Commission report.


text:
SUP the Mag: Water Warriors
Conservation, Uncategorized
FROM THE MAG | WATER WARRIORS | NORM HANN
PADDLERS MAKING A DIFFERENCE IN THE ECOSYSTEM
By Eugene Buchanan
Funny, but at birth, we're not given much actual substance. Sure we receive a few treasures, like our parents and their DNA, if we're lucky, and siblings and grandmas and grandpas. But mostly, we're given things. Disposable possessions like baby pajamas and boxes of diapers and pacifiers and cute plastic objects that make cute sounds.
Often overlooked is one of the greatest gifts of all, given to each human the moment they enter the world: Earth. It's rivers and oceans and lakes are something we all share, as is the health of those waterways.
None of us can solve all of Mother Earth's problems in one sitting. But the following seven paddlers are thinking globally, and acting locally, to bring awareness to important water problems in their areas.
In 2013, Squamish, B.C., standup paddler Norm Hann was the first solo Canadian to finish the Molokai 2 Oahu Paddleboard World Championships. While that's an impressive notch in the paddle, he's more proud of using his board to protect the Great Bear Rainforest, a stretch of coast between Vancouver Island and southern Alaska.
In 2010, Hann embarked on his 400-km Standup4GreatBear Expedition, campaigning to keep oil tankers off the forest's coastline by paddling the proposed tanker route from Kitimat to Bella Bella. Two years later, he paddled 350 kilometers along the coast of Haida Gwaii as part of the award-winning STAND film project.
"The Great Bear Rainforest is one of the most incredible marine and terrestrial ecosystems in the world," he says. "We wanted to showcase some of the stories from it, including my paddle along Haida Gwaii, First Nations students building their own wooden paddleboards and even the connection Canadian pro surfer Raph Bruhwiler has to the coast. We wanted to inspire people to take action to protect it."
Calling attention to it via SUP, he adds, was natural. "Standup paddling was a way to experience it intimately and really see what was at risk," he says. "It also gave me the opportunity to paddle to First Nations communities and other cultural sites."
Hann says he has paddled every section of the proposed oil tanker route except across the dangerous Hecate Strait, which he plans to cross on a one-day unsupported push this summer. Raising funds to help preserve the rainforest through sponsorship and selling apparel via normhann.com, he is also starting a project this year called Protect What You Love, joining STAND filmmaker Nicolas Teichrob speaking at local high schools and setting up video contests to inspire youth to help the cause. All monies raised support environmental initiatives protecting the region.
"People seemed to understand the significance of me standing on my paddleboard and relating that to standing up for the Great Bear Rainforest," he says.
Previous postGlobe & Mail features our Belize SUP Trip
Next postYukon River Quest -It's On!


text:
Q: Delete the array items which have lower specific value I want to let array1 transform to array2.
The keyword is the test,test2,885,length.I want the keyword's next value(#?) to the next # is the highest.
var array1=["4#test#4#T#limited","6#test#6#885#restricted","7#test2#2#2#limited","8#test2#4#3#limited","11#885#1#TT#restricted","15#length#1#taw#restricted","17#885#11#T#limited"];

var arrar2=["6#test#6#885#restricted","8#test2#4#3#limited","17#885#11#T#limited","15#length#1#taw#restricted"];

A: You can use underscorejs to filter.
http://underscorejs.org/#filter
Then you can use javascript Array's sort method to sort the array if needed. You can pass a custom sorting function to sort. http://www.w3schools.com/jsref/jsref_sort.asp

A: Is this what you want?
var array1=["4#test#4#T#limited","6#test#6#885#restricted","7#test2#2#2#limited","8#test2#4#3#limited","11#885#1#TT#restricted","15#length#1#taw#restricted","17#885#11#T#limited"];
var keywords = ["test","test2","885","length"];
var array2 = [];
keywords.forEach(function (key) {
    var matched = [];
    var regex = new RegExp("\\b" + key + "#(\\d+)");
    array1.forEach(function (value) {
        if (regex.test(value)) {
            matched.push([parseInt(RegExp.$1), value]);
        }
    });
    if (matched.length > 0) {
        matched.sort(function (a, b) {
            return b[0] - a[0];
        });
        array2.push(matched[0][1]);
    }
});
alert(array2);

JsFiddle example

A: The simplest way to "delete items from an array" based on the items fulfilling a condition is to use Array.prototype.filter (with the condition reversed).
In your case, it's rather hard to do because of how you organized your data (bundling it all in a string makes it hard to work with). Here is how i would work around it, but feel free to structure your data better from the start to avoid the awkward conversions:
var array1=["4#test#4#T#limited","6#test#6#885#restricted","7#test2#2#2#limited","8#test2#4#3#limited","11#885#1#TT#restricted","15#length#1#taw#restricted","17#885#11#T#limited"];

Make the data easier to work with by extracting the keyword and the value (i also keep some information to return to the original shape of the array):
var saneData = array1.map(function(item, index){
  var split = item.split('#');
  return {
    keyword : split[1],
    value: +split[0],
    original : item,
    originalIndex : index
  }
});

Sort the data by the keyword (so all items with the same keywords go next to each other) and by the values (so the biggest value is first in a subset with the same keywords):
saneData.sort(function(a,b){
  if (a.keyword !== b.keyword) {
    return a.keyword.localeCompare(b.keyword);
  } else {
    return b.value - a.value;
  }
});

Filter the array, keeping just the first item in a subset with the same keyword:
var filteredData = saneData.filter(function(item, index) {
  if (index === 0) return true; // first item is good
  return item.keyword !== saneData[index-1].keyword;
});

Return to the original form of the array (with the order preserved):
var array2 = filteredData.sort(function(a,b){ return a.originalIndex - b.originalIndex; }).map(function(item){ return item.original; });

// Result: ["6#test#6#885#restricted", "8#test2#4#3#limited", "15#length#1#taw#restricted", "17#885#11#T#limited"]


Taken at Disney's Animal Kingdom.
Lucky was an animatronic dinosaur featured for a short time in the Dino area of the park. He would walk out and make a circuit of the area while interacting with guests. He didn't talk, but he could vocalize and had a surprising range of emotion.
Assuming he was designed as a proof-of-concept for free-roaming animatronic attractions, he passed with flying colors. I can't wait to see where Disney goes with the tech.


Integrating Shopwyre technology into any digital or real world touchpoint is easy. When we say 'any', we mean any - The World is Your e-Store!
Ad2Basket's sophisticated tracking and analytics platform helps you to monitor sales ('Adds to basket') and gain invaluable insight into the ROI of your online marketing.
Shopwyre is about integrating our technology into your brand touchpoints in the most effective and engaging way possible. That means customising the platform in the way that best fits your brand, target audience and media channel. Our in-house design team can happily to do this or alternatively or we can work with your creative agency to achieve it.
Email brands@shopwyre.com or click here to talk to us and find out what we can do for your brand.


Find the right managed services provider for your business!
The ability to work together and collaborate with others is key in the workplace among you, your employees, and even those you turn to for outside help, like your managed service provider. A managed service provider takes up an important role in your business when it comes to your IT infrastructure as they remotely manage it for their customers. Considering their rule within your business, you want to make sure you can work collaboratively with your managed services provider to achieve any goal you may have set for yourself. This means you will need to make sure you pick the right managed services provider for your business, and here is how you can do that.
An important feature that you want your managed services provider to possess is the ability to be responsive and helpful when the time comes that you or your customers need help. Ideally, you want to be working with a managed services provider that has an active display or alerts set up so that they know immediately that there is an issue they need to address, rather than waiting for someone else to report the issue and bring it to their attention. Constant monitoring around the clock and the ability to quickly react to any issues encountered is a valuable quality in the IT world, and something you will want in a managed services provider when outsourcing.
Another trait you will want to find in a managed services provider is cost-effectiveness. Often, when hiring a managed services provider, you are already making the right financial decision to pay the agreed upon fee to them rather than hiring your own employees and paying for their training as well. Additionally, you will not have to worry about sick or vacation days because there will always be someone from your managed services provider available to help you since that is what you are paying them for.
You will also want your managed services provider to be able to provide you with meaningful data that can help better suit and improve your needs. You will want them to be able to analyze the data they can more quickly analyze so you can then take that information, and make effective, strategic decisions to improve your situation and capabilities.
Experience a superior method of getting the public sector technology solutions you need through forming a partnership with En-Net Services. Our seasoned team members are familiar with the distinct purchasing and procurement cycles of state and local governments, as well as Federal, K-12 education, and higher education entities. En-Net is a certified Maryland Small Business Reserve with contract vehicles and sub-contracting partnerships to meet all contracting requirements.
To find out more about our hardware services, printing, and imaging services, or to hear more about how a dynamic team can help meet your information technology needs, send us an email or give us a call at (301)-846-9901 today!
This entry was posted on Friday, July 27th, 2018 at 2:27 pm. Both comments and pings are currently closed.
Cloud Storage: Should Your Business Make the Switch?


text:
Veterinary Radiography System Market Have High Growth But May Foresee Even Higher Value 2020-2025
Veterinary Radiography System Market: Introduction
Transparency Market Research has published a new report titled, "Veterinary Radiography System Market." According to the report, the global veterinary radiography system market was valued at US$ 478.1 Mn in 2018 and is projected to expand at a CAGR of ~6% from 2019 to 2027. The global veterinary radiography system market is driven by increase in pet population, rise in pet adoption, surge in R&D expenditure on animal health, and introduction of new products in radiography by global players for the better diagnosis of animals. Moreover, pet owners across the globe spend billions of dollars every year for the diagnosis of diseases affecting their pets. Increase in expenditure on animal health is expected to boost the growth of the global veterinary radiography system market in the next few years.
Veterinary Radiography System: Market Segmentation
The computed radiography segment accounted for major share of the global veterinary radiography system market in 2018. The digital radiography segment is poised to expand at a higher CAGR during the forecast period. The film screen radiography segment is likely to grow at a sluggish pace due to limited applications in imaging procedures and old technology. Additionally, reduced R&D initiatives for the improvement of these devices hampers the growth of the segment. Players such as Sound (VCA, Inc.), Canon, Inc., and Fujifilm Holdings America Corporation dominate the digital veterinary radiography system market. Based on end user, the veterinary hospitals segment accounted for major share of the global veterinary radiography system market in terms of revenue in 2018. The segment is projected to grow at a moderate pace during the forecast period.
Get Full PDF Sample Copy of Report: (Including Full TOC, List of Tables & Figures, Chart) : https://www.transparencymarketresearch.com/sample/sample.php?flag=B&rep_id=11894
Veterinary hospitals are major end users of veterinary radiography systems, which are used in the treatment of diseases such as orthopedic & rheumatic; cardiologic, oncologic, and nephrological. Veterinary hospitals are an important distribution channel for veterinary radiography systems. According to government healthcare facilities, veterinary hospitals have reimbursement plans and advanced technology systems for veterinary disease treatment. In terms of animal, the global veterinary radiography system market has been bifurcated into small companion animals and large animals. The small companion animals segment is projected to expand at a high CAGR during the forecast period, owing to surge in population of companion animals such as dogs and cats and increase in concerns about pet health among owners. Rise in demand for high quality proteins propels the livestock animals segment. Increase in pet ownership and spending capacity of pet owners augments the small companion animals segment.
Veterinary Radiography System Market: Prominent Regions
Increase in pet population and introduction of new products by global players for better diagnosis and treatment of animals are the key factors attributed to North America's dominance of the global veterinary radiography system market in 2018. The U.S. held a major share of the market in North America as well as globally. Rise in insurance for pet animals plays a vital role in increasing expenditure on companion animals in the region. Europe and Asia Pacific are the other regions that led the global market in 2018. The veterinary radiography system market is well-developed in regions such as North America and Europe. However, the market in regions such as Latin America and Asia Pacific exhibits significant growth potential. The veterinary radiography system market in South Africa is growing at a steady pace due to increase in number of pet animals. The market in Saudi Arabia and the UAE is driven by increase in poultry production.
Veterinary Radiography System Market: Key Players
Leading players are strengthening their positions in the global veterinary radiography system market. These players are collaborating with other companies to secure and strengthen their positions in the global veterinary radiography system market. In January 2019, DRE Medical completed its transition to Medical Surgical Division of Avante Health Solutions. Together with Avante Health Solutions, DRE Medical is likely to expand its product offerings and customer base. It would also help the company to strengthen its position in the medical equipment market. In December 2017, BCF and ECM (Echo Control Medical) merged with IMV Technologies to create IMV imaging. Leading players in the global veterinary radiography system market include Sound (VCA, Inc.), Canon, Inc., Fujifilm Holdings America Corporation, Diagnostic Imaging Systems, Merry X-Ray Corporation, Sedecal, IMV imaging, DRE Medical, and Midmark Corporation. Few distributors include Triangle X-Ray Company, Ozark Imaging, and United Radiology Systems, Inc.
Get an Idea about the Offerings of Our Market Research Report from this Brochure :
High Focus on Joint Health of Race Horses Spurring Growth in Equine Supplement Products Market: Transparency…
/PRNewswire/ — Owing to factors such as increase in incidence of diseases in horses, growing…
Global Veterinary Radiography System Market: Segmentation
Veterinary Radiography System Market, by Animal
Small Companion Animals
Veterinary Radiography System Market, by Technology
Computed Radiography
Film Screen Radiography
Veterinary Radiography System Market, by Indication
Orthopedic & Rheumatology
Veterinary Radiography System Market, by Product
Digital X-rayDirectIndirect
Analog X-ray
Veterinary Radiography System Market, by End User
Diagnostic Centers & Research Centers
Veterinary Radiography System Market, by Region
North AmericaU.S.Canada
EuropeGermanyU.K.FranceItalySpainRest of Europe
Asia PacificChinaIndiaJapanAustralia & New ZealandRest of Asia Pacific
Latin AmericaBrazilMexicoRest of Latin America
Middle East & AfricaGCC CountriesSouth AfricaRest of Middle East & Africa


Los Angeles native Mike Stilkey has always been attracted to painting and drawing not only on vintage paper, record covers and book pages, but on the books themselves. Using a mix of ink, colored pencil, paint and lacquer, Stilkey depicts a melancholic and at times a whimsical cast of characters inhabiting ambiguous spaces and narratives of fantasy and fairy tales. A lingering sense of loss and longing hints at emotional depth and draws the viewer into their introspective thrall with a mixture of capricious poetry, wit, and mystery. His work is reminiscent of Weimar-era German expressionism and his style has been described by some as capturing features of artists ranging from Edward Gorey to Egon Schiele. His work has been exhibited throughout the United States as well as internationally.


Akin to the RCA's 'Secret Postcard' we have invited SFSA members, TBPS members and guests to contribute up to three original works on A5 postcards. For a £20 donation you can own an original sketch, drawing, painting, screenprint, woodcut, photograph signed by its creator.
Following its successful London Pop-Up Exhibition in 2012, this year CAMPOBAG's "Bring Art Go" has teamed up with Second Floor Studios & Arts. The collaboration brings Taiwanese designers together with artists from England, Spain, Italy, and Hong Kong to explore the topic of "Sharing the Love," accomplishing this by a joint exhibition at no format gallery from July 15th to 21st July 2013.


Person of Interest Season 1-5:Thank you CBS, and please continue to support this show!! It's the best and definitely the most timely show on TV right now. Person of Interest particularly in how it deals with issues of technology in society, but unfortunately that show's hit its peak last season. POI is still firing on all cylinders, telling amazing stories with complex characters, and headed in fantastic, unexpected directions--we want more seasons please!!! Person of Interest season 1-5 DVD set is so great!


Is the raunchy chick flick an endangered species?
Once a sure thing, female-driven R-rated comedies are losing their box office clout.
"Crazy Rich Asians" rides a wave of hype — and hope that it could change an industry wary of casting Asians as leads and notorious for "whitewashing" roles.
Review: Lily James stars in 1940s-set British film.
Learn about the oral traditions when "Somalia: A Nation of Poets" is shown next week and broadcast on TPT MN.
Detractors say move could deprive "Black Panther" and other hits of best picture nod.
The south Minneapolis moviehouse will host live music, movies, comedy and varying arts events next to new neighbor El Burrito Mercado.
Can 'Aquaman' ride the wave of buzz and be the next 'Wonder Woman' for DC?
A mid-1980s recording of the spiritual "Mary Don't You Weep" will be heard during the closing credits of "BlacKkKlansman"
The true test of a movie: How did it make you feel?
There's sometimes a gap between quality and pleasure.


Newstrike shareholders have voted overwhelmingly in favour of an acquisition by CanniMed Therapeutics Inc.
Shareholders of Newstrike Resources Ltd. (TSXV:HIP) voted overwhelmingly in favour of an acquisition by licensed cannabis producer CanniMed Therapeutics Inc. (TSX:CMED) at a special meeting Wednesday.
Approximately 99.4 per cent of the votes, representing more than 271.8 million outstanding common shares, were cast in support of a plan that would see Newstrike shareholders receive 33 CanniMed shares for each 1,000 shares of Newstrike.
The Tragically Hip, a major shareholder in Newstrike, last week threw its support behind the company's friendly takeover by Saskatoon-based CanniMed.
However, the deal, which CanniMed said better positions the company for entry into the recreational cannabis market, is subject to approval from CanniMed shareholders at a special meeting scheduled for Jan. 23.
The final outcome of that deal remains uncertain, as CanniMed is also the target of an all-stock hostile takeover by Edmonton-based Aurora Cannabis (TSX:ACB) that is conditional on abandoning the Newstrike deal.
CanniMed has urged its shareholders to vote in favour of Newstrike, but three of the Saskatoon-based company's biggest shareholders representing 38 per cent of outstanding shares have signed lock-up agreements backing Aurora's bid.


Leek Taxis is your local premier online taxi service. We provide a professional taxi service at a competitive price and operate 24 hours a day, 365 days a year.
Our speciality is transfers from Leek to the Airport of your choice. We welcome families, individuals as well as business accounts with regular work.
Leek Taxis offer a full taxi service in your local area, with an instant online quote and booking system. We have an excellent fleet of vehicles that we take great pride in. Our team of drivers and helpful friendly staff are always ready to help with all of your needs, just call us for any further information on 01538 340 006. We operate 24/7 throughout the year and accept all major credit/debit cards including American Express. Please get in touch to discuss your business requirements and set up an account.


text:
'And That's Why We Drink' is keeping our Fridays freaky with haunted dolls and terrifying true crime
True Crime October 6, 2021
Listen to 'And That's Why We Drink'
"And That's Why We Drink" is one of the funniest, scariest, and booziest podcasts you'll come across. Hosts Em Schulz and Christine Schiefer joined Podsauce to talk about their groundbreaking podcast and what drives them to drink. From creepy dolls to UFOs, murder to ghosts, this podcast truly covers all of their bases when it comes to the weird, freaky and unknown.
Murder with a side of laughter? The 9 funniest true crime podcasts
With over 80 million downloads, "And That's Why We Drink" is one of the most popular podcasts of all time. Partially due to the paranormal hole in the market when they first started, but mainly due to the two friends' chemistry. They recount their origin story to Dax and Alesha: from Em learning what a podcast was to creating their own as a way to document their friendship from the beginning. And it's all part of their charm, because we get to learn about them as they learn about each other.
But the true guts of this pod comes from Em's professional experience with all things ghostly and Christine's love for true crime. Each week, they both tell a new story in an attempt to scare the other. Whether it's UFO sightings, serial killers, or hotel hauntings, there's enough wholesome banter to keep things from getting too freaky. But the doll episodes get weird. Also, why are there so many haunted dolls? Can somebody put a stop to this?
All of their episodes are lovingly titled (E187 Lydia Chlamydia and Father Macaroni is near and dear to our hearts), and they've also been taking stories from fans to freak themselves out.
A recent listener story comes from a Halloween ghost story gathering, when the mother of her childhood friend took the stage. She said that one night when both of her children were young, while studying for night school classes at home, she heard the tell-tale sign of her son, Joe, rise from slumber with the clattering of his toys. When she went to check on him, Joe was fast asleep. When she returned to her desk, she noticed his toy truck moving across the floor on its own, as if being played with by a child. She immediately put the toys away before returning back to her desk. Not long after, she heard her front door open and raced to see her young son, who had previously not been able to open the door, walking across the front yard unresponsive to her calling his name.
The next morning, she was feeding her two children when Joe said "Mama, where's my friend from last night?" The listener who wrote in this woman's ghost story recalls the unusual sick to her stomach feeling she and her family always got when they visited that friend's home! So, now you see where they got the title "And That's Why We Drink."
Megan McDermott and Sarah Nelson have a true crime theory: 'It's Always the Husband'
So this Halloween season, why not spook it up with "And That's Why We Drink?" Whatever you are looking for to give you a scare, murder, kidnappings, paranormal activity, there is no lack of it here. Along with a hearty side of wholesome friendship and laughs, be sure to grab a glass (or a milkshake) and tune in every Friday.
Family, fraud, and a 'Ghost Herd:' How Cody Easterday executed one of the largest cattle swindles in American history
True Crime January 31, 2023
A no-body murder charge? 'Finding Ana | This Disappearance of Ana Walshe' analyzes the case and killer husband
Society & Culture January 31, 2023
Join 'Beyond Black History Month' as they dive into the birth of hip-hop, the Black LQBTQ+ nightlife scene, and more


text:
SYNONYM

#### According to
Index Fungorum

#### Published in
null

#### Original name
Cordyceps stenocori Quél.

### Remarks
null