OBITUARY Marie J Ciampa Cummings 81

first_imgWILMINGTON, MA — Marie J. (Ciampa) Cummings, age 81, of Reading, passed away on August 17, 2019.Marie was the beloved wife of Richard D. Cummings, devoted mother of Richard D. Cummings, Jr. & his wife Lisa, Maria Cummings & her wife Jean Cummings and Gina M. Cummings & her husband Andrew J. Gioia, Jr. all of Wilmington, loving “Grandma” of Richard D. Cummings, III & his wife Kristen, Eric Cummings & his wife Sakara, Joseph M. Cummings, Maria R. Cummings, Anthony R. Cummings and Nicholas W. Cummings, cherished daughter of the late Nicholas and Aurora (Andriotti) Ciampa, dear sister of Nicholas Ciampa of Cambridge and the late Aurora Campana. Marie is also survived by many loving nieces, nephews and cousins.Family and friends will gather at the Nichols Funeral Home, Inc., 187 Middlesex Ave., (Rte. 62), Wilmington on Friday, August 23rd at 9:00 a.m. followed by a Mass of Christian Burial at St. Thomas of Villanova Church, 126 Middlesex Avenue, Wilmington at 10:00 a.m. Interment will follow in Wood End Cemetery, Franklin Street, Reading. Visiting hours will be held at the Funeral Home on Thursday, August 22nd from 4:00-8:00 p.m.Memorial donations in Marie’s name may be made to the Alzheimer’s Association, 309 Waverly Oaks Road, Waltham, MA, 02452.Marie J. (Ciampa) Cummings(NOTE: The above obituary is from Nichols Funeral Home.)Like Wilmington Apple on Facebook. Follow Wilmington Apple on Twitter. Follow Wilmington Apple on Instagram. Subscribe to Wilmington Apple’s daily email newsletter HERE. Got a comment, question, photo, press release, or news tip? Email wilmingtonapple@gmail.com.Share this:TwitterFacebookLike this:Like Loading… RelatedOBITUARY: Pauline F. (Lascelles) Capps, 86In “Obituaries”Wilmington OBITUARIES (Week of August 18, 2019)In “Obituaries”OBITUARY: Maureen F. (McKenna) McHugh, 80In “Obituaries”last_img read more

Trump says he would intervene in Huawei case

