How To Drop Your Data Plan And Keep Using Your Smartphone

first_imgWhy IoT Apps are Eating Device Interfaces Related Posts tim mccormick Tags:#Carriers The Rise and Rise of Mobile Payment Technologycenter_img Role of Mobile App Analytics In-App Engagement Guest author Tim McCormick is a product developer & writer in Palo Alto, CA interested in publishing, learning technology, and urban innovation.Over the last six months, I’ve made an experiment of giving up my $90/month cellular + data plan, and exploring alternative ways to use my smartphone (iPhone) costing as little as $5/mo. The key point is that you don’t need a contract or a subscription to use a smartphone, contrary to just about everything you ever hear.I’ve come to think that it is not only often possible to largely cut out phone costs via these methods, but they actually provide a helpful path to other goals such as better prioritizing your time and attention, lowering stress and disruption, improving online reading patterns, and making you more connected to place and local community.RFR IPhone Next, concept by Fabio Merzari / RFR DesignersThis isn’t about dropping smartphones or nostalgically longing for a pre-cellphone era or an uncontaminated, unplugged, “In Real Life.” It’s about using smartphones in smarter ways, exploring their amazing potential while limiting their cost, intrusiveness, addictiveness, and other problems. It’s about making our tools serve our goals, rather than accepting, as Marshall McLuhan said, that “First we build the tools, then they build us.”I admit there is some hacking and rough spots in this, as I am piecing together various tools and workarounds. Also, it is more useful to those not locked in to a phone contract, and it’s oriented to the U.S. environment, which has some particular issues such as unusually high costs, pervasive carrier-locked phones and contracts, whereas the service landscape is different in other places. However, I believe much of this applies broadly, the potential benefits are powerful, and this is really a proof-of-concept: in future providers will put these pieces together into seamless, user-friendly, marketable services.So here are the steps. Actually, almost all can be done independently and each has its own benefits, but done together they can add up to nearly cost-free smartphone service:1) Set up or find wi-fi (wireless internet) networksat home, work, or any place you spend time. Suffice it to say that if you have Internet at home, or go to libraries, Starbucks, McDonalds, Whole Foods, most coffeeshops, etc., then you can get wi-fi access fairly easily for free.2) Turn off your phone’s data service.(On an iPhone, go to Settings > General > Network > Cellular Data -> off). Now, instead of using your cellphone’s data plan, your phone will start using free wi-fi (when available) to browse the Web, check email, etc. Check how and where it works.3) Set up VOIP calling software on your phonesuch as Skype or Talkatone or Google Chat. These are free apps that let you make and receive phone calls via an Internet connection such as the wi-fi you’re now using.  Typically you can call free to other users of the program anywhere, or call to any number for a relatively low fee.  For example, I use Skype and pay $2.99/mo for unlimited calling to any # in U.S./Canada, with cheap rates to call other countries.(c) 2011 Sigfrid Lundberg, CC-BY-SA-2.04) Set up a virtual number, and voicemail transcription, e.g. with Google Voice.Various services, including the free Google Voice, let you set up a number that can redirect to whatever other phone or phones you want. This is helpful for various reasons, such as letting you switch easily between phones and locations without having to update the people who might call you. For present purposes, it can help you transition from your current cellphone plan to a plan-free, low-cost alternative.First, sign up for Google Voice and pick a number. Then set it to redirect to your current number, and test it. Then, set it to handle voice mail for that number, and you have an extremely useful new feature that will store any voicemails in your Gmail, transcribe them, and email + text you the transcript. Admittedly, the transcription is often quite faulty, but I find that 90% of the time it is sufficient to get the gist of the message e.g. tell you whether you need to call back, pick up milk on the way home, or sometimes actually listen to the message to get the details right. If you use Google Voice for texting, you also get all texts sent/received nicely archived in your Gmail, and you can text from a Web browser, a very convenient alternative to your phone if you happen to be sitting at a computer.5) Unlock your phone, and switch out the SIM card for a pre-pay card“Unlocking” means changing settings on a phone so it is not limited to working on a specific carrier’s network, and can for example be used while traveling abroad. Some carriers now offer phones unlocked by default, or will let and help you unlock them if they are off-contract. You can also buy phones that are unlocked and no-contract (usually at a higher price than the subsidized, with-contract price). I expect that unlocked, inexpensive, Android-based smartphones will become increasingly pervasive here before long, though, as they already are outside the U.S.Once your phone is unlocked, you can replace the “SIM card,” a small plastic chip stored in a retractable tray or under the phone battery. Putting in a different SIM card will associate the phone with a different number and (possibly) carrier.Find out what prepaid SIM cards are available for your phone (note, it may depends on which carrier you got the phone through), and order a card with, say, $25 credit to test it out. Pop out the old SIM card, put in the new one, and add the new card’s phone number to your Google Voice setup so that GV will send texts to it and (optionally) route calls to it.If this all works to your satisfaction, you are now ready to completely bypass your old cellphone carrier. You can now cancel your mobile subscription (typically for a fee, if you are still within contract, of course).(c) 2011 Sigfrid Lundberg, CC-BY-SA-2.07) Consider getting a mobile hotspot, especially via Clearwire or Freedompop.Mobile hotspots are small devices that pick up cellular networks (3G and/or 4G) and use them to create portable wi-fi networks. Clearwire, an upstart telecom infrastructure provider, offers 4G hotspots for $35 or $50/mo that have bandwidth caps but (unlike incumbent carriers plans) neither data limits nor contracts.Clearwire also provides much of the infrastructure for hotspots offered by other companies such as Sprint and Freedompop. Freedompop is an intriguing new entrant, a LA-based startup backed by Skype co-founder Niklas Zennstom that offers mobile hotspots for no monthly fee at low data volumes (up to 500MB/month), $49 for a USB stick hotspot, $89 for MiFi-style multi-device hotpot, $10 for 1GB, and other options up to $60 for 10GB/mo.Particularly with an unlimited-data hotspot such as Clearwire’s, a great option is to use the hotspot for all of your Internet access, at home and away from home. This might help you fully cable-cut, i.e. entirely get rid of your cable/DSL provider such as Comcast, Time Warner, or AT&T. Also, incumbent telcos’ home internet service is frequently suspected of deliberately degrading 3rd-party, VOIP phone services; in my tests, I’ve often had difficulty with VOIP on incumbents’ lines, and hardly any problems with Clearwire or commercial wi-fi such as at Starbucks.Commentators typically say that the Achilles Heel to mobile hotspots is requiring users to carry another device with them, to get phone access on the go. I actually have found this to be a very minor issue — I just habitually put the hotpot + charger in my bag when I go out, because I use it for phone, laptop, and tablet (Nexus 7), and I almost always have my bag with me when out. The hotspot is only the size of a matchbox, so if I want to put it in my pocket, it’s quite easy.So that’s how you set this up. Overall it’s a bit “under the hood,” probably more than a typical phone user would want to try currently, but it points out future possibilities.Lead image: (c) 2009 Vox Efx, “Me and Me – Day 89″, CC-BY-2.0 What it Takes to Build a Highly Secure FinTech …last_img read more

