text:
Learn about Auth0 Extend, a new Serverless extensibility platform that enables rapid extension and customization of your SaaS
Introducing Auth0 Extend, the new way to extend your SaaS
Today is an exciting day, as we add a new product to the Auth0 family: Auth0 Extend! Auth0 Extend gives you a Serverless extensibility platform you can plug right into your SaaS. Basically, it's Extensibility as a Service. With Auth0 Extend, your customers, partners, as well as your own engineers and sales engineers can quickly and easily extend your product.
Watch this short video below to discover how Extend can help you:
Why you need extensibility
If you're a decision-maker for an SaaS product, then you're constantly dealing with a stream of requirements for new features. These requirements arise from sales calls with prospective customers, or they come from your existing base. It may be that your SaaS needs to integrate with an external system the customer uses, or that there's some custom validation logic that's an absolute requirement.
Regardless of the requirement, feature requests inevitably end up on an ever growing product backlog. Resources on your team are finite, so unless there's a critical mass of interest in the feature, or enough high-paying customers, there's a good chance those features will never get done.
Making your SaaS extensible can remove the bottlenecks to delivering value. Done right, it enables new features to be introduced and requirements to be met, without being blocked by the product backlog.
What about Webhooks
The most common way to handle extensibility for SaaS products today is through exposing Webhooks. This is how you extend Slack, Github, Zoho, Concur, Intercom, and many other services.
Webhooks offer distinct advantages that make them an attractive choice for extensibility:
- They are deployed outside of your product and managed externally.
- They run securely and in isolation from your SaaS application. The SaaS will not go down due to a faulty Webhook.
- They are generally easy for a developer to create, whether it's your own engineers, customers, or partners.
- They can be authored in a number of programming languages.
- They can use whatever third-party dependencies they need.
Here's the catch, though: a Webhook is a service. Just like any other service, it needs to be properly designed, hosted somewhere, managed, and monitored by someone, and that someone is often your customer. The burden has shifted: the backlog hasn't gone away, it's just moved to a different backlog.
As a result, there are a lot of extensions that simply won't be built, because standing up and managing a Webhook is a hassle. A picture tells a thousand words, Tomek said it best with this one.
How Auth0 Extend is better
Auth0 Extend gives you the power of Webhooks and more, without the pain. One of the key differentiators of our Identity platform has been how easy it is to customize by creating Auth0 Rules. You can create rules in JavaScript right within the Auth0 Management portal, and they are immediately able to execute in the cloud on demand. There are no servers or endpoints to deploy or manage as in the case of Webhooks, thanks to its Serverless architecture. Auth0 Rules are powered by Auth0 Extend. Below you can see the authoring of a rule that creates users in Intercom.
You can now have the same great experience in your SaaS product. Auth0 Extend includes the Extend Editor, a white-label editor component that you can host in your SaaS UI for authoring extensions in JavaScript. And it includes our extensibility runtime, powered by Webtask, which can securely execute extensions on demand, in a multi-tenant fashion, and at scale.
Just look at the screenshot of our Zero CRM sample, and see how easy it is to embed the Extend editor.
Auth0 Extend, more revenue and happier customers
According to the numbers, rules resulted in more than 10x retention from our customers, and customers using rules represent 70% of our cloud-based revenue.
Having Extend in our own product opened new doors and directly translated into new business. Our Sales Engineers jumped on rules as a key way to land deals, such as integrating with external systems that are a deal-breaker. Our field and developer success teams use rules continually to address our customers' emerging requirements. According to the numbers, rules resulted in more than 10x retention from our customers, and customers using rules represent 70% of our cloud-based revenue.
A better way to extend your SaaS
Can you imagine the flexibility of your users being able to quickly and easily extend your product through code without having to leave your SaaS or deploy and manage servers? Developers just love Auth0 Extend because of how simple it is to create extensions. No servers, no hosting--just code.
Auth0 Extend can help you just as it has helped Auth0 and customers such as Stamplay, Meteor Development Group, and Graphcool.
Learn more at https://www.auth0.com/extend and sign up for our free developer account here. You can also follow us on our new @auth0_extend Twitter account. There's much more to come for Auth0 Extend, so stay tuned!
Aside: Securing Applications with Auth0
Are you building a B2C, B2B, or B2E tool? Auth0, can help you focus on what matters the most to you, the special features of your product. Auth0 can improve your product's security with state-of-the-art features like passwordless, breached password surveillance, and multifactor authentication.
We offer a generous free tier so you can get started with modern authentication.


text:
Call it the Obama-effect: More and more politicians are trying to prove that they've got comedic chops in an effort to show they can be the cool politician as well as the, you know, political one who makes all of the decisions about the future of our government. The most recent pair to jump on this bandwagon is New Jersey Governor Chris Christie and Newark Mayor and American hero Cory Booker, both participating in a Seinfeld-inspired sketch which sees them in a sort of Seinfeld/Newman-like rivalry.
Surprisingly, the video - which you can check out above - isn't half bad. It mostly follows Christie as he tries to save the day in numerous situations, only to be perpetually outdone by Booker, who, as aforementioned, is an American hero. Christie only gets his chance to shine at the very end, when he grabs the phone from Booker who is mid-conversation with none other than Mitt Romney, and offers himself up as running mate.
Well, it was funny up until that part, anyway.
[via Gawker]

subset: commoncrawl


text:
What is BehindTheBeat?
Listen and enjoy our library of over 600 audio portraits of artists and their albums for free.
These finely edited features present the music and voices of artists discussing their songs, their sounds, their bands, their lives and their creative influences.
Search below by artist name or by genre to hear your favorite musicians, and to discover new ones!
Now with over 2,500 audio segments bringing music fans, musicians and music closer together.
Search Archives
Latest Profiles
- Chuck Wicks: Turning Point
- Green River Ordinance: Fifteen
- Jack Wall: Call of Duty, Black Ops III
- Black Violin: Stereotypes
- Glen Hansard: Didn't He Ramble
- Dominik Scherrer: The Missing
- Jonathan McReynolds: Life Music, Stage Two
- Bobby Long: Ode To Thinking
- Alicia Witt: Revisionary History
- Angaleena Presley: American Middle Class
- Pat McGee: Pat McGee
- John Anderson: Goldmine
- Whitey Morgan: Sonic Ranch
- Anat Cohen: Luminosa
- Meredith Monk: Piano Songs
- Gretchen Peters: Blackbirds
- Louise Goffin: Appleonfire
- Mohammed Fairouz: Follow, Poet
- Michael J. Smith & Friends: The Spirit of Christmas
- Patty Larkin: Still Green
- Somi: The Lagos Music Salon
- The Barr Brothers: Sleeping Operator
- Lee Ann Womack: The Way I'm Livin'
- Montell Jordan: Captured
- Marco Benevento: Swift
Popular Tags
Profile Archives
Monthly Archives: June 2011
Billy Rogan: A Loss for Words
Billy Rogan discovered acoustic guitar instrumentals in open tunings after playing electric guitar for many years. "A Loss For Words" is his demo EP, showcasing a half-dozen compositions where he combines the sweeping sounds of altered tunings with the drama … Continue reading
The Little Bear: Bridges
The Little Bear is a Nashville-based alt-indy-pop quartet featuring the songs and superb vocals of singer-songwriter Claire Guerreso. On "Bridges," their EP, Guerreso sings about the emotional dynamics in relationships: the ups, downs and hurdles in between. She has a … Continue reading
Jonathan Edwards: My Love Will Keep
Jonathan Edwards is a beloved folk troubadour whose optimistic voice and vision have engaged fans for decades. In "My Love Will Keep," his first studio recording in 14 years, Edwards has crafted new and old favorites into expansive, expressive compositions … Continue reading


text:
Here is my secret. For years I had this odd combination of adult acne and dry flaky skin. Feeling embarrassed about my skin, I used every type of foundation and concealer to cover up my poor complexion and would visit… Continue Reading →
Each year, the gals at Yahoo Shopping gather around to discuss the best of what we saw in the beauty world. This year is a little different: We tested even more products this time around, including some very cool beauty… Continue Reading →
© 2020 Sacha Devoretz


text:
Category Archives: billy zane
Going Overboard
Posted by Glenn Walker
Going Overboard ~ I used to use Adam Sandler as a litmus test for how bad a movie was. I really hated his early work that much. This flick is his earliest, his first, and the one that Adam Sandler wants you to forget. I really don't blame him.
Sandler is a gawky cruise ship waiter with a bad jewfro who wants to be the ship's comedian after the real one drops dead. His routine is that of a bad Catskills comic from the sixties, and he acts like a whiny and unfunny Jerry Lewis clone when off stage.
Billy Zane, Milton Berle, Terry Moore and in an early cameo, Billy Bob Thornton all embarrass themselves in this mess that was filmed entirely on a cruise ship, with the wrong lenses. Thankfully for them, and unluckily for me, Sandler and Burt Young are on the screen the most. The 'heavy metal' band, I think called Croaker, that sings "I'm gonna slap your cat, upside his head" is probably the only real laugh in the whole movie.
Wow, this sucked. Now I remember why I hated Adam Sandler so much years ago.


