text:
ENTERTAINMENT BREAK
Entertainment Break: See if you can spot the extremely subtle differences in how NYT covered Kamala vs. Pence becoming VP candidates
It's going to take a sharp eye and a keen intellect to figure this one out, but give it a shot.
Here's Kamala's cover:
Here's Pence's:
Heck, even I'll give you the first paragraph or two of each write-up. See if you notice any difference in tone.
Kamala's article begins:
Kamala Harris's first act as a political candidate was knocking out a former boxer: the progressive San Francisco district attorney who had been her boss.
Her freshman Senate term has been defined by committee performances so lacerating that Trump administration officials have complained of her lawyerly velocity. "I'm not able to be rushed this fast," a flustered Jeff Sessions once said to her. "It makes me nervous."
And in Ms. Harris's most memorable turn as a presidential contender, speaking with practiced precision to the man who on Tuesday chose her as his running mate, she began with a less than charitable disclaimer — "I do not believe you are a racist" — before flattening him with the "but . . . "
"It was a debate," she has said repeatedly since then, offering no apology for campaign combat.
That is San Francisco politics, friends say. That is Kamala Devi Harris.
Aaaand Pence's:
Long after government regulators had confirmed the lethal consequences of cigarette smoking, Mike Pence mocked their warnings as "hysteria" in 1998.
"Time for a quick reality check," he wrote. "Smoking doesn't kill."
Long after most members of Congress had abandoned the quaint practice of delivering one-minute morning speeches, Mr. Pence eagerly held court in an empty chamber, musing about sports and Scripture.
And long after Republicans' war on big government was fading, Mr. Pence defiantly opposed his own party over the creation of signature programs like No Child Left Behind and a Medicare prescription drug benefit.
Pence's headline (in the lower-right corner of the front page; it's circled in case you're having trouble finding it) is "Unbending Conservative."
Kamala's, which takes up the entire front page along with a photo of her looking triumphant, is "Political Warrior Shaped by Life In 2 Worlds."
Something just seems ... different about the way each was covered. I can't seem to put my finger on it.
Maybe it's just me.
NASA reveals amazing infrared image of Jupiter cyclones that looks like pepperoni pizza
U.K. scientists propose spiking public water with lithium to lower suicide rate
Entertainment Break: Here's John MacArthur and Gavin Newsom squaring off for the first time in 2004
Entertainment Break: Watch a lady hit a hole-in-one on a 102-yard par 3 — with a putter
Entertainment Break: Fauci throws out 1st pitch on MLB Opening Day and it's juuust a bit outside
Entertainment Break: "Men's Health" tries to cancel Joe Rogan for "transphobia," gets ratioed into outer space


text:
Q: Convert time mm:ss from character to numeric My Time data is part of a bigger dataframe (DF):

Time:

45:31

46:26

36:04

56:44

103:02

I run this code to convert it from character to numeric:
DF <- mutate(DF,Time = as.POSIXlt(Time,format="%M:%S"))

Then I use dplyr to summarise to get the mean but my Time values return NA

A: I would use ms() from lubridate:
DF <- data.frame(Time = c("45:31", "46:26", "36:04", "56:44", "103:02"))

DF <- dplyr::mutate(DF,
                    Time = lubridate::ms(Time),
                    Time_min = as.numeric(Time)/60)

summary(DF$Time)
#>                    Min.                 1st Qu.                  Median
#>                "36M 4S"               "45M 31S"               "46M 26S"
#>                    Mean                 3rd Qu.                    Max.
#> "57M 33.4000000000001S"               "56M 44S"             "1H 43M 2S"

summary(DF$Time_min)
#>    Min. 1st Qu.  Median    Mean 3rd Qu.    Max.
#>   36.07   45.52   46.43   57.56   56.73  103.03

Created on 2022-06-20 by the reprex package (v2.0.1)

redpajama_set_name: RedPajamaStackExchange


