2150 before end of workday....800 or so at dinner, hopefully not more!!! Around 3000.
Have my period and I was extremely dizzy driving to work. I think I was really low on salt esp bc of the new anti inflammatory I took around 15 min before driving. Back and thigh pain - it was an evil period. Usually I don't get cramps even - maybe the lack of exercise. Anyways, will not give up and I will keep my head up....also gained a real pound from excessive eating since Monday.
I wouldn't have over eaten today except I was feeling very dizzy and sick and I allowed myself to indulge in the heavier kinds of food for fear I would pass out at work this morning. I had a light breakfast, then chips, then pie, then chocolate, then lots of salty chips for lunch and soup, and a bigger dinner than planned bc my boss give me 2 big sandwiches and I had the bread from both (they were foot long heroes) and most of the bread i ate - the rest was veggies mostly sautéed spinach.i made tea in the morning and actually added salt to it - and stevia - and I drank it all day. I felt like I was going to have diarrhea on the way to work, but then forgot bc I didn't have a lot of time to prepare / eat once I got there, and bc of all the salt, I actually am a lil constipated and never used the bathroom today....sorry for the major TMI!!!!! But it's good I had the salt as I feel much better from all of it.
I have heard you can do a few extra calories at "that time of the month" and not gain long-term.As long as it is not an on-going calorie increase. Really hope you feel better today! Hormones are evil!
Good luck with all that. HP.
I hope you feel better this weekend. Love the TMI. I've caught myself doing that a couple of times this week, but chickened out and deleted the post :) glad you're here. Hang in there.
Today is a new day. Fresh start.
No doubt about it today was really rough after eating so much yesterday. It was hard escaping negative emotions at work and also the exorbitant amount of jealousy I have of other coworkers who are in great shape and do not have to deal with my pain and injury. I have no right to be jealous, but I can't get over it. I am working on being happier but it's not easy. There were a couple situations that made it worse today - reminders of my injury and my circumstances and my inability to speak up and get what I want for myself.
Around 1150, then an afternoon snack at work 150 more. Let's just say 1350. Then big dinner, mostly sauteed veggies and an egg white wrap 650 at most followed up with a dessert of peanut butter in a wrap around 300-350.
Will estimate this was a 2300 cal day. Success compared with yesterday.
One thing we can always count on is today will be better. Have a great new start.
Glad you had a better day.
I can relate to the head chatter. I've had a few days of festering resentment going on since Saturday. I guess, like you, I'm going to have to speak up for myself. I'm glad you're here.
For the first time in many weeks, my legs are having less pain in the AM and last night. I guess that means to further rest them and not go back to any exercise yet and let them continue to heal this time around! I am doing IF the whole day till Wednesday morning. By doing this, I will be able to reach my goal - a 1000 calorie deficit today.
Ok changed my mind and decided not to fast at all. Had a tasty breakfast instead. Cooked wheat bran with stevia 60 and cinnamon, butternut squash souflee 120, coconut butter 200, peanut butter 200. Around 600...filled up with a veggie egg white omelette 250?, 1/2 avocado and stir fried chicken 400, more squash souflee and peanut butter 220. 1500 or so. Wow that's a ton of food for 1500 calories. This is all my breakfast.
Total calories 3200. Over about 1200 cal. Yesterday over about 800 cal. Really prob over even more bc I am not exercising but this is enough for estimating purposes. Yesterday and today's extra calories: 2000. Whoa a lot. If I am motivated, I can fast sat and sun in the weekend to take off the 2000...but it's too much to do it that way. I will IF Saturday. Not sure about Sunday...maybe. Otherwise, I'll undo the damage over two weeks and then try to lose actual weight around thanksgiving. This is a bit of a set back as 2000 calories is a lot to create a deficit for....my own doing, I have a tendency to hurt myself like this and in life, to make choices that are harmful and get me nowhere except for self sabotage as my best friend puts it perfectly in context for me to understand. Not sure why I can't make better choices more often but I am constantly inclined to give into negative thoughts and temptations. Will discuss my goals as Puddles was asking in a comment earlier....to be contined later when I go home, still in McDonald's. Proud of myself for only ordering fries, mcnuggets, and diet coke (first time in a long time for aspartame) and being satisfied and not going back for me. It's a success actually, despite what u may think lol.
Got home and ate fruit and avocado 200 followed by pb on a wrap 400 total. 600.
Total Tuesday calories = 3800.
Total calories over now for yesterday & today: 2600.
You often write about reaching your goal - what is your goal and what are you dealing with. Have a great day.
I got me some butternut squash too. Glad to hear your legs are on the mend.
Maybe your legs are on the mend.
Calories till I got home from work were around 1350. Dinner was completely overdone and I am actually as stuffed as a person feels on thanksgiving! I don't regret it because it all tasted good.
Chips 100, sautéed veggies in sauce 750 or so - yes it was a ton of veggies and oil and sauce - cheese 250, and a dessert of cooked bran with stevia and cinnamon, squash souflee, and lots of peanut butter total dessert is 400. Shoot around 1500 cals no wonder I am stuffed.
Total cals are 2850. I wasn't keeping track at dinner and kept eating. I didn't really want such a high total.
Now I need to think about tomorrow which is a planned IF day. But, if I am going to overeat, IF will only be good for maintaining work and that is not my plan at all with IF.
Overall, tomorrow's IF will not contribute to weight loss, just maintenance bc i overate too much tonight. Lesson learned to be a little more focussed and not buy so much prepared food lol.
today was a slightly fancy brunch with a few girlfriends...followed by an errand with two of the girls (we all needed to go to Target so we went together after the brunch bc it was right across the street!). then I drove home with my best friend and we got dinner together to eat at my apt before she drove home. nice.
todays calories: Brunch: salad, grilled veggies 200 at most, egg white & veggie omelette around 300-400 I guess at most, coffee with lots of milk and lots of coffee 150?, small bites of cake / muffin 300?...that's about it...1050 at most.
dinner: veggies 200, veggie soup and shirataki noodles 150, some of my friend's spring roll 100 at most, some chicken 150-200..then I decided to have a dessert fruit and yogurt 200 at most...and then some nuts 200. 1050.
No, not terrible. And sounds like a really nice day with friends.
Happy Saturday...feeling excited for intermittent fasting today until dinner...going to a party tonight for a friends bday at a restaurant, sushi. I don't like sushi but the have other options as well. Sooo looking forward to seeing these friends bc I have been laying low since the beginning of October trying to stay home and rest my legs much more on weekends. Will be resting most of the day today too. So I am gonna intermittent fast till dinner tonight. Tomorrow strangely enough I have a brunch to go to that another friend planned. It's weird having a brunch the next day after going out to dinner late, but it should be fun.
On Sunday, the brunch at noon will be my first meal, no early breakfast. That is also considered intermittent fasting. I only like to do IF when home and on days off from work. A pro to IF is that you can eat slightly more calories than your body may need on normal eating days bc on IF days u try to make a huge deficit. Moreover, by continuing to eat normally on the other days, your body and metabolism stay in more of a normal, fast state - rather than what happens when day in and day out you diet at 1200 cals a day.
With the type of IF I do, I will loose between 1-4 lbs per month depending how often I am doing IF. During the month of November I will be doing it a couple extra days like Veterans Day, Thanksgiving (maybe will turn into a high cal day despite a fast which will be OK - my mom cooks really well and I will not deny myself on this holiday - but at least I will have fasted all day before the big meal!).
Of all the fasting IF days I've done so far, today has been the easiest. not sure why or how....maybe knowing I'm going out to eat & that there's some healthy & filling food to enjoy there! so excited for teriyaki vegetables...can't wait to dig in...too bad it'll be around 4 hours from now. fasting seems pretty easy when the day doesn't have too much going on. nothing to stress about and make me hungry because of anxiety. so happy I am able to do this fasting. never thought I could. sunday will be a normal day, first meal at noon because I'm going to a brunch. honestly, my plan is to keep calories low today and enjoy tomorrow's brunch, allowing extra calories sunday...but I worked so hard on this fast, I might as well try to keep the calories low today and not overindulge tonight...otherwise, what the freak is the point of fasting!? Tuesday will be one more fast day till evening because I have off from work. still need to rest my legs, exercise is not on the agenda yet...so this works.
Sounds like a plan, good luck!
Sounds good different things work for different people. Have a great weekend.
It's tough to eat normally around some people who just don't think twice. You'll bounce back okay I'm sure!
1150 at most after lunch. 100 Apple on the way home.
Big dinner of eggplant rolletes by celentano foods 350, extra veggies 150 at most, lots of peanut butter mixed with warm wheat bran and stevia for dessert. So good! Dessert 500 at most.
Calories till dinner: 1350 Dinner: around 500-600 Stupid snack: chips 200 2150, decent.
No exercise. Signing up for the pool as soon as my legs feel a lil bit better. I am waiting till they have less pain :( so sad.
Glad you got a great haircut! Yesterday was my haircut day, too. I always feel a little glamorous afterward... Hope your legs feel better. Sounds like swimming would be good.
I got a hair cut also yesterday. We must all me on the same wave length. Have a great day.
Prob around 2100/2200 all healthy. No exercise. I forgot, I did a 15 minute abbs workout in the morning before breakfast!
Take care of yourself and have a great day.
Snack: probably nuts bc I forgot to buy yogurt and cottage cheese. Supermarket after work.
Breakfast today was amazing...will do it again tomorrow for sure! loved the bran with the cranberries and the fats. it was pretty satisfying till around 11am-12am when I got hungry. I am loving the sweet breakfast :) lately I will be using more stevia. I stopped for awhile because I thought it was very bad for me, but now I do not think so, at all.
calories till end of workday: around 1400.
calories after work 100 for an apple.
dinner: LOADS of veggies, cooked by a restaurant (takeout Italian) sauteed in butter/oil with garlic: mushrooms 100 at least, broccoli raab 100, broccoli 200, some leftover chicken sausage 100, small container of raspberries 120?...so...around 600...oh, and a collard greens soup with two small bite size pieces of fatty bacon! didn't know they had that in the soup....not more than 100 there. total: 700 yuck.
2200. all healthy at least. no exercise.
Food sounds good to me!!
Yogurt and CottageCheese. Yummm !
All sounds delicious, and healthy too.