text:
Computer Science Collaborative Opportunities
Student and Faculty Projects
Computer Science majors often work with faculty on research projects, such as robotics, graphics, web development and software tool construction. The CEEP program funds some of these students. Those students in the Honors program are often sponsored and overseen by the CS faculty as they explore an interesting topic of their choosing and write a thesis on it. Faculty often take students to conferences where they can present posters of their work and sometimes participate in delivering a paper that the faculty member co-authored with them.
The CS faculty at Canisius are always learning about the latest developments in hardware, software and the scholarship of teaching and learning. Faculty publications included papers about making the Java runtime system faster, how to use robots to teach introductory programming, and other exciting issues.
Computer Science Club and Other Extended Learning Opportunities
The department hires students as tutors and lab assistants. The CS club consists of students and a faculty advisor. Over the years this club has engaged in many activities such as programming contests and building an early cluster computer. Through an informal network of alumni and friends, many CS majors get paid internships at local companies. Some CS students have received funding to work at other institutions through the REU (research experience for undergraduates) program.
Cutting-Edge Facilities
Computer Science students have access to one of Canisius' newest buildings, Science Hall. The program aids learning and research with the following modern equipment:
- A new project room in Science Hall with 17 brand new dual-boot iMacs that is exclusively used by Computer Science majors and minors and Bioinformatics majors.
- An advanced research laboratory that has computer systems to support research into memory management and data locality, cluster computing, and graphics and three-dimensional visualization.
- Students in early computer science courses will get the chance to program some of these robots as they learn computer concepts, including using the LEGO Mindstorm robots are based on the LEGO blocks and include a large yellow programmable block that can control motors and check the status of sensors.
- Six Sony AIBO robotic dogs have built in actions and can respond to both spoken commands as well as touch. Pet the dogs and watch them play with toys and each other. The real power is in the ability to program these dogs with user written programs that change how the dogs move and the types of things they can do. One international competition has teams of dogs playing soccer against each other.
- The Evolution Robotics ER-1 robot includes a camera and a gripper arm, and is controlled by a laptop computer that is mounted on the robot. The camera allows the program running on the laptop to control the robot's motions based on what is being "seen" by the robot. There are competitions where these robots attempt to complete some task in the shortest time.


text:
The Bellmaker
By Brian Jacques
Reviewed by Allison Riegel
Rated 5 out of 5 Stars
"Urgan sits in Gael's Royal House,
Warriormaid and Warriormouse,
Say hasten, and give aid."
Dandin and Mariel, two warriors from Redwall, have wandered four seasons before they find themselves in the land of Southsward. This country was once peaceful, but has been conquered by the Urgan Nagru, his mate Silvamord, and their foul rat hoard, keeping the royal family prisoner and the land oppressed. When Joseph the Bellmaker receives a dream from Martin the Warrior, the founder of Redwall Abbey, he sets off with four friends to help Mariel. They must find a way to cross the wide seas to help save their friends and Southsward. When the queen, her infant son, and their badger nurse Muta escape, Mariel and Dandin team up with Meldrum, a hare, to distract the rats and give Serena time to get away. The plan could cost them their freedom, or even their lives, but success will surely help to save the countryside.
This book is one of the twenty-two books in the Redwall series. Set in a world that doesn't exist, but is as real as the world that does, they are all filled with grand deeds and life-like heroes. I've enjoyed these books for their details, stories, and descriptions of food. Every one of the books is set up with the same three-part story arrangement, characters on quests, accents, and rather stereotyped animal species. It gives the series a sense of unity- characters from one book will mention someone from another, or characters will be re-used in a new story. The books aren't written in chronological order, so it won't matter what one you might chose to start on. I recommend these books to anyone who likes adventure, small furry animals, or battles, riddles, feasts, drama, detail, ect.


text:
What is the Lifespan of the Purple Leaf Plum?
Purple leaf plum from wiki commons
Purple leaf plum (Prunus cerasifera) is a short-lived ornamental that can reach 25 feet in its 20-year lifespan. Rapid growth and dramatic purple leaves when planted in full sun make this tree a landscaping favourite.
Purple leaf plum blooms with small white or pale pink flowers in early spring before leaves unfold and will bear small edible fruits in July. Purple leaf plums need a well-drained soil to thrive.
In 1878, Monsieur Pissard, a French gardener working for the shah of Persia (now Iran), encountered a purple leaf mutation on one branch of a plum tree in the city of Tabriz, in the Caucasus desert mountains not far from the Armenian border. Pissard made a cutting, propagated trees and forwarded specimens to his associate, Monsieur Chatenay in France. Chatenay introduced the purple leaf plum to European landscapes during the next few years.
Purple leaf plum can grow from seed and now grows wild in New Zealand where its seeds spread from gardens. However, it is best propagated from leafless hardwood cuttings of the current year's growth during late autumn through late winter, when the tree is dormant and tissues are mature. In commercial nurseries, cuttings are taken from permanent hedges severely cut back each winter to maintain vigour. The hardwood should be exposed to a growth hormone and then planted in a sterile sandy medium that is kept warm. Fungicides applied along with the growth hormone improve success rate.
Pruning is not really necessary, because purple leaf plum trees form a compact round canopy. If the landscape design calls for a crown lower than 20 feet, selective pruning will control height. To avoid cleaning up fallen fruit, prune after the spring bloom. If the dense display of flowers is unimportant in the landscape design, a light pruning of the buds in late winter will avoid fruit altogether. Several hybrids can be planted as hedges, set 4 feet apart and pruned to encourage bushy growth.
The most frequently planted purple leaf plum in U.S. landscapes is Thunderbird, which has pink flowers and cherry size fruits. Atropurpurea is closer to Pissard's original discovery. Atropurpurea blooms white and its leaves emerge red in spring and change to purple with the season. Krauter Vesuvius grows to only 15 feet, with light pink flowers and leaves that are dark purple to almost black. Nigra grows less than 18 inches per year and can be maintained at 4 to 6 feet as a hedge, although it can reach 25 feet.
Plums are members of the Rosacea (rose) family of shrubs and trees, many of which bear edible produce, including plum, cherry, apricot, peach and almond. Purple leaf plums are susceptible to viruses that also infect commercial crops. A study in Turkey found that purple leaf plum in urban landscapes is a reservoir for several fruit tree viruses, including plum pox virus (PPV), which originated in Bulgaria in the early 1900s and entered the United States in the 1990s. PPV spreads regionally in rootstock and seedlings, and is carried locally by aphids. PPV lowers total yield and reduces marketable yield by deforming fruits.
- Purple leaf plum from wiki commons


text:
Previous studies on Internet-based treatment with minimal to moderate therapist guidance have shown promising results for a number of specific diagnoses. The aim of this study was to test a new approach to Internet treatment that involves tailoring the treatment according to the patient's unique characteristics and comorbidities.
A total of 54 participants, regardless of specific anxiety diagnosis, were included after an in-person, semi-structured diagnostic interview and randomized to a 10 week treatment program or to a control group. Treatment consisted of a number of individually-prescribed modules in conjunction with online therapist guidance. Significant results were found for all dependent measures both immediately following treatment and at 1 and 2 year intervals. Mean between-group effect size including measures of anxiety, depression and quality of life was Cohen's d ¼ 0.69 at post-treatment, while the mean withingroup effect size was d ¼ 1.15 at post-treatment and d ¼ 1.13 and d ¼ 1.04 at 1 and 2 year follow-up respectively.
The tentative conclusion drawn from these results is that tailoring the Internet-based therapy can be a feasible approach in the treatment of anxiety in a homogeneous population.


text:
Regular price
Sign up to be notified when this is restocked!
Looking for an alternative for the Pro Micro that has a USB port that won't break off so easily? Or maybe you want something with the DFU bootloader already loaded onto it? Great, then the Elite-C is for you!
Want the new lower profile version instead? Check out the Elite-C LP.
New! Elite-C V3.1:
Elite-C V3:
#define SPLIT_USB_DETECT
Question: Can I use this on just the master half of a board and use the cheaper Pro Micro on the slave?
Answer: Yes! You can do this without any problems, just remember that the Pro Micro half is flashed using :avrdude, and the Elite-C half is flashed using :dfu.
Detection issues in QMK Toolbox: See info on installing the correct DFU driver using Zadig here: https://docs.qmk.fm/#/driver_installation_zadig?id=bootloader-driver-installation-with-zadig


text:
1 Leather
2 Wood:
Current Selections
Ericson's sculptural solid wood frame is made by Vermont artisans known for crafting exceptionally beautiful and comfortable chairs. Every detail is perfectly executed, from the elegant dowel joinery to the precisely contoured arms. Soft, down-blend cushions lend this chair plush comfort and a relaxed look, while the ladder back gives it visual interest from every angle. Ericson blends Japanese and Scandinavian design details for a timeless look that's always in style.See the full Ericson collection
Comfort Overview
Discover if this seating will be comfortable for you.
Seat ComfortFor a scale of soft to firm, this product rates as very soft seat comfort level.
Seat DepthFor a scale of shallow to deep, this product rates as shallow seat depth level.
Seat HeightFor a scale of low to high, this product rates as medium high seat height level.
Details of Ericson Lounge Chair
Material Details
- Dimensions: 28"w 33"d 31"h
- Inside Width: 19"w
- Arm Height: 23"h
- Seat Height: 19"h
- Seat Depth: 20"d
- Leg Height: 10"h
- Leg Thickness: 2" diam
- Legs: none are removable
- Construction: benchmade hardwood frame with webbing seat suspension Construction details
- Seat Cushion: blend-down Cushion details
- Back Cushion: fiber down blend
- Cushion Style: loose seat; loose back
- Warning: California residents Proposition 65
- Product Origin: made in Vermont
- Material Origin: United States and imported
- Item Number: 536343
- See all photos
Material Details
- Leather: Urbino ivory
- Leather Type: top-grain
- Leather Finish: semi-aniline
- Leather Description: Urbino's consistent color allows its plump, pebbled grain pattern to become its prominent feature. Tumbled for long periods of time to achieve an exceptionally soft feel, this stain and scratch resistant leather maintains its even, low-shine look over time.
- Leather: Urbino ivory
- Leather Type: top-grain
- Leather Finish: semi-aniline
- Wood: white oak
- Finish: oiled
- Material Description: White oak is a durable, domestic hardwood that is a common go-to for flooring and furniture. This wood has a broadness of color that ranges from golden honey tones to subdued whitewashed hues that will deepen over time. The color and pattern variance in the wood grain makes white oak a unique and versatile addition to your home.
- Wood: white oak
- Finish: oiled
Product Care
Cushion Details
Blend down
- Eco-friendly, high-resiliency foam core wrapped in fiber padding, feathers and down, encased in down-proof ticking
- Offers widely-appealing, relaxed comfort
- Offers a casual look
- Will soften and settle with use; some feather loss is normal
Made to the same high standards as all of our furniture, each one of our upholstery frames is built to last.
Kiln-dried, engineered hardwood
We use kiln-dried, engineered hardwood in all of our upholstery frames. Often used for structural beams, engineered hardwood is made by pressing thin layers of solid wood together. Kiln-drying removes moisture, minimizing seasonal expansion and contraction. This stable hardwood material resists warping and cracking for lasting durability.
Reinforced joinery
We reinforce every joint in our frames for added stability. Precision-cut parts interlock like puzzle pieces and are reinforced with eco-friendly glues, screws or staples and corner blocks. Reinforced joinery ensures your seating holds together, even with years of frequent use.
A webbing suspension is made by interweaving strips of nylon material to create a resilient platform. The elasticized webbing is securely attached to the wood frame with staples. Webbing suspensions are ideal for thin-profile styles that require maximum support in minimal space.


