Lon is a data standard used largely by ETC Architectural products to carry data and power to architectural outstations such as button stations, occupancy sensors and daylight sensors.
Lon is assigned different names depending on the system it is being used with.
It is important to note that although the cabling and physical layer (voltage, topology, etc.) are the same for all of these systems, the data carried is not the same - for example, connecting a Smartlink station to a Paradigm processor will not work!
Lon is a topology free cabling system, meaning that the cable can be split, starred, daisy chained or any combination of these. The only restriction is that the total length of cabling must not exceed 1640' (500m) without use of a repeater.
ETC recommends the use of Belden 8471 cable for Lon systems. It is very important to note that DMX cable, Cat5 cable and other types will not work.


Fitter. Funnier. Richer. Better coiffed. Less slovenly.
Like needles from an old Christmas tree, the pages of the calendar fall decidedly away. January morphs into May, May becomes December and, suddenly, 8,760 hours have passed. How can it be that we travel across so many moments and remain so unchanged in the most essential ways? Angry about things that have always made us angry; sad about things that have always made us sad; afraid of things that have always made us afraid.
If you're in the market for a new type of New Year's resolution, then I have just the thing for you: Start talking about how ugly you are.
Go on. Do it. Show your ugly.
As a neuropsychologist, I have watched patient after patient come into treatment. To our mental health advisers, we pour out our secret selves. With hushed tones, in the anonymous offices of people whose last names we can't quite pronounce, we let out a roaring darkness that we think belongs to us alone. Like clockwork, I watch as each new patient struggles to breathe against what he believes is his singular humiliation and aloneness.
There is basic math to this process. People come to treatment to talk about this thing and that thing. About this job and that person. About this failing and that regret. These are the known variables, but I'm less interested in those. Instead, I'm most interested in solving for X, where X is always some core belief about their own ugliness.
It's ironic that shame would be so brutally isolating when the dark comedy is that everyone's hiding some ugly goat in their closet. To varying degrees and for various reasons, we think my thing—my childhood, my divorce, my singledom, my infertility, my lack of success—is so intensely ugly that it must be hidden from the rest of the tribe. And yet there we all are, united in the Universal Ugly.
These beliefs about "ugliness" are frightening. A fundamental way of coping is to avoid things that frighten us. Oftentimes, avoidance can be protective. It keeps us out of dark allies and burning houses. However, when avoidance becomes as perennial as the spring, it can stifle healthy change that sticks. Avoidance is a powerful beacon across our lives. It is its own type of guide, providing us with a route to unexamined parts of ourselves. It is only in going to the places that we have never been that we can see the things we never saw.
I have found that, at the core of our fear, anxiety, and anguish, is avoidance. Avoidance is a difficult behavior to change because we are wired, most fundamentally, to stay away from what we perceive to be dangerous. But thinking well about avoidance and, subsequently, figuring out how to safely approach things we have historically avoided can deliver profound changes to our lives. Therefore, in the next article in this series, I will describe more about the relationship between pain and avoidance. Specifically, I'll address the brain-behavior-avoidance relationship. Finally, I'll describe what you can do about it—in other words, how you can turn your avoidance behaviors into approach behaviors to change your life in meaningful and sustainable ways.
The BIG Ugly - AND PROUD!
This really made me smile. I LOVED being Ugly... for decades I lived in the sweet embrace of ugliness. Big ugly beard, looked as unprofessional as I could to detour all encounters with narcissist.
I still showered people. It was just a more comfortable lifestyle. Was able to be myself and work professionally with a level headed list of clients. In fact my creative career grew to me retiring at 37.
It was great meeting with Disney and Warner Brothers executives for the first times after years of contract work for their companies variant online projects. Today some of those same executives are my best friends because of who I am and why I look the way I do. UGLY and Proud! The story is a great lesson in value over appearance that to this day is still told at many orientation meetings. Even left my front tooth out after loosing it.
But today...big bearded ugly nerds are in.
I am now a stereo-type "hipster" (is that the right term?). Good thing I got the memo ahead of the curve and now don't have to interact with anyone :) Just farm hot peppers and make hot sauce with my family.
Embrace the Ugly people (or the pretty if that is your schtick) ...and ALWAYS be a good person. Be honest to a fault and you will quickly learn who you can and cannot work with and why you can be great at anything regardless of your reflection.
The Big Ugly method of living works!
Yes, but -- as with nerdiness/geekiness -- ugly is something that works great if you adopt it as an attitude, but doesn't work if you actually already are.


text:
#73 Webster Hall "The Devil's Playhouse"
Webster Hall, as beautifully worn and rough-hewn as it was during its heyday in the 1910s and 20s, disguises a very surprising past, a significant venue in the history of the labor movement, Greenwich Village bohemia, gay and lesbian life, and pop and rock music. Its ballroom has hosted the likes of Emma Goldman, Marcel Duchamp, Jefferson Airplane, Robert F Kennedy and Madonna. Listen in to find out how it got it's reputation as 'the devil's playhouse'.
PODCAST REWIND This was originally released on January 3, 2009
BONUS MATERIAL! Almost ten minutes of newly recorded material, adding a couple more interesting details from Webster Hall's unique history.
Visit www.boweryboyshistory.com for other tales of New York City history
Direct download: 73_Webster_Hall_REWIND.m4a

redpajama_set_name: RedPajamaCommonCrawl


Medicad + Sani-CAD - FAUCONNET Ingénierie SA (FISA), BP22, F-10160 AIX EN OTHE. Software Informer.
Medicad + Sani-CAD. The most popular versions of this product among our users are: 1.0 and 1.1. The names of program executable files are medicad.exe, SANI-CAD.EXE. The product will soon be reviewed by our informers.


"Mrs. Bennet, who was also entitled to her prince charming" – really? There is a love affair for Mrs Bennet?
I love what you are saying about this book, Rita. I definitely want to read it.
Good luck in the giveaway Sophia!
It sounds like a lovely variation. I'm looking forward to reading it.
A prince charming for Mrs. Bennett! Things just keep getting more and more interesting!
What a lovely review. I am eagerly anticipating reading this book. I have loved each of Jennifer Joy's previous books.
I must admit to loving your review of this book. I've never read one which stated how touched the author was by the beautifully carted words chosen to portray the hidden messages exchanged between Darcy and Elizabeth.
I'm intrigued and am so looking forward to reading this story. Something tells me it's going to very special.
What a beautiful review. I am very intrigued with the premise and can't wait to find out who Mrs. Bennet's Prince Charming is! I love Ms Joy's ability to weave a different twist into her stories. Thank you!
Wonderful review. I am definitely interested in this variation.
Beautiful review! My favourite line? "Love Never Fails is a story of hope in a better future, of believing that love is worth waiting for and that it will come, sooner or later." So true!! I can't wait to read this book!
It is very good Sónia, I think you would loooove this author. You have to read her books 🙂 Good luck in the giveaway!
This is already on my Wish List. I have enjoyed Jennifer's other books and this review makes for an intriguing tease. Keeping my fingers crossed. I am sure I will enjoy it.
Thank you Sheila! For me, this is one of Jennifer Joy's best books. I hope you like it when you read it, and will look forward to read your opinion 🙂 Good luck in the giveaway!
Please don't enter me in the giveaway, just wanted to pop by to say that I loved your review, Rita and can't wait to read the book. I just won it and it looks like I won a gem! Thanks for writing such a gorgeous story, Jennifer Joy!
I have Jennifer's other novels but not this one. Rita, great review. Looking forward to reading this one a well!
Great review! Besides all the wonderful aspects to the story, you had my wondering about who is Mrs. Bennet's Prince Charming?
The possibility of Mrs. Bennet allowing Elizabeth to marry who she actually wants is something I can't wait to see play out.
Interesting review. You made a couple of comments that stirred my curiosity and made me want to see how they play out in this book. Nice review, and I think I will love the book as well.


text:
Q: Convert an wav audio file encoded as base64 to mp3 I am writing an web application which requests for an .wav audio file from server, and the server returns the file encoded as base64 string. Then I need to download the file. The code is as following
let blob = _base64ToBlob(b64, 'audio/x-wav');
let url = window.URL.createObjectURL(blob);
let a = document.createElement('a');
a.href = url; a.download = 'tag.wav'; a.click();

function _base64ToBlob(base64, type) {
    const bytes = atob(base64), len = bytes.length;
    let buffer = new ArrayBuffer(len);
    let view = new Uint8Array(buffer);
    for(var i=0; i<len; i++) {
        view[i] = bytes.charCodeAt(i) & 0xff;
    }
    return new Blob([buffer], {type: type});
},

My question is can the encoded wav file be converted to mp3 before downloading? Is there any client side JavaScript method to do that.