first_imgUS president Donald Trump sits for an exclusive interview with Reuters journalists in the Oval Office at the White House in Washington, US on 11 December. Photo: ReutersUS president Donald Trump said on Tuesday he would intervene with the US Justice Department in the case against a Chinese telecommunications executive if it would help secure a trade deal with Beijing.”If I think it’s good for the country, if I think it’s good for what will be certainly the largest trade deal ever made – which is a very important thing – what’s good for national security – I would certainly intervene if I thought it was necessary,” Trump said in a wide-ranging interview with Reuters in the Oval Office.Trump expressed optimism that he could strike a trade deal with Chinese president Xi Jinping as the two countries struggle to resolve a dispute that has contributed to recent US stock market declines and raised questions about whether economic turmoil could beset the president in the new year.At the request of US authorities, Huawei Technologies Co. executive Meng Wanzhou was arrested earlier this month in Vancouver on charges of violating US sanctions against Iran.The arrest came the same day Trump and Xi declared a 90-day truce in their trade war during summit talks in Buenos Aires.Trump, who wants China to open up its markets to more American-made products and stop what Washington calls the theft of intellectual property, said he had not yet spoken to Xi about the case against Huawei’s executive.Over the course of the 30-minute interview, Trump also addressed the controversy surrounding the 2 October killing of journalist Jamal Khashoggi, saying he stood firmly beside Saudi crown prince Mohammed bin Salman despite accusations that he was the mastermind of it.Trump refused to comment on whether the crown prince was complicit in the murder, but he provided perhaps his most explicit show of support for MbS, as the prince is known, since Khashoggi’s death more than two months ago.”He’s the leader of Saudi Arabia. They’ve been a very good ally,” Trump said. Asked if standing beside Saudi Arabia means also standing by the crown prince, Trump said, “Well, at this moment, it certainly does.”While Trump has condemned the murder of Khashoggi, a US resident and Washington Post columnist who was often critical of MbS, he has given the benefit of the doubt to the prince with whom he has cultivated a deep relationship.Trump again reiterated on Tuesday that MbS “vehemently denies” involvement in a killing that has sparked outrage around the world.Despite Trump’s desire to maintain close ties to Saudi Arabia, several of his fellow Republicans have joined Democrats in blaming the crown prince for Khashoggi’s death and backing legislation to respond by ending US support for the Saudi-led war effort in Yemen, imposing new sanctions and stopping weapons sales.Last month, the CIA assessed that MbS ordered the killing.China Trade Talks UnderwayIn the wake of his meeting with Xi in Buenos Aires, Trump said during the interview that trade talks with Beijing were under way by telephone, with more meetings likely among US and Chinese officials.He said the Chinese government was once again buying large quantities of US soybeans, a reversal after China in July imposed tariffs on US supplies of the oilseed in retaliation for US duties on Chinese goods.”I just heard today that they’re buying tremendous amounts of soybeans. They are starting, just starting now,” Trump said.Commodity traders in Chicago, however, said they have seen no evidence of a resumption of soybean purchases by China, which last year bought about 60 percent of US soybean exports in deals valued at more than $12 billion.Already fraught, relations between the United States and China have been further complicated by the arrest of Meng, 46. She faces US accusations she misled multinational banks about Huawei’s control of a company operating in Iran, putting the banks at risk of violating US sanctions and incurring severe penalties, court documents said.If extradited to the United States, Meng would face charges of conspiracy to defraud multiple financial institutions. A Canadian court on Tuesday granted Meng bail while she awaits an extradition hearingTrump has intervened on behalf of a Chinese company before. Earlier this year he revisited penalties for Chinese company ZTE Corp for lying to the US after the company pleaded guilty to violating US sanctions on trade with Iran, saying the telecom maker is a big buyer for US suppliers.Trump said Meng could potentially be released.”Well, it’s possible that a lot of different things could happen. It’s also possible it will be a part of negotiations. But we’ll speak to the Justice Department, we’ll speak to them, we’ll get a lot of people involved,” he said.Asked if he would like to see Meng extradited to the United States, Trump said he wanted to first see what the Chinese request. He added, however, that Huawei’s alleged practices are troubling.”This has been a big problem that we’ve had in so many different ways with so many companies from China and from other places,” he said.On the domestic front, Trump waved off concerns that he could face the possibility of impeachment when Democrats, intent on greater oversight of the president, take command of the US House of Representatives in January.”It’s hard to impeach somebody who hasn’t done anything wrong and who’s created the greatest economy in the history of our country,” he said. “I think people would revolt if that happened.”Trump said the accusations in the probe on whether his campaign colluded with Russia in 2016 amounted to “peanut stuff.” Payments that he allegedly made to an adult film actress and a former Playboy model through then-lawyer Michael Cohen were not a violation of campaign finance law, he added.”Michael Cohen is a lawyer. I assumed he would know what he’s doing. You rely on somebody. Hey, he was a lawyer. Number one: it wasn’t a campaign contribution. If it were, it’s only civil. And even if it’s only civil, there was no violation based on what we did,” Trump said.last_img read more

Of wrinkles and wires Capillarityinduced skin folding spontaneously forms aligned DNA nanowire