Sohrabuddin case: Offence committed in line of duty, says CBI court

first_img Motivated probeIndicting the investigating agency, Mr. Sharma said: “The negligence of CBI towards material part of investigation clearly indicates that they hurriedly completed the investigation either by using replica of the earlier recorded investigation and have implicated the police persons who had not at all knowledge of any conspiracy; rather they appeared innocent.”“There is no hesitation in recording that during the investigation of these offences, the CBI was doing something other than reaching the truth of the offences.”Judge Sharma also said: “The evidence could not withstand the judicial scrutiny of the Court.” While acquitting 22 of those accused of the killing of Sohrabuddin Shaikh, Kausar Bi and Tulsiram Prajapti, the Central Bureau of Investigation (CBI) court earlier this month said: “The alleged offence was committed by the accused persons in discharge of their official duty and under the colour of office; even if it is assumed that the accused persons acted in excess of their official duty, then also they are entitled to claim protection of Section 197 (prosecution of judges and public servants) of the Code of Criminal Procedure (CrPC).”Entitled to acquittalThe Hindu has a copy of the 358-page judgment which says: “It is clear that the accused who are police officials and who were found doing the act and deed in discharge of their official duty, are entitled for the benefit as contemplated under Section 197 of CrPC.”“It was necessary for the investigation agency to obtain sanction of the competent authority before filing chargesheet. In absence of the sanction, the accused are entitled for acquittal.”In his last judgment, Judge S.J. Sharma said: “The accused, as seen from the material in the chargesheet, were certainly acting in discharge of their official duties. There is reasonable connection between the ‘act’ and discharge of official duty… The accused were doubtlessly a ‘public servant’ when the alleged offence is alleged to have been committed.”The court said, “The entire investigation was targeted to act upon a script to achieve the goal to anyhow implicate political leaders….”last_img read more

Breast reduction

