text:
Q: How to get the current URL in http.go? I'm using http.NewRequest to make several http requests ( obviously ). Now I need to make request and extract some query strings  from the final URL ( there is a redirect ) .
So the question is how can I find the URL (if the final URL if the client  was redirected ) ? There is no such field in Response.
Please note that I don't need to stop the redirect... only to find what's the URL after request

A: Although @JimB actually answered the question I'm posting this as it may help someone. I've used an anonymous function. Perhaps could be done better using a closures  but I didn't figured it out yet how closures actually work.
req, err = http.NewRequest("GET", URL, nil)
cl := http.Client{}
var lastUrlQuery string
cl.CheckRedirect = func(req *http.Request, via []*http.Request) error {

    if len(via) > 10 {
        return errors.New("too many redirects")
    }
    lastUrlQuery = req.URL.RequestURI()
    return nil
}
resp, err := cl.Do(req)
if err != nil {
    log.Fatal(err)
}
fmt.Printf("last url query is %v", lastUrlQuery)

A: You add a callback to http.Client.CheckRedirect
    // CheckRedirect specifies the policy for handling redirects.
    // If CheckRedirect is not nil, the client calls it before
    // following an HTTP redirect. The arguments req and via are
    // the upcoming request and the requests made already, oldest
    // first. If CheckRedirect returns an error, the Client's Get
    // method returns both the previous Response and
    // CheckRedirect's error (wrapped in a url.Error) instead of
    // issuing the Request req.
    //
    // If CheckRedirect is nil, the Client uses its default policy,
    // which is to stop after 10 consecutive requests.
    CheckRedirect func(req *Request, via []*Request) error

You can then inspect the new Request as they happen. Just be sure to institute some sort of limit to prevent redirect loops (as stated in the docs, the default aborts after 10).

redpajama_set_name: RedPajamaStackExchange


NEW YORK — Morris Pearl, a former managing director of the world's largest investment company, walked out of his three-bedroom Park Avenue co-op on a recent rainy morning and headed to a Beaux Arts-style members-only club. He fit the scene seamlessly, greeted by smartly dressed attendants who knew him well.
Yet, as Pearl settled into a corner table, he was deeply troubled. For the past three decades, he had worked at a Who's Who of Wall Street firms and made his fortune.
When he started, he believed that the world of high finance he'd joined was part of a virtuous circle, greatly enriching those at the top but also helping those of all incomes by enabling growth, industry, and jobs.
But he has come to have doubts. On this morning, as it happened, a group that he heads called Patriotic Millionaires helped unveil the latest startling report on income inequality. It said the gap had grown even greater, with America's 20 wealthiest people owning as much as the bottom 152 million.
The report underscored Pearl's fear that the compact between Main Street and Wall Street, which helped draw him here, had unraveled.
The chasm between the super-rich and the working poor is widely seen as the greatest division in America. Yet there is no consensus on what to do.
Many Wall Streeters, himself included, had become fabulously wealthy, and that didn't bother him, but he was troubled at how income had stagnated for tens of millions of average Americans.
The question he asked himself this day was fundamental: how responsible for this gap was Wall Street, and the way it has changed during his career? The answer, he feared, was that it played an even greater role than many realized, even if that notion isn't widely understood or much evident in the economic rhetoric of the presidential campaign.
"I don't want to live in a country where everybody is on the edge of not being able to get by, and that's what I'm afraid we're moving to," he said. So he began to study what had changed — and what needs to change.
Yet for much of the nation, the impact is indiscernible. Indeed, the fact that even this strong data couldn't make much of a dent in the income gap marked an unintended turning point, underscoring that the divide is the new normal.
Despite President Obama's pledge to make reducing income inequality a centerpiece of his administration, the gap has widened. A landmark study released earlier this month by the Pew Research Center said a historic tipping point has been reached in the diminishment of the middle class, with the group having suffered a 28 percent drop in their median wealth from 2001 to 2013.
A key reason is that many people's income has stagnated. The average annual salary of the American male worker is about $50,000, down from $53,000 a generation ago in inflation-adjusted dollars, even as productivity has sharply risen.
The depth and length and strain of this economic divide has deeply scarred the American mind-set. Consider these polling results, among the most revealing of this campaign season: Just 27 percent of those surveyed say the distribution of incomes among the economic classes is fair, and only 35 percent believe that anyone in America can get ahead economically, according to a New York Times/CBS News survey conducted in June.
More than any other factor, this sense that the underpinning of the American Dream has been shaken — the idea that any hard-working person can vault ahead in a system in which all have a fair chance — explains the angry direction taken by the 2016 presidential campaign.
It has led voters across the political spectrum to be drawn to outsider candidates who promise wholesale change, and play to their fears. To Pearl, that means the focus shouldn't just be on Washington, but also on Wall Street.
Pearl, bald and bespectacled at 55 years old, grew up in a small town in upstate New York and moved as a teenager to Burlington, Vt., where his family owned Nate's Clothing on Church Street. Determined to be an accountant, he went to the University of Pennsylvania and happened to take a computer science class, about which he became passionate.
Putting his two interests together, he became expert in the ways certain markets are managed, which made him attractive to Wall Street.
Throughout his career, he did not directly trade stocks, but instead watched from a slightly removed distance, becoming expert in how markets worked. He traveled inside the heady world of many Wall Street firms, worked at Prudential Bache, Salomon Brothers, and Kidder, Peabody & Co., served as head of fixed-income research at PaineWebber and then UBS, and in 2005 became a managing director at BlackRock, the world's largest investment company.
He marveled when one of his early employers held nightly 5 p.m. parties on the top floor, with free booze flowing, and trimmed back to weekly parties only when the market turned down. He was shocked when an employer entertained traders with scantily clad Brazilian dancers, and was surprised when one of his son's classmates was feted at a party by the classmate's exceptionally wealthy parents, who had rented the American Museum of Natural History for the event.
Still, he clung to the belief that, notwithstanding some excesses, the greater work performed on Wall Street was vital.
When his father expanded his business by investing his profits in other clothing stores, he and others within the family benefited from the expansion. In the same way, large companies could raise the capital needed for growth on Wall Street and sell shares to the public, enabling anyone to own a piece of corporate America, and enrich countless stockholders.
In 1950, individuals owned 90 percent of all stock shares, and usually held them for the long term. This was the virtuous circle that had attracted Pearl and many others, as growing companies hired new workers, raised wages, and rewarded shareholders.
But over the years, the market has changed fundamentally. Institutions took over investing and today own 70 percent of stock, and typically hold it as a short-term play, according to research by John Bogle, founder of the Vanguard investment company. The markets are much more about trading at the margins, measuring profits in transactions that take milliseconds.
Today, 99 percent of volume is for trading, and only .6 percent for raising capital, according to Bogle's research. Much investment capital today is raised by private equity and venture capital firms, including many in Massachusetts.
All of this has led to a narrowed Wall Street focus that has become known as "short termism," in which managers look more to the next quarter's results than long-term planning and profits.
Few have watched the changes on Wall Street more closely than Howard Silverblatt, who since 1977 has worked at various positions at S&P Dow Jones Indices and currently is a senior analyst.
He has rarely seen companies making so much money or holding on to so much cash. This year, the nonfinancial companies in the S&P 500 are making record profits and have a near-record cash stockpile of $1.31 trillion, Silverblatt said.
In the past, a large portion of such funds would be used to create new products, build new factories, hire more workers, and raise wages.
There are, of course, many reasons for the wage stagnation, including global low-wage competition, shifting markets, and diminished union power. Much of the economy is driven by small businesses and privately held companies that aren't subject to the same short-term pressures as publicly held firms.
Still, the role of publicly traded firms, given their size and sway, has an outsized impact. The data on those firms demonstrate that despite record profits and cash stockpiles, a huge amount of money that could be spent on new jobs and wages is on the sidelines.
This is expected to be a record year for stock buybacks, a trend that the Globe wrote about in an earlier installment of this series. Many companies use their cash to buy back stock in the hope that it will quickly raise share prices, while critics say the money would be better spent on investments that would boost long-term growth — which in turn can create jobs and raise wages.
Business groups have defended the state of corporate investment. They note the difficulty of making costly new bets in an economy where many people spend frugally, and when cheaper products made by global competitors are a constant threat. Thus, they say, it can be better to use excess cash to reward shareholders, or hold cash offshore while waiting to see if the next president changes tax policy.
Currently, funds brought into the United States are subject to the same 35 percent corporate tax on domestic income, minus whatever tax has already been levied by a foreign government.
Many Republican candidates have proposed a "tax holiday" that would enable companies to bring the cash to the United States at a reduced or zero rate, predicting it would set off an economic boom. Most Democrats have opposed the idea, citing reports that a 2004 tax holiday resulted in few new jobs, and that much of the money was spent on stock buybacks.
But this is not a typical Republican-versus-Democrat divide, or rich-versus- poor. Both Democratic and Republican members of the Securities and Exchanges Commission have said in speeches this year that they are concerned about short-term thinking on Wall Street.
Republican Eric Cantor, the former House majority leader who last year became vice chairman of the investment firm, Moelis & Co., said in an interview that Wall Street has been stymied by the same inability to take long- term action that has caused gridlock in Washington. He said many companies are slow to invest due to uncertainty about tax and monetary policy.
Nor is it a divide just between Main and Wall streets. It is a divide within Wall Street itself.
Laurence Fink, the CEO of BlackRock, is perhaps the most vocal critic of short-termism, writing a letter to Fortune 500 executives earlier this year in which he blasted the lack of long-term investing.
Fink, in language that sounds like it could come from someone at Occupy Wall Street — except that his company manages $4.5 trillion in assets — concluded: "We need a call to arms with many more voices speaking up and taking a stand." Fink declined an interview request.
Fink's broadsides have been countered by Carl Icahn, who has championed the role of activist investors as a means of getting poorly managed or stagnant companies to act in the interest of shareholders. Icahn on CNBC earlier this year said BlackRock's activities endanger the economy because it relies significantly on debt issues. Icahn did not respond to a request for comment.
Fink's attack on fellow Wall Streeters, along with similar criticism from a variety of academics and politicians, ratcheted up the debate about short-term thinking. And it fit squarely into Pearl's concerns about the changes he had seen on Wall Street.
It is a harsh assessment, one rejected by many of his coworkers and business leaders. It is far from a majority view on Wall Street. But Pearl, an undecided Democrat, believed such concerns needed to be discussed more broadly in Congress and during the presidential campaign.
In 2013, in what Pearl described as a turning point, he was at a meeting on the top floor of a bank building in Athens during a crucial moment of Greece's financial meltdown. At the time, BlackRock was advising the Bank of Greece. Pearl looked down at a parade of protesters headed toward Parliament, where debates about austerity measures were taking place.
"I started wondering if I was really helping the rest of the people of Greece," Pearl said. The United States wasn't facing anything like the Greek crisis, but he worried what might come if public policy wasn't changed. Within a year, Pearl said, he decided he had more than enough money to live comfortably "forever." (He declined to give his net worth other than to say it is in "the low eight figures.") He asked himself why he had become so wealthy compared to others. He decided to quit his job and become an advocate.
He had heard of a new group called Patriotic Millionaires, composed of "high net worth" individuals whose initial focus was on raising taxes on some of the richest Americans.
For example, they criticized a tax break known as "carried interest," which enabled certain hedge fund managers to pay the equivalent of the capital gains tax rate on their earnings, meaning their rate was lower than clerical workers pay on their regular earned income.
The issue of income inequality has seeped into the presidential campaign in different ways. Senator Elizabeth Warren, a Massachusetts Democrat, said in an interview that she hopes candidates will look at her proposal to clamp down on corporations who are paying little or no income tax, while Republicans have said US corporate tax rates are too high.
Some voters have been drawn to Democrats Bernie Sanders and Hillary Clinton in hopes that they will push measures that spread wealth more evenly, such as raising taxes on the wealthiest people and providing more benefits for lower income. Others have been attracted to candidates such as Donald Trump, who has rallied those who fear their livelihood is threatened by immigrants who are here illegally.
Proposals aimed at changing the short-term mind-set, such as limiting stock buybacks and extending the holding period for capital gains, have received only limited notice on the campaign trail.
As Pearl entered this new world of seeking to influence politics, he found something familiar to his old life. Money matters.
As he scrolled through his smartphone, Pearl found dozens of requests for his money. He responds to many, sending $125,000 to candidates and traditional political committees in this election cycle.
But that only makes him the nation's 674th biggest contributor, according to the nonpartisan Center for Responsive Politics, underscoring how wealthy individuals play an outsized political role.
Still, it was more than enough to ensure that Pearl and fellow Patriotic Millionaires had special access, and he took advantage of it. On the evening of Nov. 17, there was Pearl with House Minority Leader Nancy Pelosi at Washington's elegant Jefferson Hotel.
The next morning, there was Pearl, bypassing the long line of tourists visiting the US Capitol, being whisked to meetings with senators and staff members, at which he discussed his proposal to end tax breaks for hedge fund managers and to require companies to disclose all political spending.
Then it was on to the White House, where he met in the Roosevelt Room with members of Obama's economic team. They expressed sympathy for his proposals, Pearl said, but said the time wasn't right to push for them.
As Pearl left the White House grounds, he said, he knew that he wasn't going to make progress quickly. He figured it had been much easier for him to make millions of dollars on Wall Street than it would be to change public policy. Still, he hoped the group's meetings and press conferences would at least stir discussion in the presidential campaign.


