text:
Q: Python requests too slow compared to Postman or cURL I am trying to make a single API call using different approaches in Python3 but they are all incredibly slow if I compare with the same request in Postman and/or cURL.
This is what I am trying:
headers = {
   "Authorization": "Bearer " + self.access_token,
   "Content-Type": "application/json",
   "Accept-Encoding": "gzip, deflate, br",
   "Connection": "keep-alive",
   "Accept": "*/*",
   "User-Agent": "PostmanRuntime/7.28.2",
   "Cache-Control": "no-cache"
}

session = requests.Session()
api_res = session.get(self.api_endpoint, headers=headers, timeout=self.req_timeout,)

When running this call, it gets stuck for a few minutes until I receive a response. If I use Postman for example, I get the result in 1 second or less.
I also tried using http.client, urllib3 but I still see a huge delay in the call.
I also tried debugging the call:
import http.client

http.client.HTTPConnection.debuglevel = 1
logging.basicConfig()
logging.getLogger().setLevel(logging.DEBUG)
requests_log = logging.getLogger("requests.packages.urllib3")
requests_log.setLevel(logging.DEBUG)
requests_log.propagate = True

Debug response:
[DEBUG] Starting new HTTPS connection (1): ...:443

header: Content-Type: application/json; charset=utf-8
header: Content-Length: 61
header: Connection: keep-alive
header: Date: ...
header: Cache-Control: no-cache
header: Pragma: no-cache
header: Expires: -1
header: WWW-Authenticate: Bearer
header: Access-Control-Allow-Origin: *
header: P3P: CP="IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"
header: Access-Control-Allow-Methods: GET, POST, OPTIONS, HEAD
header: X-XSS-Protection: 1; mode=block
header: Access-Control-Allow-Headers: accept, authorization, content-type, Cache-Control, P3P, GE-IGNORE-CACHE, Signature, fromMobile, ssoToken, fromAdmin, fromGameapp, fromGtv, fromGameapp, ManagerOrgUnitUserName, ManagerOrgUnitId, g-s-x, g-s-x-t, g-s-i-i, User-Agent, Referer, Origin, Access-Control-Allow-Headers
header: X-Content-Type-Options: nosniff
header: X-XSS-Protection: 1; mode=block
header: Referrer-Policy: same-origin
header: Strict-Transport-Security: max-age=31536000; includeSubDomains
header: X-Cache: Error from cloudfront
header: Via: 1.1 ....cloudfront.net (CloudFront)
header: X-Amz-Cf-Pop: ORD52-C1
header: X-Amz-Cf-Id: ...

Any ideas about why is it so slow? What it doesn't happen when I replicate to Postman for example?
Even from Google is taking a lot of time:
requests.get("https://www.google.com")

I also realized that it's working with ipv4 and NOT with ipv6.
Thanks!

A: I found out that IPv6 was not working but IPv4 was. I had to force calls to IPv4 like this:
import socket
import requests.packages.urllib3.util.connection as urllib3_cn

urllib3_cn.allowed_gai_family = lambda: socket.AF_INET


Profits at Norfolk's leading independent companies have tumbled by nearly a fifth over the past year while business performance has stalled, according to a major new survey of the county's economy.
But Grant Thornton's Norfolk Limited 2016 report – a look at the public accounts of the county's 100 leading independent businesses – presents a more nuanced picture of the county's economy over the past year and, the firm insists, paints a picture of modest growth in uncertain times.
We are very pleased to today find ourselves leading the pack in a new category this year.
The 2016 Norfolk Limited report contains a new category, listing the 25 highest-growth companies in the county which did not make the final list.
The Ones to Watch index is headed by Warings Furniture, which has shown turnover growth of 78% in the past two years to £8.47m, ahead of technology supplier Snellings, with a £10.45m turnover and 56% growth.
The findings of the report, which concentrate on businesses owned and managed within the county. We are very pleased to have been honoured with a mention and to fly the flag for Norfolk said, Director Stuart Smith.


Microdrones was honored to accept the prestigious TÜV certification that recognizes our services and products that meet and achieve customer expectations worldwide. For our customers, this proves our organizational efficiency and product quality have met demanding criteria.
Within the past year, customers were asked to complete a survey representing our regional sales and support activity. Customers were asked a range of questions from how often our sales team members worked with their clients to how effective in-person demos were.
Organization has established management system, including risk identification, self-assessment and continuous improvement on its performance.
Organization analyzes and considers the quality requirements of its customers and the requirements of the applicable standard.
Organization defines the required characteristics of the products and services offered and the underlying processes, and ensures regular surveillance to meet the quality of customers, authorities and regulatory bodies.
The certification is conducted every two years from the Technical Control Society. At Microdrones Siegen, Germany location, Quality Manager Niklas Hahn works diligently to ensure our workflow in every department is achieving the standard year-round.
Every department must be carefully structured with step by step workflows well documented.
Tracking tools such as KPI's (Key Performance Indicators) are implemented and benchmarked.
The sales team must keep a detailed record of their customer communication.
All department heads meet with Hahn and TUV to review strategic plans and reports confirming that Microdrones is a safe work environment and has successfully adhered to strict guidelines to achieve the certification.
Microdrones passed on the spot and will hold the recognition through 2019, when it is next due to undergo the review process.
For more information on Microdrones and what we have to offer for your mapping needs contact one of our salespeople today.


Build pipeline of candidates and create a database for faster response to our current and future client demands.
Drive focused searches through a variety of channels, including job boards, user groups, niche sites, networking sites, etc.
Shall have minimum 2+ years experience in Domestic staffing industry as a recruiter.
Prolifics creates competitive advantage for organizations around the world by implementing customized, end-to-end IT solutions that achieve business success, leveraging leading technologies in a global delivery model. For more than 35 years, our industry-specific insights and certified technology accelerators have transformed organizations around the world by solving complex IT challenges. We have a Global presence across North America, Europe & Asia. In India we have five off-shore development centers; four in Hyderabad and one in Pune. Prolifics is a CMMI Level 5 certified company. We collaboratively work with Technologies from IBM, Microsoft, Open Source and Packaged Application.
Content provided by Prolifics Corporation Limited, Info Edge India Limited disclaims all warranties against infringement.


A rex file extension is related to the Rexx language source code files.
What is rex file? How to open rex files?
The rex file extension is associated with the Rexx a programming language from IBM.
IBM REXX makes programming easier and simpler. It is the language of choice for the experienced professional and for the beginning programmer.
This rex file type entry was marked as obsolete and no longer supported file format.
Use compatible tools to work with *.rex files.


If you've been losing sleep worrying about your finances, hating your job and wondering why you can't make any real money online - here's something GUARANTEED to keep you awake tonight!
Are You Pricing Yourself Out of the Market! Develop Recession Proof Price Points for Online Products! Are You Finding it Harder and Harder to Sell Your High Priced Items? Let's face it! The suffering economy is making your business suffer too - turning your customers into tight wads who are more intent than ever on finding that bargain online!
Discover The Secret Fool-Proof Strategies Of How To Succeed In Network Marketing And Build Your Own Cash Pipeline!
Are you excited about cost-per-action (CPA) networks? Ready to dig in and get started creating lucrative advertising campaigns? Well, before you do, make sure you're in the right mindset. If you know how to create a system that runs efficiently, you can even get to the point where you will be able to generate residual income from offers you posted months ago!
Discover How To Stop Losing Money On Advertising Places That Never Produce Any Result For Your Internet Business And Start Using Free Advertising and Promotion Site Without Paying A Single Penny Like Craigslist?
What Do You Do When Your Back Is Against The Wall - And You Need Emergency Cash NOW?
Yes, Count Them - SEVEN Absolutely Perfect ways to make at least $700.00 in 7 Days ( I said at least, which means that you can possibly make even more).
The report will help anyone who is selling : ebooks, physical information products, subscriptions or memberships, affiliate products, advertising, reprint rights, ghostwritten materials, goods at online auctions.
Discover how the author raked in $1000 in 2 days selling $5 Marketing Templates.
10 Lightning Fast Methods To Generate Instant Cash Within Hours!
Getting traffic doesn't have to be hard - Who Else Wants to Tame the Adwords Beast & Tap Into a Tsunami of People Eager to Spend Money on Whatever You're Offering?
Internet Marketing Has Now Gotten Easier Than Ever! Finally This eBook Explains Internet Marketing In Black & White! Start today, start now, so many people just sit on the information and do nothing about it!
Niche Marketing has been getting a lot of press lately, the subject is popping up everywhere, all of this might lead one to wonder what the big deal is about this fascinating concept.
An idea cookbook to help you prepare now to tap into various niches and to profit from them the coming year.
Who Else Wants To Know How To Build Profitable Niche Blogs That Pull In Cash Like Clockwork?
Is There Only One Buy Now Button On Your Page? If You Think So, You Are Flushing Good Money Down The Drain! Don't Be Left Struggling To Make Money, This Is Your Chance To Hit It Big! Learn How To Squeeze Every Dime Out Of Your Customers Too!
Are You A Frustrated Internet Marketer Looking To Make A Full Time Living Online? Finally, Here Is A Step-By-Step Plan That You Can Follow And Copy That Almost Guarantees Success - Keep Reading To Learn How.
Discover how to leverage the power of Web 2.0 like a Guru even if you area total dummy at it!
Your First Profit Online - Step-By-Step - Knowing just where to begin when you're new to the whole online selling game. With so many others already earning money and touting the praises of their methods, where exactly do you begin?
Attention Internet Entrepreneurs: Is The Recession Giving You A Headache? Beat The Depression By Learning How You Or Anyone Can Generate Instant FAST CASH Even If You Have No Money, No Special Skills Or No Connections On The Internet!
Fool Proof Strategies On How To Succeed In Network Marketing And Build Your Own Cash Pipeline! The most desired state is earning residual income whereby you earn over and over even after putting in your effort once! Majority of professionals that enjoy this type of income are found in lucrative fields such as actors, writers, musicians, singers, and inventors.
How I Discovered A SECRET FORMULA To Online Money-Making That Let Me Quit My Job FAST And How YOU Can Use This Proven Formula To Make Boat Loads Of Your OWN Cash So That You Can Fire Your Boss, Achieve Financial Freedom, And Live Life On Your OWN Terms - Once And For All!
Discover a Simple, 30-Day Plan for Earning More Cold Hard Cash via the Internet Than You Ever Dreamed Possible! Time to Stop Dreaming and Make It All a Reality With The 30 Day Internet Profit Plan (Audio E-Book).