first_imgDefinitionBreast reduction is surgery to reduce the size of the breasts.Alternative NamesReduction mammoplastyDescriptionBreast reduction surgery is usually done under general anesthesia(asleep and pain-free).For a breast reduction, the surgeon removes some of the breast tissue and skin. Your nipples may be moved higher to reposition them for cosmetic reasons.In the most common procedure:The surgeon makes three surgical cuts: around the areola (the dark area around your nipples), from the areola down to the crease under your breast, and across the lower crease of your breast.Extra fat, skin, and breast tissue are removed. The nipple and areola are moved to a higher position. Often the areola is made smaller.The surgeon closes the cuts with stitches to reshape the breast.Sometimes liposuction is combined with breast reduction to improve the shape of the breast and armpit areas.The procedure can last 2to 5 hours.Why the Procedure Is PerformedBreast reduction may be recommended if you have very large breasts (macromastia) and:Chronic pain that affects your quality of life. You may be having headaches, neck pain, and shoulder pain.Chronic nerve problems caused by poor posture, which result in numbness or tingling in your arms or hands.Cosmetic problems, such as persistent bra-strap groove, scar-like lines in the skin (striae), difficulty finding clothes that fit, and low self-confidence.Chronic rashes under your breastsUnwelcome attention that is making you feel awkwardInability to participate in sportsSome women may benefit from non-surgical treatments, such as:advertisementExercising to strengthen their back and shoulder musclesLosing excess weightWearing supportive brasRisksBreast reduction surgeryis generally safe. Ask your doctor about these complications.Risks of any surgery are:BleedingInfectionRisksof any anesthesia are:Breathing problems, such as pneumoniaHeart problemsReactions to medicinesRisksof this procedure are:Difficulty breastfeeding, or being unable to breastfeedLarge scars that take a long time to healLoss of feeling in the nipple areaUneven position of the nipples or differences in the size of the breastsBefore the ProcedureIf you smoke, you must stop. Women who smoke after breast surgery have a higher risk of poor healing, infection, and scarring. Youshould even avoid breathing in secondhand smoke.Tell your surgeon:If you are or could be pregnantWhat drugs you are taking, even drugs, supplements, or herbs you bought without a prescriptionBefore surgery:You may need a mammogrambefore the surgery. Your plastic surgeon will do a routine breast exam.Several days before surgery, you may be asked to stop taking aspirin, ibuprofen, warfarin (Coumadin), and any other drugs that make it hard for your blood to clot.Ask yoursurgeon which drugs you should still take on the day of the surgery.You may need to fill prescriptions for pain medicine before surgery.Arrange for someone to drive you home after surgery and help you around your house for several days.On the day of surgery:Follow the surgeons instructions about not eating or drinking anything before the surgery.Take the drugs yoursurgeon told you to take with a small sip of water.Wear or bring loose clothing that buttons or zips in front.Arrive at the hospital on time.After the ProcedureYou may have to stay overnight in the hospital.After surgery, a gauze dressing (bandage) will be wrapped around your breasts and chest. Or you will wear a surgical bra. Wear the surgical bra or a soft supportive bra for as long as your surgeon tells you to. This will likely be for several weeks.Drainage tubes may be attached to your breasts. These tubes will be removed withina fewdays.Your pain should decrease in a few weeks. Take pain medicine to control it. Be sure to take the medicine with food and plenty of water. Do not apply ice or heat to your breasts unless your doctor has told you that is okay.Within a few weeks, the swelling and bruising around your incisions should disappear. You may have a temporary loss of sensation in your breast skin and nipples after surgery. Sensationmay return over time. Your stitches, if any,will be removed within 2 weeks after surgery.Outlook (Prognosis)You are likely to have a very good outcome from breast reduction surgery. You may feel better about your appearance and be more comfortable with various activities.Pain or skin symptoms, such as striation,may disappear. You may need to wear a special supportive bra for a few months to reshape your breasts.Scars are permanent. They will be more visible for the first year, but will then fade. Thesurgeon will make every effort to place the cuts so that scars are hidden. Cuts are usually made on the underside of the breast. Most of the time, the scars should not be noticeable, even in low-cut clothing.advertisementReferencesMcGrath MH, Pomerantz J. Plastic surgery. In: Townsend CM, Beauchamp RD, Evers BM, Mattox KL, eds. Sabiston Textbook of Surgery. 19th ed. Philadelphia, PA: Elsevier Saunders; 2012:chap 69.Roehl KR, Wilhelmi BJ, Phillips LG. Breast reconstruction. In: Townsend CM, Beauchamp RD,Evers BM, Mattox KL, eds. Sabiston Textbook of Surgery. 19th ed. Philadelphia, PA: Elsevier Saunders; 2012:chap 37.Review Date:1/24/2013Reviewed By:Debra G. Wechter, MD, FACS, General Surgery practice specializing in breast cancer, Virginia Mason Medical Center, Seattle, Washington. Also reviewed by A.D.A.M. Health Solutions, Ebix, Inc., Editorial Team: David Zieve, MD, MHA, Bethanne Black, Stephanie Slon, and Nissi Wang.last_img read more

TORONTO MEDIA ARTS CENTRES FEUD WITH CITY ON HOLD THANKS TO USE

first_imgAdvertisement Login/Register With: In the deep tunnel of the city’s intractable-seeming dispute with the Toronto Media Arts Centre over the group’s in-limbo space on Lisgar Street, there appeared on Wednesday an improbable glimmer of light: For those keeping score, Tuesday, June 5, was the make-or-break deadline for the city to either finally approve TMAC’s agreement of purchase and sale on the space — locked in a legal dispute since 2015 — or send them packing (in February, when the city agreed to allow TMAC interim occupancy, it specified in its terms that the sheriff would be dispatched, if necessary).Instead, something remarkable happened: In a joint statement, both the city and TMAC announced that they had extended the hard deadline with a mind, in the words of TMAC board chair Henry Faber, “to work together to ensure things will move forward as positively as possible.” Jennie Robinson Faber and Henry Faber of the Toronto Media Arts Centre are seen last year in front of contested turf: 36 Lisgar St., whose dedicated arts space they’ve gotten access to and, finally, started using. (STEVE RUSSELL / TORONTO STAR) Twittercenter_img Advertisement Facebook LEAVE A REPLY Cancel replyLog in to leave a comment last_img read more

NASA snapped that monster meteor fireball over the Bering Sea