text:
IIROC Security Breach : Class Action Not Authorized
Éloïse Gratton September 4, 2014
The Investment Industry Regulatory Organization of Canada (IIROC or in French OCRCVM) who monitors all trading activity across the country suffered a security breach which was reported in April 2013. It was revealed that an employee lost a USB drive containing the personal information of more than 52,000 individuals with accounts at more than 30 brokerage firms.
After the incident, a class action was filed against IIROC, claiming 1,000$ for each individual. In August 2014, the class action was not authorized. One of the reasons that this class action was not authorized was the lack of evidence of any real damages sustained by the class representative.
What Are the Damages Following a Security Breach?
The Court in the IIROC case articulated the view that while the doctrine and jurisprudence recognize that the type of moral damage such as stress, emotional trauma, trouble, hassle and inconvenience can be compensated for, in this case, the Court considered that the disadvantages that the applicant alleged were those that are usually part of life in our twenty-first century society.
The type of damages that were claimed amounted to the time spent by the representative, such as doing a monthly check of his bank accounts and credit cards. This was not considered as being burdensome by the Court given that this data is easily accessible via the Internet and since that it is not unusual to make such verification several times a month at a time when the theft and misuse of personal information is reported in the news almost on a daily basis. While the applicant also claimed to have suffered stress following the incident, the request for authorization offered no details in this regard.
The Court also considered the fact that to date, no identity theft or fraud resulting from the loss of the computer by IIROC had been reported. In this context, the Court considered that the stress of the events alleged in the motion for authorization was not a compensable injury (failing to meet the criteria set forth by section 1003 b) of the Quebec Code of Civil Procedure).
The Court refers to the case Mustapha c. Culligan du Canada Ltée in which it was discussed that psychological distress suffered must be more important than mere annoyance in order for this type of damage to be compensated for.
In a similar breach incident involving the National Bank of Canada which triggered a class action in Larose c. Banque Nationale du Canada, the Court had authorized the class action. In that case, the National Bank of Canada had been robbed of three computers, one of which contained personal information of about 225,000 mortgage customers. In their motion for authorization to institute a class action, the applicants alleged, in essence, the same mistakes as those alleged in the IIROC case: negligence in the protection of their personal information and undue delay in notifying customers. The damages claimed also showed some similarity to those alleged in the IIROC case: additional delays when making credit applications, obligation to monitor bank accounts, increased vigilance in providing information personal, obligation to inform other financial institutions, loss of time and anxiety. The Court nevertheless highlighted an important fact alleged in the motion for authorization, and which clearly distinguishes that case from the IIROC case, which is the evidence of identity theft. Unlike in the IIROC case, it was alleged that the identity of at least one member of the group had been stolen, triggering the assumption that this situation may also apply to others.
The Court also took into account the case of Mazzonna c. DaimlerChrysler Financial Services to determine if authorization should be granted. In the Mazzonna case, a record containing personal information of DaimlerChrysler customers had been lost by a courier while delivering it to a credit agency. In its motion for authorization to institute a class action, Mazzonna criticized DaimlerChrysler in a similar way than in the IIROC case. In Mazzona, since no identity theft or fraud associated with the loss of the record had been reported, the Court did not authorize the class action, since the damages alleged by the Petitioner were prima facie the kind of ordinary annoyances and anxieties (and therefore did not constitute "compensable" damages).
Takeaways for Businesses
The decision in the IIROC case will make it more difficult for privacy class actions to be authorized following a security breach, unless it can be proven that the damages caused were more than the Petitioner having suffered stress following the incident and having spent time verifying their bank accounts and credit card statements. The fact that there is evidence that following the security breach, the identity of one of the class member was stolen will usually play in favor of an authorization.
While not all security breaches will lead to the authorization of a class action, organizations can't ignore the reputational damages resulting from a security breach. Also, they should take into account the fact that following a security breach, the fact that individuals are properly notified and that measures are quickly taken to protect the individuals (free credit monitoring, fraud alerts, etc.) will usually be taken into account by the Court. In the IIROC case, there was a publication of a press release, a letter was sent to customers informing them of the theft and asking for their vigilance, a notice of incident was reported to both Equifax and TransUnion and the Privacy Commissioner was informed.
Class action Security breach
This content has been updated on September 12, 2014 at 13 h 31 min.