text:
"Young Man On A Mission"
Writer, Photographer and Filmmaker
Sochi Spirit: Whistler's Snowboard Olympians [Whistler Traveller]
Posted on November 25, 2013 April 11, 2014 by Steve
Originally Published in Whistler Traveller Magazine
Whistler's Snowboard Athletes
BY STEVE ANDREWS
In February and March of 2010, Whistler hosted the biggest celebration of the town's history when it welcomed the world for the Winter Olympics and Paralympic Games. The entire village was packed with tens of thousands of athletes and spectators witnessing the pinnacle of human performance. The Games' legacy stretches far and wide in Whistler, from the iconic rings at Celebration Plaza to the Athlete's Training Centre at Cheakamus Crossing (which served as the 2010 Athletes Village).
Whistler's Olympic history dates back far before 2010. Over 50 years ago, the original developers of Whistler Mountain chose the area for its potential to one day host the Games. But the legacy goes far deeper than being a venue for attracting the world's best athletes. In fact, some of the world's best athletes grew up in Whistler, train in Whistler, and continue to call Whistler home.
Whistler athletes are present in a variety of winter sports, but no discipline has been as stocked with local talent as Snowboarding. The huge terrain, deep snow, and excellent park/pipe crews here help incubate some seriously talented individuals. The first snowboarding gold medal ever handed out was to Whistler local Ross Rebagliati in 1998, and since then Canadians have always been in the running for top spot.
In February 2014 several athletes and coaches who call Whistler home will likely be heading to Sochi, Russia to represent Canada in the 22nd Winter Olympics. We had a chance to interview a few of them to find out more about Whistler's ability to groom some of the world's best competitive snowboarders.
Maelle Ricker, 2010 Snowboard cross gold medalist, didn't have much of a choice for riding in Whistler. Her father, Karl Ricker, a retired geologist, was one of the first people to actively explore the area's immense peaks. His passion for skiing rubbed off on Maelle, who has been sliding on snow almost her entire life. Her competitive career started early as a little kid in the Nancy Greene Ski League, and as she switched to snowboarding so too did her ability to win competitions. She has competed on the National team for over 15 years, and was one of the first X-games gold medalists in Snowboard cross. But the highlight of her career was being the first Canadian female to win a gold medal on home soil, and only 20 minutes away from where she grew up.
"Winning the gold medal was unreal. Growing up in BC my whole life, going to school 20 minutes from where the venue was … the backdrop was … the chance to stand on the podium was indescribable really. It was definitely an overwhelming moment."
She credits much of her success to the fact that the mountains around Whistler are as good as it gets. "I think it comes down to the terrain," she says. "We have such amazing terrain in Whistler that challenges the best of 'em. We also have access to all different styles, whether it's free-riding in deep powder, speeding down a freshly groomed run, or free-styling in our amazing park and pipe."
Mercedes Nicoll has been living full-time in Whistler since she was 12 years old, but the family had been coming here her whole life. As a teenager she started competing in snowboarding, because it was "more fun than figure skating," she smiles. While she never planned that it would take her to the Olympics, it was sort of predestined in her family. "By going to the Olympics, I broke the 'Nicoll Curse'," she says with a giggle. "My dad was supposed to be in the Olympics for ski racing, but he broke his leg and missed out. My grandpa was also supposed to go for bobsledding, but it was the same time as his honeymoon, so he opted to be with my Grandma instead."
But once she entered the stadium in Torino, Italy in 2006, she knew she was on the biggest stage of her life. "It was never my dream to go to the Olympics or anything; it just kinda flowed. The opportunity came about and I kind of fell into that." What she fell into was only the biggest sports spectacle in the world. "Once you walk into the stadium and see people passionate about watching you and watching sports, that's a whole other field. It's amazing. Especially in 2010, watching Canada come together like that – that will never happen again."
And her heart for her hometown is also full of thanks. "Growing up here made me who I am today. The opportunities here for snowboarding – the mountains, the easy access – have made my whole career possible. It's shaped not only my career but who I am. People sometimes don't believe that this is an actual town and people actually grow up here. I admit I feel extremely lucky and thankful that my parents moved here … because I love training, competing, and travelling the world, but I still really like riding powder, and nothing is better than here!"
For Dan Raymond snowboarding started out as a way to meet people and get involved in the Whistler community. But over the past 14 years he has made a career out of competitive snowboarding. "I thought competing would be a mellow weekend thing. It turned out to be so much more," Raymond remarks. He started to win local half pipe contests, and in a few years found himself on the National team, travelling the world to compete in World Cup events, and capping his career at home in the 2010 Winter Olympics.
"Competing for your country is the biggest opportunity and honour. It was the best of both worlds combining everything I loved – snowboarding and travelling. The more I travelled, the more I realized how perfect it is to call Whistler home."
Last year Dan was chosen to be the new coach of the Canadian National Snowboard Team. He has traded in his snowboard for a clipboard, helping the next generation of athletes become the best they can be. Working long hours handling everything from travel logistics to driving the bus, he couldn't be happier. "There's no bigger honour than being able to help the athletes reach their goals. The passing down of knowledge feels good when you see it in action. I'm looking forward to seeing the riders excel on the biggest stage in the world in Sochi." He pauses to laugh. "I'm probably going to be more nervous than them when the time comes!"
It is hard to say where the Canadian Snowboard team would be without the Whistler community. Maelle, Mercedes, and Dan all testify that their friends and family, the mountain staff, and the natural terrain as being integral to their success. The combination of the mountains and the people provide a setting that is one of the best breeding grounds for some of the world's finest snowboarders. And without a doubt the immense hometown pride shown by all Canadians for our athletes in 2010 has instilled invaluable confidence for the next Games. But don't' take our word for it … Check out the Canadian National Snowboard Team (and all athletes) at the 2014 Winter Olympics and Paralympics in Sochi, Russia from February 7th – 23rd.
Sochi Olympics: olympic.ca/games/2014-sochi/ ; sochi2014.com/en/
Canada National Snowboard Team: canadasnowboard.ca/en/team/
Maelle Ricker: maellericker.tel
Mercedes Nicoll: mercedesnicoll.com
articles magazine snow snowboard whistler
Sochi Spirit: Whistler Traveller Magazine
How The World's Best Prepare for the Billabong Pipe Masters
Radio Interview with Mountain FM on "Making Miki's Magic" February 18, 2021
[PHOTO GALLERY]: Super Wolf Blood Moon Eclipse on Whistler Mountain February 7, 2019
The Best Runs at Whistler Blackcomb December 28, 2018
7 Tips For Exploring Kidepo Valley National Park in Uganda December 3, 2018
The Best Church Service I've Been To Was Under a Tree in Africa November 28, 2018
Browse Travel
articles BC beaches clymb column content drone education election explore festival festivals freelancing hawaii hiking howto idaho interview karamoja kauai learning life marketing mtb music oahu olukai pacsafe Photography pique politics portfolio shambhala ski snow snowboard surf surfing tips tourism travel uganda web whistler writing
Radio Interview with Mountain FM on "Making Miki's Magic"
[PHOTO GALLERY]: Super Wolf Blood Moon Eclipse on Whistler Mountain
The Best Runs at Whistler Blackcomb
7 Tips For Exploring Kidepo Valley National Park in Uganda
The Best Church Service I've Been To Was Under a Tree in Africa
jennywren on Kauai: The Garden Island – Get Your Bearings