first_img , Nanotechnology Fig. 2. Capillarity-induced skin folding. (A) Optical microscope image of an array of wrinkles and folds around the boundary of a water droplet placed on a wrinkled surface (t = 20 min, ε ≈ −0.03). The blue arrow indicates a water filament. (B) Schematic illustrations of the wrinkle-to-fold transition of the skin due to surface tension forces of water. Representative AFM images and the line profiles are shown below the illustrations. (C) Schematic illustrations and optical microscope images showing the evolution of localized folds with increasing ε (t = 10 min). A water droplet was placed on the surface before compression; the blue arrow and red triangles indicate the formation of a water filament and localized folds, respectively. (D and E) The peak-to-peak distance of wrinkles (LW) and folds (LF) and the length (l) and spacing (s) of the folds as a function of t. (E, Inset) Schematic illustration showing the top view of an array of folds at the boundary. (F) LW and LF as a function of |ε| (t = 3 min). (F, Inset) Line profiles of the folds for |ε| ≈ 0.02, 0.08, and 0.17. (Scale bars: A, 10 μm; B, 5 μm; and C, 50 μm.). Credit: Nagashimaa S, Haa HD, Kima DH, Košmrljb A, Stone HA, Moon M-W (2017) Spontaneous formation of aligned DNA nanowires by capillarity-induced skin folding. Proc Natl Acad Sci USA 114:24 6233-6237. Journal information: Proceedings of the National Academy of Sciences “This phenomenon can be considered a lithography-free method that allows for ready fabrication of arrays of nanomaterials, where their size, length, and periodicity could robustly be tuned,” he continues. “Moreover, not only water but other liquids could be used to carry nanomaterials and to induce the wrinkle-to-fold transition.”Moon describes several examples of potential de novo fabrication and analysis techniques, including nanoscale lithography, nanoimprint, growth by chemical vapor deposition, and chemical reaction. “Our method can potentially be used for the fabrication of 1-dimensional nanowires or nanoarrays for application to DNA analysis with very dilute or small amounts of DNA; DNA templates as new metal or ceramic nanostructures; and DNA treatment devices for healing modified DNA. In addition, one can adopt this technique to handle protein, blood, or nanoparticles at nanoscale.”Košmrlj and Stone tell Phys.org that one area of planned research is focused on nonlinear analysis and modeling for improved quantitative understanding of the capillarity-induced wrinkle-to-fold transition. “Since our system is composed of the mechanical behavior of the fold transition triggered by liquid surface tension, the wrinkle-to-fold transition that we’ve found is associated with large deformations where conventional linear elasticity theory does not apply. While the basic mechanisms can be explained within the linear theory, quantitative comparison with experiments can only be achieved by taking into account geometrical and material nonlinearities. We are therefore performing numerical simulations by coupling liquid surface tension and solid deformation, as well as performing analysis with perturbation series, where nonlinearities of elastic structures can be studied systematically.””I also think that the challenges ahead are to find how to achieve larger areas for DNA pattern formation,” Moon says. “In fact, our latest results—obtained after this PNAS article was accepted—shows some impressive progress for the region with wrinkle-to-fold transition in larger areas, such as the entire area underneath a water droplet. Another area to be studied, Moon continues, concerns the fact that biological morphogenesis of skin–substrate systems are ubiquitous in organisms where water is a major constituent. “We’re trying to find situations where our findings are applicable. Active collaborations with experts in the field would be helpful.” The researchers might also investigate materials other than PDMS. “Yes. other polymers can work if they possess the basic factors to govern the fold transition, these being the thinness of the nano-skin and soft body materials, and surface hydrophilicity to ensure sufficient surface reaction with liquid,” Moon notes. Assistant Professor and lead author So Nagashima, Assistant Professor Andrej Košmrlj, Donald R. Dixon ’69 and Elizabeth W. Dixon Professor Howard A. Stone, and Principal Research Scientist Myoung-Woon Moon discussed the paper they and their co-authors published in Proceedings of the National Academy of Sciences. “I think that the most challenging aspect of devising our method for utilizing a thin skin template that responds to water by dynamically changing its surface morphology was finding the conditions where the wrinkle-to-fold transition occurs,” Moon tells Phys.org. “The critical conditions as a function of the applied strain, initial wrinkle geometries, and thickness of the skin layer determined by oxygen plasma treatment duration were difficult to find.” Moon adds that the observation technique for the dynamic transition was limited to only optical microscopes whose highest optical resolution falls between 100 to 1000 nm in the width of nanowires, this being due to the dynamic transition taking place at the submicron scale.When inducing a template surface wrinkle-to-fold transition by exploiting the capillary forces of water containing DNA molecules, Stone points out, the observation that water changes the wrinkle-to-fold transition is new. “As far as we know, ours is the first study to show this effect, as is demonstrating one use of such folds for the alignment of DNA. Moreover, control of surface tension or resultant capillary forces and the area for fold formation is relatively hard—and by adding DNA molecules to water, it appears that the surface tension is changed, so the fold transition length was shorter.”Template preparation used an oxygen plasma treatment of prestretched polydimethylsiloxane (or PDMS, a polymeric organosilicon compound) substrates for varying durations. “In fact,” Moon explains, “the manipulation of PDMS with prestretching strain is a relatively well-developed method as is the oxygen plasma treatment: both have been discussed in the literature. We can make the samples with various sizes of a few millimeters to a few centimeters, which can be also made on much larger area.” Moon notes that the researchers can also vary polydimethylsiloxane’s mechanical properties—to make it more stretchable, soft or flexible—by changing the ratio of elastomer and cross-linker for PDMS preparation. Fig. 1. Spontaneous formation of aligned DNA nanowires. (A) Schematic illustrations of the spontaneous formation of an array of DNA nanowires by the skin folding induced by water filaments containing DNA molecules. (B) Sequential optical microscope images of a droplet of DNA solution spreading over wrinkles (t = 5 min, ε ≈ −0.03); the wrinkle-to-fold transition occurs at the boundary and propagates with the edge of the droplet. (C) AFM image of an array of DNA nanowires extending from the boundary (t = 2 min, ε ≈ −0.02). The line profiles for each region are shown next to the image. (Scale bars: B, 50 μm and C, 4 μm.). Credit: Nagashimaa S, Haa HD, Kima DH, Košmrljb A, Stone HA, Moon M-W (2017) Spontaneous formation of aligned DNA nanowires by capillarity-induced skin folding. Proc Natl Acad Sci USA 114:24 6233-6237. Citation: Of wrinkles and wires: Capillarity-induced skin folding spontaneously forms aligned DNA nanowire (2017, June 19) retrieved 18 August 2019 from https://phys.org/news/2017-06-wrinkles-wires-capillarity-induced-skin-spontaneously.html Other possible future research interests and additional innovations mentioned by the authors include:- theoretical analysis to elucidate the underlying physics related to the water-induced surface folding- exploit the underlying physics to develop a robust and mass fabrication method for inducing the wrinkle-to-fold transition- find and discuss morphological changes in nature where water is likely a key factor- apply the current study’s results to DNA analysis or DNA drug devices- 2-D/3-D sensors, diagnostic tools, and drug-release systems- templates for fabricating 1-dimensional nanomaterials- methods for local patterning”I believe that this work is beneficial to materials science for nanowire templates, mechanics for fluidic channels, and biology for quantitative analysis of DNA or other biomolecules,” Moon concludes. Explore further , Journal of Biomedicine and Biotechnologycenter_img More information: Spontaneous formation of aligned DNA nanowires by capillarity-induced skin folding, PNAS (2017) 114:24 6233-6237, doi:10.1073/pnas.1700003114Related:1DNA nanowire fabrication, Nanotechnology (2006) 17:R14m https://core.ac.uk/download/pdf/1559975.pdf2DNA-Templated Self-Assembly of Protein Arrays and Highly Conductive Nanowires, Science (2003) 301:5641 1882-1884, doi:10.1126/science.10893893Nanowire-Based Sensors for Biological and Medical Applications, IEEE Transactions on NanoBioscience (2016) 15:3 186-199, doi:10.1109/TNB.2016.25282584DNA-Based Applications in Nanobiotechnology, Journal of Biomedicine and Biotechnology (2010) Article ID 715295, doi:10.1155/2010/7152955Nanowire nanosensors, Materials Today (2005) 8:5, doi:10.1016/S1369-7021(05)00791-1 A key aspect of the study was confirming that the new method reliably manipulates DNA nanowire size, geometry, and alignment. “By adjusting the conditions for stretching strain, plasma treatment duration, and post-compression of the stretched PDMS, DNA nanowires can be a half cylinder, a perfect cylinder, or undulated wire shape,” Moon tells Phys.org. “By changing the wrinkle geometries such as the amplitude—which is governed by the strain—one can control the distance between wires in the fold channel.” Wider distances between wires, he continues, can be accomplished by compressing the PDMS less, while compressing the substrate more yields smaller distances.To address these challenges, the scientists discovered a transformation resulting from capillary forces that act at the edge of a water droplet that can, with only 1% compression, transform wrinkles into folds, which in the absence of a liquid drop form only at very high (~30%) compression. In addition, Moon adds, smaller substances such as biomolecules or nanoparticles can follow the water channel to form aligned 1-dimensional nanostructures. “Smaller is better. Less is more. We’ve found that the wrinkle-to-fold transition takes place more easily when the following factors become smaller: compression level, skin thickness, droplet volume, size of the sample surface, and static contact angles of droplets.”Based on their findings, the authors stated that their approach could lead to new ways of fabricating functional materials. “Our key finding is that one can change wrinkles into localized folds by simply exploiting the capillary forces of water on wrinkled surfaces under very small strain of about 1% in compression,” Nagashima tells Phys.org. “Recent studies reported in the literature have demonstrated that such wrinkle-to-fold transitions can help develop systems that dynamically change their properties according to the surface morphology. However, inducing the transition in the absence of water is difficult to achieve in practice because, in general, large compression needs to be applied to the skin-substrate system, which hinders wider applications. Our study reveals that even 1% of compression, which is the critical level for creating wrinkles in our case, is large enough to trigger the transition to folds locally when water is present.” Nagashima notes that while the compression level required to induce the transition might differ according to the skin-film system used, only a small compression level would be necessary in combination with water. Observation of the phase transition of liquid crystal defects for the first time Fig. 3. Tunable DNA nanowires. (A) Bright- and dark-field optical microscope images of DNA nanowires created by the capillarity-induced wrinkle-to-fold transition. After evaporation of the droplet, the strain was adjusted to see the structure inside the folds. (B) Confocal microscope images of an array of DNA nanowires extending from the boundary to the locations indicated by the yellow triangles. (C) AFM images of DNA nanowires obtained using wrinkles prepared with various ε (t = 10 min). After the folds were formed, the strain was adjusted to ε ≈ 0.00. The line profiles of the nanowires indicated by the green dotted lines are shown in the images. (D) Height of the nanowires as a function of t (ε ≈ −0.03). (E) Changes in shape of a DNA nanowire from straight to wrinkled with an increase in tensile strain. (F) The wavelength (black symbols) and amplitude (orange symbols) of the wrinkled DNA nanowires as a function of applied tensile strain. (G and H) The line profiles of the DNA nanowire and the skin surface before and after application of the tensile strain (i.e., ε ≈ −0.02 and 0.05, respectively). The color of the profiles corresponds to that of the dotted lines indicated in the AFM images shown in E. (Scale bars: A and B, 10 μm; C, 2 μm; and E, 1 μm.). Credit: Nagashimaa S, Haa HD, Kima DH, Košmrljb A, Stone HA, Moon M-W (2017) Spontaneous formation of aligned DNA nanowires by capillarity-induced skin folding. Proc Natl Acad Sci USA 114:24 6233-6237. , Science (Phys.org)—Nanowires fashioned from DNA (deoxyribonucleic acid)—one of several type of molecular nanowires incorporating repeating molecular units—are exactly that: Geometrically wire-like DNA-based nanostructures defined variously as having a 1~10 nm (10−9 m) diameter or a length-to-diameter ratio >1000. While nanowires can be made from several organic and inorganic materials, DNA nanowires have been shown to provide a range of valuable applications in programmed self-assembly1,2 of functional materials—including metallic and semiconductor nanowires for use in electronic devices—as well as biological, medical, and genetic analysis applications3,4,5. That being said, DNA nanowire adoption has been limited due to historical limitations in the ability to control their structural parameters—specifically, size, geometry and alignment. Recently, however, scientists at Korea Institute of Science and Technology and Princeton University leveraged the capillary forces of water containing DNA molecules to demonstrate size-controllable straight or undulated aligned DNA nanowires that were spontaneously formed by water entering wrinkled channels of a compressed thin skin on a soft substrate, which subsequently induced a wrinkle-to-fold transition. © 2017 Phys.org This document is subject to copyright. Apart from any fair dealing for the purpose of private study or research, no part may be reproduced without the written permission. The content is provided for information purposes only.last_img read more