text:
34° Rain Shower
Areas of freezing rain possible early. Occasional rain with some snow mixing in for the afternoon. High 41F. Winds SW at 15 to 25 mph. Chance of rain 70%..
Windy with snow showers during the evening. Less wind later on. Low 14F. Winds W at 20 to 30 mph. Chance of snow 40%. Winds could occasionally gust over 40 mph.
INDIANAPOLIS — Members of the Elkhart League of Women Voters attended League Day at the Statehouse on Thursday, the 100th anniversary of the Indiana Legislature ratifying the 19th Amendment.
Teens damage detention center
Elkhart Truth file photoWater levels next week will be lowered upstream from the hydroelectric generating station in Elkhart.
I&M to begin lowering Elkhart reservoir
TRUTH STAFF
ELKHART — Indiana Michigan Power will start the annual drawdown of the St. Joseph River upstream of the Johnson Street dam in Elkhart on Dec. 16, the company said in a release.
The water level will be lowered 2 feet over about four days with the aim of reducing the potential for ice buildup at the Six Span Bridge, upstream at C.R. 17. The water level will be restored to its normal level in early spring.
Those living along the St. Joseph River up to 8 miles upstream of the dam "may wish to make note of this in case there is any work they would like to finish along the river bank before the level rises back to its normal level," the utility said.
The dam at Johnson Street, what Fort Wayne-based I&M calls the Elkhart Hydroelectric Generating Station, is one of six hydroelectric plants operated by the company along the St. Joseph River. The facility has a capacity of 3.44 megawatts, the equivalent of serving about 3,500 homes.
Business & Industry 2019
Best of Elkhart County 2019
Cocaine conviction nets 20-year sentence
High school graduation rates slip (4)
Sunsoaked said:
What an absolute joke!
its 2020....time to be more efficient and get with modern times...concord is a joke and needs to be absorbed into Elkhart county....
59wall said:
Kercher Road is open? Since I no longer reside full-time in Elkhart county I am not up to date. But in all honesty, I did not expect to live t…

redpajama_set_name: RedPajamaCommonCrawl


text:
Q: how do I profile a specific block of code in vs2008/10? I am completely new to the idea of profiling, can anyone give me simple steps on how I would profile a specific function?
Both functions do the same thing, but one is in C# in vs2008, the other C++ in vs2010. I'm really mostly interested in the C++ function as it is being incredibly slow and I want to find out where/why. Thanks.

A:
simple steps on how I would profile a specific function

The method I use is random pausing, maybe better known as the poor man's profiler (which I liked until I saw how they aggregate).
Here's another link.
You don't have to tell it what specific function to look at.
It automatically finds what takes the most time, whether it's that function or another one.
The thing about it is, compared to "real" profilers, some might say it is crude, tedious, etc.
So why do it?
Because it's effective.
You nail your problem, down to specific instructions, and know what to fix, before you even begin to puzzle through the reams of stuff that comes out of most profilers - self time, call counts, call trees, call graphs, "hot paths", "cpu time", etc. etc..
The thing to ask of any profiler is not how "accurate" it is, but

*

*How much speedup is typically achieved by using it, in real (not toy) programs?

Isn't that what you care about?
Here's an example of a 43x speedup done with random-pausing.

A: Here is one idea. Write a test app that calls this function repeatedly and does as little else as possible. Then create two executables with the two versions of your function. Now run  the Very Sleepy profiler on both executables, and compare the results. The profiler will show you what the slow parts of each function are.
Another profiler that you may find useful is Shiny. It works in a completely different way. You have to insert calls in the functions or sections of code you want to profile, and then compile a special profiler enabled version of your app.

redpajama_set_name: RedPajamaStackExchange


text:
The 1895 Open Championship was the 35th Open Championship, held 12–13 June at the Old Course at St Andrews, Fife, Scotland. Defending champion J.H. Taylor won the Championship for the second time, by four strokes from runner-up Sandy Herd.

Harry Vardon, one of the early starters, led after the first round with an 80 but had an 85 in the afternoon to finish the day on 165. Herd had the best round of the afternoon with a 77 and led overnight on 159, five strokes clear of Taylor and Andrew Kirkaldy on 164.

Herd played steadily in the third round and finished with 82 to lead on 241. Taylor, playing in the last group, scored 80 to finish on 244. The Championship resolved into a battle between Herd and Taylor. Herd started well but took seven at the 5th. Playing in wind and rain, Herd eventually scored 85 to finish on 326. Taylor need an 81 to win and after 12 holes had only taken 49 strokes. Despite taking six at the next two holes he reached the 17th tee needing to take 12 or less to win. Playing carefully he scored five at the dangerous 17th and then four at the last to win by four strokes and retain the title. His 78 was the best round of the afternoon by four shots, the next best being an 82 by Ben Sayers.

First day leaderboard
Wednesday, 12 June 1895

Final leaderboard
Source:

Thursday, 13 June 1895

References

External links
St Andrews 1895 (Official site)

The Open Championship
Golf tournaments in Scotland
Open Championship
Open Championship
Open Championship

redpajama_set_name: RedPajamaWikipedia


text:
North Korea's "selective détente"
Khang Vu
North Korea is seeking to decouple South Korea and the US by widening the gap on their North Korea policies.
Photo: Loco Steve/ flickr
Published 11 Jan 2019 13:30 0 Comments
Follow @KhangXVu
Almost two weeks have passed since Kim Jong-un delivered his 2019 New Year Address. He informed the world of his intention to capitalise on his diplomatic victories to enhance North Korea's international status. He also expressed his willingness to continue the détente with South Korea and the United States.
North Korea's strategy towards the United States and South Korea has been based on a desire to decouple Seoul from Washington.
In the past several years, Kim has used the New Year Address as a way to communicate North Korea's intentions with the rest of the world. The 2017 Address signalled his determination to develop North Korea's nuclear arsenal. The 2018 Address showed his willingness to engage with the South and the international community.
Many Korea watchers have studied Kim's words closely, and they have come to the conclusion that North Korea is looking at new ways to deal with the US.
These could be a building of a better relationship with China, which was seen in Kim's latest visit to Beijing, or a return to missile and nuclear tests, which isn't likely in the next several months given the pending second Trump-Kim summit.
However, there is another option that hasn't been taken into consideration: the decoupling of the peace process with South Korea from the denuclearisation process with the US.
The language of Kim's speech indicates that North Korea will employ "selective détente" if the talks with Trump break down.
Pyongyang's strategy towards the US and South Korea has been based on a desire to decouple Seoul from Washington. To achieve that goal, North Korea will seek to widen the differences between South Korean North Korea policy and the US North Korea policy.
The South Korean left prioritises the Korean race (minjok) over ideological disparity. This opens a pathway for Kim to stoke ethnonationalism and break South Korea away from the US. One particular statement from Kim's speech illustrates this point:
Given that north and south committed themselves to advancing along the road of peace and prosperity, we maintain that the joint military exercises with foreign forces, which constitute the source of aggravating the situation on the Korean peninsula, should no longer be permitted and the introduction of war equipment including strategic assets from outside should completely be suspended.
Kim attributes the achievement of peace in Korea to both North and South Korea, and he uses the phrase "fellow countrymen" to refer to both North and South Koreans as the beneficiary of the inter-Korean détente.
What is more important is that this paragraph reflects North Korea's official definition of denuclearisation as the removal of all nuclear threats in both parts of Korea and in the peninsula's vicinity.
Even though Kim does not verbally accuse the US, his reference to "foreign forces" clearly indicates his suspicion of Washington ruining the peace process if talks do not go its way. By blaming the source of tension to outside powers, Kim wants to assure South Korea that if North Korea ever returns to provocations, the North will still hope the inter-Korean détente can continue.
The first Trump-Kim summit did not result in a declaration of North Korea's nuclear facilities, a roadmap for international inspections, or a halt in North Korea's nuclear production. Apparently, a second Trump-Kim summit without a list of North Korea's nuclear and missile facilities would be considered a failure.
Unfortunately, given North Korea's continued expansion of its missile facilities, which could be used to target the US, there are reasons to doubt Kim's sincerity to denuclearise. To avoid being blamed for the negotiation deadlock and potential failure, North Korea has defended itself by communicating its definition of denuclearisation and putting the ball into Washington's court by forcing it to respond to North Korea's scrapping a missile facility and a nuclear testing site.
It can be predicted that Kim hopes to get another summit with Trump for propaganda purposes, and if Kim is lucky enough, he can persuade the US to tone down its military presence in South Korea given the current deadlock in US-South Korea negotiations over a cost-sharing agreement.
Under the circumstance that the denuclearisation process with the US collapses, Kim can continue his détente with the South on the ethnonationalist ground to push for the reopening of joint Korean projects in Kaesong Industrial Complex and Mount Kumgang Tourism Resort.
The remaining question is how far President Moon Jae-in will carry on with the peace process without a US blessing. Moon understands that economic cooperation with North Korea requires sanctions relief from the US, and at the same time, he also wants to boost inter-Korean economic ties to address South Korean unemployment and improve his domestic rating.
Certainly, North Korea is putting much pressure on Moon, and Moon will have to make a choice between North Korea and the US in the aftermath of the second Trump-Kim summit.
The Vietnamese venue will shape the second Trump-Kim summit
"The whales have won" – even as Japan sharpens its harpoons
Why governments criticise China and then sign deals with Beijing
David Kelly, Joost van Deutekom 27 Apr 2017 15:33
Will the Chairman turn? China contemplates its North Korea policy
Can Beijing act as a guarantor of regional security and stability? North Korea may provide the litmus test.
Euan Graham 16 Jun 2017 09:03
Back in focus: The United Nations Command in South Korea
The US Commander of the United Nations Command in South Korea, General Brooks, wants to 'revitalise' it.
Frances Kitt 15 Jan 2018 12:32
China's agenda behind inter-Korean talks
Beijing has three aims, but it all leads back to rivalry with the US.