first_img Apple iPhone XS Rylo 5.8K 360 Video Camera: $250 (save $250) Sprint Fury from afar: NASA sees violent volcanoes from space See it $60 at Best Buy $155 at Google Express JBL Soundgear wearable speaker: $90 (save $160) See It Sci-Tech Preview • iPhone XS is the new $1,000 iPhone X HP Laptop 15t Value: $520 (save $780) The space agency says the fireball unleashed more than 10 times the energy of the Hiroshima atomic bomb from World War II. That’s less powerful than the devastating fireball that impacted Chelyabinsk in Russia in 2013, but it’s still the second-largest meteor explosion of the last few decades.The Bering Sea fireball was far enough away from civilization to not affect any humans, but it’s a sobering reminder of the power of incoming space rocks. This is why NASA is working on ways to protect our planet from wayward asteroids that could potentially be much more dangerous than the recent meteor. Use promo code 19LABOR10 to get an unusually good deal on JBL’s interesting hybrid product — not quite headphones, and not quite a traditional speaker, but something you wear like neckphones to listen to music on the go. $999 DJI Osmo Action camera: $261 (save $89) I thought this might be a mistake, but, no, the weirdly named HP Laptop 15t Value is indeed quite the value at this price. Specs include an Intel Core i7 processor, 12GB of RAM, a 256GB solid-state drive and a 15.6-inch display. However, I strongly recommend paying an extra $50 to upgrade that display to FHD (1,920×1,080), because you’re not likely to be happy with the native 1,366×768 resolution. Lenovo Smart Clock: $59.99 (save $20) The problem with most entry-level laptops: They come with mechanical hard drives. That makes for a mighty slow Windows experience. This Lenovo model features a 128GB solid-state drive, so it should be pretty quick to boot and load software, even with its basic processor. Plus, it has a DVD-burner! That’s not something you see in many modern laptops, especially at this price. Recently updated to include digital-photo-frame capabilities, the Lenovo Smart Clock brings Google Assistant goodness to your nightstand. It’s a little smaller than the Amazon Echo Show 5, but also a full $30 less (and tied with Prime Day pricing) during this Best Buy Labor Day sale. $6 at Tidal An Echo Dot makes a fine match for any Fire edition TV, because you can use the latter to say things like, “Alexa, turn on the TV.” Right now, the 24-inch Insignia Fire TV Edition starts at just $100, while the 32-inch Toshiba Fire TV Editions is on sale for $130. Just add any Fire TV Edition to your cart, then add a third-gen Echo Dot, and presto: The latter is free. Best laptops for college students: We’ve got an affordable laptop for every student. Best live TV streaming services: Ditch your cable company but keep the live channels and DVR. See It $299 at Amazon The Cheapskate 15 Photos Share your voice Sarah Tew/CNET Lenovo 130-15AST 15.6-inch laptop: $210 (save $90) Boost Mobile Read Lenovo Smart Clock review The MISR instrument, also on Terra 🛰, saw the large “fireball” — the term used for exceptionally bright meteors ☄️ that are visible over a wide area — as it exploded 💥 about 16 miles above the Bering Sea, far enough way to pose no threat. pic.twitter.com/lyjyZKBZOm— NASA Earth (@NASAEarth) March 22, 2019 TVs Speakers Mobile Accessories Cameras Laptops Automobiles Smart Speakers & Displays Turo See It Read Google Home Hub review Tags See at Turo Enlarge ImageNASA’s Terra satellite caught sight of the fireball on December 18, 2018. NASA/GSFC/LaRC/JPL-Caltech, MISR Team A large meteoroid exploded over the Bering Sea on December 18, releasing an estimated 173 kilotons of energy, and almost no one noticed thanks to its remote location. On Friday, NASA shared images captured by its Earth-watching Terra satellite showing a view of the massive fireball in action. The image shows the meteor’s smoky path over the sea. It looks like a dark smudge across the clouds. NASA also released a GIF. “The orange-tinted cloud that the fireball left behind by super-heating the air it passed through can be seen below and to the right of the GIF’s center,” says NASA. Other Labor Day sales you should check out Best Buy: In addition to some pretty solid MacBook deals that have been running for about a week already, Best Buy is offering up to 40% off major appliances like washers, dryers and stoves. There are also gift cards available with the purchase of select appliances. See it at Best BuyDell: Through Aug. 28, Dell is offering an extra 12% off various laptops, desktops and electronics. And check back starting Aug. 29 for a big batch of Labor Day doorbusters. See it at DellGlassesUSA: Aug. 29 – Sept. 3 only, you can save 65% on all frames with promo code labor65. See it at GlassesUSALenovo: The tech company is offering a large assortment of deals and doorbusters through Labor Day, with the promise of up to 56% off certain items — including, at this writing, the IdeaPad 730S laptop for $700 (save $300).See it at LenovoLensabl: Want to keep the frames you already love and paid for? Lensabl lets you mail them in for new lenses, based on your prescription. From now through Sept. 2 only, you can save 20% on the blue light-blocking lens option with promo code BLOCKBLUE. See it at LensablSears: Between now and Sept. 7, you can save up to 40% on appliances (plus an additional 10% if you shop online), up to 60% on mattresses, up to 50% on Craftsman products and more. The store is also offering some fairly hefty cashback bonuses. See it at SearsNote: This post was published previously and is continuously updated with new information.CNET’s Cheapskate scours the web for great deals on tech products and much more. For the latest deals and updates, follow the Cheapskate on Facebook and Twitter. Questions about the Cheapskate blog? Find the answers on our FAQ page, and find more great buys on the CNET Deals page. What’s cooler: A snapshot of a firework exploding in front of you, or full 360-degree video of all the fireworks and all the reactions to seeing them? Oooh, ahhh, indeed. At $250, the compact Rylo dual-lens camera is selling for its lowest price yet. And for an extra $50, you can get the bundle that includes the waterproof housing.This deal runs through Sept. 3; it usually costs $500.center_img DJI’s answer to GoPro’s action cameras is rugged little model that’s shockproof, dustproof and waterproof down to 11 meters. It normally runs $350, but this deal drops it to $261 when you apply promo code 19LABOR10 at checkout. Read the AirPods review Amazon Best Buy Post a comment $261 at Daily Steals via Google Express Formerly known as the Google Home Hub, Google’s Nest Hub packs a wealth of Google Assistant goodness into a 7-inch screen. At $59, this is within a buck of the best price we’ve seen. It lists for $129 and sells elsewhere in the $89-to-$99 range.This is one item of many available as part of eBay’s Labor Day Sale (which, at this writing, doesn’t specifically mention Labor Day, but that’s how it was pitched to us). $520 at HP CNET may get a commission from retail offers. $999 Share your voice Mentioned Above Apple iPhone XS (64GB, space gray) $59 at eBay 0 Tidal 3-month family subscription: $5.99 (save $54) Sarah Tew/CNET Google Nest Hub: $59 (save $70) Review • iPhone XS review, updated: A few luxury upgrades over the XR 7 Though not technically a Labor Day sale, it’s happening during Labor Day sale season — and it’s too good not to share. Nationwide Distributors, via Google Express, has just about the best AirPods deal we’ve seen (when you apply promo code ZBEDWZ at checkout). This is for the second-gen AirPods with the wireless charging case. Can’t imagine these will last long at this price, so if you’re interested, act fast. Angela Lang/CNET Sarah Tew/CNET $999 Read the Rylo camera preview NASA Space,I’m shocked — shocked! — to learn that stores are turning Labor Day into an excuse to sell stuff. Wait — no, I’m not. As much as I respect the original intent of the holiday (which became official back in 1894), to most of us, it’s just a bonus day off — one that’s blissfully tacked onto a weekend. So, yeah, stores; go ahead, run your sales. I’m listening. Perhaps unsurprisingly, Labor Day doesn’t bring out bargains to compete with the likes of Black Friday (which will be here before you know it), but there are definitely some sales worth your time.For example:We’ve rounded up the best Labor Day mattress deals.We’ve also gathered the best Labor Day laptop deals at Best Buy.The 2019 Vizio P Series Quantum is back under $999.Be sure to check out Amazon’s roughly three dozen Labor Day deals on TVs and audio. Google Express is having a big sale as well, one that includes deals on game consoles, AirPods, iPhones, laptops and more.Below I’ve rounded up a handful of individual items I consider to be the cream of the crop, followed by a handy reference guide to other Labor Day sales. Keep in mind, of course, that products may sell out at any time, even if the sale itself is still running. Note that CNET may get a share of revenue from the sale of the products featured on this page. $999 See at Amazon Rylo $210 at Best Buy Spotify and most other streaming services rely on compressed audio, which robs the listener of full fidelity. Enter Tidal, the only “major” service that delivers lossless audio — meaning at least on par with CD quality, if not better. Want to see (er, hear) the difference for yourself? Grab this excellent extended trial while you can. It’s just $6 for three months, and it’s good for up to six listeners. Apple AirPods with Wireless Charging Case: $155 (save $45) Read DJI Osmo Action preview Turo is kind of like Uber meets Airbnb: You borrow someone’s car, but you do all the driving. I’ve used it many times and found it a great alternative to traditional car-rental services — in part because you get to choose exactly the vehicle you want (not just, say, “midsize”) and in part because you can often do pickup and dropoff right outside baggage claim.Between now and Sept. 1, the first 300 people to check out can get $30 off any Turo rental with promo code LDW30. Sarah Tew/CNET Chris Monroe/CNET Comments Tags Turo: Save $30 on any car rental $90 at Daily Steals via Google Express Free Echo Dot with an Insignia or Toshiba TV (save $50)last_img read more