redpajama_set_name: RedPajamaCommonCrawl


Lea Wait, here, preparing for the first Christmas in years when several of my daughters will be here in Maine. That's good, and a reminder of years when they were growing up and I prepared for Christmas all year. But it's also a sad reminder that this year Bob won't be here to share the holiday. A time for memories. So today I decided to share a post I wrote several years ago.
My husband Bob and I live far from daughters, brothers, and sisters, so we spend our holidays cozily together in Maine, dependant on telephone calls, Skype visits, and email to tie us to family and friends. We've developed our own way of celebrating.
We both love cooking. And eating. (No doubt too much the second.) And careers as an artist and a writer aren't exercise conducive. So after the holidays, each year we become Spartan, and we diet. Atkins, usually, and usually for several months.
But before that, we have one last adventurous meal.
And last year we decided to cook a goose.
Neither of us had ever done that before. And, after all, Christmas goose is traditional. Dickens, among other authorities, says so.
We knew just where such a perfect fowl could be obtained. On a small hill on Route 90 (also known as Camden Road) in Warren sits an enticing shop called Curtis Custom Meats. Although Curtis specializes in cuts of beef, lamb and pork (perhaps plebian elsewhere, but not here, where they raise and butcher their own), Curtis Meats is also the place for obtaining chicken, turkey, quail, and duck. Goose? But of course.
But we'd decided on goose, so goose it was.
I choose one and he (she?) came home with me.
The next step was pouring through cookbooks again. How to cook our goose?
Perhaps overly influenced by several viewings of Julie and Julia, we decided Julia Child would be our authority. She informed us we would first need to steam our duck in a covered roaster to render the fat.
We did not own a covered roaster.
So the weekend before the big "cooking of the goose" we headed out for one of the most complete kitchen supply stores we knew of in Maine — The Well Tempered Kitchen in Waldoboro. The owner kindly told us covered roasters hadn't been made in perhaps thirty years. "But," we explained, "Julia said!" "You could use foil," she suggested. Several other helpful customers chimed in with similar suggestions.
"Have any of you ever cooked a goose?" we asked. No one had.
In lieu of options, we decided foil would have to do, although it didn't fit Julia's strict instruction for a "tight cover." Her next command was titled, "Surgery." I won't bore you with details other than to confirm that, yes, a goose contains a great deal of fat. I felt as though I'd applied about twenty layers of suet to every part of my body that came near that bird. Surgery was followed by Seasoning. Trussing. Steaming. Braising. Roasting. And, finally – Browning. Gravy and Carving finally followed.
Julia also decreed that the only acceptable stuffing for a goose had to include prunes, so we made her prune and apple stuffing with sausage. We had our doubts about it in theory. But it turned out rich and spectacular.
Results? The goose was good, but, we sadly decided, for us not really worth the time and money we'd spent on it. (That stuffing was fantastic, though!) We saved the goose fat and liver for other experiments, other days, so considered those bonuses.
And – we do recommend goose for the holidays. Or – for one holiday, anyway! It was fun.
This entry was posted in Lea's Posts, Uncategorized and tagged cooking goose, Curtis Custom Meats, goose, Julia Child, Julie and Julia, Lea Wait, Well-Tempered Kitchen. Bookmark the permalink.
Oh, Lea, to be a fly on your kitchen wall last year, watching you and Bob cooking that goose. What a great story. My favorite line of this post: "I felt as though I'd applied about twenty layers of suet to every part of my body that came near that bird." So evocative. Makes me want to take a looooong, hot shower.
I'm glad your daughters will be home for Christmas this year. The menu sounds divine.
Thank you, both! And Happy Holidays!
Reminded me of my great aunt, Sylvia, who always had a goose for Christmas. I don't know if I every had any but it seemed exotic enough to be festive. Enjoy your time with your daughters,.
I will say no goose for us, we usually have upwards of 30 people at Thanksgiving (not Christmas) but I just looked up that stuffing recipe and will have to try it as stuffing is the best part of the meal to me.
Enjoy your family this Christmas.
I've never cooked a goose, but I love roasted duck. There is not a lot of meat on one, so it's necessary to have plenty of sides. Nothing better than that crispy, crackling skin!


text:
Jimmy's Has Announced Plans For An All-new Dining Concept At its Liverpool City Centre Location
by Independent Liverpool Published: 12th November 2019
The Bold Street bar and live music venue will be adding to its portfolio with a South American inspired menu and is set to celebrate with 50% off food every day from its opening until December 31.
Located within the historic Havelock building, the restaurant is led by head chef Jamie Pickles, formerly of Chatsworth House, who has devised a range of dishes consisting of grilled meats and fish, a choice of tacos alongside a delicious selection of vegetarian and vegan options. Complete with a 'Pure Indulgence' section of the menu, the culinary venture promises to take classic dishes and give them a sophisticated makeover with a rock 'n' roll spin.
Jamie said: "We're excited to finally announce the latest addition to Jimmy's Liverpool which comes in the form of our top floor restaurant that will be serving up a number of foodie favourites including plenty of vegan and vegetarian options alongside some naughtier, more indulgent options which include the likes of our Soft Shell Crab Burger alongside grilled meats and seafood including Chimichurri Seabass and Salt & Pepper Grilled Octopus. We've been working for months to devise a menu that will really capture the imagination of our diners whilst saying true to the rock 'n' roll theme behind the brand and we've been able to create something totally unique when it comes to both taste and overall experience.
"Diners can enjoy our top-quality food from our first-floor restaurant location, which boasts floor to ceiling windows that look out onto stunning views of the iconic Bombed Out Church. Our food offering will not only be a treat for the taste buds, but the experience itself will be one to remember, complemented by a soundtrack of amazing music including atmospheric live performances as you dine. To ensure that the food we're serving is the best it can be, we've used only the highest quality suppliers and local produce wherever possible."
Jimmy's Liverpool will be the first restaurant in the area to cook all of its meat and fish over charcoal on state-of-the-art equipment called the Big Green Egg. The menu will include beef that is dry aged in a Himalayan Salt Chamber using a 12ft wall of 1,000 hand–cut rock salt. The translucent salt blocks, which vary in colour from white to orange and a myriad of shades of pink, are imported from mines in the foothills of the Himalayas in Pakistan's Punjab region.
Owner and Founder of Jimmy's George Craig said: "We are set to launch our restaurant very soon and we can't wait to open the doors to the public, who have already been so welcoming since we established the bar and music venue aspect of Jimmy's in the summer. We hope that our culinary offer will stand out in its own right which is why it was so important for us to create the perfect menu to suit everyone. To accompany our food, we will also be serving some speciality cocktails, created just for the restaurant to complement the entire dining experience."
Jimmy's restaurant will be opening to the public on Saturday, November 23 and to celebrate the launch, all diners will receive 50% off food until December 31 when booking online. Jimmy's evening menu will be served Monday to Sunday between 12pm and 10pm.
To reserve your table, visit https://www.resdiary.com/restaurant/jimmys