redpajama_set_name: RedPajamaCommonCrawl


I need to start my DTE service and i am not getting an answer on the phones and it wont let me do it online.
GetHuman2044960's next move: talk to DTE Energy again when they open.
DTE Energy's call center is closed now. We will send GetHuman2044960 a reminder to call them when they open. Nothing to do for now but wait!
I was trying to get my service started... How is it that I have a DTE account and i can sign in and everything.. but when i want to start a new service at a new place... they do not recgonize my ssn or my drivers license.. ... you guys are closed at * on saturdays and closed on sundays and I need to get my DTE on within ** hours.. and it won't let me do it online. It says no records found. But i already have a DTE service when i put in my driver license or my ssn it does not work. So I need either a call back. I just need to start my service.
That this is frusterating.. Ive had problems like this before with DTE. No call back.. I just want to start my service and i have to do it within ** hours.
To either call me back. Or you can make this right but starting my service that i cannot do online or over the phone.
Ive been a customer for over * years.. and I at least thought I would be able to do it online.. But yet, I cannot because there is no record found on my ssn or my drivers license but to create my account thats the information i put in.
We are waiting for GetHuman2044960 to fix the problem and share the solution with the rest of us customers.
I am not a DTE Energy customer, but I keep getting calls and emails from DTE abou...Dte was cancelled and need assistanceChange new address on my dte Energy app on my phone.Need to get a ** days excention on my dte bill.Is Detroit the only city that DTE Energy spreads Christmas joy and cheer to children?Need phone number for DTE FoundationI need to switch the DTE Bill to my nameI recently got DTE energy because I needed it to move in to my new apartment on t...I would like to know when my dte connection is going to be disconnected?
See how GetHuman2044960 fixes it.
Dte. I was trying to call or do it online and neither of those worked..


text:
package org.sakaiproject.metaobj.utils.mvc.impl;

import java.beans.PropertyEditor;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.beans.BeanWrapper;
import org.springframework.beans.BeanWrapperImpl;
import org.springframework.beans.BeansException;

/**
 * Created by IntelliJ IDEA.
 * User: John Ellis
 * Date: Apr 23, 2004
 * Time: 1:50:42 PM
 * To change this template use File | Settings | File Templates.
 */
public abstract class BeanWrapperBase extends BeanWrapperImpl {
   protected final Log logger = LogFactory.getLog(getClass());
   protected List customEditors = new ArrayList();

   /**
    * The nested path of the object
    */
   private String nestedPath = "";

   /* Map with cached nested BeanWrappers */
   private Map nestedBeanWrappers;

   public BeanWrapperBase() {
   }

   /**
    * Create new BeanWrapperImpl for the given object.
    *
    * @param object object wrapped by this BeanWrapper.
    * @throws org.springframework.beans.BeansException
    *          if the object cannot be wrapped by a BeanWrapper
    */
   public BeanWrapperBase(Object object) throws BeansException {
      super.setWrappedInstance(object);
   }

   /**
    * Create new BeanWrapperImpl for the given object,
    * registering a nested path that the object is in.
    *
    * @param object     object wrapped by this BeanWrapper.
    * @param nestedPath the nested path of the object
    * @param rootObject the root object at the top of the path
    * @throws org.springframework.beans.BeansException
    *          if the object cannot be wrapped by a BeanWrapper
    */
   public BeanWrapperBase(Object object, String nestedPath, Object rootObject) throws BeansException {
      super(object, nestedPath, rootObject);
      this.nestedPath = nestedPath;
   }

   public Object getPropertyValue(String propertyName) throws BeansException {
      if (isNestedProperty(propertyName)) {
         BeanWrapper nestedBw = getBeanWrapperForPropertyPath(propertyName);
         return nestedBw.getPropertyValue(getFinalPath(propertyName));
      }
      else {
         return super.getPropertyValue(propertyName);
      }
   }

   /**
    * Recursively navigate to return a BeanWrapper for the nested property path.
    *
    * @param propertyPath property property path, which may be nested
    * @return a BeanWrapper for the target bean
    */
   protected BeanWrapperImpl getBeanWrapperForPropertyPath(String propertyPath) {
      int pos = propertyPath.indexOf(NESTED_PROPERTY_SEPARATOR);
      // Handle nested properties recursively
      if (pos > -1) {
         String nestedProperty = propertyPath.substring(0, pos);
         String nestedPath = propertyPath.substring(pos + 1);
         logger.debug("Navigating to nested property '" + nestedProperty + "' of property path '" + propertyPath + "'");
         BeanWrapperImpl nestedBw = getNestedBeanWrapper(nestedProperty);

         if (nestedBw instanceof BeanWrapperBase) {
            return ((BeanWrapperBase) nestedBw).getBeanWrapperForPropertyPath(nestedPath);
         }
         else {
            return nestedBw;
         }
      }
      else {
         return this;
      }
   }

   /**
    * Retrieve a BeanWrapper for the given nested property.
    * Create a new one if not found in the cache.
    * <p>Note: Caching nested BeanWrappers is necessary now,
    * to keep registered custom editors for nested properties.
    *
    * @param nestedProperty property to create the BeanWrapper for
    * @return the BeanWrapper instance, either cached or newly created
    */
   protected BeanWrapperImpl getNestedBeanWrapper(String nestedProperty) {
      if (this.nestedBeanWrappers == null) {
         this.nestedBeanWrappers = new HashMap();
      }

      BeanWrapperImpl nextWrapper = (BeanWrapperImpl) nestedBeanWrappers.get(nestedProperty);

      if (nextWrapper == null) {
         nextWrapper = createNestedWrapper(nestedPath, nestedProperty);
         ;
         nestedBeanWrappers.put(nestedProperty, nextWrapper);
         return nextWrapper;
      }
      else if (nextWrapper instanceof BeanWrapperBase) {
         return ((BeanWrapperBase) nextWrapper).getBeanWrapperForPropertyPath(nestedProperty);
      }
      else {
         return nextWrapper;
      }
   }