PM Modi begins talks for new cabinet will Arun Jaitley return as

first_imgPrime Minister Narendra Modi and BJP chief Amit Shah wave at party workers during a party programme in New Delhi on May 23, 2019.IANSAfter BJP’s thumping victory in the Lok Sabha elections, Prime Minister Narendra Modi will hold a meeting with senior leaders on Friday on the formation of the new cabinet. BJP has the first back-to-back majority in the Lok Sabha for a single party since 1984.One of the main issues that the new administration will have to tackle is the country’s slow economic growth as the US-China trade war shows no signs of stopping and the global oil prices are only going higher.”While the macroeconomic picture looks stable and promising, many important segments need support from the government,” BJP General Secretary Ram Madhav wrote in a column for Indian Express.He added, “India cannot completely remain insulated from the ongoing trade war between the US and China or the geo-strategic conflict between the US and Iran.”An immediate decision will be whether to keep senior BJP leader Arun Jaitley as Finance Minister despite his poor health or assign Railways and Coal Minister Piyush Goyal to the job of leading Asia’s third-largest economy.Goyal, 54, had stepped into the role twice in the Modi government when Jaitley was ill. Goyal presented an interim budget before the election and a full budget is due after the new government takes office.SLOWING ECONOMIC GROWTH Prime Minister Narendra Modi and BJP chief Amit Shah wave at party workers during a party programme in New Delhi on May 23, 2019.IANSDespite the dominance of the BJP and its allies in the lower house of parliament, analysts say it does not yet have the numbers in the upper house for tougher reforms such as relaxed labour and land laws sought by the business community.”But, in the meantime, a chunky capex plan funded by more privatisation and used to build more infrastructure can put growth back on the rails at a time when global growth and trade are slowing,” the Financial Express daily said in an editorial.Economic growth, which fell to an annual 6.6% during October-December, is at its lowest in five quarters, and other economic indicators signal no relief.Modi will also need to resolve a liquidity crisis that is slowly gripping India’s shadow banks.BJP President Amit Shah, who is credited with crafting the political strategy that helped the party retain its base in northern and western India but also advanced in the east, is tipped to be the home minister, a powerful post with control of security and intelligence services.For the main opposition Congress party, however, the next few days are likely to be tumultuous after yet another poor showing. Party chief Rahul Gandhi, the scion of the Nehru-Gandhi dynasty, lost his seat in a family borough in the northern state of Uttar Pradesh.”It is astonishing that Rahul Gandhi has not yet resigned as Congress president,” historian Ramachandra Guha said on Twitter.”Both self-respect, as well as political pragmatism, demand that the Congress elect a new leader. But perhaps the Congress has neither,” he added.last_img read more