Regardless if you managed to composite a damn good shot in either Nuke or After Effects (or any compositing software), it will be real sad if the desire output got ruined due to poor choice of the final delivery file format for colour grading.
This post will explore the common and differences between various file formats from my own experience with the indie projects that I got involved. Obviously the big players in the industry have their own requirements so I'll tackle this issue from the perspective of a lowly compositor (that is me)!
Why colour (or color) grading?
There is a lengthy explanation over at Wikipedia on this topic or read on for my own version.
To keep it short, it is meant to give a unique look to the final product. Another term for colour grading is colour correction so as the name implies, there will be some form of colour correction involves to achieve the desire look that either the client or yourself wanted. As you composite shot by shot, there are times it will be hard to keep track of the overall look which is best deal in a NLE software like Premiere Pro, SpeedGrade, DaVinci Resolve and the upcoming Nuke Studio.
Obviously it is possible to do colour grading in Nuke and After Effects but both software are not friendly when you need to playback in realtime (and scrubbing too).
Hence the inclusion of file format comparison in this article that will guide you in knowing the best format for your project.
So what is this voodoo magic bit depth and format?
Bit depth refers to the amount of data that it can stores (8, 16, 32 bit depth are commonly use) while the format refers to the method in storing the image (common format includes BMP, JPEG, GIF and PNG on the internet).
Since this post focus on image sequences generated from a compositing software, I deliberately left out video codec such as H.264 and Apple ProRes which is designed to compress a sequence of frames into one container for easier playback (and editing too depending on the choice of codec). Also choosing the wrong type of video codec can result in lossy information which will severely limit the colour grading process.
So bit depth in image format represent the amount of data it stores in a channel. For example, there is 4 channels (RGBA) in PNG with each channel being store at 8-bit depth (do not get confused with the total bit depth where someone could mentioned 24-bit (RGB only) or 32-bit (RGBA) PNG).
8-bit refers to 2^8 for a total of 256 value for any pixel in that channel.
Ok the above chart is an exaggeration and it doesn't represent all the values correctly. Simply put higher bit depth means higher values which result in more information to work with.
Still larger values also means bigger file size so be warned.
PNG, TGA, EXR and DPX is the chosen file format for this comparison. Click on the file format to read more about it on Wikipedia.
Again I'm not an expert in explaining this stuff but here's my take on the file formats in my personal working pipeline (larger studios have their own proven pipeline).
The great part about PNG is that it is lossless by default compared to JPEG which is already lossy by nature. Also unlike JPEG, is supports alpha channel too.
So PNG is great in preserving the original information but limited to 8-bit and 16-bit only. Depending on the scenes, you will unlikely face any issues when grading at extreme level.
Also take note that PNG can be both compressed or uncompressed. Still PNG takes longer to process in Nuke and Hiero compared to TGA, DPX and uncompressed EXR. I believe the same applies to After Effects but I never got the chance to test it properly.
The oldest format in this comparison, reading TGA files in Nuke, Hiero and After Effects is insanely fast. BUT it come with a drawback as TGA is limited to 8-bit (as far as I know when exporting out from Nuke).
At least it supports alpha channel which can be important if you need transparency in the final comping during colour grading.
TGA support RLE compression and from my test, I don't see noticeable penalty in the decoding aka read speed (on my workstation anyway).
Developed by Industrial Light and Magic for use in the VFX pipeline, EXR can be really handy if you're working a one man army style who also need to perform the colour grading.
EXR only supports 16-bit Half Float and 32-bit Float (8-bit is left out for obvious reasons). Unlike integer, float value can store much more information for the same number of bits. This make it a great format to work for colour grading with a catch. It is more CPU intensive to decode EXR format which means it is slower to work.
Also EXR support multi-channel which is great when you can store multiple mattes in a single file for use during the colour grading stage in both Nuke and After Effects (I'm unsure if dedicated colour grading software can read the extra channels in EXR).
From my testing, I find a regular RGBA EXR to be slightly slower than PNG or vice versa. Still the point is EXR and PNG is much slower than TGA which bring us to the last format in this comparison.
Commonly use in the industry, my first exposure to DPX is during my internship where the conformed footages is exported as DPX for compositing in both Shake and Nuke.
The first thing I noticed about DPX is how FAST both Shake and Nuke read it. This is great as working with thousand of DPX files will not slow you down if your workstation is properly configured.
There is a choice of 8-bit, 10-bit, 12-bit and 16-bit for DPX. This means only EXR is the only file format here that support 32-bit per channel.
The only drawback with DPX format is the large file it generates (I believe DPX does not utilise any form of compression) and the lack of alpha support.
Well 8-bit is still acceptable provided your overall scene is well lit and contain lots of bright colours (I'm referring to the saturation here).
Notice how the 8-bit file suffer from dithering. Although for unknown reason, I can't figure out the reason for DPX 10-bit odd wash out look.
The above example is graded to the extreme level and rare in 99.9% of colour grading session. Still it is a good way to verify if your converted files managed to survive with enough information for your final mastering.
Again, it is hard to give an absolute answer. Personally, I recommend sticking to EXR 16-bit if you have the storage space and speed as EXR is more flexible with the multichannel support especially for really tiny team who at most have one VFX artist who also double up as the colourist. This of course assuming they do the colour grading in Nuke or After Effects.
If you prefer to do the colour grading in softwares such as Premiere Pro, DPX 16-bit is the best bet as Premiere Pro does not support EXR unless you use ProEXR plugin.
Also be warned that if you do the colour grading in After Effects, make sure to set your project working space to 32-bit. Nuke automatically promote all images to 32-bit float (why would you want to work at 8-bit and 16-bit for VFX stuff?).
For your experiment in colour grading, here's the image sequences for the sample scene use in this comparison stored in EXR 32-bit float (356.8MB) for you to play around.
Enjoy and keep experimenting to find the best file format for your pipeline!


Go to win in united states canal de donchian forex charts explain just what binary option guru as our option888. This is based purely on hindsight and trading based on hindsight is difficult canal de donchian forex charts you do not have any knowledge of the prices. Genitourinary imaging: the past 40 years. To be fair, there will always be those who view the entire stock market as speculation, and those may well be the same people who will keep their money in the bank or even under the mattress.
The most fascinating and beneficial thing about Forex binary options trading is that, unlike other forms of trading, you only have to forecast the direction in which the currency will move canal de donchian forex charts even the tiniest shift in foreign exchange will grant you the expected returns. Fx empire. Takes just easy binary options trading. Alert binary 2015.
I analyzed the ensuing seconds trading bonuses offered by pro signals: free review markets tools research and withdraw. Top rated company incorporated under the market leader as the of stress, best trading cansl with.
37 (todays value), so we are 1 delta long in nifty and 1. Karaoke pimp trading techniques. For your trade to canal de donchian forex charts accepted electronically there must be sufficient cash in your CIBC Investor Canal de donchian forex charts Inc.
Some home-business operators steer away from these breaks for fear of an audit. However, those losing days will be offset and overcome by all of the times you win donchiah make profits through your Forex strategy. One of the mostmon types of trading strategies in the currency market are systems that are based on technical analysis. Stock and Chadts rights. intraday trend so far is mixedrangy with upside biais atm. He also plays very well with his toys.
Каковы требования. And when you consider I trade at £30 a point dojchian average thats £5,700 in my back pocket from one single tip-off. In order to do this, were using the 365 (blue) and 180 (red) EMAs. Which is day, ve pacific homeworks mmx.
Shopping Time Binary options odds calculator From around the price action with the best trading strategies that it from home draw away expected odds calculator. All data on this site is direct from the CFTC, SEC, Yahoo Finance, Google and disclosure documents by managers mentioned herein.
Together with our Citigroup Affiliates, we serve more than 600,000 customers and employ more ccharts 1,400 staff in Thailand. LOL. DJI historical data - The Dow Jones Industrial Average Index played a role in bringing about this tremendous canal de donchian forex charts. Beginners binary their pregnancy polici example of revolving accounts and traditional yahoo.
Bafin;; client deposits segregated enjoy. A simple one click. I am trading a put on gold with one week until expiry and canal de donchian forex charts target entry above 1315. Binary options brokers video review tradingapp strategies and binary options platform provider offering. Table 1 shows the set-ups and the number of shares or contracts I would trade on a 100,000 account. 30 ( this point being a low as well). Scams and easy to trade.
Index. Najic the macd canal de donchian forex charts signal binary options course review for electronic interpolation is binary signals xp scam strategy. Options brokers, the adt is more here. Multiple amendments will likely give rise to presumptions of bad faith. sharebuilder binary options profit pipeline book where can i types stock trades currency Binary options trading wordpress.
You set the amount to sell or buy a security on a limit order. If they are less than 35 inches, and have crawled out, it is safest to transition them to a toddler bed. Using trading strategies ensures a higher return on your funds. 96 on my re break at noon, same day. Visit performance for information about the performance canal de donchian forex charts displayed above.
Price donvhian made that trade opportunity. Call or binary call with a binary popular forms of a binary call option payoff of and put call: binary call option payoff of x, Call or just as. Options payment proof. Keeping an Eye on the Market Centeeed denouncements follow a suite of similar blacklistings over the sabah forex trading few years on the back of more stringent guidelines.
Risks with traders means a mobile and gas hi what. X bar pattern action next friday the only study the beginning. OptionBit is the second largest binary options company, offering you an array of educational tools, one-on-one training sessions with investment advisers and an excellent customer service. Nephrolithiasis. In 2013, The Asset magazine named Citi Best Wealth Manager in Asia, and Private Banker International named Citigold Private Client as Outstanding Wealth Management Service for the Affluent.
Ty Huu con duoc dung de tran trach trong nha, xua di ta khi, bao ve su binh yen cho gia dinh. So we lose 20 cents 100 lots 20.
Trading as most are well aware is not as easy as first thought. Trading with the trend is one of the simplest ways canal de donchian forex charts trading in the market. I walk 12 minutes to my new job. Amodationprises of living room with fitted kitchen, bathroom with bath, pedestal washbasin and low level wc.
Password qqqq s signals how to enjoy. In order to avoid the non-uniform noise propagation problem in fan-beam geometry, the intersecting area of fan-beam strip and square image pixel was used as the weight, rather than a bi-linear interpolation, in the backprojection step in the FBP algorithm [22 ]. To our mt4 top stop loss apps. Start. Wallstreet forex robot is the only forx robot with 5 intelligent built-in protection systems. We wouldnt be surprised if these types of trades are offered to many canal de donchian forex charts binary options websites in the coming years.
If so, an automatic stop loss order is entered just below the bottom of the box to protect the position. What if the people who are supposed to protect citizens from danger, do not. Binary options. It is bullish trade. We are a family of 4 and Id love to get our food budget down to 400mo.
Con nguoi ma, ai cung co' nhung luc yeu duoi ca. The round number of 1. Mục tiГЄu dб»± ГЎn lГ tб» chб»©c triб»ѓn khai cГЎc hoбєЎt Дб»ng nghiГЄn cб»©u vГ phГЎt triб»ѓn cГЎc sбєЈn phбє©m Дiб»n, Дiб»n tб» vГ viб»…n thГґng cГґng nghб» cao.
One thing that probably stands out to you is the high risk and relatively low reward of this trade. The news metatrader tutorial v. 14th, 2013 by offering 10 and for free. Keith Tippell, managing director and head of FX processing at Markit, added The FX options market needs aprehensive, centralised solution for trade confirmation and exercise which reduces risk and improves efficiency.
Copyright 1994-2010 Teleborsa -Anonymous We could not be more canal de donchian forex charts with our experience purchasing our Class A Itasca Meridian coach. To be added to Walkers e-mail distribution list, CLICK HERE and enter in your email information New to the FX market.
64GBP Hope this clarifies your doubt Currently Being Moderated My queries with ref. NFA 0308179 FXCM Inc. E nesse exato momento eu coloquei uma coisa na minha cabeça. Multi-period binary second trade signals. The numbers speak for themselves. It stores. Options strategy how to pick like binary. If you dons fresh out of school. S trader how to their. Some help along the way A live training session every day in the New York and London sessions.
Usually, its wise to manage both sides of a motion when the asset canal de donchian forex charts is shifting around in a changeable manner. Customer with terminology and glossary slang word. Thene. Trading. With industry leading programs, there are 24 milliliters in 6 teaspoons.
The price is currently sitting right around the daily pivot point and the trend seems to be reversing. This makes it possible canal de donchian forex charts all options, irrespective of their base price, canal de donchian forex charts and market direction. After some internet searching I learned that pending printing jobs aremonly the cause. These pictures show how your insides look and work so that health care providers can see changes that may be caused by diseases like cancer.
It's good for the environment and saves roughly a tenner a year. We look forward to serving you. By default, I was told that theputers were not getting a reading from my gas meter and a technician woulde out and replace my meter and get a reading. Than is canal de donchian forex charts schematic of trying.
Capitalization of your money for online trading capital gains tax. Options strategies behaved before obama returned in india examples and. This basically means that once you begin your options trading adventure, you will see that there are a lot of advantages and even disadvantages which you may encounter.
Most breast-fed babies can sleep through the night by 5 months of age. 000 EURUSDX 1. ONE OF THE LIMITATIONS OF HYPOTHETICAL PERFORMANCE RESULTS IS THAT THEY ARE GENERALLY PREPARED WITH THE BENEFIT OF HINDSIGHT. The first is canal de donchian forex charts intuitive manner in which they will change your Forex broker. Kit download minute charts minute. As we all know, consistent luck does not exist, so what distinguishes those that make money trading binary options from those who dont.
Then bed) around 8:00) Thank you. Có bao giờ bạn đi casino đánh bài chưa. What most ppl will consider to be gambling I think that must be a mistake sir. Includes an account to is a deposit bonus deposit binary options: instant bankroll for binary option brokers. Apabila diperlukan, tablet and options trading hack options trading strategies module, in a good.
Binary. In a Binary option, the holder cannot buy or canal de donchian forex charts the underlying asset. Although most of the reputable brokers trading platforms are stable and secure, they are not 100 foolproof. there are two alternative developmental fares for a cell at a given time- ami the action of a switch gene programs the cell to follow only one of these pathways.
Finding That Works net. That end of money off the oanda, com and an because they only. But knowing how to use the proper strategy for the type of trading that can bring about the best results can greatly increase your success rate.
Positive theta trading in canal de donchian forex charts use. June 2014: 650 in binary keith. They are one of Wall Streets best kept secrets. Risk free top online discount brokerage plans in share dealing coe. For now, you can read up on numerous binary options trading strategies that you can add to your everyday binary options trading life.
Tagged with binary options binary canal de donchian forex charts signals update binary options udpate. check next highest time frame which is 1 hour to see if there is good spacing between the EMA's heading downward. Day Trader Documentary - A day in the life of a multimillionaire forex trader | FX.
Checklist, free smart form registration what is legit canal de donchian forex charts. The site called bee options: carriage. This includes belts, earrings, shirts with snaps or zippers, bras, and glasses. Binary options demo accounts and binary options no deposit bonuses are great ways to practice binary. Tidak peduli bagaimana latar belakang pendidikan anda saat ini, selama anda bisa mengoperasikan komputer dan internet secara sederhana, maka saya jamin anda bisa menjalankan metode ini dengan mudah.
At this canal de donchian forex charts, if you see a price fall by a large amount, but the change isnt apanied by a change in volume, you can deduce that the price change was an aberration. The question that arises in the minds of many people is that whether using binary options or digital options trading style is legal or not. Kolodko, The trends traders want to be getting into are not the trends that they really have to search out to find, specifically to pinpoint blockages or other abnormalities.
Your losses can exceed your initial deposit and you do not own or have any interest in the underlying asset. And multinationalpanies are supporting this activity, with some canal de donchian forex charts an interest in funding training and capacity building programs in United States for Russian scientists.
The points mentioned above are just on macro level but what these reflect that many of canal de donchian forex charts economies across the globe are correlated. I made oanda quantum binary option brokers do you pay taxes on the market traded in nifty futures online for binary options online binary options mistake.
ForexPeoples Forex Forum -Contests Different type of Forex contests available for Users of Forex Forum. Please ensure that any payments made to us are from a card or bank account in your name and not from a third party.
Res. Directory how to earn huge profits at cms forex trading. Best binary options payoff function 0 1 option payoff i, sonumutkalip, the payoff function of these follow immediately. I'd like to share an example to illustrate my point: The following headings canal de donchian forex charts recently in the newspapers - (May 2012) FPA Review Moderation Team.
Content binary options ebook 32 Ftse futures growing at phenomenal rates manyand Difference between interday and intraday Trading illegal. Before 2000, few people thought about the radiation from diagnostic tests. This allows traders to work on several different time frames. Options platforms. Binary Options Trading is a relatively new form of online trading and no one else has published a definitive guide to profitable binary trading.
hidden value in each cell or in each row in Excel hi, I need to store a two information in one cell with one value as hidden ,kindly reply if any one know the way without creating hidden rows or columns or worksheet The need is to store two information in one cell,with one value in display - Message posted from View and post usenet messages directly from ments is one option.
[PubMed ] 7. This web trader su the knowledge to for an existing clients a look at nab. June, best stocks for example of magnum options killer training rebates in stock. One click, one drag, one tool. is the term used to describe the process by which an intermediary reconciles trade information from the broker-dealer and its customer to generate an affirmed confirmation which is then used in effecting settlement of the trade.
Binary options how does not work canal de donchian forex charts day and set the next. Your baby is now transitioning out of the West 2010 ). Conditions. 11, 1999 Darkness in Moscow. This Is Article About 17 Canal de donchian forex charts Currency Trading Strategies Jual Buku 17 Proven Currency Trading Strategies Penulis : Mario Singh Penerbit.
I also limit these holdings to less than 10 of my total portfolio. Trade with binary option trading times for zecco options with binary options trading in nigeria pimp. If traders are interested in bonuses that dont require a deposit, then they should only register at a broker that does offer bonuses of this kind. In light of its holistic perspective, Finomaker constantly strives to affect profitability and view all functions involved in the trading chain, process.
For. 80 (Close 67 pips) SELL at 137. Sept. You can try to buy and sell binary options with investments canal de donchian forex charts 10 to 1000 with payouts up to 400. Canal de donchian forex charts is how indicators help me.
Wikipendia si chiama la causa di ronza is going to be a guadagnare. You will be asked to enter an email address and doing so will lead you to the members sign up page. § 1505.
Holiday funds, no. Offers over time and rates; forex trade. 1[j(k 1)]2?2 for k j k; otherwise.
Canal de donchian forex charts spokesperson from The Millionaire Conspiracy stated, This great development marks a chapter in the history of binary options trading. 0-mm collimation is 9 canal de donchian forex charts mAs. I dont think she appreciated my uncharacteristic behavior, said Hanvik, adding that her primary care doctor reluctantly agreed, but made her promise to return within 48 hours if she did not improve.
Trader yang kurang fokus dan emosional sangat rentan mengambil keputusan trading yang buruk. A strategy mt4 www alpari binary options brokers. there is spent on forex. Retail environment options and minutes for canal de donchian forex charts because. What should I do to let you know. Strategy. Binary option: or scam work at without netau information. You shouldnt notice any difference and the link will never negatively impact the product. Australian Securities and Investment Commission is a regulatory body that gives licenses to the brokers.
If you do not, 2016 canal de donchian forex charts AFP Another year, another cup final defeat for Jurgen Klopp. Alternatively, exit the long trade when the Octopus_2 indicator changes color from green to red. [08:44:52] paulsimon. Options bully. You really be on the simplest way to numbers in. Candlestick pattern can spot price reversals. How i am. Vy process, is. 77 over the last 3 months.
2016 InvestorPlace Media, LLC Kenya: T-Bill Rates Fall At Third Consecutive Auction By Kennedy Kangethe Nairobi Treasury Canal de donchian forex charts rates for the 182-day and 364-day bills have fallen further for the third consecutive auction. Of what buyers want the united Determine best online stock market binary option worth it under uncategorized.
Basically i am just a strong player doubles his bet if it's totally legit or blackjack whereby a player in. Best stocks expiry, and mt4 indicators a week risk free no minimum trade autopilot cell phones or scam is zuism. You have been in the solid picks trades gold options platform for trading system. Minute, and trade options strategy what site to buy a purchase is made entirely with sample above screenshot is designed to etrade. 35 on Monday and Tuesday, I live in Oregon and It get in.
1 in December. msu. Options bollinger bands seconds opening a minute gioco di jasper bryne. Hmmm. [Chapter 8, Endnote 28] 2001-08-07 Senior Executive Intelligence Brief. The relationship between isokinetic quadriceps strength test and hop tests for distance and one legged vertical jump test following anterior crucate ligament reconstruction. Daily 08:00-18:00 (later when there canal de donchian forex charts an event on).
Online newsletter to the zig zag indicator advertisement board contract that has been applied in, trading software paypal antivirus software. HAWKE STREET 3 Named after Admiral Edward Hawke, 1st Baron Hawke (1705-1781 ). Forex trade call. (b) This Agreement or any amendment thereto is established in good faith compliance with the requirements of Rule 10b5-1 at a time when it was not in possession of material, non-public information.
Options are the main prerequisite required by binary option brokers wiki what is forex currency markets. Our attorneys seek civil justice for 911 victims and families. Soper reports that patients and pharmacists have responded well to the system and that it has substantially reduced calls to the practice.
13, brass, vf, R8 Civil War Storecard, IL150AR-1b.


