An ornamental area is added by thin layers of wood veneer to alternative furniture or a table. In the event the veneer in your furniture develops blisters, cracks or other kinds of injury, it is possible to replace the broken region with veneer. Veneer which is less than 50 years old generally has a glue which is heat-resistant and hard to eliminate, in accordance with Oakwood Veneer Company. The hide-glue on veneer that is older is generally more easy to eliminate with warmth programs.
Apply warmth using a heat gun to the edges of the veneer and pry the veneer using a putty knife away. Spot a steam iron right on the veneer in the event the veneer WOn't come up. Steam as you operate the iron on the veneer area in a circular movement. Attempt to pry the veneer in the surface and repeat the procedure as frequently as required to eliminate the veneer.
Scrape the furniture area together with the putty knife to remove particles and glue. Fill grooves or any holes with wood dough to produce a level area. Cut straight edges over the sides of the gap using a straightedge along with a utility knife.
So you will know just how much alternative veneer to buy, measure the location. The veneer that is new should possess a thickness as near as feasible to the veneer that is old. New veneer is usually somewhat thinner than antique veneer, in accordance with "Wood" Journal.
Measure the gap in the veneer you will be repairing. Cut the veneer to coincide with form and the dimensions of the region, making certain that the grain matches the grain in the furniture surface. Test the piece to create sure it matches. Sand the edges of the piece to to match the gap in the event the piece is also tiny, or reduce a bigger piece.
Wipe the furniture and veneer surfaces having a clear cloth. Apply glue to the trunk of the veneer that is new and also to the the top of gap. Glue a piece of paper to the lower of the veneer in the event the veneer is thinner compared to veneer. Press the veneer to the furniture area and wipe-off excessive glue using a moist cloth.
Place a sheet of wax paper over the veneer that is glued and clamp the blocks of wood to bottom and the leading of the furniture area. Let the glue dry for a-T least 2 4 hours.
When the glue is dry, remove the clamps. If necessary, sand down edges to mix the veneer seams.
The creeping bellflower (Campanula rapunculoides) can rapidly dominate your garden. This plant will grow up over a fence. Even if you get the purple bell shaped flowers that arise from this weed appealing, the bell-flowers must be controlled by you until they become a nuisance.
Creeping bell-flowers generate between 1 5 and 3,000,000 seeds each year. To to manage the bellflower without totally eliminating it, you're likely to have get rid of these immediately and to watch for the emergence of seedlings. This requires vigilance. When one of the seedlings starts to increase, you will discover a cluster of heart shaped leaves seem from the ground. Put on a pair of garden gloves, grab a garden trowel, and eliminate these clusters when you they are spotted by you.
Seeds aren't the only way creeping spread that is bell-flowers. Their roots are just as much of an offender. This plant has two kinds of roots. First, you will discover the roots that stay near the the top of garden. Second, you will get the bellflower has roots that extend into the soil. Youare going to need to dig at least 6″ into the floor to remove all the roots to to manage the plant.
One of the two herbicides which can be effective in managing the bellflower plant is glyphosate. If progress has exceeded past your capacity to eliminate the plant yourself, use glyphosate. Glyphosate at the conclusion of starting or spring of the drop and follow the guidelines on the label of the manufacturer's. The down-side to utilizing this merchandise is that it is going to also destroy any grass in the region that is near-by, and that means you will only be in a position to use it for place apps.
Dicamba is a herbicide which is safe to use near grass, yet nonetheless life-threatening to the bellflower. You will be in a position to use it mo Re broadly, although follow most of the directions on the item label to utilize the dicamba securely. In accordance with Montana College, you can need to utilize several apps, a week aside, to acquire total handle on the bellflower.
Ever wondered what interesting secrets your locksmith may be hiding from you about their profession? Neither did we, but that was until we came across these interesting facts from handyman services Peoria IL, which could potentially help you to bump up your security while saving a ton in locksmith fees.
The deadbolts installed by contractors almost always come up with problems that require the help of a locksmith, whereas the problem could have been easily avoided if the thing was installed right in the first place.
While you may feel safe with your thumb-turn lock, consider the fact that a burglar won't need a key in order to unlock it. They can easily access it by breaking the window glass and reaching for it. On the other hand, a cylinder lock requires a key which makes it safer for you and difficult for burglars to mess with.
Try not to purchase your safe from an auction, flea market or estate sale. Not only will it cost hundreds of dollars for you to open the safe after you've purchased it, but it'll probably be dirty as well.
When moving into a new house, make sure to rekey all the locks so that there's no chance of the previous tenants gaining access to your new home.
Most of the locks available at big-box stores are produced en-masse and are really low-end, which doesn't make them very safe. However, if you must purchase a key from one of the big chain stores, make sure that's it's a grade 2 at least, which means it's a little rare.
Most handyman Peoria IL are used to being called out multiple times per day because it is their work after all. So, don't beat yourself up about calling out the locksmith regularly. They may even give you some tips to help you avoid or fix the problem yourself next time.
While most locksmiths can appreciate the level of anxiety you feel when you've locked yourself out of your house or car, it would be inconsiderate of you to call more than one at a time. Rather be patient and make sure that the one locksmith that you do call understands the level of urgency in your situation.
handyman Peoria charge considerably higher rates for late night call outs than they do for normal hours. A job that would usually cost you $50 during the day can hike up to $100 at 1 A.M.
Sometimes when you think you're locked out, it might just be a slight glitch in the door, and giving it another try may just open it without the need to call a locksmith.
Tiles are a type of man-made compressed rock and handled to appear stunning on wall or a ground. Meaning they're challenging and require specific resources in the event that you if you want to to to hold some thing after installation, to drill through. Unfortunately, the sole way you'll actually be in a position to to hold that shelf, mirror or tile rack would be to face the the task. This job needs lots of persistence, time as well as the use of several tricks that are professional to perform.
Measure width and the height of the installation location. Place a bit of low-tack masking tape in the middle of the region and mark the center that is precise on the tape.
Determine wherever your hole wants to be, utilizing the middle mark as a manual level. Like, when mounting a mirror you want to calculate the the length to the middle of the plate in the middle of the mirror. Then calculate up that length out of your center stage on the wall and place an extra bit of tape using the precise middle marked onto it.
Plan the dimensions of the hole required. To get a wall anchor, the dimensions of the hole would be the be the same as the anchor's diameter. For junction boxes, the hole is going to be larger in relation to the box.
With masking tape cover the entire are to be cut. This prevents the drill bits while you drill from slipping over the tile. Use a compass to attract the proper-dimension hole on the tape.
Fit the drill having a carbide-tipped tile- you require. Select a bit that's as broad as the width of the hole if reducing a-square hole.
Set the drill on its cheapest drilling velocity. Set the bit contrary to the tile, li-ning it up or mark you drew.
Begin drilling gradually, implementing a really minor a mount of strain on the on the drill. It's going to need a moment therefore endurance is a should. You'll feel a re-lease in the resistance once you attained the wall behind it and have drilled every one of the way.
Back the drill to your drywall bit from the wall and alter the bit. Increase the drill pace and carry on drilling through the dry wall. When you attain the open-space supporting the drywall you may feel a launch of strain. From the hole gradually, when this occurs, again the drill.
Score across the lines in the event that you require a-square hole. This really is a measure which will enable the tile while being cut rather of breaking in a routine.
Cut along the scored lines having a handheld jig saw fitted with tile-slicing blades. Without implementing stress on the cut gradually and mist the blade sometimes to pace the procedure up and minmise odds for breakage.
Cut a-way the drywall remaining in the hole utilizing a dry wall noticed. The jig saw blades aren't lengthy enough to minimize every one of the way.
Clean any dirt and particles in the wall having a rag a-way. Vacuum out the hole to eliminate dirt you can't attain together with the dirt rag.
One of the most satisfying moments you can experience when working with concrete is when you get that smooth finish at the end of a job. The smooth finish is the result of arduous work that involves concentration, skill, and having the right tools.
Not everyone is able to get it, especially not on the first try, and if you've always struggled to get the smooth Gilbert flooring finish that you desire then you'll enjoy today's article, because we've compiled a helpful guide where we share what tools and techniques you should combine in order to get your intended result. To complete the task will take you no more than a day, and costs will probably be in the region of $20 to $100, depending on what tools and materials you already have on hand.
While you might want to start by working on a slab right away, for this first practice run, we recommend that you use a garbage can pad instead. A smaller can pad is easier to manage at this stage and will get you ready for a slab, which usually dries quickly and requires experienced hands.
First, you need to screed the concrete by moving a screed board on top of the form in a push and pull motion. This'll help you level out the concrete and make sure that there isn't any excess. You can flatten the surface further using a darby, this time using an overlaying motion, as you'll be using a handheld tool.
A small amount of water will seep to the surface after you've done screeding so you should wait until it dissipates before moving onto the next step, which is to edge the flooring Gilbert AZ. You should avoid waiting for too long, as the concrete might start to set. This edging process involves smoothing the edges to remove excess concrete so that they're smooth and round.
The next step is known as 'floating' the concrete. This happens when you swish the magnesium lead on the concrete in sweeping strokes to smooth over any marks that might be left on the surface. Then, wait a little for the surface part of the concrete to harden before you smooth it over evenly, using a steel trowel. While you're required to use light force with the lead, you'll have to apply your strength with the trowel and put a bit of pressure when swaying it, an action which should be done in large arc intersections to ensure a truly smooth finish.
The last step is to add some texture to the smoothed surface by sweeping a broom over the surface, going from one end of the slab to the other in a dragging motion. This will help to prevent people from slipping when walking on the flooring Gilbert surface while adding a distinct appearance to it.
One of the most important considerations to keep in mind when working with concrete is to be patient. Your hand needs to be steady and your mind focused to avoid making any mistakes.
Stickers typically have a stress-sensitive adhesive that results in a residue that is gummy. You're left having a sticky region that becomes a magnet for just about any dirt or grime in the region when these stickers finish on an appliance, like a fridge or stove. If the producer put the sticker or was put later, correct elimination removes the residue.
Insert the edge of a knife or spatula under the the fringe of of the sticker. Lift up the corner and remove as much of the sticker as feasible. In the event the sticker features a shiny coating, you have to remove the whole part that is shiny.
Hold a blow dryer three inches away from your sticker if it's not going to remove. Heat the sticker using the air in the dryer to loosen the adhesive peel away it using spatula or the knife.
Dampen a cotton ball with vinegar or rubbing alcohol. Rub vinegar or the alcohol on the adhesive, completely soaking it.
Buff the adhesive in the appliance surface having a washcloth that is tough. Reapply the alcohol and rub a time that is 2nd to eliminate any remaining adhesive.
A cleaner on the the applying area. Use a cleaner designed for for the materials, including a glass cleaner on oven glass or an all purpose cleaner for an area. Wipe down the area using a clean rag to remove any residue or streaks.
When you've got shaky, a door slams or rattling windows that threaten to to interrupt every time an airplane passes over, they require some consideration. Rattling windows happen when the body shrinks or when personal glass panes become free. Homeowners who want to have a more quiet house can resolve this issue in just several hours. Tightening the windows will reduce your electricity bill and stops drafts. Monitor windows through the year and also make adjustments according to changes that are seasonal.
Close the window but leave it unlocked. Observe the window to find out which part of the window shakes — the lower or upper sash.
Open the window and clear any particles in the windowsill away using a damp cloth. Remove dirt, bugs and mildew entirely. You require a dry and clear area for the weather-stripping. Close the window and clear the sash using the damp cloth.
Raise the window and calculate width and the monitor length. Add 6″ to the size measurement and subtract 1/8 inch from the width. Cut two strips of linoleum in line with the measurements you've got taken.
Slide 6″ of a linoleum strip on the correct side of the body, pushing it between the sash as well as the window-frame. Secure the strip into place utilizing a hammer along with carpet tacks. Use caution with all the hammer to prevent breaking a window. Make tiny, managed faucets, maybe not swings.
Repeat the installation for the side that is left. Cut strips for the sash if required. Close the window and install the linoleum strips and hammer.
The linoleum stripping using a silicone spray. Close and enhance the several times to the window to get a smooth glide.
Locate. By touching the panes together with your fingers it's possible for you to identify these. They're free in the event the frames shift.
Caulk the windowpanes having a silicone-centered window caulk. Use the fringe of of a little putty knife or an outdated credit card or a device to drive the caulk to the cracks.
Clean up excessive caulk having a fabric dampened with water and vinegar. Wipe a-way the caulk that is additional. Allow the caulk.
Have you ever wondered whether it was possible for you to get the perfect results with a paint job without calling in the experts? It is, indeed, possible. In fact, with a few guidelines, you can do Mesa painting in your home without any problem.
Lap marks occur when you apply paint unevenly, especially when you apply a layer on a section that has not dried properly. To avoid lap marks, make sure your paint strokes are overlapping one another before the previous one starts to dry. Always make sure that the roller is at least half-loaded with paint.
To get consistent results, mix all the paint you need in a large container. Running out of paint and mixing a fresh can in the middle of the job will almost certainly end up with a noticeable difference. Get your estimates right and then mix paint for the entire job.
Professional painters have a unique order when painting. They start with the trim, the ceiling and then finish up with the walls. The concept here is that it will be easier for you to remove the tape from the trim than the walls. Besides, this will allow you to paint over the drips from the trim.
A blotchy finish will make your work look sloppy. The sheen might not be consistent either. This usually happens because of the cracks and holes you might have patched with a drywall compound or filler. Before you paint, always make sure you prime these patches until you get a fine texture.
To achieve a perfect edge, you should first allow the paint to dry out. Once that is done, you can then cut the tape loose. If you pull it off abruptly, you will end up pulling paint off the walls, which might leave an unsightly impact. Also, make sure you cut the tape at 45 degrees for the best results.
To get a consistent texture, roll the paint near the trim, especially on the parts close to the trim and the corners because they get brushed over when doing Mesa painters. For consistency, use a roller over them after brushing the paint just before the paint dries out.
Never paint over a dirty surface. Clean the walls first to remove the debris, so that the paint will bond strongly to the wall. You do not want to have paint peeling off your walls a few weeks or days after you finish the job.
Whether you are careful or not, you will still have splatters when applying paint. Don't use plastic drop cloths because they stay wet for a long time, and you will end up with an untidy workplace. Instead, use cotton drop cloths because they will absorb the paint.
Between each coat, try and sand the surface so you won't have a grainy texture when you are done. Make sure you use a proper sanding sponge. This allows you to apply pressure evenly and also reach into crevices where sandpaper can't reach.
In some sections, you might not be able to maintain a wet edge. This applies to parts like stairwells, the ceiling or a very tall wall. To reduce lap marks, simply feather paint along the edges that don't stay wet.
When walked on wet divisions in the garden become, after being submerged in water and grass can die. Subsurface drains, manmade landscape contouring, ponds and appropriate clean up after floods can aid resolve places that are moist in a lawn. Water flows to lower types; you'll be able to to deliberately contour a garden as opposed to creating divisions that are muddy and damp in the grass, to ensure water flows in to drains or ponds.
That or aerate places that have been flooded have soil that is moist and extremely large. When they've silt deposited to them, it's especially helpful to aerate formerly flooded places. Use a core aerator or a hand aerator to eliminate 1/2 to 3/4 inch cores of soil. Lawn aeration will assist grass remain healthy after being in conditions that are extremely moist.
Improve the drainage of clay soils by incorporating compost and sand. This action will will need re-planting the grass, but nevertheless, it may help resolve places that are moist in the long term. Till an assortment of of 50 to 60% sand, 20 to 30% and 20 to 30% top-soil compost to the floor. In places that are seriously compacted, seek out out a few of the clay soil and replace it with this particular mixture.
Consider installing a manmade pond in a normally moist, low elevation location to to get extra water as it flows over the lawn. Either dig a hole and line it or dig a depression in the dirt for the water to before draining to the soil to to get in.
Install French drains to to regulate the movement of water on a garden that is sloped. Drains are sub-surface, gravel-filled drains that enable the gardener flows across a landscape. To develop a French drain, dig a trench using a 0.5 to 1-percent slope. The trench should operate from an area where water is introduced to some man-produced pond or region that may stand to be wetter, to the lawn, like beneath a gutter down spout. It ought to be 2-feet deep and a-T least 1 foot-wide. Line the trench with geo-textile fabric, and location a PVC pipe across the underside of the trench. Fill the trench.
Raise the elevation of reduced-elevation moist are as by by detatching some s Oil from highpoints in the garden and utilizing it to fill out places that are lower.