Delhi has to wait a bit to read

Chinese writer Mo Yan, who has won this year’s Nobel Prize for literature, is relatively unknown to Indian readers and book shops in the capital were Friday scrambling to put his books on their shelves.Books by Mo are not easy to come by, complained a reader.‘I wanted to know about Mo Yan when I heard that he had received the Nobel Prize for literature, but none of the book shops in south Delhi had any of his books,’ Soma Basu, a resident of Greater Kailash, said. Also Read – ‘Playing Jojo was emotionally exhausting’But book shops said they were doing their best to comply with the sudden demand for Mo, who plots his narratives around the socio-historical perspectives of China on massive colourful canvases.Midland, a reputed book retail chain in the capital, is getting copies of Mo’s Garlic Ballads from its publisher, Arcade, in the US.‘Not many people have read Mo Yan. Till this week, he was completely unknown. But since Thursday, readers have been walking into my shop for his books,’ M A Baig, the founder of the chain said. Also Read – Leslie doing new comedy special with NetflixThe bookstore does brisk business in the novels of popular Chinese writer Gao Xinjiang – the Chinese emigre to France who in 2000 was awarded the Nobel Prize for literature.‘Three of Gao’s books, Soul Mountain, One Man’s Bible and Buying a Fishing Rod sell fairly well… Now Mo’s books will find takers,’ Baig said.Bahrisons in the capital’s Khan Market expects to receive its first consignment of Mo’s books soon.‘We don’t have any books by Mo Yan but his rival Haruki Murakami, who was in the race for the Nobel Prize, sells very well in the country. Mo Yan is not popular but the Nobel Prize has changed his popularity status in India… By Saturday we hope to get fresh stocks from distributors,’ a spokesperson for Bahrisons said. Crossword, one of the biggest book chains in the capital, does not have Mo Yan on its shelves either.‘Not now… Later,’ said a spokesperson for the Crossword Bookstore at Rajouri Garden in the capital.For online readers, Mo’s Change and Red Sorghum are available on Flipkart and Infibeam.Foreign publishing companies in India are not yet ready to meet any sudden interest in Mo Yan’s novels.A spokesperson for Pan Macmillan said: ‘The publishing house has not yet published any of Nobel Laureate Mo Yan’s books.’‘He is still unknown in India and around the world. But now that he has won a Nobel Prize, it will draw readers to his books,” the spokesperson for Pan Macmillan India said.The acclaimed Red Sorghum: A Novel on China, spanning the saga of three generations of a family in the 1930s, which was made into an Oscar-winning movie, has been published in translation by Penguin US. ‘The book is available in India,’ the publisher said. The book sells because of its popularity on screen.‘The Nobel Prize is a political call these days and the idea of giving one to a Chinese author could be a politically fraught decision in a year which saw the famous Chinese dissident Chen Guang Chen… seek refuge in the American Embassy; [Mo’s] books bring out the other side of China,” senior communications executive Manish Singh, an avid reader of the classics, told IANS.According to reports from China, Mo’s latest and most popular “Frog” about China’s “one child birth control” has sold more than 200,000 copies since it was published in 2009. It is yet to reach the Indian audience in translation. read more

