The Night of Chopin: A Piano Competition has become a long-standing tradition at Columbia University and Barnard College. Generations of student leaders gathered in the Polish Student Society strive every year to showcase Columbia and Barnard talent in a setting of classical music. Community support for the event has been demonstrated not only by reliable crowds of students attending the performances year after year, but also by warmly acknowledged financial and logistical contributions by the University and individual departments.
The Sixth Annual Chopin Piano competition took place on Saturday, March 2, 2013 in the traditional setting of Sulzberger Parlor featuring the best piano on campus: an impressive 1923 Steinway 9" grand. About 80 guests attended. The event was opened by an overview of Frederic Chopin's life and oeuvre presented by Aneta Turlik. Ten pianists competed; their performances were followed by a 30-minute break for refreshments in anticipation of the judges' verdict.
The Polish Student Society at Columbia University and Barnard College wishes to thank the judges and pianists without whom this event would not be possible, as well as our kind sponsors. Our gratitude goes to the East Central European Center for the prizes to the winning contestants. The event was sponsored in part by the Arts Initiative at Columbia University. This funding is made possible through a generous gift from The Gatsby Charitable Foundation. The event was co-sponsored by Barnard College Activities Office, Student Governing Association, and Columbia College Student Council.


text:
Q: How to get a pixel color under a magnifying glass eyedropper? For learning purpose, I'm trying to create a desktop eyedropper but I can't figure out how to retrieve the color of a pixel behind a magnifying glass following the cursor.

In my head, I have to take a screenshot of the screen and display a zoomed and cropped version near the cursor. But how can I take screenshots without the magnifying glass masking the part I want?
I thought about masking the magnifying glass while I take a screenshot and then re-displaying it again, but it seems very shaky to me. How do other tools such as Sip or Kelir do that?
if (mouseCoordinates.x > offset) {
  hidePreview()
  const screenshot = takeScreenshot()
  showPreview(screenshot, mouseCoordinates)
}

I'm trying to do that with Node.js and Electron but I'm guessing platform specific APIs are necessary for that.
This is a matter of design rather than implementation so it could be with any language or platform: I'll adapt accordingly.

A:
In my head, I have to take a screenshot of the screen and display a zoomed and cropped version near the cursor. But how can I take screenshots without the magnifying glass masking the part I want?

Why you want to take screenshot after displaying magnifier? why not take a screenshot before displaying magnifying glass and use it to crop and find pixel value in future, all you need is one and only one screenshot, so take it at first
When user move a thing o blur from your application, you must hide your magnifier, right? so when user focus on your app again, take another screenshot before displaying magnifier, this way screenshot always shows last state of screen

In order to capture screen you can use screencapture command on OSX, install shelljs, exec command and read created screenshot file
var shell = require("shelljs");
shell.exec("screencapture screenshot.png", function(){
});

redpajama_set_name: RedPajamaStackExchange


mirror, you're so ugly today.
Do you think it's okay that you could just ignore me for the entire summer and all of a sudden at 1 am you're thinking about me and telling something completely pointless? That's cool, I don't miss you.
He alreaady ruined your mascara, don't let him ruin your life.
has already broke her trust.
It feels like someone kicked you in the stomach, feels like your heart stopped beating, feels like that dream you know the one when you are falling and you want so desperately to wake up before you hit the ground but its all out of your control, you cant trust anything anymore, no one is who they say they are, your life is changed forever, and the only thing to come out of the whole ugly experience is no one will be able to break your heart like that again.