I've been testing 0.7 starting in 1750 to see how playable it is this early on. It seems to be a big improvement on the last version I tried seriously, but there are still a few balancing issues and other minor problems.
1. The macadam masonry road bridge is using the wrong images -- it's using the cobblestone one, even thought git now seems to have pngs for the macadam surface.
2. Is macadam the right name to describe the earliest type of road? According to Wikipedia macadam wasn't introduced until the 1820s, and in fact cobblestone roads were replaced by macadam ones, not vice versa.
3. Is there a place for a more primitive droveroad. They would have minimal maintenance cost, and be unsuitable for any sort of wagon. Their purpose would be just to drive livestock; I'm not sure whether that would be best achieved with a prohibitive way constraint or just a very low weight restriction. They were quite common in rural areas of the country with few proper roads such as the North York Moors.
4. Should the weight restriction for a cobblestone road (8t) really be so much less than for a macadam road (80t)? If this is intentional rather than a typo, I assume it reflects the idea that cobblestones provide a higher speed surface, but one that is easily damaged. But if so, why is the weight restriction on a masonry road bridge lower with a macadam surface (4t) than with cobblestones (7t). This means that until 1765, the heaviest-duty road bridge available only has a 4t weight restriction. However, a stage wagon full of piece goods weighs 5t, and so until 1765, there's no way of it crossing a river / canal.
5. The running cost of a horse and wagon is 0.27¢/km and it carries 3t. With bulk goods only fetching 0.17¢/unit-km, and the 8km/h speed-bonus inaccessible, it's not possible to make a profit carrying bulk goods by road unless the wagon can be reused for some of the return journey. Reducing the running cost of a horse from 0.25¢/km to 0.15¢/km would allow a profit of perhaps 18¢ p.a. on a straight, flat route; that would pay back the capital cost of the horse and wagon in 10 years. It would still never be profitable to use a pair of horses to haul low-value goods (unless it can travel full in both directions) which seems right.
6. Horses bought in shipyards have a running cost of 0.07¢/km while those bought in coaching stables need 0.25¢/km to run them. Is the disparity intended? Is it historically justifiable? Reducing cart horses to the same running price as barge horse would make them profitable in almost all situations (perhaps overly so).
7. Would it make more sense to change horses' running costs from per km to per month? An idle horse still needs looking after, feeding, etc.
8. Do the carts serve any useful game purpose? They cost the same as wagons (50¢), they're introduced at the same time (1750), and they weigh the same (1t). Per unit transported, wagons are 50% more expensive to run. At the very least they should be a lot cheaper to buy, but given you need a 125¢ horse to pull them, that makes little difference. Perhaps if there were a cheaper beast (e.g. a donkey) available to pull it, that would help. But even then, it's only really of relevance if the player has insufficient money to afford horses and wagons. That seems a very niche case. Were the horses' running costs changed to per month, that would offer an incentive to use a carts for very low capacity routes. Allowing them on a drove road would provide another niche use for them.
9. Similarly, do Norfolk wherries or unpowered barges serve any useful game purpose? They all cost 50¢ (though the latter needs an expensive horse to pull it), and their running costs are the same or more as the Humber keel. In the real world, so far as I'm aware, Humber keels were only used for transporting bulk goods. (Googling, I found this site which seems to have some interesting information on the subject of early waterways.) And presumably wind-powered craft were only used in flat, exposed areas of the country. I don't really understand simutrans-experimental's physics model, but can the power value be used (or abused) to stop wind-powered craft going up hill at all? That could serve as a convenient proxy for how windswept the area is. It might also make sense to reduce the speed of wind-powered craft to simulate the fact that there won't always be enough wind. In reality, wind-powered craft could also navigate lakes or sheltered inshore waters (e.g. the Wash) which a horse-drawn barge obviously cannot do. But I don't think simutrans-experimental is able to simulate that.
10. The relative running costs of the most efficient road and waterway vehicles (a horse and wagon at 0.27¢/km versus a Humber keel at 0.02¢/km) seem a little implausible given their relative capacities (3t vs. 50t for bulk goods; similar for other goods). Likewise, the costs of buying them (175¢ vs. 50¢) seem wrong. Even reducing the horse's running cost leaves a surprisingly big gap. It's historically accurate that transportation by water should be much cheaper than by road, but this seems excessive. On a straight, flat route, a Humber keel can make 400¢ p.a. I suggest it's running cost should be quite a bit higher, as should its purchase cost. A running cost of 0.50¢/km would have little effect on its profitability, and given the anticipated return from it, a price of, say, 500¢ seems easy to justify.
I am glad that somebodyelse is making remarks on prices and maintenance-cost.
IMHO this is a very important matter for the serious player who is willing to play a large scenario from 1750-2050. The possibility to do this should be the starting-point of developers.
REALISM, combined with feasability, should be the goal.
We are dependend on hobby-developers. They develop what they like most and you may not blame them for that. They are hobbyist and no emplyees. If you are not able to convince them you are done.
There are 2 kinds of development that are interacting: The .exe and the PaK-file.
Dev of the .exe-file is the most difficult. If you are not an experienced programmer you can forget it. After the intro of Windows95 I stopped programming in C and I doubt if I can reach a level to be able to make changes in the .exe.
Years ago I started DRC (Dutch Reality Connection). It is intended to be an addon for every Pak.
All prices and maintainance of vehicles and buildings are related to each other via a huge background matrix where the year, inflation, efficiency, inventions, etc are playing important roles. Of course a lot of educated guesswork and simplification in such a job. Your link to igg.org.uk is very valuable for possible input in the matrix.
Your point of horse-problems I completetely understand. I solved it in DRC by replacing the everlasting horses by 11 new horse-types. The Albanian-horse of 1750 has a price and running cost of 80 and 0,01. The Tori-horse of 2000 has 963 and 0,32. A huge difference, but also a big timespan of 250 years.
Are you using Standard or Exp?
Edit: This is the max length of an entry I can make. I am typing now in an invisible part of the reply-window. Is this a matter of settings somewhere?
I completely agree. I hope that my comments were not taken as criticism of the excellent work the developers and other contributors are doing, as that certainly wasn't my intention. I've been playing it for several years (initially pak64, and more recently, pak128-Britain) and have greatly enjoyed it ,but it's only recently that I've started wondering whether I can do anything that might help improve it further.
I can't see myself contributing to the Pak graphics -- that really isn't my sort of thing. But I'm a Unix C++ programmer and the bits of simutrans code I've been reading doesn't look to bad to me. That said, I think I'm more interested in contributing to balancing the game play. It seems to me we already have an excellent game engine and a good historically-plausible range of graphics. I appreciate simutrans will appeal to different people for different reasons, but for me part of that appeal is that it's a winnable (and, importantly, losable) game. To me it loses that appeal if it's not possible to remain profitable -- or for that matter, if it's too easy to stay profitable. So from a purely selfish point of view, spending time fine-tuning the balancing seems the best way of improving those aspects of the game I'm interested in.
I'm intrigued that you still provide horses in the 21st century. The 1918 obsolescence in pak128-Britain-Ex_0.7 seems reasonable enough to me. Except while petrol was rationed during and immediately after WWII, were there any real-world situations when horse-drawn public transport or freight transport was the norm? The only cases I can think of are (i) short-distance urban freight, and (ii) remote rural transport where the roads are unsuitable for motor vehicles. Within the game (i) perhaps exists delivering beer from a brewery to a nearby pub and similar urban industry chains; maybe urban mail too. However (ii) doesn't fit in the current game as there's no such thing as a road that's unsuitable for motor vehicles -- though the drove road I suggested in point 3 would perhaps do that.
But your comment also raises an interesting point about inflation. As I see it, the simutrans currency is to inflation adjusted (at least to some extent). This shows up in the goods rates, which are constant throughout the 250-300 years in which the pakset is playable -- for example coal always pays 0.17¢/t/km. (Speed bonuses don't change this as the monetary value of the bonus does not change even if the criteria for giving it do.) So if your horse's running costs increase from 0.01¢/km to 0.32¢/km over the course of 250 years, what's that trying to represent? Is it just that the horse is becoming obsolete? Simutrans-Ex already has a means of increasing price over a period of obsolescence -- by default a four-fold increase over 40 years. For the horse, that's 1918-1958 which is pretty close to what (I think) actually happened.
Experimental. Specifically, a git checkout from the 9.x branch -- so effectively a pre-release of 9.0.
Just as a brief comment - balancing is a pak-maintainer's nightmare as it generally requires lots of time to test which we generally don't have. If you're interested in it, please do whatever you feel like and propose changes. I for one am much more interested in getting graphics drawn (when I have time) than fine-tuning prices etc. A lot of the prices in pak128.Britain have not even been approximately adjusted (all boats for example), but road, rail and tram vehicles should be approximately profitable for most of their lives. The thing is that vehicle running costs are also related to profitability via maintenance costs of ways and buildings, and these are not balanced either. On top of that in experimental is the fact that most costs are taken straight from the standard version and haven't been adjusted AFAIK to the different game engine.
So in summary I took the view it was best to complete the graphics for the pak first to get a more realistic game world in which to test the ways and vehicles, and only once that was done to seriously tackle balancing. Thing is, that's likely to be a few years down the line development wise unless someone else steps in, so by all means make suggestions/changes to either or both the standard and experimental branches of the pak.
thank you very much for your insightful contribution, and apologies for not having replied earlier: I have been kept busy this week! Let me deal with the points in number order.
1. Thank you for spotting that - will be fixed in the next version.
2. That is very interesting - I don't think that I'd researched that properly. Do you think that it'd be beneficial to have separate types for "dirt roads" (can you suggest a better name) and proper MacAdam roads? If so, how do you think that they should be distinguished graphically, and what settings/balancing should the MacAdam road have?
3. This is an interesting idea. I imagine that its costs would be negligible (perhaps a tiny construction cost and a zero maintenance cost). What would you suggest for graphics to distinguish it from the other two non-metalled types of roads?
4. The idea of having a very high weight limit on what I had (probably incorrectly) described as the MacAdam road was that it was supposed to be an all-purpose dirt road type, which can, as someone pointed out once, take a very great weight indeed in theory, if one goes slowly enough. Cobblestones are, as you point out, easily damaged. As to the bridges, the idea was that the difference between the two bridges was not just the surface, as bridge technology had moved on in the interim. However, I had not spotted that the wagons were heavier when they were loaded - I shall increase the weight from 4t to 5t in the next version.
5 - 7. Ahh, the old chestnut of price balancing. I have not even really attempted this yet, partly as it is a truly gargantuan exercise, and there are other things that need to be done first, and partly because I had been hoping for some real-life data (particularly with respect to railways) that, unfortunately, has not been forthcoming, and I am not quite sure what to do without it. Do you happen to know where I can discover, for example, how much more expensive that it is to build a diesel locomotive than a steam locomotive, how much more expensive that it is to run a steam locomotive than a diesel locomotive, how much more a large ferry costs to build than a 'bus, or the relative price of installing 3rd rail electrification compared to overhead catenary? Until a large, universal re-balancing can be done properly, therefore, the policy that I have so far adopted has been to leave things as they are unless there are any glaring anomalies which can easily be rectified without having to change a large number of different things. The same applies to the use of per month running costs - this feature is more or less unused because to use it would require invoking the mammoth re-balancing task that has so far not been possible for we beleaguered pak maintainers to undertake (and bear in mind that the Experimental re-balancing will need to be done separately to the Standard re-balancing, as Standard does not have the fixed monthly cost feature, and is balanced differently in terms of revenue, too). There may well be a case for reducing significantly the running cost of the cart horse as the sort of glaring anomaly described above - I shall set it to 0.15c/km for the next release for the time being.
8. I see your point. For now, I shall reduce the price of carts by more than half. I have doubts that donkeys will add much useful to the game, but allowing them on drove roads, if they are introduced, is an interesting idea which merits further consideration.
9. You should probably ask The Hood this one, as this is not an issue specific to Experimental. The other suggestions require changing the code (in possibly quite complicated ways), so that will need to be considered for the rather more distant future. In the meantime, any suggestions as to how to provide a useful role for these different craft without code changes would be appreciated.
10. I shall increase the costs of the Humber Keel as suggested - thank you for that!
1. Industries - someone recently experimented with changing the balance of industries such that there were a much larger number of end-users (shops) compared to primary and secondary industries, and found that this worked well in principle; this needs to be investigated, fine-tuned and, if it can be made to work well, adopted.
2. Steam railway locomotive power - the tractive effort figures for the steam locomotives are mostly historically accurate, but the power figures are guessed, as these data are not widely available. These figures will have to be adjusted based on experimentation and historical performance data from real life. I have a book with quite a bit of this information, so I can probably do this one.
3. Passenger distribution/generation - this is the one on which I have been working most recently, and have made some progress in the run-up to releasing 0.7 (and also in the code for 9.x, to a lesser extent). This will need further testing, however, as I do not know how well the latest changes have worked and whether anything needs re-adjusting.
4. City distribution/size - this is more about map generation settings, but, when a complete set (i.e., executable and pakset) are distributed together, default settings for this can be fine-tuned and pre-set at optimum levels for realism; however, I have yet to discover what the optimum levels are for the number and size of cities to be generated, and also the balance between initial city size, city growth and the passenger factor (the latter of which is also involved in the balance relating to journey time tolerances, which complicates things considerably).
5. Online play - this is very new to Standard and not tested in Experimental yet, but once we manage to get Experimental working online, consideration will need to be given to what rebalancing is necessary to make it work well in a multiplayer environment. I have a few ideas at present (which are also relevant to Standard) that I am about to post in "Extension requests".
Thank you again for your helpful feedback!
See now here for some useful relative pricing information for the capital costs of railway vehicles.
Started a game in 1750 with the newest config.
At 19 bits/month maintenance is too high ( >100% of newprice per year) A good rule in maintenance-precalculation is 10% of newprice per year. So I reduced maintenance by a factor 10.
Note: This situation will improve the moment more building-paks are with their own maintenance-data.
The real reason for this scenario is checking the effect of this factor.
Result: Within 4 years the game is not playable any more, due to the huge supply of passengers. Roads are overcrowded with small, slow vehicles. There are simply no transport-means in this era to do mass-transportation.
It is also highly unrealistic. The industrial revolution just had started, but had in 1750 hardly an influence. I guess that maybe 10% of the population could afford to travel as a luxuary and maybe another 10% had to travel for its job.
The rest of the people was POOR and could not travel AT ALL.
This 20% in 1750 will rise to 95% in 1950.
IMHO it would be easy to implement this % in the passengers_factor.
thank you for your observations: these are most useful. I am still trying to find the right balance in respect of passenger factors: this had previously been too low, and is now too high. There is additional complexity with passenger levels in relation to the journey times tolerance feature, which tolerances were also significantly relaxed for 0.7. My preliminary view at this stage is that it is best to use a passenger factor of 16 (the Standard default) and tune the passenger generation beyond that using journey time tolerances, which seem to have a greater effect than the passenger factor itself on the number of people travelling.
As to the maintenance costs, I shall keep in mind your comments for when I conduct the full balancing exercise in due course (but it will be an truly gigantic task).
In respect of the final suggestion, it is an interesting thought that the number of travelling passengers in the 18th century was restricted by cost rather than by journey time. Are there any historical data from which relatively accurate figures can be obtained for this? This is more complex than at first appears, however: part of the reason that more people could afford to travel in later days is precisely because mass transport made travel cheaper. Few indeed could afford their own horse or carriage (and that is already taken into account with the private cars factor), but was very little other in the way of transport in days of old, apart from stage coaches and wagons, which took an enormous amount of time. I suspect that people could afford to take that much time out of their work rather less than they could afford the fare. A further complexity is that some people would have been able to afford short journeys but not long journeys, which would not be simulated by a simple percentage change. Also - if few can afford to travel, should the player then not be given the option to reduce the prices? I have deliberately avoided either anything which involves the player having control over prices charged to passengers or goods or anything that would give the player an incentive to have such control (without actually giving the player that control, which would then be frustrating and give rise to arbitrary outcomes) because it would make it quite difficult to manage.
Is not a simpler way of altering the number of passengers generated over time simply to increase the passenger level of town buildings that towns build in later years than earlier years?
I got some suggestions about carts and wagons.
1. Rewrite code that handles road traffic.
2. Increase speed of vehicles.
3. Increase capacity of convoys.
So I ended up increasing speed of carts and wagons from 6 to 8 km/h (mailcart 10 km/h) + made it possible to use 2 wagons in 1 convoy (horse -wagon - horse - wagon).
Also as suggested added donkey for carts (greyscale horse graphics).
Actually, there's a fourth solution: reduce the capacity of the shops in city centres :-) This has previously been suggested by AvG, and I am planning on implementing this when I get a chance.
Quite a good solution, by greatly increasing the number of shops also, it becomes quite interesting to create large distribution networks.
Players can also build canals into the cities. This was done to provide transport to industry all over europe, and i'd bet it was done in england too. England was the template for most continental european canal projects.
Restarted scenario of reply 6.
After 3 years of playing still fun to play.
1 big city (8500) and 7 small cities connected.
Total investment ~25K and monthly profit of 250-300. So a yearly return on investment of ~ 15%.
I want to tweak maintenance-cost in the .dat-files of buildings.
Where can I find an example?
Did some testing with wagons.
Test run 13 tiles long straight road including stops. Transporting coal.
11 convoys is maximum that fits.
Transports 48 units / month.
Line profit ~14 - infrastructure.
transports 96 units / month.
Road maintenance costs 0,65 / month and loading bay 2*9 ? / month.
These values can be reached only if there are no other traffic on road.
I looked into your Git-repo in order to find info about how to use the newest data w.r.t. buildingcost and maintenance.
It seems that your rep contains not the newest info.
the Git repository is up-to-date apart from one or two of the latest vehicles that I released yesterday in the forum. However, note that there are multiple repositories on Github, only one of which is maintained. this is the correct one.
5 - 7. Ahh, the old chestnut of price balancing. I have not even really attempted this yet, partly as it is a truly gargantuan exercise, and there are other things that need to be done first, and partly because I had been hoping for some real-life data (particularly with respect to railways) that, unfortunately, has not been forthcoming, and I am not quite sure what to do without it. Do you happen to know where I can discover, for example, how much more expensive that it is to build a diesel locomotive than a steam locomotive, how much more expensive that it is to run a steam locomotive than a diesel locomotive, how much more a large ferry costs to build than a 'bus, or the relative price of installing 3rd rail electrification compared to overhead catenary?
Edit: the key difference making DC viable, if I remember correctly, is that the vehicles are significantly cheaper and lighterweight for DC electrification than for AC electrification.


Cisco is one of the leading IT companies in the world, and works very hard to work with our customers to help solve their greatest business challenges. To do this Cisco must continually transform itself to align with what our customers needs are and where the markets are going. When William took on a new role driving engineering services and operations, he quickly learned that as much as a companies products must change, a companies operations capabilities need to continue to improve to match the speed and agility needed in today's markets. He call this capability for his team, a data driving operations model.
Today's presentation highlights my success and challenges his experiences over the last 18 months, the role of data, the need for scale and security, the opportunity for new technology to make magic happen to accelerate business, the new role of IT to help guide and partner, and the mind shift and cultural changes along the journey. William hopes his experience till now, as this is still very much work in progress, will help others accelerate their organizations toward operational models needed to compete in the fast changing markets we have today.
William lead the Global Development Services team at Cisco. This is a centralized engineering team of over 1000 people working across all of the Cisco businesses. It is responsible for all of the Cisco's engineering technical communication and documentation, compliance testing, lab operations and planning, power engineering, and open source compliance, i.e. a number of functions where it is critical to partner with each of the Cisco businesses and optimize for product delivery. This means huge amounts of communication and touch points, which immediately highlights the need for strong data story, both for a "what is going on", "what is it costing me", "when is it done" perspective, but then also "how can we make this better". Given the GDS team was formed by moving a number of people from each of the businesses doing like work to this centralized team, there were many different ways of doing things. All in all, a great opportunity to drive a data driven operations strategy and model. Very very target rich.
So here they are 18 months later, and here is the story.
1. Key starting point: really understanding what problem they're trying to solve, what questions they're trying to answer, what they're trying to optimize for.
a) For overall engineering services operations and governance, providing the visibility of what is going on was absolutely loved by the businesses. On line Tableau visualizations of data from multiple data sources and drill down set example for other business operations teams to tailor. Linkages to other cross Cisco tools and processes, tying together specific business needs to overall corporate systems kept the GDS data in support and aligned.
c) For compliance testing, the goal is optimizing the delivery of product through both greater transparency and program update data flow between the businesses, partners and compliance team, and also driving greater people and infrastructure utilization. Great example of use what we have, change a few tools, tie in to larger business intelligence capability and enable where engineer provide online updates, data and info propagated to N variety of status, schedule, forecast views.
3. Understand and leverage what data and capability already in hand. Yes you can start a big expensive IT project to create more different, etc, but in fast moving markets that in itself is huge risk. Plus, operations teams don't have much extra money.
4. Build a small diverse team of both data scientists and the people who had the expertise and context critical in understanding the data to work together in establishing data architecture, tools, plans. Key here is leveraging others expertise to help move forward. This is great example of team relying on IT for their Hadoop systems and database skills so our data scientist and technical writers can focus on "what questions to ask of the data".
And that is where they are, probably about 20% there, and now ready for the next stage now that we have some "basics' established. Next is both to leverage each of those further, and to also start understanding from the data the next level of data driven operations intelligence. Specifically, which projects move the fastest and why, what technical documents are helping the most and why, etc.
This is an exciting time in the industry, an exciting time with the acceleration to data capabilities, tools and strategies, and an exciting time in accelerating ability to respond to the challenges for our customers and markets.