text:
Be a part of the Nationwide Fee on Forensic Science Federal Advisory Committee Assembly 13 on April 10-11, 2017 in Washington, DC, or be part of through webcast. The AlcoHAWK Extremely Slim comprises an digital airflow sensor to make sure the person continues to blow via the unit. This is a very important new perform as a result of solely samples of air from the deep lung are proportionate to blood alcohol content. This new innovative sensor ensures the consumer exhales via the mouthpiece over the 4-5 second exhale. This is a vital function for skilled screening to stop an intentional quick exhale which might affect Ultra Slim additionally incorporates a software program upgrade to allow the unit to track if a fair alcohol concentration is detected in the sample. This cutting-edge technology gives another method of guaranteeing breath pattern integrity.
I assume I'm just surprised that I've never heard of AR, given the amount of time I've spent on the internet previously yr or two. Microsoft has stated that Venture Scorpio will arrive within the fourth quarter of 2017. With Kodak's Share button, you simply need to press it, choose the place you'll share it after which join your digicam to your COMPUTER or insert your card and your footage are uploaded proper the place you designated them to be. I might think about these to be alongside the strains of travel mice, and probably not a long term answer, but who knows, you may fall in love with it.
Spend three days elbow to elbow with the fueling business's top minds, and get ready to positive tune your business for fulfillment. Below are just among the matters we will cowl. Get able to study! Hopefully this would be the year the place the whole lot becomes linked. Your Nest thermostat could join with your Fitbit or Apple Watch. Figuring out that you just're coming back from an intense run on a sizzling day, it's going to ensure you walk into a pleasant, cool house. Whenever you begin to run low on Gatorade, your good fridge can alert Amazon's Alexa to order a brand new case.
However it's important to admit, it is a begin. The Jet Pack International units have great potential, and the missing travel time and distance is outweighed by how mobile and controllable the flight is, not to mention how compact the models truly are. Whereas I might make some huge record of appropriate motherboards, essentially the most environment friendly way for you to find the compatibility of your motherboard is to go to the manufacturer's AM3+ appropriate web web page. To facilitate this process, I've listed the hyperlinks, by manufacturer, that you could find below my checklist of the very best Asus, Gigabyte, MSI, and ASRock motherboards.
NASA has awarded a $125,000 grant to Methods and Materials Research Corporation (SMRC) to enable them to build a prototype 3D meals printer. Anjan Contractor, an engineer at SMRC, says that in the system that they're creating, the proteins, carbohydrates, macronutrients and micronutrients would be saved on the spacecraft in a powdered form. He says that these elements will remain steady for thirty years so long as no moisture is current. Vitamins in the powder could come from a wide variety of sources, including non-conventional meals like insects and algae.