HC scraps candidature of 6 BNP 2 AL rebel aspirants

first_imgHigh CourtThe High Court on Thursday stayed the candidature of nine aspirants, including 6 BNP candidates, of the 11th national election as they did not resign from the posts of upazila chairmen ahead of contesting the national election, reports UNB.The HC-bench of justice JBM Hassan and justice Md Khairul Alam came up with the orders following writs filed by other candidates.The candidates are Faridul Kabir Talukder Shamim of Jamalpur-4 (BNP), Abdul Muhit Talukder of Bogura-3 (BNP), Md Muslim Uddin of Brahmanbaria-4 (BNP), Abdul Majid of Jhenaidah-2 (BNP), Fazlur Rahman of Joypurhat-1, Abu Sayeed Chand of Rajshahi-6 (BNP), Bashirullah Juru of Brahmanbaria (independent), Mahmud Hasan Sumon of Mymensingh-8 (Awami League’s rival) and Md Asaduzzaman of Rangpur-1 (Awami League’s rival).Now, it has become uncertain whether they would be able to contest the election, said deputy attorney general Motahar Hossain Saju.Earlier, their nominations were rejected by the returning officers.After filing appeals with election commission, they got back their candidature.last_img read more

PM Modi Hasina inaugurate Bangladesh Bhavan

first_imgSantiniketan (West Bengal): Prime Minister Narendra Modi and his Bangladeshi counterpart Sheikh Hasina inaugurated the Bangladesh Bhavan here on Friday to symbolically highlight the warm bilateral cultural ties between the two countries. The inauguration of Bangladesh Bhavan inside the Vishwa Bharti University complex took place in the presence of West Bengal Chief Minister Mamata Banerjee.The Bangladesh Bhavan features a museum that showcases renowned poet Rabindranath Tagore’s association with that country, the Liberation War of Bangladesh and Indo-Bangla relations. Also Read – Heavy rain hits traffic, flightsIt has been built at a cost of Rs. 25 crores, which was provided by the Bangladesh government.A fund of Rs. 10 crores would be given to help maintain the museum premises.Reportedly, a Memorandum of Understanding (MoU) will also be signed between Vishwa Bharati University and the Secondary and Higher Secondary Division of the Bangladesh education ministry.Prime Minister Hasina, who is on a two-day visit to India, on the invitation of Prime Minister Modi, was received by Banerjee.As per reports, both Prime Ministers will hold a bilateral meeting.Prime Minister Hasina will return to Bangladesh on Saturday night.last_img read more

Reactive programming in Swift with RxSwift and RxCocoa Tutorial