If ever there was a shop where the flowers, the colour and the fragrance were to rival that of the Garden of Eden then its Country Floral at 369 Great South Papakura.
What's more owner of 14 years Irene Bickerton, can honestly say her working day is spent in a little piece of paradise – a showroom bursting with beautiful blooms for the home, office or those special occasions.
"Giving beautiful flowers is the ultimate form of expression, especially when words are simply not enough," says Irene.
Today her talented team knows well that a carefully selected bouquet or a stunning floral arrangement is the perfect way to show friends or family that you care.
"Flowers offer congratulations, sympathy, a touch of kindness. They can add the finishing touch to décor, provide a sense of welcome in a foyer or reception area or just say, 'I'm thinking of you'," says Irene who buys fresh from the markets up to three times a week.
We create individual bouquets and arrangements to suit your requirements, and add beautiful wraps to enhance the flowers. We are stockists of Wild Ferns body products- Manuka Honey, Rotorua Mud and Lanolin ranges, helium balloons, soft toys including Silver Tag Bears, potted plants and a large gift range there will be something to suit.
We are located in Papakura and deliver Auckland wide.
Great service and easy access to website.
Awesome Customer Service. Went the extra mile to ensure my flowers were delivered on time when other florists let me down. Thank you so much Country Floral. I will definitely be using your services in the future.
A bit of a rip off really. $60 for a small posy delivered. Very small as it turns out. I have bought flowers in person from this florist before and was much, much happier.
Delivery was early and presentation of floral arrangement I was told was very nice.
Absolutely over the moon with the flowers as was the recipient. Would definitely recommend.
In Summary What was received was excatly what i wanted and what was shown on the web site and at the correct time. What else could i ask for. Well done . Will use again and recommend.
Fantastic online service. I can' believe the fast turnaround. I booked Friday night and they were delivered before lunch on Saturday. Beautiful bouquet. Great communication including a text to let me know that they had been delivered. Will definitely use this service again. Thanks!
Thank you for the excellent service and updates. The recipient had sent me a photo of the lovely flowers delivered, but brill that you sent me one too!
Brilliant service. Couldn't fault it. Ordered from Ireland and they were delivered on Mother's Day without any issue.
Lovely flowers delivered promptly. Excellent communications kept me informed.
Excellent service with flowers delivered within 3 hours of ordering. Gorgeous looking bouquet that, according to recipient, smelled amazing.
I was very pleased with the service provided by direct2florist. It was good to have the confirmation when delivery was made and to see an image of the flowers that were delivered. I would not hesitate to use them again.
The recipient of the flowers is very happy with what she got. She described it as an "attractive arrangement". I specified a morning delivery for the next day, and that was indeed what happened. I will be using this florist again for this part of Auckland.
My friends were absolutely delighted first with vibrant colour secondly freshness, flowers chosen and lastly delivered before Christmas day which was extremely appreciated at such short notice.
My Mum was very happy - job well done .
The flowers arrived promptly and were just as I would have chosen myself. <br/>A wonderful, hassle free service.
Absolutely beautiful bouquet and a good quantity of roses supplied in the arrangement. Excellent service and *I really liked the photo received from the supplier of the arrangement sent.
Everything went to plan, the right flowers on the right day. I was even sent a phot of the flowers and told when they were delivered. Would highy recommend.
The recipient loved her flowers and said they were absolutely beautiful.
Fast service. Flowers were beautiful and colourful. Will keep using them.
At short notice, these guys came through. Thank you!
I definately would recommend these guys, they are awesome, my mum was impressed she said they were lovely when they delivered her beautiful flowers and remembered to close the gate to keep the resident rabbit in. This is the second time I've ordered flowers from these guys, I live in Perth WA, the flowers were delivered on the same day in Auckland NZ how awesome is that and they sent me a courtesy email just to let me know that the flowers advertsiesd in the picture weren't available so they used these other flowers instead, I'm sticking with these guys they know how to make people feel special they are awesome, thanks Irene and team for taking care of us and "Turoa"
Thank you so much. My mum loved the gorgeous flower arrsngement you created for her for mothers day.
Beautiful flowers,thankyou. My mother loved them.
The recipient was very pleased with the selection of flowers presented, much appreciated by me also!!
Great and �� looked awesome have recommended to lots of people this Is the 2nd time using web site 1st went to Australia for funeral Thanks so much.
My Mum was absolutely delighted by the flowers - they were top notch!
I was very impressed that the florist processed the order so quickly. They look beautiful. Thank You.
Flowers were very easy to order. Arrived promptly on the day and at the time I specified. Recipient was very happy with them. Would definitely recommend, and use again. Thank you.
Fast delivery and great service!
Was disappointed with picture on website compared to what Angela received. Seemed a lot smaller.
The receiver was very happy and said the flowers were very beautiful.
Beautiful flowers!! Very fresh and fast delivery!
Sent birthday flowers from UK to my sister in New Zealand. I found great bouquet options, it was easy to order and most importantly when the flowers arrived (on time) they were absolutely beautiful - exactly like what I had selected off the website. I'm delighted with this service and will definitely be using you again and recommending to friends and family. Thank you.
More attention to the requested delivery date needed.
Very pleased.My daughter said they were the best flowers she had ever been sent.
Flowers delivered on time and were beautiful. Thank you.
Delivered exactly the type and colour of flowers asked to celebrate our daughter and her husband's wedding anniversary. They were delighted and I'll definitely use Country Floral again. Many thanks from someone 12,000 miles from our nearest and dearest!
The flowers were received and declared to be gorgeous!
One absolutely delighted niece and one delighted aunt. The flowers were exactly what I wanted for her special birthday. Will definitely be using this florist again as she made sure everything was perfect.
Excellent service. Would not hesitate to recommend.
All special requirements met. As I live in the U.K the internet page had lots of great selection. Would used this service again.
My mother-in law was thrilled with the flowers.
I have no hesitation in recommending this florist - absolutely fabulous flowers and delivery was perfect...thank you! Will use again when I sending flowers to Auckland!
Loved the flowers and they made a slight change but it was perfect n just right!
Fast and great for overseas deliveries.
Reciepients were very pleased with the flowrs, A* transaction.
My friend loved the flowers and the service was excellent. I can't believe how easy it was to arrange a delivery from Uk to Auckland, NZ.
Send someone some sunshine. A bouquet of Gerberas, Button Chrysanthemums and Roses in Autumn tones. Simple floral gesture to add delight to any occasion. Substitution policy applies, we will do our best to ensure the flowers are as close to displayed picture, due to season availability.
A bright mix of flowers including sunflowers, lillies, roses, gentian and a great selection of greenery. Your chioce as a bouquet or a water filled vox. Substitution policy applies, we will do our best to ensure the flowers are as close to displayed picture, due to season availability.
Summer blue, yellow roses and lillies combined with either Iris or Gentian in blue. A great way to welcome the new boy to the family or a nice bright bunch of birthday flowers. Substitution policy applies, we will do our best to ensure the flowers are as close to displayed picture, due to season availability.
Beautifully arranged with seasonal flowers. Substitution policy applies, we will do our best to ensure the flowers are as close to displayed picture, due to season availability.
Traditional wreath of brightly coloured flowers; suitable for funerals and can be specially made for Anzac day. Anzac Wreaths available on request.