text:
Update on possible severe weather tonight
Update on possible severe weather tonight
Update on possible severe weather tonight
The Storm Prediction Center just released its latest outlook for severe weather today. All of NWAR is still in the "Enhanced" risk, and it extends about down to I-40 in the River Valley. All of the rest of us are in the "Slight" risk (which, while being the lower of the two risks, does not mean we can let our guard down). The biggest change was the increased tornado threat they now have NWAR in.
In a nutshell, we expect isolated storms to form this evening, mainly after 5. Then we expect the bulk of the storms to come in along the cold front tonight, between 8pm and 3am (starting first in NWAR, then moving south thru the River Valley around Midnight, and thru the Ouachitas early in the morning).
All modes of severe weather will be possible. There is a whole lot of shear with this system. Not as much instability, but, enough cold air aloft and enough of a trigger mechanism in the cold front to allow for fairly expansive thunderstorm growth.
The risk of damaging winds are highest for us, as you can see pictured below. Hail is a close second, with even the threat of very large hail just to our north (that's what the hatched area means)...
The big story is the tornado probabilities. The most recent tornado outlook, as you see below, now has much of NWAR in the area where they think there is a 10% chance of seeing a tornado, within 25 miles of any one point. We were only in the 5% risk area earlier today. And they now believe there is enough potential for a strong tornado, they have drawn in the hatch area just to our north...
I don't really have any disagreements with these outlooks. Given the frontal placement, and limiting factors, like instability, this all makes sense. And most of our models paint a picture similar to what we see here from the SPC.
So, we'll keep a close eye on it tonight. If you have plans this evening or tonight, please be sure to keep your phone on you. If you have the 40/29 News or Weather apps downloaded... it will alert you of any warnings. As always, we will be live on the air with new information, as warnings come in. We will also try to go live on fb as the storms get closer.
Chief Meteorologist Darby Bybee


text:
Trent Valley Tyres – Tyre Selector
Enter your registration:
enter your registration in the box above
and we will find the best tyres for you
Telephone: 01889 586666 | 01889 582771
Trent Valley Tyres – your number 1 place for tyres in Rugeley
Trent Valley Tyres know how important your tyres are when driving your vehicle. Your tyres are the only part of your vehicle that is in contact with the road surface, and responsible for driving, braking, steering and stopping. It is vital to your safety and your vehicles safety that you keep your tyres in optimum condition. Our highly trained and experienced staff will help guide you and provide advice and assistance on any issues you may have.
We stock tyres from all the leading brands including run on flat tyres and we are an approved agent for Tyron tyre bands. Tyre brands stocked include; GT Radial, Michelin, Good Year, Dunlop, BF Goodrich, Continental, Bridgestone, Falken.
We provide an agricultural tyre fitting service, a mobile tyre fitting service, a commercial tyre service and a fleet service. Trent Valley Tyres can deal with all your tyre requirements, we are a Staffordshire tyre fitting company with over 46 years of tyre fitting and tyre service experience.
Our friendly and professional team of tyre technicians know all about tyres and are eager to help. We have three fully equipped mobile tyre vehicles that will assist you on the side of the road, motorway or we can visit your home and workplace to repair or replace your tyres.
(note: we do not supply part worn tyres but have a wide range of budget tyres always in stock)
Our fast and efficient agricultural tyre service will ensure your agricultural vehicle gets moving and operational quickly.
Our team of experienced fitters will come to your farm, site or place of work and fix your punctures or replace your tyres. We work on all types of agricultural tyre and agricultural vehicles.
When you have tyre problems with any of your agricultural vehicles, Trent Valley Tyres, Rugeley are here to help get you moving. Tyres can be fitted at our premises or we can call out with your vehicle wherever it is. We understand the importance of keeping your vehicle working, and know that a tyre fault can be disastrous to your working day.
We currently have three fully equipped mobile tyre service vans that can service, repair or replace your tyre issues. Our vans and experienced fitters can be dispatched quickly and tend to your vehicle where it has stopped. We carry a range of suitable agricultural tyres in stock and a range of different tube sizes to facilitate the smallest to largest of tyres.
Trent Valley Tyres has the facility to maintain large agricultural fleets and would be more than happy to discuss your agricultural vehicle fleet needs today.
Our commercial tyre division works closely with the operators of large commercial fleets. We are the preferred tyre contractor for several major fleets, providing our fast reliable fitting and maintenance service.
We can service all your commercial tyre needs either on site, on the road or at our premises in Staffordshire.
If your commercial vehicle is off the road for any length of time; this means you will not be earning any money from it and your business could suffer as a consequence. We understand this and work very closely with major hauliers and commercial vehicle owners throughout Staffordshire. We ensure your tyre issues are taken care of quickly and efficiently.
Whether its a one off tyre replacement or a fleet contract for all your commercial vehicles, Trent Valley Tyres, Rugeley can take care of all your tyre needs. Our experienced tyre fitters and fully equipped mobile vans can be on their way at a moments notice, as soon as you have placed a call to our office. We always carry a suitable range of commercial tyres in stock that can be fitted at our premises, your premises or on the roadside.
Our mobile tyre fitting service service operates within a 20 mile radius from Rugeley, Staffordshire.
We have 3 fully equipped vans that will turn up and fix your tyre issues. We will easily deal with your car, caravan, fork lift, commercial vehicle or agricultural vehicle tyres.
Trent Valley Tyres Rugeley is committed to offering you the best tyre service and experience possible. If you find it difficult to come to our premises or maybe you cannot get time away from work, we will come to you. You can select your new tyres from our extensive range, choose a convenient time and place to have them fitted and we will do the rest.
We also know how important it is to keep your fleet or commercial vehicles on the road. We have a fleet of 3 fully equipped service vehicles that can come to your aid and swiftly get you moving again.
From cars and caravans to commercial vehicles and agricultural vehicles, you can rely on us to be your first choice when it comes to mobile tyre fitting. All tyres and wheels are fitted and digitally balanced at your convenience.
Our team of experienced tyre fitters know their way around all manner of vehicles and no job is too big for our qualified friendly team.
Our fleet tyre services can cater for the needs of all your fleet vehicles, large and small. We offer competitive fleet tyre contracts for all your cars, vans and lorries; with a service that is quick and reliable.
We can tend to all your fleet tyre needs future and present.
Trent Valley Tyres offer competitive fleet contracts for all your vehicle fleet requirements. Why not call Neil today and discuss a contract with competitive rates for your fleet.
With our premises in Rugeley and three fully equipped mobile vans we can tend to the needs of your fleet efficiently and swiftly.
Fleet contracts are currently available for cars, vans, lorries, caravans, small trailers and agricultural vehicles. If you cannot come to our premises we can send one of our fully equipped vans with an experienced fitter out to you. We will call at your place of work, your home or at a suitably agreed location.
Let Trent Valley Tyres, Rugeley take the hassle out of your fleet tyre worries. We have been in business for over 40 years and know a thing or two when it comes to tyres. We will provide you with a fast friendly and efficient service.
Don't forget we can also provide batteries, brakes and exhausts, and can include these into your fleet contract.
We are excited to introduce AlloyGator, a fantastic new product that will keep your alloys and wheels looking great, longer.
Working closely with strategic partners, AlloyGator™ has developed a tried and tested, cost effective and durable alloy wheel protection system which vastly reduces the risk of wheel damage.
The AlloyGator product is made of a "Super Tough Nylon" which is flexible and wont damage your alloy wheels during fitting, but tough enough to give superior protection.
"You can't pick and choose where you'd like to have a puncture or blow-out…"
…but with Tyron you stay in control and can continue driving to where it is safe to change it! Fit Tyron For Life!
Trent Valley Tyres Ltd can supply and fit Tyron Flat Tyre protection systems to your vehicle, call in today to find out more. Police forces and the Military use Tyron Flat Tyre Protection – now you can!
The problem is the way wheels have to be designed. All wheels have a "fitting well" in them. It has to be there for the fitting and removal of tyres, but it is this well that can be so dangerous when you have a puncture. When the tyre is inflated, it is held in place by air pressure, but when this pressure is lost, the tyre can move around freely and drop into the fitting well. Braking and traction is lost, you can lose steering control and the wheel rim can come into contact with the road.
Tyron is a patented lightweight well-filler band that converts a standard steel or alloy wheel into a safety wheel. When fitted, it will significantly improve the performance and safety of any wheel or tyre in the event of deflation. At speed it assists the driver in maintaining steering, cornering ,braking and traction control. It provides a short run-flat capability so you can choose a safe place to stop and change the wheel.
Why you need Tyron flat tyre protection fitted to your caravan!
The problem with a puncture on a caravan is that it can take a while before you realise you have one. Without Tyron, the tyre can then start to come off the wheel allowing it to make contact with the road which causes the caravan to flip on its side…. MATCHWOOD !!
With Tyron fitted to your caravan you can travel with peace of mind knowing the tyre can not come off the wheel. This allows you to drive to a place of safety and at the same time protects your expensive steel or Alloy wheels.
Brake Services We know the importance of getting your vehicle stopped safely. That is why we offer a free brake check, to ensure your pads or discs are in optimum condition. We cater for all makes and models and we can replace your shoes, pads and your discs if required.
Ensure your braking system is working correctly and efficiently by calling in and asking for your free brake system health check.
Your brakes are the only thing that can stop your car or light commercial vehicle safely. Therefore it is important that you have them checked regularly and any parts replaced as soon as they have worn out. You will use your brakes more on short journeys around town, compared to a long journey on a motorway, unless you have to brake in an emergency. This is why you need to know you can rely and trust your brakes to work efficiently and effectively when you need them. Your brake components and braking performance will deteriorate over time and because it happens gradually, many people don't notice the difference in their braking system.
Trent Valley Tyres, Rugeley recommend you have your braking system checked twice a year by our experienced fitters and any parts changed or advice given where necessary.
Battery Services Trent Valley Tyres are keen to keep you on the road and your vehicle working efficiently. An essential part of any vehicle is the battery, flat batteries are one of the most common types of vehicle breakdown.
Call into Trent Valley Tyres, Rugeley for your free battery health check. Don't get caught out when the first frost comes and leaves you stranded with a vehicle that will not start. We can check the health of your vehicle battery and charging system and advise you if we find any areas of concern.
Your battery simply stores electricity and when you need to use it, delivers power to where you need it. Any power your battery uses is replaced by the alternator which charges the battery and supplies power to your cars electrical system. A battery is more prone to failure during the winter months, and can fail without giving any warning symptoms. Regular battery health checks can identify problems early on and ensure you always get to where you are going or get home safely.
Exhaust Services We can replace a small part of your exhaust system or the complete system. An efficient exhaust, will make your car run better, improve fuel consumption and be quieter. Your exhaust system should be checked regularly to ensure no poisonous gasses are leaking from it and it is working efficiently. We can replace exhausts on a wide selection of cars and light commercial vehicles.
We will advise you to get your exhaust system checked twice a year, to look for cracks, leaking joints, failed gaskets, corrosion, broken hangers, worn rubber mountings, and high levels of pollutant gasses. Your exhaust has four main functions; to control noise, to direct exhaust fumes away from passengers, to improve the performance of the engine and to improve fuel consumption.
Your exhaust corrodes from both the inside and outside. The life of your exhaust will depend on how far and how often you drive your vehicle. Vehicles used for short trips around town will corrode their exhausts in a quicker time than cars used for long journeys.
Call in to Trent Valley Tyres, Rugeley today and get a free exhaust health check on your vehicle. We will advise you if you need any replacement parts and fit them for you.
Trent Valley Tyres
Trent Valley Tyres Ltd
6 Brick Kiln Way
The Levels Industrial Estate
Brereton, Rugeley
Staffordshire, WS15 1RD
tel: 01889 586666 | 01889 582771
email: email@example.com
Monday: 08:30 – 17:30
Tuesday: 08:30 – 17:30
Wednesday: 08:30 – 17:30
Thursday: 08:30 – 17:30
Friday: 08:30 – 17:30
Saturday: 08:30 – 12:00
Sunday: Closed
6 Brick Kiln Way, Brereton, Rugeley, Staffordshire, WS15 1RD
Telephone: 01889 586666 | 01889 582771
Email: email@example.com
tyres, mobile tyre fitters, tyres on the drive, agricultural tyres, tractor tyres, commercial tyres, fleet tyres, brakes, batteries, exhausts, tyron bands, alloygator, caravan tyres, motorhome tyres, classic car tyres, wheel alignment, wheel balancing,
Areas We Cover:
Rugeley, Abbots Bromley, Admaston, Armitage, Blithbury, Brereton, Cannock Wood, Colton, Colwich, Cheslyn Hay, Etchinghill, Great Haywood, Hamstall Ridware, Handsacre, Hill Ridware, Kings Bromley, Little Haywood, Longdon, Mavesyn Ridware, Slitting Mill, Upper Longdon.
Website Pages:
| sitemap | terms of use | privacy policy | cookie policy |


text:
Find out how Facebook UK operations only paid a tax bill of £4,327.
Compared to other tax bills of:
Amazon: £11.9m
Apple: £11.8m
Starbucks: £11.4m
One Direction: £8.24m
Facebook has paid less in tax for the last year than an average UK worker would pay. The social network's UK operation paid - wait for it - £4,327 for the year 2014. That's in corporation tax.An average UK worker earning £26,500 would pay £5,393. That's a combination of income tax and national insurance payments.How come? In a nutshell - Facebook has done nothing illegal or against the rules.It's just that in the UK although it "turned over" a lot of money it didn't make enough of the right kind of money - "profit".


text:
Frederic Bastiat Institute Africa, is an Economics Research Think Tank and Investment Banking Training Institute, with heterogeneous research approach, in contributing to knowledge and its application, for empowerment and development of the continent of Africa, economically. We are proud as fellows in the Traditions of Austrian School of Economics and an active member of International Federation of Technical Analysts with headquarters based in Maryland, USA. We believe private sector growth is the Engine of every sustainable economic system of a developing economy and such require quality capital resourcing in both endogenous and exogenous mechanism.
We advocate in the intellectual spirit and the principle of market liberalism, and believe in the dignity of labour, whether with head or hand, that the world owes no man a living but that it owes every man an opportunity to make a living and such lie on quality central government regulations and credible policy guidance.
Our life commitments to knowledge as a research institute are to help preserve the traditions of Entrepreneurship spirit in Africa, defend and advocates for private sector growth in investments, management and the capacity to solve problems of society, which will advance the civilization of humankind.
The Institute core function is in Economics and Investment Banking but specialized in the following service-projects areas as in Technical Analysis of the Stocks, commodities, bonds and the forex trading markets. As well as theoreticians in the area of Growth Economics, Investment Attraction, Macroeconomics, Monetary Economics, Managerial Economics, and Policy Analysis
Our greatest priority and efforts are to prove the theory of F. A. Hayek in the material world, which state, the curious task of economics is to demonstrate to men, how little they really know about what they imagine, they can design.
The Publication column of this site as the Institute Online Library is installed with working papers of the authors, which are still subjected to further improvement of peer-review for a final editorial work to be published in an international indexed journal. Any attempt to cite the indexed papers, just Google the papers' title at the column to access it international peer-reviewed published version for citation purposes, any difficulty, contact the below e-mail for necessary assistance.
We welcome your presence as a funding partner or a deep thinker with advanced intellectual skills to contribute towards the mission as a proud citizen of Africa or African developmental activists, who believes, Africa has what it takes to compete in the global arena. "Agmen of economic thinkers iungere novi ex Africa".
Contact us, for any of the technical supports and experts in the aforementioned areas.
email@example.com | +233543105144| +233(0)302905369| +233508383274
Below is Frederic Bastiat Institute major affiliates and partnerships.


text:
Yesterday and today, Lovebug Creations has teamed up with Craftin Desert Divas to show case the rumple ribbon and merry stamp greetings!
I used some Olive You Rumple Ribbon for my festive bow! Christmas isn't just about red and green any more. Lovebug Creations has so many colors to make your winter and Christmas "merry & bright!"http://www.lovebugcreations.net/product/islandbreeze The "snow adorable" sentiment comes from their Holly Day Punnies set.http://www.craftindesertdivasshop.com/item_30/Holly-Day-Punnies.htm I loved how well these
I used Mini Glue Dots ® to secure those darling sequins...and
a permanent dot for the fun, rumply Olive You bow!
The decorative brads can be found on the Eyelet Outlet site.
I love how easy it is to put together a card with these color brads and a fun sentiment.
Oooh, and you will get the best priced bling at the Eyelet Outlet as well!
I hope you will want to take a walk down a wintery, wonderland today with us!
As always, there are prizes and discounts...don't you just love Christmas in July!!
Day 2 (Saturday July 19)
1. Craftin' Desert Divas - https://www.facebook.com/
5. Dawn Mercedes https://www.facebook.com/
6. Lori - https://www.facebook.com/
7. Kimi at Lovebug Creations - https://www.facebook.com/


text:
I am furious.
To put this in perspective, while I was away my supervisor called and pretty much insisted that I attend this conference. He said it would all be organised, that I could wait until I got home to do the paperwork and that everything would be fantastic. There was a university vehicle, so I wouldn't even have to worry about getting there, and so on and so forth.
OK, fine. I didn't want to do it, but I agreed eventually, realising that it would be good experience, and I've never done a proper presentation at a conference, only presented a poster, which is tedious and time-consuming and all-out horrible.
I haven't been able to track down the guy who will be driving there tomorrow, so today I went and got his phone number from his supervisor and tried to get in touch. No answer.
To put this in context, these people are the type that I think are very insecure and possibly unpopular way back in high school or something. They feel the need to develop an image of being 'cool' and they do so in the easiest way: they exclude other people. they are generally quite entertaining and as such the undergrad KIDS-es adore them, and they sue that to their advantage by shamelessly playing favourites. Amongst their peers they make sure that everyone knows what they are up to, and that everyone who is not a member of their little 'fan club' is quite aware that they aren't invited.
I'm sure if they weren't so desperate to feel adored they would be pretty nice - on several occasions on various trips I have spent time with them, and we usually get along really well, but the minute the trip is over and we're back in our labs they act as if we've never met. I refuse to hero-worship people who I don't find as funny as they think they are, or as 'cool' as they try to be. I left high school 6 years ago and I was glad to wipe my hands of the politics and mind games. I have great friends and we have fun, but I will NEVER try to exclude anyone (and if I do, please slap me or something!) unless there is a very good reason.
The whole cliqueyness of the situation drives me nuts, and as such I just plain avoid people like that, but, unfortunately when you work on similar stuff you end up running into each other from time to time.
Anyway I finally managed to ask the conference organiser if she knew how many people were going to be travelling in the university car, as it had also been volunteered to take people from the airport to the conference - a meagre 4 or so hour drive. She replied that my name was not on the list, and that the car is full. so now, THE DAY BEFORE I've had to shuffle plans and organise to take my car down, and then come back the day before I was planning on leaving so I won't have to leave my car in the middle of nowhere.
I'm not angry because they've excluded me once again. to be honest I expect it from them. I'm not angry that I have to make another plan, I rarely claim anything that I spend on my work, and I paid for my last conference myself because I didn't have the energy to do all the paperwork, so I WILL be claiming back fuel for this trip. It's not even that I'll miss out on a cool talk about tree frogs.
What really upsets me is that I had to find out from a complete stranger what the people downstairs from me are doing. They didn't even bother to ask me, or tell me or anything. If it wasn't for the organisers being really nice in scheduling my talk early so that I can leave, I would actually cancel my attendance right now. And now I get to look forward to driving somewhere completely new to arrive in the dark and to leave less than 24 hours later.
The bonus is that while I only have a skeleton of a talk right now, I don't feel nervous anymore. The people there are going to be the same cliquey 'family' as I always encounter (I know a few of them personally) and to be quite honest, I don't care what they think of me.
I just want this to be over.
Tuesday, November 25, 2008
When music fades away in the roar
I am furious.
5 comments:
- SuvvyGirl said...
Nothing like people pissing you off to work out all of the butterflies. You're handling it much better than I would. I would find someones head to go over and tattle. :P I'm normally not a tattler, but some situations require it. To get even if nothing else. That would probably also explain why I make some situations worse. :P
- 7:36 pm
- Luke said...
Ah, intra-departmental politics...such bliss...
Fear not comrade! I too cannot stomach such behaviour! And on the plus side, at least you can come with us to sodwana straight from Jozi!
- 10:49 pm
- Helen said...
Thanks for the support guys! I'm actually pretty happy with the way things worked out, I get to takae my own car and have an escape option if the herpetologists become unbearble... I'm tempted to write a bitchy post about how guys keep snakes as pets to compensate for their pathetic egos... but i will hold off until I calm down a bit more!
- 12:22 am
- sarah said...
oh hels!
i can just imagine WHO these idiots are! i know there are tons and tons in your department. gross. and i use the age old solution taught to me by my ancestors - kick them in the shins!
gooood luck!
- 3:10 am
- Unknown said...
i presented my first ever paper at a conference last week. i even got a delegate bag! i felt muchos importante :)
i am sorry to hear about your crappy situation. blogging is indeed a good to vent your frustration. just remember that they will step in dung one of these days. karma always works friend.
ps - i don't have to fill in a word to comment. this makes me slightly, although not terribly sad, as they highly amusing most of the time.
- 11:25 pm