   protected BeanWrapperImpl createNestedWrapper(String parentPath, String nestedProperty) {
      BeanWrapperImpl nextWrapper = null;

      nextWrapper = constructWrapper(this.getPropertyValue(nestedProperty),
            parentPath + NESTED_PROPERTY_SEPARATOR + nestedProperty);

      nestedBeanWrappers.put(nestedProperty, nextWrapper);

      for (Iterator i = customEditors.iterator(); i.hasNext();) {
         CustomEditorHolder holder = (CustomEditorHolder) i.next();
         nextWrapper.registerCustomEditor(holder.requiredType, holder.propertyPath,
               holder.propertyEditor);
      }

      return nextWrapper;
   }

   abstract protected BeanWrapperBase constructWrapper(Object propertyValue, String nestedProperty);

   public void registerCustomEditor(Class requiredType, String propertyPath, PropertyEditor propertyEditor) {
      CustomEditorHolder holder = new CustomEditorHolder();
      holder.requiredType = requiredType;
      holder.propertyPath = propertyPath;
      holder.propertyEditor = propertyEditor;

      customEditors.add(holder);

      super.registerCustomEditor(requiredType, propertyPath, propertyEditor);
   }

   public void setPropertyValue(String propertyName, Object value) throws BeansException {

      if (isNestedProperty(propertyName)) {
         BeanWrapper nestedBw = getBeanWrapperForPropertyPath(propertyName);
         nestedBw.setPropertyValue(getFinalPath(propertyName), value);
         return;
      }
      else {
         super.setPropertyValue(propertyName, value);
      }
   }

   /**
    * Is the property nested? That is, does it contain the nested
    * property separator (usually ".").
    *
    * @param path property path
    * @return boolean is the property nested
    */
   protected boolean isNestedProperty(String path) {
      return path.indexOf(NESTED_PROPERTY_SEPARATOR) != -1;
   }

   /**
    * Get the last component of the path. Also works if not nested.
    *
    * @param nestedPath property path we know is nested
    * @return last component of the path (the property on the target bean)
    */
   protected String getFinalPath(String nestedPath) {
      String finalPath = nestedPath.substring(nestedPath.lastIndexOf(NESTED_PROPERTY_SEPARATOR) + 1);
      if (logger.isDebugEnabled() && !nestedPath.equals(finalPath)) {
         logger.debug("Final path in nested property value '" + nestedPath + "' is '" + finalPath + "'");
      }
      return finalPath;
   }

   public PropertyEditor findCustomEditor(Class requiredType, String propertyPath) {
      if (propertyPath != null && isNestedProperty(propertyPath)) {
         BeanWrapperImpl bw = getBeanWrapperForPropertyPath(propertyPath);
         return bw.findCustomEditor(requiredType, getFinalPath(propertyPath));
      }
      else {
         return super.findCustomEditor(requiredType, propertyPath);
      }
   }

   private class CustomEditorHolder {
      public Class requiredType;
      public String propertyPath;
      public PropertyEditor propertyEditor;
   }

}

redpajama_set_name: RedPajamaGithub


text:
Home» Auto» Bikes» The Legendary 'Yamaha YZF-R6' Supersport Motorcycle Launched in Nepal
The Legendary 'Yamaha YZF-R6' Supersport Motorcycle Launched in Nepal
Last updated on December 21, 2020 Posted on December 20, 2020 by Jubindra K.C
Yamaha YZF-R6 is now available in Nepal.
Yamaha YZF-R6
MAW Enterprises Pvt. Ltd., the authorized distributor of Yamaha motorcycles in Nepal, has launched the legendary Yamaha YZF-R6.
It is one of the most popular Yamaha superbikes in the world, becoming a well-known entity in the middleweight supersport segment.
Before we move on to the details, please note that Yamaha Nepal has brought the new YZF-R6 in limited numbers. It is being brought in Nepal to showcase Yamaha's rich history.
Alongside the Yamaha YZF-R6, Yamaha Nepal has also brought Yamaha MT-09, Yamaha Bolt, and Yamaha TMax 560 in Nepal.
With that quick detail out of the way, let's take a look at the new Yamaha R6.
Yamaha YZF-R6 Specifications
Engine Type: Parallel 4-Cylinder, 4 – stroke, DOHC 4-Valve, Liquid Cooled FI
BS6 Compliant: EURO4 Compliant
Displacement: 599 cc
Cooling System: Liquid Cooled
Starting Mechanism: Self Starter Only
Max Power: 118.4 PS @ 14500 rpm
Max Torque: 61.7 Nm @ 10500 rpm
Gearbox: 6-Speed
Top Speed: 262 Kmph
Fuel Tank Capacity: 17 liter
Mileage: 15 kmpl
Front Tyre: 120/70-R17 – Disc
Rear Tyre: 180/55-R17 – Disc
Tubeless Tyres: Yes
Braking System: ABS
Suspension Setup: USD Telescopic Front Forks and Rear Link Type Swing Arm
Seat Height: 850 mm
Ground Clearance: 130 mm
Kerb Weight: 190 kg
Colors: Midnight Black and Icon Blue
Yamaha YZF-R6 Price in Nepal: Rs. 39,99,000
Yamaha YZF-R6 Overview
Yamaha YZF-R6 comes with one of the most recognizable designs in the world.
YZF-R6 features an aerodynamic bodywork right alongside an aggressive look, bearing the hallmarks of Yamaha's R-series DNA. It enforces track-level performance in a street-legal avatar.
Yamaha YZF-R6 Front Design
It takes the overall sporty character to the extreme with the iconic hidden headlights and predatory LED position lights.
Additional elements like the M1-style air in-take adds a cherry on top.
Frankly, I can't do any justice in explaining the look of this hyper beast.
It looks intimidating with its radical looks, refined bodywork, and mouth-watering spec sheet. Perhaps that why it dominated WorldSSP Championship in recent years.
ALSO READ: Yamaha MT-09 with 847cc, 3-Cylinder FI Engine Launched in Nepal
As stated earlier, Yamaha YZF-R6 is powered by mouth-watering specs.
Right off the bat, YZF-R6 gets a slimline CF die-cast magnesium rear subframe with a lightweight aluminum fuel tank.
It is powered by a 599cc, 4-Cylinder, Liquid-cooled DOHC Engine which generates a max power of 118.4 PS at 14500rpm and max torque of 61.7Nm at 10500rpm. Moreover, it is mated to a 6-speed transmission with Quick Shift System (QSS).
Yamaha YZF-R6 Aluminum Fuel Tank
Talking about the suspension setup, it gets fully adjustable R1 type front forks and an aluminum link-type rear swingarm.
Other lists of performance features include 6-position switchable TCS, YCC-T, YCC-I, ABS, and D-Mode.
Yamaha YZF-R6 is feature-loaded. For the asking price in Nepal, it should be! Here is a quick list of features in the new Yamaha YZF-R6.
Yamaha YZF-R6 Instrument Console
Yamaha YZF-R6 Feature Highlights
Radical R-series Design
Aggressive Face with Dual LED position lights
Aerodynamically efficient Front Cowl
6-Position Switchable TCS
Quick Shift System
R1 Type 43mm Front Forks
CF die-cast Magnesium Rear Subframe
17-liter Aluminum Fuel Tank
Ergonomic Riding Position
Dual Disc Braking with ABS
Yamaha YZF-R6 Price in Nepal and Availability
Yamaha YZF-R6 is already in Nepal, and currently available for either purchase or booking. However, it is in limited numbers (reported to be less than 3) for the entire Nepali market.
As for the pricing, the Yamaha R6 price in Nepal is Rs. 39.99 Lakhs. Interestingly, the price makes the Yamaha R6 the most expensive Yamaha bike in Nepal.
Yamaha YZF-R6 – Icon Blue
Like I have stated earlier, Yamaha Nepal has brought four superbikes to Nepal. It includes the likes of Yamaha R6, Yamaha MT-09, Yamaha Bolt, and Yamaha TMax 560.
These bikes aren't here to add to Yamaha's portfolio, rather these are here to showcase Yamaha's iconic legacy.
Yamaha YZF-R6 – Midnight Black
On a separate note, Yamaha has discontinued the street legal Yamaha R6 for the 2021 model year. So, this might be the last chance to grab one for yourself.
If you are interested to book one for yourself, please contact the nearest Yamaha Nepal showroom.
READ NEXT: Yamaha XTZ 150 Bookings Open in Nepal: More Power at Better Price!
TAGS: auto big bikes bikes news super bikes Yamaha
Yamaha R15 v4 and R15M Officially Launched in Nepa...
Yamaha MT-09 with 847cc, 3-Cylinder FI Engine Laun...
Yamaha TMax 560: The Most Expensive Yamaha Scooter...