first_imgThe basic idea behind Reactive Programming (RP) is that of asynchronous data streams, such as the stream of events that are generated by mouse clicks, or a piece of data coming through a network connection. Anything can be a stream; there are really no constraints. The only property that makes it sensible to model any entity as a stream is its ability to change at unpredictable times. The other half of the picture is the idea of observers, which you can think of as agents that subscribe to receive notifications of new events in a stream. In between, you have ways of transforming those streams, combining them, creating new streams, filtering them, and so on. You could look at RP as a generalization of Key-Value Observing (KVO), a mechanism that is present in the macOS and iOS SDKs since their inception. KVO enables objects to receive notifications about changes to other objects’ properties to which they have subscribed as observers. An observer object can register by providing a keypath, hence the name, into the observed object. This article is taken from the book Hands-On Design Patterns with Swift by Florent Vilmart, Giordano Scalzo, and Sergio De Simone.  This book demonstrates how to apply design patterns and best practices in real-life situations, whether that’s for new or already existing Swift projects. You’ll begin with a quick refresher on Swift, the compiler, the standard library, and the foundation, followed by the Cocoa design patterns to follow up with the creational, structural, and behavioral patterns as defined by the GoF.  To follow along with the examples implemented in this article, you can download the code from the book’s GitHub repository. In this article, we will give a brief introduction to one popular framework for RP in Swift, RxSwift, and its Cocoa counterpart, RxCocoa, to make Cocoa ready for use with RP. RxSwift is not the only RP framework for Swift. Another popular one is ReactiveCocoa, but we think that, once you have understood the basic concepts behind one, it won’t be hard to switch to the other. Using RxSwift and RxCocoa in reactive programming RxSwift aims to be fully compatible with Rx, Reactive Extensions for Microsoft .NET, a mature reactive programming framework that has been ported to many languages, including Java, Scala, JavasScript, and Clojure. Adopting RxSwift thus has the advantage that it will be quite natural for you to use the same approach and concepts in another language for which Rx is available, in case you need to. If you want to play with RxSwift, the first step is creating an Xcode project and adding the SwiftRx dependency. If you use the Swift Package Manager, just make sure your Package.swift file contains the following information: If you use CocoaPods, add the following dependencies to your podfile: pod ‘RxSwift’, ‘~> 4.0’ pod ‘RxCocoa’, ‘~> 4.0’ Then, run this command: pod install Finally, if you use Carthage, add this to Cartfile: github “ReactiveX/RxSwift” ~> 4.0 Then, run this command to finish: carthage update As you can see, we have also included RxCocoa as a dependency. RxCocoa is a framework that extends Cocoa to make it ready to be used with RxSwift. For example, RxCocoa will make many properties of your Cocoa objects observable without requiring you to add a single line of code. So if you have a UI object whose position changes depending on some user action, you can observe its center property and react to its evolution. Observables and observers Now that RxSwift is set up in our project, let’s start with a few basic concepts before diving into some code: A stream in RxSwift is represented through Observable, which is equivalent to Sequence, with the added capability of being able to receive new elements asynchronously. An observable stream in Rx can emit three different events: next, error, and complete. When an observer registers for a stream, the stream begins to emit next events, and it does so until an error or complete event is generated, in which case the stream stops emitting events. You subscribe to a stream by calling ObservableType.subscribe, which is equivalent to Sequence.makeIterator. However, you do not use that iterator directly, as you would, to iterate a sequence; rather, you provide a callback that will receive new events. When you are done with a stream, you should release it, along with all resources it allocated, by calling dispose. To make it easier not to forget releasing streams, RxSwift provides DisposeBag and takeUntil. Make sure that you use one of them in your production code. All of this can be translated into the following code snippet: let aDisposableBag = DisposeBag() let thisIsAnObservableStream = Observable.from([1, 2, 3, 4, 5, 6])let subscription = thisIsAnObservableStream.subscribe(onNext: { print(“Next value: \($0)”) },onError: { print(“Error: \($0)”) },onCompleted: { print(“Completed”) })// add the subscription to the disposable bag// when the bag is collected, the subscription is disposedsubscription.disposed(by: aDisposableBag)// if you do not use a disposable bag, do not forget this!// subscription.dispose() Usually, your view controller is where you create your subscriptions, while, in our example thisIsAnObservableStream, observers and observables fit into your view model. In general, you should make all of your model properties observable, so your view controller can subscribe to those observables to update the UI when need be. In addition to being observable, some properties of your view model could also be observers. For example, you could have a UITextField or UISearchBar in your app UI and a property of your view model could observe its text property. Based on that value, you could display some relevant information, for example, the result of a query. When a property of your view model is at the same time an observable and an observer, RxSwift provides you with a different role for your entity—that of a Subject. There exist multiple categories of subjects, categorized based on their behavior, so you will see BehaviourSubject, PublishSubject, ReplaySubject, and Variable. They only differ in the way that they make past events available to their observers. Before looking at how these new concepts may be used in your program, we need to introduce two further concepts: transformations and schedulers. Transformations Transformations allow you to create new observable streams by combining, filtering, or transforming the events emitted by other observable streams. The available transformations include the following: map: This transforms each event in a stream into another value before any observer can observe that value. For example, you could map the text property of a UISearchBar into an URL to be used to query some remote service. flatMap: This transforms each event into another Observable. For example, you could map the text property of a UISearchBar into the result of an asynchronous query. scan: This is similar to the reduce Swift operator on sequences. It will accumulate each new event into a partial result based on all previously emitted events and emit that result. filter: This enables filtering of emitted events based on a condition to be verified. merge: This merges two streams of events by preserving their ordering. zip: This combines two streams of events by creating a new stream whose events are tuples made by the successive events from the two original streams. Schedulers Schedulers allow you to control to which queue RxSwift operators are dispatched. By default, all RxSwift operations are executed on the same queue where the subscription was made, but by using schedulers with observeOn and subscribeOn, you can alter that behavior. For example, you could subscribe to a stream whose events are emitted from a background queue, possibly the results of some lengthy tasks, and observe those events from the main thread to be able to update the UI based on those tasks’ outcomes. Recalling our previous example, this is how we could use observeOn and subscribeOn as described: let aDisposableBag = DisposeBag() let thisIsAnObservableStream = Observable.from([1, 2, 3, 4, 5, 6]) .observeOn(MainScheduler.instance).map { n in print(“This is performed on the main scheduler”) }let subscription = thisIsAnObservableStream.subscribeOn(ConcurrentDispatchQueueScheduler(qos: .background)).subscribe(onNext: { event inprint(“Handle \(event) on main thread? \(Thread.isMainThread)”)}, onError: { print(“Error: \($0). On main thread? \(Thread.isMainThread)”)}, onCompleted: { print(“Completed. On main thread? \(Thread.isMainThread)”) })subscription.disposed(by: aDisposableBag) Asynchronous networking – an example Now we can take a look at a slightly more compelling example, showing off the power of reactive programming. Let’s get back to our previous example: a UISearchBar collects user input that a view controller observes, to update a table displaying the result of a remote query. This is a pretty standard UI design. Using RxCocoa, we can observe the text property of the search bar and map it into a URL. For example, if the user inputs a GitHub username, the URLRequest could retrieve a list of all their repositories. We then further transform the URLRequest into another observable using flatMap. The remoteStream function is defined in the following snippet, and simply returns an observable containing the result of the network query. Finally, we bind the stream returned by flatMap to our tableView, again using one of the methods provided by RxCocoa, to update its content based on the JSON data passed in record: searchController.searchBar.rx.text.asObservable() .map(makeURLRequest) .flatMap(remoteStream) .bind(to: tableView.rx.items(cellIdentifier: cellIdentifier)) { index, record, cell in cell.textLabel?.text = “” // update here the table cells } .disposed(by: disposeBag) This looks all pretty clear and linear. The only bit left out is the networking code. This is a pretty standard code, with the major difference that it returns an observable wrapping a URLSession.dataTask call. The following code shows the standard way to create an observable stream by calling observer.onNext and passing the result of the asynchronous task: func remoteStream(_ request: URLRequest) -> Observable {return Observable.create { observer inlet task = URLSession.shared.dataTask(with: request) { (data, response, error) indo {let records: T = try JSONDecoder().decode(T.self, from: data ?? Data())for record in records {observer.onNext(record)}} catch let error {observer.onError(error)}observer.onCompleted()}task.resume()return Disposables.create {task.cancel()}}} As a final bit, we could consider the following variant: we want to store the UISearchBar text property value in our model, instead of simply retrieving the information associated with it in our remote service. To do so, we add a username property in our view model and recognize that it should, at the same time, be an observer of the UISearchBar text property as well as an observable, since it will be observed by the view controller to retrieve the associated information whenever it changes. This is the relevant code for our view model: import Foundationimport RxSwiftimport RxCocoaclass ViewModel {var username = Variable(“”)init() {setup()}setup() {…}} The view controller will need to be modified as in the following code block, where you can see we bind the UISearchBar text property to our view model’s username property; then, we observe the latter, as we did previously with the search bar: searchController.searchBar.rx.observe(String.self, “text”) .bindTo(viewModel.username) .disposed(by: disposeBag)viewModel.username.asObservable().map(makeURLRequest).flatMap(remoteStream).bind(to: tableView.rx.items(cellIdentifier: cellIdentifier)) { index, record, cell incell.textLabel?.text = “” // update here the table cells}.disposed(by: disposeBag) With this last example, our short introduction to RxSwift is complete. There is much more to be said, though. A whole book could be devoted to RxSwift/RxCocoa and how they can be used to write Swift apps! If you found this post useful, do check out the book, Hands-On Design Patterns with Swift. This book provides a complete overview of how to implement classic design patterns in Swift.  It will guide you to build Swift applications that are scalable, faster, and easier to maintain. Read Next Reactive Extensions: Ways to create RxJS Observables [Tutorial] What’s new in Vapor 3, the popular Swift based web framework Exclusivity enforcement is now complete in Swift 5last_img read more