text:
What is Memory Foam Mattress Topper?
A memory foam mattress topper is a piece of removable bedding that placed on top of a mattress. It serves many purposes, one of which is to breathe new life into an old mattress or protect it from regular wear and tear. A topper is also placed on top of a firm mattress surface to add more fluff and softness.
It is essentially similar to conventional mattress toppers available in the market. The main difference between them is the material from which it is made from. Instead of down, wool or latex, it is made from memory foam.
Memory Foam Mattress Topper: New Developments
Heat retention is one of the most common complaints that people have had against memory foam mattress toppers for a very long time. Fortunately, manufacturers took action and developed new generation versions, which incorporate open cell structures for better breathability.
Newer developments include gel visco, which fuses gel particles to the topper to limit the trapping of body heat. Other companies continued to make innovations by adding other materials to the mix. Many of them have experimented by adding aloevera, activated charcoal or even green tea extract to reduce the odd odors caused by off-gassing.
A Quick History of Memory Foam and Mattress Toppers
Memory foam, the special material that makes up the memory foam mattress topper, is basically made from polyurethane. Other chemicals are added during the manufacturing process to increase its density and velocity.
This special material was initially designed for NASA use back in 1966 for the purpose of improving aircraft cushion safety. NASA eventually released the technology to public domain during the early 1980s, and was introduced into the market by the mattress and cushion manufacturer, Tempur-World.
Memory foam started out as a very expensive product, but eventually became cheaper until it became something that even homeowners could afford. Over the years, companies started manufacturing other products aside from mattresses, and these included memory foam mattress toppers.
Should You Buy A Memory Foam Topper or A Mattress Instead?
If you are considering memory foam but have not decided yet between a mattress and a topper, here are some things that you may want to keep in mind when choosing between both.
Assess your existing mattress. Is it still in good condition? If so, then it is indeed a better idea to simply add a memory foam topper instead of buying a full mattress. If your existing mattress is relatively firm, you can choose a thicker and denser topper to use with it. However, if your mattress is on the thinner or softer side, then a thinner topper should be good enough. Do not buy a topper if your existing mattress is old, saggy and worn out.
Buying a memory foam mattress topper can be tricky, considering the fact that there are so many options to choose from. Here are some things to keep in mind when you go shopping:
Density: The density of a mattress topper determines its overall feel and quality. It is measured in number, which corresponds to the weight of one cubic foot of that material. For example a topper with a 3-pound density means that one cubic foot of that particular memory foam weighs four pounds. A topper with a higher density easily conforms to the contours of the body and may take more time to go back to its original shape.
Toppers with higher density are also firmer and provide more support to the body, and survive years of regular use. Those products with lower density are usually softer and do not hold up as well over time. Most experts recommend that you choose a topper with a density of 4 lbs or higher.
Thickness: The thickness of the memory foam mattress topper is also a very important aspect that you should keep in mind, as it plays a big role in body support and comfort level. Take note that the thickness and density of a memory foam mattress topper (or even a mattress at that) is correlated. Thus, as a general rule of thumb: high density, thinner topper; lesser density, thicker topper.
You can choose from pads as thin as 1 inch to those as thick as 5 inches and even more. A 2 inch thick topper is the best place to start since it provides most benefits of a memory foam topper without being too expensive. A topper more than 3 inches definitely feels more luxurious than thinner ones, but may also require a little more in terms of cost. Five inch toppers (or those thicker than that) – you might as well get a whole new mattress instead.
Your weight: Memory foam mattress toppers are not for everybody. They are not recommended for users who weigh over 250 lbs, since foam can only carry up to a certain weight, or else it will break down with continuous use. There are other types of foam in the market that are designed especially for heavier weights, and these include dense latex and polyurethane foams.
Warranty: Like mattresses, toppers have an average lifespan of 5 to 10 years, but denser and heavier foams may last 10 years or more. A product's warranty should be able to cover this. The material should not be washed in any way, and any exposure with water may nullify your warranty with the manufacturer. That said it is good to take precautionary measures and purchase a mattress pad cover to protect the product from exposure to moisture or liquids.
Well Known Brands of Memory Foam Mattress Toppers
While density, thickness and warranties are the most important factors to consider when deciding on a memory mattress topper, it also helps that you buy one made from a reputable brand. Tempur-Pedic is a leading name when it comes to memory foam technologies, but there are also other brands such as Sealy, Serta and Amerisleep that are catching up and developing a strong following of their own.


text:
You are at: Planned Giving > News > Washington News
IRS Tips on Spyware, Malware and Phishing
Summertime IRS Tax Tips
Positive Comments on IRS Reforms
Taxpayer Advocate Nina Olson Seeks Prompt IRS Guidance
Taxpayer Advocate Desires IRS Improvements
Lutheran Indian Ministries - 3525 North 124th Street, Suite 1 - Brookfield, Wisconsin 53005T: 888.783.5267 - F: 262.783.5290
A Ministry of Lutheran Association of Missionaries & Pilots, U.S.
© 2020 Crescendo Interactive, Inc. PRIVACY STATEMENT
This site is informational and educational in nature. It is not offering professional tax, legal, or accounting advice. For specific advice about the effect of any planning concept on your tax or financial situation or with your estate, please consult a qualified professional advisor.