text:
Home Videos Geography & Travel
Explore Mumbai, the most populous city and the country's financial and commercial center
Overview of Mumbai, Maharashtra, India.
Contunico © ZDF Enterprises GmbH, Mainz
Article media libraries that feature this video: Bollywood, Mumbai, diamond, India, Maharashtra
A metropolis which is beyond the scope of the imaginable: Mumbai. No one can say exactly how many people live here. It may be 15 million or it may be 20 million. And another 300 families move here every day. They all bring their own dreams of happiness, hoping to see them come true in this megalopolis.
So many have been able to make their dreams reality here. India's film industry is booming. Bollywood produces as many as three feature films a day. Thousands of actors and technicians, and thousands upon thousands of extras make a living here. Most productions are lowbrow, but successful nonetheless. And the industry offers its employees bright prospects for the future.
Mumbai has quietly worked itself to the top in another sector too. Today, 11-of-12 diamonds come from India. Hundreds of workers cut rough diamonds, weigh them and appraise their value. The international diamond trade now invariably passes through India. Precious pieces and smaller, less expensive stones alike are sold at Zaveri Bazaar.
It's business here and Buddha there, despite the long arm of globalization. It's impossible to imagine the boomtown Mumbai without Buddhism. Thousands make the pilgrimage to the Temple of Ganesh, an elephant-headed god. He's associated with the Milk Miracle, a tale purporting that all Ganesh statues in India drank milk with their trunks.
Every day immigrants stream into Mumbai from all sides. And somewhere in this world which precariously attempts to balance tradition and globalization they will find a home, just as 15-20 million others have in the sprawling megalopolis of Mumbai.


text:
Stan's our man: Sunlight to host Google Fellow
by Kathy Kiely
Stan Oklobdzija is a former newspaper reporter now working on a Ph.D. in political science. (Photo: Stan Oklobdzija)
Stan Oklobdzija is fluent in — or at least has a good working knowledge of — English, Spanish, Portuguese and Serbian, not to mention Ruby, Python and R.
He may get a chance to use all of those languages this summer as a Google Fellow at the Sunlight Foundation. A 31-year-old former newspaper reporter now pursuing his Ph.D. in political science, Oklobdzija (pronounced Oh-CLUB-gee-uh) will spend 10 weeks working at Sunlight courtesy of a Google-funded program that's designed to promote a more data-driven, technically-savvy news media. He's one of 11 Google Fellows who will be posted to news organizations across the country.
Sunlight selected Oklobdzija from a field of more than 60 candidates who applied to work with us because he personifies much of the foundation's eclectic but interconnected portfolio.
Like Sunlight, which was founded out of a desire to empower reporters covering money in politics and maintains an active reporting group, he has his roots in journalism.
Google Fellows and hosts
Sunlight is one of 10 organizations hosting Google Fellows this year:
Center for Investigative Reporting: Emmanuel Martinez, University of Southern California; Suyeon Son, Northwestern University
Committee to Protect Journalists: Rachael Levy, CUNY Graduate School of Journalism
Investigative Reporters & Editors: Aram Chung, Columbia University Graduate School of Journalism
Nieman Journalism Lab: Liam Andrew, MIT
Pew Research Journalism Project: Alex T. Williams, University of Pennsylvania
Poynter: Benjamin Mullin, California State University, Chico
PRI.org: David Conrad, University of Pennsylvania
ProPublica: Yue Qiu, Columbia Graduate School of Journalism
Sunlight Foundation: Stan Oklobdzija, UC San Diego
Texas Tribune: Jessica Hamel, UC Berkeley Graduate School of Journalism
After graduating from UC Davis (where he worked for the California Aggie), Oklobdzija covered ethnic affairs for the Santa Maria Times, helped open a state house bureau for the Spanish language Vida en el Valle, then spent three years covering the police beat at the Sacramento Bee.
Like Sunlight, whose Labs team helps voters find their way through thickets of government data with user-friendly tools, Oklobdzija is passionate about technology and statistics: After getting bit by the data bug at the SacBee, he headed off to the University of Southern California for a master's in public policy.
Like Sunlight, whose policy team has extended the foundation's transparency work from the Peach State of Georgia to the former Soviet republic of Georgia, Oklobdzija's interests run the gamut from the hyperlocal to the global. He has walked the beat with cops, served as an intern for a member of the Los Angeles city council and researched briefing papers on state policies. He's also spent time in Brazil as well as in Serbia, where he has family.
And, like Sunlight, Oklobdzija is more interested in policy than partisanship. While a student at USC, he worked on medical marijuana legislation in the office of Councilman Jose Huizar, a Democrat. Later, he helped craft budget policy for the failed Senate campaign of former Rep. Tom Campbell, a Republican. He researched transportation policy for the Reason Foundation, and has blogged on campaign finance and lobbying reform for United Republic.
We look forward to welcoming Oklobdzija to our offices in Washington. He, for his part, hopes to bring home a souvenir from his summer at Sunlight. "I hope to find my dissertation topic," he said.
Tags: Brazil, California, Google, Reason Foundation, Sacramento Bee, Serbia, Stan Oklobdzija, Sunlight Foundation, Tom Campbell
Categorized in: Investigations


The vigil which is organised by Northern Ireland's Nepalease community is taking place at 7pm tonight.
The death toll from the disaster has now risen to 4,310 with almost 8,000 people injured.
Co Down man Oliver McKevitt was listed as missing following the earthquake but recently contacted his family to say he was OK.
A total of 3 from Ireland are still listed as missing by the Red Cross.


The talented and highly principled Mama Maison has never celebrated Mothers Day, so instead today I'd like to wish my inspirational Mum a very happy International Women's Day.
Take a look at this new British Library archive – Sisterhood and After: An Oral History of the Women's Liberation Movement.
And here's a photo of a young Granny Vera strolling along Torquay seafront – there are generations of cool women in our family!


Physics and Astronomy at Queen Mary University of London is ranked first in London for student satisfaction for the second year in a row, according to the results of a nationwide poll of final-year undergraduates.
The 2015 National Student Survey (NSS) questioned UK undergraduates on various aspects of their student experience, including their overall satisfaction. Physics and Astronomy students at Queen Mary had a 95% satisfaction rate, amongst some of the highest in the country. Our students are also amongst the most satisfied in the Russell Group with satisfaction rates in the top quartile for all physics programmes.
The School of Physics and Astronomy strives to provide a friendly supportive environment and is committed to the highest levels of teaching and student support.


The Whistler Learning Centre exists to facilitate life-long learning opportunities in the mountain resort community of Whistler.
The Whistler Learning Centre is a registered Canadian charity. The centre was created to facilitate and promote learning opportunities for visitors and residents in Whistler.
Promotes learning as pillar of the Whistler brand.
The Whistler Learning Centre is strengthened and succeeds through strong partnerships that support our virtual campus and concierge model.
Sue began her working career as an Occupational Therapist in her homeland, Australia.