text:
Mahoney Admits to 'Multiple' Affairs
BRIAN SKOLOFF THE ASSOCIATED PRESS
PALM BEACH GARDENS | U.S. Rep. Tim Mahoney, embroiled in an adultery scandal and a tight race for re-election, admitted Friday to having at least two affairs but insisted he broke no laws and will not resign.
The first-term Democrat conceded that one of the affairs began as he was running on a family values platform to replace Mark Foley, a Republican who resigned amid revelations that he sent lurid Internet messages to male pages who had worked on Capitol Hill as teenagers.
Mahoney, 52, apologized to his wife, his daughter and his constituents, even as he maintained he hadn't been hypocritical.
"I can understand why people would feel that way and for those people, all I can say is, 'I'm sorry I let you down,'<0x200A>" Mahoney said in his first set of interviews since news broke this week that he had a sexual relationship with Patricia Allen, 50, whom he met while campaigning in 2006.
Allen went to work for Mahoney's congressional office, then his campaign. Mahoney said she was fired for performance issues, not because of the affair.
Allen threatened to sue Mahoney for sexual harassment, and they reached a settlement to avoid a public airing. Her payout came from Mahoney's personal accounts, not from campaign funds or federal dollars, he said.
Mahoney also acknowledged he had an affair with a high-ranking Martin County official in his district about the time he was lobbying the Federal Emergency Management Agency to give the county a $3.4 million hurricane clean-up reimbursement. The funds were awarded last year.
He insisted, however, that he did nothing more for Martin County than he did for others in his district.
Mahoney confessed to "multiple" other affairs, though he wouldn't say how many. "You're asking me over a lifetime? I'm just saying I've been unfaithful and I'm sorry for that," he said.
The multimillionaire venture capitalist maintained a distinction between his behavior in office and Foley's, though he wouldn't specify. "With respect to the former congressman, I think that his situation is different from my situation," Mahoney said. "I don't want anybody to misinterpret that as me saying that somehow I'm more proud or whatever. I'm not saying that at all."
Foley was cleared of criminal wrongdoing and left Congress to go into real estate.

redpajama_set_name: RedPajamaCommonCrawl


text:
Business Consumers Health National Trials
Attorneys Set to Pick Jurors in Massive Opioid Trial
October 15, 2019 October 16, 2019 JEFF D. GORMAN
jury, nuisance, Ohio, opioids, pharmaceuticals
CLEVELAND (CN) – Jury selection will begin Wednesday in a major bellwether trial testing the first of thousands of claims filed by local governments against pharmaceutical companies over the nation's opioid epidemic.
Oxycodone pills are displayed in New York in August 2018. (AP Photo/Mark Lennihan, File)
U.S. District Judge Dan Polster, who is overseeing the multidistrict litigation based in the Northern District of Ohio, made the announcement while setting ground rules at a pretrial hearing Tuesday.
The trial, set to kick off next Monday, will test Summit and Cuyahoga counties' nuisance claims against drug manufacturers and distributors. They are just two of more than 2,000 cases that Polster is overseeing.
The judge said he would have "a wide strike zone" for each side on what the federal government did and did not do regarding the opioid crisis.
"This is essential to the narrative," he said at the hearing.
Polster said he would not allow testimony about how much attorneys are being paid and how they travel, but said those questions will be "fair game" in regard to expert witnesses.
The judge also denied the counties' objection to testimony about the defendant companies' philanthropy as overbroad.
Evidence will not be allowed regarding how the trial's result would harm the pharmaceutical industry or its ability to develop new drugs, Polster said.
"Individual witnesses will not be allowed to testify about their personal feelings about who is responsible for the opioid crisis," he added.
The judge also said that Supreme Court precedent does not require the defendants to stop selling their products, "so nobody can argue that they should have."
Opening statements are set to be delivered Monday, with testimony beginning the next day. Each side will have 100 hours to present its case.
A special master's report has estimated that the trial will last nine weeks, or until the middle of December. The trial will not be in session on Oct. 25 and will also take holiday breaks on Nov. 11 and Nov. 27 to 29.
Polster ordered the participants in the trial to keep the proceedings to themselves.
"There will be no discussion by attorneys, parties and witnesses about what has happened in the courtroom," he said.
The judge also expressed his disappointment that the parties had not agreed on jury instructions with less than a week to go before the trial begins.
"I am working on some preliminary jury instructions," Polster said. "I need to tell the jurors something about what they will be doing."
The plaintiffs are the first municipalities to bring their cases to trial, among over 2,000 other U.S. cities and counties that have filed suit.
They are pursuing claims of civil conspiracy and public nuisance. The two Ohio counties also claim opioid marketers and supply-chain operators violated the Racketeer Influenced and Corrupt Organizations, or RICO, Act, as well as the Ohio Corrupt Practices Act.
The seven defendants are Walgreen, Cardinal Health Inc., McKesson Corp., AmeriSource Bergen Corp, Insys Therapeutics Inc., Henry Schein Inc. and Actavis LLC.
Ten other defendants, including Walmart and Rite Aid, have been severed from this trial and are scheduled to participate in future trials.
Johnson & Johnson, Endo, Mallinckrodt and Allergen have settled with Cuyahoga and Summit counties. These agreements will send $55 million to the counties to battle the opioid crisis.
OxyContin manufacturer Purdue Pharma has also reached a tentative settlement of $10 billion to $12 billion to resolve thousands of claims from cities, counties and tribes across the country. The company would declare bankruptcy under the plan.
So far, one state has gone to trial over the opioid epidemic. In August, a judge awarded Oklahoma $572 million in damages after finding the state successfully proved Johnson & Johnson created a public nuisance by aggressively pushing the drugs to doctors.
Brian Grosh contributed to this report.
← Justices Tackle Bid to Invalidate Puerto Rican Oversight Board
With $200 Cap, Warren Tells Big-Dollar Donors to Sniff Elsewhere →