Salminen E., Kulmala A., Hämäläinen T.D.: 'Survey of network-on-chip proposals'. White paper, OCP-IP, March 2008, p. 13.
Dally, W.J., Towles, B.: `Route packets, not wires: on-chip interconnection networks', Proc. 38th Design Automation Conf. (DAC'01), June 2001, Las Vegas, NV, USA, p. 684–689.
Dumitraş, T., Kerner, S., Mărculescu, R.: `Towards on-chip fault-tolerant communication', Proc. Asia and South Pacific Design Automation Conf., January 2003, Kitakyushu, Japan, p. 225–232.
Mărculescu, R.: `Networks-on-chip: the quest for on-chip fault-tolerant communication', Proc. IEEE Computer Society Ann. Symp. VLSI (ISVLSI'03), February 2003, Tampa, FL, USA, p. 8–12.
Bertozzi, D., Benini, L., Micheli, G.D.: `Low power error resilient encoding for on-chip data buses', Proc. Design, Automation, and Test in Europe (DATE'02), Le Palais des Congres, March 2002, Paris, France, p. 102–109.
Ali, M., Welzl, M., Hessler, S., Hellebrand, S.: `A fault tolerant mechanism for handling permanent and transient failures in a network on chip', Proc. Intl. Technology: New Generations (ITNG'07), April 2007, Las Vegas, NV, USA, p. 1027–1032.
Ejlali, A., Al-Hashimi, B.M., Rosinger, P., Miremadi, S.G.: `Joint consideration of fault-tolerance, energy-efficiency and performance in on-chip networks', Proc. Design, Automation, and Test in Europe (DATE'07), April 2007, Acropolis, Nice, France, p. 1647–1652.
Li, L., Vijaykrishnan, N., Kandemir, M., Irwin, M.J.: `Adaptive error protection for energy efficiency', Proc. Intl. Conf. Computer Aided Design (ICCAD'03), November 2003, San Jose, CA, USA, p. 2–7.
G.D. Micheli , L. Benini . (2006) Networks on chips.
Zimmer, H., Jantsch, A.: `A fault model notation and error-control scheme for switch-to-switch buses in a network-on-chip', Proc. Intl. Conf. Hardware/Software Codesign and Syst. Synthesis (CODES-ISSS'03), October 2003, Newport Beach, CA, USA, p. 188–193.
Rossi, D., Angelini, P., Metra, C.: `Configurable error control scheme for NoC signal integrity', Proc. IEEE Intl. On-Line Testing Symp. (IOLTS 2007), Hersonissos-Heraklion, July 2007, Crete, Greece, p. 43–48.
T. Lehtonen , P. Liljeberg , J. Plosila . Online reconfigurable self-timed links for fault tolerant NoC. VLSI Des.
Yu, Q., Ampadu, P.: `Configurable error correction for multi-wire errors in switch-to-switch links', Proc. IEEE Intl. SOC Conf. (SOCC'08), September 2008, Newport Beach, CA, USA, p. 71–74.
Yu, Q., Ampadu, P.: `Adaptive error control for reliable systems-on-chip', Proc. Intl. Symp. Circuits and Syst. (ISCAS'08), May 2008, Seattle, WA, USA, p. 832–835.
Yu, Q., Ampadu, P.: `Adaptive error control for NoC switch-to-switch links in a variable noise environment', Proc. 23rd IEEE Intl. Symp. Defect and Fault Tolerance in VLSI System (DFT'08), October 2008, Cambridge, MA, USA, p. 352–360.
S. Lin , D.J. Costello . (2004) Error control coding.
Fu, B., Ampadu, P.: `A dual-mode hybrid ARQ scheme for energy efficiency on-chip interconnects', Proc. 3rd Intl. Conf. Nano-Networks (Nano-Net'08), September 2008, Boston, MA, USA, p. 5.
H.264/AVC JM Reference, http://iphome.hhi.de/suehring/tml/, accessed March 2009.


Raynor Foods offer a range of lunch bags delivered directly to your door.
Perfect for feeding school children, delegates or staff at big events. Pick any sandwich, roll or salad from our menu, and make it the basis of a lunch bag.
Our extensive range of lunch bags include children's lunchboxes, breakfast bags, gluten free options, and all-day lunch bags – for when you need to provide more than just lunch!
We locally source our lunch bag fillers wherever we can. For example, our Flapjacks and Brownies come from local suppliers in Brentwood and Danbury. And our Fairfield Farm Crisps are sourced from nearby Colchester.


In 2004, Congress enacted Internal Revenue Code (the "Code") § 409A to provide rules regarding the taxation of deferred compensation. Code § 409A applies to all types of "deferred compensation," including certain severance pay arrangements. For these agreements to comply with § 409A, the time, form and triggering event for deferred compensation payments must be established at the outset. Once established, subsequent changes in the form or time of payment or payment triggers are heavily restricted. Non-compliant deferred compensation must be included in gross income immediately, even if not yet paid, and that compensation is subject to a special tax of at least 20% of the amount of compensation at issue, in addition to normal income taxes.
A new IRS Notice 2010-6 (the "Notice") clarifies when a payment of covered severance pay is permissible and provides a limited correction procedure for existing severance arrangements which are not compliant with the new IRS position.
The new IRS position acknowledges that severance arrangements sometimes condition payment upon an employee's execution of a noncompetition, nonsolicitation or similar agreement, or on a release of claims. These arrangements may now fail to comply with Code § 409A and its regulations unless the arrangements do not allow recipients to change the timing of the payment – such as where payment timing is based upon when the required agreement or release is signed and returned. The IRS's concern appears to be that, in some circumstances, recipients are taking advantage of loose language in severance plans to alter the calendar year in which they receive their payments in order to defer or decrease their tax obligations.
For example, imagine a deferred compensation severance arrangement provides for payments within 60 days after an employee's separation from service, but not until the employee signs and returns a release of claims and the revocation period of the release has expired. Such an agreement technically allows payment to occur any time between two weeks and two months of the employee's last day of work. The new IRS guidance requires this agreement to read that the payment will be made on the 60th day after separation from service, provided that the employee has signed and returned the required release and the period for revocation has already expired.
Existing deferred compensation plans containing now-prohibited provisions may be corrected before the end of 2010 if they are also amended before the severance event. To do so, employers must amend the relevant documents to remove a recipient's ability to unilaterally delay or accelerate payment. If payment under the agreement is due within a specified period after the occurrence of a permissible payment event, the agreement must now provide for payment on the last day of the originally designated period. If a payment period is not designated, the amendment must provide for payment on either the 60th day or the 90th day after the permissible payment event. If an amendment is adopted after the service provider separates from service, the IRS will honor the correction, but 50% of the severance payment will be subject to the 20% penalty tax under Code § 409A.
Employers should act now to ensure their severance arrangements are compliant with Code § 409A if employees have any ability to influence the date of actual payment. If you need assistance with these or any labor and employment issue, do not hesitate to contact your Baker Donelson attorney or any of our nearly 70 Labor & Employment attorneys, located in Birmingham, Alabama; Atlanta, Georgia; Baton Rouge, Mandeville and New Orleans, Louisiana; Jackson, Mississippi; and Chattanooga, Johnson City, Knoxville, Memphis and Nashville, Tennessee.


SecureSafe Pro is a unique software solution for securely storing confidential information like passwords, credit card numbers and sensitive data in one easy-to-manage setting.
Your passwords are stored in a straightforward database tree that is very easy to search and navigate. When you visit a site you need to access, simply click the SecureSafe Pro icon conveniently located in your system tray, enter the access password, and bingo! Instant, secure login. Instead of having to remember dozens of passwords, you only need to remember one — the one that logs you into SecureSafe Pro.
– Use individual and strong passwords for each login place.
– Keep all passwords in one place protected by a single password.
– Fully customizable fields – you can store any kind of data.
– Keep files inside! You can keep any file inside the program and run it.
– 5 predefined templates: for passwords, credit cards, files, notes and URLs.
– More than 300 icons for customizing your data.
– 100% FREE to try.


text:
Q: Isometric domain of a unital completely positive map with respect to $L_p$-norms This question can be formulated for general ($\sigma$-finite) von Neumann algebras, but for me it is enough to consider matrix algebras.
So let $M$ be a matrix algebra and $\rho$ a faithful state (density operator) on $M$. For $1\le p<\infty$, we define the $L_p$-norm on $M$ with respect to $\rho$ as
$$
\|a\|_{p,\rho}^p=Tr(\rho^{1/2p}a\rho^{1/2p})^p.
$$
 Let us also introduce the inner product $\langle a,b\rangle_\rho=Tr a^*\rho^{1/2}b\rho^{1/2}$, for $a,b\in M$, then $L_p$ and $L_q$ are dual with respect to $\langle\cdot,\cdot\rangle_\rho$ for $1/p+1/q=1$.
Let $N$ be another matrix algebra and $\phi:N\to M$ be a unital completely positive (ucp) map, such that the state $\rho_0=\phi^*(\rho)$, given by
$$
Tr (\rho_0 a)=Tr (\rho\phi(a)), \ a\in N
$$
is faithful. Then $\phi$ is a contraction with respect to the $L_p$-norms,
$$
\|\phi(a)\|_{p,\rho}\le \|a\|_{p,\phi^*(\rho)},\ a\in N.
$$
I am interested in a characterization of the set of elements where equality is attained in the above inequality. Namely, let $1<p<\infty$ and let
$$
\mathcal I_p:=\{a\in N, \|\phi(a)\|_{p,\rho}= \|a\|_{p,\phi^*(\rho)}\}
$$
For $p=2$, this set can be determined easily. In this case, $M$ with the $L_2$-norm is a Hilbert space with the inner product $\langle\cdot,\cdot\rangle_\rho$ and $\mathcal I_2$ is equal to the set $\mathcal F$ of fixed points of the map $\phi_\rho^*\circ\phi$, where $\phi^*_\rho$ is the adjoint of $\phi$ with respect to this inner product. It is easy to see that $\phi^*_\rho$ is an ucp map $M\to N$, so that $\phi^*_\rho\circ\phi$ is an ucp map on $N$ that preserves the faithful state $\rho_0$. Consequently, $\mathcal F$ is a subalgebra invariant under the modular group $\sigma^{\rho_0}$ of $\rho_0$.
For $p\ne 2$, the inclusion $\mathcal F\subseteq \mathcal I_p$ is easily obtained by the fact that $\phi^*_\rho$ is an ucp map and therefore also a contraction. So my questions are:

*

*Is the opposite inclusion true, that is, is it true that $\mathcal I_p=\mathcal F$ also for $p\ne 2$?

*If the answer to 1. is negative, what is the structure of $\mathcal I_p$? Is it a subalgebra, is it invariant under $\sigma^{\rho_0}$, or maybe both?

redpajama_set_name: RedPajamaStackExchange


text:
Empower Music
Empower Sports
EMPOWER TALENT MANAGEMENT
Jennifer Mercer, Talent Agent / President
Jennifer Mercer has been involved with the performance industry for over 25 years. Jennifer has extensive knowledge and experience in dance by owning, and operating Jennifer's Jazz It Up! Studio of dance for the past 23 years. Prior to opening her own studio, Jennifer danced professionally for 10 years. Prior to dancing, Jennifer also modeled. Jennifer appeared in several commercial runway fashion shows. The highlight of her modeling career was when she was in an international print campaign for Sony, being featured on billboards and posters across the USA. Jennifer's experience of casting, directing and recruiting in the talent industry has gained her great insight into the industry. Now owning her own studio, Jennifer has lead her team to performances and opportunities all over the world. Her dancers have been featured in many photo shoots, performed on Cruise ships and various half time shows including the NBA's Toronto Raptors. Jennifer is a strong community supporter. She believes in making a difference one child at a time. She believes that EMPOWERING, inspiring and building their self-confidence will help guide them for a better tomorrow. She encourages every child to dream big and wake up and make those dreams a reality. It has always been one of Jennifer's aspirations to become a talent agent and open up a reputable talent agency that utilizes her passion and knowledge to help guide her talent to great success.
info@empowertm.com
8106 Gilmour Road, Campbellcroft ON
Canada L0A 1B0
© 2019-2022. All rights reserved. Empower Talent Management. Users of this website must agree to the Terms & Conditions/Privacy Policy

redpajama_set_name: RedPajamaCommonCrawl


There is nothing typical about the "typical' Baby Boomer investor. There are 74.9 million Baby Boomers ages 51 to 69. A new Spectrem Group demographic study, "Baby Boomer Investment Personas", finds five primary character traits that run the gamut from independent to advisor dependent. In part three of our series, we consider the Big Middle.
You collect data on a large number of people, analyze that data, and some people just end up in the middle.
That's the case with the Big Middle, the title given in the new Spectrem study "Baby Boomer Investment Personas" to the Baby Boomers who find themselves as the median person among affluent Baby Boomers in terms of age, wealth, risk tolerance and knowledge of investments.
The focus of the Baby Boomer Personas report was on affluent investors with a net worth of at least $1 million, not including primary residence.
For instance, an investor in the Big Middle is probably male. Seventy-two percent of them are. They have an average net worth of $4.6 million, and have only a moderate taste for risk in investing.
Less than 50 percent of the Big Middle investor is willing to take a big risk with investment funds on the possibility of receiving a big gain.
The average Baby Boomer considers himself knowledgeable, perhaps even very knowledgeable, about investments. Perhaps that is why 89 percent of the Big Middle investor lists "smart investing'' as the top reason they got to where they are from a wealth standpoint. However, 69 percent of the Big Middle say taking a risk played a role in their wealth level, and that is a high percentage for an average.
The Big Middle Investor is more likely to invest in stock funds (39 percent to 32 percent of all Baby Boomers), and he will also have a heavy dose of technology stocks (69 percent to 61 percent among all Boomers). Pharmaceuticals are another interest for the Big Middle, 62 percent to 51 percent among all Boomers.
Almost all (92 percent) of the Big Middle investors have a financial advisor but 83 percent say their advisor is NOT looking out for their best interests. Still, their main reason for changing advisors has to do with communication, as 65 percent said not returning phone calls in a timely fashion would be a reason to change advisors.


I joined the board of Creative Edinburgh, who help creative individuals and businesses thrive by supporting the community with events, advocacy and more.
I wrote a guide for anyone starting out in management called Advice for a new manager - I created this for a few members in my team, then turned it into a public guide to help other managers navigate those tricky first days.
I made a chatbot that tries to help people who are going through a panic attack - the bot walks you through a number of exercises to help manage the attack. To try it, say "hi" to 01234 480 205 (UK).
Every year, TRC media chooses six women in Scotland to take part in their executive development programme for women in the digital sector. I was selected as one of the participants, and completed six months of training and a trip to London and Berlin - in total, it was nearly £10,000 worth of training and development.
At FreeAgent, we decided to write and publish our own book to help freelancers in the web industry manage their finances. I was the editor of the book, and our team of designers and editors created the book from scratch. The book had a 5,000 copy print run and is now available in digital formats.
In May 2016, FreeAgent launched a crowdfunding campaign, inviting their customers and private investors to become a part of FreeAgent. I worked in the small team that ran the campaign, raising £1.2m in two months. This campaign won the the Investment Deal of the Year award from ScotlandIS for 2015.
For Valentine's Day, FreeAgent wanted to say thanks to their lovely customers who had tweeted their ❤ for FreeAgent. We decided to reply to their tweets on Valentine's Day with videos of custom-written love songs - you can view them all here. I was coordinator, camerawoman, editor, publisher and occasional performer for this project! This project won a Bronze Star for Direct Marketing at the 2015 Marketing Star Society Awards.


text:
The Deep End of the Ocean: the movie's emotional ending, explained
By Harneet Kaur — ON Jun 20, 2022
Based on Jacquelyn Mitchard's 1996 best-seller book by the same name, The Deep End of the Ocean is a beautiful movie of family, love, loss and reunion.
The article contains spoilers, so proceed carefully!
The day of the incident
Beth Cappadora, a professional photographer, goes to her High School reunion from Wisconsin to Chicago with her three kids. The oldest, Vincent (7), Ben (3) and Kerry, a baby. Once she reaches The Addison Hotel, she's greeted by her school friend Ellen, who helps with the kids while Beth unloads.
The hotel lobby is crowded and Beth has to go make reservations. Kerry has already gone away with Ellen and the babysitter, Beth instructs Vincent to keep hold of Ben's hand and stay put by their bags while she goes and pays. After she returns back to where she left her kids, she finds Ben missing.
A frantic search begins for the missing kid
Jimmy, school friend and detective, begins an official search. He calls up the police and his detective supervisor Candy Bliss for help. Statements are taken, interviews are done but in vain. Soon, Beth's husband Pat and his parents come. Hours go by with no news about the child. Beth finally breaks down in the hotel lobby and is given drugs. Eventually, the search dwindled out after six weeks.
Back home and the cracks in the family
There are visible tensions within the family with Beth unable to cope from the incident. She spends her day sleeping and neglects her kids and job. Vincent is seen taking care of Kerry. There are also tensions within Pat and Beth's marital life.
Soon, time passes and wounds start to heal a bit. The family moves to Chicago to fulfil Pat's dream of having a restaurant. Vincent is a teen and gets into troubles here and there. Beth started living better and even started working again.
A mysterious boy knocks on their door one fine day and everything changes
One day, there's a knock on the door which Kerry answers. When Beth comes down, she sees Kerry talking to a boy who looks eerily similar to Ben. He, Sam Karras, is there to offer his lawn mowing service and Beth readily accepts and as he comes, keeps on clicking his pictures.
In the investigation, there was a timeline capture of Ben's 3 year old face and what it would look like at the age of around 8. Both that picture, and Sam's face match. Beth and Pat call Candy and they agree to proceed with the investigation.
His fingerprint scans match with Ben's. The police and Beth go to his home, just 2 blocks away from hers. There, she recognizes her High School classmate Cecil Lockhart's picture. Sam's father reveals that he adopted Sam after he and Cecil married.
Candy lets the family know that Cecil was dealing with mental health issues after her child died, who was the same age as Ben. When she saw Ben at the reunion, she kidnapped him and went away, lying to the police. She committed suicide a few years back. Sam, or Ben, is then sent to live with the Cappadora's
Sam's adjustment with his new reality
Sam doesn't remember anything from his past. He faces difficulty and discomfort. He finds familiarity with some fragrances, but with no big impact. Soon, Sam is seen as breaking out of the house and going back to live with his adoptive father, George, who brings him back.
On a trip with Beth to click some photos, he tells her that there is nothing worse than being sad, and sometimes, the only way to get rid of it is death. Beth, moved by this, decides to send him back to live with George. A decision which causes a huge rift between her and Pat.
The family drama concludes on an emotional note
Vincent gets into trouble and is sent into a 2 day custody. Sam comes to visit him and tells him that he remembers a cedar wood smell and remembers feeling safe in the past since he trusted Vincent to come for him. He has had a flashback.
This small flashback was enough to make him come back to live with the Cappadora's one night. Sam and George have talked about all this and George was the one who dropped him off. Vincent apologizes to Sam because on the day he went missing, he was the one who dropped his hand and told him to get lost. Sam laughs it off. A happy and emotional Beth and Pat look out from the window.
Talking to Entertainment Weekly on how difficult it was for her to watch child kidnapping movies, but then producing and acting in one, Pfieffer said that, "There were times during production when I said to myself, 'Why am I doing this? What was I thinking?' There were scenes that were excruciating to film."
Gone in the Night: the mystery thriller's ending, explained


What are our obligations to and how do we prioritize the needs of Jews and non-Jews in our tzedakah?
Should tax laws distinguish charitable organizations that address poverty and disaster relief from those that support cultural or educational programs?
Can giving time or service be counted as part of our tzedakah?
At a moment of financial vulnerability, how do we balance the need to fund basic services vs. funding innovative visionary projects?


Vinyl is one of the man's most energy-efficient building materials produced. It is durable and lasts for decades with relatively little maintenance required compared to Fibre Cement or Timber. Duratuff outperforms most other exterior claddings in almost all Life Cycle Stages for environmental and economic performance.


Ghana's finest Reggae/Dancehall artiste, Stonebwoy says he has become more matured and responsible after tying the knot with his wife, Dr Louisa.
Stonebwoy who married Dr Louisa a year ago disclosed this in an interview with Showbiz.
"Marriage has changed me totally. I have become more responsible because there are things I did when I was single but I do them no more as a married man", he said.
"I am always in a hurry to go back home and see my family because they are my topmost priority. Anything I do is for them and I thank God for such a wonderful woman".
The "Suit and Tie" hitmaker showering some praises on his sweet wife described her as a wonderful and loving wife.
I quickly told my manager she was going to be my wife and there she is as my lovely wife," Stonebwoy disclosed.


text:
Q: Copy modified content to new file in linux how can we write a shell script in linux to copy a newly added content from a file and append it to another file.
I have a log file where errors will be stored and i am supposed to retrieve the new errors and store it in a database table. I will run a cron job invoking the shell script in a certain interval.
Edited:
Sample Log
140530 13:48:57 [ERROR] Event Scheduler: [root@%][test.event] Table 'test.test_event' doesn't exist
140530 13:48:57 [Note] Event Scheduler: [root@%].[test.event] event execution failed.
140530 13:49:57 [ERROR] Event Scheduler: [root@%][test.event] Table 'test.test_event' doesn't exist
140530 13:49:57 [Note] Event Scheduler: [root@%].[test.event] event execution failed.

initially i copied this into a file using cat but later some more error will be logged, only newly added lines should be logged.how can i do it in a routine basis.
Kindly help! Thanks in advance !

A: Simplest case
You can use tail -f to keep retrieving data from a file whenever it is appended to, then use >> (appending redirect) to append it to your second file.
tail -f file1.txt >> file2.txt

will "watch" file1.txt and append new content to file2.txt.
To test that it works, open another terminal and do:
echo "Hello!" >> file1.txt

You should see "Hello!" appear in file2.txt.
Please note that this will only work if the underlying I/O operation on file1.txt was an actual append. It won't work if you open file1.txt in a text editor and change its content, for instance. It also won't work as a cron job, because it needs to run continuously.
With cron
To periodically check for appends, you could do a diff on an earlier version of the file you saved somewhere, then use sed to get only those lines that were appended in the meantime:
diff file1_old.txt file1_current.txt | \
sed -r -e '/^[^>]/ d' -e 's/^> //' >> file2.txt

But then you have to take care of storing the earlier versions somewhere etc. in your cron job as well.

A: If you need to append (catenate) one file with another, use the "cat" command:
cat file1.txt file2.txt > fileall.txt

But if you need to modify the contents of a file, I recommend you to use "sed", or "grep" if what you need is a filter.
Sorry, your specification is a bit loose, so I cannot give you a more exact answer.
BTW. Database table? Can you please explain?


text:
Wed Dec 1
The Cost of Christmas for Australians and around the world
Written by Scott Eddington, APAC Managing Director of WorldRemit
The holiday season is here. Around the world, families are making plans to celebrate the season with unique traditions, once-a-year meals, gifts and more.
In line with this exciting time, WorldRemit conducted a multi-country study1 to determine the true cost of Christmas in 14 countries, sourcing data to showcase the average costs of the traditional Christmas meals, decorations and gifts.
WorldRemit compared five developed countries in the study - the USA, UK, France, Australia and Canada - and found the cost of Christmas per household is the highest in Canada, averaging $2,111 Canadian dollars ($2,281 AUD) or more than half (54%) of the total monthly income for the majority of Canadian households.
Of the 14 countries observed, data showed Rwandans are most impacted by the disparity between average household income and holiday costs, spending 708% of their monthly income and nearly 60% of their annual income on the holiday.
Meanwhile, Filipinos spend 257% of their monthly income on the holiday. In the region, Christmas celebrations begin in September and extend into January, making it challenging for many families to afford the basic costs of Christmas. Without remittances into countries like the Philippines, celebrating Christmas would be near impossible.
More than 244 million people are classified as immigrants around the world and account for large percentages of populations in countries like the United States (14.4% of total population)2, UK (9%)3, Australia (30%)4 and Canada (21.5%)5.
In these countries where average household incomes are amongst the highest in the world, immigrants and overseas foreign workers are often working to support themselves whilst also supporting their families and communities back home.
Christmas is one of the primary reasons immigrants and migrants send money back to their home country. Because of the high cost of seasonal items, food, and the overall impact COVID has had on supply chain and inflation, it is vital for remittance senders to be able to support those dearest to them by helping make Christmas a reality for their loved ones6.
Scott Eddington, Managing Director of Asia-Pacific at WorldRemit says "The Christmas season is the perfect time to celebrate old traditions and create new ones with friends and family across the globe. One tradition that is all too well known for Australian and New Zealand households with friends and families overseas, is sending money in-lieu of gifts."
"With more than 244 million people worldwide classified as immigrants, and three in ten Aussies fitting this description, we are making it easy to share love and joy over the holiday season."
For the nearly 250 million people who live in different countries than their families, ensuring loved ones can properly celebrate the nostalgic and important time is often top of mind.
As such, planning for the holiday season can take months of financial preparation and the collective effort of family, both in home countries and abroad, to bring the season to life. As a special Christmas gift, WorldRemit is offering three transfers free of charge. With the code '3FREE', OFWs get the best value out of their hard-earned money.
To learn more about the study and see full results, visit: https://www.worldremit.com/en/cost-of-christmas.
All figures are AUD Dollar
Based off the exchange rate from the local currency was calculated on Friday 5 November.
Average Annual Income
Average Monthly Income
Average Total Holiday Costs
Percentage of Monthly Income
In the study, WorldRemit looked at the following 14 countries and researched basic Christmas Costs - including the main holiday meal, average gift spend and decorations.
The Christmas items were selected based on desk research of typical Christmas meals, gifts and decorations. We then researched the average price of each item for an average family on an average income. The prices were researched online in late October 2021 - November 2021. Prices and breakdowns of what is appropriate for Christmas celebrations in each country were then shared with locals of that country who we hired to validate the data as correct.
The exchange rate from the local currency was calculated on Monday 5 November. The percentage figures are percentages of the overall budget in the local currency.
WorldRemit.Cost of Christmas(2021 - Quarter 4)
United Nations, Department of Economic and Social Affairs, Population Division (2015).Trends in International Migrant Stock: The 2015 Revision.(United Nations database, POP/DB/MIG/Stock/Rev.2015).
UK Parliament, House of Commons Library:Migration Statistics (2021, Quarter 2).
Australian Bureau of Statistics:Migration, Australia (2021, Quarter 2).
Statista:Immigration in Canada: Statistics & facts(2021, Quarter 3).
The Economist.Wiring home for Christmas: remittances and the Philippines(2020, Quarter 4).
About WorldRemit
We're a leading global payments company and, along with Sendwave, part of Zepz, a group powering two global payments brands.
We disrupted an industry previously dominated by offline legacy players by taking international money transfers online - making them safer, faster and lower-cost. We currently send from 50 countries to recipients in 130 countries, operate in more than 5,000 money transfer corridors worldwide and employ over 1,200 people globally.
On the sending side WorldRemit is 100% digital (cashless), increasing convenience and enhancing security. For those receiving money, the company offers a wide range of options including bank deposit, cash collection, mobile airtime top-up and mobile money.
Backed by Accel, TCV and Leapfrog – WorldRemit's headquarters are in London, United Kingdom with regional offices in the United States, Poland, Canada, Australia, Hong Kong, Singapore, Malaysia, the Philippines, South Africa, Somaliland, Uganda, Kenya, Rwanda, Tanzania, Zimbabwe and Belgium.
www.worldremit.com
Whistleblowers still in the firing line from foreign influence and official secrets laws
Under the proposed changes to the Criminal Code, anybody could face up to 20 years in jail for communicating unauthorised information.www.shutterstock.comAustralia is in the middle of intense debate about new…
Effects of laser hair treatment
If you are a girl that focuses on maintaining herself more than focusing on any other thing you might know that how much removing extra hair from any part…
Designing a Website in 2021: 4 Essential Tips for Success
Are you ready to design a website for your business? Ultimately, it is an integral element for any company these days – whether you sell online or operate out of…
woke capitalism is no solution
Jeremy Selwyn/APPrince Harry has copped a pasting in the British media for his new job as "chief impact officer" with Silicon Valley startup BetterUp. His role, and the company's business…
There are lessons to be drawn from the cracks that appeared in Sydney's Opal Tower, but they extend beyond building…
The reasons for the cracked concrete that triggered the evacuation – twice – of residents from Sydney's Opal Tower over Christmas and the New Year are unknown and will take…
how job insecurity shapes your personality
With unemployment at its highest rate in three decades, almost a million Australians[1] are experiencing the anxiety of being out of work. Even more are underemployed, and more still holding…


text:
Shadowserver, a nonprofit that helps protect the internet from botnets, is in grave danger of going under
The company creates honeypots and sinkholes that keep malicious internet traffic at bay.
DKosig/E+/Getty Images
Tom Maxwell
The internet has a lot of underlying infrastructure most of us seldom give much thought to, but which is essential to keeping it working... and working properly. One of those seldom-seen, essential services that works tirelessly to keep things running smoothly is a nonprofit called Shadowserver (not to be confused with the gaming service, Shadow). The reason you're hearing about it now? Shadowserver is about to lose its main source of funding.
Keeping the botnets at bay — Shadowserver's key function is running honeypots and sinkholes, which trick botnets into directing all of their traffic into a black hole rather than to an actual website. Botnets are created when computers are infected by a virus, and that virus tells the computer to start sending meaningless traffic somewhere. Create a big enough botnet and you can take down just about any website with a deluge of requests — a move that's known as a Distributed Denial of Service (or DDOS) attack.
Shadowserver says it sinkholes five million infected machines every day. Without it, who knows where the malicious traffic they generate will end up, or what it'll do to the useablility of the internet.
As Wired reports, Shadowserver has been funded by software giant Oracle for the past 15 years and been left to operate as an independent organization, but its benefactor has gone through budget restructuring and decided to stop footing the bill. Shadowserver says it needs $1.7 million to make it through the rest of 2020.
Who will step up? — It's unclear why Oracle has decided to stop paying what amounts to a fairly nominal sum on its balance sheet, but what's both more interesting and worrying is that, as it stands, no other tech giant has been forthcoming to take over. Perhaps that's the one downside of being such a quiet, inconspicuous company — few have heard of it, and even fewer understand why it matters. Being distracted by a pandemic, though, can't be helping matters either. Especially when the U.S. government is claiming websites that are barely beyond the prototype stage are suddenly going to save us all.
Shadowserver's never wanted the lime light, but now for all of our sakes it needs as much as it can get. The company has launched a donations page on its site where anyone can contribute. Here's hoping the big players come together and pitch in to keep Shadowserver afloat. After all, they all benefit hugely from an internet free of botnets and other nefarious actors, as do the rest of us.


text:
Dump the gas tax — instead pay by the mile
Marketplace Contributor Sep 6, 2016
https://www.marketplace.org/2016/09/06/dump-gas-tax-instead-pay-mile/
A car drives along an Oregon road. Doug Kerr/Flickr
Better mileage means less gas tax to build roads. California and others are checking out a new approach that Oregon's been piloting.
States' gas tax revenue is slumping. California and other states are looking to an innovative approach pioneered by Oregon: pay by the mile.
The gas tax you pay at the pump isn't cutting it anymore. Does a new approach being piloted in Oregon offer a solution?
Volunteers in the OReGO program plug a dongle into their dashboard that tracks their mileage.
Oregon Department of Transportation
About a hundred years ago, Oregon became the first state to start paying for highways by taxing gasoline. Pretty much everybody soon followed suit. But as cars have gotten more fuel efficient – and as plug-in vehicles have gained popularity – gas tax revenue has slumped.
For example, when I gas up my fuel-efficient Dodge Neon, the 31 cents per gallon I pay the state in gas tax doesn't amount to much, usually less than three bucks. That's great for me, but not so great for Oregon's transportation budget.
So, last year, Oregon was the first state to try out a new idea, where Oregonians pay for the miles they drive instead of the gallons they buy at the pump.
Tom Fuller, with the Oregon Department of Transportation, explained that the pay-by-the-mile pilot program – called OReGO – has about a thousand volunteer drivers. They plug a small device into their cars' dashboard that tracks their mileage, then charges them a cent and a half per mile. Fuller said a pay-by-the-mile system is the fairest way to raise money for roads.
"So somebody who drives an electric car, they pay no gas tax whatsoever, but yet they still use the roads, just like somebody who drives a gas guzzler," he said. "So there needed to be a way of evening that out so that the people who use the system pay for the system."
OReGO volunteer Evan Burroughs said he pays a little more tax than he would with the gas tax at the pump.
"I pay a dollar a month, $2 a month, something like that," he said. "Very, very minimal."
A screenshot of the Azuga smartphone app, from one of the two companies that manage the data for OReGO drivers.
The device that tracks mileage can give you data on acceleration, braking and other aspects of your driving habits that affect fuel efficiency. It's kind of like having a Fitbit for your car. Burroughs admitted to being a bit of a data geek, and said he enjoys tracking that feedback.
Other drivers however are uncomfortable with the "Big Brother" overtones of mileage tracking. The idea that the government knows how much you're driving – or even where, if you opt into the GPS-based system – creeps them out.
But both of the companies that handle OReGO's data collection say while they send mileage data to the state to calculate the tax owed, your personal information is protected by state law.
A task force will make recommendations to the Oregon legislature in the fall. Some sort of mandatory system is likely to emerge from next year's legislative session. But a lot of political arm twisting may be needed to get trucking firms, agriculture and other heavily fuel-dependent commercial players on board.
California voters to have their say on gas tax hike
New bike? In Oregon, that could mean a $15 tax
Two US standards for fuel efficiency: California and everyone else
Navigating new sales tax rules in the era of online shopping
Fierce opposition to gas tax proposal in Tennessee


He said absentee students will definitely not be aware of what is taught in schools thereby leading to their poor academic performance.
The Education Commissioner also enjoined parents and guardians to provide textbooks, notebooks and required learning materials to their children in support of government's efforts and as part of their responsibilities to their wards.
with the government, stressing that their future can be guaranteed through proper education of their children.
and clean environments and stressed that the government of Ogbeni Rauf Aregbesola is determined to lay a solid foundation for functional education in Osun.
Some of the schools visited are St. Richards Elementary/Middle School, Gbongan Olufi Government Middle School, Baptist Day Elementary and Middle School, Mojapa, Gbongan.
Others are St. James Elementary and Middle School, Lagbaka, Gbongan and Gbongan-Odeomu Unity High School.


text:
Q: Delete last screenshot taken in iOS =>9 without user authorisation? I've requirement to disable taking screenshot in iOS device. since Apple not giving support for that, another workaround Im trying is - get notified when screenshot is taken using UIApplicationUserDidTakeScreenshotNotification and get last photo from photo gallery and delete it as below code -
func deleteLastTakenScreenshotFromLibrary() {
    let fetchOptions: PHFetchOptions = PHFetchOptions()
    fetchOptions.sortDescriptors = [NSSortDescriptor(key: "creationDate", ascending: false)]
    let fetchResult = PHAsset.fetchAssets(with: .image, options: fetchOptions)

    if (fetchResult.firstObject != nil) {
        var firstAsset: PHAsset = fetchResult.firstObject as! PHAsset
        let arrayToDelete = NSArray(object: firstAsset)
        PHPhotoLibrary.shared().performChanges( {
            PHAssetChangeRequest.deleteAssets(arrayToDelete)},
                                                            completionHandler: {
                                                                success, error in
                                                                print("Finished deleting asset. %@", (success ? "Success" : error))
        })
    }

But here I found 2 problems -
a).app is asking user permission like Allow <App Name> to delete this photo? This photo will be deleted from iCloud Photo Library on all your devices.
b).after clicking allow, app is not deleting that last photo permanently.
Even I added below permissions in info.plist
1).Privacy - Photo Library Usage Description
2).Privacy - Media Library Usage Description
I don't know how I can fulfil this requirement. Please help, your help is much appreciated. Thanks. :)

A: From the documentation of PHPhotoLibrary:

For each call to the performChanges(:completionHandler:) or performChangesAndWait(:) method, Photos shows an alert asking the user for permission to edit the contents of the photo library.


text:
Unscathed end to action in Mallorca
Challenge: Trofeo Playa de Palma - Palma
Pedrero debuts as Valverde enters final splits in final day through the Balearic islands. Blues back in competition for Valencia and Dubai from Wednesday
The 25th Challenge Ciclista Mallorca was officially over on Sunday as André Greipel (LTS) took his second sprint victory at the 161.5km Trofeo Playa de Palma – Palma. However, the finish along the coast of the Balearic capital was close to seeing a much smaller bunch contesting the win than in previous times.
The Movistar Team, which had Antonio Pedrero making his first outing in Blue colours today, made a front group of fifteen riders with Alejandro Valverde after the ascent of Sa Creu (Cat-3), later staying at the front when crosswinds split the bunch into two. With no sprinters into their ranks, the telephone squad remained content by finishing safely into a compact, bigger bunch at the end.
The Spanish squad will now divide into two on their journey back, some of their members going to the Volta a la Comunitat Valenciana while others fly to the Dubai Tour, their first two competitions in February starting on Wednesday.


Due to the overwhelming demand following the record sell-out of places on the first OFAA for BACN cadaver training course, created specifically for the BACN, which ran on the 17th February 2018, OFAA has confirmed a new course exclusively for the BACN which will run on the 27th October 2018 at Kings College London.
On Saturday 17th February 2018, oculoplastic surgeon Mrs Sabrina Shah-Desai ran a course advising on the Facial Anatomy: Cadaveric Dissection Course. Mrs. Sabrina Shah-Desai (MS, FRCS), one of UK's leading Oculoplastic Surgeons specialising in surgical and non-surgical peri-orbital rejuvenation. She is an advanced trainer for Galderma and has developed "Eye-Boost" a bespoke tear trough rejuvenation treatment.
Introduction to facial structures & Osteology of the face.
Mid Face – Dissection to include identification of fat pads, nerves, facial artery, muscles of mid-face, nose anatomy and lower eyelid.
Lower Face – Dissection to include identification of jowls to identify platysma, depressor anguli oris, depressor labii inferioris, mental nerve and lip anatomy.
One of the UK's leading Oculoplastic Surgeons specializing in cadaver training for non-surgical facial rejuvenation who is an advanced trainer for Galderma.
BACN, mid-face, face, OFAA, vascular dissection, muscular dissection, osteology, scull, foramina, upper face, lower face, neck dissection.


Anyway, it got me thinking, about Christmas, and goals and dreams, and wondering, when do we decide to stop believing?
When I was about 6 or 7 I saw my Dad creep into my room and do a stocking swap. I was so disappointed, yet I told myself that he was probably commissioned to help Santa (well my 6 year old brain probably didn't come up with the word 'commissioned' but you get my point), and it's because I wanted to continue to believe. As a teenager, I was sure I heard sleigh bells when walking home one Christmas Eve, even though I knew deep down it couldn't be true. Then as an adult I realised that there really is a Lapland, and Santa does live there...but more importantly, I realised that the magic is within us.
Mums and Dads create the magic of Christmas for their children because they want their children to have something magical to believe in, and we do. But actually strip it all back, and as children, what we actually believe in is our parents, and in the things they provide that we can't see, like love....and magic. And once a year we give it a name and we call him Santa.
But what happens when we no longer believe in Santa, does that mean we stop believing in love, in our parents? Do we decide then that magic doesn't exist? That dreams can't come true? Or do we wait until someone rejects us, or when an idea doesn't work or when someone comes into school and tells us we need a plan B?
To be a human being is a magical experience and a miracle in itself, we can choose to notice that, or we can get consumed by the expense and stress of Christmas-time. We can embrace the season of goodwill to all men, or we can look at everything we don't have (yet).
It is your choice to believe, and when you decide to believe in you, that's when the magic really happens. Remember this though, whatever you learn, you teach. Think about it.
So to end, I hope you had a magical Christmas and I wish that all your dreams come true in 2014.


text:
Author: Avdonin, V.V.
You may also wish to search for items by Avdonin, V. and Avdonin.
9 matching references were found.
Kustova, L.V.; Kirpichev, E.P.; Rubtsov, Yu.I.; Avdonin, V.V.; Korepin, A.G.; Eremenko, L.T., Standard enthalpies of formation of certain nitro compounds, Bull. Acad. Sci. USSR, Div. Chem. Sci., 1981, 1830-1836. [all data]
Kustova, L.V.; Kirpichev, E.P.; Rubtsov, Yu.I.; Avdonin, V.V.; Korepin, A.G.; Eremenko, L.T., Standard enthalpies of formation of certain nitro compounds, Bull. Acad. Sci. USSR, Div. Chem. Sci., 1982, 30, 1830-1836, In original 2232. [all data]
Avdonin, V.V.; Kirpichev, E.P.; Rubtsov, Yu.I.; Fadeev, M.A.; Oreshko, G.V.; Eremenko, L.T., Synthesis and thermochemical properties of some fluorine-containing formals, Bull. Acad. Sci. USSR, Div. Chem. Sci., 1991, 2189-2193. [all data]
Korepin, A.G.; Galkin, P.V.; Golovina, N.I.; Trofimova, R.F.; Avdonin, V.V.; Kirpichev, E.P.; Rubtsov, Yu.I.; Lagodzinskaya, G.V.; Loginova, M.V., Preparation and properties of secondary amides of 1,1-dinitroalkanecarboxylic acids, Russ. Chem. Bull. (Engl. Transl.), 1994, 43, 821-825. [all data]
Lempert, D.B.; Nechiporenko, G.N.; Avdonin, V.V., Di(methyl-NON-azoxy) Formal as a promising componenet of the solid-propellant mixed oxidant, Russ. J. Appl. Chem., 1998, 71, 45-49. [all data]
Rafeev, V.A.; Rubtsov, Yu.I.; Avdonin, V.V.; Sorokina, T.V.; Korolev, A.M., Measurements of specific heats of combustion of small samples in an automated combustion colorimeter, Zavod. Lab., 1993, 59, 39-41. [all data]
Avdonin, V.V.; Kirpichev, E.P.; Rubcov, Y.P.; Fadeev, M.A.; Oreshko, G.V.; Eremenko, L.T., Synthesis and thermochemical properties of some F-containing formales, Izv. Akad. Nauk SSSR, Ser. Khim., 1991, No. 11, 2513-17. [all data]
Zyuzin, I.N.; Avdonin, V.V., Thermochemistry of Z-isomer of N-methyl-N'-methoxydiazene-N-oxide in Vses. Konf. Term. Org. Soedin. 6th, Minsk, p 40, 1990. [all data]
Kustova, L.V.; Kirpichev, E.P.; Rubstov, Y.I.; Avdonin, V.V.; Korepin, A.G.; Eremenko, L.T., Izv. Akad. Nauk SSSR, Ser. Khim., 1981, 30, 2232-8. [all data]


Enlightening...a truly life-enriching experience. I can't praise the teacher enough. He opened my eyes to aspects of novel writing that would never have occurred to me if I hadn't enrolled in the course. I consider it a privilege to have been a member of his class.
This is an incredibly motivating class that focuses both on the tactics of getting a novel onto paper and the process of keeping those ideas flowing.
A great way to see your work through your readers' eyes.
The teacher was one of the great teachers of my life (including my Yale professors!).
This class pushes you to just sit down and write, which is what you need during the first-draft stage.
An excellent way to stay on track, inspired, and supported.
A wise choice for someone who has a novel started in their desk drawer.
Everything in this class was organized and structured to perfection.
This course helped me have a major writing breakthrough. Very exciting!
This Novel Writing course gave me many excellent ideas for revising my manuscript. I feel eager to dig in and make the recommended changes.
I have always found Gotham students to be exceptional. Consequently the feedback you get in the workshop setting is invaluable.
The best way to get readers and critiques from your peers before submitting your work to agents and publishers.
An excellent way to get your novel kickstarted, to have support and guidance as you discover your writing, and to find a writing community.
Excellent overview of the necessary components and the thought process required to produce a novel.
After ten years of struggling, I finally feel that finishing this novel is within my grasp!


Blockchain technology is often compared with another technological invention – the Internet – and the impact of it is expected to be much greater. Just like in the case of the World Wide Web, those countries that decide to be bold and implement technology solutions before anyone else does are going to have a significant competitive advantage.
Russia has a chance to become one of the leaders in the global IT industry. Even though details of the meeting between Putin and Buterin are kept under the seal of secrecy, one detail leaked – the president is ready to give full support for the development of Blockchain technology, what would definitely result in a much greater volume of investments coming into the country despite any restrictions and sanctions.


Maturi Venkata Subba Rao Engineering College, Hyderabad was established in 1981. Mannan Institute of Science and Technology, Ranga Reddy is one of the leading institute.Offeres courses by Mannan Institute of Science and Technology, Ranga Reddy is approved by the All India Council for Technical Education (AICTE), Government of India.It is affiliated in Jawaharlal Nehru Technological University JNTU Hyderabad. College provide the 4 year engineering courses at under graduate level. Mannan Educational Society is managed this institute.
The college is also popularly known as Matrusri Engineering College. After completing two decades of excellent service in Technical Education, the college has celebrated its Silver Jubilee year in February 2007. MVSR Engineering College i.e., Maturi Venkata Subba Rao Engineering College.
M.E. (ECE – Embedded Systems & VLSI Design) Approval for New Courses during 2010-11 awaited.
M.E. (EEE - Power Systems) Approval for New Courses during 2010-11 awaited.
M.E. (CSE - Computer Science) Approval for New Courses during 2010-11 awaited.
To take admission in ME / M Tech / PG / Postgraduate courses candidate clear Bachelor's degree in Engg/Technology, AMIE/AMIETE or similar qualifications recognized by UGC as equivalent to B.E./B.Tech.


text:
package io.spring.initializr.generator.spring.code;

import java.io.IOException;
import java.nio.file.Path;
import java.util.List;
import java.util.function.Supplier;
import java.util.stream.Collectors;

import io.spring.initializr.generator.language.CompilationUnit;
import io.spring.initializr.generator.language.SourceCode;
import io.spring.initializr.generator.language.SourceCodeWriter;
import io.spring.initializr.generator.language.TypeDeclaration;
import io.spring.initializr.generator.project.ProjectDescription;
import io.spring.initializr.generator.project.contributor.ProjectContributor;
import io.spring.initializr.generator.spring.util.LambdaSafe;

import org.springframework.beans.factory.ObjectProvider;

/**
 * {@link ProjectContributor} for the application's test source code.
 *
 * @param <T> language-specific type declaration
 * @param <C> language-specific compilation unit
 * @param <S> language-specific source code
 * @author Stephane Nicoll
 */
public class TestSourceCodeProjectContributor<T extends TypeDeclaration, C extends CompilationUnit<T>, S extends SourceCode<T, C>>
		implements ProjectContributor {

	private final ProjectDescription description;

	private final Supplier<S> sourceFactory;

	private final SourceCodeWriter<S> sourceWriter;

	private final ObjectProvider<TestApplicationTypeCustomizer<?>> testApplicationTypeCustomizers;

	private final ObjectProvider<TestSourceCodeCustomizer<?, ?, ?>> testSourceCodeCustomizers;

	public TestSourceCodeProjectContributor(ProjectDescription description, Supplier<S> sourceFactory,
			SourceCodeWriter<S> sourceWriter,
			ObjectProvider<TestApplicationTypeCustomizer<?>> testApplicationTypeCustomizers,
			ObjectProvider<TestSourceCodeCustomizer<?, ?, ?>> testSourceCodeCustomizers) {
		this.description = description;
		this.sourceFactory = sourceFactory;
		this.sourceWriter = sourceWriter;
		this.testApplicationTypeCustomizers = testApplicationTypeCustomizers;
		this.testSourceCodeCustomizers = testSourceCodeCustomizers;
	}

	@Override
	public void contribute(Path projectRoot) throws IOException {
		S sourceCode = this.sourceFactory.get();
		String testName = this.description.getApplicationName() + "Tests";
		C compilationUnit = sourceCode.createCompilationUnit(this.description.getPackageName(), testName);
		T testApplicationType = compilationUnit.createTypeDeclaration(testName);
		customizeTestApplicationType(testApplicationType);
		customizeTestSourceCode(sourceCode);
		this.sourceWriter.writeTo(
				this.description.getBuildSystem().getTestSource(projectRoot, this.description.getLanguage()),
				sourceCode);
	}

	@SuppressWarnings("unchecked")
	private void customizeTestApplicationType(TypeDeclaration testApplicationType) {
		List<TestApplicationTypeCustomizer<?>> customizers = this.testApplicationTypeCustomizers.orderedStream()
				.collect(Collectors.toList());
		LambdaSafe.callbacks(TestApplicationTypeCustomizer.class, customizers, testApplicationType)
				.invoke((customizer) -> customizer.customize(testApplicationType));
	}

	@SuppressWarnings("unchecked")
	private void customizeTestSourceCode(S sourceCode) {
		List<TestSourceCodeCustomizer<?, ?, ?>> customizers = this.testSourceCodeCustomizers.orderedStream()
				.collect(Collectors.toList());
		LambdaSafe.callbacks(TestSourceCodeCustomizer.class, customizers, sourceCode)
				.invoke((customizer) -> customizer.customize(sourceCode));
	}

}

redpajama_set_name: RedPajamaGithub


Bizarre flashes of cosmic light may actually be generated by advanced alien civilizations, as a way to accelerate interstellar spacecraft to tremendous speeds, a new study suggests.
Astronomers have catalogued just 20 or so of these brief, superbright flashes, which are known as fast radio bursts (FRBs), since the first one was detected in 2007. FRBs seem to be coming from galaxies billions of light-years away, but what's causing them remains a mystery.
One potential artificial origin, according to the new study, might be a gigantic radio transmitter built by intelligent aliens. So Loeb and lead author Manasvi Lingam, of Harvard University, investigated the feasibility of this possible explanation.
The duo calculated that a solar-powered transmitter could indeed beam FRB-like signals across the cosmos — but it would require a sunlight-collecting area twice the size of Earth to generate the necessary power.
And the huge amounts of energy involved wouldn't necessarily melt the structure, as long as it was water-cooled. So, Lingam and Loeb determined, such a gigantic transmitter is technologically feasible (though beyond humanity's current capabilities).


Freshly made cannoli is always a favorite.
Our cannoli are filled with fresh filling when you order, keeping their thin shells crispy. The sweet ricotta filling is the perfect treat. You can order one cannoli if you want, or even an entire try for a party.
Some of our customer like to make a big impression with their friends and order our large Cannoli platter. Imagine a super large cannoli that contains the filling for many smaller cannoli shells. Your friends will love it!


text:
Joachim Löw: Manuel Neuer to Miss Australia Friendly with Injury
The Germany No. 1 has a knee issue, while Holger Badstuber could get his first start since his knee issues
By Davis VanOpdorp@Davis_VanOpdorp Mar 24, 2015, 10:04pm CET
Share All sharing options for: Joachim Löw: Manuel Neuer to Miss Australia Friendly with Injury
Alex Grimm/Getty Images
Goalkeeper Manuel Neuer will not play in Germany's friendly against Australia, head coach Joachim Löw said in his press conference on Tuesday. Neuer will be resting due to knee inflammation.
"Neuer will not play against Australia. He has bursitis in his knee," said Löw. "We do not want to incur any risk for Georgia, and there are not any problems if one is careful."
Neuer played all but one of Bayern Munich's matches before the international break, and Guardiola decided to rest the keeper for Pepe Reina earlier this month. Löw called in Borussia Dortmund's Roman Weidenfeller and Hannover's Ron-Robert Zieler as the other two goalkeepers, both of whom qualified to take his place against Australia on Wednesday.
One player who will start for Löw is Holger Badstuber, for he wants both Badstuber and Ilkay Gündogan to get a good look-in upon their return to the national team. Badstuber has not taken the field for Germany since October 2012, and with Per Mertesacker and Philipp Lahm retiring, he could fill a big defensive need for Germany.
Also making his return, and his debut as Germany's new captain, is Bastian Schweinsteiger. Löw is sure glad to have him back.
"It is a good sign the captain is back on board," Löw said. "Bastian is in very good form, and he is taking a leading role with FC Bayern. It is important for a team to have a leadership personality on the field."


Chairman, Senate Committee on Appropriations, Senator Mohammed Danjuma Goje lost his wife, Hajiya Yelwa Danjuma Goje, a statement by the Senators son, Ahmed Mohammed Goje has said.
The statement indicated that HajiaYelwa, aged 55, died in a hospital in the United States of America.
The statement also indicated that the late wife of the former Governor of Gombe State is survived by her husband, Senator Goje, six children, 10 grandchildren, relatives, supporters and admirers.
Ahmed Goje also stated that the family will soon.announce details of the funeral arrangements.


At Royal Roofing Patrixbourne, we undertake all types of roof repairs in Patrixbourne, including guttering repairs, chimney repairs, pointing and moss removal, slating, renovations, felt repairs and replacements, and even emergency roof repairs. We have over ten years of experience working with expert tradesmen in the roofing industry in Patrixbourne to guarantee quality and customer satisfaction in all our roof repair solutions. You want to make sure your office building and roof are maintained in a prime condition and fit for your business. We always strive to deliver quality in our roof repair services. We are commitment to that priority, and our dedication to the roofing industry's best standards is unwavering. Royal Roofing Patrixbourne offers cost-effective roof repair services. We have more than a decade of experience in the roofing industry. Our team of roof repair experts always gets the job done.
It's easy to tell when your roof is defective, especially when you know what to look out for. Unfortunately, some homeowners in Patrixbourne are clueless about this, and they end up doing nothing while their roofs get badly damaged and possibly even damage their properties too, thus incurring more expenses on repairs. Are you wondering what signs to watch out for? They include: Leaky roof and damp ceiling, moss or mould growing on your roof or walls and ray(s) of light beaming down from your roof.
Repairs are paramount. The following complications are avoided when you order Royal Roofing Patrixbourne roof survey and repair services in Patrixbourne: Personal injuries, rodent infestation, poor insulation, higher roofing repair costs, damaged properties.
In Patrixbourne, Royal Roofing Patrixbourne has provided quality roofing services for many satisfied clients who now enjoy total peace of mind- warmth, security and no leaks!
Royal Roofing Patrixbourne's all-encompassing roof repair solutions will deliver both when you want a replacement for your broken roof tiles or slates, and when you need to repoint and re-bed ridge tiles. We can repair all types of roofs, including flat roofs, asphalt roofs, pitched roofs, plastic roofs, and metal sheet roofs. We can bring our roof repair services to you at anytime and anywhere in Patrixbourne.We work with some of the top roofing experts and tools to give you roof repair services that are durable. We insure our roof repair services to protect your property and give you peace of mind while we work.
Call Royal Roofing Patrixbourne on 01892 281 024 for your roof repairs in Patrixbourne. At Royal Roofing Patrixbourne, we also specialise in repairing chimneys for both domestic and commercial buildings in Patrixbourne. We can fix various chimney problems, including damaged brickwork, worn flashings, condensation, and cracks in the crown. Don't allow the damage in your chimney to affect the rest of your building. For those in Patrixbourne, contact Royal Roofing Patrixbourne now on 01892 281 024. Royal Roofing Patrixbourne knows that a roof can be damaged at any time, especially during bad weather conditions. In fact, when there's a defect in your roof during windy weather or while it's raining or snowing, your building becomes prone to disaster. You risk the damage escalating and leaving your home vulnerable to grave hazards. Why not take advantage of our emergency roof repair services for your urgent roof repair needs in Patrixbourne?
Our goal at Royal Roofing Patrixbourne is to be a major roofing brand in Patrixbourne offering a wide range of services. We have scores of happy customers who are happy to tell others about the quality of what we do. You can read their honest and uninfluenced views about our work on independent review websites like Which Trusted Trader.
At Royal Roofing Patrixbourne, we keep developing to be the most dependable and efficient solutions experts to a wide range of clients and project types in Patrixbourne. To know more about how you can benefit from us, check out our profile on TrustaTrader.
Why Choose Royal Roofing Patrixbourne for Your Roof Repairs in Patrixbourne?
If you need a roof repair service that is within your means in Patrixbourne, Royal Roofing Patrixbourne is the ideal choice. In order to smoothen our work processes and minimise service charges for our customers, Royal Roofing Patrixbourne favours bulk buying when sourcing for its roofing hardware, and also leverages advanced roof repair equipment. This is how we make our quality roof repair services in Patrixbourne affordable.
At Royal Roofing Patrixbourne, we developed our immense expertise over a decade of offering our clients in Patrixbourne complete satisfaction in our roof repair solutions. The best part is that you too can enjoy the same satisfaction by taking advantage of our superior roof repair solutions to improve the efficiency of your roof.
Royal Roofing Patrixbourne's team of roof repair tradesmen is made up of experts in the field. They are friendly people who are also passionate about their work. Not only do they carry out your roof repair services with quality in mind; they also take care to not damage your property while they work.
To fix a problem, you need to discover the source. For that reason, rushing into repairing your roof isn't the first thing we do when you hire Royal Roofing Patrixbourne in Patrixbourne. Be start by using our powerful CCTV units, which can reach inaccessible areas, to survey your roof to identify the defect. Then we approach repairs accordingly.
Give Royal Roofing Patrixbourne a call on 01892 281 024 now and get durable roof repairs in Patrixbourne.


text:
package com.iitp.njack.iitp_connect.core.facebook.feed;

import android.arch.lifecycle.LiveData;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;

import com.iitp.njack.iitp_connect.AppExecutors;
import com.iitp.njack.iitp_connect.data.facebook.FacebookApi;
import com.iitp.njack.iitp_connect.data.facebook.FacebookPost;
import com.iitp.njack.iitp_connect.data.facebook.FacebookPostDao;
import com.iitp.njack.iitp_connect.data.facebook.FacebookPostListWrapper;
import com.iitp.njack.iitp_connect.data.network.ApiResponse;
import com.iitp.njack.iitp_connect.data.network.NetworkBoundResource;
import com.iitp.njack.iitp_connect.data.network.Resource;
import com.iitp.njack.iitp_connect.utils.RateLimiter;

import java.util.List;

import javax.inject.Inject;

import static com.iitp.njack.iitp_connect.common.Constants.ACCESS_TOKEN;
import static com.iitp.njack.iitp_connect.common.Constants.FIELDS;

public class FacebookFeedRepository {

    private static final String FACEBOOKPOSTS = "facebookPosts";

    private final FacebookPostDao facebookPostDao;
    private final FacebookApi facebookApi;
    private final AppExecutors appExecutors;
    private final RateLimiter<String> repoListRateLimit;

    @Inject
    public FacebookFeedRepository(FacebookPostDao facebookPostDao,
                                  FacebookApi facebookApi,
                                  AppExecutors appExecutors,
                                  RateLimiter<String> repoListRateLimit) {
        this.facebookPostDao = facebookPostDao;
        this.facebookApi = facebookApi;
        this.appExecutors = appExecutors;
        this.repoListRateLimit = repoListRateLimit;
    }

    public LiveData<Resource<List<FacebookPost>>> fetchFacebookPosts(boolean reload) {
        return new NetworkBoundResource<List<FacebookPost>, FacebookPostListWrapper>(appExecutors) {
            @Override
            protected void saveCallResult(@NonNull FacebookPostListWrapper item) {
                facebookPostDao.deleteAll();
                List<FacebookPost> contests = item.getFacebookPosts();
                facebookPostDao.addFacebookPosts(contests);
            }

            @Override
            protected boolean shouldFetch(@Nullable List<FacebookPost> data) {
                return data == null || data.isEmpty() || reload || repoListRateLimit.shouldFetchAndRefresh(FACEBOOKPOSTS);
            }

            @NonNull
            @Override
            protected LiveData<List<FacebookPost>> loadFromDb() {
                return facebookPostDao.getFacebookPosts();
            }

            @NonNull
            @Override
            protected LiveData<ApiResponse<FacebookPostListWrapper>> createCall() {
                return facebookApi.getFacebookPosts(FIELDS, ACCESS_TOKEN);
            }

            @Override
            protected void onFetchFailed() {
                repoListRateLimit.reset(FACEBOOKPOSTS);
            }
        }.asLiveData();
    }
}


Marketing strategies mean so many things to so many different people, that there is no standard code - or is there? While I have been using the same marketing strategy format for the past 20 years, I am always alarmed when I see a sales person write up a marketing 'to do list' and proclaim that this is in fact their marketing strategy. Likewise, when an entrepreneur hires a college graduate who writes up a marketing strategy based on the format that they learnt at college, which is out-dated, lacking in relevance and most likely not something that the student has had the ability to actually learn in-depth.