text:
Q: Issues while editing an EditText during a focus change I have two EditTexts for a username and password, each having the text "ENTER A USERNAME" and "ENTER A PASSWORD" respectively, as their default text.
Their text colors are a light gray. Now when they get focused they're supposed to change text colors as well as the password edittext's inputType to a password type (on top of other things but that works).
It successfully changes the text color to black at first but fails to change back and the inputType never changes.
Please suggest me where I am lacking, below is my code:
OnFocusChangeListener pwListener = new View.OnFocusChangeListener() {
        @Override
        public void onFocusChange(View v, boolean hasFocus) {
            if(hasFocus) {
                //if it has focus then clear the text and make text black
                if(((EditText) v).getText().toString().compareTo(getString(R.string.passwordField)) == 0) {
                    ((EditText) v).setTextColor(R.color.Black);
                    ((EditText) v).setText(R.string.blank);
                    ((EditText) v).setInputType(InputType.TYPE_TEXT_VARIATION_PASSWORD);
                }
            } else if(!hasFocus) {
                //if it loses focus and nothing was inputed then change back to default
                if(isEmpty(((EditText) v).getText().toString())) {
                    ((EditText) v).setTextColor(R.color.TextInput);
                    ((EditText) v).setText(R.string.passwordField);
                    ((EditText) v).setInputType(InputType.TYPE_TEXT_VARIATION_PERSON_NAME);
                }
            }
        }
    };

Thats the passwords edit text and this is its XML:
<EditText
    android:id="@+id/passwordInput"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:inputType="textPersonName"
    android:layout_marginTop="5dip"
    android:layout_marginLeft="20dip"
    android:layout_marginRight="20dip"
    android:paddingTop="15dip"
    android:paddingBottom="15dip"
    android:text="@string/passwordField"
    android:textColor="@color/TextInput"
    android:textSize="25sp"
    android:gravity="center_vertical"
    android:ems="10" >
 </EditText>

A: Why you dont set the ENTER A USERNAME" and "ENTER A PASSWORD" as hint text in Edittext using
android:hint="Enter User Name"

It will automatically disappear when user clicked on Edittext.

A: In your Xml use Hint property to set values as default.
like:
android:hint="@string/username"
android:hint="@string/password"
Instead
android:text="@string/username"
android:text="@string/password"

A: Use
android:hint="@string/passwordField"

instead of
android:text="@string/passwordField"

and do same in username


"KNOWLEDGE-RELATED SUCCESS FACTORS" by John Dencker, Marc Gruber et al.
Many individuals find themselves in the unenviable position of being unemployed. The desire among the unemployed to found a business is strong, due both to the "pull" of perceived opportunities and to the "push" from a lack of rewarding employment opportunities. Despite growing interest in this phenomenon amongst scholars and policy makers, little is known about the ability of unemployed individuals to transition successfully into entrepreneurship. We address an important, but unanswered, question in this context: How does knowledge obtained through various sources influence the successful transition from unemployment to self-employment?
Dencker, John; Gruber, Marc; and Shah, Sonali (2006) "KNOWLEDGE-RELATED SUCCESS FACTORS ON THE PATH FROM UNEMPLOYMENT TO ENTREPRENEURSHIP (SUMMARY)," Frontiers of Entrepreneurship Research: Vol. 26 : Iss. 6 , Article 7.


Posted December 13, 2017 &	filed under Business.
To get where they want to be, entrepreneurs must work their socks off. To get their ideas off the ground and make them into something worthwhile, entrepreneurs need to dedicate a lot of time, energy and resources to them. While doing this is important, it shouldn't come at the expense of completely ditching a vacation or time off work. Taking a vacation or time off work is not just good for your health, but it also good for the success of your business. Let's see why.
For entrepreneurs, being physically and mentally fit is extremely important. Working throughout the year without break can burn you out, affecting your physical and mental health. As an entrepreneur, you can recharge your batteries and improve your physical and mental health by taking some time off work and going on vacation. It won't be long before you are mentally blocked and physically tired if you slog away at work day after day. The best way to avoid this or even overcome it is taking time off work and going on a vacation.
By taking time off work and going on a vacation, you will give your body and mind a re-boot, which in turn will allow you to return to work refreshed and with renewed zest. If don't recharge your batteries and aren't in great physical and mental shape, then you won't be taking your business anywhere or towards success—it is as simple as that.
Running a business is somewhat like a roller-coaster ride. You will your high moments. You will have your disappointments, profits, losses, good days, bad days and a whole lot more. Want to come out of this ride rejoicing? If yes, then you need to resilient and flexible enough to adapt to a constantly changing playground. To achieve the above resilience and flexibility, you need to be mentally fit. A great way to achieve this mental fitness is unwinding and relaxing your mind by taking some quiet time off.
If you're physically tired or feeling pessimistic about the success of your business, then take some time off to relax your mind and return to work with a refreshed mind and renewed hope. Following is what you can achieve by taking time off work to relax your mind.
A relaxed and free-thinking mode is when our best ideas generally pop-up. If you want to spur creativity, then step away from work as a setting where you're rushing to meet deadlines isn't the best place to spark your creative instincts.
Working day-in, day-out can stress-out the best of us. So, it's completely natural for you to feel stressed due to work. A metaphor for working under constant stress would be flying a plane with the flaps down and the wheels unlocked. If you fly like this, then you will waste a lot of energy. So, do the sensible thing and de-stress by taking time off work.
When they first start a business, most entrepreneurs are extremely excited and passionate about the venture. However, this excitement and passion generally dies down over the years. But, do you know why? It is because entrepreneurs are too mentally and physical fatigued to carry on their business with the same zest and passion they had when they first started the business. To ensure this doesn't happen to you, take time off work once every 6 months or year. By taking time off work to relax and unwind, you will avoid being physically and/or mentally fatigued, which in turn will keep your initial excitement and passion for business alive.
Seek inspiration for your business? The best place to find it is in a vacation spot where you're not thinking about work and have a lot of free time to contemplate. The best ideas pop up in the mind when we don't have a lot going in our heads. So, take some time off work, go on a vacation and you may just find the inspiration or idea you seek.
Often, entrepreneurs have to assume many different roles when they first start a business. However, as the business grows, they are required to outsource or hire and delegate some of those roles/responsibilities. When you do get to this stage, take some time off work just to see how well your business can function without you. Remember, the people who help you run your business are your greatest power and if they can't do their job without your supervision or advice, then your business is not going to be successful.
These reasons and good advice (trust me) are just 4 of the countless reasons entrepreneurs should take time off work. When business owners go on vacation, they tend to need a company like ours to proactively monitor their IT network and provide help desk support for their employees. Reach out to us to discuss how we can partner up and give you the freedom to enjoy your vacation with your family.


At the time of diagnosis, systemic lupus erythematosus (SLE) patients already show signs of heart impairment, even before any symptoms of chest discomfort, a new imaging study shows.
The findings indicate that more lupus patients could receive timely cardiac treatment, according to the researchers from China.
The study, "Early Detection of Silent Myocardial Impairment in Patients with New Onset Drug‐Naïve Systemic Lupus Erythematosus – A Three‐Center Prospective Study (Myocardial Impairment in New Onset SLE)," appeared in the journal Arthritis & Rheumatology.
Cardiac impairment is common in SLE patients and may appear as myocarditis, an inflammation of the heart muscle (myocardium); cardiac tamponade, the accumulation of fluid around the heart; or cardiac decompensation, a sudden worsening in symptoms of heart failure.
Despite increasing attention, SLE-associated cardiac anomalies still lack reliable examinations. Also, studies suggested that stabilizing SLE with therapy does not reduce the incidence of cardiovascular disease.
An imaging strategy called cardiac magnetic resonance (CMR) has been increasingly regarded as the best alternative to diagnose fibrosis, or scarring, of the myocardium and myocarditis in SLE patients.
Specifically, CMR techniques known as T1 mapping and extracellular volume (ECV) emerged as reliable ways to assess changes occurring outside the cells that lead to increases in the heart's extracellular matrix — a set of molecules that support surrounding cells — a crucial element in heart disease.
A team at Shanghai Jiao Tong University in China aimed to determine whether these new techniques may help detect early signs of heart disease before the onset of cardiac symptoms.
Their three-center study included 50 untreated patients with newly diagnosed SLE, 60 patients with longstanding SLE (to determine if cardiac involvement is related to SLE) and 50 healthy individuals.
"To our knowledge, this study was the first to recruit drug-naïve new onset SLE patients without chest discomfort to assess the cardiac status in this group using CMR technique," the scientists wrote.
Study participants represented the full course of SLE, with mild, moderate, and severe disease.
Analyses of cardiac enzymes, myocardial fibrosis, strain changes — a common approach to evaluate the function of the heart muscle — and ejection fraction, the percentage of how much blood the ventricles pump out each time they contract, failed to show cardiac impairment in the newly diagnosed patients.
However, imaging tests with the CMR techniques revealed that structural and functional changes in the heart muscle, including signs of fibrosis and edema (swelling), were already present in these patients.
Subsequent assessments demonstrated that women and patients with longer disease duration had more heart changes, as determined with ECV. Also, the scientists found that the right ventricle rather than the left was affected, which they attribute to disease progression, rather than pulmonary hypertension.
The data further showed that the extent of the changes was related to SLE stage. "This finding indicates the value of the early detection of myocardial involvement," the researchers wrote.
They added that unlike current clinical rheumatic and cardiac indices, these noninvasive CMR techniques could help detect markers of myocardial injury before the presence of fibrosis and functional worsening.
"Our findings may affect current lupus diagnostics and treatment — meaning more patients with silent cardiac insults could be identified and receive proper treatment," Jun Pu, an MD and PhD, one of the team's leaders, said in a press release.
Also, the finding of more severe alterations with fibrosis in patients with longstanding SLE suggests the importance anti-fibrotic treatment in these patients.
Tagged cardiac impairment, cardiac magnetic resonance, fibrosis, Systemic lupus erythematosus (SLE).