With our filter settings, we make it easy for you to find the classes that are best suited for you and your level. You can choose to use the video filters that allow you to search for classes by Level, Duration, Teacher, Benefit or Focus. Once you've selected filters, you can also "Reset" or deselect some or all of your filter choices.
If you'd prefer to find videos based on key words or the exact class title, you can choose to search for videos using the "Search" box in the top right corner. Keep in mind that the search feature will only be available if you are logged in.


The Economic and Financial Crimes Commission (EFCC), last Wednesday, arrested a notorious fraudster who specialises in defrauding unsuspecting members of the public through fraudulent bank credit alerts. Wale Olaide a.k.a "Wale Dollar" got into trouble with the law when he duped one Abdulhamid Abubakar, a bureau de change operator of N5, 000,000.00(Five Million Naira only).
Olaide had contacted Abubakar's younger brother, Hashim, also a bureau de change operator based in Lome, Togo Republic that he wanted to purchase Five Million Naira (N5, 000,000) equivalent in CFA Francs. Olaide requested for his Nigerian bank account to enable him pay in the naira equivalent. Hashim asked Abubakar to send his First Bank account details to Olaide.
Abubakar acted immediately, sent his account details and after a while, he received an alert supposedly from his bank that N5, 000.000.00 (Five Million Naira) had been credited to his account domiciled at the Seme Border branch. Upon receiving the alert, Abubakar informed his brother who in turn released the CFA Franc equivalent of N5m to Olaide.
The next day Abubakar visited the bank to withdraw the money, but to his dismay, his account balance didn't reflect the said transaction. He complained to the branch manager and his statement of account was rolled out but the transaction was not reflected. When Abubakar noticed that the bank couldn't help, he approached the EFCC.
Series of investigative initiatives by the EFCC yielded the arrest of Olaide who is believed to be a member of a deadly syndicate involved in duping unsuspecting members of the public through fraudulent banking notification alerts.
While, the EFCC is working to unravel the intricate network of operations of the syndicate, the Commission has appealed to members of the public to be wary of this new trend in criminality by fraudsters who use phony credit alerts to defraud others.
« Previous Story At Last, Revenue Commission Reveals Nigerian Legislators' Salaries!
Next Story » Lagos Governor, Raji Fashola Loses Father!


Please click the link to review your selection before submitting a payment; refunds will be issued as credit for future webinars only.
Attention leaders of charitable and community organizations: NTLC webinars are designed with your results in mind! Make plans to invest in one or more of our upcoming sessions - click below for details.
Performance Enhancement: Foundation Grant Proposal Writing - Nonprofit leaders will get updates on foundation trends and enhance their proposal writing skills. Bonus items: 3 logic model templates!
A registration link will be sent via email upon receipt of your payment. Please retain a copy of your payment receipt for your records, and email ntlc@najmahthomas.com if you have any trouble registering for the workshops!


To build the "websites with best UI", a large quantity of factors should be taken into consideration. Websites with great user interaction must make users feel at home and extend their reach at the first entrance of a website. The approach to making this happen differs from culture to culture, for example, you can satisfy a Japanese and an English man at the same time. So, "websites with the best UI" are those, which are precisely targeting at the aimed region. While multicultural features are essential and indispensable if the site is meant for global usage.
If you take a in-depth look into the start points of these wonderful sites, you may find that rapid prototyping tools were adopted by most of them. This laid a stable foundation for their fast iterative development in the fore-steps of websites building.
Photos are the most eye-catching features that hit users on the first sight of your web page. Outstanding websites resemble in covering their pages with high-resolution images to exhibit their products from every possible tantalizing angle.
This idea is easy to grasp. Nowadays, everyone is in a rush. If users cannot find what they want on your site, they just quit.
Clever UI designers put thought-provoking slogans everywhere on their homepages from sliders, headers to pop-up forms. Once one of the slogans hits the bull's eye, you get a new order.
A stunning layout can make your website unforgettable. Even for visitors who fails to stay might return because your products are laid out with creativity rather than caged in the old-fashioned grids.
Based on these dimensions, I put together a list of 5 excellent websites with best UI design who have broken the norm to become extremely memorable.
Airbnb is not the most fascinating website I've seen but it does "make the world a better place" by simplifying the process of booking a stay. The whole process is streamlined to make the page easy and approachable. Guest will be immediately guided by the slogan"Where to? Start your next adventure on Airbnb." and start booking right away by the "Check in" box below.
Medium astounds me by minimizing the use of color, in which way it puts better emphasis on the content. As a writing platform, Medium has chosen the most suitable kind of typography. Every line and box are encouraging users to write, browse and share.
Defringe is an online gallery that dedicates to filtering art and other creative content on the web. For its navigational method, it uses a left menu which resembles music software much to allow you to explore the website. This is quite inspirational.
FS Emeric is a website which is a little futuristic. I do love the layout of the scrolling side embellished with the special font design at the right corner.


These magnets are durable and long-lasting, and leave no trace on your car!
These magnets are close to photo realistic, even when close up.
We have various sizing options, so your magnet can be as big or as small as you are looking for!
These magnets are coated to protect them as much as possible from weather related fading.


International Consumer Eletrconics Show 2015 happens and some of us will be looking at new electronics to want just about two weeks later. I feel very fortunate that I am not one of those early adopters. Early adopters, who always need to have the latest gadget, have to delay Christmas until CES 2015. which start on January 6, 2015 in Vegas. This is the largest consumer electronics show of the world, and all the Sony's, Samsungs, Microsofts, and other electronics manufacturers, introduce the world the next generation of gadgets.
That's where everything new will happen, and determines the editorial schedule for the TechNews reporters and fill up the topic list for the next year.
Me, I just go my new Moto X and I am happy with it, still getting aquainted to it. It has similar specs as the Nexus 6, also built by Motorola. Moto X is smaller in size and turned out to be a couple hundred dollars cheaper in the pure edition version. This weekend I took it out for the first time and I do like my new camera on this phone.
Today, we are back to work.


text:
Home / Entertainment News / BEHIND THE CHANNING TATUM AND JESSIE J SPLIT
BEHIND THE CHANNING TATUM AND JESSIE J SPLIT
Channing Tatum and Jessie J's romance was doomed due to bad timing, People reports. A source spills: "He is super busy with his career and as a dad. He has a world awaiting him and is trying to manage how busy he is which isn't easy."
The pair got together in October of 2018 after Tatum split from ex-wife Jennie Dewan, with whom he shares Everly.
"He has a lot on his plate right now and wants to be the best dad possible which means he needs to be around when he isn't traveling for his own work," says the source.
J recently admitted that because they were connected in the press before their romance had really gotten off the ground, it added extra pressure. She told U.K.'s The Times: "Chan and I got photographed before our relationship was even a thing and that created such pressure."
Previous Rihanna Trolls Fans Who Are Angry About 'R9′ Album Delay With Hilarious 'Update'
Next BTS Drop New Tour Teaser