text:
Dramatic video shows California transit worker saving man from oncoming train
community » Discussions » Category » News & Politics » Discussion » Dramatic video shows California transit worker saving man from oncoming train
Via: freefaller • 2 months ago • 6 comments
Newly released video shows a transit worker in Oakland, California, pull a man out of the path of an oncoming train on Sunday — and without a moment to spare.
John O'Connor, a former train operator who was promoted to a transportation supervisor with the Bay Area Rapid Transit (BART), was on the platform at about 5:20 p.m. at the RingCentral Coliseum station, directing crowds leaving a Raiders football game.
It was at that time an intoxicated man accidentally misstepped and fell onto the trackway while a train was approaching, the transit agency said in a statement Monday.
O'Connor yelled at the man to get back onto the platform. When the man did not move quickly enough, and as a train approached, O'Connor grabbed him by his shoulders and pulled him up to safety, the agency said.
BART hailed O'Connor, who has been with the agency for more than 20 years, as a "humble hero" in a tweet Monday accompanied by platform video of what it described as an "amazing" rescue.
Tony Badilla, a rider who was on the platform and witnessed the dramatic rescue, shared a video on Twitter of O'Connor and the man embracing afterward . That video had been viewed more than 52,000 times as of early Monday afternoon.
BART said that as a former train operator, O'Connor "understands the trauma an operator experiences when going through a close call like this."
"He and other frontline employees are trained to quickly act and respond to keep riders safe," the agency said.
1 seeder Freefaller 2 months ago
Holy crap that was close. Guy was very lucky someone was close enough to save his ass
2 Kavika 2 months ago
Damn that guy was saved with less than a second before he was to meet his maker.
3 1stwarrior 2 months ago
Rode through that station many a time when stationed in San Fran and it was always crowded.
Damn lucky dude - fer shere.
4 Paula Bartholomew 2 months ago
We could use more heroes like him.
5 TᵢG 2 months ago
That train was a split second from taking that guy out. What amazing reaction by that supervisor (and hero).
I know one thing I'm never wandering around a subway station falling over drunk.


TNT took the new 34′ twin outboard MTI 340X out for a sea-trial with a prospective client this week.
The 340X is a fast and great handling boat when out on open waters, and is very maneuverable around the docks. We had the chance to put a few customers in the boat so they could get feel first–hand. This high performance boat is a new model from Marine Technology Inc. TNT, who is an MTI Race & Pleasure Boat Dealer, sells a lot of new and pre–owned MTI's, and is excited to see the newest open cockpit pleasure boat. Check out the new MTI 340X.


Located on the San Pedro Breakwater at the western edge of the Los Angeles Harbor Main Channel, the Los Angeles Harbor Lighthouse has a distinctive white and black finish and a flashing green beam (with horn during fog) that flashes every 15 seconds 73 feet above the water.
The two-mile-long San Pedro Breakwater was completed in 1910, and the Los Angeles Harbor Light was first put into service on its eastern end in 1913. The lighthouse originally contained a first-order Fresnel lens and is constructed of brick, stone and steel in a white and black finish.
The United States Coast Guard automated the light in 1975.
The Main Channel for Los Angeles Harbor is border on the east by the San Pedro Breakwater, and on the east by Middle Breakwater. Water depths are around 80 feet in most places. As Los Angeles is an extremely busy commercial harbor, a close watch for large freighter vessels, tugs and barge tows is always recommended.
The lighthouse is unfortunately not open for tours due to its remote location.
No reviews yet! Be the first to write a review of Los Angeles Harbor Lighthouse.