text:
Trump tweets condolences after US soldier killed in Somalia
By JOHN BOWDEN , The Hill
WASHINGTON - President Trump on Friday expressed his condolences to the family of a U.S. soldier killed in Somalia earlier in the day, calling him and other wounded soldiers "HEROES."
"My thoughts and prayers are with the families of our serviceman who was killed and his fellow servicemen who were wounded in Somalia [sic]. They are truly all HEROES," Trump wrote on Twitter.
Trump's tweet came just a few hours after the military officials reported the Special Operations agent's death, stating that one other service member had been wounded in an enemy attack.
"During an operation June 8, 2018, in Jubaland, Somalia, one U.S. Special Operations member was killed and four U.S. service members and one partner force was wounded as the result of an enemy attack," U.S. Africa Command (Africom) said in a statement.
"Our thoughts and prayers are with the families and friends of the service members."
The death is the first U.S. combat death in Africa since an ambush last year by ISIS-aligned fighters in Niger left four U.S. soldiers dead and prompted questions over whether American troops in the region had proper support.
Africom's statement did not specify how many enemies or which organization carried out the attack, but reports say the al Qaeda-affiliated al Shabaab is suspected.
Somalia: Pentagon identifies US soldier killed in Al-Shabab attack
World 10.06.2018. 11:31
Four other U.S. troops and one partner force member were wounded in the Friday's attack...
Somalia: Senator calls for end to US taxpayer money for SNA
Somalia: U.S.-backed forces raid Al-Shabab base outside Kismayo
Somalia 19.06.2018. 23:12
Somalia: U.S. Airstrike targets Al-Shabaab base
Somalia: Two dead in car bombing at army base near Kismayo
Somalia: 3 militants killed in US airstrike against Al-Shabaab
US military carries out 4 airstrikes against Al-Shabab in Somalia