text:
Sprained ankle Rice is not the fast way to heal your ankle.
RICE is the first aid response to an injury. It is designed to minimize additional damage and give the person relief from pain. It has nothing to do with getting your ankle healed and is NOT a rehab method.
RICE stands for Rest, Ice, Compression and Elevation.
It is the most conservative thing you can do after an injury.
If you want to get better fast and you don't want to miss out on your plans, you need an active rehab program.
The rehab program should reduce swelling fast, restore range of motion and strengthen the muscles that support your ankle.
And, one more thing. It should repair the nerve damage that occurred when you sprained your ankle. The nerves that were damaged tell your brain the position your foot is in and if they are not repaired and re-calibrated, medical science says you will most likely suffer a more serious sprain within 12 months of your first injury.
Here's the program that I recommend:
If you don't have torn ligaments or a fracture you can realistically get back to your life within 5 days.
Take a look at it and let me know if you have any questions.
Filed under: Uncategorized
Like this post? Subscribe to my RSS feed and get loads more!


text:
The party almost lost the city of Taichung in central Taiwan, a race that should have been a slam dunk. Most unsettling is the rising voter support for the anti-unification "greens" that caught many observers by surprise.The key thing to take away from this is not the numbers which will certainly change in subsequent elections -- the municipal vote is not coterminous with the presidential vote -- but the rise of the DPP irrespective of whatever flexibility is in the numbers. And especially, the rise of DPP Chair Tsai Ing-wen who now appears to have a clear lead in the runup to the DPP 2012 presidential nomination. The CS Monitor observers:
In islandwide tallies, the DPP won nearly 50 percent of the total vote, compared with less than 45 percent for the KMT, an advantage of more than 400,000 votes. This was a large erosion of support for President Ma and his party, which won the 2008 presidential race by more than 2.2 million votes. Turnout of 72 percent was unusually high for local elections, reinforcing the menacing math for the China-friendly KMT. The opposition also pulled even with the KMT in seats on local city councils across the island, showing strong support at the grassroots level that has traditionally been a heavy advantage for the ruling party.
One conclusion from all this is that Taiwan's two-party system is working better than many analysts had believed. It is now obvious, too, that Ma is vulnerable in 2012, when he is expected to stand for a second term and could initiate political talks with Beijing.
DPP members give much of the credit to Tsai Ying-wen, a British-educated law professor, trade negotiator, and former vice-premier who took over party leadership in May 2008. With her makeover of the DPP's former image as a bastion of fundamentalists who stridently advocate Taiwan's independence of China, Ms. Tsai is a different kind of opposition leader.This difference, the "New" DPP, is also a theme in Project 2049 head Randall Schriver's call for the US to open a channel to the DPP. The Taipei Times reported:
The fact that this DPP is headed by the redoubtable Tsai Ing-wen, with a western education, excellent English skills, and a moderate image, will make it hard for the US to dismiss her and for Beijing to demonize her. Tsai and the DPP may also benefit if the US-China relationship continues to go south.
At a Heritage Foundation discussion on the elections, Schriver said: "The US government needs to pay some attention to the potential return to power of the DPP."
He said he was not making a partisan statement, but rather that he was basing his recommendations on what happened the last time the DPP was in power.
Schriver said that many senior political leaders in the US did not understand the DPP, its motivations or its core interests.
"And that led to some difficulties," he said.
If the DPP should come to power again, the US should be careful not to repeat the mistakes it made in the past, Schriver said.
One thing that would help is for the media to stop putting the negative term "anti-" in front of descriptions of the DPP. The DPP is a pro-Taiwan party. Its positions on other issues flow from that, and that is how it should be described.
The Economist also turned in an excellent commentary on the election, though the person who titled it Taiwan's voters are inching towards a kind of closer union with the mainland didn't read it very closely.....
The DPP has anyway reinvented itself. Two years ago it was at a low point: its former leader, Chen Shui-bian, had been sent to jail on charges of corruption. President in 2000-08, he was a firebrand for explicit independence. But under the leadership of Ms Tsai, a new generation of moderates has emerged and the DPP is working hard to attract professionals and youths. Ms Tsai has been hailed as a DPP candidate for the presidency, as has Su Tseng-chang, who served under Mr Chen.The thinktank mentioned above is actually dual; one part will focus on domestic issues, the other on China issues. Part of the problem is not merely formulating a China policy but also reining in the rowdy independence of DPPers who have the ugly habit of getting off message, as I've often complained on this blog, and creating a place from which authoritative policy statements on China can be made.
Their party is now doing its best to show that it too can engage with Beijing. Ms Tsai announced plans for a think-tank to act as a point of contact between the DPP and China, provided their talks can be held without preconditions. Ms Tsai tells the Taiwanese public that her party presents a "trustworthy alternative" to Mr Ma's hasty approach to China.
And for all the media organs that erroneously said this election represented support for Ma's pro-China policies, as a pro-Taiwan friend of mine remarked, "if this election signals support for Ma, fantastic! I hope Ma enjoys even greater support in the 2012 presidential election."
- US has no position on the status of Taiwan and has intimate cooperation between the two militaries.
- Cable cars planned for Ta-ken Scenic Area in Taichung. Because every city must robotically do whatever Taipei does. No city can be different. Up next: the Mayor of Chiayi announces the construction of a set of metro lines centered around a 101 story building that incorporates a gondola ride to the top.
- Lee Guan Yew on China's rise and how the US should respond. Not gonna happen Dr. L, the US is too busy making sure Central Asia is properly pacified for Chinese expansion.
- China skepticism spreads in Korea.
- WaPo: China ad or article?
- I think I will laugh for days over this, the finest article ever published in a refereed journal. Pay close attention to reviewer's comments. NIH link to same: http://www.ncbi.nlm.nih.gov/pmc/articles. Don't miss 2007 replication: Robert Didden, Jeff Sigafoos, Mark F. O'Reilly, Giulio E. Lancioni, & Peter Sturmey. (2007) A multisite cross-cultural replication of Upper's (1974) unsuccessful self-treatment of writer's block. Journal of Applied Behavior Analysis, 40, 773, Winter 2007
- DKOS with extensive article on NASA announcement of new kind of life. Awesome.
[Taiwan] Don't miss the comments below! And check out my blog and its sidebars for events, links to previous posts and picture posts, and scores of links to other Taiwan blogs and forums! Delenda est, baby.


text:
While visiting Gettysburg a week and a half ago, we were looking forward to the opportunity to have a wetplate photograph taken in costume. We had received a few recommendations before arriving and were excited to find that there are several experienced wetplate photographers in town. During a chat with Frank Orlando at the visitor's information center upon our arrival, he highly recommended the Victorian Photography Studio and happily shared some of the photographs that they've done for him. Their website has an excellent reservation page that shows available times, so I used that that night to make my appointment for the following day. Very convenient!
Since Gettysburg is such a busy tourist town, the studio offers some wonderful choices for families who are looking for a memento of their vacation to the 1860s. They have a closet full of costumes and accessories appropriate for all ages, and even offer a digital photography option, which manipulates the photo to look "antique" like a tintype. But for those of us who are always interested in preserving the authenticity of the time period, the Victorian Photography Studio offers exactly what we need!
From the moment I walked in, the entire staff were so gracious and accommodating. I arrived with my own clothes and Tish (co-owner with husband, Del) kindly offered her dressing room for me to change. My wonderful photographer, Cory, was very helpful in deciding details such as whether or not to wear my glasses and how to sit. Before I posed, he showed us how he prepares the metal plate with the collodion emulsion to make its surface receptive to light. The plate must remain wet through the development process or it will not be light sensitive.
I sat very still while Cory did his magic and then we watched as he dipped the plate into cyanide and my photo began to appear! The plate is then heated to dry and additional coats of oil are added to protect the image.
We were all very interested to see how my sheer, light yellow gown would appear in the final plate. I know very little about photography, but apparently, as Cory explained, yellow and other light colors usually appear completely dark when using this process. Since this photography process only detects certain colors, it is always difficult to say for sure what colors people were wearing in Victorian photographs. The gown came out light, but the fabric looks so much heavier than the sheer cotton that it is. Below is a photo that Rebecca took during the process. Isn't it amazing how different the tintype looks?! This just goes to show that you can never judge a gown by its tintype! :-)
Thank you to the Victorian Photography Studio for your most excellent and impressive service and for so kindly allowing me to share my experience here. And a huge thank you to Cory for giving me such a fine plate to display!
The pictures included in this post were taken by us during the sitting and were done with the generous permission of the folks at the Victorian Photography Studio. Thank you, and we look forward to seeing you again soon!


text:
For those of you who don't know me well, I'm a sucker for sending and receiving mail.
Snail Mail, E-mails you name it!
There is nothing better than finding a special surprise in your mailbox and if it's on fun stationary or a beautiful card its even better!
I was recently introduced to Paperless Post and I fell in love!
Its a beautifully curated website where you can send online cards, invitations, and announcements in a really unique, special way. Not only is it easy, but it's green. No paper waste and the recipient can keep it on their computer or phone!
With Mothers Day coming up I decided to use the App to create a special card for my mom and it was so easy with so many choices from patterned envelope liner to the background and envelope color.
All you have to do is purchase Coins and each upgrade to your envelope or card costs a certain amount of coins.
Browsing the website I found that they partnered with two of my favorites, Rifle Paper Co. and Kate Spade and now I want to send ALL THE CARDS!
Keep your eye open for some really fun mail from me in the future ;)