The poet and the fighter

first_imgDoordarshan National  celebrated  December 25 as the birth anniversary of two exemplary personalities of the nation- Atal Bihari Vajpayee and Madan Mohan Malviya. Following the Prime Minister’s declaration of observing December 25 as ‘Good Governance Day’, the public broadcaster had lined up several special documentaries for telecast.Geet Naya Gata Hoon  a documentary on Shri Atal Bihari Vajpayee; the statesman, parliamentarian of four decades, Ex PM of India, great orator, poet, literateur and key person in achieving political milestones nationally and internationally.  Also Read – ‘Playing Jojo was emotionally exhausting’He was at the head of successfully executing the Pokhran II Nucleur test, initiating the Sadbhavna yatra from India to Pakistan, starting the Quadruple Road Scheme amongst many other achievements. With the backdrop of his poetry and songs, the film was telecasted  on December 25 , at 11 am and repeated at 10:30 pm.Another documentary dedicated to this outstanding personality, octogenarian, and a source of inspiration for all the countrymen – Rashtriyaneta Rajneta, was aired at 9:30 am .  Also Read – Leslie doing new comedy special with NetflixAt 9 am a documentary, Swapna Sakaar: documentary on Mahamana Pt. Madan Mohan Malviya was telecasted to pay a tribute to the magnificent personality highlighting his political, social and educational career.  An Indian educationist and politician notable for his role in the Indian independence movement and his espousal of Hindu nationalism; he was given the title of  ‘Mahamana’. He was the President of the Indian National Congress on two occasions (1909 and 1918).last_img read more