text:
# OpenCensus JAX-RS
[![Build Status][travis-image]][travis-url]
[![Windows Build Status][appveyor-image]][appveyor-url]
[![Maven Central][maven-image]][maven-url]

The *OpenCensus JAX-RS for Java* is a container and client filter  for trace instrumentation when using JAX-RS for REST implementation in Java.

## Quickstart

### Add the dependencies to your project

For Maven add to your `pom.xml`:
```xml
<dependencies>
  <dependency>
    <groupId>io.opencensus</groupId>
    <artifactId>opencensus-api</artifactId>
    <version>0.23.0</version>
  </dependency>
  <dependency>
    <groupId>io.opencensus</groupId>
    <artifactId>opencensus-contrib-http-jaxrs</artifactId>
    <version>0.23.0</version>
  </dependency>
</dependencies>
```

For Gradle add to your dependencies:
```groovy
compile 'io.opencensus:opencensus-api:0.23.0'
compile 'io.opencensus:opencensus-contrib-http-jaxrs:0.23.0'
```

### Usage

#### Container Filter

The container filter should be added to the JAX-RS `Application` class and endpoints should be annotated
with `@Metrics` annotation.

```java
class MyApplication extends Application {
  @Override
  public Set<Class<?>> getClasses() {
      Set<Class<?>> providers = new HashSet<>(super.getClasses());
      providers.add(JaxrsContainerFilter.class);
      return providers;
  }
}
```

It is possible to customize the filter by using the custom constructor. The below will
use the `B3Format` for context propagation instead of the W3C text context format.

```java
class MyApplication extends Application {
  @Override
  public Set<Object> getSingletons() {
    Set<Object> singletons = new HashSet<>(super.getSingletons());
    singletons.add(new JaxrsContainerFilter(
        new JaxrsContainerExtractor(),
        Tracing.getPropagationComponent().getB3Format(),
        /* publicEndpoint= */ true));
    return singletons;
  }
}
```

```java
@Metrics
@Path("/resource")
class MyResource {
  @GET
  public Response resource() {
    ...
  }
}
```

The annotation may also be applied on method level.

#### Client Filter

Filter should be added to the `WebTarget` instance when using JAX-RS as client.

```java
WebTarget target = ClientBuilder.newClient().target("endpoint");
target.register(JaxrsClientFilter.class);
```

It is possible to customize the filter using the custom constructor. The
below will use the `B3Format` for context propagation instead of the default W3C
text context format.

```java
WebTarget target = ClientBuilder.newClient().target("endpoint");
target.register(new JaxrsClientFilter(
    new JaxrsContainerExtractor(),
    Tracing.getPropagationComponent().getB3Format()));
```

[travis-image]: https://travis-ci.org/census-instrumentation/opencensus-java.svg?branch=master
[travis-url]: https://travis-ci.org/census-instrumentation/opencensus-java
[appveyor-image]: https://ci.appveyor.com/api/projects/status/hxthmpkxar4jq4be/branch/master?svg=true
[appveyor-url]: https://ci.appveyor.com/project/opencensusjavateam/opencensus-java/branch/master
[maven-image]: https://maven-badges.herokuapp.com/maven-central/io.opencensus/opencensus-contrib-http-jetty-client/badge.svg
[maven-url]: https://maven-badges.herokuapp.com/maven-central/io.opencensus/opencensus-contrib-jetty-client

redpajama_set_name: RedPajamaGithub


text:
2021 Coffee County Pro-Life High School Oratory Contest
The contest is open to all Tennessee high school students, grades 9 - 12.
Contestants must research, write, and present an original pro-life speech on the topics of abortion, infanticide, stem cell research or euthanasia. Great prize opportunities include cash, college scholarships, and an all-expense paid trip for the state winner and a parent to the 2021 National Right to Life Convention in Herndon, Virginia. The contest has three phases:
Contestants compete in a local competition. See below for local contest application and contest rules.
Local winners advance to the state competition to be held on April 24 at Parish Life Center of St. Joseph Catholic Church at 1225 Gallatin Pike N, Madison. Registration begins at 12:00 noon CDT and the competition begins at 1:00 p.m.
The state winner advances to the national competition to be held on Saturday, June 26 in Herndon, Virginia.
2021 Contest Application
2021 Contest Rules
March 26, 2021 at 6:30pm – 7:30pm
Manchester Church of God
413 Oakdale St
Michelle Tassart published this page in Events 2021-03-15 13:09:42 -0500