text:
Solstaden är en skönlitterär roman av Tove Jansson, hennes tredje vuxenbok, men den första romanen.

Boken utkom 1974 och skildrar gamla människor på ett pensionat för åldringar i USA. Boken blev en rejäl scenförändring vad gäller Janssons skildringar: från den finska skärgården till Florida i USA. Boken trycktes i stor upplaga (56000 exemplar), men väckte ett blandat mottagande bland recensenterna.

Även denna bok hade börjat i novellform, precis som Bildhuggarens dotter, men växte till en roman.

Referenser

Finland i skönlitteratur
Svenskspråkig skönlitteratur
Lesbisk litteratur
Skönlitteratur 1974
Verk av Tove Jansson

redpajama_set_name: RedPajamaWikipedia


text:
Weekly Comic
WUMD Top Charts
Tag: James Mellen
Why Foreign Policy questions have no place in the Presidential Debate
By James Mellen The South Carolina presidential Debate aired the night before I am writing this, this debate was nearly unwatchable, it devolved into a presidential screaming match. One feature this debate had that has stuck with me is the emphasis on foreign policy questions, questions ranging from whether or not Xi Xingping is a dictator, to the Syrian Civil War. There was a separate … Continue reading Why Foreign Policy questions have no place in the Presidential Debate
The Torch April 14, 2020 Leave a comment
The Mechanical Economy Is a Socialist Economy
By James Mellen In a world that is becoming increasingly posthuman, the automation of production is going to decimate the workforce for everyday people. I believe that the implication of automation will bring the Liberal right to property ownership to its logical conclusion, and incentivise the revolution of the Proletariat. Any and all rights have logical conclusions in which they lose their validity, while we are given … Continue reading The Mechanical Economy Is a Socialist Economy
Bernie Bros
By James Mellen At this point in the 2020 election cycle every candidate has undergone some level of scandal or scrutiny, however there is only one candidate getting criticized for his supporters. Since 2016 there has been a relentless series of attacks on Bernie Sanders because of his online supporters, also known as "Bernie Bros". Now I dislike the Bernie Bro moniker, Bernie's coalition of … Continue reading Bernie Bros
Opinions & Editorials, Other
The Ending of Bojack Horseman: "Why's the main character a horse?"
By James Mellen American cartoon "Bojack Horseman" came to an end recently, for many viewers this came with a variety of emotions, but for this viewer, it only came along with opinions and editorials. Bojack Horseman is kind of like a documentary about Bob Saget 20 years after Full House, if Bob Saget was an alcoholic horse who abused women. This article is kind of like me ranting about the ending of … Continue reading The Ending of Bojack Horseman: "Why's the main character a horse?"
Tales From The Sevice Industry
By James Mellen This weekend I went out to a restaurant with my girlfriend, and we ordered a dessert which took about 25 minutes to come out. The waitress apologized about 10 times and took the dessert off of our bill. However, this made me extremely sad, because I know that this poor waitress was concerned that she wasn't going to get paid because … Continue reading Tales From The Sevice Industry
Why is the DNC so Cringy?
By Opinion and Editorial editor James Mellen If you have been following this DNC primary cycle like have, then your brain has most likely been completely destroyed from the utter pointlessness of it all. There are 15 identical candidates, then there's Bernie Sanders, Tulsi Gabbard, Marianne Williamson, and Andrew Yang. This is not to say that any of those four candidates are good, it is … Continue reading Why is the DNC so Cringy?
The Torch December 17, 2019 December 17, 2019 Leave a comment
On conspiracies,
By Opinion & Editorial Editor James Mellen My dad believes that if you read every seventh letter of the book of Revelations in the Bible, it actually predicts the holocaust. If you think that sounds insane, that's because it is. However, growing up in such an environment has made me naturally more curious about conspiracy theories than other people. Currently, I suffer from a terminal … Continue reading On conspiracies,
C.O.U.R.E. protests Student Government Association
By Arts & Entertainment Editor Sawyer Pollitt and Opinion & Editorial Editor James Mellen On November 25, UMass Dartmouth's Student Government Association (SGA) held its weekly public senate meeting in Library room 205. However, this meeting was anything but normal. After the meeting was called to order by SGA President Kate Egan (History/Physics, 2021), a group of student protesters entered the chamber and over … Continue reading C.O.U.R.E. protests Student Government Association
The Torch December 14, 2019 Leave a comment
Rick and Morty season 4: Not the worst
By Opinion & Editorial Editor James Mellen This is my Rick and Morty Season 4 premiere review. This episode was titled "Edge of ToMorty: (it's like tomorrow if tomorrow was Morty) Rick Die Repeat".      The episode revolves around Rick and Morty going to a foreign planet in an attempt to farm death crystals. Death crystals, for those unaware, are rocks that allow Morty to … Continue reading Rick and Morty season 4: Not the worst
Ed Markey, host the climate debate at Umass Dartmouth!
By Opinion & Editorial Editor James Mellen On September 21st 2019 representative of Massachusetts 4th congressional districts Joe Kennedy announced his decision to run for senate against incumbent Massachusetts senator Ed Markey. Only minutes after Kennedy's announcement of his senate race, Ed Markey challenged Kennedy to a climate debate, Kennedy has yet to respond to this challenge. Not only should Kennedy and Markey have a … Continue reading Ed Markey, host the climate debate at Umass Dartmouth!
The Torch November 8, 2019 Leave a comment