text:
A Guide To Crushing Girlhood: Feminist AF Book Review
How do you review a book you have no business reviewing? A Guide To Crushing Girlhood: Feminist AF, by Drs. Brittney Cooper, Chanel Craft Tanner, and Susanna Morris is one of a growing collection of girl empowerment books that offers raw honesty and complete support for Black teen girls and their allies. The inclusivity of this feminist book for teens makes it suitable for every teen (and body!) who is questioning societal norms and the patriarchy.
But as a feminist — and BIPOC, trans, queer, disabled, and nonbinary ally — I jumped at the chance to check out this feminist book for teens.
Teens, Am I Right?!
Initially, I planned to get a few teenage feminists to help me with some real-life feedback. It would be a breeze to post a review with their help.
"This teen feminist think it's great!" sounds a lot better than, "This old white mom thinks…."
But not one single teenager followed through on helping me out in time for the deadline. And why should they? Why should the cis white woman (aka me) get a free ride? Not because they weren't interested in the book or subject, but simply because I timed it wrong - school started, COVID surged, life got crazy with the holidays. The usual.
Oh, and they're not my kids — so I couldn't make them. 😉
Which had me reading this intersectional feminist book geared towards marginalized feminist teenagers and their allies cover to cover. And yes, I would have read it anyway, but now my words have more weight in this review. This is what I was trying to avoid —giving white words weight on a subject where we could benefit far more by sitting down and shutting up.
But so much of the advice and insight in this book applies to me. Decades of being told to play nice, stay skinny, look like a model, do more, be more, give more. These tropes are as ingrained in my psyche as they are in capitalistic patriarchal communities worldwide.
The bottom line is I love it and highly recommend it — both for yourself and your feminist or feminist-ally teen. Let's just hope I don't screw up explaining why.
Hey! If any of the words you've read have you confused, we've all been there. Honestly, don't worry. You're here, exploring a subject you probably never expected to be learning about, and you're doing your best to help a teenager you know. High-fives all around! The first step into anything new is always a bit scary. So just keep going and know you're doing the right thing. You got this!
If your teen:
Rails against white guys (or guys in charge) but doesn't seem to have the right words to explain why
Believe in #BlackLivesMatter and is interested in social justice
Is questioning the outsized role that men (mainly white) play in society
Then this book, A Guide To Crushing Girlhood: Feminist AF, is for them.
While it's definitely written for and to Black teen girls, this girls empowerment book openly welcomes everybody who supports feminism and gender/identity freedom. Trans, queer, nonbinary, BIPOC, white - this book care who you are as long as you support freedom and feminism. The authors are clear that white supremacy, colorism, and the capitalistic patriarchy are all repressive means of keeping women and marginalized societies and people from being equal.
Suppose your teen needs a feminist teen book and understands that not everyone is treated equally. In that case, this book offers excellent insights, knowledge, and inspiration for walking a path towards body positivity and freedom.
Sidebar! You might be wondering: Black is capitalized, white is not. Why? Read why the Associated Press updated its guidelines around capitalizing ethnicities. To sum it up, it's because Black people have a shared history of discrimination AND culture, whereas white people, well, don't. And capitalizing the W in white just screams White Supremacy (<— see what I did with that capitalization there? It matters.) Capitalize the 'B,' not the 'w.' Moving on.
Give Me More Details
A Guide To Crushing Girlhood: Feminist AF is a girls empowerment book, part of a growing collection of feminist books for teens that focuses on introducing profound concepts surrounding identity and feminism in a connective, we-got-your-back way.
Drs. Cooper, Craft Tanner, and Morris wrote this book for "everybody feminist — trans girls, cis girls, girls with disabilities, BIPOC girls, queer girls, working girls, nonbinary folx, and our non-girl allies."
Translation: If you have a budding feminist — or teen questioning their gender and identity —this is a fantastic empowerment book to add to their collection.
This is one book that doesn't discriminate. The underlying theme is to get a crew together who will support you as you learn, grow, and question society and your role in it.
One of my favorite lines in the book is, "Have you ever heard the 'prayer' Lord, give me the confidence of a mediocre white boy?" - page 30
HOW CAN YOU NOT LOVE THAT?! It's just so true. We breed boys as risk-takers and challengers while training girls to sit down and shut up. Anyone that has been to middle school knows that.
A Guide To Crushing Girlhood: Feminist AF addresses common stereotypes and breaks down where they came from and why they need to change. It's a breath of fresh air, delivered with snappy comments and tons of helpful links for body and identity positive influencers to follow, books to read, podcasts to listen to, and documentaries to watch.
Let's Talk Language & Triggers
This book is brutally honest but no more so than what's likely going through your teen's mind and social media feeds at this very moment. Hopefully, your teen already has a supportive crew, but if they're struggling, this book will give them some hope.
Support and good friends are out there, waiting to be discovered.
Yes, there's some language, but I'm betting your teen is well-versed in it already. But it's not written for you, Mom/Dad/teacher, but for your teen struggling with identity, confidence, and essential topics.
They cheer, swear, cry, educate, inspire, and promote feminists and their allies, all the while keeping it real and not wasting any time.
Exploring girlhood and body image stereotypes and how these are fundamental ways to keep women and marginalized identities from taking more power make this a powerful introduction to intersectional feminism.
Also, the authors do a great job of warning readers of potential triggers, offering enough detail to know if you need to skip ahead or keep reading.
It's a win. Buy it. A Guide To Crushing Girlhood: Feminist AF is meant for anyone who has looked at the people "in charge" and thought, get the hell out of here— you don't look, feel, or act anything like me.
This book is for anyone who rolls their eyes when the white guy in the room "decides" something needs to be done a certain way and gets his way. Every time.
It's for everyone who agrees or is catching on to the fact that the capitalistic patriarchy (basically white men running everything) is meant to keep rich white guys in charge.
Let me be clear: This book is not about how much your white dad/teacher/boss/brother/classmate sucks, but instead how your teen can recognize, and do their part to change, an unjust system.
Whew, that's a lot to unpack.
The book gives the reader the phrases, definitions, support, and ideas for challenging traditional roles and biases in society. It offers teenagers the inspiration and tools to move confidently in a direction that meets their —perhaps unspoken—needs.
A great example is when they discuss the nursery rhyme about girls being sugar, spice, and everything excellent. If a girl is deemed too bossy, she's a bitch. If a boy is dictatorial, he's usually "commanding" or "a natural-born leader."
If your teen is a feminist or an ally questioning their own power, identity, place in the world, and/or the political and social structures around them. In that case, this is a great book to get them.
A Feminist Book For Teens and Every Ally
There's a saying that feels like it's been around forever. Maybe you've heard it:
Those who can't do, teach.
Cooper, Craft Tanner, and Morris prove this trope is, beyond any doubt, a load of bull.
These women do it all - innovate, create, teach, and lead. And you can't ask for a better teacher than someone who has not only the real-life experience but leads with the confidence and the hipness of your friend's cool aunt.
We support small business and trying to move away from Amazon. If you don't NEED it tomorrow and can wait a few days, 100% of profits from your purchase through Bookshop will benefit a local bookstore.
And if you do need it ASAP, here's the Amazon link.
Teaching Your Children About Cultural Awareness, Diversity, and Inclusion
3 Keys To Teaching Consent And Respecting Boundaries
Why Science Says We Can't Raise Racially Colorblind Kids