text:
Congressional bill could make it illegal to ban encryption
By Jon Martindale	 February 10, 2016
Ted Lieu/Twitter
While the national debate on whether encryption is a tool for terrorists or a worthwhile security measure for everyone's digital data, some state legislators have been looking to weaken it as best they can to bolster law enforcement. That may be harder than they thought however, as a new bill proposed in Congress would block all attempts to legislate back doors into products at the state level.
The bill, introduced by Democratic representative Ted Lieu and Republican representative Blake Farenthold, is called the Ensuring National Constitutional Rights for Your Private Telecommunications Act of 2016. While quite a mouthful in name, it's even stronger in action, as if passed, it would prevent the altering of security functions of products or services to allow surveillance, and would make it illegal for state or political representatives to demand the ability to decrypt communications.
Although such a bill would need to pass through the House of Representatives and the Senate, as well as be given the all clear by the President by being signed into law, the bill has already received a lot of praise from privacy advocates.
Related: We're not 'going dark': Harvard study refutes FBI's view on encryption
Andrew Crocker, attorney for the Electronic Frontier Foundation, said in a chat with Ars that he believes this bill demonstrates that some politicians at least are listening to experts when it comes to encryption and digital security. Unfortunately he said: "We also have lawmakers who are instead proposing vague and/or ineffective 'solutions' to that fundamental concern."
It's that lack of understanding that is causing so many problems with the debate on encryption/decryption he said.
It's hoped that this bill will be passed in time to combat the two recently proposed, state-level bills in California and New York, which would effectively ban the sale of devices that allowed end-to-end encryption without the ability of law enforcement to easily crack it open. That would effectively make it illegal to sell iPhones and most Android handsets within those two states unless the relevant manufacturers altered the designs.
Some however believe the bill may not go far enough to block them. It's been suggested that while this bill might halt the mandated altering of devices, it does nothing to block the sale of hardware capable of strong encryption.
If that is the case though, it may be that Lieu will push for even tighter controls. He's been a strong champion for encryption since being elected in 2014 and is one of only four members of the House with a degree in computer science — so you know he understands what he's talking about.


2004 Dean, School of Computer Science and Mathematics, Netanya Academic College, Netanya, Israel.
2003-present Associate Professor, School of Computer Science and Mathematics, Netanya Academic College, Netanya, Israel.
1998-2004 Associate Dean, School of Computer Science and Mathematics, Netanya Academic College, Netanya, Israel.
1998 Member of the Academic Council, Netanya Academic College, Netanya, Israel.
1997-2003 Senior Lecturer, School of Computer Science and Mathematics, Netanya Academic College, Netanya, Israel.
1992 Visiting Scientist, July-September 1992, Center for Mathematics and Computer Science (CWI), Amsterdam, Holland.
1990-1994 Senior Lecturer, Electrical Engineering Department, Technion, Israel.
1990 Visiting Scientist, July 1990, Waterloo University, Waterloo, Canada.
1989-90 Lecturer, Computer science Department (Secondary Affiliation), Technion, Israel.
1987-1990 Lecturer, Electrical Engineering Department, Technion, Haifa, Israel.
1985-87 Post-Doctoral Fellow, Aiken Computation Lab., Harvard, USA.
1982-85 Instructor, Computer Science Department Technion, Israel.


hope Life's been treating you well.
Hi - I am in Georgia. How are you guys? Please tell Sam that I am in Georgia she does not believe me. Also how was your christmas.
Howdy! How goes it? Long time no talk!
Raiyun!!!!! dude i tried to call you but your cells out. even your house. !!!!!?????? did you hide under the invisible cloak again???!!!


text:
Q: Error in android studio while Build apk(libgdx) I get this error in my messages tab of android studio while trying to build apk of a libgdx based game. It is strange that the game runs properly when I try to deploy it on my phone.

Error:Execution failed for task ':html:compileGwt'.
  Process 'command '/Library/Java/JavaVirtualMachines/jdk1.8.0_65.jdk/Contents/Home/bin/java'' finished with non-zero exit value 1

This is my build.gradle file
buildscript {
     repositories {
        mavenLocal()
        mavenCentral()
        maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
        jcenter()
    }
    dependencies {
        classpath 'de.richsource.gradle.plugins:gwt-gradle-plugin:0.6'
        classpath 'com.android.tools.build:gradle:2.1.0'
        classpath 'com.mobidevelop.robovm:robovm-gradle-plugin:2.1.0'
    }
}

allprojects {
    apply plugin: "eclipse"
    apply plugin: "idea"

    version = '1.0'
    ext {
        appName = "cycle"
        gdxVersion = '1.9.3'
        roboVMVersion = '2.1.0'
        box2DLightsVersion = '1.4'
        ashleyVersion = '1.7.0'
        aiVersion = '1.8.0'
    }

    repositories {
        mavenLocal()
        mavenCentral()
        maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
        maven { url "https://oss.sonatype.org/content/repositories/releases/" }
    }
}

project(":desktop") {
    apply plugin: "java"

    dependencies {
        compile project(":core")
        compile "com.badlogicgames.gdx:gdx-backend-lwjgl:$gdxVersion"
        compile "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"
        compile "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-desktop"
        compile "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-desktop"
    }
}

project(":android") {
    apply plugin: "android"

    configurations { natives }

    dependencies {
        compile project(":core")
        compile "com.badlogicgames.gdx:gdx-backend-android:$gdxVersion"
        natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-armeabi"
        natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-armeabi-v7a"
        natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-arm64-v8a"
        natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-x86"
        natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-x86_64"
        compile "com.badlogicgames.gdx:gdx-box2d:$gdxVersion"
        natives "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-armeabi"
        natives "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-armeabi-v7a"
        natives "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-arm64-v8a"
        natives "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-x86"
        natives "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-x86_64"
        compile "com.badlogicgames.gdx:gdx-freetype:$gdxVersion"
        natives "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-armeabi"
        natives "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-armeabi-v7a"
        natives "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-arm64-v8a"
        natives "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-x86"
        natives "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-x86_64"
    }
}

project(":ios") {
    apply plugin: "java"
    apply plugin: "robovm"

    dependencies {
        compile project(":core")
        compile "com.mobidevelop.robovm:robovm-rt:$roboVMVersion"
        compile "com.mobidevelop.robovm:robovm-cocoatouch:$roboVMVersion"
        compile "com.badlogicgames.gdx:gdx-backend-robovm:$gdxVersion"
        compile "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-ios"
        compile "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-ios"
        compile "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-ios"
    }
}