text:
Q: Python Pandas: how to update a csv file from another csv file We have two CSV files: a.csv and b.csv.
a.csv has tree columns: label, item1, item2. b.csv has two columns: item1, item2. If item1 and item2 in a.csv also occurr in b.csv, that's a.csv and b.csv have same item1 and item2, the value of label in a.csv should be 1 instead. How to use pandas to deal?

For example:
a.csv:
label    item1     item2
 0         123       35
 0         342       721
 0         876       243

b.csv:
item1     item2
 12        35
 32        721
 876       243

result.csv:
label    item1     item2
 0         123       35
 0         342       721
 1         876       243

I tried this, but it doesn't work:
import pandas as pd

df1 = pd.read_csv("~/train_dataset.csv", names=['label', 'user_id', 'item_id', 'behavior_type', 'user_geohash', 'item_category', 'time','sales'], parse_dates=True)
df2 = pd.read_csv(~/train_user.csv", names=['user_id', 'item_id', 'behavior_type', 'user_geohash', 'item_category', 'time', 'sales'], parse_dates=True)
df1.loc[(df1['user_id'] == df2['user_id'])& (df1['item_id'] == df2['item_id']), 'label'] = 1

A: You could use loc and a boolean condition to mask your df (here representing a.csv) and set the label to 1 if that condition is met:
In [18]:

df.loc[(df['item1'] == df1['item1'])& (df['item2'] == df1['item2']), 'label'] = 1
df
Out[18]:
   label  item1  item2
0      0    123     35
1      0    342    721
2      1    876    243

If you want to set all row values you could use np.where:
In [19]:

np.where((df['item1'] == df1['item1'])& (df['item2'] == df1['item2']), 1, 0)
Out[19]:
array([0, 0, 1])
In [20]:

df['label'] = np.where((df['item1'] == df1['item1'])& (df['item2'] == df1['item2']), 1, 0)
df
Out[20]:
   label  item1  item2
0      0    123     35
1      0    342    721
2      1    876    243


text:
Gillian Anderson turned down Downton Abbey role
March 16, 2012 Broadcasting ATV Today
X Files actress Gillian Anderson has revealed she turned down a role on Julian Fellowes hit period drama Downton Abbey.
During an interview with TV Guide magazine Anderson revealed that she had been offered a role on ITV's Downton Abbey but turned it down. Anderson was being interviewed about her role of Miss Havisham in Great Expectations which aired in the UK on BBC One over Christmas and was a critical and ratings hit. When asked about the new adaptation of Great Expectations the actress replied 'Hopefully people will embrace it with the same love that flowed toward Downton Abbey,…I was actually offered a part in Downton."
It has since been revealed that Anderson was offered the role of Countess Cora Crawley which went to Elizabeth McGovern. Downton Abbey has been a huge hit on both sides of the Atlantic with the second series drawing huge ratings to PSB in America where it airs. The second series was a similar success on ITV1 in the UK though there were some accusations about "silly plots".
A third series of Downton is currently in production with Shirley MacLaine, Matt Milne, Cara Theobald and Lucille Sharp joining the cast. It was recently reported that producers had signed up cast members to a fourth and fifth season – should ITV commission – but several stars such as Maggie Smith, Dan Stevens and Siobhan Finneran had not – at that point – signed new contracts.
Gillian Anderson is best known for playing Dana Scully on Fox's cult drama series The X Files between 1993 and 2002 reprising her role for two feature films – fans are hopeful of further entries in the film franchise. Since the television finale of the X Files the actress has appeared in a number of period pieces on British television such as Any Human Heart, Bleak House and The Crimson Petal and the White.
Gillian Anderson reveals lesbian romance
Dame Maggie Smith
Elisabeth McGovern
X Files
ATV Featured
The Only Way Is Essex: Two stars set to leave
STV Player joins Amazon Fire TV line up
Syfy Close To Ordering New Ron Moore Series
Elstree Studios celebrate production successes
Dame Elizabeth Taylor dies aged 79
X-Files star to appear in Once Upon a Time


Karina Carver, aged 56, who works at Annabel House Care Centre, is taking on the challenge on April 20 to raise money for a charity which supported her schoolfriend Wendy Harris who died from multiple sclerosis in August last year.
Karina, who went to Nailsea School with Wendy, is also hoping to raise awarness of MS.
She said: "I hope many friends will feel able to contribute generously as all funds raised are used to help support people with MS and their families.
"I am paying the £270 for the jump myself and therefore every penny raised will be donated to the MS Society.


text:
US needs better human resources directors, not foreign workers | BizPac Review
US needs better human resources directors, not foreign workers
May 17, 2014 | Jonathon Moseley | Print Article
Problems in hiring high-tech workers at big corporations are driving the push for amnesty in the immigration reform debate.
Big businesses say they need to import more foreign workers trained in science, technology, engineering and mathematics because they can't find U.S. citizens and legal residents to fill the jobs. Democrats will not vote for importing more workers unless they get amnesty for the 11 million to 20 million low-skill undocumented workers. So big donors and political action committees like the U.S. Chamber of Commerce are lighting fires under Republicans to pass immigration reform.
But maybe U.S. companies need to hire qualified human resources directors who know how to find the estimated 11.4 million U.S. citizens trained in high-tech fields who are not working in those jobs now. Is the problem a recruitment failure?
In a 2013 article, the Institute of Electrical and Electronics Engineers suggested the United States has all the skilled workers it needs.
"[T]here are more STEM workers than suitable jobs. One study found, for example, that wages for U.S. workers in computer and math fields have largely stagnated since 2000," institute officials wrote in an article published in its Spectrum journal. "Even as the Great Recession slowly recedes, STEM workers at every stage of the career pipeline, from freshly minted grads to mid- and late-career Ph.D.s, still struggle to find employment as many companies, including Boeing, IBM, and Symantec, continue to lay off thousands of STEM workers."
The Washington Post made a similar assessment the same year, saying the United States has "more than a sufficient supply of workers available to work in STEM occupations."
The Post article quoted study by the Economic Policy Institute that found many computer science graduates reporting that they couldn't find jobs in their computer disciplines.
"About 15 million U.S. residents hold at least a bachelor's degree in a STEM discipline, but three-fourths of them –11.4 million — work outside of STEM," the Institute of Electrical and Electronics Engineers reported.
Perhaps the institute should set up a nationwide job bank to help employers find the high-tech professionals companies say don't exist.
Jonathon Moseley GET AUTHOR RSS FEED
Jonathon Moseley is a Board member of the Northern Virginia Tea Party, and Executive Director of American Border Control. He served as Executive Director of the Legal Affairs Council.
The opinions expressed by our contributors do not necessarily reflect the views of BizPac Review.
Latest posts by Jonathon Moseley (see all)
US needs better human resources directors, not foreign workers - May 17, 2014
Devious Karl Rove sets trap to catch Hillary's lies - May 16, 2014
Why does federal government own 84% of Nevada and what can Reid do to give it back? - April 16, 2014