redpajama_set_name: RedPajamaStackExchange


text:
by Matthew Waterfield · March 26, 2017
With Britain facing a difficult few years in terms of diplomacy, we can find valuable allies among the nations of Eastern Europe.
Mikhail Gorbachev's resignation in 1991 marked the beginning of a new era for the beleaguered nations of Eastern Europe. (Photo: The Gorbachev Foundation)
On 25 December 1991, Mikhail Gorbachev , declaring that the nation he had led for so many years was now non-existent. This historic event was preceded, just ten months earlier, by an event just as important – the dissolution of the Warsaw Pact.
The abolition of the military agreement that had led to the violent crushing of revolutions in Hungary and Poland was mainly symbolic – it hadn't been enforced during the Revolutions of 1989 and many countries had . However, the formal end to an arrangement that had constrained its members for decades allowed the satellite states of Eastern Europe to forge their own paths. And as it happened, their paths lead directly to the West – most importantly Britain.
When one looks at how closely the viewpoints held by the governments of Britain and the A8 nations (which include former Communist countries like Poland and Slovakia) align, it is hard to believe that just thirty years ago they were bitter adversaries, miles apart in terms of ideals and values, and both committed to the ideological destruction of one another.
Nowadays, those countries share Britain's vehement opposition to the actions of President Putin, acting as an important counterweight to the more pro-Russian views of other European powers such as France. Our neighbours in the east, like us, were also much more wary about the effects of the refugee crisis, taking measures to stem the influx of people whilst countries like Germany threw open their doors.
However, it's not just in terms of foreign policy that Britain and Eastern Europe have a lot in common. In the thirty odd years since perestroika began to liberate the shattered economies of the members of the Warsaw Pact, many of those nations have turned into capitalist paradises.
These nations share the British government's vision of an economic model involving low corporation tax and high productivity. Hopefully, this means that their zeal for economic growth will extend to
Having taken all of these factors into consideration, the evidence points to only one conclusion – the nations that comprise Eastern Europe should be amongst our closest friends. However, in the last decade or so, our rhetoric on immigration has alienated our most obvious allies, implying to them that Britons dislike the peoples of Eastern Europe, not simply the detrimental effects of mass migration.
It's no wonder they hold this view. The more sensationalist red-tops have spent years portraying Poles as benefit scroungers, while simultaneously accusing them of 'stealing our jobs'. Meanwhile, certain tabloids have made Romanians out to be bunch of beggars and criminals – after all, outrage sells papers, so what's wrong with fuelling xenophobia to increase circulation?
These constant deleterious portrayals have done more than just hurt the feelings of our European compatriots to the east; they have damaged long-lasting cultural ties between Britain and Eastern Europe.
During World War II, hundreds of thousands of Poles fought for the British Army, in order to defend democracy and pursue the liberation of their homeland from the twin evils of Nazism and Communism. Once the war was over, Britain treated its Polish soldiers contemptuously, with their exclusion from the London Victory Parade being described by one historian as "one of the most shameful acts of the Cold War".
Following the Brexit vote, Poles in the UK once again found themselves targeted, albeit on a vastly lesser scale. Anti-Polish graffiti was And many of these incidents were picked up on by the Polish media, contributing to a belief prevalent in that region right now – that despite their history of fighting alongside one another, Britons still disliked Poles.
A Polish community centre in Hammersmith was the target of xenophobic abuse after the vote to leave the EU. (Photo: getwestlondon)
On a political level, this belief is more dangerous than it may seem at first glance – the President of the European Council, Donald Tusk, is Polish and may be unwilling to support a good Brexit deal for Britain if we spend the next few years demonising his country and portraying its inhabitants as our enemies.
For this reason, alongside many others, it is incumbent upon our government to realise that the nations of of Eastern Europe can be important partners of ours and that we should treat them with the respect such valuable allies deserve. After all, we've relied on them before, so let's hope that they'll come to our aid again.
Matthew Waterfield
Political Correspondent (Conservative) at Filibuster
Matthew Waterfield is a 15-year-old writer from south London, with a long-held interest in current affairs. Currently studying for his GCSEs, he is looking forward to studying economics and history, among other subjects, for his A-Levels. While not a member of any party, he'd vote for the Conservatives if he could, with his views ranging from Thatcherite idealism to Blairite pragmatism. When he's not swamped with homework, Matthew likes playing football as well as watching TV shows like Empire and Revenge.
Latest posts by Matthew Waterfield (see all)
Our Friends to the East - March 26, 2017
A Dummies Guide to Opposing a Demagogue - February 19, 2017
Can the fallen rise again? - December 16, 2016
Our Friends to the East was last modified: March 26th, 2017 by Matthew Waterfield
Tags: DiplomacyEastern EuropeForeign PolicyHistoryPolandRussiaUK Foreign PolicyXenophobia
Next story Great Minds Don't Think Alike
Previous story Is it Grim Up North?


See local events and deals in real time.
Tap, swipe, or zoom to explore where you're at.
Find what to do next.
Be in the know now.
View more details about an upcoming or current event.
See when it starts and ends.
Get directions to the local event.
Find and redeem special offers from local businesses in town.
Tap "Use The Deal" when you are at the local establishment and show the business your screen.
Super easy to use, awesome way to keep your money local and to save a few bucks while you're at it.


Kids Ride on Car & Bike. Stainless Steel T-304 Exhaust System. Vauxhall Astra MK5 VXR 2.0. Mandrel bent and fully TIG welded for strength and durability.
CNC machined flanges for strong, solid support and an accurate fit. Will significantly improve throttle response. Improves power and torque over the entire RPM range. Increases power by up to 15BHP depending on vehicle modifications. Mirror polished all the way through not just the tailpipe.
Actual picture of the item you will receive. Clamp / gaskets included as shown in the picture.
100% brand new in the box Genuine Toyosports. As its using silencer bypass pipes this Pops an. 2.5 " all the way through , tail pipe size : 3" x 5.25. Scilly Isles & Isle of Man. Or Cash On Collection from our West Midlands based warehouse.
All emails and messages will be replied to ASAP during open hours. Get the all latest News, Updates and Special Offers about OUR STORE. Playtime360 is an Internationally recognised leading provider of entertainment products such as Trampolines, escooters aswell as car parts and household items. The item "VAUXHALL ASTRA MK5 2.0 VXR STAINLESS STEEL EXHAUST SYSTEM FROM CAT" is in sale since Monday, July 31, 2017. This item is in the category "Vehicle Parts & Accessories\Car Tuning & Styling\Performance Exhaust\Other Performance Exhausts".
The seller is "playtime360" and is located in Birmingham. This item can be shipped to United Kingdom.


We found 8 hearing aid clinics with 52 reviews	within 32.7 miles of Tallahassee FL. Choose an audiologist or hearing aid specialist from the list below to schedule a hearing test in your area.
"Everyone is nice, professional and very supportive. (read more)"