text:
Latest Crimea News
WASHINGTON (AP) — President Donald Trump gave a false account Wednesday of some of the circumstances that got him impeached. As the Senate impeachment trial wrestled with the fate of his presidency, Trump offered distorted statements about how the episode developed. He claimed Ukraine got U.S. military...
WARSAW, Poland (AP) — Over the next several days, world leaders will gather twice to mark the 75th anniversary of the liberation of Auschwitz-Birkenau, the most notorious of Nazi Germany's death camps. That there will be two competing ceremonies — one in Jerusalem on Thursday and the other...
Ukraine asks OSCE to expand its monitoring mission
KYIV, Ukraine (AP) — Ukraine has asked the Organization for Security and Cooperation in Europe to expand its monitoring mission in the country, Foreign Minister Vadym Prystaiko said Monday after a meeting with the organization's chairman. The OSCE's special monitoring mission has been present in Ukraine...
Putin's, Xi's ruler-for-life moves pose challenges to West
MOSCOW (AP) — Russia's Vladimir Putin and China's Xi Jinping have established themselves as the world's most powerful authoritarian leaders in decades. Now it looks like they want to hang on to those roles indefinitely. Putin's sudden announcement this week of constitutional changes that...
AP FACT CHECK: Trump says Pelosi, Dems defended Iran general
WASHINGTON (AP) — President Donald Trump's relentless attacks on the impeachment investigation and Democrats' stance on Iran strained the truth on various fronts, from claiming that House Speaker Nancy Pelosi defended Iranian Gen. Qassem Soleimani to asserting that even Ukraine's president said Trump did...
AP FACT CHECK: Trump's distortions are across the board
WASHINGTON (AP) — President Donald Trump systematically fabricated his record before boisterous supporters and the eyes of the world this past week. To a core question — did the U.S. killing of an Iranian general avoid an imminent attack on U.S. interests? — there is no definitive answer days...
Russia's Putin attends Black Sea drills by the Russian navy
Jan. 9, 2020 10:18 AM EST
MOSCOW (AP) — Russian President Vladimir Putin on Thursday watched a naval exercise involving multiple missile launches in the Black Sea. The Kremlin said that Putin watched the maneuvers from the Marshal Ustinov missile cruiser. The navy said the drills involved warships from Russia's Black Sea Fleet...
Russia halts oil supplies to Belarus in push for closer ties
Jan. 3, 2020 9:34 AM EST
MINSK, Belarus (AP) — Russia has halted oil supplies to Belarus as talks on strengthening economic ties remained stalled over concerns that Russia could effectively swallow up its neighbor. In a case that has echoes of Russia's relationship with Ukraine before it annexed the Crimean Peninsula, Belarus'...
Russia, Ukraine finalize deals for gas transit to Europe
MOSCOW (AP) — Russian and Ukrainian gas companies say they have finalized a slew of contracts ensuring uninterrupted transit of Russian natural gas to Europe. Ukraine's President Volodymyr Zelenskiy hailed the agreements that were signed late Monday, saying they will allow Ukraine to get at least $7...
Pompeo to visit Ukraine as Senate weighs impeachment trial
WASHINGTON (AP) — Secretary of State Mike Pompeo will visit Ukraine this week, making his first trip to the country at the heart of President Donald Trump's impeachment. As the Senate weighs options for a trial, Pompeo will depart Thursday on a five-nation tour of Europe and Central Asia. Ukraine will be...


text:
mySMU
SMUPORT LOGIN
Account questions?
Self Service Banner SMUport
People Search Contact Us Employment Campus Map Parking Bookstore
Library Service Centre The Writing Centre Athletics & Recreation Student Employment ITSS SMUSA
Faculty & Staff Human Resources Policies & Procedures Financial Services University Security Facilities Management Conference Services
Experience Saint Mary's
Why Choose Saint Mary's
- A Community That Fits
- Life in Halifax
- Come for a Visit
Browse our Programs
- Admission Requirements
- Apply Online
- Scholarships and Awards
- After you've Applied
Non-High School Applicants
Apply for a Study Permit
After you've Applied
Co-op Education
Certificates and Diplomas
Planning & Registration
Plan Your Degree
Manage Your Degree
Aid & Awards
The Saint Mary's Spirit
Residences & Housing
- Apply to Residence
- Life in Residence
Meal Plans & Food Options
Student Association (SMUSA)
Student Health Centre
- Get Your Student ID
- Bookstore
- Computer Labs
- University Security
Services for Students with Disabilities
Visiting International Students
SMU Students on Exchange
International Field Study Courses
International Departmental Programs
Teach ESL
Research at Saint Mary's
About Research at SMU
SMU Research Achievements
Research Relationships
Office of Innovation and Community Engagement (OICE)
- For Researchers
- For Partners
- For Graduate Students
- Funding Programs
Over 40,000 Strong
- Career Services
- Alumni Card
Find an Alumnus
Maroon & White
About SMU
Find Faculty and Staff
Information and Statistics
Community and Neighbourhood
Board of Committees
Reports & Acts
SMU Huskies
Varsity Teams
Homburg Centre for Health & Wellness
Hall of Fame/History of Sport
U SPORT Academic All-Canadians
Athletic Department Awards
Intramurals/Clubs
Fall Intramurals
Winter Intramurals
SMUfit/Facilities
Members Notice Board
Contact SMUfit
SMUfit Programs
SMUfit Personal Training
Heart for Life
Lifemark Physiotherapy
Huskies Stadium
Dauphinee Centre
Coaches Records
Shootout Promotion
Former Wildcats captain Johnson earns high praise - on and off the ice
Trevor Stienburg is in his 23rd season as head coach of the Saint Mary's Huskies men's hockey team.
The veteran bench boss gave Stephen Johnson, a fourth-year forward from Moncton, the ultimate compliment.
"He's second to none of the people that I've coached," Stienburg said.
Fans of the Moncton Wildcats already know all about Johnson, a former captain of the Quebec Major Junior Hockey League club who was a dependable two-way player during a four-year major junior career.
Johnson has now developed into an all-star in the university ranks.
The 24-year-old is suiting up for the U Sports men's hockey all-star team that plays Canadian junior national team prospects in a two-game exhibition series on Wednesday and Thursday in Oakville, Ont.
This marks the fifth consecutive year the U Sports all-stars are facing the Canadian junior team prospects, who are vying for roster spots on the squad that will represent Canada at the world junior hockey championship, scheduled Dec. 26 to Jan. 5 in Ostrava and Trinec, Czech Republic.
"It's a pretty big honour," said Johnson, a business student at the Halifax school. "The world juniors is always a big event and it was always on at Christmas time growing up. To be able to help them prepare for the tournament is pretty exciting."
The exhibition games are vital for Canadian junior team hopefuls. They're important to the university players, too.
U Sports leads the series 5-3-1.
"This is something that we don't take lightly. It's a chance for us to continue to get better, keep improving, and these kids are really good - some of them are drafted into the NHL - and will definitely be good competition for us," Johnson said.
"We want to make sure these guys are ready for the tournament, and we want to do our best to push them as much as we can. We want to show them that there are a lot of good players in university."
Johnson is having his best season yet for Saint Mary's in the Atlantic University Sport conference.
He's third on the Huskies with 20 points, including 14 goals, in 18 games at the holiday break. His 14 goals - double his tally in all of last year - lead the conference.
Johnson, who recorded 20 points in 29 games last season, has stepped up into a top-six forward role this season after Saint Mary's lost four of its top five scorers from 2018-19.
"I've taken advantage of the opportunity to get more ice time and be put in different places to succeed, and I've tried to run with it," he said.
"I just try to bring energy. The way I play, I work hard and try to be the best two-way forward I can be and help the team win, no matter what."
Stienburg, who regards Johnson as the top penalty killer in the AUS and one of the Huskies' top leaders, said the Moncton native has come a long way since not always earning a regular shift as a rookie.
But what is more impressive to the coach is the way Johnson handles himself off the ice.
"He shows up every day to do whatever he can do that is best for the team. He's probably one of the most loved guys I've seen as a teammate," said Stienburg, a former NHLer.
"I'm not sure you can raise a better kid. If my son ends up to follow after Johnny, I would be happy."
The U Sports all-star team includes two other former Wildcats players - defenceman Nick Welsh, Johnson's teammate at Saint Mary's, and forward Mark Simpson of the University of New Brunswick Reds.
Welsh, a sophomore, is tied for second in the AUS with 27 points in 17 games. Simpson, a fourth-year veteran who played for the U Sports all-star team a year ago, has 14 points in 15 games.
Johnson's uncle, UNB head coach Gardiner MacDougall, is coaching the U Sports all-star squad in Oakville.
"He's a pretty enthusiastic guy," said Johnson, "so it will be a good experience and a lot of fun."
Source: Times & Transcript
Wed Dec 11 2019
Page: B1
Byline: Sean Hatchard
Department of Athletics & Recreation
Halifax, NS B3H 3C3
One University. One World. Yours.
Facebook Twitter Youtube Social Media Directory
Copyright Saint Mary's University 2013 | Privacy Policy
923 Robie Street,
Canada, B3H 3C3
info@smu.ca