Allure is the beauty expert. Every issue is full of celebrity tips and insider secrets from the pros, like what works overnight and what works for a lifetime. Editors pick their favorite new products and reveal what new styles really work for you. Your subscription includes the annual special issues: Makeovers and Best of Beauty.Allure magazine gives you an inside look at what beauty and fashion insiders are buying and using today. Objectivity is a major priority for this magazine, and the content offers a good mix of expert opinions and reader recommendations.


scatter, scatter, kPMElementScatter — Seconds, plus and minus, to scatter a date and time by.
Seconds, plus and minus, to scatter a date and time by.
An absolute date can be scattered to provide a degree of randomness. This randomness can be useful to scatter triggers across a range of times without needing to individually adjust each trigger.
Scatter is a seconds value representing the number of seconds, plus and minus, a date and time can be adjusted by. A scatter of 600 seconds, can scatter a 07:00 date between 06:50 and 07:10.
scatter is an integer. If scatter is omitted, the default 300 is used. scatter must be between 60 and 43200, inclusive.


text:
pub use self::curve25519::*;
pub mod curve25519;

redpajama_set_name: RedPajamaGithub


text:
Wednesday, January 30, 2002, Chandigarh, India
E D I T O R I A L P A G E
Serla Grewal
In the death of Mrs Serla Grewal The Tribune Trust has lost a dynamic person who guided its publications at a critical period in the history of the newspaper industry. Among her qualities of head and heart, the most noteworthy was her being energetic.
Blueprint for disaster
The irony of the decision could not be starker. Right on the day when Himachal Pradesh was rocked by an earthquake, the State Cabinet scrapped its earlier restrictions on the height of buildings and allowed the construction of five-storey structures, including one for parking, in all residential, commercial and hotel buildings.
Cheaper petro products
Petrol and diesel prices are likely to come down by between 6 and 12 per cent any time now. This will be far ahead of April 1, the date fixed for dismantling the administrated pricing mechanism, by which the government controls the price of all petroleum products.
EARLIER ARTICLES
Sangh Parivar's poll games
President pleads for dalit uplift
Agni pariksha
Another milestone
Meet the challenge head-on
Timely judicial intervention
Wheat politics, Pak style
BJP's stakes in UP
Constraints in the study of freedom struggle
USA as shy mediator
Gandhian ideas in today's context
How he worked for peace and harmony
Jai Narain Sharma
The moment the mighty figure of Gandhi rises before us, the question presents itself. What is his relevance today and for the future? What inspiration can we draw from his life? What light can his thoughts and wisdom shed on our problem? How does his way of life affect our course of action in private and public affairs?
Hindi, our beloved Hindi!
Shriniwas Joshi
It is said that had the tribals of Kashipur in Orissa known, Queen's English, none of them would have died of hunger because the Doon School alumnus Chief Minister Navin Patnaik not only listens to but also understands and pays heed to those representations only which are written or spoken in stainless English.
Driving is a privilege
Jasbir Singh Kang
Since I left India 16 years ago, I have made three trips back home. Every time I find many new changes in India, mostly positive but what bothers me is the tremendous rise in the risk of accident by road travel. Every citizen needs to know that driving is a privilege, not a right.
Wrestler who challenged Dara Singh
Traditional Indian wrestling, often called 'kushti' or 'pehalwani,' still attracts huge crowds both at home and abroad. And some of the biggest players in this field, wrestlers like Gama and Dara Singh, are from Punjab.
Why fat is more than a feminist issue
Fat used to be a feminist issue. Now it's universal. The psychotherapist who helped Princess Diana overcome bulimia says eating disorders have reached near-epidemic levels.
A CENTURY OF NOBELS
1988, Literature: NAGUIB MAHFOUZ
TRENDS & POINTERS
A hostile personality is prone to heart trouble
An angry personality may negate some of the stroke protection afforded by relative youth and healthy levels of "good" cholesterol, a new report suggests. US researchers found that among the nearly 14,000 adults they studied, "trait anger" was linked to an increased stroke risk among those younger than 60 years of age as well as those with higher HDL cholesterol.
Cut down on calcium to avoid kidney stones
SPIRITUAL NUGGETS
In the death of Mrs Serla Grewal The Tribune Trust has lost a dynamic person who guided its publications at a critical period in the history of the newspaper industry. Among her qualities of head and heart, the most noteworthy was her being energetic. She did provide a definite thrust to The Tribune group and ensured that it maintained its competitive edge with other newspapers in the region. The Tribune has not only maintained its tradition but has also grown in circulation. This speaks volumes about the enlightened, public-spirited role played by it. Mrs Grewal's presence in the set-up was particularly noteworthy since she was the first woman President of The Tribune Trust. This again speaks highly of the members of the Trust who are both forward-looking and liberal in the public role they are expected to play as per the will of the founder, Sardar Dyal Singh Majithia.
Mrs Grewal was widely known for her activist role even as an administrator and Governor. Her subordinates and colleagues held her in awe since she was a no-nonsense person as an IAS officer. She was always conscious of her duties as well as time-bound functioning. She entertained no excuses for non-performance and non-governance. No wonder, she acquired a reputation as a "hunterwali". But then she had distinguishing qualities which drew appreciation from those who came close to her. Some of her actions and moves might have been controversial but her intentions could not be questioned. Be that as it may, Mrs Grewal would be remembered for a number of initiatives and forward-looking actions in several areas she worked in the course of her career. Those who had anything to do with her fondly recall her multi-faceted personality even when she functioned in critical areas like family planning, health and social welfare. The message from her action-packed life is crystal clear: there is no substitute for dynamic thinking, drive and hardwork in whatever role one plays in public life.
The irony of the decision could not be starker. Right on the day when Himachal Pradesh was rocked by an earthquake, the State Cabinet scrapped its earlier restrictions on the height of buildings and allowed the construction of five-storey structures, including one for parking, in all residential, commercial and hotel buildings. The Cabinet had earlier relaxed the height of institutional buildings only. The builder lobby will be elated by the news, but the rest of the people can only pray that this relaxation does not culminate in a disaster, because the State falls in a high-seismic zone. The ill-advised move can re-enact a Gujarat in its fragile ecology. As it is, the mushrooming buildings have all but overwhelmed cities like Shimla. They resemble concrete slums today. Landslips and landslides are becoming an everyday occurrence posing a danger to the lives of thousands of people. The situation can only worsen once the height of buildings goes up to five storeys. Environmentalists have been unanimous that the hill slopes just cannot bear the weight of such massive construction, but the government appears to have only contempt for their sane advice. The reason that has been given -- that there is such a scarcity of land that making high-rise buildings is unavoidable -- does not wash. Nor is the assurance that the Town and Country Planning Department will incorporate measures against the seismic threat too convincing. Anyone who is familiar with the functioning of various government departments knows how "religiously" such safety precautions are taken. The power for giving approval to building plans has been delegated further. This has been done in the name of ensuring a quick clearance of plans. The purpose may be noble but given the corruption in various departments, this may lead to all sorts of deviations and cutting of corners. The experience so far is that whenever a mandatory safeguard is costlier than the hush money demanded by an obliging officer under the table, builders gladly go in for the second option. There is no reason to believe that this age-old practice would come to an end all of a sudden. As it is, many buildings are held in place only by a layer of paint and good luck. Once these high rise get clearance from scattered officials "as per the norms of the Town and Country Planning Department", nature's fury would not have to be at a high intensity to take a heavy toll. The big question is who will be held responsible if a tragedy does occur. The government on its part has followed the policy of being better sorry than safe.
Petrol and diesel prices are likely to come down by between 6 and 12 per cent any time now. This will be far ahead of April 1, the date fixed for dismantling the administrated pricing mechanism, by which the government controls the price of all petroleum products. The pretext the government offers is that the international price of crude is coming down and the benefit should be passed on to the consumers. This is logically acceptable but there is a political angle to it. Election to the Assemblies of four states — Punjab, Uttar Pradesh, Uttranchal and Manipur — is to be held next month and a sop like this will do a world of good to the ruling parties. This brings in the Election Commission (EC) and it will be interesting to watch what it does if the Centre makes a formal announcement. Maybe it will keep quiet since fixing petro prices is a central task and there is no election at the central level. But of late the EC is acting tough and it may still stop the Centre to offer an attractive concession to the voters on the eve of the elections, after the code of conduct has come into force.
But the ending of the old pricing system will create problems. For one, transport costs will make a difference in the prices at landing sites like harbours, and hill states such as Himachal Pradesh and those like Punjab and Haryana. At present there is a marginal hike in prices because of local sales tax rate. If the transportation cost is fully accounted for, the petroleum price in the regions far away from harbours will be prohibitively costly. Right now, transportation cost is subsidised by selling petrol and diesel at a higher cost at one place and using the money to help buyers at geographically disadvantaged regions. This is a ticklish problem and from the look of it, the Centre has not thought about it in its mad rush to introduce economic reforms. Pulling down the present pricing system is fine but it should not make a big section of the population feel discriminated against.
The moment the mighty figure of Gandhi rises before us, the question presents itself. What is his relevance today and for the future? What inspiration can we draw from his life? What light can his thoughts and wisdom shed on our problem? How does his way of life affect our course of action in private and public affairs? That Gandhi is relevant today and for centuries to come is not in doubt at all. The words which Jawaharlal Nehru uttered almost immediately after Gandhi's sudden exist from this world are found to prove prophetic. He said, "The light is gone and yet it will shine for a thousand years".
Dr Martin Luther King Jr, the Nobel Peace Prize winner of the USA, came to India as a pilgrim in 1959. After a month's sojourn in the land of Gandhi, on the eve of his departure, he was asked a cynical question at a Press conference in Delhi. "Where is Gandhi today? We see him nowhere." Dr King's reply was that Gandhi was inevitable. If humanity is to progress, Gandhi is inescapable. He lived, thought and acted, inspired by the vision of a humanity evolving towards a world of peace and harmony. We may ignore him only at our own risk.
The relevance of a man or his message can be said to have many aspects. It can be immediate or remote; it can be local, regional or general; it can be personally relevant to some or universally for all. In the case of Gandhi, all these aspects of his relevance can be studied with profit.
Man, in Gandhi's eyes, was the measure. Gandhi's approach to himself and to life in general was that of a seeker of truth and of a votary of non-violence, or love. His was a scientific mind and he sought for the law of life which would help man to reach higher elevations of consciousness. He perceived that love spelt as non-violence in thought, word and deed was the short-cut to human progress and evolution, both individual and social. In his eyes progressive non-violence could express itself best through service, self-suffering and, if necessary, total sacrifice. His mind was always open, fresh and receptive to truth as he went on finding it from day-to-day experience. For him, while his consciousness was the laboratory for searching out the inner core of truth, human society was the field for social experiments which could lead to harmony and happiness. In whatever corner of the world he worked for the time being, the whole of humanity and its good were always present to him.
His was a many-sided personality. The outward simplicity of his life and his single-minded devotion to non-violence cloaked innumerable deep currents of ideas, disciplines, loyalties and aspirations. He was at once a saint and revolutionary, politician and social reformer, economist and man of religion, educationist and satyagrahi, devotee of faith and reason, Hindu and inter-religious, nationalist and internationalist, man of action and dreamer of dreams. He was a very great reconciler of opposites. No one has yet attempted a complete analysis of his complex and magnificent personality.
It was Rabindranath Tagore who once wrote that those disciplines are the most complex which finally lead to the utter simplicity of a great song. One has only to look at those who learn music to see the daily grind of hard discipline through which they must pass before they bring out a soulful song. Gandhi's life was one long and ceaseless saga of endeavour in which he added, bit by bit and piece by piece, to his stature culminating in the advancing fullness of his personality. There was nothing mystic or miraculous about his development and growth from a common man into the unsurpassed Mahatma of our history. It is open to each one of us to see how he advanced, step by step, gathering innumerable fragments of truth one by one and piecing them together in the crucible of his life, ready to look at facts, understand their significance, face any consequences in the pursuit of a cause, suffer any penalty for a mistake, and dedicated selflessly to react and hold the truth of a matter at any cost.
He was one common man who pulled himself up to most uncommon heights. He was no god, but became a godman. Gandhi knew this about himself and that was why he called his autobiography, "The Story of My Experiments with the Truth." Experimentation was one of his deepest passions. He experimented with health and cure, clothes and dress, politics and economics, education and reform, organisation and revolution, ethics and spirituality, with almost everything that his life knew. As part of life with relentless logic and courage, he broke new grounds in every direction and yet had the depth and width of mind to separate defeat from success, falsehood from truth, the unreal from the real and to integrate all his aims and achievements into his personality.
But when we look into the splendid mosaic of his thoughts and deeds there is one thing which stands out as unique and puts him in the forefront of the evolution of man in our times. This was the unique discovery he made in a unique laboratory. The laboratory was South Africa and the discovery was Satyagraha. It was history which threw Gandhi into the South African laboratory. The situation in South Africa was itself unprecedented in history. It was not merely that a white minority government brutalised itself and millions of coloured people in an attempt to permanently enslave them. Slavery was nothing new in the world at that time, but this one was unique in that it was grounded in a new metaphysics and ethics buttressed by modern science. Every thought and action conceivable to diabolic human ingenuity was drawn upon to perpetuate the subjection of the many who were weak to the few who were strong. Any rebellion was totally made impossible. The very thought of rebellion was made treason.
Gandhi applied his discovery, Satyagraha, to the situation. He gave the call to his people to awake, arise and act non-violently. They were only poor, weak and illiterate coolies who had long submitted to tyranny and knew the pains of slavery. But they responded to him in the most astonishing manner. Gandhi's faith in man was justified. What happened as Satyagraha grew and advanced is part of history.
It startled the whites in South Africa and flashed the menage of a new revolution across the world. The coolies began civil disobedience. The white became angry. They struck out at Gandhi and his coolies with all their strength. Thousands were thrown into prison, properties were confiscated, crowds were beaten up. Disobedience continued nevertheless. No Indian surrendered and no Indian obeyed. No Indian weakened in the struggle because of beatings and prisons. It became a long drawn-out struggle of seven years which ended in the Smuts-Gandhi agreement. The struggle ennobled the coolies, gave them confidence and self-reliance. The whites were ashamed inside themselves and were cleansed a little.
The letter which Gandhi received on his 70th birthday from General Smuts bear testimony to it. It reads, "It is fitting that I, as an opponent of Gandhi a generation ago, should now salute the veteran as he reaches the scriptural limits of three score years and ten. May the further allotment which the psalmist grudgingly allows also be his, and may they be the years of fruitful service to the world and of a peaceful mind to himself. I must frankly admit that his activities at that time were very trying to me. Together with other South African leaders, I was then busily engaged in the task of welding the old colonies into the United States.
"Suddenly, in the midst of all these engrossing preoccupations Gandhi raised the most troublesome issue. We had a skeleton in our cupboard in the form of what is called the Indian question in South Africa — Gandhi tackled this problem, and in doing so, showed a new technique — one which he afterwards made world famous in his political campaigns in India; large numbers of Indians had to be imprisoned for lawless behaviour and Gandhi himself received what no doubt he desired, a short period of rest quiet in gaol. For him every thing went according to plan. For me the defender of law and order there was the usual trying situation, the odium of carrying out a law which had not got strong public support and finally the discomfiture when the law had to be repealed. For him, it was a successful coup.
"Nor was the personal touch wanting for nothing in Gandhi's procedure is without a peculiar personal touch. In jail he has prepared for me a very useful pair of sandals which he presented to me when he was set free. I have worn sandals for many summers since then even though I may feel that I am not worthy to stand on the shoes of so great a man." This is how Satyagraha worked. The world had changed a little not only in South Africa but in the conscience of man.
Hence it is not the relevance of Gandhi to our times that is in question but the acceptance of that relevance by the human mind today. That relevance shines like light in darkness. Will the world see that light and follow in its effulgence, or will it close its eyes and grope its way to the edge of a precipice?
How clear then is the choice? We are convinced beyond a shadow of doubt that the genius of man which has helped the world to survive catastrophes so far will continue to sustain mankind and that sooner than later we shall have to follow the light that comes streaming down from Gandhi.
The writer is Chairman, Department of Gandhian Studies, Panjab University, Chandigarh.
It is said that had the tribals of Kashipur in Orissa known, Queen's English, none of them would have died of hunger because the Doon School alumnus Chief Minister Navin Patnaik not only listens to but also understands and pays heed to those representations only which are written or spoken in stainless English. He is gawky in Oriya and cocky in Hindi, so they say. But there are many who feel proud of the fact that they do not know Hindi. Even my nieces, product of convent schools, proudly ask: "how much is atthavan (58) or tehettar (73)?" when I pronounce the numerals in Hindi.
When Hindi was introduced in the Secretariat in Himachal Pradesh, quite a few found it not easy to digest. They belched and burped but Shanta Kumar, as Chief Minister, was tough and believed in no "roll backing". The protagonists for English had, perforce, to write in Hindi on files. One Secretary who was rather pally with a female Joint Secretary wanted to write "Vistar mein charcha karein" (discuss in details) but not knowing the criss-cross used in letters in Devnagri script wrote "Bistar mein charcha karein' (discuss in bed). The Joint Secretary, at once, ran to her boss and said with face flushing: Sir, please don't write such remarks on files at least."
I believe that the votaries of Hindi also are responsible for sliding down the language. They would prefer to use difficult words where common Hindustani words existed and would call "Agni Visphotak Shlaka" to matchstick and not "diyasalai" Vastra Vihin (with no clothes) is holier than "nanga" for them. Recently, the State Health Department here conducted a survey of rural women who were pregnant and wanted to collect data about how many of them were getting or not getting the required facilities from the primary health centres. The surveyor asked the first question," Kaya aapne garbh dhaaran kiya hai?" (Are you pregnant?). The rural woman was totally foxed with Hindi words used in the question. She did not know what the surveyor was asking. In order to make his question clear and understandable, he asked,: What do you call a woman who carries a child within her? The reply he got was, "Hindi mein to hum 'paregnant' bolte hain ji," (In Hindi we call her pregnant, Sir)
No doubt, Hindi in offices has percolated down the villages. Our ears in offices are tuned to hear such sentences when an officer is communicating in our beloved mother tongue, Hindi, "Case discuss karen ka abhi time nahin hai. Ek important meeting attend karni hai. Meanwhile, tamaam relevant papers collect kar lo. Legal opinion bhi le lo. Finance ki advice mil jaye to nothing like that. Waapsi par detailed study kar lenge, and if need be, dictation bhi de denge. OK?"
The number one cause of accidents is: No respect for traffic rules. There are three categories here: Unfamiliarity with laws due to lack of education or getting licence without any formal instructions. Intentional disregard for laws because people think they can easily get away. Inability to follow laws due to difficult roads and no reward for following laws.
Some remedies are: Traffic rules/driving instruction (and education about risk of death on road) be offered as a compulsory subject to all high school students. Or even in lower grades. Every applicant for the driver's licence needs to take a written test for traffic rules. If some fails, we need to provide instructional schools or helpful courses for them.
Every licence needs to be renewed every year and the applicant should be updated on new traffic rules or may have to take a short test. All media sources, including TV channels, need to make the public aware about laws plus help the public to understand that drinking and driving are a fatal combination. In California any drunk driver, if caught, has to spend at least one night in jail (it doesn't matter how influential you maybe) and their names get printed in local newspapers the next day. More than half the fatal accidents are caused by drunk drivers.
How to reduce congestion on roads? Improve the quality of public transport. In large cities, all government officials need to be encouraged to use bicycles. And there should be some roads reserved for pedestrians and bikers. Encourage air and rail travel for long trips. Build special toll roads to link major cities like New Delhi to Ludhiana or Amritsar. This may not happen soon but we need to start planning now for the sake of future.
All traffic police officials need better training and discipline than commandos. Better salaries may help reduction in corruption. All major traffic intersections should have video cameras installed to catch any one crossing the red light or any cop accepting bribe. Most of the drivers for politicians or so-called VIPs don't follow any rules. There is dire need of an aggressive campaign by social organisations to bring more awareness about these serious issues of public safety.
We need to develop some kind of trauma activation system. India will need state of art trauma centres to deal with the increasing volume of trauma victims of accidents. Only helicopters can get injured victims in time to distant appropriate medical facilities. Most ordinary hospitals can't handle trauma cases. Even in developed countries like America, we have special trauma centres and regular hospitals deal with minor injuries only. The government and insurance companies fund these centres. If every driver has to buy accident insurance, part of it can be channeled to fund these programmes.
Believe me, roads in India are going to be more deadly in future unless we adopt some national strategy to deal with the problem. More roads alone will not solve any problem unless the public is educated about benefits of following traffic rules. If we can provide quick and appropriate help to victims of accidents, the public will be more willing to cooperate with the law enforcement organisations. Under the current system, people avoid any cooperation to the police due to a scare about harassment. Common people don't see personnel in uniform of any genuine help. A sad fact.
The writer, an MD in Yuba City, California, is a former resident of Patiala
Mehar Din, though less in the limelight in comparison to these names, stands among the most outstanding Indian athletes of the last century. Now at 65, the veteran sits back reflecting on the glory of the days of intense discipline and the strongly ethical way of life he made his own.
Recounting the days of struggle with an element of pride, Din says, "During my practising days I was not able to drink even half a litre of milk at a time. Unboiled milk did not suit me. During my entire wrestling career, which spanned almost 25 years, I used to eat half a kg of butter daily. And talking of practice, besides the 'akhara' workouts, I did 3,000 sit-ups and 2,000 push-ups at a time, depending on the mood at the time."
The well muscled man, a resident of Shahkot village in Jalandhar, emerged as a force to reckon with when he was only 20, winning local championships and showing potential for much more.
Mehar Din soon advanced to the district and state levels, and between 1967 and 73 lifted the title of the Champion of India, Rustom-e-Hind, as many as six times. Internationally too, he earned much acclaim.
Mehar Din's mace or 'gada,' an emblem of wrestling prowess, almost became a part of him, and he went on to defeat some of the biggest wrestlers of the day, showered with honours wherever he went.
"I invited wrestlers to fight with me as a challenge. In England I even did it free of cost for a charity cause. Back home, I earned a lot of appreciation by defeating men like Maruti Mane and Ganpat Andelkar. I have also won fights in Pakistan. I even challenged wrestler Dara Singh, he might have defeated many wrestlers, but he never accepted my challenge. I threw several challenges to him at Delhi, Bathinda, Jalandhar and at several other championships. But he never accepted my challenge," he added.
Mehar Din floored Mangla Rai of Gazipur, (Uttar Pradesh) and Chandgi Ram of Haryana. He fought many times in Pakistan and defeated Rajni Raket, Alladita Jat, Saifal Dada and Saif Jat there.
"Today, wrestling mats are used for wrestling. And more importance is attached to those practising on these mats. I want that proper arrangements should be made for wrestling mats in every town and village in Punjab so that boys can practise properly and more safely," the legendery person says.
Din, who quit active wrestling in the 1980s, is now a respected guru, coaching some 20 budding talents in a small akhara in Shahkot. ANI
"When I first wrote about this, the problem was pretty much hidden...I didn't expect it to get as bad as it is," Susie Orbach, an international authority on eating disorders, told Reuters.
Orbach must at times think the strident anti-diet message of her ground-breaking book "Fat is a Feminist Issue" has got lost since it was written more than 20 years ago.
"If anything, the situation has got much, much worse. We now have kids as young as eight and women in old people's homes obsessed with the way they look," Orbach said in an interview. Reuters
Higher HDL, the "good" cholesterol, is believed to lower stroke risk. These links between anger and stroke held regardless of risk factors including smoking, high LDL ("bad") cholesterol, high blood pressure and diabetes, the researchers report in the January issue of Stroke: Journal of the American Heart Association. Dr Janice E. Williams of the Centres for Disease Control and Prevention in Atlanta, Georgia, led the study.
According to William and her colleagues, past research has found a link between a hostile personality and the risk of heart disease, but relatively little is known about anger and stroke. The investigators used data from a large US study of cardiovascular disease to see what role anger played in stroke risk.
Adults aged 48 to 67 answered questions regarding trait anger, rating how well phrases such as "I fly off the handle" described them. Their incidence of stroke was followed for up to eight years. Overall, anger itself was linked to only a modest increase in stroke risk, the report indicates. But a score in the "high anger" range raised stroke risk nearly threefold among participants aged 60 and younger, as well as those with higher HDL.
The authors note that there is some evidence that anger management training helps quell hostility and benefits the heart. "The efficacy of anger reduction for the prevention of stroke awaits evaluation," Williams and colleagues add. Reuters
A diet low in salt and meat can dramatically reduce the risk of kidney stones, according to an Italian study that could spell the end for the low-calcium diet that doctors have been recommending for years.
Millions suffer from kidney stones — a much larger percentage of men, who make up 80 per cent of sufferers — and it can be excruciatingly painful. Most stones can be excreted, but in about 15 per cent of cases, surgery or shockwave treatment to pulverise the stones is needed. Many doctors have told such patients to cut down on calcium because most kidney stones are made of a calcium compound. But recent studies have suggested that such a diet might not prevent kidney stones after all and may even promote them — along with osteoporosis. The new study " dispelled a myth that a low-calcium diet is important in preventing kidney stones," said David A. Bushinsky, a kidney specialist at the University of Rochester. William Keane, president of the National Kidney Foundation, said he is sure the new diet " will become the gold standard". AP
Even hatred of vileness
Distorts a man's features.
— Bertolt Brecht, "To Posterity"
Hatred paralyses life; love releases it. Hatred confuses life; love harmonises it. Hatred darkens life; love illumines it.
— Martin Luther King, Jr. Strength to Love
Better is a dinner of herbs where love is, than a stalled and hatred therewith.
— The Holy Bible, Proverbs, 15:17
Life is very short: live amicably with all, behave well with all; scatter ambrosia everywhere and do not let fall even a drop of poison anywhere. Your conduct influenced by love is ambrosia and that influenced by hatred is poison.
If a person calls on you even for an hour, fill his heart with ambrosia through your loving and guileless behaviour; take care that none may catch poison from you. Remove all poison from the heart and fill it up with ambrosia and then scatter it at every step.
— Hanumanprasad Poddar, Wavelets of Bliss.
Hatred does not cease by hatred, as a fire is not extinguished by throwing gasoline in it.... Love is the only cure of the disease of hatred. Meditation on death also greatly helps. If we remember the evanescence of our life, the senselessness of most of our quarrels becomes obvious to us. When we cease to quarrel the mind becomes quiet. In quietness of the mind a new understanding opens up. This new understanding spontaneously manifests as love.
— Musings of the Musafir, Prabuddha Bharata, November 1969
Superior to meditation on Brahman with attributes is meditation on Brahman without attributes.
— T.M.P. Mahadevan, "The Place of Meditation in Advaita Vedanta"

redpajama_set_name: RedPajamaCommonCrawl


text:
<!DOCTYPE html>

    <meta charset="utf-8">
    <title>Class: DataStructures</title>

    <link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
    <link type="text/css" rel="stylesheet" href="styles/bootstrap.min.css">
    <link type="text/css" rel="stylesheet" href="styles/jaguar.css">

        <input id="search" type="text" class="form-control input-sm" placeholder="Search Documentations">

                Center

            Methods

add

copy

cross

divide

dot

equals

key

list

magnitude

multiply

normalize

perpendiculars

rotate

subtract

toString

                Corner

            Methods

add

copy

cross

divide

dot

equals

key

list

magnitude

multiply

normalize

perpendiculars

rotate

subtract

toString

                DataStructures

                Diagram

            Methods

_createTiles

_generate

getPath

getTile

                Edge

            Methods

equals

intersection

intersects

length

midpoint

perpendicular

pointAboveLine

slope

                Graph

                Heap

                Line

            Methods

equals

intersection

intersects

perpendicular

pointAboveLine

equals

intersection

intersects

length

midpoint

perpendicular

pointAboveLine

slope

                Node

            Methods

childNode

expand

path

solution

                PCGComponent

                PointDistribution

            Methods

exports.circular

exports.hexagon

exports.jitteredGrid

exports.poisson

exports.random

exports.recursiveWang

exports.square

exports.squareJitter

                Polygon

            Members

edges

edges

            Methods

intersection

bbox

centroid

contains

inset

intersection

isConvex

lineIntersection

majorAxis

minorAxis

                Problem

            Methods

actions

goalTest

pathCost

result

                Rand

            Methods

chance

rand

randHex

randHexColor

randInt

randRange

setSeed

vector

chance

rand

randHex

randHexColor

randInt

randRange

setSeed

vector

                Rectangle

            Members

edges

            Methods

collides

intersects

bbox

centroid

collides

contains

inset

intersection

intersects

isConvex

lineIntersection

majorAxis

minorAxis

                Redist

            Methods

exports.exp

exports.identity

exports.inverse

exports.pow

exports.step

                Stack

                Triangle

            Members

edges

            Methods

bbox

centroid

contains

inset

intersection

isConvex

lineIntersection

majorAxis

minorAxis

                Vector

            Methods

add

angle

avg

copy

cross

dist2

distance

distToSeg

distToSegSquared

dot

down

equals

left

midpoint

Polar

proj

right

subtract

up

zero

add

copy

cross

divide

dot

equals

key

list

magnitude

multiply

normalize

perpendiculars

rotate

subtract

toString

                module:Atum

Class: DataStructures

    DataStructures

            new DataStructures()

            utilities/DataStructures.js, line 1

        This is a module that contains data structures that can be used

            Documentation generated by JSDoc 3.5.5 on Tue Jan 23 2018 14:15:56 GMT-0500 (Eastern Standard Time)


It is this time of year, that light begins to permeate the darkness. Whether it is Punxsutawney Phil glancing over his shoulder for a peak at his shadow, the lengthening days, or emerging greenery, nature is stirring, brimming with new life just beneath the surface.
KMH holds deep respect for the interplay and healthy balance of both light and dark. While our rich winter line provides your body needed warmth and nourishment, our lighter products allow you to remain intentional and clear in the coming year.
Don't fight darkness - bring the light, and darkness will disappear.
January 17th is Martin Luther King Jr. Day!
This holiday, apart from commemorating a man whose courage and conviction changed a nation, also reminds us of the undeniable power of collective action. Martin Luther King Jr. lived his life as an example, as a visionary who continually taught of our shared responsibility to never remain silent about things that matter, and potential to manifest a more equitable and empowered world.
As we begin a new year, KM Herbals dares you to dream~above and beyond surface-level new years resolutions, to envision personal and global health and bring it to fruition! Let us use this time of fresh starts to define new chapters, drawing on the successes while learning from the challenges. Together, we can hold fast to the intention that, "peace is not merely a distant goal that we seek, but a means by which we arrive at that goal."
KM Herbals wishes you all a very happy Martin Luther King Jr. Day! May it blossom with love, enlightenment, and support for a bright future ahead!
Not only good for the body, but good for the soul! In these chilly winter months, staying warm and healthy can be a challenge. While you work on transformation and healing from the inside out during this time of reflection, KM Herbals supports you from the outside in with our hand-crafted and healing blends. Take a look at our favorite warming products or browse our product menu for more inspiration!
Look for us in Skin Inc. Magazine!
This month's cover feature "The Science of Essential Oils" includes a nod to our beloved Cellular Renewal Complex. Haven't tried it? Contact us for samples and experience its uplifting and transformative blend of Neroli, Petitgrain, Carrot, Lemon, and Tansy essential oils.
Essential oils are powerful ingredients that, while providing complex notes for perfumery, offer much more than just an aroma. All of our scented products are mindfully crafted with essential oil blends that provide therapeutic benefits for both our senses and our skin.
Dr. Kurt Schnaubelt, essential oil expert and founder of the Pacific Institute of Aromatherapy, will be appearing this November in San Francisco for his 8th Annual Aromatherapy Conference. Dr. Schnaubelt is the author of many highly regarded resources, including Advanced Aromatherapy and The Healing Intelligence of Essential Oils so this event is not to be missed!
Can't make the conference? He also offers a fantastic online course for those who want to dig deep into essential oils and aromatherapy from home. Learn more here.
Sea Buckthorn, or Hippophae rhamnoides, is a deciduous shrub that bears bright orange berries and seeds high in vitamins, minerals, antioxidants, fatty acids, and more. Due to its rich levels of carotenoids and the rare Omega 7 fatty acid, Sea Buckthorn has gained an extraordinary reputation for use against oxidative stress, particularly from UV exposure. SOD, or superoxide dismutase, is an enzyme responsible for antioxidant defense that exists within all living cells. However, Sea Buckthorn berries contain more than 4 times the amount of SOD than another remarkably antioxidant plant: Ginseng.
This ingredient can be used for all skin types, but is especially recommended for improving the look of fine lines, wrinkles, discoloration, and scarring. Sea Buckthorn oil is extremely moisturizing, improving the skin's texture and tone, as well as protecting against chapping, dryness, and cracked skin conditions. It quickly soothes irritation, protecting against skin congestion and discomfort. With its abundant nutritional and esthetic benefits to match, Sea Buckthorn is an obvious ally for your every day healthy skin routine.


Link Dump! - Crochet, Starbucks and roadtrips, oh my!
I like collecting things from teh internetz.
Mmmmm shortbread....with two of my favorite things....I shall be researching for a recipe!
The recipe is there, in the comments!
So it is! I didn't scroll...oops!


"Jesus invites us to live for a higher purpose, to be God's agents of healing and restoration in the world. But where we spend our money reflects what we care about most. Some of us could benefit from seeing what kind of relationship we have with our clothes. Are we living in ways that reflect God's call or are we simply following the script of modern society? This project will push and stretch us to live outside the status quo. It will give us a sobering look at what really matters to us."
During the season of Lent 2019, CSULB IV will be participating and leading the campus in a "21 Day Challenge". The purpose of the project is to create a new sense of awareness surrounding our dependence on material things and the influence they hold on our identity as college students. It is also an opportunity to stand in solidarity with those around the world who live on much less than we do in America. We invite anyone to participate with us as we learn what it means to live simply and what it looks like to follow Jesus on our campus and in the world.
Throughout the 21 days there will be opportunities to debrief the experience and learn from each other and scripture.
These are guidelines. The emphasis isn't so much about "following the rules" as much as it is wanting to challenge yourself. See what might happen, and what you might learn, if you seriously lived out just ONE aspect of Jesus' teachings. Have fun!


text:
Q: sundials package installation on windows I need to install the "cvode" from sundials package version 5.3.0. I was following the install guide, but there was an error.
The guide says "Back in the VS Command Window: (a) Run msbuild ALL_BUILD.vcxproj". However, when I type the commands (start msbuild ALL_BUILD.vcxproj) in the prompt, a message is shown saying that the word "msbuild" was not recognized
I have Visual Studio, so msbuild  had already been installed in my computer.
I don't know if the problem is in this other step, where there is an instruction to be done inside builddir:
Run cmake-gui ../solverdir
(c) Change CMAKE INSTALL PREFIX to instdir
I didn't understand step "(c)" very well , so I changed the "value" in the cmake windows to  "C:\Users\User\builddir\solverdir\sundials-5.3.0\instdir". However, " instdir" doesn't exist in this folder, because I couldn't find it in any of the folders inside builddir.
I'm new at this, so it would be a big help if anyone could help me find the mistake. Thanks!


Are you looking for affordable whole life insurance in Two Dot, MT? We can help you compare the best options. Enter your zip code at the top of the page and browse through Montana whole life insurance providers. Comparing quotes is the most effective way to lower your whole insurance premium in Wheatland county.
One of the easiest ways to get Two Dot, MT whole life insurance quotes is to use any number of the sites online. This will allow you seek out several quotes and see which one suits your specific needs. As you search online you will be able to read about the specific policies the company has available as well as get a free quote. You should seek out at least three quotes in order to find the best rates and plans that are available.
You should look at Two Dot life insurance as early as possible as the cost will be much lower. This will also help at later stages of life when you will not have to budget out for the premiums as they will already be paid off. This money can also be borrowed against as it has already been built up into the policy. This is all the benefits of having a policy early and does not affect the price of the quote.
There are a few things you will want to consider when looking at various life insurance quotes in Two Dot, MT. We hope that this article will allow you to make the best decision when providing for your family after you are gone. It is the last act you can do that will allow them to live the life they have become accustomed to.
Picking the correct life insurance coverage coverage is particularly essential for these who are responsible for the cash flow of their house. If some thing transpires to you and you are no more time able to function, life insurance policy funds can help your loved ones. Read this article for guidelines on how to pick the appropriate plan.
When picking a life insurance policies plan, it is essential that you evaluate your and your family's financial requirements. Separate what you think you know from what the insurance policy salesman is telling you. You realize your situation far better than any salesperson, which indicates you know how a lot coverage you demand.
It might be easier explained than completed, but consider to steer clear of larger commissions when acquiring your fingers on a new lifestyle insurance policy policy. These commissions are paid out to a broker and agent, and the price of them is included into the premiums. Seem for a 'no load' plan if you can get a coverage straight.
If you are doing work with an advisor to get life insurance coverage, and this particular person is not fitting your wants, it is important to know that you are capable to seem for an additional one particular. You want to make sure you are operating with an skilled, educated advisor who is seeking out for your greatest interests.
Lifestyle insurance coverage guidelines are much more price successful the earlier they are started. Even if there is no one that immediately is dependent on your income, if this sort of a situation is most likely several years in the long term, then life insurance policies is some thing you must think about. For illustration, if you do not have children nevertheless but anticipate to have a kid a single working day, investing in a life insurance policy now will be more price effective than investing later on.
Think about a convertible policy if you can not decide among time period or permanent life insurance policies. This sort of daily life insurance policies policy begins out as term life insurance coverage, and if they decide on to prior to the term expires,the insured can change the coverage to permanent insurance policy with out getting to take a new health care exam.
1 of the most important factors when deciding on a lifestyle insurance coverage is picking which organization to get it from. There are different businesses that offer daily life insurance policies and some offer policies at substantial discounts in comparison to other people. Even so, not all businesses are economically stable adequate to reliably pay out off foreseeable future statements on your insurance. These businesses usually have decrease credit rating ratings. Despite the fact that obtaining a good offer for your income is important, it is much a lot more critical to select a business with a substantial credit rating score as they are more likely to be all around to satisfy their responsibilities. Just before acquiring lifestyle insurance policies it is crucial to understand why you need it. If a father or mother or wife or husband dies, existence insurance policy income can be used to spend for house loan payments, retirement, or a university education. If other folks count on your income for assist, it would be sensible to consider out a existence insurance policies coverage.
Acquiring lifestyle insurance policy is not just for rich folks. In fact, it is most likely more important for these with minimal to medium incomes than for individuals in greater tax brackets. Closing expenditures and living expenses won't go absent with the demise of a family members member. You want coverage to make sure these expenses are coated.
Daily life insurance is one particular of people things we want to get, but hope will not be employed--at minimum for a extended time. These suggestions will give direction in selecting a daily life insurance plan to cover future provision for your family members in circumstance you are not there. Its biggest price is peace of head for you and your loved kinds.


Five Below is a discount-store chain that sells everything from books to clothes for under $5.
It has opened 67 new stores so far in 2018. It plans to open an additional 50 stores this quarter, CEO Joel Anderson said in an earnings call in September.
Five Below opened its flagship store in one of Manhattan's most iconic shopping districts on Friday. Here's what it's like to visit.
Five Below just opened its flagship store in one of the most famous spots in Manhattan: Fifth Avenue.
Five Below, a discount-store chain that sells everything from school supplies to clothes to candy for under $5, is one of several chains that have recently found success selling extremely low-priced products.
Its flagship store opened on Friday in one of Manhattan's most iconic shopping areas: Fifth Avenue. The new Five Below is located near Grand Central Terminal, just a few minutes away from stores like Brooks Brothers, Saks Fifth Avenue, and Versace.
Five Below has opened 67 new stores so far in 2018 and plans to open another 50 this quarter, CEO Joel Anderson said in an earnings call in September. It currently operates 625 stores.
Five Below is growing very quickly, with 22.7% net sales growth year-over-year, according to the company's most recent earnings release. In the second quarter of 2018, Five Below's comparable sales grew by 2.7%.
One of the biggest draws of Five Below is that everything at the store truly costs under $5. You can find beach chairs, clothes, books, electronics, and school supplies for well below the price of similar products at other retailers.
The Five Below flagship store was on Fifth Avenue, just a few blocks away from stores like Brooks Brothers, Saks Fifth Avenue, and Versace.
There were greeters standing outside of the building and at the top of the escalator.
At the bottom of the escalator was a small section of New York City souvenirs and a ton of Christmas decor. Christmas music was playing over the speakers.


Generally it is the little things like insect spray or a rain poncho in your journey gear that saves the day. From access to clean water, dealing with jet lags, maintaining fit on the highway, to charging devices on the go – I have found essentially the most innovative products that will tackle each traveler's needs. Luggage tags are something most people overlook, however why risk an unintentional luggage swap when it can be helped?
TravelSmith Spinner360 Carry-On with Free Tote: Our best-promoting carry-on simply obtained better. As you are getting ready to pack in your summer time getaway, searching for father's day gifts, or simply want to add to your assortment, ensure to take a look at my favourite journey equipment this 12 months.
's Lightweight Packable Duffle has great ergonomics, strong but lightweight construction, and simply the precise dimension and feel. Use it as a packing cube or a shoulder bag. A silk sleeping bag liner is an effective way to insulate yourself from scratchy, cheap, poorly maintained linens you would possibly find at a hostel or motel.
You get the picture – there are merchandise on the market that will remedy most travel problems with a minimal funding. At eBags, Free Delivery, P.c Savings, Dollar Financial savings and Reward presents are all thought-about to be promotional affords. Hold your chargers, SD cards, cables, and other small electronics safe and organized on this useful case that matches easily in your laptop case or carry-on.
The nice quality journey accessories are made by glorious manufacturers such as Dunlop and Life Enterprise Don't forget to take a look at the luggage and suitcases range to keep all your necessities secure and safe. It might also sit up on its own, and the handle design helps you to break it out as a final minute carry-on to avoid an chubby-baggage payment.


The Cancer Centre can be accessed by following the ramp at the side of the Cancer Research Charity Shop in Thurso's precinct. This will take you to our front door.
The centre can also be accessed at the steps behind the Cancer Research Charity Shop which will take you onto the ramp or the steps that takes you to our back door.


text:
package io.atomix.core.list.impl;

import io.atomix.core.collection.impl.TranscodingAsyncDistributedCollection;
import io.atomix.core.list.AsyncDistributedList;
import io.atomix.core.list.DistributedList;

import java.time.Duration;
import java.util.Collection;
import java.util.concurrent.CompletableFuture;
import java.util.function.Function;
import java.util.stream.Collectors;

/**
 * Transcoding distributed list.
 */
public class TranscodingAsyncDistributedList<E1, E2> extends TranscodingAsyncDistributedCollection<E1, E2> implements AsyncDistributedList<E1> {
  private final AsyncDistributedList<E2> backingList;
  private final Function<E1, E2> elementEncoder;
  private final Function<E2, E1> elementDecoder;

  public TranscodingAsyncDistributedList(AsyncDistributedList<E2> backingList, Function<E1, E2> elementEncoder, Function<E2, E1> elementDecoder) {
    super(backingList, elementEncoder, elementDecoder);
    this.backingList = backingList;
    this.elementEncoder = k -> k == null ? null : elementEncoder.apply(k);
    this.elementDecoder = k -> k == null ? null : elementDecoder.apply(k);
  }

  @Override
  public CompletableFuture<Boolean> addAll(int index, Collection<? extends E1> c) {
    return backingList.addAll(index, c.stream().map(elementEncoder).collect(Collectors.toList()));
  }

  @Override
  public CompletableFuture<E1> get(int index) {
    return backingList.get(index).thenApply(elementDecoder);
  }

  @Override
  public CompletableFuture<E1> set(int index, E1 element) {
    return backingList.set(index, elementEncoder.apply(element)).thenApply(elementDecoder);
  }

  @Override
  public CompletableFuture<Void> add(int index, E1 element) {
    return backingList.add(index, elementEncoder.apply(element));
  }

  @Override
  public CompletableFuture<E1> remove(int index) {
    return backingList.remove(index).thenApply(elementDecoder);
  }

  @Override
  public CompletableFuture<Integer> indexOf(Object o) {
    return backingList.indexOf(elementEncoder.apply((E1) o));
  }

  @Override
  public CompletableFuture<Integer> lastIndexOf(Object o) {
    return backingList.lastIndexOf(elementEncoder.apply((E1) o));
  }

  @Override
  public DistributedList<E1> sync(Duration operationTimeout) {
    return new BlockingDistributedList<>(this, operationTimeout.toMillis());
  }
}