text:
April was fantastic, but the absolute highlight of the month was running my first half marathon!
Of course, there were several moments that tied for a close second.
On one warm Wednesday afternoon, I went straight to Epcot after work to meet Josh and my grandparents for dinner in Italy at the World Showcase.
(For any vegan readers I may have, Via Napoli has pizza crust and sauce that is good enough to make up for the lack of cheese–we ordered mushrooms and truffle oil as toppings, and it was delicious!)
A few days later, Josh and I headed to Bradenton for a relaxing weekend with my grandparents before they packed and headed back north for the summer.
Near the end of the month, Josh and I went on a photography outing in Celebration and through a few Disney resorts and the World Showcase. I used the dew-covered flowers as an opportunity to work on my macro game, and I also found a few bird friends along the way.
What I've Been Reading
Another light month on reading.
Dragonwings by Laurence Yep: This was a quick read about a young boy in the early 1900s who moves from rural China to San Francisco, where he meets his father for the first time. My classes read excerpts of it as we worked on analyzing the themes of family, friendship, and courage, and I just wish we'd had time to read the whole book, because I think a lot of aspects would have been eye-opening for my students.
The Storied Life of A.J. Fikry by Gabrielle Zevin: This was simultaneously light and heavy–it was a fast read but packed a big punch by the ending. It was a wonderful book about books, and I definitely recommend it to my fellow bibliophiles.
Miss Peregrine's Home for Peculiar Children by Ransom Riggs: This didn't capture my imagination as much as I'd hoped, but I loved the concept. The author had a collection of vintage photos that he used throughout the book to tell the story of the main character who travels to a small Welsh island and discovers another world. Glad I read this before the movie comes out, and I'm interested to see how the story translates to the big screen.
What I've Been Watching
Daredevil: As Marvel enthusiasts, Josh and I had to tune into the new season on Netflix, but it took a lot of the month to make it through, as I didn't find it as binge-worthy as most of our Netflix shows. This show just feels male-centric and very visually dark (it's hard to see what's happening, though I'm sure part of that is intentional since the main character is blind). I was really rooting for Karen's sleuthing skills, and I did find the introduction of The Punisher really interesting, but there was so much going on that I really stopped caring what would happen outside of those 2 characters.
Mona Lisa Smile: I remember watching this when I was way too young to understand what was going on, but after finishing a whole season of Daredevil, I wanted a movie driven by female characters, and this movie delivered. I really enjoyed the glimpse into what the all-girl's school would have been like in the 1950s.
Dead Poets Society: Of course after watching the above movie and having recently listened to a podcast about this film, it was time to re-watch. Plus, Josh had never seen it before, so I had to show him this other movie about a conservative school in the 50s. Carpe diem!
Unbreakable Kimmy Schmidt: Josh and I powered through the new season of this show as I recovered from my half marathon injuries. Such an upbeat, quirky show with weird yet relatable characters!
Princess Bride: Just a PSA to my lovely readers that this is on Netflix! I immediately watched it once I discovered it there.
What I've Been Listening To
I haven't had time for any audiobooks lately, but I've been inundated with some quality podcasts that I thought were worth mentioning.
"Dead Poets Society with Kurt Leitner" on the I Was There Too podcast: It was interesting to hear about what filming on this movie was like.
"Episode 187: Elizabeth Gilbert" on the Longform podcast: Ever since reading Gilbert's Big Magic, I have been very interested in her, and I was fascinated to learn more about her writing life in this podcast. (I'm almost inspired enough to give Eat, Pray, Love another try!)
"Is Yellowstone in Danger of Being 'Loved To Death'?" on the Fresh Air podcast: I love learning about national parks, and I was really shocked to learn that Yellowstone saw sordid practices in the not-so-distant past that reminded me of certain parts of tourism in Indonesia. The craziest example of this is that apparently, there was a show every evening where tourists gathered around the dumpsters to watch the bears come and eat garbage. I'm so glad that there are people who have worked hard to end practices like that, and I appreciate those who are still fighting that fight in other places.
"Radio Hour: Bathtub Sailor, Seamstress, Spy" on The Moth podcast: The Moth is a treasure trove of wonderful stories, and I particularly liked this collection. The wit of the man who sailed the English Channel in a bathtub was especially amusing.
On the Blog
Still only getting around to writing about every other week.
Love, Elizabeth