This was a pretty slow Twitter week for me. The good news? A&W will be opening 12 new stores in the Milwaukee area. I LOVE A&W. See below to find out more.
RT @wausauherald 2/3 of those who died in WI snowmobile crashes were drunk http://tinyurl.com/d8peag - Drinking & driving applies to all vehicles!
RT @MarkKass MkeHamburger wars? - A&W to open 12 Milwaukee locations following Sonic's arrival in the area. http://twurl.nl/8qshto - Yes!!!
YouTube creates a place for academics on thier site http://tinyurl.com/c4e358 - Thanks @Yaybia.
May 13, 2008 - the date of my very first tweet. What did it say? "following Glenn on Twitter." How utterly mundane. The point? The point is no matter who you are we all start out on Twitter (and any social network for that matter) completely clueless.
The good news? I have found the Twitter community to be pretty understanding and more then happy to help. With that in mind I present some of my own Twitter guidelines.
First, in order to be successful you need to know what your purpose is. Why are you Twittering in the first place? So many of us, myself included, jump into Twitter without a game plan. The sooner you figure it out the faster you will be able to gain influence and generate results.
I use Twitter for several reasons. My overall goal is to build and enhance my brand, but apart from that I use Twitter to network and keep up on industry trends.
NOTE: If your goals do not match mine the guidelines you choose to follow may be different and that's okay.
1) Above all else remember, you are a content provider. I believe this point holds true for everyone on Twitter. Whether you're selling shoes or promoting yourself. If the content you're providing doesn't appeal to anyone no one will follow you.
2) Cater to your audience. If you're trying to sell shoes you shouldn't be talking about tech news. Talk about new fashions and your product line. Remember your purpose. As a general rule I tweet about social media, the PR/advertising industry and travel. These are things I'm passionate about, so as I use Twitter to enhance my personal brand I will naturally attract an audience that is looking for these qualities.
3) Do NOT follow everyone. Just because someone follows you does not mean you have to do the same, nor does it mean they have to follow you. This is not Facebook. The people you follow should be those you find interesting and can help further your goals. You can still talk to those you do not follow with @ replies.
4) Join the conversation. I have the most fun on Twitter when I actually communicate with other people. That's what this social networking thing is all about, right? So lend some advice and supply a link. Don't worry if they aren't following you back. If you provide key content and engage others your following will grow organically.
5) Share the love. Now that you're tweeting it's time to give kudos to your fellow tweeters. Did you enjoy that last tweet? Retweet (RT) it! People LOVE being retweeted. It's a great way to give others props and increase your network.
6) Be human. Some may disagree with me, but I think it's perfectly okay (even good!) to let a few "boring" tweets slip out. It proves to the rest of us that there's a real person on the other side of the screen. Two weeks ago I tweeted, "Going home to pack and then off to Wausau for the weekend." Is this very exciting or meaningful? No. But it does give insight to my followers and explains why I may not be responsive during the weekend. However, you should be careful. No one needs a play by play of when you eat, sleep, wake-up and go to the bathroom.
7) Yes, you're on Twitter to promote yourself, but don't overdo it. A lot of times self-promotion seems like a dirty word, it's not. You just have to be careful how you do it. For instance, I typically blog once a week. I would like to more frequently, but that's where I'm at right now. As long as I think my posts are relevant I tweet them, but only once. Never RT yourself. If you blog multiple times a week or have other self-promotional channels try to keep it to a minimum. Only broadcast your very best and most relevant work. We know you're on Twitter, but we don't need it shoved down our throats.
Do you have more Twitter advice? Did I forget anything? Share it in the comments section. Until next time this is @ladyhero signing out.
It has been a busy couple of weeks at work, so here are my last two weeks of Twitter links. See below for lots of cheap travel opportunities and online tracking tools. Enjoy!
Customized newspapers in L.A. http://tinyurl.com/awb8un It might prolong the printed papers lifetime. What do you think?
RT @mashable Cliqset Wants to Unify Your Social Identities http://ping.fm/yiqEx - Has anyone tried it yet?
RT @TravlAndLeisure 11 Money-Saving European Travel Tips: http://tinyurl.com/cxqc3t - For all my friends looking at Euro. vacations.
RT @prblog @themediaisdying not sure if you saw top 10 newspapers likely to fold next? http://tinyurl.com/d25m4s - I hope not!
RT @mashable Your Honor, I Tweeted http://ping.fm/bRZ7p - An interesting problem.
RT @msnbc_travelTake in Madrid with a vacation from $599 http://tinyurl.com/ctyn4l - So tempting!
The PR agency Waggener Edstrom has recently launched a new Twitter tool called Twendz. This tool is incredibly valuable for PR people and anyone else who is in charge of managing a brand. By now we are hopefully all aware that the first step to take before using social media is to listen. But even this first step can be daunting. After all, who has time to sift through hundreds of tweets? This is where Twendz comes in.
After entering your keywords the tool pulls the latest tweets and displays the overall mood be it positive or negative. It's a great way to monitor what people are saying about your company or client. My only complaint is depending on your keywords it can take quite a while to load before you have any tangible results.
You can read more about Twendz on CNET. Go check it out and let me know what you think.
The past couple weeks have been filled with valuable and exciting social media events. Last week was Ragan and PRSA's second annual Social Media Conference for Communicators held in Las Vegas. This week brings the much anticipated South by Southwest* festival and conference for the music, film and interactive industries. The festival is being held in Austin, TX March 13-22 and will be the event I kick myself for not attending all year.
But the point of this post (despite it's title) is not to complain about being stuck in dismal Wisconsin where I am excited by a high of 60 degrees. No, the point is to highlight SXSW's awesome use of social media.
SXSW has truly embraced the third component of the conference - Interactive. It is obvious in the blog posts, hashtags, mobile apps and microsites. Here, I would like to highlight a few of the social media endeavors from SXSW that all communicators can learn from (whether or not they are at the event).
The first is a blog post by one of my favorite bloggers, Rohit Bhargava. On his Influential Marketing Blog he writes "How To Blog, Party, Learn, Promote & Network Like A Rockstar At SXSW 2009." There are many tips in this post that can be used at any large conference or event. One of my favorite nuggets of wisdom is, "Take good notes. In other words, don't write down everything - just the "aha moments" that come from the session. Those are all you'll really need afterwards anyway."
By now creating a hashtag for an event is hardly new, but it is incredibly useful. A hashtag allows event goers to communicate with each other and ask event organizers questions. Since Twitter is all about immediacy event organizers can learn about a problem quickly, and hopefully fix it in time to make sure everyone has a great experience. It's also a good way to keep in touch with media.
Amid many mobile apps making their debut at SXSW, Mashable has dubbed "Foursquare the Breakout Mobile App at SXSW."
"Foursquare, which offers an iPhone app or mobile browser experience, works by letting you tell the app where you are and then lets your friends know where to find you. All you need to do is check-in via SMS (text to 50500) or mobile app.
Using the Foursquare iPhone app, you can automatically check-in and post shouts based on where you are and what you're doing. You can also find your friends, search venues, earn badges, and add friends."
I'm sure many will balk at this app as the end of privacy, but really, what is private anymore? As long as you have nothing to hide Foursquare is the perfect way to connect with friends. Still hesitant? Don't worry, Foursquare allows you to log-in and -out, so you won't have to worry about broadcasting your whereabouts while dodging an annoying friend.
Microsites have also been a large component of SXSW this year. There was a lot of hype built around http://www.secretsxsw.com/; launched shortly before the festival. The site allows festival goers to keep track of all the cool stuff they can get for free! At an event this large you want to make sure you don't miss out on the best swag. It also provides businesses with a great way to reach their target market.
The second microsite I found on Kevin Dugan's Strategic Public Relations blog. As a festival sponsor Pepsi went above and beyond the usual in-kind and/or check writing donation with a marketplace booth. To optimize their sponsorship they created a web site that truly provides festival goers value.
Using Twitter, the web site tracks what SXSW participants are doing by breaking activities into six simple categories. The site also tells participants what's popular, where people are, where parties are and what interesting tweets were "overheard." The site accomplishes all this by collecting data from Twitter.
This is one of my favorite SXSW social media examples. Pepsi nailed it. This is a classic example of a company remembering that it's not all about them. It's all about their customers.
*South by Southwest (SXSW, Inc.) is a private company based in Austin, Texas, dedicated to building and delivering conference and festival events for entertainment and related media industry professionals. Since 1987, SXSW has produced the internationally recognized Music and Media Conference & Festival.
There was a lot of social media and travel news last week. Look below for the new Skittles web site, find a way to make yourself look thinner on Facebook, find the best cities for Shopaholics and a list of the top 10 U.S. cities for vacation value.
RT @sorayad @jonathanlandman A new thing for NYT: Local Websites Bklyn http://bit.ly/PlLuI & NJ http://bit.ly/7ZkaH - I hope it's a success.
RT @VisitChicago Chicago made the list: Top 10 U.S. Cities for vacation value http://bit.ly/TGvCw - Some locations surprised me. Atlanta?
RT @boelterlincoln @Charno @onmilwaukee Downtown Dining Week May 28 - June 4 http://bit.ly/EJf3G - Mark your calendars!
To receive live updates follow me on Twitter @ladyhero.
This weekend I helped do my part to jump start the American economy by visiting the mall. While making a purchase at Victoria's Secret I noticed the extremely personable woman behind the counter dropping a business shaped card into my bag. I assumed it was some kind of coupon and remembered to look for it once I was home.
Below it provided the text number and code to receive more information on their newest bra and a special offer. I was hooked.
Once I sent my message I received a response saying I had been added to the Victoria's Secret mobile list that would provide me with exclusive offers, event coverage and new product information. It also gave me a way to opt-out.
I like this tactic for three reasons.
It's a great way to grow your mobile list. As a Victoria's Secret credit card holder they could have easily added me to their mobile list without my knowledge. Instead, they gave me a chance to opt-in before bombarding me with messages.
They gave me a quick and easy way to opt-out at the beginning. I don't have to call Victoria's Secret, visit a store or even check out their web site to opt-out. They included the option in their very first message to me. This tells me that they value my time and business.
They gave me a good reason to stay. Not only do I want to remain on their mobile list to get the first special offer, but they also made it clear that my loyalty would be rewarded with more offers and information that I will get before the general consumer.
And in case you're wondering what the "Perfect One" looks like. I found it (a bit early) on the Victoria's Secret web site. Enjoy.
I hope everyone had a good weekend. This past week we learned about Australia's contest to hire a travel blogger (for $100,000), how the stimulus bill will effect high speed rail and Peter Shankman's "What's Hot on HARO" site went live.
Submit your greatest creative ideas that got killed by clients at http://killedideas.com/. Winning ideas will be in a book.
RT @skydiver Woohoo! Retweet the hell out of this please! www.whoh.com is live! What's Hot on HARO has a home! :-) iTunes rss in a few days!


The BH65 gasoline demolition hammer is characterized by the highest single impact stroke energy and the best power-to-weight ratio. With 65 joules, it is the most powerful gasoline demolition hammer in its class and only has low hand-arm vibrations in the process. Together with the low-emission Wacker Neuson engine, the BH65 is an efficient and productive companion on any job site.


RIO FERDINAND reckons Louis van Gaal's legacy will live on through the younger players he has given opportunities to.
Manchester United confirmed this evening that the Dutchman had been relieved of his duties.
Van Gaal also issued a statement saying that he was "very disappointed" to not see out the final year of his contract.
But he also said that he enjoyed working with the younger players that he has handed debuts to, and explained that he is looking forward to watching them develop next season.
And Ferdinand appreciates Van Gaal's work with the youth players - but understands the reasons behind the club's decision.
Ferdinand wrote on his Facebook page: "After few hours to let the dust settle.. I thought I would write a few words on Louis Van Gaal.
"His unwavering belief in his methods is something to respect in many ways but it was also part of his undoing too.
"Success (winning the league or CL) is what Manchester United demands & added to that an attacking, quick, aggressive & imaginative style of football.
"Unfortunately LVG failed to bring either of those elements to the club.
"He is huge personality who won an FA cup, keeping up his habit of winning trophies everywhere he has been but his #MUFC legacy will be the introduction of the players from the academy like Rashford, Lingard, Fosu-Mensah etc which WAS in keeping with the history of the club - giving kids an opportunity to play."


text:
Татьянки — деревня в Лотошинском районе Московской области России.

Относится к городскому поселению Лотошино, до реформы 2006 года относилась к Кировскому сельскому округу. Население —  чел. ().

География
Расположена в северной части городского поселения, примерно в 9 км к северо-западу от районного центра — посёлка городского типа Лотошино, на левом берегу реки Руссы, впадающей в Лобь. Соседние населённые пункты — деревни Калицино, Звягино, Пешки, а также Афанасово сельского поселения Микулинское.

Название
На карте Тверской губернии 1850 года  и специальной карте европейской России 1871 года  обозначена как Татьянкина, на карте Генштаба 1982 года — Татьянкино (нежилая).

Постановлением Правительства Российской Федерации № 1408 от 21.12.1999 деревне присвоено нынешнее название — Татьянки.

Исторические сведения
По сведениям 1859 года — деревня Татьянковской волости Старицкого уезда Тверской губернии (Калицынский приход) в 49 верстах от уездного города, на равнине, при реке Русце, с 35 дворами, 3 прудами, 13 колодцами и 238 жителями (116 мужчин, 122 женщины).

В «Списке населённых мест» 1862 года Татьянкино — казённая деревня 2-го стана Старицкого уезда по Волоколамскому и Гжатскому трактам, при реке Рузце, с 34 дворами и 241 жителем (120 мужчин, 121 женщина).

В 1886 году — 43 двора, 261 житель (124 мужчины, 137 женщин), 43 семьи.

В 1915 году насчитывался 41 двор, а деревня относилась к Федосовской волости.

С 1929 года — населённый пункт в составе Лотошинского района Московской области.

Население

Примечания

Населённые пункты Лотошинского района
Населённые пункты Старицкого уезда

redpajama_set_name: RedPajamaWikipedia


text:
Thomas Davenport, né le  à Williamstown, dans le Vermont, et mort le  à Salisbury, était un forgeron et un inventeur américain. Il a vécu à Forest Dale, un village à proximité de la ville de Brandon.

En 1834, Thomas Davenport a conçu le premier moteur électrique utilisable industriellement, ouvrant la voie à l'usage de l'électricité pour propulser les premières voitures.

Le , avec sa femme Emily et son collègue Orange Smalley, Davenport a reçu le premier brevet américain délivré pour une machine électrique.

Notes et références

Annexes

Article connexe
 Voiture électrique

Liens externes

Histoire de l'électricité
Inventeur américain du XIXe siècle
Naissance en juillet 1802
Naissance dans le comté d'Orange (Vermont)
Décès en juillet 1851
Décès à 48 ans
Décès dans le comté d'Addison


This accomplished weekend was Porsche's Rennsport Reunion, a anniversary of the German automaker's outstanding antagonism history. Making its accessible admission afterwards a complete apology was the 1990 March Porsche, an IndyCar agreement originally apprenticed by Teo Fabi. And this attack run gives us a alluring glimpse at the accompaniment of motorsports telemetry about 1990.
Our admired antagonism contributor Marshall Pruett fabricated this video, assuming Porsche branch disciplinarian Patrick Long ripping the March Porsche about WeatherTech Raceway Laguna Seca for its aboriginal drive aback its restoration. The area was fortuitous: Laguna is the aftermost abode the March Porsche competed aback in 1990.
And while Long's drive about the ambit was meant as a automated attack and a way to bed-in the new brakes, the sports car racer couldn't advice giving it a little rip forth the straightaway. Behold the august complete of Porsche's turbo V8 IndyCar.
Perhaps our admired allotment of the accomplished video, though, is watching how technicians cull telemetry abstracts out of the car afterwards its run: A handheld computer that looks added like an old-school business calculator, complete with a printer that spits out a receipt-size allotment of cardboard assuming all the car's basic signs. Compared to today's motorsports telemetry systems, with trailers abounding of dozens of screens announcement hundreds of abstracts points, it feels absolute rudimentary.


text:
Q: Resetting NSMutableArray What is the best a quickest way to reset an NSMutableArray?

A: removeAllObjects

A: removeAllObjects  if assuming by 'reset', you mean you just want to empty the array.

A: -[NSMutableArray removeAllObjects] doesn't work for you?

A: If you are attempting to do what I think you are attempting to do, which is to keep an array empty but not release it, or at least to make it available next time it is needed then firstly you need to set a variable or a property within your class for this variable:
NSMutableArray *mutableArray;

Next add this code before the position at which you will need the empty array:
if (!mutableArray) {
              mutableArray = [[NSMutableArray alloc] init];
       }

Now you can safely call
[mutableArray removeAllObjects];

without fear that the array will become unavailable once empty.


Wow! Peggy Siegal, doyenne of Oscar and all movie events in New York worth being at, survived a bad car crash in the Hamptons this weekend. Page Six reported it this morning. Peggy's beloved Miata is a wreck but somehow our heroine survived without a scratch. Here's her report. Somehow the whole thing is hilarious. And talking to Peggy this morning, she told me the Southampton police– after all was said and done– were terrific.
Yes, I am OK although it was a tad terrifying.
I was jet lagged and blacked out/fell asleep at the wheel of the Miata. I was in front of the Duck Walk Winery in Southampton as the car drifted across the highway into an old wood fence along the famous pumpkin picking patch.
The most interesting thing? The police cars appeared immediately and three female cops jumped out and gave me a thorough quizzing. They thought I was drunk.
I calmly said, "Girls, I haven't had a drink in ten years." They didn't like me calling them "Girls." I should have said "Officers." But it was so nice that the police who did find were girls. Meanwhile, they were sizing up my mother's diamond rings…and could not understand the orange day-glow taffeta ballet length skirt I was wearing.
They asked me where I live. I replied, ""This week I am a house guest at the Koch's." I assumed that would encourage them to be nice to me. Instead, they said, "What is that?" It's the home of philanthropists Julia and David Koch.
Then they made me stand on one leg…I was shaking and freezing and could not, sighting instability due to hip replacements. Next they made me walk in a tight line on the side of the highway as I wobbled in my new Dolce Gabbana jeweled kitten heels.
Finally I passed the breathalizer test….after blowing my brains out five times.
They didn't want to drive me home so I called the house security at 1:00am to please come get me….and two ex-cops kindly collected me in a pick-up truck.
You'd think her grammar and punctuation would be better. But I'm glad she's OK.


L'ORÉAL's consolidated sales up to 30th September 2001 amounted to 10.4 billion euros.
Sales growth, based on consolidated figures, is 10.2% compared with 30th September 2000.
The positive impact of exchange rate fluctuations, which was 1.8% for the first six months, amounted to 0.5% for the first nine months. The growth rate excluding exchange rate fluctuations was thus 9.7 %.
In structural terms, L'ORÉAL benefited from a positive effect of 2.4% due to the consolidation of Matrix, Kiehl's, Carson and Biomedic.
On a like-for-like basis, i.e. with an identical structure and exchange rates, the group's consolidated sales grew by 7.3%.
In the short-term, September sales were affected by the recent tragic events, particularly in the United States. However, unless further unforeseeable events occur, the group remains confident that the impact on its annual results, as estimated on 4th September, should only be marginal.


text:
HBSAAA Leads the Way in Celebrating African American Alumni Impact
Clubs News: A lively discussion Toronto; watching Super Bowl ads in Chicago
by Margie Kelley
Relationships-HBS Clubs
Demographics-Race-African American, Black
Demographics-Diversity
Education-General
News-School News
Philanthropy-HBS Volunteers
Operations-Service Operations
Advertising-General
Clubs News
Harvard Business School is in the midst of a year-long celebration of the 50th anniversary of the founding of the African American Student Union (AASU50), with a wide range of events and activities underway to commemorate and reflect upon the significant impact African Americans have had on the School, the business world, and society at large.
The HBS African-American Alumni Association (HBSAAA) has partnered with the AASU and the HBS Leadership Initiative to produce five core initiatives for AASU50: a research agenda that addresses the career pathways and perspectives of black alumni; an academic symposium in March 2018; a Baker Library exhibit focused on the history of African Americans at HBS and a permanent HBS African American archive at Baker Library; a documentary film featuring prominent students, alumni and faculty; and an alumni and student conference on black leadership in April. Dozens of related events for prospective and current students as well as alumni have also been underway nationwide since last July.
Ken Powell (MBA 1974)
In addition, the HBSAAA is spearheading an extension of its W50 Initiative, which celebrates the contributions of women at HBS, with a series of online biographies of 50 influential African American alumnae. Continuing an annual tradition, HBSAAA and AASU will recognize two distinguished alumni/ae for professional achievement and civic commitment, respectively, at the AASU50 Conference.
Behind it all, from a pool of nearly 100 alumni volunteers, many have been working tirelessly on the various programs, projects, and events, according to HBSAAA president Ken Powell (MBA 1974).
"This celebration has given us a tremendous opportunity for alumni to take the lead," says Powell. "They're making wonderful things happen with excellent execution. It's been exciting to have to so many people getting involved."
In addition to working on the primary initiatives of the AASU50, Powell says, alumni have been producing related content for global webinars, HBX, and live-streaming events; creating an AASU Past Presidents portrait project; encouraging current and potential HBS students to participate; and engaging HBS faculty members with alumni in local communities across the country.
"Alumni have been a big part of this celebration," says Taran Swan (MBA 1991), the project director for AASU50. "We held alumni brainstorming sessions to help us envision the scope of the celebrations, and the HBSAAA has worked with clubs across the country to sponsor alumni events related to the central theme of the AASU50 and to encourage alumni to re-engage with HBS.
Swan has been working closely with Powell and faculty chairs Tony Mayo, Thomas S. Murphy Senior Lecturer of Business Administration and director of the Leadership Initiative, and Linda Hill, Wallace Brett Donham Professor of Business Administration and faculty chair of the Leadership Initiative, to coordinate the multi-faceted AASU50 agenda. To date, the AASU50 activities have already featured a series of fireside chats about black leadership, a series of case nights for current HBS students focused on the challenges and successes of African American business leaders, and regional alumni case discussions and book talks organized by the HBSAAA and hosted by alumni clubs in San Francisco, Chicago, Dallas, and New York.
These events are aimed at engaging the entire HBS African American community—past, present, and future—in the AASU50 celebrations and in reconnecting with each other and with the School and HBSAAA.
The varied and substantial content of this year-long celebration speaks to the dedication of the HBS alumni, students, and faculty working to bring it to fruition, says Powell.
"These will be our new leaders going forward," he says. "The AASU50 can lead us to new sustainable initiatives for the future of the HBSAAA. This is a rallying point. We've got so many energized, committed alumni who care about the association, the school and the community. We see them becoming more active beyond HBS, and having a much larger impact on our community and on society at large. My hope is that alumni will carry this spirit forward for the next 50 years."
For more information, visit the AASU50 webpage.
A Lively Discussion in Toronto
The HBS Club of Toronto partnered with the Young Presidents Organization (Maple Leaf Chapter) last month to present a dinner and case discussion event featuring HBS Baker Foundation Professor Leonard A. Schlesinger.
Approximately 115 people attended the sold-out networking night, where Schlesinger presented a case on Rent the Runway, an online designer dress rental business cofounded by HBS alumnae Jennifer Hyman (MBA 2009) and Jennifer Carter Fleiss (MBA 2009), before talking about great leadership and his new book, What Great Service Leaders Know and Do. "Both the lecture portion and the case discussion were very well-received," says club president Joseph Lo (GMP 3, 2007) "The main debate, as directed by Len, was really about whether the founder should launch in 100 percent with their newfound investor money, or sit back and tinker and refine further. That created a lively debate, particularly between guests in the tech sector and those representing more traditional industries."
This is the second year that the Toronto club has partnered with the YPO to run the event, where the chance to connect with HBS faculty and content has made it a sell-out each time.
Chicago Club Finds Lessons in Super Bowl Ad Review
What's better than Monday-morning quarterbacking the Super Bowl? Reviewing the commercials, of course.
"Even if your team isn't in the game, many people tend to watch it for the commercials," says Steve Schaumberger (MBA 1988), president of the HBS Club of Chicago, which hosted its popular annual Super Bowl Ad Review breakfast discussion just days after the game. "It's a lot of fun, but also educational, informative, and interactive. We look forward to the chance to talk about why some ads work or why some fail, and how powerful or funny they can be."
More than 50 alumni and their guests attended the review, presented by Tim Calkins (MBA 1991), clinical professor of marketing at Northwestern University's Kellogg School of Management.
"We've been doing this review with the HBS Club of Chicago for over a decade," says Calkins. "It's such a great opportunity to get business-minded people together and talk about these ads from a business perspective."
At $5 million per 30-second spot and reaching more than 100 million viewers, Calkins says, the Super Bowl ad game is big business, and therefore very instructive for the 70 MBA students in his marketing classes, who review and grade the ads.
"An ad need not be entertaining to be effective," he explains, "but it does need these six things: attention, distinction, positioning, linkage, amplification, and net equity.
"Its likeability doesn't matter if these things aren't in place," adds Calkins, who also serves as a co-academic director of the Kellogg on Branding Executive Education program.
Behind every Super Bowl ad is an intriguing business story, Calkins adds. "Creative vision is part of it, but at the core, these ads are a very strategic exercise. They reveal what's happening competitively in an industry."
So how did the ads fare, according to the Kellogg students? Of the 39 non-network advertisers reviewed, top performers were Amazon Alexa, which featured several celebrities substituting for Alexa after she lost her voice, and Tide, which offered multiple spots featuring actor David Harbour seemingly appearing in other ads, then pointing to clean clothes and calling it "a Tide ad." PepsiCo, Wendy's, and Avocados from Mexico also ranked at the top.
The bottom-ranked ads, says Calkins, came from Squarespace, for its lack of linkage to its product's benefits and "general head-scratching weirdness," and T-Mobile, for an ad featuring adorable babies with no solid linkage to its product and services.
And what were Calkins' favorite ads?
"I liked Tide, for its ingenuity, and Avocados from Mexico, because it was classic, engaging, and got your attention."
Ken Powell
Class of MBA 1974, Section C
✉ Send a Message
Taran Swan
Class of MBA 1991, Section D
Jenn Hyman
Class of MBA 2009, Section I
follow @Jenn_RTR
Jenny Carter Fleiss
Joseph Lo
Class of GMP 3
follow @josephjlo
Steven Schaumberger
Class of MBA 1988, Section E
Tim Calkins
follow @TimothyCalkins
Linda Hill
Wallace Brett Donham Professor of Business Administration
Anthony Mayo
Thomas S. Murphy Senior Lecturer of Business Administration
Alumni in France honor self-made entrepreneurs; Shih talks trade in Buffalo
Re: Bing Sherrill (MBA 1962); John Scannell (MBA 1999); Alex Mannai (MBA 2015)
HBS Career Coaches Hit the Road to Serve Alumni
Re: Paul Engle (MBA 1974); Etienne Deffarges (MBA 1985); Mark Belinsky (MBA 1982)
Startup Talk in Chicago
Re: Lynda Applegate


text:
Home / Opinion / Letters to the editor: Judges must not give in to political pressure
Letters to the editor: Judges must not give in to political pressure
Readers write in from Calcutta, Nadia, Kollam
The Telegraph | Published 27.06.21, 01:31 AM
Sir — When the second wave struck India, and newspapers were full of reports and images of death and shortages of medicines and oxygen, people finally showed the good sense of following protocols wearing, masks and so on. But such sense seems to have been forgotten as soon as the second wave eased slightly. This is why scientists have said that the third wave is no longer just a possibility but inevitable. Given India's poor vaccination record, if people do not mend their ways soon, more people will lose their lives. The government should boost both vaccination and awareness drives.
Pinaki Bhattacharjee,
Sir — The request by the chief minister's lawyer to the judge hearing the Nandigram poll case to recuse himself is rather confusing ("'Caesar's wife' reminder to HC judge", June 25). Justice Kausik Chanda, who is hearing this case, has been accused by the Trinamul Congress of having close ties with the Bharatiya Janata party. Some TMC leaders have tweeted photographs of Chanda sharing a stage with the state BJP president, Dilip Ghosh. In spite of such 'evidence', this seems like a case of unnecessary interference with the judicial process. Judges are oath-bound under the Constitution to be fair and impartial; any link that they shared with any political party before becoming a judge is immaterial.
If every appellant who thought that a judgment might go against him requested to shift his case to a different bench, the judiciary would not be able to function. Consider this: if influential political leaders want to transfer their cases to a bench assuming a favourable judgment, would justice ever be served in this country? A similar logic applies to judges who recuse themselves from hearing sensitive cases. Judges must give their reasons for recusing themselves in writing. While taking oath of office, judges promise to perform their duties, to deliver justice, "without fear or favour, affection or ill-will". They must not undermine the judiciary's independence by capitulating to political pressure.
S.S. Paul,
Sir — While it is true that appellants should not be allowed to make untoward requests to shift their cases to a different bench, it must be considered why such a request is being made and why many even consider it justified. A slew of judgments has raised questions about the impartiality of the judiciary. It will take time for this trust to be regained.
Goutam Pan,
Picture imperfect
Sir — Public comments have been sought on the new cinematograph (amendment) bill, 2021. The information and broadcasting ministry intends to make changes to the law which controls the functioning of the Central Board of Film Certification. The proposed amendments will allow the Central government to re-examine a film, subdivide the existing unrestricted public exhibition (UA) category into age-based groups, prohibit unauthorized recording and list penalties against offenders to curb piracy. Apart from this, no person shall be permitted to use any audio-visual recording device in a place to make or transmit or abet the making or transmission of a copy of a film or part of it. Provisions will also be introduced to penalize those involved in film piracy.
While it is true that laws need to change to keep up with the times, the bill has provisions that leave scope for unwarranted government intervention. This is likely to lead to controversies. Take, for instance, the provision which grants the government powers to order re-examination of films. Given the temperament of the current dispensation — in fact, any regime that has too much power — this rule can be used to target film-makers who are critical of the government. It can also be used to curb freedom of speech when the government does not agree with a film ideologically — violence surrounding films about Hindu myths or history is not unheard of. The Cinematograph Act must not try to cut down expression, instead allow scope for creativity.
Venu G.S.,
Kollam, Kerala
Letters Bharatiya Janata Party (BJP) Trinamul Congress (TMC) Safety Plan Central Board Of Film Certification (CBFC) Coronavirus Social Distancing
Download the latest The Telegraph app
More from The Telegraph India
More from ABP Group
Anandabazar Patrika
Copyright © 2020 The Telegraph. All rights reserved.


What do that you must do in Second Life to build a shopping center? High quality wins every time relating to a food related tenant. Search for widespread complaints and observations that clients give you, after which regulate your property rapidly to minimise influence on the rental and gross sales. The world's second-largest shopping center is the Golden Sources Mall in Beijing , China with a gross flooring area of 680,000 m2 (7,300,000 sq ft).
Listed below are some ideas regards the institution and running of the shopping centre administration advertising program. Property management and advertising and marketing staff controlling the day's occasions and serving to the tenant combine and property function with effectivity.
Stephen's Green offer you all the services you'd expect from a premium quality shopping centre. It is alleged that the security officers had been conducting their business at Southdale Shopping Centre when the motive force was approached by about eight suspects who pointed at him with firearms' forcing him to open the money van.
This is significantly the case with meals and beverage tenants. You can not put tenants within the property after which let issues just occur. In 2013, the Charlestown administration developed quick food outlets for McDonald's and KFC on the on the front of the shopping centre.
Our Internet entry factors are dotted across the purchasing centre and are cheap and simple to make use of. Simply enter your e-mail deal with to be kept up to date with everything occurring at Frenchgate Purchasing Centre. In the event you like to buy all of your garments and things in a single place, there are a number of purchasing centres that appeal to totally different tastes.


text:
Q: Spark: sum over list containing None and Some()? I already understand that I can sum over a list easily using List.sum:
var mylist = List(1,2,3,4,5)

mylist.sum
// res387: Int = 15

However, I have a list that contains elements like None and Some(1). These values were produced after running a left outer join.
Now, when I try to run List.sum, I get an error:
var mylist= List(Some(0), None, Some(0), Some(0), Some(1))

mylist.sum
<console>:27: error: could not find implicit value for parameter num: Numeric[Option[Int]]
       mylist.sum
              ^

How can I fix this problem? Can I somehow convert the None and Some values to integers, perhaps right after the left outer join?

A: You can use List.collect method with pattern matching:
mylist.collect{ case Some(x) => x }.sum
// res9: Int = 1

This ignores the None element.

Another option is to use getOrElse on the Option to extract the values, here you can choose what value you want to replace None with:
mylist.map(_.getOrElse(0)).sum
// res10: Int = 1

A: I find the easiest way to deal with a collection of Option[A] is to flatten it:
val myList = List(Some(0), None, Some(0), Some(0), Some(1))
myList.flatten.sum

The call to flatten will remove all None values and turn the remaining Some[Int] into plain old Int--ultimately leaving you with a collection of Int.
And by the way, embrace that immutability is a first-class citizen in Scala and prefer val to var.

A: If you want to avoid creating extra intermediate collections with flatten or map you should consider using an Iterator, e.g.
mylist.iterator.flatten.sum

or
mylist.iterator.collect({ case Some(x) => x }).sum

or
mylist.iterator.map(_.getOrElse(0)).sum

I think the first and second approaches are a bit better since they avoid unnecessary additions of 0. I'd probably go with the first approach due to it's simplicity.
If you want to get a bit fancy (or needed the extra generality) you could define your own Numeric[Option[Int]] instance. Something like this should work for any type Option[N] where type N itself has a Numeric instance, i.e. Option[Int], Option[Double], Option[BigInt], Option[Option[Int]], etc.
implicit def optionNumeric[N](implicit num: Numeric[N]) = {
  new Numeric[Option[N]] {
    def compare(x: Option[N], y: Option[N]) = ??? //left as an exercise :-)
    def fromInt(x: Int) = if (x != 0) Some(num.fromInt(x)) else None
    def minus(x: Option[N], y: Option[N]) = x.map(vx => y.map(num.minus(vx, _)).getOrElse(vx)).orElse(negate(y))
    def negate(x: Option[N]) = x.map(num.negate(_))
    def plus(x: Option[N], y: Option[N]) = x.map(vx => y.map(num.plus(vx, _)).getOrElse(vx)).orElse(y)
    def times(x: Option[N], y: Option[N]) = x.flatMap(vx => y.map(num.times(vx, _)))
    def toDouble(x: Option[N]) = x.map(num.toDouble(_)).getOrElse(0d)
    def toFloat(x: Option[N]) = x.map(num.toFloat(_)).getOrElse(0f)
    def toInt(x: Option[N]) = x.map(num.toInt(_)).getOrElse(0)
    def toLong(x: Option[N]) = x.map(num.toLong(_)).getOrElse(0L)
    override val zero = None
    override val one = Some(num.one)
  }
}

Examples:
List(Some(3), None, None, Some(5), Some(1), None).sum
//Some(9)

List[Option[Int]](Some(2), Some(4)).product
//Some(8)

List(Some(2), Some(4), None).product
//None

List(Some(Some(3)), Some(None), Some(Some(5)), None, Some(Some(1)), Some(None)).sum
//Some(Some(9))

List[Option[Option[Int]]](Some(Some(2)), Some(Some(4))).product
//Some(Some(8))

List[Option[Option[Int]]](Some(Some(2)), Some(Some(4)), None).product
//None

List[Option[Option[Int]]](Some(Some(2)), Some(Some(4)), Some(None)).product
//Some(None) !?!?!

Note that there may be multiple ways of representing "zero", e.g. None or Some(0) in the case of Option[Int], though preference is given to None. Also, note this approach contains the basic idea of how one goes about turning a semigroup (without an additive identity) into a monoid.

A: you can use a .fold or .reduce and implement the sum of 2 Options manually. But I would go by the @Psidom approach

A: Folding on the list is a more optimized solution. Beware of chaining function calls on collections, as you may be iterating over something like a List multiple times.
A more optimized approach would look something like
val foo = List(Some(1), Some(2), None, Some(3))

foo.foldLeft(0)((acc, optNum) => acc + optNum.getOrElse(0))


Get to discovery faster, with the right talent, skills and team.
Affordable and flexible benefits – exclusive to Canada's bio-economy.
BioBenefits specializes in employee benefit plans for life science and related companies – whether you are an agri-tech, med-tech, bio-industrial or pharma, they have a plan for you!
If you are a bio-economy professional new to Canada, a new graduate fresh out of university, or someone with bio-economy work experience looking for a change, you know it can be hard to prove you have the skills for the job you want.


Her second LP came out with little warning Friday morning.
My nineties wasn't Iggy Pop, Primal Scream and Joy Division. It was The Offspring, rap music, and the unquestionable sensuality of Seal.
Brandy Is Back with a New Song Full of Country Fire Called "Beggin & Pleadin"
"Beggin & Pleadin" is a twangy, country-inflected reminder that the distance between Motown and Nashville lies mostly in the marketing and the production.
What I Learned About Style from Brandy and Monica's "The Boy Is Mine"
Ariana Grande and Jessie J might remake this song, but that would a big, big mistake. Behold the satin and life lessons herein.
Darkchild is one of the key sonic architects of the last two decades, producing hits like "Say My Name," but he hasn't gotten the visibility of some of his contemporaries.


text:
Explore Toronto Free
"The best things in life are free," so the old adage goes.
Explore Toronto for free. There are walking trails across the city. There are streets and alleyways where they're worth walking and getting blisters. Discover places where only your foot can take you---this city has lots of them. You just have to find time to explore them alone or with someone.
Biking around is another way to get to know this city while getting on a TTC streetcar offers passengers a different perspective. By just standing in Union Station during rush hour, one can feel the surge of humanity in one place, in one second---people moving in different directions.
See the rest of the "The best things in life are free," so the old adage goes.
EXPLORE: Walk / Ride
1. FREE. Take a walk from The Beaches westward to sunnyside park on the boardwalk (or bike).
2. FREE. Go to Dundas Square. There's always something happening there on weekends.
3. Ride the 501 Queen Streetcar. It is the longest route on the TTC with 15.4 miles of double track, and is one of the longest streetcar routes in North America.
4. Take a train ride through High Park
5. FREE. Walk the entire PATH, the city's underground walkway linking 28 kilometres of shopping, services and entertainment.
6. FREE. Explore Toronto alleys.
7. FREE. Spend the last Sunday of the month (only from May to October) at Kensington Market. It's pedestrian-only streets
8. FREE. Have a coffee in the cafe at the corner of Baldwin and Augusta before 8 AM on a weekday and watch the people who pass before they go to work
9. FREE. Visit the AIDS Memorial at Cawthra park, behind 591 Community Center at Church Street.
10. FREE. Walk and explore Toronto's famous Yonge Street, the World's Longest Street. Yonge Street is full of restaurants and shops, everything a tourist could want.
11. FREE. Hike the Bruce Trail. Located in the North, this is a beautiful trail that lets you see something besides the buildings of Toronto as you walk through the forest.
12. FREE. Cabbagetown. Take a drive or walk / explore through Cabbagetown and marvel at the city's most impressive collections of Victorian houses.
13. FREE. Get off at Museum subway stop and take a photo with / of the Totem Poles. Very unique.
14. FREE. Sit upstairs at Union Station during rush hour.
15. FREE. Watch the sun rise/set from the end of the Leslie Spit. Or at Harbourfront Center.
20. FREE. See the city's skyline at dusk. This is a truly amazing sight. Don't forget your camera!
21. Check out the view from Panorama Restaurant. On the 51 floor of the Manulife Centre, Panorama has 2 of the country's highest patios.
22. Peek inside the Toronto Reference Library. It might sound boring, but inside this amazing historical building you'll find a waterfall and elegant pool that turn this bland place into a paradise.
Go back to the top page of EXPLORE TORONTO FREE


Discerning drivers will appreciate the 2019 Buick Encore. Smooth gearshifts are achieved thanks to the efficient 4 cylinder engine, and for added security, dynamic Stability Control supplements the drivetrain. The engine breathes better thanks to a turbocharger, improving both performance and economy. Top features include power windows, a trip computer, front bucket seats, air conditioning, tilt and telescoping steering wheel, cruise control, rear wipers, and much more. Audio features include an AM/FM radio, and 6 speakers, providing excellent sound throughout the cabin. Safety equipment has been integrated throughout, including: dual front impact airbags, front and rear side impact airbags, traction control, brake assist, a security system, onStar, and 4 wheel disc brakes with ABS. Sophisticated all wheel drive assures superb handling in any weather condition. Our sales staff will help you find the vehicle that you've been searching for. We'd be happy to answer any questions that you may have. Stop in and take a test drive!


I would like to see the following features added to the diff tool.
2. Extend the existing diff viewer to support easier merging of diffs.
over into the other file. This would be immensely useful.
it out to the list for any additional feedback.
will make visualizing code changes very simple.
Or Guify - darn fine Java based gui diff.
changed within the same line (was it just a single character or a bunch?).
... or a method was just moved around in the class.
I never even thought of that. How cool would that be. Currently I have to check out code, reformat it, check it back in with no changes, then check it out again to make my changes. I have to do this because otherwise other people get upset that they can't tell what changed becausse I have remormatted the code. It would be awsome if a diff coll could tell me what really changed, like this method was pushed up, or certain variables were moved into an interface, It would be great if idea could do this, in the mean time does anyone know of a tool that does this?
I was too excited about this to wait for futher discussion. I have opened a feature request so go VOTE!!!!
method level diff'ing is a great idea. In fact as I think about it it seems that this kind of diff'ing would be great at all scales.
At the macro level, when doing big refactoring jobs, it would nice to see the before and after tree structure to make sure that all required changes have been made. The key here is that all the chnages would be transposed on one tree structure. This really important when refactoring a library that affects a hal-dozen projects which have all been pulledinto one project for refactoring.
At a micro-level, I could imagine that seeing structural difference at an even smaller scale than methods could be nice: for-loops; while-loops; if-elses; etc. This would allow one to quickly detect when major algorithm blocks have been changed.
Is this to much....or overkill? Maybe.... I'm just brainstorming!
I don't think it's overkill. One of the great things about idea is it lets you do refactorings at a higher level so you can think more about the big picture and not the details. I think we need a tool that shows differences at that same high level but will allow us to drill down to the micro level.
The biggest problems with diff tools IMHO is they work on the byte level. Do I really care that the indentation changed my source. In java and C I sure don't! What I do care about is that someone maybe added a new Object() inside of some loop that could run thousands of times. If I have to look at the byte level and they did a lot of reformatting I might miss that. OO code can be very subtle, missing one method call can kill you. Tracking actual code changes at the byte level is difficult at best.
The biggest problems with diff tools IMHO is they work on the byte level.
compared with the usual dumb byte-level diff tool.
files with this "enhanced" approach.
- there's a new parameter to this other method.
input in his favourite IDE.
file with this kind of reporting you would like.
Well, a final word : a big + 1 !
tool, various surface level changes would not fool such a diff-er.
However it sounds like it would have the potential to be fairly slow.
risk of detecting false positives.
>>The biggest problems with diff tools IMHO is they work on the byte level.
Any chance we can get some feedback from the jetbrain people on this? It seems to be pretty popular based on how fast it was voted for. I'm kind of curious if you (jetbrains) think this is too unrelated to the actual ide to spend the amount of time it would require.
I hope that they can do it better than JBuilder and Eclipse.
I like IntelliJ diff and merge.
that changed instead of some rows.


The All Progressive Congress (APC) governorship candidate for Kebbi State, Senator Atiku Bagudu, has called on the party supporters in the state to jealously guard and protect their votes during next month's general election without any fear.
Senator Bagudu made this call while campaigning in Argungu, Kangiwa, Bagudu and Suru local government areas. The campaigns in the four local government areas were attended by the candidates vying for elective positions on the platform of the APC.
The governorship candidate told the audience that, after casting their votes for the APC, they should ensure that their votes are counted and announced before they leave their polling units.
"Don't be intimidated by the presence of security men who may be posted to the venue; don't have any fear because you are doing the right thing by protecting your votes against rigging," he said.
Bagudu, however, cautioned supporters against violence, adding that they should maintain law and order during elections. He also urged those who have not collected their permanent voter cards (PVCs) to do so, as the card remains the only weapon for them to effect change both in Kebbi and Nigeria.
"If voted into power, the APC government would ensure a better Nigeria at the top with security as top on the agenda," he added.
Bagudu promised to work towards the improvement of agriculture, especially rice production, by providing farming inputs. He has also promised to provide quality education, improved health care, provide employment opportunities for the youth and to work towards religious tolerance in the state.


Gloss Black Saddlebag Hinge Covers and finger-operated Latches are an easy way to give your Touring bike a unique monochrome look.
Fits '14-later Touring models (except FLHXSE and FLTRXSE) equipped with hard saddlebags.
Gloss Black Saddlebag Latch Kit is rated 3.7 out of 5 by 6.
Rated 5 out of 5 by discodave479 from good stuff INSTALLED THESE ON MY 2018 ROAD GLIDE SPECIAL TO REPLACE THE CHROME ONES THAT STOOD OUT LIKE A BLOODY FINGER. SUPER EASY INSTALL AND LOOKS GREAT.
Rated 4 out of 5 by jssc from looks great on the bjke a little pricy, but simple to install, and look great on the bike.
Rated 4 out of 5 by LinemanMarine from Looks Good Put these on my denim black Street Glide. Looks pretty good for the blacked out look I'm going for. Would look better in denim black. Definitely don't see how these should cost $75 though. Seems pretty high priced for what it is.
Rated 4 out of 5 by HammerHandle from How do we not have matte colors to match our bikes 2016 Charcoal Denim FLHXS, these look awesome, because i hate chrome. I just wish these came matte black to match other items on the bike that are matte finish. The dealer installed these for me when i purchased the bike, so i cant speak to ease of install but by the looks its very simple. HARLEY WHY U NO GIVE US DENIM FINISH PARTS AAARRRGGG!


The Schulz lab has expertise in cardiovascular pharmacology and pathophysiology, particularly in relation to understanding the impact of oxidative stress. Many cardiovascular diseases involve an increase in oxidative stress to the heart and blood vessels, including ischemic heart disease, reperfusion injury, heart failure and shock.
Our lab investigates the role of specific molecules and how they contribute to oxidative stress damage. Specifically we are interested in the roles of nitric oxide, superoxide and peroxynitrite in both cardiac and vascular injury relating to the activation of the immune system as well as in myocardial ischemia and reperfusion injury.
We have discovered that some of these reactive oxygen species mediate their damaging effects through activation of an enzyme called matrix metalloproteinase-2 (MMP-2) within the cardiac myocyte. Although MMP-2 was previously thought to act only on extracellular targets, our lab has discovered that MMP-2 also targets (and subsequently damages) intracellular proteins.
Our short-term objective is to understand the contribution of each of these molecules in the development of acute heart failure. Our long-term objective is to develop and test specific pharmacological treatments to protect the heart from oxidative stress injury (e.g. matrix metalloproteinase or nitric oxide synthase inhibitors, superoxide or peroxynitrite scavengers).
Baghirova S, Hughes BG, Hendzel MJ and Schulz R. (2015) Sequential fractionation and isolation of subcellular proteins from tissue or cultured cells. MethodsX 2:440-5. PMID: 26740924.
de Souza P, Schulz R and da Silva-Santos JE. (2015) Matrix metalloproteinase inhibitors prevent sepsis-induced refractoriness to vasoconstrictors in the cecal ligation and puncture model in rats. Eur J Pharmacol 765:164-70. PMID: 26297976.
Cerisano G, Buonamici P, Gori AM, Valenti R, Sciagra R, Giusti B, Sereni A, Raspanti S, Colonna P, Gensini GF, Abbate R, Schulz R and Antoniucci D. (2015) Matrix metalloproteinases and their tissue inhibitor after reperfused ST-elevation myocardial infarction treated with doxycycline. Insights from the TIPTOP trial. Int J Cardiol 197:147-153. PMID: 26134371.
Fan X, Hughes BG, Ali MA, Cho WJ, Lopez W and Schulz R. (2015) Dynamic Alterations to alpha-Actinin Accompanying Sarcomere Disassembly and Reassembly during Cardiomyocyte Mitosis. PLoS One 10(6):e0129176. PMID: 26076379.
Bautista-Lopez NL and Schulz R. (2014) Matrix metalloproteinases 2 and 9 as diagnostic tools in Chagas cardiomyopathy. Int J Cardiol 177(1):46-7. PMID: 25499336.
DeCoux A, Lindsey ML, Villarreal F, Garcia RA and Schulz R. (2014) Myocardial matrix metalloproteinase-2: inside out and upside down. J Mol Cell Cardiol. pii: S0022-2828(14)00297-1. PMID: 25261607.
Labossiere JR, Pelletier JS, Thiesen A, Schulz R, Bigam DL and Cheung PY. (2015) Doxycycline attenuates renal injury in a swine model of neonatal hypoxia-reoxygenation. Shock 43(1):99-105. PMID: 25105465.
Hughes BG and Schulz R. (2014) Targeting MMP-2 to treat ischemic heart injury. Basic Res Cardiol. 109 (4):424. PMID: 24986221.
Hughes BG, Fan X, Cho WJ, Schulz R. (2014) MMP-2 is localized to the mitochondria-associated membrane of the heart. Am J Physiol Heart Circ Physiol. 306(5):H764-70. PMID: 24375642.
Labossiere JR, Pelletier JS, Ali MA, Thiesen A, Schulz R, Bigam DL, Cheung PY. (2014) Postresuscitation administration of doxycycline preserves cardiac contractile function in hypoxia-reoxygenation injury of newborn piglets. Crit Care Med. 42(4):e260-9. PMID: 24335448.
Neto-Neves EM, Sousa-Santos O, Ferraz KC, Rizzi E, Ceron CS, Romano MM, Gali LG, Maciel BC, Schulz R, Gerlach RF, Tanus-Santos JE. (2013) Matrix metalloproteinase inhibition attenuates right ventricular dysfunction and improves responses to dobutamine during acute pulmonary thromboembolism. J Cell Mol Med. 17(12):1588-97. PMID: 24199964.
Jacob-Ferreira AL, Schulz R (2013) Activation of intracellular matrix metalloproteinase-2 by reactive oxygen-nitrogen species: Consequences and therapeutic strategies in the heart. Arch Biochem Biophys. 540(1-2):82-93. PMID: 24103691.
Jacob-Ferreira AL, Kondo MY, Baral PK, James MNG, Holt A, Fan X, Schulz R. (2013) Phosphorylation status of 72 kDa MMP-2 determines its structure and activity in response to peroxynitrite. PLOS ONE 8(8):e71794. PMID: 24013357.
Schulze CJ, Castro MM, Kandasamy AD, Cena J, Bryden C, Wang SH, Koshal A, Tsuyuki RT, Finegan BA, Schulz, R. (2013) Doxycycline reduces cardiac matrix metalloproteinase-2 activity but does not ameliorate myocardial dysfunction during reperfusion in coronary artery bypass patients undergoing cardiopulmonary bypass. Crit Care Med (Aug.). PMID: 23928836.
Castro MM, Fuah J, Ali M, Sung M, Schulz J, Kondo MY, Fan X, Holt A, Schulz R. (2013) Inhibitory effects of caspase inhibitors on the activity of matrix metalloproteinase-2. Biochemical Pharmacology 86:469-475. PMID: 23774623.
Ali MAM, Kandasamy AD, Fan X, Schulz R. (2013) Hydrogen peroxide-induced necrotic cell death in cardiomyocytes is independent of matrix metalloproteinase-2. Toxicology In Vitro 27:1686-1692. PMID: 23665313.
Bautista-Lopez NL, Morillo CA, Lopez-Jaramillo P, Quuiroz R, Luengas C, Silva SY, Galipeau J, Lalu MM, Schulz R. (2013) Matrix metalloproteinase-2 and -9 as diagnostic markers in the progression to Chagas cardiomyopathy. Am Heart J 165:558-566. PMID: 23537973.
ZAHRAN, S., FIGUEIREDO, V., GRAHAM, M.M., SCHULZ, R., and HWANG, P.M. (2018). Proteolytic digestion of serum cardiac troponin I as a marker of ischemic severity. J Appl Lab Med. 3:450-455.
CHAN, B.Y.H., ROCZKOWSKY, A., MOSER, N., POIRIER, M., HUGHES, B.G., ILARRAZA, R., and SCHULZ, R. Doxorubicin induces de novo expression of N-terminal truncated MMP-2 in cardiac myocytes. Can J Physiol Pharmacol. In press.