text:
Q: Standard way for Eclipse plugins to run code in a new jvm? I'm working on an Eclipse plugin (a builder) and I'd like to use a library that isn't threadsafe.  Of course, I'd like to run code from that library in parallel.  Is there a standard way for an Eclipse plugin to run code in a new sub-jvm (cross-platform; I don't want to maintain windows/mac/linux/... versions)?  I'm perfectly happy to say that the memory requirements for this feature will be large (multiple gig is fine).

A: I would recommend using a private launch configuration.  We do this extensively in Grails-IDE.  I'd recommend that you have a look at the source code.  Our infrastructure may be more than you need, but it can get you the idea.
You just create a launch configuration for the external process and launch it.  A good place to look at what we do is here:
https://github.com/SpringSource/grails-ide/blob/master/org.grails.ide.eclipse.core/src/org/grails/ide/eclipse/commands/GrailsExecutor.java
The syncExec() method gets a launch configuration for a particular grails command and a particular project, then it customizes it for system processes and listeners.  Finally, then command is launched, synchronously.  This works fairly well for us.

A: If you have a library that is not thread safe, then you need to ensure that the library is used with proper synchronization to avoid any problems. One way, that might suit you, is that you ensure that all utilization of that library happens in a single thread. Another approach which might be more tedious in your case is that all methods that utilize the library are synchronized. In cases similar to yours I have always preferred the former.
You can create a special thread that would be responsible for all operations that need your library. Depending on your need you can either have all calls asynchronous or synchronous, but you will need to implement some kind of call-back mechanism to get results. A convenient way to achieve this is to use the Executor interface. Implement an executor that will ensure that all tasks are run within within the same thread in the order they were pushed to the executor. The docs for Executor have a nice example to give you a start. You can add additional methods to that example to have a synchronous execute, and even an execute method that returns results synchronously. For this you can have a look at the Callable interface as well.


text:
Cops Finally Limit License Plate Data Collection… Because of Hard Drive Space
Leah Becerra
Filed to:cops
The Oakland Police Department, like many local police forces, employs a license plate reader, collecting data on locals' commutes, rituals, and private behavior. Until recently, all the data from the plate surveillance was stored for however long a computer could hold it. But in discrete fashion the police department did away with the "no formal limit" rule and is now only keeping the data for six months.
What changed? Did police finally determine they should put a cap on the invasive surveillance of private citizens? Did they come to their senses after a detailed Ars Technica article about the privacy implications of mass license plate data collection, as Ars suggests?
Nah. According to the sergeant in charge of Oakland's system, the computer's hard drive just ran out of space and procedure kept them from getting another one.
The OPD system saving all the data, by the way, is a computer running Windows XP with an 80GB storage drive. At one point, the dataset the computer held had more than 4.6 million scans, reports Ars, and that only represented December 2010 through the end of May 2014. That's a massive time span; in comparison, it seems like the new six-month limit will leave the 80GB drive mostly empty.
Which is a good thing. The data being collected is relatively harmless if viewed in a vacuum, but when cross referenced with other data sets a person's private life could almost be plotted out on a map. Some states have already begun to recognize this practice as an invasion of privacy and banned the use of plate readers, like in New Hampshire, or at least limited the use, like in Maine, New Jersey and Virginia.
[Ars Technica]
Image: Dice.com/Flickr


Members of a student club at Schoo Middle School are celebrating Black History Month by spreading its message of awareness and acceptance of diversity.
"We work on helping everyone realize that there are a lot of different cultures. We're trying to embrace that in this club," said Feryal, a seventh-grader and a member of the group Diversity Leaders.
They're researching local African-American heroes and one of the students reads a short biography of the person during morning announcements. The club's sponsor, counselor Mary Schuster-Graff, said the students have drawn on research done by Lincoln Journal-Star columnist Cindy Lange-Kubick as part of her series of columns in February that feature prominent local African-Americans.
They've displayed photos of the African-American heroes in the school library, along with their research so other students can read about them.
The club's members have lofty goals but they're determined to make a difference, said Arac, a seventh-grader.


Objective: To study the effect of erythropoietin (EPO) treatment on renal and lung injury following renal ischemia/re- perfusion (I/R).
Materials and Methods: Thirty male Wistar rats were assigned to three groups of 10 rats each. The first group was sham-operated, the second was subjected to re- nal I/R (30 min of ischemia foll owed by 24 h of reperfusion). The third group was subjected to renal I/R and treated with EPO in two doses: the first dose 1 h prior to ischemia (1,000U/kg) and the second dose 6 h after ischemia (1,000 U/kg).
Results: The renal and lung tissue injury index, tissue serum blood urea nitrogen and creatini ne (Cr) were higher in the renal I/R group compared to th e renal I/R + EPO group; the difference was statistically significant (p<0.05). Kidney and lung tissue glutathione peroxidase and superoxide dismutase levels were higher in the renal I/R + EPO group than the renal I/R group; the difference was also statistically significant (p<0.05).
Conclusion: The data showed that EPO pretreatment could be effective in reducing renal and lung injury following renal I/R and could improve the cellular antioxidant defense system. Hence EPO pretreatment may be effective for attenuating renal and lung injury after renal I/R-induced injury during surgical procedures, hypotension, renal transplantation and other conditions inducing renal I/R.


text:
Xenophobic Attacks: Annex MTN, DSTV, Stanbic, Standard Chartered Bank…APC Tells FG
The ruling All Progressives Congress APC on Thursday came hard on the South African government, accusing it of backing the wave of xenophobic attacks on Nigerians and other Africans in the rainbow nation, and asked the President Muhammadu Buhari administration to take steps to immediately nationalize telecommunications giant, MTN.
The party which equally advocated stringent measures against Multichoice (DSTV), Standard Chartered Bank and Stanbic Bank as well as other South African business interests in Nigeria, declared that Africa can no longer be the centrepiece of Nigeria's foreign policy.
National Chairman of the party, Comrade Adams Oshiomhole stated the position of the party late Thursday evening at the end of a meeting of the National Working Committee NWC of the party in Abuja.
Oshiomhole who was flanked by members of the NWC said the party has now given the needed support base for President Buhari to go on the offensive in order to sound a note of warning to other African countries who may want to copy the antics of the South Africans.
While the party asked Nigerians to boycott all South African goods and businesses, APC accused the African National Congress ANC administration in South Africa of backing the killings of Nigerians, querying why it has been so difficult to arrest and sentence perpetrators of xenophobic attacks in the country.
"Having listened to all the explanations from the authorities in South Africa, these people (Nigerians) are neither being accused of being irregular migrants nor are they involved in any illegal activities. Those who have business permits to setup businesses whether they are petty traders or small manufacturers, they are operating within the letters of the laws of the South African nation.
"Over the past few years and virtually every other week, Nigerians are being wasted in one part of South Africa or the other. We know that the federal government has had conversations with the South African authorities drawing their attention to these abuses but the escalation of the attacks on foreigners many of who are Nigerians have reached a level that is no longer tolerable.
"At some point, people wondered whether these attacks had the backing of the South African government. What has been clear over the period is that the South African authorities have not demonstrated sufficient commitment to bringing these attacks to an end.
For example, in spite of the fact that many peoples lives have been wasted, not one South African is known to have been convicted and sentenced to prison for acts of murder or robbery", said Oshiomhole.
Speaking further, Oshiomhole said; "South African companies are making billions of dollars from the Nigerian economy year in year out and repatriate same out of Nigeria. MTN was recently in the stock market and some Nigerians bought shares in MTN but in a moment like this and in order to send a very strong message to South African authorities and the South African people, we call on the Nigerian government to take steps to take over the remaining shares of MTN that are owned by South Africa so that MTN becomes fully Nigeria owned.
"I think right away, Nigerians in our individual capacities, this is the moment to show our commitment by boycotting South African goods and beginning with Nigerians refusing from today to use MTN services. If Nigeria decides at least for the next 30 days to stop using MTN, they would have sent a clear message. "We should reflect why we should continue to allow DSTV to repatriate millions of dollars to South Africa arising from their activities in Nigeria.
We have reviewed all of those things that give South Africans monopoly such that they make money with very little value addition. "To show that we mean business and in practical steps, South African Airways, their landing right in Nigeria should be revoked until these issues are sorted out.
"Many Nigerians believe that Shoprite is owned by South Africans; they are repatriating money purely from the franchise, both the capital with which these shopping malls are built are Nigeria's, the shop owners are Nigerians. This imposes an obligation on the government to review any agreement that gives South Africans the right to begin to develop a monopoly in our commercial lives.
"We also know that Standard Chartered Bank and Stanbic Bank, are all South African Banks, Nigerians may have more shares there if any. It is time to ask them to wind up so that Nigerian Banks will take advantage of their departure and expand their operations. We have enough to save by transferring these businesses to Nigerians".
Tags: annex, attacks, chartered, stanbic, standard, tells, xenophobic
Previous MTN Workers Beg Nigerians Over Xenophobia Attacks
Next FG, States, LG Share N3.84tr In First Half Of 2019..Delta State Receives Highest Allocations
Sterling One Foundation Wins Big at the ECOSEA 2022 Awards


A whopping 91 percent of tech moms want it for Mother's Day instead of flowers, teachers deem it the future of education (though DoJ disagrees), it's used everywhere for work, has managed to break Amazon's monopolistic grip on the publishing industry – and yet it shows no sign of slowing down.
And even as rivals face downturn, folks are picking their iPads like there's no tomorrow. This is the crux of latest market tablet survey by research firm IDG which pegged Apple's worldwide tablet share in Q1 2012 at 68 percent, up from 54.7-percent in the year-ago quarter.
According to IDC, worldwide tablet market in the first quarter of 2012 was 17.4 million units strong, of which 11.8 million were iPads. The Cupertino company grew its worldwide share from 54.7 percent in the year-ago quarter to 68 percent in the first quarter of this year.
With Apple shinning at the top spot, Samsung ranked second and Amazon was third. Lenovo finished the quarter in fourth place and Barnes & Noble was fifth.
Apple's gain was Amazon's loss as its Kindle Fire tablet plummeted from 16.8 percent share in the year-ago quarter to just four percent share in Q1 2012. Consumers are obviously responding well to an all-purpose tablet compared to a content consumption Kindle Fire, IDC noted.
Apple reasserted its dominance in the market this quarter, driving huge shipment totals at a time when all but a few Android vendors saw their numbers drop precipitously after posting big gains during the holiday buying season.
Mainelli also observed that the likes of Amazon and Barnes & Noble (now in bed with Microsoft) figured out early on that the only way to compete with Apple is to price their tablets "at notably lower price points".
The iPad's universal appeal has seen the device hit the ground running across the globe, spanning age, gender, nationality and even income. And while Apple's focus on premium quality is paying off big time, rivals are still clueless, scrambling to release hastily designed Android tablets with short shelf life.
Tablet shipments declined -34 percent from the holiday quarter's record-breaking 28.2 million units, which was expected. IDC thinks shipments will rebound as Android backers bomb the market with thinner, lighter, faster products in the second quarter and beyond.
I'd rather change my strategy if I were them.
Besides, I just can't get enough of that voiceover talent.
So… Are you in the market for an Android tablet?


text:
"""
Kaggle: titanic
@author: Yannick Abba

predict if a passenger survived the sinking of the Titanic or not.

PassengerId -- A numerical id assigned to each passenger.
Survived -- Whether the passenger survived (1), or didn't (0). We'll be making predictions for this column.
Pclass -- The class the passenger was in -- first class (1), second class (2), or third class (3).
Name -- the name of the passenger.
Sex -- The gender of the passenger -- male or female.
Age -- The age of the passenger. Fractional.
SibSp -- The number of siblings and spouses the passenger had on board.
Parch -- The number of parents and children the passenger had on board.
Ticket -- The ticket number of the passenger.
Fare -- How much the passenger paid for the ticker.
Cabin -- Which cabin the passenger was in.
Embarked -- Where the passenger boarded the Titanic

Results          Model  Score  Kaggle
0        Random Forest  84.36  75.60
1  Logistic Regression  83.80
3            XGB Trees  82.68
2           Kernel SVM  63.69

"""

""" wrangle data"""

# import libraries
import pandas as pd
pd.set_option('display.max_columns', None)
import re
import seaborn as sns

# define working directory
PATH = r"C:\Users\your\own\folder"

# read data
df_train = pd.read_csv(f'{PATH}\\train.csv', index_col='PassengerId')

# explore data
df_train.info()

# modify data types
df_train['Survived'] = df_train['Survived'].astype(str)
df_train['Pclass'] = df_train['Pclass'].astype(str)

# define target variable
target = df_train['Survived']
df_train = df_train.drop('Survived',axis=1)

# explore distributions
df_train.describe()

# check for missing data
sns.heatmap(df_train.isnull(),yticklabels=False,cbar=False,cmap='viridis')
df_train.isnull().mean()
df_train.isnull().sum()

# impute missing data - Age
df_train.groupby(['Sex','Pclass']).median()['Age']

def impute_age(cols):
    Age = cols[0]
    Pclass = cols[1]
    Sex = cols[2]

    if pd.isnull(Age):
        if Sex == 'female':
            if Pclass == 1:
                return 35
            elif Pclass == 2:
                return 28
            else:
                return 22
        else:
            if Pclass == 1:
                return 40
            elif Pclass ==2:
                return 30
            else:
                return 25
    else:
        return Age

df_train.Age = df_train[['Age','Pclass','Sex']].apply(impute_age,axis=1)

# impute missing data - Embarked
df_filter = df_train[df_train.Embarked.isnull()] # Embarked only has 2 missing values, both missing values are 1st class tickets at $80
df_train.groupby(['Embarked','Pclass']).median()['Fare'] # Likely, both passengers Embarked at 'C'
df_train.Embarked = df_train.Embarked.fillna(value='C')

# impute missing data - Cabin
def simplify_cabin(df):
    df.Cabin = df.Cabin.fillna('Missing')
    df.Cabin = df.Cabin.apply(lambda x: x[0])
    return df

df_train = simplify_cabin(df_train)
df_train.Cabin.value_counts()

# feature engineering - title
def extract_title(df):
    df['Title'] = df.Name.str.extract(' ([A-Za-z]+)\.')
    return df

df_train = extract_title(df_train)
df_train.Title.value_counts()

df_train.Title = df_train.Title.replace(['Dr','Rev','Col','Major','Don','Lady','Countess','Jonkheer','Capt','Sir'],'Rare')
pd.crosstab(df_train.Sex,df_train.Title)

df_train.Title = df_train.Title.replace('Mlle','Miss')
df_train.Title = df_train.Title.replace('Ms','Miss')
df_train.Title = df_train.Title.replace('Mme','Mrs')

# feature engineering - name
df_train['Surname'] = df_train['Name'].apply(lambda x: x.split(',')[0])

# feature engineering - family
df_train['Familysize'] = df_train['SibSp'] + df_train['Parch'] + 1
df_train['Family'] = df_train.Surname +'_'+ df_train['Familysize'].astype(str)

# feature engineering - age
def simplify_age(df):
    bins = (-1, 0, 14, 24, 65, 120)
    group_names = ['Unknown', 'Child', 'Youth','Adult','Senior']
    categories = pd.cut(df.Age, bins, labels=group_names)
    df.Age = categories
    return df
df_train = simplify_age(df_train)

# feature engineering - is a parent
df_train['Parent'] = 'No'

def impute_parent(cols):
    Age = cols[0]
    Parch = cols[1]
    Parent = cols[2]

    if Parent == 'No':
        if Age in ('Adult','Senior'):
            if Parch > 0:
                return 'Yes'
            else:
                return Parent
        else:
            return Parent
    else:
        return Parent

df_train.Parent = df_train[['Age','Parch','Parent']].apply(impute_parent,axis=1)

# feature engineering - is married
df_train['Married'] = 'No'

def impute_married(cols):
    Age = cols[0]
    SibSp = cols[1]
    Married = cols[2]

    if Married == 'No':
        if Age in ('Adult','Senior'):
            if SibSp > 0 :
                return 'Yes'
            else:
                return Married
        else:
            return Married
    else:
        return Married

df_train.Married = df_train[['Age','SibSp','Married']].apply(impute_married,axis=1)

# feature engineering - ticket
df_train['TicketD'] = 'num'

def impute_ticket(cols):
    Ticket = cols[0]
    TicketD = cols[1]

    if TicketD == 'num':
        if bool(re.search('[a-zA-Z]', Ticket)):
            return 'char'
        else:
            return TicketD
    else:
        return TicketD

df_train.TicketD = df_train[['Ticket','TicketD']].apply(impute_ticket,axis=1)

# feature engineering - fare
def simplify_fare(df):
    df.Fare = df.Fare.fillna(-0.5)
    bins = (-1, 0, 8, 15, 31, 1000)
    group_names = ['Unknown', '1_quartile', '2_quartile', '3_quartile', '4_quartile']
    categories = pd.cut(df.Fare, bins, labels=group_names)
    df.Fare = categories
    return df

df_train = simplify_fare(df_train)

# remove redundant columns
df_train = df_train.drop(['Name','SibSp','Parch','Ticket','Surname','Familysize'],axis=1)

# encode variables
df_train = pd.get_dummies(df_train, drop_first=True)

# split data
X = df_train
y = target

from sklearn.model_selection import train_test_split
X_train, X_test, y_train, y_test = train_test_split(X, y, test_size = 0.2)

""" train models """

# train random forest
from sklearn.ensemble import RandomForestClassifier
trees = RandomForestClassifier(n_estimators = 100, criterion = 'entropy', random_state = 0)
trees.fit(X_train, y_train)

# fitting xgboost trees
from xgboost import XGBClassifier
xgb = XGBClassifier(objective='binary:logistic', n_estimators=100)
xgb.fit(X_train,y_train)

# train logistic regression
from sklearn.linear_model import LogisticRegression
logmodel = LogisticRegression()
logmodel.fit(X_train,y_train)

# train Kernel SVM
from sklearn.svm import SVC
kernel = SVC(kernel = 'rbf', random_state = 0)
kernel.fit(X_train, y_train)

""" evaluate models """

# compute accuracy scores, (60% is acceptable, 70% is good, 85% is very good)
acc_rfc = round(trees.score( X_test , y_test ) * 100, 2)
acc_xgb = round(xgb.score(X_test, y_test) * 100, 2)
acc_log = round(logmodel.score( X_test, y_test ) * 100, 2)
acc_svm = round(kernel.score(X_test, y_test) * 100, 2)

models = pd.DataFrame({
        'Model':['Random Forest','XGB Trees','Logistic Regression','Kernel SVM'],
        'Score':[acc_rfc, acc_xgb, acc_log, acc_svm] })

models.sort_values(by='Score', ascending=False)

""" test models """

pred_rfc = trees.predict(X_test) # random forest
pred_xgb = xgb.predict(X_test) # xgb trees
pred_log = logmodel.predict(X_test) # logistic regression
pred_svm = kernel.predict(X_test) # kernel svm

""" assess models """

from sklearn.metrics import classification_report

print(classification_report(y_test,pred_rfc)) # random forest
print(classification_report(y_test,pred_xgb)) # xgb trees
print(classification_report(y_test, pred_log)) # logistic regression
print(classification_report(y_test,pred_svm)) # kernel SVM

""" test data pipeline """

df_test = pd.read_csv(f'{PATH}\\test.csv', index_col='PassengerId')
df_test['Pclass'] = df_test['Pclass'].astype(str)
df_test.Age = df_test[['Age','Pclass','Sex']].apply(impute_age,axis=1)
df_test = simplify_cabin(df_test)
df_test = extract_title(df_test)
df_test.Title.value_counts()
df_test.Title = df_test.Title.replace(['Dr','Rev','Col','Major','Don',
                                         'Lady','Countess','Jonkheer','Capt','Sir',
                                         'Dona'],'Rare')
df_test.Title = df_test.Title.replace('Mlle','Miss')
df_test.Title = df_test.Title.replace('Ms','Miss')
df_test.Title = df_test.Title.replace('Mme','Mrs')
df_test['Surname'] = df_test['Name'].apply(lambda x: x.split(',')[0])
df_test['Familysize'] = df_test['SibSp'] + df_test['Parch'] + 1
df_test['Family'] = df_test.Surname +'_'+ df_test['Familysize'].astype(str)
df_test = simplify_age(df_test)
df_test['Parent'] = 'No'
df_test.Mother = df_test[['Age','Parch','Parent']].apply(impute_parent,axis=1)
df_test['Married'] = 'No'
df_test.Married = df_test[['Age','SibSp','Married']].apply(impute_married,axis=1)
df_test['TicketD'] = 'num'
df_test.TicketD = df_test[['Ticket','TicketD']].apply(impute_ticket,axis=1)
df_test = simplify_fare(df_test)
df_test = df_test.drop(['Name','SibSp','Parch','Familysize','Ticket','Surname'],axis=1)
df_test = pd.get_dummies(df_test, drop_first=True)

missing_cols = set(df_train.columns)-set(df_test.columns)
for c in missing_cols:
    df_test[c]='0'
df_test = df_test[df_train.columns]
df_test = df_test.astype(str)

""" predict the actual Test data """

# run best model (random forest)
predictions = trees.predict(df_test)
output = pd.DataFrame({ 'PassengerId' : df_test.index.values, 'Survived': predictions })
output.head()
output.to_csv('titanic_predictions_v6.csv', index = False)

redpajama_set_name: RedPajamaGithub


text:
Okay, so there hasn't been one of these in a while but with good reason - I'm now just madly trying to get the film cut in rough so we can move on to the next steps - slotting in the effects, mastering the audio, grading the image etc.
And it's taking a long time. Well, hopefully it won't be like this for the rest of the edit but I blocked out last weekend with the express intent of getting three whole scenes cut. I just about managed one. There's a very good reason for that which I won't go into just yet but it harks back to scAIRcrows being an educational experience. Something happened during one of the shoot days that I should have seen would turn out to be a problem but didn't and my weekend suffered for it.
I'm happy to say though that I cut around the problem - the scene was so well covered that if I never told you what was the problem with it, you would never guess. And, it's even turned out to be my favourite of the four scenes that we have in a cut form. But it was the most painful to put together.
It got me thinking though that once the film's finished I'll write quite a detailed post mortem on the film. What went wrong, what went right and all of that. I think it's a useful exercise and anyone that was involved in the production may take something from it. For example, I can now tell actors exactly why sometimes their best takes aren't used in the finished film. It never made sense to me that directors/editors would choose instances where the performance weren't as good as in other takes. I now understand why that happens because I've had to do it myself (anyone that's in the film, don't worry - I haven't put anything in the film that I'm unhappy with, I've just sometimes lost my preferred shots). I now realise more than I did just how collaborative film is to the point that everything everyone does is reliant on the next person doing everything that they're supposed to do. It's actually a real eye opening experience.
I also think another thing that I need to do for the next film is not stand behind the camera. I think I was too focused in making sure that the image looked okay that in some cases, I didn't notice things in the scene that I should have done. I think next time around, I set the cameras up how I want them but let someone else actually stand behind them to make sure nothing happens. I need to be watching the scene, not the shot.
If all of this sounds overly negative, it isn't. I'm more than happy with what we have but as we get deeper into the cut I'm just noticing tiny little things that if I had a second chance, I would change.
And, as I mentioned earlier, the thing that's caused me the most bother so far - I challenge anyone (Jenny and Wayne - not you because you know what it is!) to actually tell me what it is. You won't notice it and that's a cast iron guarantee. As I say, once the film's out there and people have seen it, I'll go into detail into these little quirks but right now - I don't want them to distract from the film.
Another attempt at editing the film is happening today - this time my focus is just on getting the two scenes that I was also supposed to cut last week done. I think it's achievable as I recall them being a lot simpler in setup. I hope.
It's coming together though and quite nicely too, I've now created a 'workprint' project - as I cut the scenes chronologically, each finished scene gets dropped into this project so we're now getting a feel for the film playing in sequence rather than in isolated scenes. So we have the first 7 minutes running and there are changes to make within those 7 minutes but at the moment, it's just about getting the skeleton built as quickly as possible and then returning to make the refinements rather than getting caught up in relatively minor details.
Back to the edit I go.
Posted by scAIRcrows at 10:49
On Writing and Directing
scAIRcrows
Upcoming short film about scarecrows that fly. And kill. http://www.scaircrows.com.


Sugaring is a natural and gentle alternative method of hair removal. Body sugaring wax has a softer consistency and is used with denim strips. You can use it anywhere you would wax or shave. Body sugar removes your entire hair including the follicle bulb. In fact, it dates back to the queen of beauty herself, Cleopatra.
Learning how to sugar at home is easy with JBHomemade's Soft Sugar Wax Hair Removal. I provide everything you need in this sugaring set. First, use the included cornstarch to create a natural dry barrier. By following the included instructions use the sugar wax to remove your hair. Use the provided applicator and denim strips. After your at home sugaring session, use the provided pure aloe Vera to soothe if you need it. Most people don't! But it's there if you need it. Natural sugaring is so gentle that any redness on sensitive skin is rare and quickly fades.
All Natural hair removal to remove your hair naturally, gently, and completely including the follicle.
100% Pure Garden Aloe I make from scratch, and is organically grown to address any soothing needs.
Cornstarch for dusting your skin just prior to the sugaring hair removal method.
This product is fantastic for anyone that would like a natural alternative to shaving or waxing without all the expense and hassle of going to the salon.
Jar can easily be recycled/reused!
Use the provided Pure Aloe Vera for any soothing needs right after sugaring. Any sensitivity or pinkness should subside within an hour or so.
Follow up by gently exfoliating the sugared area after 48 hours. Exfoliating will prolong the smooth results and ensure minimal chance of ingrown hairs caused by dead skin cells blocking the pores.


text:
China Spotlight:
Is There Really a Need for Foreign Philanthropy?
In this series I talk about why we think working in China is one of the most interesting opportunities in philanthropy today, despite the rise in local wealth and new regulations that will bring foreign activities under stricter control.
There are big changes ahead for philanthropy in China. Two new laws, the Law on the Management of the Activities of Overseas NGOs within Mainland China (dealing with foreign donors and organizations) and the Charity Law (focused on the China's local charitable sector), will profoundly change the rules of future engagement.
As of January 2017, all foreign funders and NGOs must register with the Ministry of Public Security in order to implement or fund activities.
Continuing to work in China will mean accepting the implications of a new reality: that some activities which are now relatively straightforward, such as sending funds to local partners from an overseas base or funding one's own activities directly, may prove extremely complicated in just a few months.
In the new system, foreign funding for service-oriented groups in approved areas, like disaster relief and education, will potentially find a welcome place. Groups focused on support for advocacy and rule of law, however, may find they have little incentive to even attempt registration, considering the narrow chance their applications will be accepted.
The good news is that, once registered, many foreign donors will have a clear legal position in the country for the first time. The challenge right now is that there are many unanswered questions around the implementation of both laws, so stakeholders are having to wait anxiously to know how to proceed.
We have been closely monitoring the situation to help advise our clients, but, as of now, no one really knows the impact of China's new security framework.
Why China, why now?
In a world where there is no shortage of global issues that merit private philanthropic funding, it is reasonable to question why international donors should prioritize a middle-income, stable country that is putting up burdensome barriers to entry.
Our answer is this: closing the door on working with China now would mean leaving at the critical moment when the country has just made a great jump in progress but before the local philanthropy sector is ready to stand on its own.
China's stunning economic rise led to the largest drop in extreme poverty in human history, from 88 percent in 1981 to just 6 percent today according to World Bank data. Leaders and citizens are right to point proudly to this achievement, but consider the picture of the unmet need among highly-vulnerable groups in a country of 1.36 billion people:
Over 80 million people in China (about the population of Germany) still live in extreme poverty, on less than $2 per day
One-third of China's 220 million elderly citizens live below the poverty live
There are 7.3 million adults with intellectual disabilities and over 1.6 million children with autism; less than five percent of those affected received specialized care or education
60 million children have been left behind by migrant parents who have moved to urban areas for work; many experience psychological problems including anxiety, insomnia, low self-image, and depression
Those of us that work in the region know that the picture of wealth promoted in Western media largely ignores the need below the surface.
In many cases, assistance in the form of specialized skills or knowledge is needed more urgently than economic programs. Even the emerging middle class in China have difficulty finding quality services for their family members with special needs.
There are simply not enough people trained in non-profit management or social work, and not enough funded agencies to hire them. For example, China's government estimates that by 2020 more than two million social work positions must be filled to help meet basic needs—about forty times the number of trained workers active today.
China needs support to test and prove localized solutions
Major efforts are underway in the private and public sectors to reach vulnerable people and create a stable, prosperous society. China's strategic central plans have set ambitious targets for poverty reduction, access to special education, and other social programs.
Yet critical pieces are missing, preventing greater access and better services. Most important of these are proven, localized solutions and the ability for organizations to deliver them at scale.
Local organizations are often learning as they go, taking what they can from models that have proved effective in the US, Europe, Hong Kong, or elsewhere and trying to make them work on the mainland. The challenge is that China's operating environment is vastly different in terms of the scale of the need, the lack of focused resources and human capital, and the special relationship between civil society and government.
If China is going to get to a place where the funders and implementers, including government, are able to meet a significant portion of social needs, it needs to find and support those organizations that are able to prove effective models that can succeed specifically in China. It also needs to invest in building a pool of qualified service providers to deliver these solutions at a much larger scale.
China provides a unique testing ground for scaling
Some of the most effective, most mature indigenous nonprofits working in China today are only able to reach a fraction of one percent of their target populations.
Take, for example, Huiling, an organization that we are proud to have worked with for about four years. Huiling, by any measure, is considered the leader in effective work with adults with intellectual and developmental disabilities (IDD), a severely neglected group in China. Huiling's model combines empowerment and individualized care so that adults with IDD are given the tools and support needed to reach their potential.
An adult with IDD participating in one of Huilings programs
Across the country, less than 2 percent of adults with IDD find any services at all, including from all public and private providers. With 1,248 clients as of mid-2016, Huiling is the largest private provider, serving just 0.02 percent of the total market of seven million Chinese adults with IDD. Even at a healthy growth rate of 10 percent per year, it would take Huiling 60 years to reach just 5 percent of their target population.
We haven't yet seen leaders in China's social sector take solutions to scale, but we think it will happen in the next few years.
The country has characteristics that make it an incredibly attractive testing ground for supporting local organizations to improve quality and scale of service, enabling them to respond to their focus issues in a meaningful way, most likely in partnership with government and other NGOs. Those characteristics include:
Connectivity: In China today over 800 million citizens use the messaging and media platform, Wechat, a powerful tool for exchanging information, ideas, and money between users; Wechat makes retail-level fundraising faster and easier than ever
Changing mindsets: people in China, especially the younger generation, are becoming more familiar with and open to the concept of charitable giving, volunteerism, and social engagement
Mandate: the government has created national plans to strengthen social stability, which include tackling challenges such as poverty and the effects of rural-to-urban migration
Resources: unlike in many other developing countries, China's government and private donors have the funding to make a real impact on meeting social needs
In the near future, China will no doubt make significant progress in tackling its domestic social issues. What will help enhance and accelerate this progress is the continued engagement of international donors who can bring experience and knowledge to the still-nascent philanthropy sector.
In my next blog, I'll explain several of the ways in which donors can realize long-lasting impact if they're willing to make philanthropic investments in China.
More Insights & Ideas
Want Big Social Change? Find a Systems Entrepreneur
Geneva Global Cited as Disaster Relief Expert in Annual Giving Guide
Donors Recognize the Benefits of Outsourcing
Programs That Stay the Same, Fail the Same


Want to quickly get comfortable with working in Blackmagic Design's DaVinci Resolve 14? In this chapter, you are putting together a rough cut. What is the Fairlight page and how does it integrate into your Resolve workflow? In this video, instructor Patrick Inhofer walks you through the Fairlight page in Resolve 14.


All India Rank Assessment Test 2015 is now LIVE!
The prestigious All India Rank Assessment Test 2015 that all have been waiting for is now LIVE!
Do not miss this opportunity to judge your preparation. This is the best time because after this you need to begin serious preparation for your entrance exams.
You can take this test online on simplylearnt.com any time at your convenience before midnight of October 4, 2015.


I am creating a tournament system for an asynchronous turn based game and players will be able to sign up for a tournament that will start a specific date and time.
My goal is to create challenges between all the participants in the tournament. I know this would be possible if the players initiate the creation of the challenges when they are logged by selecting start tournament or something like that.
However, what I want to do is have all the challenges automatically created on the server when the tournament begins. So the question is, how to create challenges between players on the server when the players are not logged in?
You could use SparkRequests to do this. This would allow you create a challenge on behalf of a player regardless of whether they were online at the time or now. You can read about how to do this with a CreateChallengeRequest here. Once you have sent this as a certain player you could also accept the challenge of behalf of another player in the same script so the challenge would be ready for the players when they next came online. Using an AcceptChallengeRequest on behalf of the challenged player add them to the challenge.
To send as another player you can use var response = request.SendAs(playerID); Here playerID would be the id of the player you wish to send request as. You can also use "ExecuteAs(playerID);" to send the request and execute the Cloud Code script for that event in the context of the given player. Does that sound like it would work for you ?


text:
Final countdown begins to Rio 2016
First day of the IOC Session in Rio as Olympic Games move ever closer
Day two of the IOC Session as Rio 2016 countdown continues
All eyes on Rio on the eve of the Olympic Opening Ceremony
Build-up to the Rio 2016 Opening Ceremony
The Rio 2016 Opening Ceremony
Rio 2016: The world reacts to the Opening Ceremony and day one of competition
Rio 2016: Day two of competition
Rio 2016: Day three of competition
Rio 2016: Day four of competition
Rio 2016: Day five of competition
Rio 2016: Day six of competition
Rio 2016: Day seven of competition
Rio 2016: Day eight of competition
Rio 2016: Day nine of competition
Rio 2016: day ten of competition
Rio 2016: Day 11 of competition
Rio 2016: Closing Ceremony
Rio 2016: The Olympic Games prepares to leave town after 17 days of glory
Rio 2016 Olympics Medal Table
United States 46 37 38
Great Britain 27 23 17
China 26 18 26
Russian Federation 19 18 19
Rio 2016 Olympics Results
Men's basketball Basketball
Rio Mayor investigating ways to raise cash to help pay for 2016 Olympics
By Duncan Mackay
British Sports Internet Writer of the Year
January 26 - Rio de Janeiro wants to raise at least $500 million (£314 million) in "Olympic Bonds" to help prepare the city for the 2016 Games, it has been revealed by the Mayor Eduardo Paes (pictured right).
He will ask President Dilma Rousseff and Finance Minister Guido Mantega to authorise the debt issue at a meeting next month.
States and cities in Brazil must get Federal approval for bond issues from the Ministry of Finance and the Central Bank.
Brazil shut down municipal bond issuance nearly 20 years ago to prevent cities from becoming overly indebted.
If Rio's plan is given the go-ahead, proceeds from the city's bond sale will be used to build infrastructure and sports facilities for the Olympics and Paralympics, Paes said.
Brazil's readiness to host high-profile sporting events such as the 2014 World Cup and 2016 Olympics has been questioned by critics who point to the country's outdated infrastructure, high crime rates and widespread poverty.
"There is so much money [we have to raise]," said Paes.
Rio has set its budget at $2.82 billion (£1.77 billion), with another $11.1 billion (£6.9 billion) earmarked for infrastructure costs, including transport upgrades.
There are eight existing venues that need to be renovated in time for the Games, including the João Havelange Stadium where the track and field events will take place.
The velodrome for track cycling, the aquatics centre for diving and water polo and the João Havelange Stadium all need extensive work.
The existing sites for archery, sailing, rowing, equestrian, shooting, kayak and rowing require upgrading.
Up to $200 million (£126 million) has been set aside for improving them.
Meanwhile, another 11 permanent venues costing an estimated $674 million (£423 million) are to be constructed for basketball, judo, taekwondo, wrestling, handball, modern pentathlon, fencing, tennis, swimming and synchronised swimming, canoe and kayak slaloms, and BMX cycling.
Then, at least $78 million (£49 million) will be spent on seven temporary structures for beach volleyball, triathlon, marathon swimming, race walking, road cycling, weightlifting, hockey, mountain biking and modern pentathlon.
Rio has also promised to spend $427 million (£268 million) on an Athletes' Village.
Costs will inevitably raise.
The budget for the 2007 Pan American Games held in Rio was $177 million (£111 million) but it is estimated that the final cost was $2 billion (£1.2 billion).
Another source of funding that Paes hopes to tap into is the Cepac (Certificate of Potential Additional Construction), a real estate title that can be sold at public auctions.
Paes has estimated that an area around the city's port - where many of the venues are scheduled to be built - is now worth $3.5 billion (£2.1 billion) and he plans to sell off some of that land to private investors.
The decision was made after the conclusion of the new Economic Feasibility Study for Rio's port area in November last year.
It is anticipated that the first auction of credits to will be held next month.
Contact the writer of this story at [email protected]
Duncan Mackay Editor
Follow @Duncan_ITG
Duncan Mackay is the editor of insidethegames.biz. Awards include British Sports Writer of the Year in 2004, British News Story of the Year in 2004 and British Sports Internet Reporter of the Year in 2009. Mackay is one of Britain's best-connected journalists and during the 16 years he worked at The Guardian and The Observer he regularly broke a number of major exclusive stories, including the news that British sprinter Dwain Chambers had tested positive for banned performance enhancing drugs.
Contact Duncan
Read more of Duncan's articles
Follow @Duncan_ITG on Twitter


text:
Олекса Берест ( , Київ) — український естрадний співак, автор пісень. Переможець Першого міжнародного фестивалю «Слов'янський базар» 1992 року. Заслужений артист України (1999).

Життєпис
Олекса Берест (справжнє ім'я — Морозов Олександр Юрійович) народився 14 серпня 1962 року у Києві. Закінчив Київський інститут культури (1984). Популярний естрадний співак у 1990-х роках, автор пісень і виконавець. Заслужений артист України (1999). Переможець та Лауреат 1-ї премії на 1-му міжнародному фестивалі мистецтв «Слов'янський базар» у Мінську (1992). Переможець Всеукраїнського фестивалю «Пісенний вернісаж» (1997).

Працював у Київській філармонії (1986–89); у 1989—2002 — співак і музичний керівник концертно-творчої організації «Київщина», від 2002 — викладач естрадного співу в Київському обласному училищі культури та мистецтв.
Викладач, Доцент кафедри музичного мистецтва естради та звукорежисури Академії мистецтв імені Павла Чубинського..

Альбоми: «Краса» (1993), «Моєму серцю волі дай» (1994). Відеофільми: «Зустріч у Львові» (телекомпанія «Міст», 1993), «Олекса Берест» (УТ-1, 1994).

Примітки

Посилання
 ЕНЦИКЛОПЕДІЯ СУЧАСНОЇ УКРАЇНИ

Заслужені артисти України
Співаки України XX століття
Автори-виконавці України
Українські композитори
Українські музиканти
Переможці музичного фестивалю «Слов'янський базар»
Народились 14 серпня
Народились 1962
Уродженці Києва
Випускники Київського національного університету культури і мистецтв