text:
An interview with Michal Ptaszek (@michalptaszek)
This is one of the last interviews I made to the speakers of Erlang Factory London 2011. One of my favourite erlang developers is Michal Ptaszek. Michal works at Erlang Solutions Ltd in Krakow. He is pretty famous among ejabberd developers and XMPP lovers.
Ask and Aswer
Paolo – Michal, can you introduce yourself to our readers?
Michal – Hello, I am Michal Ptaszek – Erlang passionate and evangelist, someone who became seduced by the beauty of logic of maths and algorithms in his early childhood. Currently I work for Erlang Solutions, trying to cope with the complexity of massive scale Internet Messaging systems. From personal perspective, I have done my masters in Krakow University of Science and Technology in Grid systems field (Erlang obviously!), currently I live in Krakow, Poland, love jazz and modern literature (especially latin). Some day would like to find some time to learn how to play sax.
Paolo – How did you "discover" Erlang?
Michal – It has started in the early 2008, when Joe Armstrong came to Poland to give a talk on Erlang concepts for Student's IT Festival. Of course almost no one has ever heard of the language (or. even if, never touched it), and as Joe is such a great speaker, he planted some seeds of curiosity in my mind.
Paolo – How long did it take to you to master Erlang?
Michal – I wouldn't say I've mastered Erlang. Comparing to such people as Ulf Wiger or Robert Virding, I'm still in my infancy 🙂 The great thing in Erlang is that you do not have tons of code everywhere: language is simple, standard libraries are manageable, even VM: if you clench your fists you can read and understand the entire code in few weeks.
In my opinion people are in never-ending continuos process of developing themselves: when I look at my code written a year/two ago I feel ashamed of myself and would love to throw it away and rewrite it in some nicer way. I guess at the time when I discover there is nothing to improve I will be forced to change the profession (or at least the programming language) 😉
Paolo – How did you find your first Erlang related job?
Michal – Few months later after Joe's visit to Poland, Erlang Solutions (Erlang Training and Consulting back then) decided to open an office in Krakow: I did not hesitate a lot and applied for the internships. The office grew from 3 to 12 people since then and is extending all the time: I guess it was a really good choice.
Paolo – What are the things you love most of Erlang?
Michal – Just to name two most important things:
– built-in parallelism and distribution – I can not even imagine how do people distribute their applications and protect their critical sections using semaphores and mutexes. It's so 1990…
– fault tolerance – one of the least appreciated things in the language: ability to isolate the errors, propagate them in the controlled way and recover automatically. In the systems that run on top of tens/hundreds of machines crash of one of them is not a question of 'if' but 'when'.
Paolo – During Erlang Factory, you will talk about Erlang and XMPP: can you give to our readers a brief description of your course?
Michal – Yes, together with Michal Slaski we are going to teach a one day course on Erlang and XMPP (ejabberd in particular). During those few hours we would like to show how the things work under ejabberd's hood, why it is not a best idea to keep the default configuration, what are the
low hanging fruits for ejabberd, BEAM and OS enhancements, how can we monitor existing server, how to cluster several daemons together in one command and finally: what are the ways to extend the functionality programmatically.
Paolo – Who should follow your course and why?
Michal – Definitely people who are interested in Internet Messaging, even not necessarily in XMPP. Architecture of message/presence router, as well as the easiness of extending current functionality, federating with other protocols or finally scalability might be stimulative to someone who
plans to set up a startup or replace his current messaging server with something better.
Paolo – Why should an XMPP programmer use Erlang as development language?
Michal – Mostly because of the concurrency and scalability. Erlang actor process model fits perfectly in the concept of independent user sessions and communicating with each other using asynchronous message passing.
Paolo – In your opinion, what is the most important thing to keep in mind when developing with Erlang and XMPP?
Michal – Global state/shared data is a root of all evil. The less things you share – the better you can scale. XMPP systems have tendencies to grow rapidly: it's basically the linear relation to the number of simultaneously connected users. Shared global state will not pop up as a bottleneck until it is too late: when users are storming our gates and we realize that things should have been done in a different way long time ago.
And there is also one more rule, that people often forget about: KISS. IM systems are really simple, let's do not overengineer them
Paolo – Can you recommend to our readers some books, sites, or blogs that will help them in the world of Erlang and XMPP?
Michal – Definitely take a look at Jack Moffitt's both book ("Professional XMPP Programming") and webiste (http://metajack.im/). Another worth-reading blog is Stefan Strigler's http://blog.jwchat.org/. To be honest: there is still no book on Erlang and XMPP in particular. Maybe it is a good time to change it? 🙂
Testing your XMPP external component using Tsung and ejabberd part 2
In the previous post we discussed ow to enable anonymous authentication in ejabberd in order to use Tsung for our testing purposes.
Tsung (a.k.a. Tsunami) is a shell testing tool fairly easy to use when dealing with XMPP, it is mainly used to simulate thousands of users for testing the scalability and performances of IP based client/server applications.
For XMPP test purposes it allows:
- Authentication (plain-text, digest and sip-digest)
- presence and register messages
- Chat messages to online or offline users
- MUC: join room, send message in room, change nickname
- Roster set and get requests
- Global users
'synchronization set on specific actions
- raw XML messages
- PubSub
- Multiple vhost instances support
First thing first: install Tsung! Download the source from http://tsung.erlang-projects.org and just follow the common procedure configure, make, make install (you may need sudo).
You may check whether the installation was successful by typing:
paolo@blog $ tsung -h Usage: tsung start|stop|debug|status Options: -f set configuration file (default is ~/.tsung/tsung.xml) -l set log file (default is ~/.tsung/log/tsung.log) -i set controller id (default is empty) -r set remote connector (default is ssh) -F use long names (FQDN) for erlang nodes -v print version information and exit -h display this help and exit
When you start Tsung (we will see how) it executes a set of operation based on an xml file (tsung.xml) that you easily configure by using a text editor. This file is inside the directory ~/.tsung but sometimes it is not present so I suggest you to copy one of the examples you can find in the directory "examples" of the installation package, copy it there and rename it.
Let's take a look at tsung.xml.
Scenarios start with clients (Tsung cluster) and server definitions, so for a non-distributed load, you can use a basic setup like:
<clients> <client host="client-ip" use_controller_vm="true"/> </clients> <servers> <server host="server-ip" port="80" type="tcp"></server> </servers>
You can put more than one client or one server in you tsung.xml, using either a string or an ip-addres to identificate them. In case of multiple servers, a round robin algorithm will be used to chose a server.
Let's define now a load progression by specifing a set of arrival phases to the server:
<load> <arrivalphase phase="1" duration="1" unit="hour"> <users interarrival="6" unit="second"></users> </arrivalphase> <arrivalphase phase="2" duration="40" unit="minute"> <users interarrival="1" unit="second"></users> </arrivalphase> <arrivalphase phase="3" duration="5" unit="minute"> <users interarrival="0.1" unit="second"></users> </arrivalphase> </load>
Above we specified 3 phases:
- duration 1 hour, 1 user each 6 seconds will start a session
- duration 40 minutes, 1 user every 1 second
- duration 5 minutes, 1 user every 0.1 seconds
The phases will happen one after the other and the test will finish when all users have ended their session. Notice that duration of the test can be much longer than the duration of arrival phases, therefore if you want to stop the test after a threshold duration (even if phases are not finished or if some sessions are still active), you can do by setting a duration attribute to load:
<load duration="4" unit="hour"> ....... </load>
You can then edit the options as follows:
<options> <option type="ts_jabber" name="global_number" value="5"></option> <option type="ts_jabber" name="userid_max" value="1000"></option> <option type="ts_jabber" name="domain" value="yourdomain"></option> <option type="ts_jabber" name="username" value="yourusername"></option> <option type="ts_jabber" name="passwd" value="yourpwd"></option> </options>
In the next post (the final part of this tutorial on Tsung) we will see how to deal with sessions and how to run a test and evaluate its results.
Testing your XMPP external component using Tsung and ejabberd part 1
In many previous posts, I gave you some ideas on how to build an external component for XMPP servers; now it is time to test your work!
Tsung is a stress testing tool written in Erlang that you can use to test HTTP, WebDAV, LDAP, MySQL, PostgreSQL, SOAP and XMPP servers; it can simulate hundreds of simultaneous users on a single system in a single server or in a clustered environment therefore Tsung is the right tool to test our XMPP services.
First of all: when you use Tsung, you simulate few or many users….the problem is that you need to authenticate these users against the server, so you have two solutions: the first one is to create all the users…the second one (the smartest) is to enable anonymous authentication in your XMPP server.
Anonymous authentication is a standard login using classical login and password mechanisms, but where password is accepted or preconfigured for all anonymous users. This login is compliant with sasl authentication, password and digest non-sasl authentication. For more information see this.
On ejabberd, to provide anonymous authenticatio to users you have to tune your configuration file as follows:
1) set up two virtual hosts on the server, one public (any user can login) and one private (login only with valid credentials):
{hosts, ["private.yourdomain", "public.yourdomain"]}.
2) set the global authentication method that you will use. In our case we will authenticate against ejabberd internal database, but alternative solutions can be MySQL, PostgreSQL, LDAP and so on:
{auth_method, internal}.
3) At the end override the host_config options to provide anonymous login to public host's clients:
{host_config, "public.yourdomain", [{auth_method, anonymous}, {anonymous_protocol, login_anon}]}.
Just start/restart your ejabberd from this point you can connect to the virtual host "public.yourdomain" with any pair (JID, pwd) but you will be able to authenticate against "private.yourdomain" only with a valid pair.
Ok, now you have anonymous authentication enabled in you XMPP server!
This week I'm really busy 😦 , so I will teach you how to use Tsung and how to configure it for our purposes in the next post.
Sending and receiving stanzas using EXMPP
A couple of posts ago, I introduced EXMPP, the Erlang library developed by Process One for XMPP.
In that post we used EXMPP to connect an external component to eJabberd server by using the XEP-0114.
This time I will show you how to process streams directed to our component, analyze them and reply to the sender.
First of all I used a gen_server behaviour and put all the code regarding the handshake inside the init([]) method:
init([]) -> exmpp:start(), Session = exmpp_component:start_link(), exmpp_component:auth(Session, ?COMPONENT, ?SECRET), _StreamId = exmpp_component:connect(Session, ?SERVER_HOST, ?SERVER_PORT), ok = exmpp_component:handshake(Session), {ok, #state{session = Session}}
You may notice that I used a set of Erlang macros to identify the variables needed for the connection,
those macros were previously defined in the code as:
-define(COMPONENT, get_conf_value(component)). -define(SECRET, get_conf_value(secret)). -define(SERVER_HOST, get_conf_value(server_host)). -define(SERVER_PORT, get_conf_value(server_port)).
Where get_conf_value(Value) is simply a function I implemented to parse a configuration file.
EXMPP provides to developers a set of records (a record may be thought as a complex data structure and I will write about
them in the future); among these records we need in our code the one representing a received_packet.
It is defined as following:
-record(received_packet, { packet_type, % message, iq, presence type_attr, % depend on packet. Example: set, get, subscribe, etc from, % JID id, % Packet ID queryns, % IQ only: Namespace of the query raw_packet % raw exmpp record }).
After the handshake we can send any kind of stanzas defined in XMPP realm towards the server we are connected to as long as
we have a reference to the session we established before.
A really cool feature of EXMPP is that two different processes spawend by our gen_server can send a stanza at the same time over the same session and the stanzas will not be mixed during their "trip" to the XMPP server.
About incoming stanzas, you must know that all of them will be processed by the gen_server as normal Erlang messages.
I told you before that all the stanzas can be handled by processes spawned by the gen_server, so it seems sensible to spawn
a new process any time a packet is received; this new process will elaborate the stanza and if required will send a reply stanza, then it
To do that we add the gen_server something like this:
handle_info(#received_packet{} = Packet, #state{session = Session} = State) -> spawn(fun() -> process_received_packet(Session, Packet) end), {noreply, State};
In practice whenever we receive a Packet we spawn (without linking!) a new process which takes as input the current session and the packet itself.
This process is represented by the following function:
process_received_packet(Session, Packet) -> Packet_Type = Packet#received_packet.packet_type, case Packet_Type of iq -> process_received_iq(Session, Packet); message -> process_received_message(Session, Packet); presence -> process_received_presence(Session, Packet); end.
The previous function is pretty simple: basically it checks the type of the packet and then based on it a different function is called.
Let's implement process_received_message(Session, Packet) so that whenever a message stanza is received our component sends back the same message:
process_received_message(Session, #received_packet{packet_type=message, raw_packet=Packet}) -> %% retrieve recipient jid From = exmpp_xml:get_attribute(Packet, from, <<"unknown">>), %% retrieve sender jid To = exmpp_xml:get_attribute(Packet, to, <<"unknown">>), %% set recipient jid Pkt1 = exmpp_xml:set_attribute(Packet, from, To), %% set sender jid Pkt2 = exmpp_xml:set_attribute(Pkt1, to, From), %% remove old id NewPacket = exmpp_xml:remove_attribute(Pkt2, id), %% send new packet exmpp_session:send_packet(Session, NewPacket).
Here is the result (captured by using PSI):
Let's implement process_received_iq(Session, Packet) that sends back a simple message if an iq stanza is received:
process_received_iq(Session, #received_packet{packet_type=iq, type_attr=Type, raw_packet=IQ}) -> %% get namespace of IQ stanza NS = exmpp_xml:get_ns_as_atom(exmpp_iq:get_payload(IQ)), %% set text value of IQ stanza Reply = exmpp_xml:element(NS, 'response', [], [{xmlcdata,<<"your iq has been received">>}]); %% build result packet Result = exmpp_iq:result(IQ, exmpp_xml:element(NS, 'query', [], [Reply])); %% sends new packet exmpp_component:send_packet(Session, Result).
Ok! For now it is enough…try to read EXMPP specifications and see how you can change slightly this code!
Connecting an XMPP external component via Erlang and EXMPP
bellerofonte@pegaso:~$ cd /etc/ejabberd/ belleforonte@pegaso:/etc/ejabberd$ ls ejabberd.cfg ejabberdctl.cfg inetrc
At this point let's edit ejabberd.cfg (you may be asked to do it with the sudo option).
bellerofonte@pegaso:~$ sudo nano ejabberd.cfg
Now you have to find the part of the configuration file that starts with:
%% ejabberd_service: Interact with external components (transports...)
And add the following lines to add two different external components:
{8888, ejabberd_service, [ {access, all}, {shaper_rule, fast}, {ip, {127, 0, 0, 1}}, {hosts, ["weather.localhost", "weather.trentino.com"], [{password, "weather"}] } ]}, {8888, ejabberd_service, [ {access, all}, {shaper_rule, fast}, {ip, {127, 0, 0, 1}}, {hosts, ["news.localhost", "news.trentino.com"], [{password, "news"}] } ]},
If you don't know about XMPP and external component I can just tell you that the names I specified in the list after hosts represent the names that will be used to identify this component in the XMPP network, while the value of password is just the password used by the component to perform the handshake with the server. For more info you can read this.
At this point save the configuration file and restart eJabberd.
Now let's use EXMPP to connect from the Erlang shell to eJabberd as if we were one of the two components.
bellerofonte@pegaso:/etc/ejabberd$ erl Erlang R13B03 (erts-5.7.4) Eshell V5.7.4 (abort with ^G) 1> exmpp:start(). ok 2> Session = exmpp_component:start_link(). <0.59.0> 3> exmpp_component:auth(Session, "weather", "weather"). ok 4> _StreamId = exmpp_component:connect(Session, "localhost", 8888). "1627139564" 5> ok = exmpp_component:handshake(Session). ok
In the code above, I first started the exmpp application, then I created a Session for the XMPP component and made the authorization stream by passing to the function exmpp_component the session, the name used by the component and the password needed for the handshake.
Then I connected it to the eJabberd server by using the function connect, which needs the session, the name of the server and the port on which it is listening to.
After that just connect the component by using the function handshake.
Now, you can log in to the server with one test account of yours and perform a service discovery, the result should be something like:
Ok, I know this post was kinda short, but I promise that next one will be much better, and in it I will teach you how to receive and send XMPP stanzas from our component!


text:
Dover Mini-Maker Faire
This year marked the 25th anniversary of the inaugural FIRST Robotics Competition, which took place in the Manchester Memorial High School gymnasium. And over the years, many athletic automatons built by New Hampshire high school students have competed in what has since become an international phenomenon with thousands of teams in the U.S. alone. Several rookie teams from New Hampshire have assembled in just the past year, with their robots making impressive debuts.