United Airlines expands with 31 new destinations across US Europe

first_imgUnited Airlines expands with 31 new destinations across U.S., Europe Share CHICAGO — United Airlines will be adding a slew of new destinations in the U.S. and Europe, with more connections for both domestic and international markets.“Starting this summer we’re offering more flights, to more destinations at more convenient times than in recent memory,” said Scott Kirby, President, United Airlines.Starting May 5 United will operate one of its Newark-Tel Aviv flights with new B777-300ER aircraft. This will be United’s second route – in addition to the carrier’s flights between San Francisco and Hong Kong – on the B777-300ER.Meanwhile United’s seasonal flight between San Francisco International Airport and Munich Airport starts May 24 with service from MUC to SFO returning the next day. The route will be operated with the B787 Dreamliner.United is also adding service to 13 cities in the U.S and expanding domestic service with new daily summer flights in six markets with Salt Lake City, Fort Lauderdale, Tucson and New Orleans now offered for year round service.More news:  War of words between Transat, Group Mach ramps upUnited will also add additional daily flights to key business and leisure areas in 15 existing markets. In total United is adding 47 new daily roundtrips to its domestic schedule. The flights will be on a variety of mainline and regional jets that will add nearly 8,700 additional seats per day and approximately 90,000 new flight miles. Travelweek Group Monday, February 27, 2017 center_img << Previous PostNext Post >> Tags: United Airlines Posted bylast_img read more