Timehop suffers data breach 21 million users data compromised

first_imgTimehop, the social media application that brings old posts into your feed, experienced a data breach on July 4. In a post published yesterday (July 8) the team explained that ‘an access credential to our cloud computing enterprise was compromised’. Timehop believes 21 million users have been affected by the breach. However, it was keen to state that “we have no evidence that any accounts were accessed without authorization.” Timehop has already acted to make necessary changes. Certain application features have been temporarily disabled, and users have been logged out of the app. Users will also have to re-authenticate Timehop on social media accounts. The team has deactivated the keys that allow the app to read and show users social media posts on their feeds. Timehop explained that the gap between the incident and the public statement was due to the need to “contact with a large number of partners.” The investigation needed to be thorough in order for the response to be clear and coordinated. How did the Timehop data breach happen? For transparency, Timehop published a detailed technical report on how it believes the hack happened. An unauthorized user first accessed Timehop’s cloud computing environment using an authorized users credentials. This user then conducted ‘reconnaisance activities’ once they had created a new administrative account. This user logged in to the account on numerous occasions after this in March and June 2018. It was only on July 4 that the attacker then attempted to access the production database. Timehop then states that they “conducted a specific action that triggered an alarm” which allowed engineers to act quickly to stop the attack from continuing. Once this was done, there was a detailed and thorough investigation. This included analyzing the attacker’s activity on the network and auditing all security permissions and processes. A measured response to a potential crisis It’s worth noting just how methodical Timehop’s response has been. Yes, there will be question marks over the delay, but it does make a lot of sense. Timehop revealed that the news was provided to some journalists “under embargo in order to determine the most effective ways to communicate what had happened while neither causing panic nor resorting to bland euphemism.” The incident demonstrates that effective cybersecurity is as much about a robust communication strategy as it is about secure software. Read next: Did Facebook just have another security scare? What security and systems specialists are planning to learn in 2018last_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