State lawmakers are discussing a bill aimed at protecting student privacy when it comes to citizenship and religion.
The bill would eliminate questions about those two topics on SAT and PSAT tests.
The lawmaker sponsoring the bill says those tests were originally used for college admissions only.
Last year, K-12 schools started using the questions for taxpayer funded state assessments.
"Using a tool designed for college admission. We're collecting information from students that we're not allowed to be collecting. So what this bill does is it takes those two questions off of the test so that we're not asking 14-year-olds very sensitive information," said Sen. Rachel Zenzinger, a Democrat representing Jefferson County.
The bill has its first hearing before the Senate Education Committee on Wednesday.


text:
Q: Any way to speed up/reduce CPU usage when drawing with Cairo? I wrote an app that uses Cairo to draw things on screen (on a Gtk::DrawingArea, to be exact). It needs to redraw everything frequently. It turns out, that despite the draphics drawn are very simple, the X server uses LOTS of CPU when redrawing, and the applications works terribly slow. Is there any way to speed this up? Or maybe I shouldn't use DrawingArea and some other widget?
What I draw is set of rectangles, which user can move around by dragging them with mouse. The whole drawing is done withing on_expose_event, but as the mouse pointer moves around (with button pressed), I call queue_draw() to refresh drawing.

A: Just a couple things to check:
Is your drawing done in the expose event?
Draw your image to a Cairo Surface, and then in the expose event simply copy from that surface to the widget's surface.
Are you clipping and drawing only the region necessary?
The expose event gives you an X, Y, width, height of the area that needs to be redrawn.  In cairo, create a rectangle on your surface with these dimensions and call clip so that you aren't wasting time redrawing stuff that doesn't need to be.

A: Drawing is expensive, especially text drawing has become the most CPU expensive task of a GUI.
The only way to speed this up is to reduce the amount of drawn items. Check if you really only draw the items that are necessary. The expose-event is giving you a rectangle. Only refresh this part of the widget.
Maybe cache items in a bitmap.
For smooth scrolling for example it can help to draw the content into a bitmap that is for example 500 pixels larger so that in most cases you just need to copy the image and don't draw anything at all (you usually get expose rectangles that are just 5 to 10 pixels high during scrolling).
But you need to give us more information what you are drawing and what the system load is to get a better answer.

A: I found this article about threaded drawing in cairo to solve the speed-problem, maybe that helps:
http://cairographics.org/threaded_animation_with_cairo/
About the high CPU usage:
Do you have proper hardware accelerated drivers installed for X?

A: I finally forced to use maximally 25 fps, by using a lock flag.
bool lock = 0;
bool needs_redraw = 0;

void Redraw(){
    if(lock){
        needs_redraw = 1;
        return;
    }

    //draw image to a surface

    needs_redraw = 0;
    lock = 1;
    Glib::signal_timeout().connect(Unlock, 20);

    queue_draw();
}

bool Unlock(){
    lock = 0;
    if(needs_redraw) Redraw();
    return false;
}

void on_expose_event(something){
    //copy image from surface to widget's context
}

This is a sample code, but that's the idea. It will disallow redraw to be done more often then once per 20 ms.

redpajama_set_name: RedPajamaStackExchange


Remote Working - Get out of the house!
Last year I moved to Germany and was lucky enough to continue working here at OnePageCRM.
It was my first time working remotely, I learned a lot from this experience and would like to share some of the important points that I discovered about productivity and what it is like to work away from the office.
I'll break this post up into a few smaller ones and try to hit on a different point each time, so as to keep it short and interesting.
When I first started working from Germany I thought it would be great to work from home, I would have no commute, I could get those extra few minutes in bed, I wouldn't have to spend anything eating out for lunch, as soon as work was over I would already be home and ready to take full advantage of my evening. What's not to like! I tried this for about a week and I think it's safe to say I quickly realised it was not for me.
On the first day of working from home I actually was quite productive, having a the apartment to myself gave me complete peace and quiet to work away and I was able to dedicate the whole day to working on my project. When lunchtime came I was able to grab a quick sandwich from the kitchen and get straight back to it, I loved the idea of getting so much work done in such a short space of time. As the day was drawing to a close I found myself in the middle of a task that I wanted to finish, I thought I would just work an extra hour and it would be the same as the commuting time I would usually spend anyway. This hour doubled into about two hours without me realising it and pretty soon I was completely drained. I was delighted to have gotten done as much work as I did but it wasn't long before I was passed out asleep.
I figured a day or two like this would always happen but as the week wore on I found it happened nearly everyday. I found it increasingly hard to just stop at the end of the day, when you're in an office environment you're watching everyone else leave and go home, it's easier to pack it up for the day. I also found it really difficult to switch off even when I had pulled myself away from work, my home was now my office and it was increasingly difficult not to think about work whenever I would see the laptop sitting on the kitchen table.
As well as finding it difficult to switch off and when to call a stop to the working day, working from home is also quite a lonely experience. In the OnePageCRM office in Galway there is always something happening, people are chatting and sharing stories and as it is located in the heart of the college there is always a buzz in the air. Working from home I could go the entire day without speaking to anyone, this was really bad for my overall morale and began to drive me a bit mad!
After about a week of working from home I decided that I had had enough, I needed to get out of the house. I investigated co-working spaces and found a spot called betahaus It had a lively cafe with free WiFi as well as plenty of tables and power outlets. It was completely free to come in and work from here too. The cafe was always brimming with people, the majority of whom were either software developers or graphic designers, they too were mostly working remotely but still wanted somewhere to go, to work and to meet people. I split my time working between here and another co-working spot called FabLab Berlin. This was by far the best decision I made when working remotely, it gave me somewhere to go in the morning, somewhere where I could concentrate on work, meet new people and make friends. Most importantly it gave me back my home, my apartment was no longer a work place but somewhere I could relax after work.
Now this is not to say that I never work from home anymore, but I restrict it to maximum one day a week. I also have a small coffee table that I put on top of my kitchen table to make a sort of standing desk and I always use this when working from home, this way unless the coffee table is on top of the kitchen table I can forget about work. I always make sure to take a walk for lunch or meet someone at a cafe, spending all day alone is not good.
I'll be back again with another insight on how I found the transition of working an office to working remotely in a foreign country.
Have you ever worked remotely? From home or from a co-working space? I'd love to hear your experience with it in the comments below.


text:
Artificial Intelligence in Medicine: Are We There Yet?
Featuring Professor Noam Shomron, head of the Functional Genomics Laboratory at TAU's Faculty of Medicine and head of Israel's Rare Genomics Institute.
The Molecular Medicine Revolution: From Vaccines to Genome Editing
Professor Dan Peer, Vice President of Research and Development at TAU, discusses the latest advances in molecular medicine and their applications in a variety of fields.
Healthy Aging, Autism & Combating Brain Disease
Featuring Professor Illana Gozes, Head of TAU's Dr. Diana and Zelman Elton (Elbaum) Laboratory for Molecular Neuroendocrinology.
Gene Therapy: A New Pathway to Deafness Treatment?
Webinar featuring TAU and Northwestern University researchers. With Professors Elie Rekhess, Dan Peer, Abigail Foerstner, Karen B. Avraham, and Dr. Akihiro J. Matsuoka.
The Road to Preventing Parkinson's Disease
With Professor Nir Giladi, Co-Director of the Aufzien Family Center for the Prevention and Treatment of Parkinson's Disease, and Professor Karen Avraham, Vice Dean of the Sackler Faculty of Medicine.
Managing the Pandemic: Fear, Anxiety, and Resilience
With Dr. Bruria Adini, Head of the Department of Disaster Management at TAU's School of Public Health.
The Wonders of the Human Brain: New Links Between Perception, Learning, and Memory
Featuring Professor Nitzan Censor.
With Professor Yuval Nir of TAU's Sackler Faculty of Medicine.


Landscaping Ideas Front Yard Curb Appeal. Homeowners looking to add curb appeal or market value to their homes can get started with landscaping ideas and products at local garden centers. Planting trees and selecting colorful flowers will not only provide a welcoming atmosphere to visiting guests but doing so may also raise the sale price of the home.
Selecting the best flowers may depend on the right color scheme desired, the time of year that homeowners choose to showcase their homes to guests or potential home buyers, and how much upkeep an individual is willing to do. Annuals attract buyers and guests for their brightly colored blooms but must be replaced every year. Perennials, however, bloom at different times of the year and last longer-more than two years on average. Those working on a landscaping project may ask for advice at garden centers when choosing the right flowers. Homeowners should also have a landscaping design in mind. Trees and flowers must be placed with adequate space in between to avoid a disorganized clutter, rather than the desired look of manicured scenery.