project(":html") {
    apply plugin: "gwt"
    apply plugin: "war"

    dependencies {
        compile project(":core")
        compile "com.badlogicgames.gdx:gdx-backend-gwt:$gdxVersion"
        compile "com.badlogicgames.gdx:gdx:$gdxVersion:sources"
        compile "com.badlogicgames.gdx:gdx-backend-gwt:$gdxVersion:sources"
        compile "com.badlogicgames.gdx:gdx-box2d:$gdxVersion:sources"
        compile "com.badlogicgames.gdx:gdx-box2d-gwt:$gdxVersion:sources"
    }
}

project(":core") {
    apply plugin: "java"

    dependencies {
        compile "com.badlogicgames.gdx:gdx:$gdxVersion"
        compile "com.badlogicgames.gdx:gdx-box2d:$gdxVersion"
        compile "com.badlogicgames.gdx:gdx-freetype:$gdxVersion"
    }
}

tasks.eclipse.doLast {
    delete ".project"
}

A: On Build APK Android Studio actually calls assemble task on every module including html
Executing tasks: [:core:assemble, :desktop:assemble, :android:assembleDebug, :html:assemble, :ios:assemble]

You need to make your html module compile (or delete it) or you can build debug APK by running gradlew android:assembleDebug. Assemblig release APK should be OK, because it is only calling android:assembleRelease
About assembling release version... There is a bug in libGDX which cause to production release to fail, but simple fix is to change line in build.gradle (root one). Change line
classpath 'com.mobidevelop.robovm:robovm-gradle-plugin:2.1.0'

to
classpath 'com.mobidevelop.robovm:robovm-gradle-plugin:2.2.0-SNAPSHOT'


Welcome to our selection of fine Porcelain from the World Famous Lomonosov Porcelain Factory in St. Petersburg, Russia. We are FACTORY authorized dealers and can supply you with over 500 different Lomonosov items shipped from our warehouse in Russia directly to your home or office. If you have any questions or cannot find something or just need some help click here and our Lomonosov specialist will be able to help you.


text:
<!DOCTYPE HTML>

		<meta http-equiv="Content-Type" content="html/html; charset=utf-8" />
		<title>CPTAnnotationHostLayer Class Reference</title>
		<meta id="xcode-display" name="xcode-display" content="render"/>
		<meta name="viewport" content="width=550" />
		<link rel="stylesheet" type="text/css" href="../css/styles.css" media="all" />
		<link rel="stylesheet" type="text/css" media="print" href="../css/stylesPrint.css" />
		<meta name="generator" content="appledoc 2.0.5 (build 789)" />

CorePlot 1.0

				Barry Wark, Brad Larson, Drew McCormack, Eric Skroch

CPTAnnotationHostLayer Class Reference

					<button aria-label="Show Table of Contents" role="checkbox" class="open" id="table_of_contents">Table of Contents</button>

					<select id="jumpTo">
	<option value="top">Jump To…</option>

	<option value="tasks">Tasks</option>

	<option value="properties">Properties</option>

	<option value="//api/name/annotations">    annotations</option>

	<option value="instance_methods">Instance Methods</option>

	<option value="//api/name/addAnnotation:">    - addAnnotation:</option>

	<option value="//api/name/removeAllAnnotations">    - removeAllAnnotations</option>

	<option value="//api/name/removeAnnotation:">    - removeAnnotation:</option>

</select>

Tasks

Annotations

Properties

annotations

Instance Methods

addAnnotation:

removeAllAnnotations

removeAnnotation:

Index

Hierarchy

CPTAnnotationHostLayer Class Reference

	Inherits from
	CPTLayer : CALayer

	Declared in
	CPTAnnotationHostLayer.h

Tasks

Other Methods

		  annotations

	property

Annotations

		– addAnnotation:

		– removeAnnotation:

		– removeAllAnnotations

Properties

annotations

@property (nonatomic, readonly, retain) NSArray *annotations

Instance Methods

addAnnotation:

- (void)addAnnotation:(CPTAnnotation *)annotation

removeAllAnnotations

- (void)removeAllAnnotations

removeAnnotation:

- (void)removeAnnotation:(CPTAnnotation *)annotation

Index

Hierarchy

© 2012 Barry Wark, Brad Larson, Drew McCormack, Eric Skroch. All rights reserved. (Last updated: 2012-07-22)

						Generated by appledoc 2.0.5 (build 789).


text:
Q: Samba file sharing with AD authentication doesn't work on some boxes I have a few RHEL7 boxes, all of them are members in MS Win domain using SSSD.
All of these linuxes run Samba for file sharing with the same config.
Usually it works nice, but from time to time users cannot map Samba folders, with the following message in the log:
[2017/03/07 14:58:27.050493,  0] ../source3/auth/auth_domain.c:121(connect_to_domain_password_server)
  connect_to_domain_password_server: unable to open the domain client session to machine DC03.example.LOCAL. Error was : NT_STATUS_ACCESS_DENIED.
[2017/03/07 14:58:27.050756,  0] ../source3/auth/auth_domain.c:184(domain_client_validate)
  domain_client_validate: Domain password server not available.

"From time to time"  - i.e., sometimes certain Samba box is broken for a long time, sometime some box is stopping  to work for some time.
Unfortunately, I cannot blame MS Win admins because in the same time some Samba boxes are OK when others are broken.
Any ideas?
My Samba is samba-4.4.4-12.el7_3.x86_64, config is
security = ADS
passdb backend = tdbsam
realm = EXAMPLE.LOCAL
password server = x.x.x.x y.y.y.y


text:
Arma 2 Free closes down, Bohemia puts Arma 2 series on sale
By Emanuel Maiberg published 9 April 14
Nearly three years after it was first announced, Bohemia Interactive is shutting down the Arma 2 Free servers, the free-to-play version of the military simulation game. If you were one of its dedicated players, there's good news: Bohemia is trying to soften the blow with a sale on the Arma 2 franchise.
All editions of Arma 2 and its expansion are currently discounted by 75 percent. You can buy them on Bohemia's official website , but all games are also conveniently supported by Steam. The sale will last until May 4.
Sadly, even if you do buy Arma 2, its online functionality will be limited due to the impending shutdown of online matchmaking service GameSpy on May 31. Bohemia said that Arma 3 and Arma 2: Operation Arrowhead will eventually use an alternative solution, but Take On Helicopters, Arma, Arma 2, and other games will lose the server browser and other features. You can find Bohemia's full statement here .
When May 31 comes, a large amount of games that still rely on GameSpy could go down with it. In case you missed it yesterday, Reddit has compiled a list of possible victims .


Scivation | Buy Online | Cheapest in Australia!
Scivation is committed to excellence in manufacturing, research and results. Scivations flagship product Xtend is the best selling Intra Workout in Australia and we are proud to stock it on our shelves!


text:
Bridgeport Police Face Sexual Assault Case Backlog
WSHU | By Davis Dunavin
Bridgeport Police Department
Police in Connecticut's largest city face a backlog of as many as two dozen sexual assault cases, according to Hearst Connecticut Media.
The Bridgeport State's Attorney has appointed two prosecutors to work on the cases with police. But sources told Hearst some sexual assault cases are already past the statute of limitations. In some cases, those cases missed the statute of limitations by five years.
The department has faced multiple vacancies, retirements and turnover. It's also been under fire after the arrest of former chief A.J. Perez for rigging his own hiring process. Perez and another city official pled guilty to conspiracy to commit wire fraud and lying to federal investigators.
Perez shut down the city's Youth Bureau in 2018, which sources blamed for some of the backlog.
Connecticut News BridgeportConnecticutsexual assaultcriminal justice
Davis Dunavin
Davis Dunavin loves telling stories, whether on the radio or around the campfire. He started in Missouri and ended up in Connecticut, which, he'd like to point out, is the same geographic trajectory taken by Mark Twain.
See stories by Davis Dunavin